]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Copy over string performance tests into benchtests
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c1f75dc3
SP
12013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2
97020474
SP
3 * benchtests/Makefile (string-bench): Add string benchmarks.
4 * benchtests/bench-bcopy-ifunc.c: New file.
5 * benchtests/bench-bcopy.c: New file.
6 * benchtests/bench-bzero-ifunc.c: New file.
7 * benchtests/bench-bzero.c: New file.
8 * benchtests/bench-memccpy-ifunc.c: New file.
9 * benchtests/bench-memccpy.c: New file.
10 * benchtests/bench-memchr-ifunc.c: New file.
11 * benchtests/bench-memchr.c: New file.
12 * benchtests/bench-memcmp-ifunc.c: New file.
13 * benchtests/bench-memcmp.c: New file.
14 * benchtests/bench-memmem-ifunc.c: New file.
15 * benchtests/bench-memmem.c: New file.
16 * benchtests/bench-memmove-ifunc.c: New file.
17 * benchtests/bench-memmove.c: New file.
18 * benchtests/bench-mempcpy-ifunc.c: New file.
19 * benchtests/bench-mempcpy.c: New file.
20 * benchtests/bench-memset-ifunc.c: New file.
21 * benchtests/bench-memset.c: New file.
22 * benchtests/bench-rawmemchr-ifunc.c: New file.
23 * benchtests/bench-rawmemchr.c: New file.
24 * benchtests/bench-stpcpy-ifunc.c: New file.
25 * benchtests/bench-stpcpy.c: New file.
26 * benchtests/bench-stpncpy-ifunc.c: New file.
27 * benchtests/bench-stpncpy.c: New file.
28 * benchtests/bench-strcasecmp-ifunc.c: New file.
29 * benchtests/bench-strcasecmp.c: New file.
30 * benchtests/bench-strcasestr-ifunc.c: New file.
31 * benchtests/bench-strcasestr.c: New file.
32 * benchtests/bench-strcat-ifunc.c: New file.
33 * benchtests/bench-strcat.c: New file.
34 * benchtests/bench-strchr-ifunc.c: New file.
35 * benchtests/bench-strchr.c: New file.
36 * benchtests/bench-strchrnul-ifunc.c: New file.
37 * benchtests/bench-strchrnul.c: New file.
38 * benchtests/bench-strcmp-ifunc.c: New file.
39 * benchtests/bench-strcmp.c: New file.
40 * benchtests/bench-strcpy-ifunc.c: New file.
41 * benchtests/bench-strcpy.c: New file.
42 * benchtests/bench-strcspn-ifunc.c: New file.
43 * benchtests/bench-strcspn.c: New file.
44 * benchtests/bench-strlen-ifunc.c: New file.
45 * benchtests/bench-strlen.c: New file.
46 * benchtests/bench-strncasecmp-ifunc.c: New file.
47 * benchtests/bench-strncasecmp.c: New file.
48 * benchtests/bench-strncat-ifunc.c: New file.
49 * benchtests/bench-strncat.c: New file.
50 * benchtests/bench-strncmp-ifunc.c: New file.
51 * benchtests/bench-strncmp.c: New file.
52 * benchtests/bench-strncpy-ifunc.c: New file.
53 * benchtests/bench-strncpy.c: New file.
54 * benchtests/bench-strnlen-ifunc.c: New file.
55 * benchtests/bench-strnlen.c: New file.
56 * benchtests/bench-strpbrk-ifunc.c: New file.
57 * benchtests/bench-strpbrk.c: New file.
58 * benchtests/bench-strrchr-ifunc.c: New file.
59 * benchtests/bench-strrchr.c: New file.
60 * benchtests/bench-strspn-ifunc.c: New file.
61 * benchtests/bench-strspn.c: New file.
62 * benchtests/bench-strstr-ifunc.c: New file.
63 * benchtests/bench-strstr.c: New file.
64
c1f75dc3
SP
65 * benchtests/Makefile: Disable parallel execution of targets.
66 (string-bench): Add memcpy.
67 (benchset): New variable to store a list of benchmark sets.
68 (bench-func): Renamed from bench.
69 (bench-set): New target.
70 (bench): Depend on bench-func and bench-set.
71 * benchtests/README: Add section on benchmark sets.
72 * benchtests/bench-memcpy-ifunc.c: New file.
73 * benchtests/bench-memcpy.c: New file.
74 * benchtests/bench-string.h: New file.
75
50fd745b
AS
762013-06-11 Andreas Schwab <schwab@suse.de>
77
78 [BZ #15577]
79 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
80 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
81 values in the triple.
82 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
83 terminator in the group key.
84
3ee7e9fe
AJ
852013-06-11 Andreas Jaeger <aj@suse.de>
86
87 * po/zh_TW.po: Update Chinese (traditional) translation from
88 translation project.
89
89fb6835
SP
902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
91
92 * include/time.h (__clock_gettime): Add libc_hidden_proto.
93 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
94 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
95 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
96 (clock_getcpuclockid): Likewise.
97 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
98 Add weak_alias and libc_hidden_def.
99 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
100 * rt/clock_gettime.c (clock_gettime): Rename to
101 __clock_gettime. Add weak_alias and libc_hidden_def.
102 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
103 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
104 __clock_nanosleep. Add weak_alias and libc_hidden_def.
105 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
106 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
107 Likewise.
108 * rt/clock_settime.c (clock_settime): Rename to
109 __clock_settime. Add weak_alias and libc_hidden_def.
110 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
111
0efa6f8b
JM
1122013-06-10 Joseph Myers <joseph@codesourcery.com>
113
b8c61b4b
JM
114 * mach/err_boot.sub: Remove trailing whitespace.
115 * mach/err_ipc.sub: Likewise.
116 * mach/err_mach.sub: Likewise.
117
0efa6f8b
JM
118 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
119 (ROUNDING_TESTS_double): Likewise.
120 (ROUNDING_TESTS_long_double): Likewise.
121 (ROUNDING_TESTS): Likewise.
122 * math/libm-test.inc: Include <math-tests.h>.
123 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
124 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
125 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
126 (IF_ROUND_INIT_FE_UPWARD): Likewise.
127
50b818bf
SP
1282013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
129
130 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
131 of assigning.
132
60d2f8f3
JM
1332013-06-08 Joseph Myers <joseph@codesourcery.com>
134
4902d2c3
JM
135 * sysdeps/gnu/errlist.awk: Do not generate space at end of
136 otherwise empty TRANS lines.
137 * sysdeps/gnu/errlist.c: Regenerated.
138
60d2f8f3
JM
139 * catgets/gencat.c (error_print): Use (void) in function
140 definition.
141 * crypt/crypt_util.c (__init_des): Likewise.
142 * crypt/speeds.c (Stop): Likewise.
143 (main): Likewise.
144 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
145 * inet/ruserpass.c (token): Likewise.
146 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
147 * intl/localealias.c (extend_alias_table): Likewise.
148 * intl/plural-exp.c (init_germanic_plural): Likewise.
149 * libio/fcloseall.c (__fcloseall): Likewise.
150 * libio/genops.c (_IO_flush_all): Likewise.
151 (_IO_flush_all_linebuffered): Likewise.
152 (_IO_cleanup): Likewise.
153 (_IO_iter_begin): Likewise.
154 (_IO_iter_end): Likewise.
155 (_IO_list_lock): Likewise.
156 (_IO_list_unlock): Likewise.
157 (_IO_list_resetlock): Likewise.
158 * libio/getchar.c (getchar): Likewise.
159 * libio/getchar_u.c (getchar_unlocked): Likewise.
160 * libio/getwchar.c (getwchar): Likewise.
161 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
162 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
163 * login/getpt.c (__getpt): Likewise.
164 * login/tst-utmp.c (main): Likewise.
165 * malloc/hooks.c (__malloc_check_init): Likewise.
166 * malloc/malloc.c (__malloc_stats): Likewise.
167 * malloc/mtrace.c (tr_break): Likewise.
168 (mtrace): Likewise.
169 (muntrace): Likewise.
170 * misc/fstab.c (endfsent): Likewise.
171 * misc/getclktck.c (__getclktck): Likewise.
172 * misc/getdtsz.c (__getdtablesize): Likewise.
173 * misc/gethostid.c (gethostid): Likewise.
174 * misc/getpagesize.c (__getpagesize): Likewise.
175 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
176 (__get_nprocs): Likewise.
177 (__get_phys_pages): Likewise.
178 (__get_avphys_pages): Likewise.
179 * misc/getttyent.c (getttyent): Likewise.
180 (setttyent): Likewise.
181 (endttyent): Likewise.
182 * misc/getusershell.c (getusershell): Likewise.
183 (endusershell): Likewise.
184 (setusershell): Likewise.
185 (initshells): Likewise.
186 * misc/hsearch.c (__hdestroy): Likewise.
187 * misc/sync.c (sync): Likewise.
188 * misc/syslog.c (closelog_internal): Likewise.
189 (closelog): Likewise.
190 * misc/ttyslot.c (ttyslot): Likewise.
191 * misc/vhangup.c (vhangup): Likewise.
192 * posix/fork.c (__fork): Likewise.
193 * posix/getegid.c (__getegid): Likewise.
194 * posix/geteuid.c (__geteuid): Likewise.
195 * posix/getgid.c (__getgid): Likewise.
196 * posix/getpid.c (__getpid): Likewise.
197 * posix/getppid.c (__getppid): Likewise.
198 * posix/getuid.c (__getuid): Likewise.
199 * posix/pause.c (pause): Likewise.
200 * posix/setpgrp.c (setpgrp): Likewise.
201 * posix/setsid.c (__setsid): Likewise.
202 * posix/test-vfork.c (noop): Likewise.
203 * resolv/gethnamaddr.c (_endhtent): Likewise.
204 (_gethtent): Likewise.
205 (ht_endhostent): Likewise.
206 (gethostent): Likewise.
207 (dns_service): Likewise.
208 * stdlib/drand48.c (drand48): Likewise.
209 * stdlib/lrand48.c (lrand48): Likewise.
210 * stdlib/mrand48.c (mrand48): Likewise.
211 * stdlib/rand.c (rand): Likewise.
212 * stdlib/random.c (__random): Likewise.
213 * stdlib/setenv.c (clearenv): Likewise.
214 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
215 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
216 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
217 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
218 (__get_nprocs): Likewise.
219 (__get_phys_pages): Likewise.
220 (__get_avphys_pages): Likewise.
221 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
222 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
223 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
224 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
225 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
226 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
227 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
228 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
229 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
230 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
231 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
232 * sysdeps/mach/hurd/sync.c (sync): Likewise.
233 * sysdeps/posix/clock.c (clock): Likewise.
234 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
235 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
236 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
237 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
238 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
239 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
240 (__get_nprocs_conf): Likewise.
241 (__get_phys_pages): Likewise.
242 (__get_avphys_pages): Likewise.
243 * time/clock.c (clock): Likewise.
244 * time/tzset.c (__tzname_max): Likewise.
245
2e09a79a
JM
2462013-06-07 Joseph Myers <joseph@codesourcery.com>
247
248 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
249 (__bswap_32): Do not use "register".
250 * crypt/crypt.c (_ufc_doit_r): Likewise.
251 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
252 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
253 * gmon/gmon.c (__monstartup): Likewise.
254 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
255 * hurd/hurdmalloc.c (more_memory): Likewise.
256 (malloc): Likewise.
257 (free): Likewise.
258 (realloc): Likewise.
259 (malloc_fork_prepare): Likewise.
260 (malloc_fork_parent): Likewise.
261 (malloc_fork_child): Likewise.
262 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
263 (_svcauth_des): Likewise.
264 * inet/inet_lnaof.c (inet_lnaof): Likewise.
265 * inet/inet_net.c (inet_network): Likewise.
266 * inet/inet_netof.c (inet_netof): Likewise.
267 * inet/rcmd.c (__validuser2_sa): Likewise.
268 * io/fts.c (fts_open): Likewise.
269 (fts_load): Likewise.
270 (fts_close): Likewise.
271 (fts_read): Likewise.
272 (fts_children): Likewise.
273 (fts_build): Likewise.
274 (fts_stat): Likewise.
275 (fts_sort): Likewise.
276 (fts_alloc): Likewise.
277 (fts_lfree): Likewise.
278 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
279 (_IO_file_xsgetn): Likewise.
280 (_IO_file_xsgetn_mmap): Likewise.
281 * libio/iofopncook.c (_IO_cookie_read): Likewise.
282 (_IO_cookie_write): Likewise.
283 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
284 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
285 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
286 * malloc/obstack.c (_obstack_begin): Likewise.
287 (_obstack_begin_1): Likewise.
288 (_obstack_newchunk): Likewise.
289 (_obstack_allocated_p): Likewise.
290 (obstack_free): Likewise.
291 (_obstack_memory_used): Likewise.
292 * misc/getttyent.c (getttynam): Likewise.
293 (getttyent): Likewise.
294 (skip): Likewise.
295 (value): Likewise.
296 * misc/getusershell.c (initshells): Likewise.
297 * misc/syslog.c (__vsyslog_chk): Likewise.
298 * misc/ttyslot.c (ttyslot): Likewise.
299 * nis/nis_hash.c (__nis_hash): Likewise.
300 * posix/fnmatch_loop.c (FCT): Likewise.
301 * posix/getconf.c (print_all): Likewise.
302 (main): Likewise.
303 * posix/getopt.c (exchange): Likewise.
304 * posix/glob.c (globfree): Likewise.
305 (prefix_array): Likewise.
306 (__glob_pattern_type): Likewise.
307 * resolv/arpa/nameser.h (NS_GET16): Likewise.
308 (NS_GET32): Likewise.
309 (NS_PUT16): Likewise.
310 (NS_PUT32): Likewise.
311 * resolv/gethnamaddr.c (getanswer): Likewise.
312 (gethostbyname2): Likewise.
313 (gethostbyaddr): Likewise.
314 (_gethtent): Likewise.
315 (_gethtbyname2): Likewise.
316 (_gethtbyaddr): Likewise.
317 * resolv/ns_print.c (dst_s_get_int16): Likewise.
318 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
319 * resolv/res_init.c (__res_vinit): Likewise.
320 (net_mask): Likewise.
321 * resolv/res_mkquery.c (outchar): Likewise.
322 (PRINT): Likewise.
323 * stdio-common/printf_fp.c (outchar): Likewise.
324 (PRINT): Likewise.
325 * stdio-common/printf_fphex.c (outchar): Likewise.
326 (PRINT): Likewise.
327 * stdio-common/printf_size.c (outchar): Likewise.
328 (PRINT): Likewise.
329 * stdio-common/test_rdwr.c (main): Likewise.
330 * stdio-common/tfformat.c (matches): Likewise.
331 * stdio-common/vfprintf.c (outchar): Likewise.
332 (printf_unknown): Likewise.
333 (buffered_vfprintf): Likewise.
334 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
335 * stdio-common/xbug.c (AppendToBuffer): Likewise.
336 (ReadFile): Likewise.
337 * stdlib/qsort.c (SWAP): Likewise.
338 (_quicksort): Likewise.
339 * stdlib/setenv.c (__add_to_environ): Likewise.
340 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
341 * stdlib/strtol_l.c (__strtol_l): Likewise.
342 * stdlib/tst-strtod.c (main): Likewise.
343 * stdlib/tst-strtol.c (main): Likewise.
344 * stdlib/tst-strtoll.c (main): Likewise.
345 * string/bits/string2.h (__strcmp_cc): Likewise.
346 (__strcmp_cg): Likewise.
347 (__strcspn_c1): Likewise.
348 (__strcspn_c2): Likewise.
349 (__strcspn_c3): Likewise.
350 (__strspn_c1): Likewise.
351 (__strspn_c2): Likewise.
352 (__strspn_c3): Likewise.
353 (__strsep_1c): Likewise.
354 (__strsep_2c): Likewise.
355 (__strsep_3c): Likewise.
356 * string/memccpy.c (__memccpy): Likewise.
357 * string/stpcpy.c (__stpcpy): Likewise.
358 * string/strcmp.c (strcmp): Likewise.
359 * string/strrchr.c (strrchr): Likewise.
360 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
361 Likewise.
362 * sysdeps/mach/hurd/getcwd.c
363 (_hurd_canonicalize_directory_name_internal): Likewise.
364 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
365 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
366 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
367 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
368 Likewise, in both definitions.
369 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
370 definitions.
371 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
372 64] (__bswap_64): Likewise.
373 * time/test_time.c (main): Likewise.
374 * time/tzfile.c (__tzfile_read): Likewise.
375 (__tzfile_compute): Likewise.
376 * time/tzset.c (__tzset_parse_tz): Likewise.
377 (tzset_internal): Likewise.
378 (compute_change): Likewise.
379 * wcsmbs/wcscat.c (__wcscat): Likewise.
380 * wcsmbs/wcschr.c (wcschr): Likewise.
381 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
382 * wcsmbs/wcscspn.c (wcscspn): Likewise.
383 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
384 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
385 * wcsmbs/wcsspn.c (wcsspn): Likewise.
386 * wcsmbs/wcsstr.c (wcsstr): Likewise.
387 * wcsmbs/wmemchr.c (wmemchr): Likewise.
388 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
389 * wcsmbs/wmemset.c (wmemset): Likewise.
390
9e54314b
JM
3912013-06-06 Joseph Myers <joseph@codesourcery.com>
392
393 * scripts/config.guess: Update to version 2013-05-16.
394 * scripts/config.sub: Update to version 2013-04-24.
395 * scripts/install-sh: Update to version 2011-11-20.07.
396 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
397 * scripts/move-if-change: Update to version 2012-01-06 07:23.
398
350635a5
OB
3992013-06-06 Ondřej Bílka <neleai@seznam.cz>
400
401 * debug/fgetws_u_chk.c: Fix leading whitespaces.
402 * elf/sln.c: Likewise.
403 * hurd/hurd/ioctl.h: Likewise.
404 * hurd/hurdmalloc.c: Likewise.
405 * hurd/xattr.c: Likewise.
406 * include/shlib-compat.h: Likewise.
407 * inet/ruserpass.c: Likewise.
408 * libio/iofgets_u.c: Likewise.
409 * libio/iofgetws_u.c: Likewise.
410 * locale/programs/ld-identification.c: Likewise.
411 * locale/programs/ld-time.c: Likewise.
412 * mach/msg-destroy.c: Likewise.
413 * nss/nss_files/files-netgrp.c: Likewise.
414 * resolv/res_data.c: Likewise.
415 * soft-fp/op-1.h: Likewise.
416 * soft-fp/op-2.h: Likewise.
417 * soft-fp/op-4.h: Likewise.
418 * soft-fp/op-common.h: Likewise.
419 * stdio-common/printf_fphex.c: Likewise.
420 * stdlib/strtod_l.c: Likewise.
421 * sunrpc/rpc/clnt.h: Likewise.
422 * sysdeps/generic/framestate.c: Likewise.
423 * sysdeps/i386/bsd-_setjmp.S: Likewise.
424 * sysdeps/i386/bsd-setjmp.S: Likewise.
425 * sysdeps/i386/__longjmp.S: Likewise.
426 * sysdeps/i386/setjmp.S: Likewise.
427 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
428 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
429 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
430 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
431 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
432 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
433 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
434 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
435 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
436 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
437 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
438 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
439 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
440 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
441 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
442 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
443 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
444 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
445 * sysdeps/ieee754/support.c: Likewise.
446 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
447 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
448 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
449 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
450 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
451 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
452 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
453 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
454 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
455 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
456 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
457 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
458 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
459 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
460 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
461 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
462 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
464
44a988af
OB
4652013-06-05 Ondřej Bílka <neleai@seznam.cz>
466
25506f09 467 * posix/transbug.c: Remove executable mode.
44a988af 468
9c84384c
JM
4692013-06-05 Joseph Myers <joseph@codesourcery.com>
470
471 * crypt/speeds.c: Remove trailing whitespace.
472 * dlfcn/default.c: Likewise.
473 * elf/ifuncdep2.c: Likewise.
474 * elf/ifuncmain1.c: Likewise.
475 * elf/ifuncmain1vis.c: Likewise.
476 * elf/testobj.h: Likewise.
477 * elf/tst-stackguard1.c: Likewise.
478 * gmon/sys/gmon.h: Likewise.
479 * hurd/hurdmsg.c: Likewise.
480 * hurd/new-fd.c: Likewise.
481 * hurd/ports-get.c: Likewise.
482 * iconvdata/ibm1008_420.c: Likewise.
483 * inet/tst-getni1.c: Likewise.
484 * inet/tst-getni2.c: Likewise.
485 * libio/ioungetc.c: Likewise.
486 * libio/wfiledoalloc.c: Likewise.
487 * manual/libm-err-tab.pl: Likewise.
488 * math/w_dremf.c: Likewise.
489 * misc/ftruncate.c: Likewise.
490 * posix/bug-glob2.c: Likewise.
491 * posix/tst-pcre.c: Likewise.
492 * posix/wait4.c: Likewise.
493 * resolv/README: Likewise.
494 * resolv/res_debug.h: Likewise.
495 * resolv/tst-inet_ntop.c: Likewise.
496 * setjmp/bug269-setjmp.c: Likewise.
497 * soft-fp/extended.h: Likewise.
498 * soft-fp/op-1.h: Likewise.
499 * soft-fp/op-2.h: Likewise.
500 * soft-fp/op-4.h: Likewise.
501 * soft-fp/op-8.h: Likewise.
502 * soft-fp/testit.c: Likewise.
503 * stdio-common/bug16.c: Likewise.
504 * stdlib/random.c: Likewise.
505 * sunrpc/rpcsvc/rquota.x: Likewise.
506 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
507 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
508 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
509 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
510 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
511 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
512 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
513 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
514 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
515 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
516 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
517 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
518 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
519 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
520 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
521 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
522 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
523 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
524 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
525 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
526 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
527 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
528 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
529 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
530 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
531 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
532 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
533 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
534 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
535 * sysdeps/ieee754/s_lib_version.c: Likewise.
536 * sysdeps/mach/hurd/check_fds.c: Likewise.
537 * sysdeps/mach/hurd/getsockname.c: Likewise.
538 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
539 * sysdeps/mach/hurd/recvfrom.c: Likewise.
540 * sysdeps/powerpc/bits/link.h: Likewise.
541 * sysdeps/powerpc/dl-procinfo.c: Likewise.
542 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
543 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
544 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
545 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
546 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
547 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
548 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
549 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
550 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
551 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
552 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
553 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
554 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
555 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
556 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
557 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
558 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
559 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
560 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
561 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
562 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
563 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
564 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
565 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
566 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
567 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
568 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
569 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
570 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
571 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
572 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
573 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
574 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
575 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
576 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
577 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
578 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
579 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
580 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
581 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
582 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
583 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
584 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
585 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
586 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
587 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
588 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
589 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
590 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
591 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
592 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
593 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
594 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
595 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
596 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
597 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
598 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
599 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
600 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
601 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
602 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
603 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
604 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
605 * sysdeps/powerpc/sysdep.h: Likewise.
606 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
607 * sysdeps/s390/s390-64/sub_n.S: Likewise.
608 * sysdeps/sh/dl-trampoline.S: Likewise.
609 * sysdeps/sh/memset.S: Likewise.
610 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
611 * sysdeps/sh/strlen.S: Likewise.
612 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
613 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
614 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
615 * sysdeps/sparc/sparc32/rem.S: Likewise.
616 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
617 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
618 * sysdeps/sparc/sparc32/strchr.S: Likewise.
619 * sysdeps/sparc/sparc32/udiv.S: Likewise.
620 * sysdeps/sparc/sparc32/urem.S: Likewise.
621 * sysdeps/sparc/sparc64/add_n.S: Likewise.
622 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
623 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
624 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
625 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
626 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
627 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
628 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
629 * sysdeps/unix/bsd/times.c: Likewise.
630 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
631 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
635 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
636 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
637 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
638 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
639 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
640 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
641 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
642 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
643 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
644 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
645 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
646 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
647 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
648 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
649 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
650 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
651 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
652 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
653 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
654 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
655 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
656 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
657 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
658 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
659 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
660 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
661 * sysdeps/x86_64/strcspn.S: Likewise.
662
869378a5
RA
6632013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
664
665 * locale/C-translit.h: Revert #include <stdint.h> because this is a
666 generated file. Regenerate properly from gen-translit.pl.
667 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
668 locale/C-translit.h.
669
840e2943
AS
6702013-06-05 Andreas Schwab <schwab@suse.de>
671
672 [BZ #15100]
673 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
674 week as 6 instead of -1.
675 * time/tst-strptime.c (day_tests): Add test case.
676
4c60cb0c
SP
6772013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
678
679 * sysdeps/generic/math_private.h
680 (libc_feholdexcept_setround_53bit): Replace with
681 libc_feholdsetround_53bit.
682 (libc_feupdateenv_53bit): Replace with
683 libc_feresetround_53bit.
684 (SET_RESTORE_ROUND_53BIT): Adjust.
685
d180203e
SP
6862013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
687
96df079a
SP
688 * string/test-strchrnul.c: Add copyright header.
689
d180203e
SP
690 * posix/tst-getaddrinfo4.c: Increase test timeout.
691
8b0ccb2d
CD
6922013-06-03 Carlos O'Donell <carlos@redhat.com>
693
694 [BZ #15536]
695 * math/libm-test.inc (MAX_EXP): Remove
696 (MIN_EXP): Define.
697 (ulp): Use MIN_EXP - MANT_DIG.
698 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
699
3b3c4d40
CD
7002013-05-31 Carlos O'Donell <carlos@redhat.com>
701
702 * po/be.po: Revert last change.
703 * po/zh_CN.po: Likewise.
704 * po/header.pot: Likewise.
705
fab7ce3f
JM
7062013-05-31 Joseph Myers <joseph@codesourcery.com>
707
708 * Makefile ($(common-objpfx)linkobj/libc.so): Define
709 link-libc-deps to empty as target-specific variable.
710 * Makerules (link-libc-args): New variable.
711 (libc-for-link): Likewise.
712 (link-libc-deps): Likewise.
713 (lib%.so): Depend on $(link-libc-deps). Link with
714 $(link-libc-args).
715 (build-module): Link with $(link-libc-args).
716 (build-module-asneeded): Likewise.
717 (build-module-helper-objlist): Filter out $(link-libc-deps) from
718 list of objects.
719 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
720 target-specific variable.
721 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
722 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
723 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
724 libc.
725 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
726 libc and ld.so.
727 ($(objpfx)libpcprofile.so): Likewise.
728 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
729 libc_nonshared.a.
730 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
731 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
732 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
733 $(link-libc-deps).
734 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
735 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
736 * login/Makefile ($(objpfx)libutil.so): Likewise.
737 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
738 * math/Makefile ($(objpfx)libm.so): Likewise.
739 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
740 $(objpfx)libnsl.so): Define libc-for-link as target-specific
741 variable instead of depending directly on libc.
742 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
743 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
744 $(link-libc-deps).
745 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
746 libc.
747 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
748 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
749 ($(objpfx)libanl.so): Likewise.
750 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
751 ld.so.
752 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
753 $(link-libc-deps).
754 * sysdeps/i386/fpu/Makefile: Remove file.
755 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
756 ($(objpfx)libm.so): Remove dependency on ld.so.
757
eca5920c
PF
7582013-05-30 Patsy Franklin <pfrankli@redhat.com>
759
760 [BZ # 15553]
761 * nis/yp_xdr.c (XDRMAXNAME): Define.
762 (XDRMAXRECORD): Define.
763 (xdr_domainname): Use XDRMAXNAME.
764 (xdr_mapname): Likewise.
765 (xdr_peername): Likewise.
766 (xdr_keydat): Use XDRMAXRECORD.
767 (xdr_valdat): Likewise.
768
7692013-05-30 Jeff Law <law@redhat.com>
96945714
JL
770
771 [BZ #14256]
772 * manual/errno.texi (ESTALE): Update to account for more than
773 just NFS file systems.
774 * sysdeps/gnu/errlist.c: Regenerated.
775
b9375348
SP
7762013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
777
778 [BZ #15465]
779 * elf/Makefile (tests): Add tst-null-argv.
780 (modules-names): Add tst-null-argv-lib.
781 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
782 (tst-null-argv-ENV): Set environment for tst-null-argv.
783 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
784 (RTLD_PROGNAME): New macro.
785 * elf/tst-null-argv.c: New test case.
786 * elf/tst-null-argv-lib.c: Library for test case.
787 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
788 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
789 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
790 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
791 * elf/dl-init.c (call_init): Likewise.
792 (_dl_init): Likewise.
793 * elf/dl-load.c (print_search_path): Likewise.
794 (_dl_map_object): Likewise.
795 * elf/dl-lookup.c (do_lookup_x): Likewise.
796 (add_dependency): Likewise.
797 (_dl_lookup_symbol_x): Likewise.
798 (_dl_debug_bindings): Likewise.
799 * elf/dl-open.c (_dl_show_scope): Likewise.
800 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
801 * elf/dl-version.c (match_symbol): Likewise.
802 (_dl_check_map_versions): Likewise.
803 * elf/rtld.c (dl_main): Likewise.
804 (print_unresolved): Use RTLD_PROGNAME.
805 (print_missing_version): Likewise.
806 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
807 (elf_machine_rela): Likewise.
808 * sysdeps/powerpc/powerpc32/dl-machine.c
809 (__process_machine_rela): Likewise.
810 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
811 Likewise.
812 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
813 Likewise.
814 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
815 Likewise.
816 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
817 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
818 Likewise.
819 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
820 Likewise.
821 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
822
8a9f20c8
CD
8232013-05-28 Carlos O'Donell <carlos@redhat.com>
824
825 * po/be.po: Add descriptive title.
826 * po/zh_CN.po: Likewise.
827 * po/header.pot: Likewise.
828
0e60d68e
MF
8292013-05-28 Mike Frysinger <vapier@gentoo.org>
830
831 * locale/programs/locarchive.c (create_archive): Inlucde fname in
832 error message.
833 (enlarge_archive): Likewise.
834
56b672e9
BN
8352013-05-28 Ben North <ben@redfrontdoor.org>
836
837 * manual/arith.texi (frexp): It is the magnitude of the return
838 value which lies in [0.5, 1), not the return value itself.
839
5e056687
AZ
8402013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
841
842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
843
2b66ef5d
TS
8442013-05-26 Thomas Schwinge <thomas@codesourcery.com>
845
528c2405
TS
846 * stdio-common/bug26.c (main): Correct fscanf template.
847
07b4c13d
TS
848 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
849 declare _dl_skip_args.
850
ec9dd97c
TS
851 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
852 Don't declare.
853
2b66ef5d
TS
854 * manual/platform.texi: Add missing @end deftypefun.
855
4f8dfe27
JM
8562013-05-24 Joseph Myers <joseph@codesourcery.com>
857
0323d086
JM
858 [BZ #15529]
859 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
860 bit of mantissa of 2^16382.
861 * math/libm-test.inc (hypot_test_data): Add more tests.
862
dd4259b9
JM
863 * math/libm-test.inc: Add drem and pow10 to list of tested
864 functions.
865 (pow10_test): New function.
866 (drem_test): Likewise.
867 (drem_test_tonearest): Likewise.
868 (drem_test_towardzero): Likewise.
869 (drem_test_downward): Likewise.
870 (drem_test_upward): Likewise.
871 (main): Call the new functions.
872
4f8dfe27
JM
873 * math/libm-test.inc (finite_test_data): Remove.
874 (finite_test): Run tests from isfinite_test_data.
875 (gamma_test_data): Remove.
876 (gamma_test): Run tests from lgamma_test_data.
877 * sysdeps/i386/fpu/libm-test-ulps: Update.
878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
879
d116b7c4
AZ
8802013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
881
882 * manual/platform.texi: Add PowerPC PPR function set documentation.
883 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
884 implementation.
885
e96e3767
CD
8862013-05-24 Carlos O'Donell <carlos@redhat.com>
887
888 * math/libm-test.inc (MAX_EXP): Define.
889 (ULPDIFF): Define.
890 (ulp): New function.
891 (check_float_internal): Use ULPDIFF.
892 (cpow_test): Disable failing test.
893 (check_ulp): Test ulp() implemetnation.
894 (main): Call check_ulp before starting tests.
895
b679a606
JM
8962013-05-24 Joseph Myers <joseph@codesourcery.com>
897
e8bdba36
JM
898 * math/gen-libm-test.pl (generate_testfile): Do not handle
899 START_DATA and END_DATA.
900 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
901 END_DATA.
902 (acos_tonearest_test_data): Likewise.
903 (acos_towardzero_test_data): Likewise.
904 (acos_downward_test_data): Likewise.
905 (acos_upward_test_data): Likewise.
906 (acosh_test_data): Likewise.
907 (asin_test_data): Likewise.
908 (asin_tonearest_test_data): Likewise.
909 (asin_towardzero_test_data): Likewise.
910 (asin_downward_test_data): Likewise.
911 (asin_upward_test_data): Likewise.
912 (asinh_test_data): Likewise.
913 (atan_test_data): Likewise.
914 (atanh_test_data): Likewise.
915 (atan2_test_data): Likewise.
916 (cabs_test_data): Likewise.
917 (cacos_test_data): Likewise.
918 (cacosh_test_data): Likewise.
919 (carg_test_data): Likewise.
920 (casin_test_data): Likewise.
921 (casinh_test_data): Likewise.
922 (catan_test_data): Likewise.
923 (catanh_test_data): Likewise.
924 (cbrt_test_data): Likewise.
925 (ccos_test_data): Likewise.
926 (ccosh_test_data): Likewise.
927 (ceil_test_data): Likewise.
928 (cexp_test_data): Likewise.
929 (cimag_test_data): Likewise.
930 (clog_test_data): Likewise.
931 (clog10_test_data): Likewise.
932 (conj_test_data): Likewise.
933 (copysign_test_data): Likewise.
934 (cos_test_data): Likewise.
935 (cos_tonearest_test_data): Likewise.
936 (cos_towardzero_test_data): Likewise.
937 (cos_downward_test_data): Likewise.
938 (cos_upward_test_data): Likewise.
939 (cosh_test_data): Likewise.
940 (cosh_tonearest_test_data): Likewise.
941 (cosh_towardzero_test_data): Likewise.
942 (cosh_downward_test_data): Likewise.
943 (cosh_upward_test_data): Likewise.
944 (cpow_test_data): Likewise.
945 (cproj_test_data): Likewise.
946 (creal_test_data): Likewise.
947 (csin_test_data): Likewise.
948 (csinh_test_data): Likewise.
949 (csqrt_test_data): Likewise.
950 (ctan_test_data): Likewise.
951 (ctan_tonearest_test_data): Likewise.
952 (ctan_towardzero_test_data): Likewise.
953 (ctan_downward_test_data): Likewise.
954 (ctan_upward_test_data): Likewise.
955 (ctanh_test_data): Likewise.
956 (ctanh_tonearest_test_data): Likewise.
957 (ctanh_towardzero_test_data): Likewise.
958 (ctanh_downward_test_data): Likewise.
959 (ctanh_upward_test_data): Likewise.
960 (erf_test_data): Likewise.
961 (erfc_test_data): Likewise.
962 (exp_test_data): Likewise.
963 (exp_tonearest_test_data): Likewise.
964 (exp_towardzero_test_data): Likewise.
965 (exp_downward_test_data): Likewise.
966 (exp_upward_test_data): Likewise.
967 (exp10_test_data): Likewise.
968 (exp2_test_data): Likewise.
969 (expm1_test_data): Likewise.
970 (fabs_test_data): Likewise.
971 (fdim_test_data): Likewise.
972 (finite_test_data): Likewise.
973 (floor_test_data): Likewise.
974 (fma_test_data): Likewise.
975 (fma_towardzero_test_data): Likewise.
976 (fma_downward_test_data): Likewise.
977 (fma_upward_test_data): Likewise.
978 (fmax_test_data): Likewise.
979 (fmin_test_data): Likewise.
980 (fmod_test_data): Likewise.
981 (fpclassify_test_data): Likewise.
982 (frexp_test_data): Likewise.
983 (gamma_test_data): Likewise.
984 (hypot_test_data): Likewise.
985 (ilogb_test_data): Likewise.
986 (isfinite_test_data): Likewise.
987 (isgreater_test_data): Likewise.
988 (isgreaterequal_test_data): Likewise.
989 (isinf_test_data): Likewise.
990 (isless_test_data): Likewise.
991 (islessequal_test_data): Likewise.
992 (islessgreater_test_data): Likewise.
993 (isnan_test_data): Likewise.
994 (isnormal_test_data): Likewise.
995 (issignaling_test_data): Likewise.
996 (isunordered_test_data): Likewise.
997 (j0_test_data): Likewise.
998 (j1_test_data): Likewise.
999 (jn_test_data): Likewise.
1000 (ldexp_test_data): Likewise.
1001 (lgamma_test_data): Likewise.
1002 (lrint_test_data): Likewise.
1003 (lrint_tonearest_test_data): Likewise.
1004 (lrint_towardzero_test_data): Likewise.
1005 (lrint_downward_test_data): Likewise.
1006 (lrint_upward_test_data): Likewise.
1007 (llrint_test_data): Likewise.
1008 (llrint_tonearest_test_data): Likewise.
1009 (llrint_towardzero_test_data): Likewise.
1010 (llrint_downward_test_data): Likewise.
1011 (llrint_upward_test_data): Likewise.
1012 (log_test_data): Likewise.
1013 (log10_test_data): Likewise.
1014 (log1p_test_data): Likewise.
1015 (log2_test_data): Likewise.
1016 (logb_test_data): Likewise.
1017 (logb_downward_test_data): Likewise.
1018 (lround_test_data): Likewise.
1019 (llround_test_data): Likewise.
1020 (modf_test_data): Likewise.
1021 (nearbyint_test_data): Likewise.
1022 (nextafter_test_data): Likewise.
1023 (nexttoward_test_data): Likewise.
1024 (pow_test_data): Likewise.
1025 (pow_tonearest_test_data): Likewise.
1026 (pow_towardzero_test_data): Likewise.
1027 (pow_downward_test_data): Likewise.
1028 (pow_upward_test_data): Likewise.
1029 (remainder_test_data): Likewise.
1030 (remainder_tonearest_test_data): Likewise.
1031 (remainder_towardzero_test_data): Likewise.
1032 (remainder_downward_test_data): Likewise.
1033 (remainder_upward_test_data): Likewise.
1034 (remquo_test_data): Likewise.
1035 (rint_test_data): Likewise.
1036 (rint_tonearest_test_data): Likewise.
1037 (rint_towardzero_test_data): Likewise.
1038 (rint_downward_test_data): Likewise.
1039 (rint_upward_test_data): Likewise.
1040 (round_test_data): Likewise.
1041 (scalb_test_data): Likewise.
1042 (scalbn_test_data): Likewise.
1043 (scalbln_test_data): Likewise.
1044 (signbit_test_data): Likewise.
1045 (sin_test_data): Likewise.
1046 (sin_tonearest_test_data): Likewise.
1047 (sin_towardzero_test_data): Likewise.
1048 (sin_downward_test_data): Likewise.
1049 (sin_upward_test_data): Likewise.
1050 (sincos_test_data): Likewise.
1051 (sinh_test_data): Likewise.
1052 (sinh_tonearest_test_data): Likewise.
1053 (sinh_towardzero_test_data): Likewise.
1054 (sinh_downward_test_data): Likewise.
1055 (sinh_upward_test_data): Likewise.
1056 (sqrt_test_data): Likewise.
1057 (tan_test_data): Likewise.
1058 (tan_tonearest_test_data): Likewise.
1059 (tan_towardzero_test_data): Likewise.
1060 (tan_downward_test_data): Likewise.
1061 (tan_upward_test_data): Likewise.
1062 (tanh_test_data): Likewise.
1063 (tgamma_test_data): Likewise.
1064 (trunc_test_data): Likewise.
1065 (y0_test_data): Likewise.
1066 (y1_test_data): Likewise.
1067 (yn_test_data): Likewise.
1068 (significand_test_data): Likewise.
1069
b679a606
JM
1070 * math/gen-libm-test.pl (@functions): Remove variable.
1071 (generate_testfile): Don't handle START and END lines.
1072 * math/libm-test.inc (START): New macro.
1073 (END): Likewise.
1074 (END_COMPLEX): Likewise.
1075 (acos_test): Use END macro without arguments.
1076 (acos_test_tonearest): Likewise.
1077 (acos_test_towardzero): Likewise.
1078 (acos_test_downward): Likewise.
1079 (acos_test_upward): Likewise.
1080 (acosh_test): Likewise.
1081 (asin_test): Likewise.
1082 (asin_test_tonearest): Likewise.
1083 (asin_test_towardzero): Likewise.
1084 (asin_test_downward): Likewise.
1085 (asin_test_upward): Likewise.
1086 (asinh_test): Likewise.
1087 (atan_test): Likewise.
1088 (atanh_test): Likewise.
1089 (atan2_test): Likewise.
1090 (cabs_test): Likewise.
1091 (cacos_test): Use END_COMPLEX macro without arguments.
1092 (cacosh_test): Likewise.
1093 (carg_test): Use END macro without arguments.
1094 (casin_test): Use END_COMPLEX macro without arguments.
1095 (casinh_test): Likewise.
1096 (catan_test): Likewise.
1097 (catanh_test): Likewise.
1098 (cbrt_test): Use END macro without arguments.
1099 (ccos_test): Use END_COMPLEX macro without arguments.
1100 (ccosh_test): Likewise.
1101 (ceil_test): Use END macro without arguments.
1102 (cexp_test): Use END_COMPLEX macro without arguments.
1103 (cimag_test): Use END macro without arguments.
1104 (clog_test): Use END_COMPLEX macro without arguments.
1105 (clog10_test): Likewise.
1106 (conj_test): Likewise.
1107 (copysign_test): Use END macro without arguments.
1108 (cos_test): Likewise.
1109 (cos_test_tonearest): Likewise.
1110 (cos_test_towardzero): Likewise.
1111 (cos_test_downward): Likewise.
1112 (cos_test_upward): Likewise.
1113 (cosh_test): Likewise.
1114 (cosh_test_tonearest): Likewise.
1115 (cosh_test_towardzero): Likewise.
1116 (cosh_test_downward): Likewise.
1117 (cosh_test_upward): Likewise.
1118 (cpow_test): Use END_COMPLEX macro without arguments.
1119 (cproj_test): Likewise.
1120 (creal_test): Use END macro without arguments.
1121 (csin_test): Use END_COMPLEX macro without arguments.
1122 (csinh_test): Likewise.
1123 (csqrt_test): Likewise.
1124 (ctan_test): Likewise.
1125 (ctan_test_tonearest): Likewise.
1126 (ctan_test_towardzero): Likewise.
1127 (ctan_test_downward): Likewise.
1128 (ctan_test_upward): Likewise.
1129 (ctanh_test): Likewise.
1130 (ctanh_test_tonearest): Likewise.
1131 (ctanh_test_towardzero): Likewise.
1132 (ctanh_test_downward): Likewise.
1133 (ctanh_test_upward): Likewise.
1134 (erf_test): Use END macro without arguments.
1135 (erfc_test): Likewise.
1136 (exp_test): Likewise.
1137 (exp_test_tonearest): Likewise.
1138 (exp_test_towardzero): Likewise.
1139 (exp_test_downward): Likewise.
1140 (exp_test_upward): Likewise.
1141 (exp10_test): Likewise.
1142 (exp2_test): Likewise.
1143 (expm1_test): Likewise.
1144 (fabs_test): Likewise.
1145 (fdim_test): Likewise.
1146 (finite_test): Likewise.
1147 (floor_test): Likewise.
1148 (fma_test): Likewise.
1149 (fma_test_towardzero): Likewise.
1150 (fma_test_downward): Likewise.
1151 (fma_test_upward): Likewise.
1152 (fmax_test): Likewise.
1153 (fmin_test): Likewise.
1154 (fmod_test): Likewise.
1155 (fpclassify_test): Likewise.
1156 (frexp_test): Likewise.
1157 (gamma_test): Likewise.
1158 (hypot_test): Likewise.
1159 (ilogb_test): Likewise.
1160 (isfinite_test): Likewise.
1161 (isgreater_test): Likewise.
1162 (isgreaterequal_test): Likewise.
1163 (isinf_test): Likewise.
1164 (isless_test): Likewise.
1165 (islessequal_test): Likewise.
1166 (islessgreater_test): Likewise.
1167 (isnan_test): Likewise.
1168 (isnormal_test): Likewise.
1169 (issignaling_test): Likewise.
1170 (isunordered_test): Likewise.
1171 (j0_test): Likewise.
1172 (j1_test): Likewise.
1173 (jn_test): Likewise.
1174 (ldexp_test): Likewise.
1175 (lgamma_test): Likewise.
1176 (lrint_test): Likewise.
1177 (lrint_test_tonearest): Likewise.
1178 (lrint_test_towardzero): Likewise.
1179 (lrint_test_downward): Likewise.
1180 (lrint_test_upward): Likewise.
1181 (llrint_test): Likewise.
1182 (llrint_test_tonearest): Likewise.
1183 (llrint_test_towardzero): Likewise.
1184 (llrint_test_downward): Likewise.
1185 (llrint_test_upward): Likewise.
1186 (log_test): Likewise.
1187 (log10_test): Likewise.
1188 (log1p_test): Likewise.
1189 (log2_test): Likewise.
1190 (logb_test): Likewise.
1191 (logb_test_downward): Likewise.
1192 (lround_test): Likewise.
1193 (llround_test): Likewise.
1194 (modf_test): Likewise.
1195 (nearbyint_test): Likewise.
1196 (nextafter_test): Likewise.
1197 (nexttoward_test): Likewise.
1198 (pow_test): Likewise.
1199 (pow_test_tonearest): Likewise.
1200 (pow_test_towardzero): Likewise.
1201 (pow_test_downward): Likewise.
1202 (pow_test_upward): Likewise.
1203 (remainder_test): Likewise.
1204 (remainder_test_tonearest): Likewise.
1205 (remainder_test_towardzero): Likewise.
1206 (remainder_test_downward): Likewise.
1207 (remainder_test_upward): Likewise.
1208 (remquo_test): Likewise.
1209 (rint_test): Likewise.
1210 (rint_test_tonearest): Likewise.
1211 (rint_test_towardzero): Likewise.
1212 (rint_test_downward): Likewise.
1213 (rint_test_upward): Likewise.
1214 (round_test): Likewise.
1215 (scalb_test): Likewise.
1216 (scalbn_test): Likewise.
1217 (scalbln_test): Likewise.
1218 (signbit_test): Likewise.
1219 (sin_test): Likewise.
1220 (sin_test_tonearest): Likewise.
1221 (sin_test_towardzero): Likewise.
1222 (sin_test_downward): Likewise.
1223 (sin_test_upward): Likewise.
1224 (sincos_test): Likewise.
1225 (sinh_test): Likewise.
1226 (sinh_test_tonearest): Likewise.
1227 (sinh_test_towardzero): Likewise.
1228 (sinh_test_downward): Likewise.
1229 (sinh_test_upward): Likewise.
1230 (sqrt_test): Likewise.
1231 (tan_test): Likewise.
1232 (tan_test_tonearest): Likewise.
1233 (tan_test_towardzero): Likewise.
1234 (tan_test_downward): Likewise.
1235 (tan_test_upward): Likewise.
1236 (tanh_test): Likewise.
1237 (tgamma_test): Likewise.
1238 (trunc_test): Likewise.
1239 (y0_test): Likewise.
1240 (y1_test): Likewise.
1241 (yn_test): Likewise.
1242 (significand_test): Likewise.
1243
bae143d2
OB
12442013-05-24 Ondřej Bílka <neleai@seznam.cz>
1245
1246 [BZ #15381]
1247 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1248
9323d39b
EM
12492013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1250
d4ea44a0 1251 [BZ #14894]
9323d39b
EM
1252 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1253 __ppc_mdoio and __ppc_mdoom.
1254 * manual/platform.texi: Document new functions __ppc_yield,
1255 __ppc_mdoio and __ppc_mdoom.
1256
13e23af7
CD
12572013-05-22 Carlos O'Donell <carlos@redhat.com>
1258
1259 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1260 (main): Mention "tls" pseudo-hwcap is legacy.
1261 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1262
351fe550
JM
12632013-05-22 Joseph Myers <joseph@codesourcery.com>
1264
1265 * math/gen-libm-test.pl (parse_args): Output only string of
1266 arguments as text for test name, not full call or descriptions of
1267 tests for extra outputs.
1268 (generate_testfile): Do not pass function name to parse_args.
1269 Generate this_func variable from START.
1270 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1271 field to arg_str.
1272 (struct test_ff_f_data): Likewise.
1273 (test_ff_f_data_nexttoward): Likewise.
1274 (struct test_fi_f_data): Likewise.
1275 (struct test_fl_f_data): Likewise.
1276 (struct test_if_f_data): Likewise.
1277 (struct test_fff_f_data): Likewise.
1278 (struct test_c_f_data): Likewise.
1279 (struct test_f_f1_data): Likewise. Remove field extra_name.
1280 (struct test_fF_f1_data): Likewise.
1281 (struct test_ffI_f1_data): Likewise.
1282 (struct test_c_c_data): Rename test_name field to arg_str.
1283 (struct test_cc_c_data): Likewise.
1284 (struct test_f_i_data): Likewise.
1285 (struct test_ff_i_data): Likewise.
1286 (struct test_f_l_data): Likewise.
1287 (struct test_f_L_data): Likewise.
1288 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1289 and extra2_name.
1290 (COMMON_TEST_SETUP): New macro.
1291 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1292 (COMMON_TEST_CLEANUP): Likewise.
1293 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1294 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1295 macros.
1296 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1297 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1298 macros.
1299 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1300 (RUN_TEST_fff_f): Take argument string. Call new setup and
1301 cleanup macros.
1302 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1303 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1304 macros.
1305 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1306 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1307 macros.
1308 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1309 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1310 cleanup macros.
1311 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1312 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1313 cleanup macros.
1314 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1315 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1316 cleanup macros.
1317 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1318 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1319 macros.
1320 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1321 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1322 macros.
1323 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1324 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1325 macros.
1326 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1327 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1328 cleanup macros.
1329 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1330 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1331 cleanup macros.
1332 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1333 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1334 macros.
1335 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1336 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1337 cleanup macros.
1338 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1339 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1340 macros.
1341 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1342 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1343 macros.
1344 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1345 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1346 cleanup macros.
1347 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1348
85118d4d
EBM
13492013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1350
1351 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1352 to _sifields.sigfault.
1353 (si_addr_lsb): Define new macro.
1354 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1355 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1356 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1357
7a44c18f
CD
13582013-05-03 Carlos O'Donell <carlos at redhat.com>
1359
1360 [BZ #15441]
1361 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1362 returns -1.
1363 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1364 null return -1.
1365 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1366 loading the domain.
1367
b50a7181
JM
13682013-05-22 Joseph Myers <joseph@codesourcery.com>
1369
1370 * math/gen-libm-test.pl (parse_args): Do not include expected
1371 result in test name.
1372 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1373 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1374 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1375 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1376 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1378
051063c8
SP
13792013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1380
3ce9e010
SP
1381 * benchtests/Makefile: Sort function entries.
1382
051063c8
SP
1383 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1384 tanh, asinh, acosh, atanh.
1385 * benchtests/acos-inputs: New file.
1386 * benchtests/acosh-inputs: New file.
1387 * benchtests/asin-inputs: New file.
1388 * benchtests/asinh-inputs: New file.
1389 * benchtests/atanh-inputs: New file.
1390 * benchtests/cosh-inputs: New file.
1391 * benchtests/log-inputs: New file.
1392 * benchtests/sinh-inputs: New file.
1393 * benchtests/tanh-inputs: New file.
1394
47c22455
DL
13952013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1396
1397 [BZ #15339]
1398 * posix/tst-getaddrinfo4.c: New test.
1399 * posix/Makefile (tests): Add it.
1400
3d04f5db
SP
14012013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1402
1403 [BZ #15339]
1404 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1405 when no services were used.
1406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1407 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1408
d5dd6189
AS
14092013-05-21 Andreas Schwab <schwab@suse.de>
1410
1411 [BZ #15014]
1412 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1413 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1414 successful.
1415 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1416 redundant variable declarations and reallocation of buffer when
1417 parsing as IPv6 address. Always set NSS status when called from
1418 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1419 buffer too small. Correct computation of needed size.
1420 * nss/Makefile (tests): Add test-digits-dots.
1421 * nss/test-digits-dots.c: New test.
1422
fef94eab
SP
14232013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1424
1425 * benchtests/Makefile: Remove instructions for adding
1426 benchmark tests.
1427 * benchtests/README: New file to explain how to execute and
1428 enhance the benchmark tests.
1429
e39adf43
AS
14302013-05-21 Andreas Schwab <schwab@suse.de>
1431
1432 [BZ #15493]
1433 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1434 * setjmp/tst-sigsetjmp.c: New test.
1435
b2b671b6
OB
14362013-05-20 Ondřej Bílka <neleai@seznam.cz>
1437
1438 * sysdeps/x86_64/memset.S (memset): New implementation.
1439 (__bzero): Likewise.
1440 (__memset_tail): New function.
1441
2d48b41c
OB
14422013-05-20 Ondřej Bílka <neleai@seznam.cz>
1443
1444 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1445 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1446 __memcpy_sse2_unaligned ifunc selection.
1447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1448 Add memcpy-sse2-unaligned.S.
1449 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1450 Add: __memcpy_sse2_unaligned.
1451
f16cc3eb
JM
14522013-05-19 Joseph Myers <joseph@codesourcery.com>
1453
3e694268
JM
1454 [BZ #15490]
1455 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1456 math_force_eval before restoring floating-point envrionment.
1457 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1458 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1459 Likewise.
1460 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1461 <math_private.h>.
1462 (__nearbyintl): Use math_force_eval before restoring
1463 floating-point environment.
1464 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1465
db62a907
JM
1466 * math/gen-libm-test.pl (special_functions): Remove.
1467 (parse_args): Don't handle TEST_extra. Handle functions with no
1468 return value.
1469 * math/libm-test.inc (struct test_sincos_data): Replace with
1470 struct test_fFF_11_data.
1471 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1472 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1473 (sincos_test_data): Change element type to struct
1474 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1475 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1476 RUN_TEST_LOOP_sincos.
1477 * math/README.libm-test: Don't mention special handling of
1478 individual functions.
1479 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1480 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1481 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1482 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1483 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1485
f16cc3eb
JM
1486 * math/gen-libm-test.pl (get_variable): Remove function.
1487 (parse_args): Don't show pointer parameters to call in test
1488 names. Use "extra output N" in test names for extra outputs
1489 rather than naming variables.
1490
3779b5b6
JM
14912013-05-18 Joseph Myers <joseph@codesourcery.com>
1492
2ee094ff
JM
1493 [BZ #15488]
1494 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1495 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1496 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1497 double tests.
1498 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1499 disable.
1500 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1501 check_long_double.
1502
3779b5b6
JM
1503 * math/gen-libm-test.pl (@tests): Remove variable.
1504 ($count): Likewise.
1505 (new_test): Remove function.
1506 (show_exceptions): New function.
1507 (special_functions): Use show_exceptions instead of new_test.
1508 (parse_args): Likewise.
1509 (generate_testfile): Pass only function name in generated call to
1510 print_max_error or print_complex_max_error.
1511 (get_ulps): Do not handle complex tests specially.
1512 (output_test): Rename to ...
1513 (get_all_ulps_for_test): ... this. Return a string rather than
1514 printing to a file. Require ulps to be present.
1515 (output_ulps): Generate arrays rather than #defines.
1516 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1517 (struct ulp_data): New type.
1518 (BUILD_COMPLEX_ULP): Remove macro.
1519 (compare_ulp_data): New function.
1520 (find_ulps): Likewise.
1521 (find_test_ulps): Likewise.
1522 (find_function_ulps): Likewise.
1523 (find_complex_function_ulps): Likewise.
1524 (print_max_error): Determine allowed ulps using
1525 find_function_ulps.
1526 (print_complex_max_error): Determine allowed ulps using
1527 find_complex_function_ulps.
1528 (check_float_internal): Determine max ulps using find_test_ulps.
1529 (check_float): Do not take max_ulp parameter. Update call to
1530 check_float_internal.
1531 (check_complex): Likewise.
1532 (check_int): Do not take max_ulp parameter.
1533 (check_long): Likewise.
1534 (check_bool): Likewise.
1535 (check_longlong): Likewise.
1536 (struct test_f_f_data): Remove max_ulp field.
1537 (struct test_ff_f_data): Likewise.
1538 (struct test_ff_f_data_nexttoward): Likewise.
1539 (struct test_fi_f_data): Likewise.
1540 (struct test_fl_f_data): Likewise.
1541 (struct test_if_f_data): Likewise.
1542 (struct test_fff_f_data): Likewise.
1543 (struct test_c_f_data): Likewise.
1544 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1545 (struct test_fF_f1_data): Likewise.
1546 (struct test_ffI_f1_data): Likewise.
1547 (struct test_c_c_data): Remove max_ulp field.
1548 (struct test_cc_c_data): Likewise.
1549 (struct test_f_i_data): Likewise.
1550 (struct test_ff_i_data): Likewise.
1551 (struct test_f_l_data): Likewise.
1552 (struct test_f_L_data): Likewise.
1553 (struct test_sincos_data): Likewise.
1554 (RUN_TEST_f_f): Do not handle ulps.
1555 (RUN_TEST_LOOP_f_f): Likewise.
1556 (RUN_TEST_2_f): Likewise.
1557 (RUN_TEST_LOOP_2_f): Likewise.
1558 (RUN_TEST_fff_f): Likewise.
1559 (RUN_TEST_LOOP_fff_f): Likewise.
1560 (RUN_TEST_c_f): Likewise.
1561 (RUN_TEST_LOOP_c_f): Likewise.
1562 (RUN_TEST_f_f1): Likewise.
1563 (RUN_TEST_LOOP_f_f1): Likewise.
1564 (RUN_TEST_fF_f1): Likewise.
1565 (RUN_TEST_LOOP_fF_f1): Likewise.
1566 (RUN_TEST_fI_f1): Likewise.
1567 (RUN_TEST_LOOP_fI_f1): Likewise.
1568 (RUN_TEST_ffI_f1): Likewise.
1569 (RUN_TEST_LOOP_ffI_f1): Likewise.
1570 (RUN_TEST_c_c): Likewise.
1571 (RUN_TEST_LOOP_c_c): Likewise.
1572 (RUN_TEST_cc_c): Likewise.
1573 (RUN_TEST_LOOP_cc_c): Likewise.
1574 (RUN_TEST_f_i): Likewise.
1575 (RUN_TEST_LOOP_f_i): Likewise.
1576 (RUN_TEST_f_i_tg): Likewise.
1577 (RUN_TEST_LOOP_f_i_tg): Likewise.
1578 (RUN_TEST_ff_i_tg): Likewise.
1579 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1580 (RUN_TEST_f_b): Likewise.
1581 (RUN_TEST_LOOP_f_b): Likewise.
1582 (RUN_TEST_f_b_tg): Likewise.
1583 (RUN_TEST_LOOP_f_b_tg): Likewise.
1584 (RUN_TEST_f_l): Likewise.
1585 (RUN_TEST_LOOP_f_l): Likewise.
1586 (RUN_TEST_f_L): Likewise.
1587 (RUN_TEST_LOOP_f_L): Likewise.
1588 (RUN_TEST_sincos): Likewise.
1589 (RUN_TEST_LOOP_sincos): Likewise.
1590
8269107f
JM
15912013-05-17 Joseph Myers <joseph@codesourcery.com>
1592
bb38759d
JM
1593 [BZ #15480]
1594 [BZ #15485]
1595 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1596 main case of finite arguments, set rounding mode to FE_TONEAREST
1597 and discard exceptions.
1598 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1599 exceptions.
1600 (remainder_tonearest_test_data): New variable.
1601 (remainder_test_tonearest): New function.
1602 (remainder_towardzero_test_data): New variable.
1603 (remainder_test_towardzero): New function.
1604 (remainder_downward_test_data): New variable.
1605 (remainder_test_downward): New function.
1606 (remainder_upward_test_data): New variable.
1607 (remainder_test_upward): New function.
1608 (main): Call the new test functions.
1609
a00bdcf0
JM
1610 * math/libm-test.inc (struct test_f_f1_data): Remove field
1611 extra_init.
1612 (struct test_fF_f1_data): Likewise.
1613 (struct test_ffI_f1_data): Likewise.
1614 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1615 based on value of EXTRA_EXPECTED.
1616 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1617 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1618 EXTRA_VAR based on value of EXTRA_EXPECTED.
1619 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1620 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1621 EXTRA_VAR based on value of EXTRA_EXPECTED.
1622 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1623 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1624 EXTRA_VAR based on value of EXTRA_EXPECTED.
1625 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1626 * math/gen-libm-test.pl (parse_args): Don't output initializers
1627 for extra output values.
1628
de407f79
JM
1629 * math/libm-test.inc (check_int): Expect result to be exactly
1630 equal to expected value and do not handle ulps.
1631 (check_long): Likewise.
1632 (check_longlong): Likewise.
1633
8269107f
JM
1634 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1635 exceptions.
1636 (cimag_test_data): Likewise.
1637 (conj_test_data): Likewise.
1638 (copysign_test_data): Likewise.
1639 (cproj_test_data): Likewise.
1640 (creal_test_data): Likewise.
1641 (fabs_test_data): Likewise.
1642 (fdim_test_data): Likewise.
1643 (finite_test_data): Likewise.
1644 (floor_test_data): Likewise.
1645 (fmax_test_data): Likewise.
1646 (fmin_test_data): Likewise.
1647 (fmod_test_data): Likewise.
1648 (fpclassify_test_data): Likewise.
1649 (frexp_test_data): Likewise.
1650 (ilogb_test_data): Likewise.
1651 (isfinite_test_data): Likewise.
1652 (isgreater_test_data): Likewise.
1653 (isgreaterequal_test_data): Likewise.
1654 (isinf_test_data): Likewise.
1655 (isless_test_data): Likewise.
1656 (islessequal_test_data): Likewise.
1657 (islessgreater_test_data): Likewise.
1658 (isnan_test_data): Likewise.
1659 (isnormal_test_data): Likewise.
1660 (issignaling_test_data): Likewise.
1661 (isunordered_test_data): Likewise.
1662 (ldexp_test_data): Likewise.
1663 (lrint_test_data): Likewise.
1664 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1665 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1666 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1667 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1668 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1669 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1670 test input.
1671 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1672 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1673 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1674 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1675 that test input.
1676 (lrint_downward_test_data): Test for "inexact" exceptions.
1677 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1678 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1679 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1680 test input.
1681 (lrint_upward_test_data): Test for "inexact" exceptions.
1682 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1683 test input.
1684 (llrint_test_data): Test for "inexact" exceptions.
1685 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1686 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1687 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1688 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1689 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1690 (llrint_downward_test_data): Test for "inexact" exceptions.
1691 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1692 (llrint_upward_test_data): Test for "inexact" exceptions.
1693 (logb_test_data): Likewise.
1694 (logb_downward_test_data): Likewise.
1695 (nextafter_test_data): Likewise.
1696 (nexttoward_test_data): Likewise.
1697 (remainder_test_data): Likewise.
1698 (remquo_test_data): Likewise.
1699 (scalbn_test_data): Likewise.
1700 (scalbln_test_data): Likewise.
1701 (signbit_test_data): Likewise.
1702 (sqrt_test_data): Likewise.
1703 (significand_test_data): Likewise.
1704
48a18de1
SP
17052013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1706
1707 [BZ #15424]
1708 * benchtests/bench-modf.c (struct args): Mark arg0 as
1709 volatile.
1710 * scripts/bench.pl: Mark members of struct args as volatile.
1711
13d3b41a
AZ
17122013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1713
68191c1d 1714 [BZ # 15497]
13d3b41a
AZ
1715 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1716 negative infinity on POWER6 or lower.
1717 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1718
2848b105
MR
17192013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1720
1721 [BZ #15442]
1722 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1723 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1724 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1725 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1726 (_FP_SETQNAN): New macro.
1727 (_FP_SETQNAN_SEMIRAW): Likewise.
1728 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1729 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1730 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1731 (FP_EXTEND): Use _FP_FRAC_SNANP.
1732 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1733 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1734 into account.
1735 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1736 New macro.
1737 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1738 Likewise.
1739
323e5cb7
JM
17402013-05-16 Joseph Myers <joseph@codesourcery.com>
1741
c58b274f
JM
1742 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1743 with DIVIDE_BY_ZERO_EXCEPTION.
1744 (gamma_test_data): Likewise.
1745 (lgamma_test_data): Likewise.
1746 (log_test_data): Likewise.
1747 (log10_test_data): Likewise.
1748 (log2_test_data): Likewise.
1749 (tgamma_test_data): Likewise.
1750
0ab34904
JM
1751 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1752 (acos_test_tonearest): Likewise.
1753 (acos_test_towardzero): Likewise.
1754 (acos_test_downward): Likewise.
1755 (acos_test_upward): Likewise.
1756 (acosh_test): Likewise.
1757 (asin_test): Likewise.
1758 (asin_test_tonearest): Likewise.
1759 (asin_test_towardzero): Likewise.
1760 (asin_test_downward): Likewise.
1761 (asin_test_upward): Likewise.
1762 (asinh_test): Likewise.
1763 (atan_test): Likewise.
1764 (atanh_test): Likewise.
1765 (atan2_test): Likewise.
1766 (cabs_test): Likewise.
1767 (cacos_test): Likewise.
1768 (cacosh_test): Likewise.
1769 (casin_test): Likewise.
1770 (casinh_test): Likewise.
1771 (catan_test): Likewise.
1772 (catanh_test): Likewise.
1773 (cbrt_test): Likewise.
1774 (ccos_test): Likewise.
1775 (ccosh_test): Likewise.
1776 (cexp_test): Likewise.
1777 (clog_test): Likewise.
1778 (clog10_test): Likewise.
1779 (cos_test): Likewise.
1780 (cos_test_tonearest): Likewise.
1781 (cos_test_towardzero): Likewise.
1782 (cos_test_downward): Likewise.
1783 (cos_test_upward): Likewise.
1784 (cosh_test): Likewise.
1785 (cosh_test_tonearest): Likewise.
1786 (cosh_test_towardzero): Likewise.
1787 (cosh_test_downward): Likewise.
1788 (cosh_test_upward): Likewise.
1789 (cpow_test): Likewise.
1790 (csin_test): Likewise.
1791 (csinh_test): Likewise.
1792 (csqrt_test): Likewise.
1793 (ctan_test): Likewise.
1794 (ctan_test_tonearest): Likewise.
1795 (ctan_test_towardzero): Likewise.
1796 (ctan_test_downward): Likewise.
1797 (ctan_test_upward): Likewise.
1798 (ctanh_test): Likewise.
1799 (ctanh_test_tonearest): Likewise.
1800 (ctanh_test_towardzero): Likewise.
1801 (ctanh_test_downward): Likewise.
1802 (ctanh_test_upward): Likewise.
1803 (erf_test): Likewise.
1804 (erfc_test): Likewise.
1805 (exp_test): Likewise.
1806 (exp_test_tonearest): Likewise.
1807 (exp_test_towardzero): Likewise.
1808 (exp_test_downward): Likewise.
1809 (exp_test_upward): Likewise.
1810 (exp10_test): Likewise.
1811 (exp2_test): Likewise.
1812 (expm1_test): Likewise.
1813 (fmod_test): Likewise.
1814 (gamma_test): Likewise.
1815 (hypot_test): Likewise.
1816 (j0_test): Likewise.
1817 (j1_test): Likewise.
1818 (jn_test): Likewise.
1819 (lgamma_test): Likewise.
1820 (log_test): Likewise.
1821 (log10_test): Likewise.
1822 (log1p_test): Likewise.
1823 (log2_test): Likewise.
1824 (logb_test_downward): Likewise.
1825 (pow_test): Likewise.
1826 (pow_test_tonearest): Likewise.
1827 (pow_test_towardzero): Likewise.
1828 (pow_test_downward): Likewise.
1829 (pow_test_upward): Likewise.
1830 (remainder_test): Likewise.
1831 (remquo_test): Likewise.
1832 (sin_test): Likewise.
1833 (sin_test_tonearest): Likewise.
1834 (sin_test_towardzero): Likewise.
1835 (sin_test_downward): Likewise.
1836 (sin_test_upward): Likewise.
1837 (sincos_test): Likewise.
1838 (sinh_test): Likewise.
1839 (sinh_test_tonearest): Likewise.
1840 (sinh_test_towardzero): Likewise.
1841 (sinh_test_downward): Likewise.
1842 (sinh_test_upward): Likewise.
1843 (sqrt_test): Likewise.
1844 (tan_test): Likewise.
1845 (tan_test_tonearest): Likewise.
1846 (tan_test_towardzero): Likewise.
1847 (tan_test_downward): Likewise.
1848 (tan_test_upward): Likewise.
1849 (tanh_test): Likewise.
1850 (tgamma_test): Likewise.
1851 (y0_test): Likewise.
1852 (y1_test): Likewise.
1853 (yn_test): Likewise.
1854
323e5cb7
JM
1855 * math/gen-libm-test.pl (adjust_arg): Remove function.
1856 (special_function): Remove argument $in_func. Only handle
1857 generating output for tables of tests, not inside functions.
1858 (parse_args): Likewise.
1859 (generate_testfile): Remove variable $in_func. Update call to
1860 parse_args.
1861 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1862 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1863 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1864 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1865 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1866 (MAX_VALUE_INIT): Rename macro to max_value.
1867 (MIN_VALUE_INIT): Rename macro to min_value.
1868 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1869 (plus_zero): Remove variable.
1870 (minus_zero): Likewise.
1871 (plus_infty): Likewise.
1872 (minus_infty): Likewise.
1873 (qnan_value): Likewise.
1874 (max_value): Likewise.
1875 (min_value): Likewise.
1876 (min_subnorm_value): Likewise.
1877
e054f494
RA
18782013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1879
1880 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1881 uint64_t or uint32_t usage.
1882 * crypt/sha256-block.c: Likewise.
1883 * crypt/sha256-crypt.c: Likewise.
1884 * crypt/sha256.c: Likewise.
1885 * crypt/sha512-block.c: Likewise.
1886 * crypt/sha512-crypt.c: Likewise.
1887 * crypt/sha512.c: Likewise.
1888 * debug/backtrace-tst.c: Likewise.
1889 * debug/pcprofiledump.c: Likewise.
1890 * elf/cache.c: Likewise.
1891 * elf/dl-cache.c: Likewise.
1892 * elf/dl-misc.c: Likewise.
1893 * elf/dl-profile.c: Likewise.
1894 * elf/dl-support.c: Likewise.
1895 * elf/ldconfig.c: Likewise.
1896 * elf/sprof.c: Likewise.
1897 * iconv/dummy-repertoire.c: Likewise.
1898 * iconv/iconv_charmap.c: Likewise.
1899 * iconv/skeleton.c: Likewise.
1900 * iconvdata/8bit-generic.c: Likewise.
1901 * iconvdata/cp737.h: Likewise.
1902 * iconvdata/cp775.h: Likewise.
1903 * iconvdata/ibm1008.h: Likewise.
1904 * iconvdata/ibm1025.h: Likewise.
1905 * iconvdata/ibm1046.h: Likewise.
1906 * iconvdata/ibm1097.h: Likewise.
1907 * iconvdata/ibm1112.h: Likewise.
1908 * iconvdata/ibm1122.h: Likewise.
1909 * iconvdata/ibm1123.h: Likewise.
1910 * iconvdata/ibm1124.h: Likewise.
1911 * iconvdata/ibm1129.h: Likewise.
1912 * iconvdata/ibm1130.h: Likewise.
1913 * iconvdata/ibm1132.h: Likewise.
1914 * iconvdata/ibm1133.h: Likewise.
1915 * iconvdata/ibm1137.h: Likewise.
1916 * iconvdata/ibm1140.h: Likewise.
1917 * iconvdata/ibm1141.h: Likewise.
1918 * iconvdata/ibm1142.h: Likewise.
1919 * iconvdata/ibm1143.h: Likewise.
1920 * iconvdata/ibm1144.h: Likewise.
1921 * iconvdata/ibm1145.h: Likewise.
1922 * iconvdata/ibm1146.h: Likewise.
1923 * iconvdata/ibm1147.h: Likewise.
1924 * iconvdata/ibm1148.h: Likewise.
1925 * iconvdata/ibm1149.h: Likewise.
1926 * iconvdata/ibm1153.h: Likewise.
1927 * iconvdata/ibm1154.h: Likewise.
1928 * iconvdata/ibm1155.h: Likewise.
1929 * iconvdata/ibm1156.h: Likewise.
1930 * iconvdata/ibm1157.h: Likewise.
1931 * iconvdata/ibm1158.h: Likewise.
1932 * iconvdata/ibm1160.h: Likewise.
1933 * iconvdata/ibm1161.h: Likewise.
1934 * iconvdata/ibm1162.h: Likewise.
1935 * iconvdata/ibm1163.h: Likewise.
1936 * iconvdata/ibm1164.h: Likewise.
1937 * iconvdata/ibm1166.h: Likewise.
1938 * iconvdata/ibm1167.h: Likewise.
1939 * iconvdata/ibm12712.h: Likewise.
1940 * iconvdata/ibm1390.h: Likewise.
1941 * iconvdata/ibm1399.h: Likewise.
1942 * iconvdata/ibm16804.h: Likewise.
1943 * iconvdata/ibm4517.h: Likewise.
1944 * iconvdata/ibm4899.h: Likewise.
1945 * iconvdata/ibm4909.h: Likewise.
1946 * iconvdata/ibm4971.h: Likewise.
1947 * iconvdata/ibm5347.h: Likewise.
1948 * iconvdata/ibm803.h: Likewise.
1949 * iconvdata/ibm856.h: Likewise.
1950 * iconvdata/ibm901.h: Likewise.
1951 * iconvdata/ibm902.h: Likewise.
1952 * iconvdata/ibm9030.h: Likewise.
1953 * iconvdata/ibm9066.h: Likewise.
1954 * iconvdata/ibm921.h: Likewise.
1955 * iconvdata/ibm922.h: Likewise.
1956 * iconvdata/ibm9448.h: Likewise.
1957 * iconvdata/isiri-3342.h: Likewise.
1958 * iconvdata/jis0201.h: Likewise.
1959 * include/link.h: Likewise.
1960 * include/netdb.h: Likewise.
1961 * inet/check_native.c: Likewise.
1962 * inet/check_pf.c: Likewise.
1963 * inet/getipv4sourcefilter.c: Likewise.
1964 * inet/getnameinfo.c: Likewise.
1965 * inet/getsourcefilter.c: Likewise.
1966 * inet/htonl.c: Likewise.
1967 * inet/setipv4sourcefilter.c: Likewise.
1968 * inet/setsourcefilter.c: Likewise.
1969 * inet/test-inet6_opt.c: Likewise.
1970 * inet/tst-network.c: Likewise.
1971 * locale/C-collate.c: Likewise.
1972 * locale/C-ctype.c: Likewise.
1973 * locale/C-time.c: Likewise.
1974 * locale/C-translit.h: Likewise.
1975 * locale/loadarchive.c: Likewise.
1976 * locale/programs/3level.h: Likewise.
1977 * locale/programs/charmap.c: Likewise.
1978 * locale/programs/charmap.h: Likewise.
1979 * locale/programs/ld-address.c: Likewise.
1980 * locale/programs/ld-collate.c: Likewise.
1981 * locale/programs/ld-ctype.c: Likewise.
1982 * locale/programs/ld-identification.c: Likewise.
1983 * locale/programs/ld-measurement.c: Likewise.
1984 * locale/programs/ld-messages.c: Likewise.
1985 * locale/programs/ld-monetary.c: Likewise.
1986 * locale/programs/ld-name.c: Likewise.
1987 * locale/programs/ld-numeric.c: Likewise.
1988 * locale/programs/ld-paper.c: Likewise.
1989 * locale/programs/ld-telephone.c: Likewise.
1990 * locale/programs/ld-time.c: Likewise.
1991 * locale/programs/linereader.c: Likewise.
1992 * locale/programs/locale.c: Likewise.
1993 * locale/programs/locarchive.c: Likewise.
1994 * locale/programs/locfile.h: Likewise.
1995 * locale/programs/repertoire.c: Likewise.
1996 * locale/programs/simple-hash.c: Likewise.
1997 * locale/programs/simple-hash.h: Likewise.
1998 * malloc/memusage.c: Likewise.
1999 * malloc/memusagestat.c: Likewise.
2000 * nis/nis_defaults.c: Likewise.
2001 * nis/nis_hash.c: Likewise.
2002 * nis/nis_print.c: Likewise.
2003 * nis/nis_xdr.c: Likewise.
2004 * nscd/connections.c: Likewise.
2005 * nscd/hstcache.c: Likewise.
2006 * nscd/nscd_gethst_r.c: Likewise.
2007 * nscd/nscd_getserv_r.c: Likewise.
2008 * nscd/nscd_helper.c: Likewise.
2009 * nscd/servicescache.c: Likewise.
2010 * nss/makedb.c: Likewise.
2011 * nss/nss_db/db-XXX.c: Likewise.
2012 * nss/nss_db/db-initgroups.c: Likewise.
2013 * nss/nss_db/db-netgrp.c: Likewise.
2014 * nss/nss_files/files-network.c: Likewise.
2015 * nss/nss_files/files-parse.c: Likewise.
2016 * posix/bug-regex5.c: Likewise.
2017 * posix/fnmatch_loop.c: Likewise.
2018 * posix/regcomp.c: Likewise.
2019 * posix/regexec.c: Likewise.
2020 * posix/tst-rfc3484-2.c: Likewise.
2021 * posix/tst-rfc3484-3.c: Likewise.
2022 * posix/tst-rfc3484.c: Likewise.
2023 * resolv/nss_dns/dns-canon.c: Likewise.
2024 * resolv/nss_dns/dns-network.c: Likewise.
2025 * resolv/res_init.c: Likewise.
2026 * resolv/res_mkquery.c: Likewise.
2027 * resolv/tst-aton.c: Likewise.
2028 * stdlib/cxa_atexit.c: Likewise.
2029 * stdlib/cxa_finalize.c: Likewise.
2030 * stdlib/gen-fpioconst.c: Likewise.
2031 * stdlib/strtol_l.c: Likewise.
2032 * string/tst-endian.c: Likewise.
2033 * sunrpc/auth_des.c: Likewise.
2034 * sunrpc/clnt_udp.c: Likewise.
2035 * sunrpc/rtime.c: Likewise.
2036 * sunrpc/svcauth_des.c: Likewise.
2037 * sunrpc/xdr.c: Likewise.
2038 * sunrpc/xdr_intXX_t.c: Likewise.
2039 * sunrpc/xdr_rec.c: Likewise.
2040 * sysdeps/generic/ldconfig.h: Likewise.
2041 * sysdeps/generic/ldsodefs.h: Likewise.
2042 * sysdeps/generic/memusage.h: Likewise.
2043 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2044 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2045 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2046 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2047 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2048 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2049 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2050 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2051 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2052 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2053 * sysdeps/posix/getaddrinfo.c: Likewise.
2054 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2055 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2056 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2057 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2058 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2059 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2060 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2061 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2062 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2063 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2064 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2065 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2066 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2067 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2068 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2069 * sysdeps/x86_64/dl-tls.h: Likewise.
2070 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2071 * time/alt_digit.c: Likewise.
2072 * time/era.c: Likewise.
2073 * wcsmbs/tst-c16c32-1.c: Likewise.
2074
8c75f674
JM
20752013-05-16 Joseph Myers <joseph@codesourcery.com>
2076
2077 * math/libm-test.inc (struct test_sincos_data): New type.
2078 (RUN_TEST_LOOP_sincos): New macro.
2079 (sincos_test_data): New variable.
2080 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2081
e6e49e59
RH
20822013-05-16 Richard Henderson <rth@redhat.com>
2083
2084 * math/atest-exp2.c (LIMB64): New macro.
2085 (CONSTSZ): New macro.
2086 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2087 (hexdig): Move ...
2088 (print_mpn_fp): ... to function scope.
2089 (read_mpn_hex): Remove.
2090 (get_log2): Remove.
2091 (exp2_mpn): Use mp_log2.
2092 (main): Use mp_exp1.
2093
15c7c18d
JM
20942013-05-16 Joseph Myers <joseph@codesourcery.com>
2095
105a07df
JM
2096 * math/libm-test.inc: Remove comment about not testing "inexact"
2097 exceptions.
2098 (INEXACT_EXCEPTION): New macro.
2099 (NO_INEXACT_EXCEPTION): Likewise.
2100 (INVALID_EXCEPTION_OK): Update value.
2101 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2102 (OVERFLOW_EXCEPTION_OK): Likewise.
2103 (UNDERFLOW_EXCEPTION_OK): Likewise.
2104 (IGNORE_ZERO_INF_SIGN): Likewise.
2105 (ERRNO_UNCHANGED): Likewise.
2106 (ERRNO_EDOM): Likewise.
2107 (ERRNO_ERANGE): Likewise.
2108 (test_exceptions): Handle testing "inexact" exceptions.
2109 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2110 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2111 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2112 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2113 INEXACT_EXCEPTION.
2114 (rint_towardzero_test_data): Likewise.
2115 (rint_downward_test_data): Likewise.
2116 (rint_upward_test_data): Likewise.
2117
e9eee333
JM
2118 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2119 with OVERFLOW_EXCEPTION.
2120 (exp10_test_data): Likewise.
2121 (exp2_test_data): Likewise.
2122 (expm1_test_data): Likewise.
2123 (lgamma_test_data): Likewise.
2124 (pow_test_data): Likewise.
2125 (tgamma_test_data): Likewise.
2126 (yn_test_data): Remove duplicate test of overflow.
2127
1c38ff73
JM
2128 * math/libm-test.inc (struct test_cc_c_data): New type.
2129 (RUN_TEST_LOOP_cc_c): New macro.
2130 (cpow_test_data): New variable.
2131 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2132
15c7c18d
JM
2133 * math/libm-test.inc (struct test_f_L_data): New type.
2134 (RUN_TEST_LOOP_f_L): New macro.
2135 (llrint_test_data): New variable.
2136 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2137 (llrint_tonearest_test_data): New variable.
2138 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2139 (llrint_towardzero_test_data): New variable.
2140 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2141 (llrint_downward_test_data): New variable.
2142 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2143 (llrint_upward_test_data): New variable.
2144 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2145 (llround_test_data): New variable.
2146 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2147
f137ff13
PC
21482013-05-13 Peter Collingbourne <pcc@google.com>
2149
2150 * math/atest-exp2.c (get_log2): Remove const attribute.
2151
3608cb24
JM
21522013-05-15 Joseph Myers <joseph@codesourcery.com>
2153
2154 * math/libm-test.inc (struct test_f_l_data): New type.
2155 (RUN_TEST_LOOP_f_l): New macro.
2156 (lrint_test_data): New variable.
2157 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2158 (lrint_tonearest_test_data): New variable.
2159 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2160 (lrint_towardzero_test_data): New variable.
2161 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2162 (lrint_downward_test_data): New variable.
2163 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2164 (lrint_upward_test_data): New variable.
2165 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2166 (lround_test_data): New variable.
2167 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2168
39b1f617
PC
21692013-05-15 Peter Collingbourne <pcc@google.com>
2170
1deff3dc
PC
2171 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2172 (EXTRACT_WORDS64) Use where appropriate.
2173 (INSERT_WORDS64) Likewise.
2174
791f3ba0
PC
2175 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2176 constraints with x constraints.
2177 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2178
39b1f617
PC
2179 * malloc/obstack.c (_obstack_compat): Add initializer.
2180
12fba011
EM
21812013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2182
2183 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2184 si_trapno and add si_addr_lsb to _sifields.sigfault.
2185 (si_trapno): Remove macro.
2186 (si_addr_lsb): Define new macro.
2187 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2188
d369f531
JM
21892013-05-15 Joseph Myers <joseph@codesourcery.com>
2190
b861c6c4
JM
2191 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2192 instead of TEST_f_l.
2193 (llrint_test_tonearest): Likewise.
2194 (llrint_test_towardzero): Likewise.
2195 (llrint_test_downward): Likewise.
2196 (llrint_test_upward): Likewise.
2197 (llround_test): Likewise.
2198
7abeee12
JM
2199 * math/libm-test.inc (struct test_f_i_data): Add comment.
2200 (RUN_TEST_LOOP_f_b): New macro.
2201 (RUN_TEST_LOOP_f_b_tg): Likewise.
2202 (finite_test_data): New variable.
2203 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2204 (isfinite_test_data): New variable.
2205 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2206 (isinf_test_data): New variable.
2207 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2208 (isnan_test_data): New variable.
2209 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2210 (isnormal_test_data): New variable.
2211 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2212 (issignaling_test_data): New variable.
2213 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2214 (signbit_test_data): New variable.
2215 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2216
cbe8c4d3
JM
2217 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2218 with INVALID_EXCEPTION.
2219 (acosh_test_data): Likewise.
2220 (asin_test_data): Likewise.
2221 (atanh_test_data): Likewise.
2222 (fmod_test_data): Likewise.
2223 (log_test_data): Likewise.
2224 (log10_test_data): Likewise.
2225 (log2_test_data): Likewise.
2226 (pow_test_data): Likewise.
2227 (sqrt_test_data): Likewise.
2228 (y0_test_data): Likewise.
2229 (y1_test_data): Likewise.
2230 (yn_test_data): Likewise.
2231
5575c0e5
JM
2232 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2233 function contents.
2234
d369f531
JM
2235 * math/libm-test.inc (struct test_ff_i_data): New type.
2236 (RUN_TEST_LOOP_ff_i_tg): New macro.
2237 (isgreater_test_data): New variable.
2238 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2239 (isgreaterequal_test_data): New variable.
2240 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2241 (isless_test_data): New variable.
2242 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2243 (islessequal_test_data): New variable.
2244 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2245 (islessgreater_test_data): New variable.
2246 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2247 (isunordered_test_data): New variable.
2248 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2249
781fd748
DM
22502013-05-14 David S. Miller <davem@davemloft.net>
2251
2252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2253
87aa21df
JM
22542013-05-14 Joseph Myers <joseph@codesourcery.com>
2255
5e908270
JM
2256 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2257
f71172e5
JM
2258 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2259 extra_test to int.
2260 (struct test_f_i_data): Change type of max_ulp to int.
2261
8cfa635a
JM
2262 * math/libm-test.inc (test_ffI_f1_data): New type.
2263 (RUN_TEST_LOOP_ffI_f1): New macro.
2264 (remquo_test_data): New variable.
2265 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2266
2bcb36b2
JM
2267 * setjmp/tst-setjmp-fp.c: New file.
2268 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2269 (link-libm): New variable.
2270 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2271
acbd839a
JM
2272 * math/libm-test.inc (struct test_f_i_data): New type.
2273 (RUN_TEST_LOOP_f_i): New macro.
2274 (RUN_TEST_LOOP_f_i_tg): Likewise.
2275 (fpclassify_test_data): New variable.
2276 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2277 (ilogb_test_data): New variable.
2278 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2279
e414d745
JM
2280 * math/libm-test.inc (scalbln_test): Correct function name in END
2281 call.
2282
d9c2a0fd
JM
2283 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2284 (RUN_TEST_LOOP_fI_f1): New macro.
2285 (frexp_test_data): New variable.
2286 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2287
9dc9095d
JM
2288 * math/libm-test.inc (struct test_fF_f1_data): New type.
2289 (RUN_TEST_LOOP_fF_f1): New macro.
2290 (modf_test_data): New variable.
2291 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2292
87aa21df
JM
2293 * math/libm-test.inc (struct test_f_f1_data): New type.
2294 (RUN_TEST_LOOP_f_f1): New macro.
2295 (gamma_test_data): New variable.
2296 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2297 (lgamma_test_data): New variable.
2298 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2299
141af660
CD
23002013-05-13 Carlos O'Donell <carlos@redhat.com>
2301
2302 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2303 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2304 (main): Comment "tls" pseudo-hwcap.
2305
6d33265c
JM
23062013-05-13 Joseph Myers <joseph@codesourcery.com>
2307
68fc074c
JM
2308 * math/libm-test.inc (struct test_fl_f_data): New type.
2309 (RUN_TEST_LOOP_fl_f): New variable.
2310 (scalbln_test_data): New variable.
2311 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2312
243216e1
JM
2313 * math/libm-test.inc (struct test_fi_f_data): New type.
2314 (RUN_TEST_LOOP_fi_f): New macro.
2315 (ldexp_test_data): New variable.
2316 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2317 (scalbn_test_data): New variable.
2318 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2319
6a1992e2
JM
2320 * math/libm-test.inc (struct test_c_f_data): New type.
2321 (RUN_TEST_LOOP_c_f): New macro.
2322 (cabs_test_data): New variable.
2323 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2324 (carg_test_data): New variable.
2325 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2326 (cimag_test_data): New variable.
2327 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2328 (creal_test_data): New variable.
2329 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2330
0e400df5
JM
2331 * math/libm-test.inc (struct test_if_f_data): New type.
2332 (RUN_TEST_LOOP_if_f): New macro.
2333 (jn_test_data): New variable.
2334 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2335 (yn_test_data): New variable.
2336 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2337
6d33265c
JM
2338 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2339
f98ece5f
AZ
23402013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2341
2342 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2343 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2344
0f7d347b
SP
23452013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2346
43fe811b
SP
2347 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2348 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2349 (bench-deps): Add bench-timing.h.
2350 * benchtests-bench-skeleton.c: Include bench-timing.h.
2351 (main): Use TIMING_* macros instead of clock_gettime.
2352 * benchtests/bench-timing.h: New file.
2353
0f7d347b
SP
2354 [BZ #14582]
2355 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2356 Renamed from _LIB_VERSION.
2357 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2358
601a3a5f
JM
23592013-05-12 Joseph Myers <joseph@codesourcery.com>
2360
4f184d30
JM
2361 * math/libm-test.inc (struct test_fff_f_data): New type.
2362 (RUN_TEST_LOOP_fff_f): New macro.
2363 (fma_test_data): New variable.
2364 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2365 (fma_towardzero_test_data): New variable.
2366 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2367 (fma_downward_test_data): New variable.
2368 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2369 (fma_upward_test_data): New variable.
2370 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2371
08198877
JM
2372 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2373 (struct test_c_c_data): New type.
2374 (RUN_TEST_LOOP_c_c): New macro.
2375 (cacos_test_data): New variable.
2376 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2377 (cacosh_test_data): New variable.
2378 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2379 (casin_test_data): New variable.
2380 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2381 (casinh_test_data): New variable.
2382 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2383 (catan_test_data): New variable.
2384 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2385 (catanh_test_data): New variable.
2386 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2387 (ccos_test_data): New variable.
2388 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2389 (ccosh_test_data): New variable.
2390 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2391 (cexp_test_data): New variable.
2392 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2393 (clog_test_data): New variable.
2394 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2395 (clog10_test_data): New variable.
2396 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2397 (conj_test_data): New variable.
2398 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2399 (cproj_test_data): New variable.
2400 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2401 (csin_test_data): New variable.
2402 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2403 (csinh_test_data): New variable.
2404 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2405 (csqrt_test_data): New variable.
2406 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2407 (ctan_test_data): New variable.
2408 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2409 (ctan_tonearest_test_data): New variable.
2410 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2411 (ctan_towardzero_test_data): New variable.
2412 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2413 (ctan_downward_test_data): New variable.
2414 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2415 (ctan_upward_test_data): New variable.
2416 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2417 (ctanh_test_data): New variable.
2418 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2419 (ctanh_tonearest_test_data): New variable.
2420 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2421 (ctanh_towardzero_test_data): New variable.
2422 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2423 (ctanh_downward_test_data): New variable.
2424 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2425 (ctanh_upward_test_data): New variable.
2426 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2427 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2428 of BUILD_COMPLEX.
2429
601a3a5f
JM
2430 * math/libm-test.inc (struct test_ff_f_data): New type.
2431 (struct test_ff_f_data_nexttoward): Likewise.
2432 (RUN_TEST_LOOP_2_f): New macro.
2433 (RUN_TEST_LOOP_ff_f): Likewise.
2434 (atan2_test_data): New variable.
2435 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2436 (copysign_test_data): New variable.
2437 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2438 (fdim_test_data): New variable.
2439 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2440 (fmax_test_data): New variable.
2441 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2442 (fmin_test_data): New variable.
2443 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2444 (fmod_test_data): New variable.
2445 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2446 (hypot_test_data): New variable.
2447 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2448 (nextafter_test_data): New variable.
2449 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2450 (nexttoward_test_data): New variable.
2451 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2452 (pow_test_data): New variable.
2453 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2454 (pow_tonearest_test_data): New variable.
2455 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2456 (pow_towardzero_test_data): New variable.
2457 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2458 (pow_downward_test_data): New variable.
2459 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2460 (pow_upward_test_data): New variable.
2461 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2462 (remainder_test_data): New variable.
2463 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2464 (scalb_test_data): New variable.
2465 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2466 * sysdeps/i386/fpu/libm-test-ulps: Update.
2467
74c57478
JM
24682013-05-11 Joseph Myers <joseph@codesourcery.com>
2469
8329e4da
JM
2470 * math/libm-test.inc (fma_test): Use max_value instead of local
2471 variable fltmax.
2472 (nextafter_test): Likewise.
2473
74c57478
JM
2474 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2475 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2476 (acos_downward_test_data): New variable.
2477 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2478 (acos_upward_test_data): New variable.
2479 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2480 (acosh_test_data): New variable.
2481 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2482 (asin_test_data): New variable.
2483 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2484 (asin_tonearest_test_data): New variable.
2485 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2486 (asin_towardzero_test_data): New variable.
2487 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2488 (asin_downward_test_data): New variable.
2489 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2490 (asin_upward_test_data): New variable.
2491 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2492 (asinh_test_data): New variable.
2493 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2494 (atan_test_data): New variable.
2495 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2496 (atanh_test_data): New variable.
2497 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2498 (cbrt_test_data): New variable.
2499 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2500 (ceil_test_data): New variable.
2501 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2502 (cos_test_data): New variable.
2503 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2504 (cos_tonearest_test_data): New variable.
2505 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2506 (cos_towardzero_test_data): New variable.
2507 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2508 (cos_downward_test_data): New variable.
2509 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2510 (cos_upward_test_data): New variable.
2511 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2512 (cosh_test_data): New variable.
2513 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2514 (cosh_tonearest_test_data): New variable.
2515 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2516 (cosh_towardzero_test_data): New variable.
2517 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2518 (cosh_downward_test_data): New variable.
2519 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2520 (cosh_upward_test_data): New variable.
2521 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2522 (erf_test_data): New variable.
2523 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2524 (erfc_test_data): New variable.
2525 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2526 (exp_test_data): New variable.
2527 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2528 (exp_tonearest_test_data): New variable.
2529 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2530 (exp_towardzero_test_data): New variable.
2531 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2532 (exp_downward_test_data): New variable.
2533 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2534 (exp_upward_test_data): New variable.
2535 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2536 (exp10_test_data): New variable.
2537 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2538 (exp2_test_data): New variable.
2539 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2540 (expm1_test_data): New variable.
2541 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2542 (fabs_test_data): New variable.
2543 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2544 (floor_test_data): New variable.
2545 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2546 (j0_test_data): New variable.
2547 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2548 (j1_test_data): New variable.
2549 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2550 (log_test_data): New variable.
2551 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2552 (log10_test_data): New variable.
2553 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2554 (log1p_test_data): New variable.
2555 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2556 (log2_test_data): New variable.
2557 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2558 (logb_test_data): New variable.
2559 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2560 (logb_downward_test_data): New variable.
2561 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2562 (nearbyint_test_data): New variable.
2563 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2564 (rint_test_data): New variable.
2565 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2566 (rint_tonearest_test_data): New variable.
2567 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2568 (rint_towardzero_test_data): New variable.
2569 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2570 (rint_downward_test_data): New variable.
2571 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2572 (rint_upward_test_data): New variable.
2573 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2574 (round_test_data): New variable.
2575 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2576 (sin_test_data): New variable.
2577 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2578 (sin_tonearest_test_data): New variable.
2579 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2580 (sin_towardzero_test_data): New variable.
2581 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2582 (sin_downward_test_data): New variable.
2583 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2584 (sin_upward_test_data): New variable.
2585 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2586 (sinh_test_data): New variable.
2587 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2588 (sinh_tonearest_test_data): New variable.
2589 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2590 (sinh_towardzero_test_data): New variable.
2591 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2592 (sinh_downward_test_data): New variable.
2593 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2594 (sinh_upward_test_data): New variable.
2595 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2596 (sqrt_test_data): New variable.
2597 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2598 (tan_test_data): New variable.
2599 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2600 (tan_tonearest_test_data): New variable.
2601 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2602 (tan_towardzero_test_data): New variable.
2603 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2604 (tan_downward_test_data): New variable.
2605 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2606 (tan_upward_test_data): New variable.
2607 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2608 (tanh_test_data): New variable.
2609 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2610 (tgamma_test_data): New variable.
2611 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2612 (trunc_test_data): New variable.
2613 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2614 (y0_test_data): New variable.
2615 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2616 (y1_test_data): New variable.
2617 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2618 (significand_test_data): New variable.
2619 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2620
7187d844
CG
26212013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2622
2623 [BZ #12387]
2624 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2625
f63fae73
PT
26262013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2627
2628 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2629
8a67a4b3
AJ
26302013-05-10 Andreas Jaeger <aj@suse.de>
2631
2632 [BZ #15448]
2633 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2634 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2635
51df539d
JM
26362013-05-10 Joseph Myers <joseph@codesourcery.com>
2637
2638 * math/gen-libm-test.pl (adjust_arg): New function.
2639 (special_functions): Handle generating output in both functions
2640 and arrays.
2641 (parse_args): Likewise.
2642 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2643 $in_func argument to parse_args.
2644 * math/libm-test.inc (struct test_f_f_data): New type.
2645 (IF_ROUND_INIT_): New macro.
2646 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2647 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2648 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2649 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2650 (ROUND_RESTORE_): Likewise.
2651 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2652 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2653 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2654 (ROUND_RESTORE_FE_UPWARD): Likewise.
2655 (RUN_TEST_LOOP_f_f): New macro.
2656 (acos_test_data): New variable.
2657 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2658 (acos_tonearest_test_data): New variable.
2659 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2660
5c637fe5
SP
26612013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2662
2663 * benchtests/bench-skeleton.c (startup): Fix coding style.
2664
ab2b9461
JM
26652013-05-10 Joseph Myers <joseph@codesourcery.com>
2666
2667 [BZ #6809]
2668 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2669 negative infinity argument.
2670 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2671 negative infinity argument.
2672 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2673 negative infinity argument.
2674 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2675 domain errors.
2676
4c0fe6fe
FW
26772013-05-10 Florian Weimer <fweimer@redhat.com>
2678
2679 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2680 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2681 * iconv/iconv_prog.c (main): Likewise.
2682 * locale/programs/charmap-dir.c (charmap_readdir)
2683 (fopen_uncompressed): Likewise.
2684 * locale/programs/locfile.c (siblings_uncached)
2685 (write_locale_data): Use lstat64 instead of lstat.
2686 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2687 stat.
2688
a3375d29
AJ
26892013-05-10 Andreas Jaeger <aj@suse.de>
2690
2691 [BZ #15395]
2692 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2693 localization.
2694 Include <locale.h>.
2695
36129722
CD
26962013-05-09 Carlos O'Donell <carlos@redhat.com>
2697
2698 * elf/dl-close.c (_dl_close_worker): Add comments.
2699
faa7f811
JM
27002013-05-09 Joseph Myers <joseph@codesourcery.com>
2701
ed41ffef
JM
2702 [BZ #15359]
2703 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2704 high part of pi/2.
2705 (__ieee754_rem_pio2l): Update comments.
2706
d0213cd0
JM
2707 [BZ #15429]
2708 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2709 high part of pi/2.
2710 (__ieee754_rem_pio2l): Update comments.
2711
0d3e777a
JM
2712 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2713 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2714
24f56066
JM
2715 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2716 M_PI_4l.
2717
faa7f811
JM
2718 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2719 (M_PI_34_LOG10El): Likewise.
2720 (M_PI2_LOG10El): Likewise.
2721 (M_PI4_LOG10El): Likewise.
2722 (M_PI_LOG10El): Likewise.
2723
e9a5e0fd
AZ
27242013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2725
2726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2727
d8cd06db
JM
27282013-05-08 Joseph Myers <joseph@codesourcery.com>
2729
a0d9f9d7
JM
2730 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2731 (MINUS_ZERO_INIT): Likewise.
2732 (PLUS_INFTY_INIT): Likewise.
2733 (MINUS_INFTY_INIT): Likewise.
2734 (QNAN_VALUE_INIT): Likewise.
2735 (MAX_VALUE_INIT): Likewise.
2736 (MIN_VALUE_INIT): Likewise.
2737 (MIN_SUBNORM_VALUE_INIT): Likewise.
2738 (plus_zero): Initialize with PLUS_ZERO_INIT.
2739 (minus_zero): Initialize with MINUS_ZERO_INIT.
2740 (plus_infty): Initialize with PLUS_INFTY_INIT.
2741 (minus_infty): Initialize with MINUS_INFTY_INIT.
2742 (qnan_value): Initialize with QNAN_VALUE_INIT.
2743 (max_value): Initialize with MAX_VALUE_INIT.
2744 (min_value): Initialize with MIN_VALUE_INIT.
2745 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2746
ae08db3b
JM
2747 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2748 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2749 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2750 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2751
f44bf14a
JM
2752 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2753 (RUN_TEST_2_f): Likewise.
2754 (RUN_TEST_ff_f): Likewise.
2755 (RUN_TEST_fi_f): Likewise.
2756 (RUN_TEST_fl_f): Likewise.
2757 (RUN_TEST_fff_f): Likewise.
2758 (RUN_TEST_c_f): Likewise.
2759 (RUN_TEST_f_f1): Likewise.
2760 (RUN_TEST_fF_f1): Likewise.
2761 (RUN_TEST_fI_f1): Likewise.
2762 (RUN_TEST_ffI_f1): Likewise.
2763 (RUN_TEST_c_c): Likewise.
2764 (RUN_TEST_cc_c): Likewise.
2765 (RUN_TEST_f_i): Likewise.
2766 (RUN_TEST_f_i_tg): Likewise.
2767 (RUN_TEST_ff_i_tg): Likewise.
2768 (RUN_TEST_f_b): Likewise.
2769 (RUN_TEST_f_b_tg): Likewise.
2770 (RUN_TEST_f_l): Likewise.
2771 (RUN_TEST_f_L): Likewise.
2772 (RUN_TEST_sincos): Likewise.
2773 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2774 whether to show exceptions. Do not include ");\n" in return
2775 value.
2776 (special_functions): Output call to RUN_TEST_sincos instead of
2777 check_float calls. Update calls to new_test.
2778 (parse_args): Output call to single RUN_TEST_* macro instead of
2779 check_* calls and other assignments. Update calls to new_test.
2780
d8cd06db
JM
2781 [BZ #2546]
2782 [BZ #2560]
2783 [BZ #5159]
2784 [BZ #15426]
2785 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2786 input to result for tgamma overflow.
2787 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2788 (gamma_coeff): New variable.
2789 (NCOEFF): New macro.
2790 (gamma_positive): New function.
2791 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2792 underflow here. Use gamma_positive instead of exp (lgamma) for
2793 other arguments.
2794 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2795 (gamma_coeff): New variable.
2796 (NCOEFF): New macro.
2797 (gammaf_positive): New function.
2798 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2799 underflow here. Use gamma_positive instead of exp (lgamma) for
2800 other arguments.
2801 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2802 (gamma_coeff): New variable.
2803 (NCOEFF): New macro.
2804 (gammal_positive): New function.
2805 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2806 underflow here. Use gamma_positive instead of exp (lgamma) for
2807 other arguments.
2808 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2809 (gamma_coeff): New variable.
2810 (NCOEFF): New macro.
2811 (gammal_positive): New function.
2812 (__ieee754_gammal_r): Handle positive infinity, overflow and
2813 underflow here. Handle NaN the same as positive infinity. Remove
2814 check x < 0xffffffff for negative integers. Use gamma_positive
2815 instead of exp (lgamma) for other arguments.
2816 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2817 (gamma_coeff): New variable.
2818 (NCOEFF): New macro.
2819 (gammal_positive): New function.
2820 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2821 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2822 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2823 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2824 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2825 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2826 * sysdeps/generic/math_private.h (__gamma_productf): New
2827 prototype.
2828 (__gamma_product): Likewise.
2829 (__gamma_productl): Likewise.
2830 * math/Makefile (libm-calls): Add gamma_product.
2831 * math/libm-test.inc (tgamma_test): Add more tests.
2832 * sysdeps/i386/fpu/libm-test-ulps: Update.
2833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2834
bb7cf681
OB
28352013-05-08 Ondřej Bílka <neleai@seznam.cz>
2836
2837 * benchtests/bench-skeleton.c (main): Preheat CPU.
2838
ba853947
AJ
28392013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2840
2841 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2842
8347c74c
RM
28432013-05-07 Roland McGrath <roland@hack.frob.com>
2844
2845 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2846 and _dl_skip_args_internal.
2847
e8dd4791
CD
28482013-05-07 Carlos O'Donell <carlos@redhat.com>
2849
2850 * manual/message.texi (Message Translation): Talk about users.
2851 Message to key mapping impacts design.
2852
c7405830
RM
28532013-05-06 Roland McGrath <roland@hack.frob.com>
2854
a9173057
RM
2855 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2856
976e2f03
RM
2857 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2858
9723ffc5
RM
2859 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2860 * sysdeps/wordsize-64/glob64.c: ... here.
2861
962e6658
RM
2862 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2863 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2864 New macros.
2865
ee586a6d
RM
2866 * debug/getlogin_r_chk.c: Moved to ...
2867 * login/getlogin_r_chk.c: ... here.
2868 * debug/Makefile (routines): Move getlogin_r_chk to ...
2869 * login/Makefile (routines): ... here.
2870 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2871 * login/Versions (libc: GLIBC_2.4): ... here.
2872
355f9165
RM
2873 * io/poll.c (__poll): Renamed from poll.
2874 Add libc_hidden_def.
2875 (poll): Define as weak alias.
2876
bd9ffde6
RM
2877 * debug/ptsname_r_chk.c: Moved to ...
2878 * login/ptsname_r_chk.c: ... here.
2879 * debug/Makefile (routines): Move ptsname_r_chk to ...
2880 * login/Makefile (routines): ... here.
2881 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2882 * login/Versions (libc: GLIBC_2.4): ... here.
2883
8fb16a04
RM
2884 * posix/getlogin.c: Moved to ...
2885 * login/getlogin.c: ... here.
2886 * posix/getlogin_r.c: Moved to ...
2887 * login/getlogin_r.c: ... here.
2888 * posix/getlogin_r.c: Moved to ...
2889 * login/getlogin_r.c: ... here.
2890 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2891 * login/Makefile (routines): ... here.
2892 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2893 * login/Versions (libc: GLIBC_2.0): ... here.
2894
b99b892f
RM
2895 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2896 (setrlimit): Define as weak alias.
2897
c7405830
RM
2898 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2899 Call __ names for open, ftruncate, and close.
2900 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2901 (truncate): Define as weak alias.
2902
5bf96de5
JM
29032013-05-06 Joseph Myers <joseph@codesourcery.com>
2904
9ea3513c
JM
2905 * math/gen-libm-test.pl (parse_args): Initialize x before each
2906 test of frexp, modf and remquo.
2907
5bf96de5
JM
2908 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2909 test signgam value.
2910
16e616a7
AZ
29112013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2912
2913 [BZ #15418]
2914 [BZ #15419]
2915 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2916 internal tests.
2917 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2918
d5e82754
RM
29192013-05-06 Roland McGrath <roland@hack.frob.com>
2920
2921 * elf/dl-writev.h: New file.
2922 * elf/dl-misc.c: Include it.
2923 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2924 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2925
a7548d41
JM
29262013-05-04 Joseph Myers <joseph@codesourcery.com>
2927
b7dab1e4
JM
2928 * math/libm-test.inc (noXFails): Remove variable.
2929 (noXPasses): Likewise.
2930 (BUILD_COMPLEX_INT): Remove macro.
2931 (print_screen): Remove xfail argument.
2932 (print_screen_max_error): Likewise.
2933 (update_stats): Likewise.
2934 (print_max_error): Likewise. Update calls to other affected
2935 functions.
2936 (print_complex_max_error): Likewise.
2937 (test_single_exception): Update calls to print_screen.
2938 (test_single_errno): Likewise.
2939 (check_float_internal): Remove xfail argument. Update calls to
2940 other affected functions.
2941 (check_float): Likewise.
2942 (check_complex): Likewise.
2943 (check_int): Likewise.
2944 (check_long): Likewise.
2945 (check_bool): Likewise.
2946 (check_longlong): Likewise.
2947 (main): Don't print noXFails and noXPasses.
2948 * math/gen-libm-test.pl (top level): Don't mention expected
2949 failure handling in comment.
2950 (new_test): Don't handle expected failures.
2951 (parse_args): Don't mention expected failure handling in comment.
2952 (generate_testfile): Don't handle expected failures.
2953 (parse_ulps): Likewise.
2954 (print_ulps_file): Likewise.
2955 (get_failure): Remove function.
2956 (output_test): Don't handle expected failures.
2957 * make/README.libm-test: Don't mention expected failure handling.
2958
a7548d41
JM
2959 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2960 (minus_zero): Likewise.
2961 (plus_infty): Likewise.
2962 (minus_infty): Likewise.
2963 (qnan_value): Likewise.
2964 (max_value): Likewise.
2965 (min_value): Likewise.
2966 (min_subnorm_value): Likewise.
2967 (initialize): Do not initialize those variables dynamically.
2968
60bfd54c
RM
29692013-05-03 Roland McGrath <roland@hack.frob.com>
2970
cc0e6ed8
RM
2971 * io/open.c (__open_2): Moved to ...
2972 * io/open_2.c: ... this new file.
2973 * io/open64.c (__open64_2): Moved to ...
2974 * io/open64_2.c: ... this new file.
2975 * io/openat.c (__openat_2): Moved to ...
2976 * io/openat_2.c: ... this new file.
2977 * io/openat64.c (__openat64_2): Moved to ...
2978 * io/openat64_2.c: ... this new file.
2979 * io/Makefile (routines): Add them.
2980 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2981 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2982 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2983 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2984 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2985 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2986 (__openat64): Add hidden_ver.
2987 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2988 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2989
60bfd54c
RM
2990 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2991 Separately conditionalize setting of GLRO(dl_sysinfo) so
2992 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2993 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2994
83e7640f
AZ
29952013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2996
2997 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2998 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2999 definition.
3000 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3001 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3002 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3003 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3004 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3005
d5dc2af3
JM
30062013-05-03 Joseph Myers <joseph@codesourcery.com>
3007
c31a5b1e
JM
3008 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3009 test signgam value.
3010
d5dc2af3
JM
3011 * math/libm-test.inc (hypot_test): Do not use
3012 IGNORE_ZERO_INF_SIGN.
3013
164fd39d
AJ
30142013-05-03 Andreas Jaeger <aj@suse.de>
3015
3016 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3017 Linux 3.9.
3018 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3019 (PF_MAX): Adjust for VSOCK change.
3020
8237f48c
AZ
30212013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3022
3023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3024
9df02941
CD
30252013-05-02 Carlos O'Donell <carlos@redhat.com>
3026
3027 [BZ #15264]
3028 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3029 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3030 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3031
d422395e
DM
30322013-05-02 David S. Miller <davem@davemloft.net>
3033
3034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3035
a07c5731
OB
30362013-05-01 Ondřej Bílka <neleai@seznam.cz>
3037
3038 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3039
1324e37f
RM
30402013-05-01 Roland McGrath <roland@hack.frob.com>
3041
3042 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3043
0695940b
RS
30442013-05-01 Richard Smith <richard@metafoo.co.uk>
3045
bb5f27ad 3046 [BZ #14952]
0695940b
RS
3047 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3048 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3049 Use __attribute__ ((__gnu_inline__)).
3050 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3051 Don't use __attribute__ ((__gnu_inline__)).
3052
10de07f5
JM
30532013-05-01 Joseph Myers <joseph@codesourcery.com>
3054
3055 [BZ #15423]
3056 * math/s_catan.c (__catan): Handle small real or imaginary part of
3057 input specially to avoid spurious underflow.
3058 * math/s_catanf.c (__catanf): Likewise.
3059 * math/s_catanh.c (__catanh): Likewise.
3060 * math/s_catanhf.c (__catanhf): Likewise.
3061 * math/s_catanhl.c (__catanhl): Likewise.
3062 * math/s_catanl.c (__catanl): Likewise.
3063 * math/libm-test.inc (catan_test): Add more tests.
3064 (catanh_test): Likewise.
3065 * sysdeps/i386/fpu/libm-test-ulps: Update.
3066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3067
cb4d5414
AZ
30682013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3069
3070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3071
caf84319
JM
30722013-04-30 Joseph Myers <joseph@codesourcery.com>
3073
3074 [BZ #15416]
3075 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3076 accurately for denominator in atan2.
3077 * math/s_catanf.c (__catanf): Likewise.
3078 * math/s_catanh.c (__catanh): Likewise.
3079 * math/s_catanhf.c (__catanhf): Likewise.
3080 * math/s_catanhl.c (__catanhl): Likewise.
3081 * math/s_catanl.c (__catanl): Likewise.
3082 * math/libm-test.inc (catan_test): Add more tests.
3083 (catanh_test): Likewise.
3084 * sysdeps/i386/fpu/libm-test-ulps: Update.
3085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3086
d569c6ee
SP
30872013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3088
6dbe713d
SP
3089 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3090
f0ee064b
SP
3091 * benchtests/Makefile (bench): Remove slow benchmarks.
3092 * benchtests/atan-inputs: Add slow benchmark inputs.
3093 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3094 (BENCH_FUNC): Accept variant offset.
3095 (VARIANT): Define.
3096 * benchtests/bench-skeleton.c (main): Run benchmark for each
3097 variant.
3098 * benchtests/cos-inputs: Add slow benchmark inputs.
3099 * benchtests/exp-inputs: Likewise.
3100 * benchtests/pow-inputs: Likewise.
3101 * benchtests/sin-inputs: Likewise.
3102 * benchtests/slowatan-inputs: Remove.
3103 * benchtests/slowatan.c: Remove.
3104 * benchtests/slowcos-inputs: Remove.
3105 * benchtests/slowcos.c: Remove.
3106 * benchtests/slowexp-inputs: Remove.
3107 * benchtests/slowexp.c: Remove.
3108 * benchtests/slowpow-inputs: Remove.
3109 * benchtests/slowpow.c: Remove.
3110 * benchtests/slowsin-inputs: Remove.
3111 * benchtests/slowsin.c: Remove.
3112 * benchtests/slowtan-inputs: Remove.
3113 * benchtests/slowtan.c: Remove.
3114 * benchtests/tan-inputs: Add slow benchmark inputs.
3115 * scripts/bench.pl: Parse comments and directives.
3116
d569c6ee
SP
3117 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3118 in CPPFLAGS.
3119 ($(objpfx)bench-%.c): Remove *-ITER.
3120 * benchtests/bench-modf.c: Remove definition of ITER.
3121 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3122 (main): Loop for DURATION seconds instead of fixed number of
3123 iterations.
3124 * scripts/bench.pl: Don't expect iterations in parameters.
3125
a6a242fe
RM
31262013-04-29 Roland McGrath <roland@hack.frob.com>
3127
3128 * io/fchdir.c (__fchdir): Renamed from fchdir.
3129 (fchdir): Define as weak alias.
3130
f2da7793
JM
31312013-04-29 Joseph Myers <joseph@codesourcery.com>
3132
3133 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3134 (ERRNO_EDOM): Likewise.
3135 (ERRNO_ERANGE): Likewise.
3136 (noErrnoTests): New variable.
3137 (init_max_error): Set errno to 0.
3138 (test_single_errno): New function.
3139 (test_errno): Likewise.
3140 (check_float_internal): Call test_errno. Set errno to 0.
3141 (check_complex): Refer to errno tests in comment.
3142 (check_int): Call test_errno. Set errno to 0.
3143 (check_long): Likewise.
3144 (check_bool): Likewise.
3145 (check_longlong): Likewise.
3146 (cos_test): Use ERRNO_* flags for errno tests instead of
3147 check_int.
3148 (expm1_test): Likewise.
3149 (fmod_test): Likewise.
3150 (ilogb_test): Likewise.
3151 (lgamma_test): Likewise.
3152 (pow_test): Likewise.
3153 (remainder_test): Likewise.
3154 (sin_test): Likewise.
3155 (tan_test): Likewise.
3156 (yn_test): Likewise.
3157 (initialize): Set errno to 0.
3158 (main): Print number of errno tests.
3159 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3160
b1a36ceb
AJ
31612013-04-29 Andreas Jaeger <aj@suse.de>
3162
c3ed8088
AJ
3163 [BZ #15084]
3164 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3165 and RES_USEVC.
3166
f1a24198
AJ
3167 [BZ #15085]
3168 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3169 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3170 unimplemented.
3171
9ce3b2cb
AJ
3172 [BZ #15380]
3173 * stdlib/random.c (__initstate): Return NULL if
3174 __initstate fails.
3175
f1a24198 3176 [BZ #15086]
b1a36ceb
AJ
3177 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3178 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3179 RES_SNGLKUPREOP.
3180
7e7b6f36
AZ
31812013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3182
3183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3184
4d14f449
JM
31852013-04-29 Joseph Myers <joseph@codesourcery.com>
3186
3187 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3188 of individual tests.
3189 (casin_test): Likewise.
3190 (casinh_test): Likewise.
3191
5b4217d7
JM
31922013-04-27 Joseph Myers <joseph@codesourcery.com>
3193
3194 [BZ #15409]
3195 * math/s_catan.c (__catan): Handle arguments with large real or
3196 imaginary part separately without squaring.
3197 * math/s_catanf.c (__catanf): Likewise.
3198 * math/s_catanh.c (__catanh): Likewise.
3199 * math/s_catanhf.c (__catanhf): Likewise.
3200 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3201 and redefine.
3202 (__catanhl): Handle arguments with large real or imaginary part
3203 separately without squaring.
3204 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3205 and redefine.
3206 (__catanl): Handle arguments with large real or imaginary part
3207 separately without squaring.
3208 * math/libm-test.inc (catan_test): Add more tests.
3209 (catanh_test): Likewise.
3210 * sysdeps/i386/fpu/libm-test-ulps: Update.
3211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3212
4220c3ef
AJ
32132013-04-27 Andreas Jaeger <aj@suse.de>
3214
3215 [BZ #15007]
3216 * stdlib/stdlib.h: Update guards for qecvt.
3217 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3218 <stdlib.h>.
3219
4721b2d1
AM
32202013-04-27 Allan McRae <allan@archlinux.org>
3221
3222 * sysdeps/i386/fpu/libm-test-ulps: Update.
3223
f0302940
JM
32242013-04-26 Joseph Myers <joseph@codesourcery.com>
3225
9457fd95
JM
3226 [BZ #15406]
3227 * math/s_catan.c: Include <float.h>.
3228 (__catan): Ensure underflow exception occurs for underflowed
3229 result.
3230 * math/s_catanf.c: Include <float.h>.
3231 (__catanf): Ensure underflow exception occurs for underflowed
3232 result.
3233 * math/s_catanh.c: Include <float.h>.
3234 (__catanh): Ensure underflow exception occurs for underflowed
3235 result.
3236 * math/s_catanhf.c: Include <float.h>.
3237 (__catanhf): Ensure underflow exception occurs for underflowed
3238 result.
3239 * math/s_catanhl.c: Include <float.h>.
3240 (__catanhl): Ensure underflow exception occurs for underflowed
3241 result.
3242 * math/s_catanl.c: Include <float.h>.
3243 (__catanl): Ensure underflow exception occurs for underflowed
3244 result.
3245 * math/libm-test.inc (catan_test): Add more tests.
3246 (catanh_test): Likewise.
3247
f0302940
JM
3248 [BZ #15405]
3249 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3250 underflowed result.
3251 * math/s_ccoshf.c (__ccoshf): Likewise.
3252 * math/s_ccoshl.c (__ccoshl): Likewise.
3253 * math/s_csin.c (__csin): Likewise.
3254 * math/s_csinf.c (__csinf): Likewise.
3255 * math/s_csinh.c (__csinh): Likewise.
3256 * math/s_csinhf.c (__csinhf): Likewise.
3257 * math/s_csinhl.c (__csinhl): Likewise.
3258 * math/s_csinl.c (__csinl): Likewise.
3259 * math/libm-test.inc (ccos_test): Add more tests.
3260 (ccosh_test): Likewise.
3261 (csin_test): Likewise.
3262 (csinh_test): Likewise.
3263
aa630f59
AZ
32642013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3265
3266 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3267 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3268 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3269 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3270 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3271 powerpc/power5+/fpu folders.
3272 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3273
3274
1b835983
MT
32752013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3276
3277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3278
73709b26
JM
32792013-04-25 Joseph Myers <joseph@codesourcery.com>
3280
3281 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3282 additions to variable.
3283 [$(config-machine) = x86_64] (modules-names): Likewise.
3284 ($(objpfx)tst-audit3): Remove dependency.
3285 ($(objpfx)tst-audit3.out): Likewise.
3286 ($(objpfx)tst-audit4): Likewise.
3287 ($(objpfx)tst-audit4.out): Likewise.
3288 ($(objpfx)tst-audit5): Likewise.
3289 ($(objpfx)tst-audit5.out): Likewise.
3290 ($(objpfx)tst-audit6): Likewise.
3291 ($(objpfx)tst-audit6.out): Likewise.
3292 ($(objpfx)tst-audit7): Likewise.
3293 ($(objpfx)tst-audit7.out): Likewise.
3294 (tst-audit3-ENV): Remove variable.
3295 (tst-audit4-ENV): Likewise.
3296 (tst-audit5-ENV): Likewise.
3297 (tst-audit6-ENV): Likewise.
3298 (tst-audit7-ENV): Likewise.
3299 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3300 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3301 addition to variable.
3302 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3303 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3304 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3305 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3306 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3307 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3308 tst-audit3, tst-audit4 and tst-audit5.
3309 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3310 tst-audit6 and tst-audit7.
3311 [$(subdir) = elf] (modules-names): Add audit modules for those
3312 tests.
3313 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3314 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3315 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3316 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3317 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3318 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3319 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3320 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3321 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3322 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3323 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3324 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3325 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3326 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3327 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3328 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3329 Likewise.
3330 [$(subdir) = elf && $(config-cflags-avx) = yes]
3331 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3332 [$(subdir) = elf && $(config-cflags-avx) = yes]
3333 (CFLAGS-tst-auditmod4a.c): Likewise.
3334 [$(subdir) = elf && $(config-cflags-avx) = yes]
3335 (CFLAGS-tst-auditmod4b.c): Likewise.
3336 [$(subdir) = elf && $(config-cflags-avx) = yes]
3337 (CFLAGS-tst-auditmod6b.c): Likewise.
3338 [$(subdir) = elf && $(config-cflags-avx) = yes]
3339 (CFLAGS-tst-auditmod6c.c): Likewise.
3340 [$(subdir) = elf && $(config-cflags-avx) = yes]
3341 (CFLAGS-tst-auditmod7b.c): Likewise.
3342 * elf/tst-audit3.c: Move to ...
3343 * sysdeps/x86_64/tst-audit3.c: ... here.
3344 * elf/tst-audit4.c: Move to ...
3345 * sysdeps/x86_64/tst-audit4.c: ... here.
3346 * elf/tst-audit5.c: Move to ...
3347 * sysdeps/x86_64/tst-audit5.c: ... here.
3348 * elf/tst-audit6.c: Move to ...
3349 * sysdeps/x86_64/tst-audit6.c: ... here.
3350 * elf/tst-audit7.c: Move to ...
3351 * sysdeps/x86_64/tst-audit7.c: ... here.
3352 * elf/tst-auditmod3a.c: Move to ...
3353 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3354 * elf/tst-auditmod3b.c: Move to ...
3355 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3356 * elf/tst-auditmod4a.c: Move to ...
3357 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3358 * elf/tst-auditmod4b.c: Move to ...
3359 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3360 * elf/tst-auditmod5a.c: Move to ...
3361 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3362 * elf/tst-auditmod5b.c: Move to ...
3363 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3364 * elf/tst-auditmod6a.c: Move to ...
3365 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3366 * elf/tst-auditmod6b.c: Move to ...
3367 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3368 * elf/tst-auditmod6c.c: Move to ...
3369 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3370 * elf/tst-auditmod7a.c: Move to ...
3371 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3372 * elf/tst-auditmod7b.c: Move to ...
3373 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3374
1ef74943
PP
33752013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3376
3377 [BZ #15366]
3378 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3379 define unconditionally.
3380 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3381 define unconditionally.
3382 (INT8_C, INT16_C, etc.): Likewise.
3383
93fd48c5
MR
33842013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3385
ae9552cf
MR
3386 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3387 __ehdr_start with hidden visibility.
3388
93fd48c5
MR
3389 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3390
418601aa
CD
33912013-04-24 Carlos O'Donell <carlos@redhat.com>
3392
3393 * math/libm-test.inc (cos_test): Use accurate hex constants.
3394 (sincost_test): Likewise.
3395
2f38fbfe
JM
33962013-04-24 Joseph Myers <joseph@codesourcery.com>
3397
5e221800
JM
3398 * math/libm-test.inc (catan_test): Add more tests.
3399 (catanh_test): Likewise.
3400
77f143fd
JM
3401 * math/s_catanf.c (__catanf): Use suffixed floating-point
3402 constants.
3403 * math/s_catanhf.c (__catanhf): Likewise.
3404 * math/s_catanhl.c (__catanhl): Likewise.
3405 * math/s_catanl.c (__catanl): Likewise.
3406
2f38fbfe
JM
3407 [BZ #15394]
3408 * math/s_catan.c (__catan): Calculate imaginary part of result
3409 with log1p not log unless computing log of number close to 0.
3410 * math/s_catanf.c (__catanf): Likewise.
3411 * math/s_catanl.c (__catanl): Likewise.
3412 * math/s_catanh.c (__catanh): Calculate real part of result with
3413 log1p not log unless computing log of number close to 0.
3414 * math/s_catanhf.c (__catanhf): Likewise.
3415 * math/s_catanhl.c (__catanhl): Likewise.
3416 * math/libm-test.inc (catan_test): Add more tests.
3417 (catanh_test): Likewise.
3418 * sysdeps/i386/fpu/libm-test-ulps: Update.
3419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3420
45d69176
SP
34212013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3422
3423 * benchtests/Makefile: Mention files in which fast and slow
3424 paths of math functions are implemented.
3425
87f51853
RM
34262013-04-23 Roland McGrath <roland@hack.frob.com>
3427
3428 * sysdeps/posix/timespec_get.c: New file.
3429
3c026539
AZ
34302013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3431
3432 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3433 POWER.
3434 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3435 for POWER.
3436 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3437 powerpc/power5/fpu folders.
3438 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3439 * benchtests/Makefile: Add modf testcase.
3440 * benchtests/bench-modf.c: New file: Benchmark test for mo
3441
ff491d14
SP
34422013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3443
3444 [BZ #14888]
3445 * time/Makefile (tests): Add tst-strptime-whitespace.
3446 * time/strptime_l.c (get_number): Use ISSPACE.
3447 (__strptime_internal): Likewise.
3448 * time/tst-strptime-whitespace.c: New test case.
3449
7ed3f4e8
AS
34502013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3451
3452 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3453 member.
3454 (_nss_files_init): Set it here.
3455
5c95f7b6
HC
34562013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3457
3458 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3459 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3460 unsigned.
3461
d34c9158
JBG
34622013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3463
3464 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3465
2169712d
SP
34662013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3467
3468 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3469 size just once.
3470
29c5de99
DM
34712013-04-21 David S. Miller <davem@davemloft.net>
3472
3473 * po/ru.po: Update Russion translation from translation project.
3474
ccdad15d
AC
34752013-04-17 Adam Conrad <adconrad@0c3.net>
3476
3477 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3478 and setfsgid.
3479
0f122b8d
CD
34802013-04-17 Carlos O'Donell <carlos@redhat.com>
3481
5c5b07da 3482 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3483 * configure: Regenerate.
5c5b07da 3484 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3485 Add example to error message.
3486 * sysdeps/i386/configure: Regenerate.
3487
037714dd
SP
34882013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3489
3490 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3491 slowtan.
3492 * benchtests/cos-inputs: New file.
3493 * benchtests/slowcos-inputs: New file.
3494 * benchtests/slowcos.c: New file.
3495 * benchtests/slowtan-inputs: New file.
3496 * benchtests/slowtan.c: New file.
3497 * benchtests/tan-inputs: New file.
3498
e913141d
RM
34992013-04-16 Roland McGrath <roland@hack.frob.com>
3500
3501 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3502 considered kosher.
3503
a2964074
SP
35042013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3505
4856bcd2
SP
3506 * benchtests/Makefile: Include cppflags-iterator.mk to add
3507 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3508
a2964074
SP
3509 * Makefile.in (bench-clean): New target.
3510 * benchtests/Makefile (bench-clean): Likewise.
3511
9fbf9aca
DH
35122013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3513
3514 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3515
207d1e2a
TS
35162013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3517
3518 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3519
306dfba9
AS
35202013-04-15 Andreas Schwab <schwab@suse.de>
3521
3522 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3523 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3524 * nscd/pwdcache.c (cache_addpw): Likewise.
3525 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3526 more than recsize.
3527
206a6699
SP
35282013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3529
3530 * benchtests/Makefile (bench): Write all output to
3531 bench-out.tmp together.
3532
0582f6b3
AS
35332013-04-15 Andreas Schwab <schwab@suse.de>
3534
3535 * nscd/nscd.c (main): Don't fork again after closing files.
3536
acb4325f
SP
35372013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3538
5cb26d0a
SP
3539 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3540
acb4325f
SP
3541 * benchtests/Rules (bench-deps): Collect dependencies into a
3542 single variable. Add Makefile to dependencies.
3543 ($(objpfx)bench-%.c): Depend on bench-deps.
3544
47792506
RM
35452013-04-12 Roland McGrath <roland@hack.frob.com>
3546 Xavier Roche <roche+kml2@exalead.com>
3547
3548 [BZ #15361]
3549 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3550 just that it's a file descriptor.
3551 * manual/llio.texi (Synchronizing AIO Operations): Update description
3552 for EBADF error from aio_fsync.
3553
8fc1bee5
SP
35542013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3555
3556 * Rules (bench): Move target definition...
3557 * benchtests/Makefile: ... here.
3558
aba5e333
CD
35592013-04-11 Carlos O'Donell <carlos@redhat.com>
3560
3561 * math/libm-test.inc (cos_test): Fix PI/2 test.
3562 (sincos_test): Likewise.
3563 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3564 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3565
273cdee8
AS
35662013-04-11 Andreas Schwab <schwab@suse.de>
3567
6ecec3b6
AS
3568 [BZ #13988]
3569 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3570 accept exponent character only when digits were seen.
3571 * stdio-common/Makefile (tests): Add bug26.
3572 * stdio-common/bug26.c: New file.
3573
273cdee8
AS
3574 [BZ #14293]
3575 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3576 non-freeable.
3577
8da491f5
SP
35782013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3579
01dc6df9
SP
3580 * Makeconfig (rtld-prefix): Define built linker prefix.
3581 * Rules (run-bench): Use it.
3582 * math/Makefile (run-regen-ulps): Likewise.
3583
8da491f5
SP
3584 * Rules (bench): Remove eval.
3585
abe7f530
SP
35862013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3587 Roland McGrath <roland@hack.frob.com>
3588 Ondrej Bilka <neleai@seznam.cz>
3589
3590 [BZ #15346]
3591 * time/getdate.c: Include ctype.h and alloca.h.
3592 (__getdate_r): Trim leading and trailing spaces of input.
3593 * time/tst-getdate.c (tests): Add tests with leading and
3594 trailing spaces.
3595
61c23e62
RM
35962013-04-08 Roland McGrath <roland@hack.frob.com>
3597
3598 [BZ #14280]
3599 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3600 when computing value.
3601
7208a313
CD
36022013-04-06 Carlos O'Donell <carlos@redhat.com>
3603
085b2d41
CD
3604 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3605 Use testrun.sh to run libm tests.
3606
7208a313
CD
3607 [BZ #15309]
3608 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3609
872c0acd
MM
36102013-04-06 Marko Myllynen <myllynen@redhat.com>
3611
3612 [BZ #15264]
3613 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3614
26510bdd
CD
36152013-04-06 Carlos O'Donell <carlos@redhat.com>
3616
3617 * Makefile.in (regen-ulps): New target.
3618 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3619 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3620 [ifneq (no,$(PERL)] (regen-ulps): New target.
3621 [ifeq (no,$(PERL)] (regen-ulps): New target.
3622 * math/libm-test.inc (ulps_file_name): Define.
3623 (output_dir): New variable.
3624 (options): Add "output-dir" option.
3625 (parse_opt): Handle 'o' case.
3626 (main): If output_dir is non-NULL use it as a prefix
3627 otherwise use "".
3628 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3629
a01f19c8
CD
36302013-04-06 Carlos O'Donell <carlos@redhat.com>
3631
3632 [BZ #10060, #10062]
3633 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3634 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3635 fail configure if __sync_val_compare_and_swap is not inlined.
3636 * sysdeps/i386/configure: Regenerate.
3637 * configure.in: Build for i686 when configured for i386.
3638 * configure: Regenerate.
3639 * README: Remove i386 reference.
3640
b7a329a5
CD
36412013-04-06 Carlos O'Donell <carlos@redhat.com>
3642
3643 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3644 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3645
bf0f50df
TS
36462013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3647
ee091edf
TS
3648 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3649 (lmsnanval): New variables.
3650 (F): Add conversion tests.
3651 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3652 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3653
a8b792d6
TS
3654 * stdio-common/tstdiomisc.c (F): Properly collect individual
3655 tests' results.
3656
a1cbf437
TS
3657 [BZ #14686, #15336]
3658 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3659 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3660 Instead, use input NaN values or generate a qNaN by arithmetic
3661 operation. Also fix bugs to comply with the standard.
3662 * math/libm-test.inc (remainder_test): Add more tests.
3663
8b43a0c9
TS
3664 [BZ #15335, #15342]
3665 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3667 input NaN values or generate a qNaN by arithmetic operation.
3668
d91da4ce
TS
3669 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3670 unreachable code.
3671
bf0f50df
TS
3672 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3673 definitions.
3674
05e166c8
JM
36752013-04-03 Joseph Myers <joseph@codesourcery.com>
3676
3677 [BZ #14478]
3678 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3679 underflowed result.
3680 * math/s_cexpf.c (__cexpf): Likewise.
3681 * math/s_cexpl.c (__cexpl): Likewise.
3682 * math/libm-test.inc (cexp_test): Add more tests.
3683
1cef1b19
AS
36842013-04-03 Andreas Schwab <schwab@suse.de>
3685
3686 [BZ #15330]
3687 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3688 order arrays from heap if bigger than alloca cutoff.
3689
74d87055
TS
36902013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3691
3692 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3693 (SNAN_TESTS_double): Refer to GCC PR56831.
3694 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3695 GCC PR56828.
3696
d755bba4
SP
36972013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3698
90d5d5bb
SP
3699 * Rules (bench): Move bench.out after the run is complete.
3700
73e0cd5d
SP
3701 * Rules (bench): Echo currently running benchmark.
3702
64aabd4b
SP
3703 * benchtests/Makefile (bench): Add atan and slowatan.
3704 * benchtests/atan-inputs: New file.
3705 * benchtests/slowatan-inputs: New file.
3706 * benchtests/slowatan.c: New file.
3707
c871eccd
SP
3708 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3709 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3710 its value.
3711
d755bba4
SP
3712 [BZ #15305]
3713 * sysdeps/unix/sysv/linux/kernel-features.h
3714 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3715 __ASSUME_XFS_RESTRICTED_CHOWN.
3716 * sysdeps/unix/sysv/linux/pathconf.c
3717 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3718 Save and restore errno.
3719
52ce4860
JM
37202013-04-02 Joseph Myers <joseph@codesourcery.com>
3721
3722 [BZ #15327]
3723 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3724 arguments using __kernel_casinh.
3725 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3726 arguments using __kernel_casinhf.
3727 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3728 arguments using __kernel_casinhl.
3729 * math/libm-test.inc (cacosh_test): Add more tests.
3730 * sysdeps/i386/fpu/libm-test-ulps: Update.
3731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3732
81f311c2
SP
37332013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3734
e7906a47
SP
3735 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3736 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3737
92e3664b
SP
3738 * bench/Makefile (bench): Add sin and slowsin.
3739 * benchtests/sin-inputs: New file.
3740 * benchtests/slowsin-inputs: New file.
3741 * benchtests/slowsin.c: New file.
3742
81f311c2
SP
3743 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3744 (bench): Add slowexp and slowpow.
3745 (exp-ITER): Increase iterations.
3746 (pow-ITER): Likewise.
3747 * benchtests/exp-inputs: Change input.
3748 * benchtests/pow-inputs: Likewise.
3749 * benchtests/slowexp-inputs: New file.
3750 * benchtests/slowexp.c: New file.
3751 * benchtests/slowpow-inputs: New file.
3752 * benchtests/slowpow.c: New file.
3753
ab0f1aa9
AZ
37542013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3755
3756 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3757 instructions.
3758 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3759 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3760 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3761 * benchtests/Makefile: Add rint benchtest.
3762 * benchtests/rint-inputs: Input for rint benchtest.
3763
57267616
TS
37642013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3765
3766 * Versions.def (libm): Add GLIBC_2.18.
3767 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3768 hidden libm prototypes.
3769 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3770 * math/Makefile (libm-calls): Add s_issignaling.
3771 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3772 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3773 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3774 declaration.
3775 * math/math.h [__USE_GNU] (issignaling): New macro.
3776 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3777 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3779 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3780 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3781 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3782 * manual/arith.texi (issignaling): New section.
3783 * manual/libm-err-tab.pl (@all_functions): Update comment.
3784 * math/gen-libm-test.pl (parse_args): Apply special handling for
3785 issignaling.
3786 * math/libm-test.inc (print_float, issignaling_test): New
3787 functions.
3788 (check_float_internal): Add issignaling checks.
3789 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3790 default definition.
3791 * sysdeps/powerpc/math-tests.h: New file.
3792 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3793 tests.
3794 * math/test-snan.c (TEST_FUNC): Likewise.
3795
6142896d
DM
37962013-03-30 David S. Miller <davem@davemloft.net>
3797
3798 * po/de.po: Update from translation team.
3799
ccc8cadf
JM
38002013-03-30 Joseph Myers <joseph@codesourcery.com>
3801
3802 [BZ #10357]
3803 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3804 imaginary part less than 1.0 and real part less than 0.5
3805 specially.
3806 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3807 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3808 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3809 (cacos_test): Add more tests.
3810 (casin_test): Likewise.
3811 (casinh_test): Likewise.
3812 * sysdeps/i386/fpu/libm-test-ulps: Update.
3813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3814
0f6a8d4b
SP
38152013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3816
0d1029de
SP
3817 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3818 ONE with its value.
3819
c2d94018
SP
3820 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3821 (__pow_mp): Replace ONE and MONE with their values.
3822 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3823 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3824 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3825 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3826 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3827 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3828
27ec37f1
SP
3829 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3830
a64d7e0e
SP
3831 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3832 (__pow_mp): Replace ZERO and MZERO with their values.
3833 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3834 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3835 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3837 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3838 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3839 (__sqr): Likewise.
3840
d26dd3eb
SP
3841 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3842
0f6a8d4b
SP
3843 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3844
e57b0c61
RM
38452013-03-28 Roland McGrath <roland@hack.frob.com>
3846
3847 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3848 Declare with __attribute__ ((weak)).
3849 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3850 Call __call_tls_dtors only if it's not NULL.
3851
356b3480
RM
38522013-03-28 Roland McGrath <roland@hack.frob.com>
3853
288f7d79
RM
3854 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3855 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3856 magic __ehdr_start linker symbol if it's defined.
3857 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3858 them up here if it was already done.
3859
dc0a0263
RM
3860 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3861 (_dl_aux_init): Use const in cast when setting it.
3862 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3863 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3864 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3865
3d3436ae
RM
3866 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3867 Declare them here.
3868 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3869 * csu/libc-tls.c: Nor here.
3870 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3871
356b3480
RM
3872 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3873 (__libc_message): Never call vsyslog.
3874
b0f1246a
AM
38752013-03-28 Alan Modra <amodra@gmail.com>
3876
3877 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3878 Define as empty.
3879 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3880 Likewise.
3881
fbbe2b9a
AZ
38822013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3883
3884 [BZ #15214]
3885 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3886 underflow.
3887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3888
1728ab37
SP
38892013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3890
7a86be6e
SP
3891 [BZ #15304]
3892 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3893 Don't add gid passed as argument.
3894
1728ab37
SP
3895 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3896
3a7182a1
JM
38972013-03-27 Joseph Myers <joseph@codesourcery.com>
3898
3899 [BZ #15307]
3900 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3901 imaginary part between 1.0 and 1.5 and real part less than 0.5
3902 specially.
3903 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3904 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3905 * math/libm-test.inc (cacos_test): Add more tests.
3906 (casin_test): Likewise.
3907 (casinh_test): Likewise.
3908 * sysdeps/i386/fpu/libm-test-ulps: Update.
3909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3910
6f2e90e7
SP
39112013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3912
5739f705
SP
3913 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3914 constants.
3915 (norm): Likewise.
3916 (denorm): Likewise.
3917 (__dbl_mp): Likewise.
3918 (add_magnitudes): Likewise.
3919 (sub_magnitudes): Likewise.
3920 (__add): Likewise.
3921 (__sub): Likewise.
3922 (__mul): Likewise.
3923 (__sqr): Likewise.
3924 (__inv): Likewise.
3925 (__dvd): Likewise.
3926
e375e83d
SP
3927 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3928 commented code.
3929 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3930 (__dubcos): Likewise.
3931 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3932 (__ieee754_acos): Likewise.
3933 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3934 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3935 (__exp1): Likewise.
3936 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3937 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3938 (log1): Likewise.
3939 (my_log2): Likewise.
3940 (checkint): Likewise.
3941 * sysdeps/ieee754/dbl-64/e_remainder.c
3942 (__ieee754_remainder): Likewise.
3943 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3944 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3945 (bsloww): Likewise.
3946 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3947
6f2e90e7
SP
3948 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3949 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3950 MANTISSA_STORE_T to store computations on mantissa. Use
3951 macros for rounding and division.
3952 (denorm): Likewise.
3953 (__dbl_mp): Likewise.
3954 (add_magnitudes): Likewise.
3955 (sub_magnitudes): Likewise.
3956 (__mul): Likewise.
3957 (__sqr): Likewise.
3958 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3959 powers of two in terms of TWOPOW macro.
3960 (mp_no): Make type of mantissa as MANTISSA_T.
3961 [!RADIXI]: Define RADIXI.
3962 [!TWO52]: Define TWO52.
3963 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3964
fce14d4e
AZ
39652013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3966
3967 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3968 llroundl symbol when building for PPC32.
3969
9ad027fb
MW
39702013-03-24 Mark H Weaver <mhw@netris.org>
3971
3972 * manual/arith.texi (Normalization Functions): Fix prototypes for
3973 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3974
e42a38dd
AZ
39752013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3976
3977 [BZ #13889]
3978 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3979 high value to check if expl overflow.
3980 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3981 to check for underflow and overflow.
3982 * math/libm-test.inc: Add exp test.
3983
2e0fb521
DL
39842013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3985
3986 [BZ #11120]
3987 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3988 with NOT_IN_libc.
3989
b5784d95
AZ
39902013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3991
3992 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3993 symbol.
3994
5aa4a1a1
TS
39952013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3996
bdef0be7
TS
3997 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3998 wrap blocks consisting of several statements.
3999
5aa4a1a1
TS
4000 * sysdeps/generic/math-tests.h: New file.
4001 * sysdeps/i386/fpu/math-tests.h: Likewise.
4002 * math/test-snan.c: Include it.
4003 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4004
98c48fe5
JM
40052013-03-21 Joseph Myers <joseph@codesourcery.com>
4006
4007 [BZ #15285]
4008 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4009 (__ieee754_j0l): Do not improve calculations using cos of twice
4010 input for inputs above LDBL_MAX / 2.0L.
4011 (__ieee754_y0l): Likewise.
4012 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4013 (__ieee754_j1l): Do not improve calculations using cos of twice
4014 input for inputs above LDBL_MAX / 2.0L.
4015 (__ieee754_y1l): Likewise.
4016 * math/libm-test.inc (j0_test): Add another test.
4017 (j1_test): Likewise.
4018 (y0_test): Likewise.
4019 (y1_test): Likewise.
4020 * sysdeps/i386/fpu/libm-test-ulps: Update.
4021
3775a8bc
SP
40222013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4023
4024 * Rules ($(objpfx)bench-%.c): Include code from a C source
4025 file.
4026
0a1b2ae6
JM
40272013-03-21 Joseph Myers <joseph@codesourcery.com>
4028
4029 [BZ #15287]
4030 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4031 imaginary part 1.0 and real part less than 0.5 specially.
4032 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4033 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4034 * math/libm-test.inc (cacos_test): Add more tests.
4035 (casin_test): Likewise.
4036 (casinh_test): Likewise.
4037 * sysdeps/i386/fpu/libm-test-ulps: Update.
4038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4039
b33d4ce4
SP
40402013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4041
4042 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4043 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4044
bef0b507
JM
40452013-03-20 Joseph Myers <joseph@codesourcery.com>
4046
4047 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4048 * config.make.in (config-cflags-sse4): Remove variable.
4049 (config-cflags-avx): Likewise.
4050 (config-cflags-sse2avx): Likewise.
4051 (config-cflags-novzeroupper): Likewise.
4052 (config-asflags-i686): Likewise.
4053 (have-mfma4): Likewise.
4054 (have-as-vis3): Likewise.
4055 (MIG): Likewise.
4056 * configure.in (MIG): Do not AC_SUBST.
4057 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4058 (libc_cv_cc_sse4): Do not AC_SUBST.
4059 (libc_cv_cc_avx): Likewise.
4060 (libc_cv_cc_sse2avx): Likewise.
4061 (libc_cv_cc_novzeroupper): Likewise.
4062 (libc_cv_cc_fma4): Likewise.
4063 (libc_cv_as_i686): Likewise.
4064 (libc_cv_sparc_as_vis3): Likewise.
4065 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4066 LIBC_CONFIG_VAR.
4067 (config-asflags-i686): Likewise.
4068 (config-cflags-avx): Likewise.
4069 (config-cflags-sse2avx): Likewise.
4070 (have-mfma4): Likewise.
4071 (config-cflags-novzeroupper): Likewise.
4072 * sysdeps/mach/configure.in (MIG): Likewise.
4073 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4074 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4075 LIBC_CONFIG_VAR.
4076 (config-cflags-avx): Likewise.
4077 (config-cflags-sse2avx): Likewise.
4078 (have-mfma4): Likewise.
4079 (config-cflags-novzeroupper): Likewise.
4080 * configure: Regenerated.
4081 * sysdeps/i386/configure: Likewise.
4082 * sysdeps/mach/configure: Likewise.
4083 * sysdeps/sparc/configure: Likewise.
4084 * sysdeps/x86_64/configure: Likewise.
4085
912cc4b3
RM
40862013-03-20 Roland McGrath <roland@hack.frob.com>
4087
4088 [BZ #14812]
4089 * locale/programs/localedef.c (options): Put N_ translation marker
4090 on argument names, not just descriptions.
4091
04eed2b0
MS
40922013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4093
4094 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4095
a065ceff
OB
40962013-03-20 Ondřej Bílka <neleai@seznam.cz>
4097
9bb2a810 4098 [BZ #14176]
a065ceff
OB
4099 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4100
a600e5ce
RM
41012013-03-19 Roland McGrath <roland@hack.frob.com>
4102
4103 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4104 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4105 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4106 [!BEFORE_ABORT] (before_abort): New function.
4107 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4108 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4109 (writev_for_fatal): New function.
4110 (WRITEV_FOR_FATAL): New macro; call that.
4111 (backtrace_and_maps): New function.
4112 (BEFORE_ABORT): New macro; call that.
4113 (struct str_list): Type removed.
4114 (__libc_message, __libc_fatal): Functions removed.
4115 Include <sysdeps/posix/libc_fatal.c> instead.
4116
6b18bea6
JM
41172013-03-19 Joseph Myers <joseph@codesourcery.com>
4118
4119 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4120 constants.
4121 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4122 double constants.
4123
aaa8cb4b
AS
41242013-03-19 Andreas Schwab <schwab@suse.de>
4125
44673770
AS
4126 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4127 * sysdeps/gnu/configure: Regenerate.
4128
aaa8cb4b
AS
4129 * configure.in: Substitute libc_cv_rtlddir.
4130 * configure: Regenerate.
4131 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4132 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4133 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4134 * elf/Makefile (install-others, CFLAGS-interp.c)
4135 (ldso_install, common-ldd-rewrite): Likewise.
4136 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4137 $(inst_slibdir)/$(rtld-installed-name).
4138 * scripts/rellns-sh: Add -p option.
4139 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4140 for source.
4141
d3cfc668
SP
41422013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4143
4144 * manual/nptl.texi: Renamed to ...
4145 * manual/threads.texi: ... this.
4146 * manual/Makefile (chapters): Update.
4147
0e2b9cdd
RM
41482013-03-18 Roland McGrath <roland@hack.frob.com>
4149
4150 [BZ #14812]
4151 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4152 on argument names, not just descriptions.
0e2b9cdd
RM
4153 * malloc/memusagestat.c (options): Likewise.
4154 * nss/getent.c (options): Likewise.
63270c24
RM
4155
41562013-03-18 Benno Schulenberg <bensberg@justemail.net>
4157
4158 [BZ #14812]
4159 * iconv/iconv_prog.c (options): Put N_ translation marker
4160 on argument names, not just descriptions.
4161 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4162
b2e1393c
OB
41632013-03-18 Ondrej Bilka <neleai@seznam.cz>
4164
4165 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4166 implementation which is faster on all x86_64 architectures.
4167 Tested on AMD, Intel Nehalem, SNB, IVB.
4168 * sysdeps/x86_64/strnlen.S: Likewise.
4169
4170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4171 Remove all multiarch strlen and strnlen versions.
4172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4173 Remove strlen and strnlen related parts.
4174
4175 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4176 Inline strlen part.
4177 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4178
4179 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4180 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4181 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4182 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4183 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4184 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4185
ec4ff04d
CD
41862013-03-17 Carlos O'Donell <carlos@redhat.com>
4187
4188 * manual/memory.texi (Malloc Tunable Parameters):
4189 Sort parameters alphabetically. Add comments for missing entries.
4190
cd18e90a
DM
41912013-03-17 David S. Miller <davem@davemloft.net>
4192
4193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4194
2a185d32
JM
41952013-03-16 Joseph Myers <joseph@codesourcery.com>
4196
d2f9799e
JM
4197 [BZ #15283]
4198 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4199 for arguments at most half maximum finite value.
4200 * math/libm-test.inc (j0_test): Add more tests.
4201 (j1_test): Likewise.
4202 (y0_test): Likewise.
4203 (y1_test): Likewise.
4204 * sysdeps/i386/fpu/libm-test-ulps: Update.
4205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4206
2a185d32
JM
4207 [BZ #14155]
4208 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4209 1 / x and functions P and Q for arguments above 0x1p256L.
4210 (__ieee754_y0l): Likewise.
4211 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4212 (__ieee754_y1l): Likewise.
4213 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4214 (j1_test): Likewise.
4215 (y0_test): Likewise.
4216 (y1_test): Likewise.
4217
6cbec759
TS
42182013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4219
4220 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4221 variable.
4222
bc16e260
RM
42232013-03-15 Roland McGrath <roland@hack.frob.com>
4224
aefc9b8c
RM
4225 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4226 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4227 zero since it's initialized to EXEC_PAGESIZE.
4228
bc16e260
RM
4229 * sysdeps/unix/sysv/linux/ldsodefs.h
4230 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4231 * sysdeps/generic/ldsodefs.h: ... here.
4232
a57da955
TS
42332013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4234
af00a34d
TS
4235 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4236
495ded2c
TS
4237 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4238 math/test-snan.c.
4239 * math/test-snan.c: Renamed from
4240 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4241 * math/Makefile (tests): Add test-snan.
4242 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4243 test-powerpc-snan.
4244
777b0332
TS
4245 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4246 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4247 functions.
4248 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4249 __builtin_nan family of functions.
4250 * math/libm-test.inc (initialize): Initialize qnan_value with
4251 __builtin_nan family of functions.
4252 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4253 Remove variables.
4254 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4255 Remove functions.
4256 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4257 storage class. Initialize qNaN_var and sNaN_var with
4258 __builtin_nan and __builtin_nans families of functions,
4259 respectively.
4260
64d063b8
TS
4261 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4262 (sqrt_test): Remove duplicate test with qNaN input.
4263 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4264 (round_test, signbit_test, significand_test): Note missing +/-Inf
4265 as well as qNaN tests.
4266
67e971f1
TS
4267 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4268 qNaN_var. Fix a few strings, too.
4269 * math/libm-test.inc (nan_value): Rename to qnan_value.
4270 * math/gen-libm-test.pl (%beautify): Adjust to that.
4271 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4272 * math/test-misc.c (main): Likewise.
4273 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4274 to __qnan_bytes, and __qnan_union, respectively.
4275 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4276 Likewise.
4277 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4278 and lqnanval, respectively.
4279 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4280 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4281 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4282 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4283
64487e12
TS
4284 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4285 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4286 doubles.
4287
e015e27b
TS
4288 * math/test-misc.c (main): Fix copy'n'pastos.
4289 * misc/tst-efgcvt.c (special): Likewise.
4290
a57da955
TS
4291 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4292 Remove declarations.
4293
1e380345
SP
42942013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4295
4296 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4297 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4298 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4299 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4300
ef26eece
AZ
43012013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4302
4303 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4304 macro to return vdso values correctly in IFUNC implementations.
4305 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4306 Optimization by using IFUNC.
4307
8cfdb7e0
SP
43082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4309 Richard Henderson <rth@redhat.com>
4310 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4311
4312 * Makefile.in (bench): New target.
4313 * NEWS: Mention the benchmark framework.
4314 * Rules (bench): Likewise.
4315 (binaries-bench): Generate binaries for functions to
4316 benchmark.
4317 * benchtests/Makefile: New makefile for benchmark tests.
4318 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4319 programs.
4320 * benchtests/exp-inputs: New input file for EXP function.
4321 * benchtests/pow-inputs: New input file for POW function.
4322 * scripts/bench.pl: New script to generate source files for
4323 benchmark programs.
4324
bcda9880
SP
43252013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4326
d22ca8cd
SP
4327 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4328 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4329 computations on mantissa. Use macros for rounding and
4330 division.
4331 (denorm): Likewise.
4332 (__dbl_mp): Likewise.
4333 (add_magnitudes): Likewise.
4334 (sub_magnitudes): Likewise.
4335 (__mul): Likewise.
4336 (__sqr): Likewise.
4337 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4338 powers of two in terms of TWOPOW macro.
4339 (mp_no): Make type of mantissa as MANTISSA_T.
4340 [!RADIXI]: Define RADIXI.
4341 [!TWO52]: Define TWO52.
4342 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4343
bcda9880
SP
4344 * manual/nptl.texi (cindex): Modify threads to pthreads.
4345
06d5adfb
JM
43462013-03-15 Joseph Myers <joseph@codesourcery.com>
4347
4348 * sysdeps/x86_64/preconfigure: Regenerated.
4349
41c7328e
JM
43502013-03-14 Joseph Myers <joseph@codesourcery.com>
4351
4352 [BZ #14155]
4353 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4354 0x1p28 and above.
4355 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4356 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4357 0x1p28 and above.
4358 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4359 * math/libm-test.inc (j0_test): Do not allow one spurious
4360 underflow exception.
4361 (y1_test): Likewise.
4362
e25cfa60
SP
43632013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4364
0409959c
SP
4365 * manual/Makefile (chapters): Add nptl.
4366 * manual/debug.texi (Debugging Support): Add link to Threads
4367 chapter.
4368 * manual/nptl.texi: New file.
4369
e25cfa60
SP
4370 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4371
58a1335e
PB
43722013-03-14 Petr Baudis <pasky@ucw.cz>
4373
4374 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4375 for non-NULL pointer before the memory validity test. Pointed
4376 out by Holger Brunck <holger.brunck@keymile.com>.
4377
9dc7c64f
AS
43782013-03-13 Andreas Schwab <schwab@suse.de>
4379
4380 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4381 instead of .os.
4382
54206aa6
JM
43832013-03-13 Joseph Myers <joseph@codesourcery.com>
4384
4385 * timezone/zic.c: Update from tzcode 2013b.
4386
e98cdb38
CD
43872013-03-12 Carlos O'Donell <carlos@redhat.com>
4388
4389 * manual/install.texi (Configuring and compiling):
4390 Mention i686 and i586.
4391 * INSTALL: Regenerate.
4392
9967e003
RM
43932013-03-12 Roland McGrath <roland@hack.frob.com>
4394
4395 * sysdeps/init_array/elf-init.c: New file.
4396 * csu/elf-init.c
4397 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4398 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4399
4400 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4401 __gmon_start__ as global, but as static with a .preinit_array pointer.
4402 * sysdeps/init_array/gmon-start.c: New file. Use that.
4403 * sysdeps/init_array/crti.S: New file, empty except for comments.
4404 * sysdeps/init_array/crtn.S: Likewise.
4405
e6b5a293 44062013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4407
4408 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4409 definining bcopy.
80f844c9
OB
4410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4411 Remove Prefer_SSE_for_memop.
4412 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4413 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4414 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4416 memset-x86-64.
80f844c9 4417 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4418 Remove bzero, memset ifunc support.
80f844c9
OB
4419 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4420 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4421 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4422 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4423
fb6b0fcb
AS
44242013-03-11 Andreas Schwab <schwab@suse.de>
4425
4426 [BZ #15234]
4427 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4428 by SHLIB_COMPAT.
4429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4430 (GLIBC_2.16): Remove pthread_atfork.
4431
3e6bd4b1
PP
44322013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4433
4434 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4435 (ptestcases.h): Likewise.
4436
222d7f00
RM
44372013-03-08 Roland McGrath <roland@hack.frob.com>
4438
4439 * Makeconfig ($(common-objpfx)config.status): Depend on
4440 sysdeps/*/preconfigure{,.in} too.
4441
1ba4f030
JM
44422013-03-08 Joseph Myers <joseph@codesourcery.com>
4443
a222d91a
JM
4444 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4445 (__free_hook): Use void * instead of __malloc_ptr_t.
4446 (__malloc_hook): Likewise.
4447 (__realloc_hook): Likewise.
4448 (__memalign_hook): Likewise.
4449 (__after_morecore_hook): Likewise.
4450 * malloc/arena.c (save_malloc_hook): Likewise.
4451 (save_free_hook): Likewise.
4452 * malloc/hooks.c (malloc_hook_ini): Likewise.
4453 (realloc_hook_ini): Likewise.
4454 (memalign_hook_ini): Likewise.
4455 * malloc/malloc.c (malloc_hook_ini): Likewise.
4456 (realloc_hook_ini): Likewise.
4457 (memalign_hook_ini): Likewise.
4458 (__free_hook): Likewise.
4459 (__malloc_hook): Likewise.
4460 (__realloc_hook): Likewise.
4461 (__memalign_hook): Likewise.
4462 (__libc_malloc): Likewise.
4463 (__libc_free): Likewise.
4464 (__libc_realloc): Likewise.
4465 (__libc_memalign): Likewise.
4466 (__libc_valloc): Likewise.
4467 (__libc_pvalloc): Likewise.
4468 (__libc_calloc): Likewise.
4469 (__posix_memalign): Likewise.
4470 * malloc/morecore.c (__sbrk): Likewise.
4471 (__default_morecore): Likewise.
4472
5cc45e10
JM
4473 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4474
dd54b864
JM
4475 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4476 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4477 __malloc_ptrdiff_t.
4478
1ba4f030
JM
4479 * malloc/malloc.h (__malloc_size_t): Remove macro.
4480 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4481 __malloc_size_t.
4482 (old_memalign_hook): Likewise.
4483 (old_realloc_hook): Likewise.
4484 (struct hdr): Likewise.
4485 (flood): Likewise.
4486 (mallochook): Likewise.
4487 (memalignhook): Likewise.
4488 (reallochook): Likewise.
4489 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4490 (tr_old_realloc_hook): Likewise.
4491 (tr_old_memalign_hook): Likewise.
4492 (tr_mallochook): Likewise.
4493 (tr_reallochook): Likewise.
4494 (tr_memalignhook): Likewise.
4495
edf66e57
AZ
44962013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4497
4498 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4499 default_ldbl_pack and using as default implementation.
4500 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4501 implementation.
4502 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4503 redundant definition.
4504 (ldbl_insert_mantissa): Likewise.
4505 (ldbl_canonicalize): Likewise.
4506 (ldbl_nearbyint): Likewise.
4507 (ldbl_pack): Rename to ldbl_pack_ppc.
4508 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4509 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4510 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4511
6d9145d8
SP
45122013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4513
4514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4515 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4516 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4517 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4519 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4520 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4521 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4522
4dd4e157
AJ
45232013-03-07 Andreas Jaeger <aj@suse.de>
4524
4525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4526 bits/mman-linux.h.
4527
adbb8027
SP
45282013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4529
ce544b5b
SP
4530 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4531 Include mpa.h and declare __MPEXP.
4532 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4533 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4534 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4535 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4536 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4537 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4538 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4539
4cc149fd
SP
4540 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4541 (__slowpow): Use long double EXPL and LOGL functions to
4542 compute POW.
4543 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4544 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4545 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4546 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4547 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4548 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4549
e6ebd4a7
SP
4550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4551 intermediate variable to calculate exponent.
4552 (__sqr): Likewise.
4553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4554 Likewise.
4555 (__sqr): Likewise.
4556
82a9811d
SP
4557 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4558 [!NO__SQR]: Define __sqr.
4559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4560 and NO__SQR. Remove all code except __mul and __sqr. Include
4561 sysdeps/ieee754/dbl-64/mpa.c.
4562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4563
adbb8027
SP
4564 [BZ #12723]
4565 * posix/Makefile (tests): Add tst-pathconf.
4566 * posix/tst-pathconf.c: New test case.
4567 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4568 _PC_PIPE_BUF.
4569 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4570
39120df9
PF
45712013-03-06 Patsy Franklin <pfrankli@redhat.com>
4572
4573 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4574
67525cb8
AJ
45752013-03-06 Andreas Jaeger <aj@suse.de>
4576
664a9ce4
AJ
4577 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4578 definition via __MAP_ANONYMOUS.
4579
8e39047d
AJ
4580 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4581 it's not part of Linux headers.
4582
67525cb8
AJ
4583 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4584 (MAP_HUGE_MASK): Define.
4585
4586 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4587 Define.
4588 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4589 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4590 Define.
4591 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4592 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4593 Define.
4594 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4595 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4596 Define.
4597 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4598
4599 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4600 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4601 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4602 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4603 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4604 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4605
4606 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4607 Handle f2fs.
4608
4609 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4610 Handle f2fs and efivarfs.
4611
4612 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4613 f2fs.
4614
4615 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4616 (EFIVARFS_MAGIC): Add.
4617 (F2FS_LINK_MAX): Add.
4618
e1b42695
PP
46192013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4620
4621 * stdio-common/vfprintf.c: Replace __builtin_expect with
4622 __glibc_unlikely.
4623
2d67d91a
JM
46242013-03-06 Joseph Myers <joseph@codesourcery.com>
4625
4626 [BZ #13550]
4627 * sysdeps/generic/bp-sym.h: Remove file.
4628 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4629 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4630 <bp-sym.h> and <bp-asm.h>.
4631 (__longjmp): Don't use BP_SYM.
4632 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4633 and <bp-asm.h>.
4634 (memcpy): Don't use BP_SYM.
4635 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4636 <bp-sym.h> and <bp-asm.h>.
4637 (memcpy): Don't use BP_SYM.
4638 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4639 <bp-asm.h>.
4640 (memcpy): Don't use BP_SYM.
4641 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4642 <bp-asm.h>.
4643 (memset): Don't use BP_SYM.
4644 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4645 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4646 (__bzero): Don't use BP_SYM.
4647 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4648 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4649 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4650 <bp-sym.h> and <bp-asm.h>.
4651 (memcmp): Don't use BP_SYM. Remove comment about bounded
4652 pointers.
4653 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4654 <bp-sym.h> and <bp-asm.h>.
4655 (memcpy): Don't use BP_SYM.
4656 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4657 <bp-sym.h> and <bp-asm.h>.
4658 (memset): Don't use BP_SYM.
4659 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4660 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4661 (__bzero): Don't use BP_SYM.
4662 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4663 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4664 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4665 <bp-sym.h> and <bp-asm.h>.
4666 (strncmp): Don't use BP_SYM. Remove comment about bounded
4667 pointers.
4668 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4669 <bp-sym.h> and <bp-asm.h>.
4670 (memcpy): Don't use BP_SYM.
4671 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4672 <bp-sym.h> and <bp-asm.h>.
4673 (memset): Don't use BP_SYM.
4674 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4675 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4676 (__bzero): Don't use BP_SYM.
4677 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4678 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4679 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4680 <bp-sym.h> and <bp-asm.h>.
4681 (__memchr): Don't use BP_SYM.
4682 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4683 <bp-sym.h> and <bp-asm.h>.
4684 (memcmp): Don't use BP_SYM. Remove comment about bounded
4685 pointers.
4686 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4687 <bp-sym.h> and <bp-asm.h>.
4688 (memcpy): Don't use BP_SYM.
4689 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4690 <bp-sym.h> and <bp-asm.h>.
4691 (__mempcpy): Don't use BP_SYM.
4692 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4693 <bp-sym.h> and <bp-asm.h>.
4694 (__memrchr): Don't use BP_SYM.
4695 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4696 <bp-sym.h> and <bp-asm.h>.
4697 (memset): Don't use BP_SYM.
4698 (__bzero): Likewise.
4699 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4700 <bp-sym.h> and <bp-asm.h>.
4701 (__rawmemchr): Don't use BP_SYM.
4702 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4703 <bp-sym.h> and <bp-asm.h>.
4704 (__STRCMP): Don't use BP_SYM.
4705 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4706 <bp-sym.h> and <bp-asm.h>.
4707 (strchr): Don't use BP_SYM.
4708 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4709 <bp-sym.h> and <bp-asm.h>.
4710 (__strchrnul): Don't use BP_SYM.
4711 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4712 <bp-sym.h> and <bp-asm.h>.
4713 (strlen): Don't use BP_SYM.
4714 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4715 <bp-sym.h> and <bp-asm.h>.
4716 (strncmp): Don't use BP_SYM. Remove comment about bounded
4717 pointers.
4718 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4719 <bp-sym.h> and <bp-asm.h>.
4720 (__strnlen): Don't use BP_SYM.
4721 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4722 <bp-sym.h> and <bp-asm.h>.
4723 (__GI__setjmp): Don't use BP_SYM.
4724 (_setjmp): Likewise.
4725 (__sigsetjmp): Likewise.
4726 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4727 (L(start_addresses)): Don't use BP_SYM.
4728 (_start): Likewise.
4729 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4730 <bp-asm.h>.
4731 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4732 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4733 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4734 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4735 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4736 <bp-asm.h>.
4737 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4738 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4739 about bounded pointers.
4740 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4741 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4742 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4743 <bp-asm.h>.
4744 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4745 about bounded pointers. Remove GKM FIXME comments.
4746 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4747 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4748 <bp-asm.h>.
4749 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4750 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4751 Remove GKM FIXME comments.
4752 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4753 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4754 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4755 <bp-asm.h>.
4756 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4757 about bounded pointers. Remove GKM FIXME comment.
4758 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4759 and <bp-asm.h>.
4760 (strncmp): Don't use BP_SYM. Remove comment about bounded
4761 pointers.
4762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4763 <bp-sym.h> and <bp-asm.h>.
4764 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4766 <bp-sym.h> and <bp-asm.h>.
4767 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4768 comment.
4769
cdcf361f
PP
47702013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4771
4772 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4773 call free(NULL).
4774
3c4a2b15
DM
47752013-03-05 David S. Miller <davem@davemloft.net>
4776
4777 * po/es.po: Update from translation team.
4778
cdcf361f 47792013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
4780
4781 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4782 <bits/mman-linux.h>.
4783 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4784 is fine.
4785 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4786 <bits/mman-linux.h> to end of file.
4787 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4788 is fine.
4789 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4790 <bits/mman-linux.h> to end of file.
4791 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4792 is fine.
4793 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4794 <bits/mman-linux.h> to end of file.
4795
4796 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4797 (MCL_CURRENT, MCL_FUTURE): Define here.
4798
5f67c04f
AK
47992013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4800
8a4473cc 4801 [BZ #15232]
5f67c04f
AK
4802 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4803 attribute_hidden.
4804 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4805
c3e94a95
AK
48062013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4807
4808 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4809 fourth parameter needed for rt_sigprocmask syscall.
4810 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4811 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4812 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4813 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4814 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4815 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4816
cfb6382a
JM
48172013-03-04 Joseph Myers <joseph@codesourcery.com>
4818
4819 [BZ #13550]
4820 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4821 comment about bounded pointers.
4822 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4823 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4824
539d8e01
AJ
48252013-03-04 Andreas Jaeger <aj@suse.de>
4826
4827 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4828 common definitions.
4829
4830 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4831 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4832 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4833 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4834 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
4835 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4836
2e167a70 48372013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
4838
4839 [BZ #15055]
4840 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4841 __ieee754_sqrl instead of __sqrl.
4842
68508633
JM
48432013-03-01 Joseph Myers <joseph@codesourcery.com>
4844
4845 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4846 * sysdeps/powerpc/fpu_control.h: ... here.
4847 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4848 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4849 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4850 * sysdeps/powerpc/bits/mathinline.h: ... here.
4851
7775448e
RM
48522013-03-01 Roland McGrath <roland@hack.frob.com>
4853
4854 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4855 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4856 to just [NEED_DL_SYSINFO_DSO].
4857 * elf/dl-support.c: Likewise.
4858 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4859 * elf/rtld.c (dl_main): Likewise.
4860 * elf/setup-vdso.h (setup_vdso): Likewise.
4861 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4862 * sysdeps/unix/sysv/linux/dl-sysdep.c
4863 (_dl_discover_osversion): Likewise.
4864
4e9b5995
CD
48652013-03-01 Carlos O'Donell <carlos@redhat.com>
4866
4867 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4868 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4869
e23872c8
SP
48702013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4871
e5c74c63
SP
4872 * NEWS: Mention libm performance improvements and non-x86 PI
4873 futex support.
4874
e23872c8
SP
4875 * csu/libc-start.c (__pthread_initialize_minimal): Change
4876 function arguments.
4877 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4878
b5510883
JM
48792013-02-28 Joseph Myers <joseph@codesourcery.com>
4880
4881 [BZ #13550]
4882 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4883 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4884 <bp-sym.h> and <bp-asm.h>.
4885 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4886 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4887 and <bp-asm.h>.
4888 (memcpy): Don't use BP_SYM.
4889 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4890 <bp-asm.h>.
4891 (__mpn_add_n): Don't use BP_SYM.
4892 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4893 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4894 and <bp-asm.h>.
4895 (__mpn_addmul_1): Don't use BP_SYM.
4896 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4897 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4898 <bp-sym.h>.
4899 (_setjmp): Don't use BP_SYM.
4900 (__novmx_setjmp): Likewise.
4901 (__GI__setjmp): Likewise.
4902 (__vmx_setjmp): Likewise.
4903 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4904 <bp-sym.h>.
4905 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4906 (__bzero): Don't use BP_SYM.
4907 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4908 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4909 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4910 <bp-sym.h> and <bp-asm.h>.
4911 (memcpy): Don't use BP_SYM.
4912 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4913 <bp-sym.h> and <bp-asm.h>.
4914 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4915 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4916 <bp-sym.h> and <bp-asm.h>.
4917 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4918 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4919 <bp-asm.h>.
4920 (__mpn_lshift): Don't use BP_SYM.
4921 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4922 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4923 <bp-asm.h>.
4924 (memset): Don't use BP_SYM.
4925 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4926 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4927 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4928 <bp-asm.h>.
4929 (__mpn_mul_1): Don't use BP_SYM.
4930 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4931 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4932 <bp-sym.h> and <bp-asm.h>.
4933 (memcmp): Don't use BP_SYM.
4934 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4935 <bp-sym.h> and <bp-asm.h>.
4936 (memcpy): Don't use BP_SYM.
4937 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4938 <bp-sym.h> and <bp-asm.h>.
4939 (memset): Don't use BP_SYM.
4940 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4941 <bp-sym.h> and <bp-asm.h>.
4942 (strncmp): Don't use BP_SYM.
4943 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4944 <bp-sym.h> and <bp-asm.h>.
4945 (memcpy): Don't use BP_SYM.
4946 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4947 <bp-sym.h> and <bp-asm.h>.
4948 (memset): Don't use BP_SYM.
4949 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4950 <bp-sym.h> and <bp-asm.h>.
4951 (__memchr): Don't use BP_SYM.
4952 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4953 <bp-sym.h> and <bp-asm.h>.
4954 (memcmp): Don't use BP_SYM.
4955 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4956 <bp-sym.h> and <bp-asm.h>.
4957 (memcpy): Don't use BP_SYM.
4958 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4959 <bp-sym.h> and <bp-asm.h>.
4960 (__mempcpy): Don't use BP_SYM.
4961 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4962 <bp-sym.h> and <bp-asm.h>.
4963 (__memrchr): Don't use BP_SYM.
4964 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4965 <bp-sym.h> and <bp-asm.h>.
4966 (memset): Don't use BP_SYM.
4967 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4968 <bp-sym.h> and <bp-asm.h>.
4969 (__rawmemchr): Don't use BP_SYM.
4970 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4971 <bp-sym.h> and <bp-asm.h>.
4972 (__STRCMP): Don't use BP_SYM.
4973 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4974 <bp-sym.h> and <bp-asm.h>.
4975 (strchr): Don't use BP_SYM.
4976 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4977 <bp-sym.h> and <bp-asm.h>.
4978 (__strchrnul): Don't use BP_SYM.
4979 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4980 <bp-sym.h> and <bp-asm.h>.
4981 (strlen): Don't use BP_SYM.
4982 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4983 <bp-sym.h> and <bp-asm.h>.
4984 (strncmp): Don't use BP_SYM.
4985 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4986 <bp-sym.h> and <bp-asm.h>.
4987 (__strnlen): Don't use BP_SYM.
4988 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4989 <bp-asm.h>.
4990 (__mpn_rshift): Don't use BP_SYM.
4991 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4992 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4993 <bp-sym.h> and <bp-asm.h>.
4994 (__sigsetjmp): Don't use BP_SYM.
4995 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4996 (L(start_addresses)): Don't use BP_SYM.
4997 (_start): Likewise.
4998 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4999 <bp-asm.h>.
5000 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5001 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5002 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5003 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5004 <bp-asm.h>.
5005 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5006 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5007 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5008 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5009 <bp-asm.h>.
5010 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5011 comments.
5012 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5013 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5014 <bp-asm.h>.
5015 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5016 FIXME comments.
5017 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5018 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5019 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5020 <bp-asm.h>.
5021 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5022 comment.
5023 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5024 and <bp-asm.h>.
5025 (strncmp): Don't use BP_SYM,
5026 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5027 <bp-asm.h>.
5028 (__mpn_sub_n): Don't use BP_SYM.
5029 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5030 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5031 and <bp-asm.h>.
5032 (__mpn_submul_1): Don't use BP_SYM.
5033 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5035 <bp-sym.h> and <bp-asm.h>.
5036 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5038 <bp-sym.h> and <bp-asm.h>.
5039 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5040 comment.
5041
8d19fe64
SP
50422013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5043
5044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5045 Use ZK to minimize writes to Z.
5046 (sub_magnitudes): Simplify code a bit.
5047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5048 Use ZK to minimize writes to Z.
5049 (sub_magnitudes): Simplify code a bit.
5050
85bd816a
RM
50512013-02-27 Roland McGrath <roland@hack.frob.com>
5052
5053 * csu/gmon-start.c: Add special exception to license text.
5054
b5977bf2
RH
50552013-02-27 Richard Henderson <rth@redhat.com>
5056
5057 * scripts/config.guess: Update from config.git.
5058 * scripts/config.sub: Likewise.
5059
11d6e2f2
SP
50602013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5061
09c14ed2
SP
5062 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5063
a688864e
SP
5064 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5065
6295157a
SP
5066 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5067
b8de2202
SP
5068 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5069
11d6e2f2
SP
5070 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5071
7e80ddb8
RM
50722013-02-26 Roland McGrath <roland@hack.frob.com>
5073
5074 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5075 [$(build-shared = yes].
7e80ddb8 5076
7da6d9ed
SP
50772013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5078
45f05884
SP
5079 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5080 (__mul): Reduce iterations for calculating mantissa.
5081
2236d359
SP
5082 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5083 MPTWO.
5084 (__mpranred): Likewise.
5085
7da6d9ed
SP
5086 [BZ #15160]
5087 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5088 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5089
b7688c42
PE
50902013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5091
5092 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5093 Define __attribute__.
5094
53a5c423
SP
50952013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5096
5097 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5098 unused.
5099 * posix/regex_internal.h (__attribute): Remove.
5100 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5101 (re_string_context_at): Likewise.
5102 (bitset_not): Use __attribute__ and mark function as possibly
5103 unused.
5104 (bitset_merge): Likewise.
5105 (bitset_mask): Likewise.
5106 (re_string_char_size_at): Likewise.
5107 (re_string_wchar_at): Likewise.
5108 (re_string_elem_size_at): Likewise.
5109
60f5a8b5
SP
51102013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5111
2a983a2e
SP
5112 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5113 code.
5114 (cc32): Likewise.
5115
e69804d1
SP
5116 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5117 (__acr): Likewise.
5118 (__cpy): Likewise.
5119 (norm): Likewise.
5120 (denorm): Likewise.
5121 (__dbl_mp): Likewise.
5122 (add_magnitudes): Likewise.
5123 (sub_magnitudes): Likewise.
5124 (__mul): Likewise.
5125 (__inv): Likewise.
5126
2f22a1e8
SP
5127 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5128 style.
5129
8930ddc7
SP
5130 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5131 style.
5132
dc60cb11
SP
5133 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5134 code.
5135
60f5a8b5
SP
5136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5137 up changes with default code.
5138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5139 Likewise.
5140
b4d1fd33
AM
51412013-02-24 Allan McRae <allan@archlinux.org>
5142
faf6f8bc
AM
5143 * manual/socket.texi (The Internet Namespace): Order menu items
5144 to match that in the file.
5145
b4d1fd33
AM
5146 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5147 node listing of the info page menu.
5148
2366713d
JM
51492013-02-21 Joseph Myers <joseph@codesourcery.com>
5150
5151 [BZ #13550]
5152 * sysdeps/i386/bp-asm.h: Remove file.
5153 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5154 (PARMS): Do not use macros from bp-asm.h.
5155 (S1): Likewise.
5156 (S2): Likewise.
5157 (SIZE): Likewise.
5158 (__mpn_add_n): Do not use BP_SYM
5159 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5160 "bp-asm.h".
5161 (PARMS): Do not use macros from bp-asm.h.
5162 (S1): Likewise.
5163 (SIZE): Likewise.
5164 (__mpn_addmul_1): Do not use BP_SYM
5165 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5166 "bp-asm.h".
5167 (PARMS): Do not use macros from bp-asm.h.
5168 (SIGMSK): Likewise.
5169 (_setjmp): Likewise. Do not use BP_SYM.
5170 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5171 "bp-asm.h".
5172 (PARMS): Do not use macros from bp-asm.h.
5173 (SIGMSK): Likewise.
5174 (setjmp): Likewise. Do not use BP_SYM.
5175 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5176 "bp-asm.h".
5177 (PARMS): Do not use macros from bp-asm.h.
5178 (__frexp): Do not use BP_SYM.
5179 (frexp): Likewise.
5180 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5181 "bp-asm.h".
5182 (PARMS): Do not use macros from bp-asm.h.
5183 (__frexpf): Do not use BP_SYM.
5184 (frexpf): Likewise.
5185 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5186 "bp-asm.h".
5187 (PARMS): Do not use macros from bp-asm.h.
5188 (__frexpl): Do not use BP_SYM.
5189 (frexpl): Likewise.
5190 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5191 "bp-asm.h".
5192 (PARMS): Do not use macros from bp-asm.h.
5193 (__remquo): Do not use BP_SYM.
5194 (remquo): Likewise.
5195 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5196 "bp-asm.h".
5197 (PARMS): Do not use macros from bp-asm.h.
5198 (__remquof): Do not use BP_SYM.
5199 (remquof): Likewise.
5200 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5201 "bp-asm.h".
5202 (PARMS): Do not use macros from bp-asm.h.
5203 (__remquol): Do not use BP_SYM.
5204 (remquol): Likewise.
5205 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5206 "bp-asm.h".
5207 (PARMS): Do not use macros from bp-asm.h.
5208 (DEST): Likewise.
5209 (SRC): Likewise.
5210 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5211 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5212 "bp-asm.h".
5213 (PARMS): Do not use macros from bp-asm.h.
5214 (strlen): Do not use BP_SYM.
5215 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5216 "bp-asm.h".
5217 (PARMS): Do not use macros from bp-asm.h.
5218 (S1): Likewise.
5219 (S2): Likewise.
5220 (SIZE): Likewise.
5221 (__mpn_add_n): Do not use BP_SYM.
5222 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5223 "bp-asm.h".
5224 (PARMS): Do not use macros from bp-asm.h.
5225 (S1): Likewise.
5226 (SIZE): Likewise.
5227 (__mpn_addmul_1): Do not use BP_SYM.
5228 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5229 weak_alias.
5230 (bzero): Likewise.
5231 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5232 "bp-asm.h".
5233 (PARMS): Do not use macros from bp-asm.h.
5234 (S): Likewise.
5235 (SIZE): Likewise.
5236 (__mpn_lshift): Do not use BP_SYM.
5237 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5238 "bp-asm.h".
5239 (PARMS): Do not use macros from bp-asm.h.
5240 (DEST): Likewise.
5241 (SRC): Likewise.
5242 (LEN): Likewise.
5243 (memcpy): Likewise. Do not use BP_SYM.
5244 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5245 libc_hidden_def and weak_alias.
5246 (mempcpy): Do not use BP_SYM in weak_alias.
5247 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5248 "bp-asm.h".
5249 (PARMS): Do not use macros from bp-asm.h.
5250 (DEST): Likewise.
5251 (LEN): Likewise.
5252 [!BZERO_P] (CHR): Likewise.
5253 (memset): Likewise. Do not use BP_SYM.
5254 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5255 "bp-asm.h".
5256 (PARMS): Do not use macros from bp-asm.h.
5257 (S1): Likewise.
5258 (SIZE): Likewise.
5259 (__mpn_mul_1): Do not use BP_SYM.
5260 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5261 "bp-asm.h".
5262 (PARMS): Do not use macros from bp-asm.h.
5263 (S): Likewise.
5264 (SIZE): Likewise.
5265 (__mpn_rshift): Do not use BP_SYM.
5266 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5267 "bp-asm.h".
5268 (PARMS): Do not use macros from bp-asm.h.
5269 (STR): Likewise.
5270 (CHR): Likewise.
5271 (strchr): Likewise. Do not use BP_SYM.
5272 (index): Do not use BP_SYM in weak_alias.
5273 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5274 "bp-asm.h".
5275 (PARMS): Do not use macros from bp-asm.h.
5276 (DEST): Likewise.
5277 (SRC): Likewise.
5278 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5279 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5280 "bp-asm.h".
5281 (PARMS): Do not use macros from bp-asm.h.
5282 (strlen): Do not use BP_SYM.
5283 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5284 "bp-asm.h".
5285 (PARMS): Do not use macros from bp-asm.h.
5286 (S1): Likewise.
5287 (S2): Likewise.
5288 (SIZE): Likewise.
5289 (__mpn_sub_n): Do not use BP_SYM.
5290 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5291 "bp-asm.h".
5292 (PARMS): Do not use macros from bp-asm.h.
5293 (S1): Likewise.
5294 (SIZE): Likewise.
5295 (__mpn_submul_1): Do not use BP_SYM.
5296 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5297 "bp-asm.h".
5298 (PARMS): Do not use macros from bp-asm.h.
5299 (S1): Likewise.
5300 (S2): Likewise.
5301 (SIZE): Likewise.
5302 (__mpn_add_n): Do not use BP_SYM.
5303 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5304 weak_alias.
5305 (bzero): Likewise.
5306 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5307 "bp-asm.h".
5308 (PARMS): Do not use macros from bp-asm.h.
5309 (BLK2): Likewise.
5310 (LEN): Likewise.
5311 (memcmp): Do not use BP_SYM.
5312 (bcmp): Do not use BP_SYM in weak_alias.
5313 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5314 "bp-asm.h".
5315 (PARMS): Do not use macros from bp-asm.h.
5316 (DEST): Likewise.
5317 (SRC): Likewise.
5318 (LEN): Likewise.
5319 (memcpy): Likewise. Do not use BP_SYM.
5320 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5321 "bp-asm.h".
5322 (PARMS): Do not use macros from bp-asm.h.
5323 (DEST): Likewise.
5324 (SRC): Likewise.
5325 (LEN): Likewise.
5326 (memmove): Likewise. Do not use BP_SYM.
5327 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5328 "bp-asm.h".
5329 (PARMS): Do not use macros from bp-asm.h.
5330 (DEST): Likewise.
5331 (SRC): Likewise.
5332 (LEN): Likewise.
5333 (__mempcpy): Likewise. Do not use BP_SYM.
5334 (mempcpy): Do not use BP_SYM in weak_alias.
5335 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5336 "bp-asm.h".
5337 (PARMS): Do not use macros from bp-asm.h.
5338 (DEST): Likewise.
5339 (LEN): Likewise.
5340 [!BZERO_P] (CHR): Likewise.
5341 (memset): Likewise. Do not use BP_SYM.
5342 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5343 "bp-asm.h".
5344 (PARMS): Do not use macros from bp-asm.h.
5345 (STR2): Likewise.
5346 (strcmp): Do not use BP_SYM.
5347 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5348 "bp-asm.h".
5349 (PARMS): Do not use macros from bp-asm.h.
5350 (STR): Likewise.
5351 (DELIM): Likewise.
5352 [USE_AS_STRTOK_R] (SAVE): Likewise.
5353 (FUNCTION): Likewise. Do not use BP_SYM.
5354 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5355 aliases.
5356 (strtok_r): Likewise.
5357 (__GI___strtok_r): Likewise.
5358 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5359 (PARMS): Do not use macros from bp-asm.h.
5360 (S): Likewise.
5361 (SIZE): Likewise.
5362 (__mpn_lshift): Do not use BP_SYM.
5363 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5364 (PARMS): Do not use macros from bp-asm.h.
5365 (STR): Likewise.
5366 (CHR): Likewise.
5367 (__memchr): Do not use BP_SYM.
5368 (memchr): Do not use BP_SYM in weak_alias.
5369 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5370 (PARMS): Do not use macros from bp-asm.h.
5371 (BLK2): Likewise.
5372 (LEN): Likewise.
5373 (memcmp): Do not use BP_SYM.
5374 (bcmp): Do not use BP_SYM in weak_alias.
5375 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5376 (PARMS): Do not use macros from bp-asm.h.
5377 (S1): Likewise.
5378 (SIZE): Likewise.
5379 (__mpn_mul_1): Do not use BP_SYM.
5380 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5381 "bp-asm.h".
5382 (PARMS): Do not use macros from bp-asm.h.
5383 (STR): Likewise.
5384 (CHR): Likewise.
5385 (__rawmemchr): Do not use BP_SYM.
5386 (rawmemchr): Do not use BP_SYM in weak_alias.
5387 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5388 (PARMS): Do not use macros from bp-asm.h.
5389 (S): Likewise.
5390 (SIZE): Likewise.
5391 (__mpn_rshift): Do not use BP_SYM.
5392 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5393 (PARMS): Do not use macros from bp-asm.h.
5394 (SIGMSK): Likewise.
5395 (__sigsetjmp): Likewise. Do not use BP_SYM.
5396 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5397 (_start): Do not use BP_SYM.
5398 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5399 (PARMS): Do not use macros from bp-asm.h.
5400 (DEST): Likewise.
5401 (SRC): Likewise.
5402 (__stpcpy): Likewise. Do not use BP_SYM.
5403 (stpcpy): Do not use BP_SYM in weak_alias.
5404 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5405 "bp-asm.h".
5406 (PARMS): Do not use macros from bp-asm.h.
5407 (DEST): Likewise.
5408 (SRC): Likewise.
5409 (LEN): Likewise.
5410 (__stpncpy): Likewise. Do not use BP_SYM.
5411 (stpncpy): Do not use BP_SYM in weak_alias.
5412 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5413 (PARMS): Do not use macros from bp-asm.h.
5414 (STR): Likewise.
5415 (CHR): Likewise.
5416 (strchr): Likewise. Do not use BP_SYM.
5417 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5418 "bp-asm.h".
5419 (PARMS): Do not use macros from bp-asm.h.
5420 (STR): Likewise.
5421 (CHR): Likewise.
5422 (__strchrnul): Likewise. Do not use BP_SYM.
5423 (strchrnul): Do not use BP_SYM in weak_alias.
5424 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5425 "bp-asm.h".
5426 (PARMS): Do not use macros from bp-asm.h.
5427 (STOP): Likewise.
5428 (strcspn): Do not use BP_SYM.
5429 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5430 "bp-asm.h".
5431 (PARMS): Do not use macros from bp-asm.h.
5432 (STR): Likewise.
5433 (STOP): Likewise.
5434 (strpbrk): Likewise. Do not use BP_SYM.
5435 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5436 "bp-asm.h".
5437 (PARMS): Do not use macros from bp-asm.h.
5438 (STR): Likewise.
5439 (CHR): Likewise.
5440 (strrchr): Likewise. Do not use BP_SYM.
5441 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5442 (PARMS): Do not use macros from bp-asm.h.
5443 (SKIP): Likewise.
5444 (strspn): Do not use BP_SYM.
5445 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5446 (PARMS): Do not use macros from bp-asm.h.
5447 (STR): Likewise.
5448 (DELIM): Likewise.
5449 (SAVE): Likewise.
5450 (FUNCTION): Likewise. Do not use BP_SYM.
5451 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5452 aliases.
5453 (strtok_r): Likewise.
5454 (__GI___strtok_r): Likewise.
5455 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5456 (PARMS): Do not use macros from bp-asm.h.
5457 (S1): Likewise.
5458 (S2): Likewise.
5459 (SIZE): Likewise.
5460 (__mpn_sub_n): Do not use BP_SYM.
5461 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5462 "bp-asm.h".
5463 (PARMS): Do not use macros from bp-asm.h.
5464 (S1): Likewise.
5465 (SIZE): Likewise.
5466 (__mpn_submul_1): Do not use BP_SYM.
5467 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5468 <bp-sym.h>.
5469 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5470 and <bp-asm.h>.
5471 (PARMS): Do not use macros from bp-asm.h.
5472 (FLAGS): Likewise.
5473 (PTID): Likewise.
5474 (TLS): Likewise.
5475 (CTID): Likewise.
5476 (__clone): Do not use BP_SYM.
5477 (clone): Do not use BP_SYM in weak_alias.
5478 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5479 and <bp-asm.h>.
5480 (PARMS): Do not use macros from bp-asm.h.
5481 (LEN): Likewise.
5482 (__mmap64): Do not use BP_SYM.
5483 (mmap64): Do not use BP_SYM in weak_alias.
5484 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5485 <bp-sym.h> and <bp-asm.h>.
5486 (PARMS): Do not use macros from bp-asm.h.
5487 (__posix_fadvise64_l64): Do not use BP_SYM.
5488 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5489 (PARMS): Do not use macros from bp-asm.h.
5490 (NSOPS): Likewise.
5491 (semtimedop): Do not use BP_SYM.
5492 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5493 and <bp-asm.h>.
5494
582a3cff
AM
54952013-02-21 Allan McRae <allan@archlinux.org>
5496
5497 * manual/message.texi (Charset conversion in gettext):
5498 Move @end statement to beginning of line.
5499
bab8a695
SP
55002013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5501
80945231
SP
5502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5503 static.
5504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5505 Likewise.
5506
bab8a695
SP
5507 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5508 (denorm): Likewise.
5509 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5511
e21d7aa7
AK
55122013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5513
5514 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5515 tail-call to the resolved function if pltexit isn't needed.
5516
4c7a4263
SP
55172013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5518
5519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5520 or Y being zero as being unlikely.
5521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5522 Likewise.
5523
41f49342
CD
55242013-02-20 Carlos O'Donell <carlos@redhat.com>
5525
5526 * manual/nss.texi (System Databases and Name Service Switch):
5527 Remove frobnicate @pxref.
5528
50022a93
TS
55292013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5530
5531 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5532 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5533
08cbd996
PM
55342013-02-20 Petr Machata <pmachata@redhat.com>
5535
5536 * elf/elf.h (R_ARM_TARGET1): New macro.
5537 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5538 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5539 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5540 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5541 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5542 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5543 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5544 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5545 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5546 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5547 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5548 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5549 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5550 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5551 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5552 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5553 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5554 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5555 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5556 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5557 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5558 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5559 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5560 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5561 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5562 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5563 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5564 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5565 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5566 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5567 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5568 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5569 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5570 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5571 (R_ARM_THM_GOT_BREL12): Likewise.
5572 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5573 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5574 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5575 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5576 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5577 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5578 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5579 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5580 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5581
c7b275d6
TS
55822013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5583
5584 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5585 __attribute_used__ to __attribute__ ((unused)).
5586
20cd7fb3
SP
55872013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5588
5589 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5590 powerpc mpa.c.
5591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5592 comment formatting.
5593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5594
92945b52
JM
55952013-02-19 Joseph Myers <joseph@codesourcery.com>
5596
5597 [BZ #13550]
5598 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5599 Remove macro.
5600 (ENTER): Remove both macro definitions.
5601 (LEAVE): Likewise.
5602 (CHECK_BOUNDS_LOW): Likewise.
5603 (CHECK_BOUNDS_HIGH): Likewise.
5604 (CHECK_BOUNDS_BOTH): Likewise.
5605 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5606 (RETURN_BOUNDED_POINTER): Likewise.
5607 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5608 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5609 (POP_ERRNO_LOCATION_RETURN): Likewise.
5610 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5611 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5612 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5613 macros.
5614 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5615 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5616 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5617 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5618 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5619 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5620 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5621 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5622 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5623 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5624 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5625 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5626 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5627 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5628 removed macros.
5629 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5630 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5631 macros.
5632 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5633 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5634 * sysdeps/i386/i586/memset.S (memset): Likewise.
5635 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5636 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5637 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5638 macros.
5639 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5640 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5641 Change uses of L(2) to L(out).
5642 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5643 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5644 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5645 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5646 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5647 removed macros.
5648 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5649 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5650 macros.
5651 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5652 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5653 (RETURN): Do not use macro LEAVE.
5654 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5655 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5656 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5657 * sysdeps/i386/i686/memset.S (memset): Likewise.
5658 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5659 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5660 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5661 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5662 Likewise.
5663 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5664 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5665 L(1_2) and L(1_3) into L(1).
5666 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5667 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5668 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5669 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5670 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5671 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5672 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5673 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5674 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5675 macros.
5676 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5677 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5678 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5679 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5680 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5681 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5682 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5683 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5684 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5685 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5686 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5687 * sysdeps/i386/strspn.S (strspn): Likewise.
5688 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5689 conditional code.
5690 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5691 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5692 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5693 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5694 L(1_3) into L(1_1).
5695 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5696 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5697 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5698 macros.
5699 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5700
2389741a
JJ
57012013-02-19 Jakub Jelinek <jakub@redhat.com>
5702
5703 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5704 macro.
5705
2016b3cd
SP
57062013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5707
e4f22324
SP
5708 * math/atest-exp.c (exp_mpn): Remove ROUND.
5709 * math/atest-exp2.c (exp_mpn): Likewise.
5710 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5711
2016b3cd
SP
5712 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5713 * stdlib/tst-tls-atexit-lib.c: Likewise.
5714 * stdlib/tst-tls-atexit.c: Likewise.
5715
4be9b544
MF
57162013-02-18 Mike Frysinger <vapier@gentoo.org>
5717
5718 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5719 and __attribute_alloc_size__.
5720
2f62b9ee
MF
57212013-02-18 Mike Frysinger <vapier@gentoo.org>
5722
5723 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5724 __attribute_alloc_size__.
5725 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5726 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5727
6ff444c4
MF
57282013-02-18 Mike Frysinger <vapier@gentoo.org>
5729
5730 * include/programs/xmalloc.h: New file.
5731 * catgets/gencat.c: Include it.
5732 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5733 * elf/pldd.c: Likewise.
5734 * iconv/iconv_charmap.c: Likewise.
5735 * iconv/iconvconfig.c: Likewise.
5736 * iconv/strtab.c: Likewise.
5737 * locale/programs/locale.c: Likewise.
5738 * locale/programs/localedef.h: Likewise.
5739 * locale/programs/simple-hash.c: Likewise.
5740 * nscd/nscd.h: Likewise.
5741 * nss/makedb.c: Likewise.
5742 * sysdeps/generic/ldconfig.h: Likewise.
5743
be179c8a
SP
57442013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5745
ba384f6e
SP
5746 * Versions.def: Add GLIBC_2.18.
5747 * include/link.h (struct link_map): New member l_tls_dtor_count.
5748 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5749 (__call_tls_dtors): Likewise.
5750 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5751 __cxa_thread_atexit_impl.
5752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5753 Likewise.
5754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5755 Likewise.
5756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5757 Likewise.
5758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5759 Likewise.
5760 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5762 Likewise.
5763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5764 Likewise.
5765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5767 Likewise.
5768 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5769 (tests): Add test case tst-tls-atexit.
5770 (modules-names): Add shared library for tst-tls-atexit.
5771 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5772 (GLIBC_PRIVATE): Add __call_tls_dtors.
5773 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5774 for libstdc++.
5775 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5776 * stdlib/tst-tls-atexit.c: New test case.
5777 * stdlib/tst-tls-atexit-lib.c: New test case.
5778
ffaa74cf 5779 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 5780
be179c8a
SP
5781 * elf/Versions (ld): Add _dl_find_dso_for_object.
5782 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5783 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5784 (dl_open_worker): Use _dl_find_dso_for_object.
5785 * elf/dl-sym.c (do_sym): Likewise.
5786 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5787
f78b5caa
AK
57882013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5789
5790 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5791 Syntactic changes only.
5792 (_dl_runtime_profile): Do a tail-call to the resolved function.
5793
29691210
JM
57942013-02-17 Joseph Myers <joseph@codesourcery.com>
5795
5796 [BZ #13550]
5797 * sysdeps/x86_64/bp-asm.h: Remove file.
5798 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5799 <bp-sym.h> and <bp-asm.h>.
5800 (__clone): Do not use BP_SYM.
5801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5802 <bp-sym.h> and <bp-asm.h>.
5803 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5804 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5805 "bp-asm.h".
5806 (_setjmp): Do not use BP_SYM.
5807 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5808 "bp-asm.h".
5809 (setjmp): Do not use BP_SYM.
5810 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5811 libc_hidden_def.
5812 (mempcpy): Do not use BP_SYM in weak_alias.
5813 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5814 "bp-asm.h".
5815 (strchr): Do not use BP_SYM.
5816 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5817 "bp-asm.h".
5818 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5819 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5820 (_start): Do not use BP_SYM.
5821 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5822 "bp-asm.h".
5823 (strcat): Do not use BP_SYM.
5824 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5825 "bp-asm.h".
5826 (STRCMP): Do not use BP_SYM.
5827 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5828 "bp-asm.h".
5829 (STRCPY): Do not use BP_SYM.
5830 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5831 "bp-asm.h".
5832 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5833 "bp-asm.h".
5834 (FUNCTION): Do not use BP_SYM.
5835 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5836 weak_alias.
5837 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5838
f238fd19
AJ
58392013-02-17 Andreas Jaeger <aj@suse.de>
5840
5841 * time/Versions: Sort entries.
5842 * string/Versions: Likewise.
5843 * resolv/Versions: Likewise.
5844 * posix/Versions: Likewise.
5845 * iconv/Versions: Likewise.
5846 * elf/Versions: Likewise.
5847 * wcsmbs/Versions: Likewise.
5848
bd07f23c 58492013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 5850
22af19f9
SP
5851 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5852 loop termination condition.
5853
4709fe76
SP
5854 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5855 variable to calculate EZ.
5856 (__sqr): Likewise.
2d0e0f29
SP
5857
5858 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5859 the lower precision input.
5860
daaa7713
JM
58612013-02-15 Joseph Myers <joseph@codesourcery.com>
5862
5863 [BZ #13550]
5864 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5865 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5866 (run-via-rtld-prefix): Do not handle %-bp tests.
5867 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5868 (all-object-suffixes): Remove .ob.
5869 (bppfx): Remove variable.
5870 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5871 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5872 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5873 [$(build-bounded) = yes] (libtype.ob): Likewise.
5874 * Makerules (elide-routines.ob): Remove variable.
5875 (do-tests-clean): Do not handle *-bp.out.
5876 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5877 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5878 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5879 (tests): Do not include $(tests-bp.out).
5880 (xtests): Do not include $(xtests-bp.out).
5881 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5882 [$(build-bounded) = yes] ($(addprefix
5883 $(objpfx),$(binaries-bounded))): Remove rule.
5884 ($(objpfx)%-bp.out): Remove rule.
5885 * config.make.in (build-bounded): Remove variable.
5886 * crypt/Makefile [$(build-bounded) = yes]
5887 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5888 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5889 append to variable.
5890 [$(build-bounded) = yes] (install-lib): Likewise.
5891 [$(build-bounded) = yes] (generated): Likewise.
5892 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5893 Remove rule.
5894 * intl/Makefile [$(build-bounded) = yes]
5895 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5896 * math/Makefile [$(build-bounded) = yes]
5897 ($(tests:%=$(objpfx)%-bp): Likewise.
5898 * misc/Makefile [$(build-bounded) = yes]
5899 ($(objpfx)tst-tsearch-bp): Likewise.
5900 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5901 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5902 Remove dependency.
5903 * string/Makefile (o-objects.ob): Remove variable.
5904 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5905 (CFLAGS-.ob): Remove variable.
5906 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5907 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5908 both definitions of variable.
5909 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5910 (ASFLAGS-.ob): Remove variable.
5911
e97ed6dd
JM
59122013-02-14 Joseph Myers <joseph@codesourcery.com>
5913
2bdd4ca6
JM
5914 [BZ #13550]
5915 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5916 Remove __BOUNDED_POINTERS__ from condition.
5917 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5918 * string/bits/string2.h [!__NO_STRING_INLINES &&
5919 !__BOUNDED_POINTERS__]: Likewise.
5920 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5921 Likewise.
5922 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5923 Remove conditional code.
5924 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5925 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5926 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5927 condition.
5928
e97ed6dd
JM
5929 [BZ #13550]
5930 * csu/libc-start.c: Do not include <bp-sym.h>.
5931 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5932 * elf/dl-open.c: Do not include <bp-sym.h>.
5933 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5934 * math/fegetenv.c: Do not include <bp-sym.h>.
5935 (fegetenv): Do not use BP_SYM in versioned symbols.
5936 * nptl/sysdeps/pthread/bits/libc-lockP.h
5937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5938 <bp-sym.h>.
5939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5940 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5942 (__pthread_mutex_destroy): Likewise.
5943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5944 (__pthread_mutex_lock): Likewise.
5945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5946 (__pthread_mutex_trylock): Likewise.
5947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5948 (__pthread_mutex_unlock): Likewise.
5949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5950 (__pthread_mutexattr_init): Likewise.
5951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5952 (__pthread_mutexattr_destroy): Likewise.
5953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5954 (__pthread_mutexattr_settype): Likewise.
5955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5956 (__pthread_rwlock_init): Likewise.
5957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5958 (__pthread_rwlock_destroy): Likewise.
5959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5960 (__pthread_rwlock_rdlock): Likewise.
5961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5962 (__pthread_rwlock_tryrdlock): Likewise.
5963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5964 (__pthread_rwlock_wrlock): Likewise.
5965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5966 (__pthread_rwlock_trywrlock): Likewise.
5967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5968 (__pthread_rwlock_unlock): Likewise.
5969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5970 (__pthread_key_create): Likewise.
5971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5972 (__pthread_setspecific): Likewise.
5973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5974 (__pthread_getspecific): Likewise.
5975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5976 Likewise.
5977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5978 (_pthread_cleanup_push_defer): Likewise.
5979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5980 (_pthread_cleanup_pop_restore): Likewise.
5981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5982 (pthread_setcancelstate): Likewise.
5983 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5984 <bp-sym.h>.
5985 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5986 (memchr): Do not use BP_SYM in weak_alias.
5987 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5988 (fegetenv): Do not use BP_SYM in versioned symbols.
5989 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5990 (fesetenv): Do not use BP_SYM in versioned symbols.
5991 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5992 (feupdateenv): Do not use BP_SYM in versioned symbols.
5993 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5994 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5995 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5996 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5997 (open64): Do not use BP_SYM in weak_alias.
5998 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5999 (fegetenv): Do not use BP_SYM in versioned symbols.
6000 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6001 (fesetenv): Do not use BP_SYM in versioned symbols.
6002 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6003 (feupdateenv): Do not use BP_SYM in versioned symbols.
6004 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6005 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6006 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6007 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6008 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6009 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6010 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6011 <bp-sym.h>.
6012 (__libc_start_main): Do not use BP_SYM.
6013
d6752ccd
SP
60142013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6015
cb57ce60
SP
6016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6017 redundant return line.
6018 (norm): Likewise.
6019 (denorm): Likewise.
6020 (dbl_mp): Likewise.
6021 (sub_magnitudes): Likewise.
6022 (__add): Likewise.
6023 (__sub): Likewise.
6024 (__mul): Likewise.
6025 (__inv): Likewise.
6026 (__dvd): Likewise.
6027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6028 (norm): Likewise.
6029 (denorm): Likewise.
6030 (dbl_mp): Likewise.
6031 (sub_magnitudes): Likewise.
6032 (__add): Likewise.
6033 (__sub): Likewise.
6034 (__mul): Likewise.
6035 (__inv): Likewise.
6036 (__dvd): Likewise.
6037
f414520d
SP
6038 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6039 instead of __mul.
6040 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6041 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6042 (cc32): Likewise.
6043
d6752ccd
SP
6044 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6045 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6046 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6047 of __mul for squares.
6048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6049 function
6050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6051 Likewise.
6052 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6053 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6054
70d9946a
JM
60552013-02-13 Joseph Myers <joseph@codesourcery.com>
6056
6057 [BZ #13550]
6058 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6059 code.
6060 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6061 prototype or function definition. Rename ubp_* variables and
6062 parameters. Remove argv definitions conditional on
6063 [__BOUNDED_POINTERS__].
6064 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6065 * elf/dl-runtime.c (_dl_fixup): Likewise.
6066 * include/set-hooks.h (RUN_HOOK): Likewise.
6067 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6068 definition.
6069 * string/strcpy.c (strcpy): Do not use __unbounded.
6070 * sysdeps/generic/frame.h (struct layout): Likewise.
6071 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6072 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6073 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6074 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6075 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6076 (__backtrace): Likewise.
6077 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6078 use __ptrvalue.
6079 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6080 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6081 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6082 Likewise.
6083 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6084 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6085 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6086 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6087 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6088 Do not use __unbounded.
6089 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6090 Rename __unboundedrlimits parameter to rlimits in prototype.
6091 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6092 Do not use __unbounded.
6093 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6094 not use __ptrvalue.
6095 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6096 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6097 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6098 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6099 __ptrvalue or __unbounded.
6100 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6101 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6102 use __unbounded.
6103 (__new_msgctl): Do not use __ptrvalue.
6104 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6105 __unbounded.
6106 (__libc_msgrcv): Do not use __ptrvalue.
6107 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6108 startup_info): Do not use __unbounded.
6109 (__libc_start_main): Likewise. Rename ubp_* variables and
6110 parameters. Remove argv definitions conditional on
6111 [__BOUNDED_POINTERS__].
6112 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6113 __ptrvalue.
6114 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6115 use __unbounded.
6116 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6117 or __ptrvalue.
6118 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6119 use __unbounded.
6120 (__new_shmctl): Do not use __ptrvalue.
6121 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6122 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6123 Likewise.
6124 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6125 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6126 (__libc_sigaction): Likewise.
6127 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6128 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6129 Likewise.
6130 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6131
cc7834d6
OB
61322013-02-13 Ondřej Bílka <neleai@seznam.cz>
6133
ffb1ec7b 6134 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6135
6136 * string/mempcpy.c: Implement by calling memcpy.
6137
bdf02814
SP
61382013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6139
c2af38aa
SP
6140 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6141
4e92d59e
SP
6142 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6143 evaluation.
6144
909279a5
SP
6145 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6146 values in the mantissa.
6147
bdf02814
SP
6148 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6149 minimize writes to Z.
6150 (sub_magnitudes): Simplify code a bit.
6151
cd525923
RM
61522013-02-12 Roland McGrath <roland@hack.frob.com>
6153
6154 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6155 from the message. The linker prefixes all warnings with that already.
6156
7e2f0d2d
AS
61572013-02-12 Andreas Schwab <schwab@suse.de>
6158
a445af0b
AS
6159 [BZ #15078]
6160 * posix/regexec.c (extend_buffers): Add parameter min_len.
6161 (check_matching): Pass minimum needed length.
6162 (clean_state_log_if_needed): Likewise.
6163 (get_subexp): Likewise.
6164 * posix/Makefile (tests): Add bug-regex34.
6165 (bug-regex34-ENV): Define.
6166 * posix/bug-regex34.c: New file.
6167
7e2f0d2d
AS
6168 [BZ #11561]
6169 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6170 elements compare against the byte sequence of it, not its name.
6171 * posix/Makefile (tests): Add bug-regex35.
6172 (bug-regex35-ENV): Define.
6173 * posix/bug-regex35.c: New file.
6174
a175b684
TV
61752013-02-11 Tom de Vries <tom@codesourcery.com>
6176
6177 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6178 comment.
6179 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6180 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6181 (CHECK_EOL): Add undef.
6182
310998fe 61832013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6184
6185 * bits/stdlib-bsearch.h: New file.
6186 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6187 * stdlib/stdlib.h: Likewise.
41eda41d 6188
8ded91fb
RM
61892013-02-11 Roland McGrath <roland@hack.frob.com>
6190
6191 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6192 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6193 declaration.
6194 * manual/search.texi (Array Search Function): Add missing const in
6195 lfind prototype.
6196 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6197 declaration to use rlim_t.
6198 (Basic Scheduling Functions): Remove erroneous const from
6199 sched_getparam prototype. Remove erroneous * from
6200 sched_get_priority_max and sched_get_priority_min prototypes.
6201 (Resource Usage): Fix summary @comment on vtimes to refer to
6202 sys/vtimes.h rather than vtimes.h.
6203 Add missing *s in vtimes prototype.
6204 (Limits on Resources): Fix ulimit prototype to return long int.
6205 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6206 prototypes to use long int rather than double.
6207 (BSD Random): Fix initstate and setstate to use char *, not void *.
6208 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6209 prototype to make second argument 'struct aiocb64 *const[]'.
6210 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6211 (Status of AIO Operations): Remove erroneous const in aio_return and
6212 aio_return64 prototypes.
6213 (Synchronizing I/O): Fix sync prototype to return void.
6214 * manual/startup.texi (Suboptions): Remove an erroneous const in
6215 getsubopt prototype.
6216 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6217 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6218 use size_t rather than int.
6219 (Scanning All Users): Likewise for getpwent_r.
6220 (Setting Groups): Add missing const to setgroups prototype.
6221 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6222 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6223 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6224 'const void *' rather than 'const char *'.
6225 (Host Address Functions): Likewise for inet_ntop.
6226 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6227 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6228 ssize_t for return value.
6229 (Sending Data): Likewise for send, sendto, sendmsg.
6230 (Socket Option Functions): Add a missing const in setsockopt prototype.
6231 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6232 use wchar_t for the argument.
6233 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6234 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6235 take no arguments.
6236 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6237 double/float/long double for second argument.
6238 Fix return types of significand, significandf, significandl.
6239 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6240 argument in fchmod prototype.
6241 (File Owner): Use uid_t and gid_t in fchown prototype.
6242 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6243 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6244 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6245 use 'const struct dirent **' as argument types to CMP function pointer
6246 argument.
6247 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6248 (File Times): Fix summary magic @comment for struct utimbuf and utime
6249 to refer to utime.h, not time.h.
6250 * manual/string.texi (Argz Functions): Add missing const in
6251 argz_extract and argz_next prototypes.
6252 (Finding Tokens in a String): Likewise for basename.
6253 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6254 (Copying and Concatenation): Fix typo in wmemmove prototype.
6255 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6256 (Signal Stack): Remove erroneous const in sigstack prototype.
6257 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6258 prototype.
6259 (Simple Calendar Time): Likewise for stime.
6260 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6261 prototype.
6262 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6263 say sys/sysctl.h instead.
6264 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6265 and vsyslog prototypes.
6266
fe77fe6d
TV
62672013-02-11 Tom de Vries <tom@codesourcery.com>
6268
6269 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6270 Remove.
6271
3a09b620
RM
62722013-02-11 Roland McGrath <roland@hack.frob.com>
6273
6274 * misc/sys/mman.h: Fix typo in mremap comment.
6275
550a0b89
RM
62762013-02-08 Roland McGrath <roland@hack.frob.com>
6277
6278 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6279 the '\0' terminator.
6280
a2da1673
JM
62812013-02-08 Joseph Myers <joseph@codesourcery.com>
6282
6283 [BZ #13550]
6284 * debug/segfault.c: Don't include <bp-checks.h>.
6285 * sysdeps/generic/bp-checks.h: Remove file.
6286 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6287 (__GETDENTS): Don't use CHECK_N.
6288 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6289 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6290 (__getgroups): Don't use CHECK_N.
6291 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6292 (setgroups): Don't use CHECK_N.
6293 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6294 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6295 (__libc_msgrcv): Don't use CHECK_N.
6296 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6297 (__libc_msgsnd): Don't use CHECK_N.
6298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6299 <bp-checks.h>.
6300 (__libc_pread): Don't use CHECK_N.
6301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6302 include <bp-checks.h>.
6303 (__libc_pread64): Don't use CHECK_N.
6304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6305 include <bp-checks.h>.
6306 (__libc_pwrite): Don't use CHECK_N.
6307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6308 include <bp-checks.h>.
6309 (__libc_pwrite64): Don't use CHECK_N.
6310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6311 <bp-checks.h>.
6312 (__libc_pread): Don't use CHECK_N.
6313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6314 include <bp-checks.h>.
6315 (__libc_pread64): Don't use CHECK_N.
6316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6317 include <bp-checks.h>.
6318 (__libc_pwrite): Don't use CHECK_N.
6319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6320 include <bp-checks.h>.
6321 (__libc_pwrite64): Don't use CHECK_N.
6322 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6323 (do_pread): Don't use CHECK_N.
6324 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6325 (do_pread64): Don't use CHECK_N.
6326 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6327 (do_pwrite): Don't use CHECK_N.
6328 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6329 (do_pwrite64): Don't use CHECK_N.
6330 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6331 (__libc_readv): Don't use CHECK_N.
6332 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6333 (semop): Don't use CHECK_N.
6334 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6335 <bp-checks.h>.
6336 (semtimedop): Don't use CHECK_N.
6337 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6338 (__libc_pread): Don't use CHECK_N.
6339 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6340 <bp-checks.h>.
6341 (__libc_pread64): Don't use CHECK_N.
6342 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6343 <bp-checks.h>.
6344 (__libc_pwrite): Don't use CHECK_N.
6345 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6346 <bp-checks.h>.
6347 (__libc_pwrite64): Don't use CHECK_N.
6348 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6349 <bp-checks.h>.
6350 (__libc_msgrcv): Don't use CHECK_N.
6351 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6352 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6353 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6354 (__libc_writev): Don't use CHECK_N.
6355
b84660a8
RM
63562013-02-08 Roland McGrath <roland@hack.frob.com>
6357
7f3e75f8
RM
6358 * string/strcpy.c: Removed unused variable.
6359
b84660a8
RM
6360 * Makeconfig (+sysdep-includes): Define with := rather than =.
6361 Use an existing include/ subdir of each sysdeps dir before it.
6362
471514d3
CD
63632013-02-08 Carlos O'Donell <carlos@redhat.com>
6364
6365 * nscd/connection.c (register_traced_file): Comment function.
6366 [HAVE_INOTIFY] (union __inev): Define.
6367 [HAVE_INOTIFY] (inotify_check_files): New function.
6368 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6369 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6370 clear_db_cache.
6371 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6372
b2d3c3be
CD
63732013-02-08 Carlos O'Donell <carlos@redhat.com>
6374
6375 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6376 loaded if not already and that a failure is permanent.
6377
b39949d2
CD
63782013-02-08 Carlos O'Donell <carlos@redhat.com>
6379
ddacd1db 6380 [BZ #15006]
b39949d2
CD
6381 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6382 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6383
b2c9eff4
JM
63842013-02-08 Joseph Myers <joseph@codesourcery.com>
6385
f3aae3f3
JM
6386 [BZ #13550]
6387 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6388 (CHECK_1_NULL_OK): Likewise.
6389 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6390 (__fxstat): Do not use CHECK_1.
6391 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6392 <bp-checks.h>.
6393 (___fxstat64): Do not use CHECK_1.
6394 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6395 <bp-checks.h>.
6396 (__fxstatat): Do not use CHECK_1.
6397 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6398 <bp-checks.h>.
6399 (__fxstatat64): Do not use CHECK_1.
6400 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6401 <bp-checks.h>.
6402 (__fxstat): Do not use CHECK_1.
6403 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6404 <bp-checks.h>.
6405 (__fxstatat): Do not use CHECK_1.
6406 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6407 <bp-checks.h>.
6408 (__getresgid): Do not use CHECK_1.
6409 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6410 <bp-checks.h>.
6411 (__getresuid): Do not use CHECK_1.
6412 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6413 <bp-checks.h>.
6414 (__lxstat): Do not use CHECK_1.
6415 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6416 <bp-checks.h>.
6417 (__old_msgctl): Do not use CHECK_1.
6418 (__new_msgctl): Likewise.
6419 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6420 <bp-checks.h>.
6421 (__new_setrlimit): Do not use CHECK_1.
6422 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6423 <bp-checks.h>.
6424 (__old_shmctl): Do not use CHECK_1.
6425 (__new_shmctl): Likewise.
6426 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6427 <bp-checks.h>.
6428 (__xstat): Do not use CHECK_1.
6429 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6430 (__lxstat): Do not use CHECK_1.
6431 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6432 <bp-checks.h>.
6433 (___lxstat64): Do not use CHECK_1.
6434 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6435 (__old_msgctl): Do not use CHECK_1.
6436 (__new_msgctl): Likewise.
6437 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6438 <bp-checks.h>.
6439 (__gettimeofday): Do not use CHECK_1.
6440 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6441 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6442 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6443 <bp-checks.h>.
6444 (__gettimeofday): Do not use CHECK_1.
6445 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6446 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6447 (__new_shmctl): Do not use CHECK_1.
6448 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6449 <bp-checks.h>.
6450 (do_sigtimedwait): Do not use CHECK_1.
6451 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6452 <bp-checks.h>.
6453 (do_sigwaitinfo): Do not use CHECK_1.
6454 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6455 <bp-checks.h>.
6456 (msgctl): Do not use CHECK_1.
6457 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6458 <bp-checks.h>.
6459 (shmctl): Do not use CHECK_1.
6460 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6461 (ustat): Do not use CHECK_1.
6462 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6463 <bp-checks.h>.
6464 (__fxstat): Do not use CHECK_1.
6465 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6466 <bp-checks.h>.
6467 (__fxstatat): Do not use CHECK_1.
6468 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6469 <bp-checks.h>.
6470 (__lxstat): Do not use CHECK_1.
6471 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6472 <bp-checks.h>.
6473 (__xstat): Do not use CHECK_1.
6474 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6475 (__xstat): Do not use CHECK_1.
6476 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6477 (___xstat64): Do not use CHECK_1.
6478
b2c9eff4
JM
6479 [BZ #13550]
6480 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6481 definitions.
6482 (CHECK_BOUNDS_HIGH): Likewise.
6483 * string/strcpy.c: Do not include <bp-checks.h>.
6484 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6485
f1d70dad
RM
64862013-02-07 Roland McGrath <roland@hack.frob.com>
6487
6488 * nscd/nscd-client.h (__nscd_drop_map_ref):
6489 Add __attribute__ ((unused)).
6490 * nis/nss-nisplus.h (niserr2nss): Likewise.
6491
6492 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6493 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6494
6495 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6496 Remove inline keyword.
6497 * include/rounding-mode.h (round_away): Likewise.
6498 * libio/wfileops.c (adjust_wide_data): Likewise.
6499 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6500 (__m128i_strloadu_tolower): Likewise.
6501 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6502 (__m128i_strloadu_tolower): Likewise.
6503 * time/mktime.c (ydhms_diff): Likewise.
6504 * locale/elem-hash.h (elem_hash): Likewise.
6505 * locale/setlocale.c (setdata): Likewise.
6506 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6507 (re_string_wchar_at): Likewise.
6508 (bitset_not, bitset_merge, bitset_mask): Likewise.
6509 [!(__GNUC__ > 3)] (inline): Remove macro.
6510 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6511 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6512 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6513 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6514 * string/memcmp.c (memcmp_bytes): Likewise.
6515 * locale/programs/locarchive.c (compute_hashval): Likewise.
6516 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6517 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6518 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6519 * nss/getent.c (print_rpc, print_protocols): Likewise.
6520 (print_passwd, print_group, print_aliases): Likewise.
6521 * nis/nss-nisplus.h (niserr2nss): Likewise.
6522 * nscd/connections.c (restart_p): Likewise.
6523 Change return type to bool.
6524
eab55bfb
RM
65252013-02-05 Roland McGrath <roland@hack.frob.com>
6526
7bd642f5
RM
6527 * Makeconfig (all-Depend-files): Add existing
6528 $(sorted-subdirs:=/Depend) files.
6529 (all-subdirs): Remove nss.
6530 * sysdeps/unix/inet/Subdirs: Add it here instead.
6531 * hesiod/Depend: New file.
6532
573c29b2
RM
6533 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6534 instead of calling alloca.
6535
b2e25af0
RM
6536 * io/lseek.c (__lseek): Rename to __libc_lseek.
6537 Define __lseek as an alias.
6538
eab55bfb
RM
6539 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6540
9a0d1941
CD
65412013-02-04 Carlos O'Donell <carlos@redhat.com>
6542
6543 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6544 else clause and remove check for non-standard endianness.
6545
b83bbec4
DM
65462013-02-04 David S. Miller <davem@davemloft.net>
6547
6548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6549
6277fdab
JM
65502013-02-04 Joseph Myers <joseph@codesourcery.com>
6551
6552 [BZ #13550]
6553 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6554 (__ubp_memchr): Remove prototype.
6555 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6556 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6557 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6558 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6559 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6560 Remove alias.
6561 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6562 (__ubp_memchr): Likewise.
6563 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6564 (__ubp_memchr): Likewise.
6565 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6566 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6567 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6568 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6569 CHECK_STRING.
6570 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6571 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6572 (__getcwd): Do not use CHECK_STRING.
6573 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6574 <bp-checks.h>.
6575 (__real_chown): Do not use CHECK_STRING.
6576 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6577 <bp-checks.h>.
6578 (fchownat): Do not use CHECK_STRING.
6579 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6580 CHECK_STRING.
6581 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6582 <bp-checks.h>.
6583 (__lchown): Do not use CHECK_STRING.
6584 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6585 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6586 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6587 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6589 include <bp-checks.h>.
6590 (truncate64): Do not use CHECK_STRING.
6591 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6592 <bp-checks.h>.
6593 (__real_chown): Do not use CHECK_STRING.
6594 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6595 <bp-checks.h>.
6596 (__lchown): Do not use CHECK_STRING.
6597 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6598 <bp-checks.h>.
6599 (__chown): Do not use CHECK_STRING.
6600 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6601 <bp-checks.h>.
6602 (truncate64): Do not use CHECK_STRING.
6603 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6604 Likewise.
6605 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6606 (__xmknod): Do not use CHECK_STRING.
6607 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6608 <bp-checks.h>.
6609 (__xmknodat): Do not use CHECK_STRING.
6610 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6611 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6612
903ae060
AS
66132013-02-04 Andreas Schwab <schwab@suse.de>
6614
6615 [BZ #14142]
6616 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6617 * include/netdb.h: Likewise for h_errno.
6618 * elf/tst-stackguard1.c: Include <tls.h>.
6619
542f9466
JK
66202013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6621
6622 * elf/link.h (struct link_map): Extend the l_addr comment.
6623 * include/link.h (struct link_map): Likewise.
6624
e782a927
JM
66252013-02-01 Joseph Myers <joseph@codesourcery.com>
6626
6627 [BZ #13550]
6628 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6629 (BOUNDED_1): Remove macro.
6630 * debug/backtrace.c: Don't include <bp-checks.h>.
6631 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6632 (__backtrace): Likewise.
6633 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6634 <bp-checks.h>.
6635 (__backtrace): Don't use BOUNDED_1.
6636 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6637 <bp-checks.h>.
6638 (__backtrace): Don't use BOUNDED_1.
6639 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6640 (__backtrace): Don't use BOUNDED_1.
6641 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6642 (shmat): Don't use BOUNDED_N.
6643
8cf28c5e
JM
66442013-01-31 Joseph Myers <joseph@codesourcery.com>
6645
3a7ac8a0
JM
6646 [BZ #13550]
6647 * sysdeps/generic/bp-start.h: Remove file.
6648 * csu/libc-start.c: Don't include <bp-start.h>.
6649 (LIBC_START_MAIN): Set up __environ directly instead of using
6650 INIT_ARGV_and_ENVIRON.
6651 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6652 <bp-start.h>.
6653
f3499f95
JM
6654 [BZ #13550]
6655 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6656 definitions.
6657 (CHECK_FCNTL): Likewise.
6658 (CHECK_N_PAGES): Likewise.
6659
32a45bea
JM
6660 [BZ #13550]
6661 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6662 definitions.
6663 (CHECK_SIGSET_NULL_OK): Likewise.
6664 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6665 <bp-checks.h>.
6666 (sigpending): Don't use CHECK_SIGSET.
6667 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6668 <bp-checks.h>.
6669 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6670 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6671 <bp-checks.h>.
6672 (do_sigsuspend): Don't use CHECK_SIGSET.
6673 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6674 use CHECK_SIGSET.
6675 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6676 (do_sigwait): Don't use CHECK_SIGSET.
6677 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6678 use CHECK_SIGSET.
6679 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6680 include <bp-checks.h>.
6681 (sigpending): Don't use CHECK_SIGSET.
6682 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6683 include <bp-checks.h>.
6684 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6685 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6686 <bp-checks.h>.
6687 (sigpending): Don't use CHECK_SIGSET.
6688 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6689 <bp-checks.h>.
6690 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6691
2e8a5c8c
JM
6692 [BZ #13550]
6693 * sysdeps/generic/bp-semctl.h: Remove file.
6694 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6695 <bp-checks.h> and <bp-semctl.h>.
6696 (__old_semctl): Don't use CHECK_SEMCTL.
6697 (__new_semctl): Likewise.
6698 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6699 and <bp-semctl.h>.
6700 (__old_semctl): Don't use CHECK_SEMCTL.
6701 (__new_semctl): Likewise.
6702 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6703 <bp-checks.h> and <bp-semctl.h>.
6704 (__old_semctl): Don't use CHECK_SEMCTL.
6705 (__new_semctl): Likewise.
6706 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6707 <bp-checks.h> and <bp-semctl.h>.
6708 (semctl): Don't use CHECK_SEMCTL.
6709
c2d54929
JM
6710 [BZ #13550]
6711 * Makerules (elide-bp-thunks): Remove variable.
6712 (elide-routines.oS): Don't use $(elide-bp-thunks).
6713 (elide-routines.os): Likewise.
6714 (elide-routines.o): Likewise.
6715 (elide-routines.op): Likewise.
6716 (elide-routines.og): Likewise.
6717 (objects): Don't use $(bp-thunks).
6718 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6719 include.
6720 (common-generated): Do not add s-proto-bp.d.
6721 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6722 (int): Likewise.
6723 (typ): Likewise.
6724 Do not generate makefile rules for bounded-pointer thunks.
6725 * sysdeps/generic/bp-thunks.h: Remove file.
6726 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6727 * sysdeps/unix/s-proto-bp.S: Likewise.
6728
8cf28c5e
JM
6729 [BZ #15062]
6730 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6731 parts of result separately when argument is not close to line from
6732 -i to i and one part of argument is small.
6733 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6734 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6735 * math/libm-test.inc (cacos_test): Add more tests.
6736 (casin_test): Likewise.
6737 (casinh_test): Likewise.
6738 * sysdeps/i386/fpu/libm-test-ulps: Update.
6739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6740
c4e33b8d
DM
67412013-01-31 David S. Miller <davem@davemloft.net>
6742
6743 * po/de.po: Update from translation team.
6744
3b60b421
MK
67452013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6746
6747 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6748
bb931195
TS
67492013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6750
b5a5da23
TS
6751 * configure.in (_AC_PROG_CC_C89): New definition.
6752 * configure: Regenerate.
6753
bb931195
TS
6754 * configure.in (AC_PROG_CPP): New definition.
6755 * configure: Regenerate.
6756
8c53a12c
JM
67572013-01-23 Joseph Myers <joseph@codesourcery.com>
6758
6759 * debug/tst-backtrace.h: New file.
6760 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6761 (ret): Remove variable.
6762 (x): Likewise.
6763 (FAIL): Remove macro.
6764 (NO_INLINE): Likewise.
6765 (fn1): Use match function instead of strstr.
6766 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6767 (ret): Remove variable.
6768 (x): Likewise.
6769 (FAIL): Remove macro.
6770 (NO_INLINE): Likewise.
6771 (fn): Use match function instead of strstr.
6772 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6773 (ret): Remove variable.
6774 (x): Likewise.
6775 (FAIL): Remove macro.
6776 (NO_INLINE): Likewise.
6777 (handle_signal): Use match function instead of strstr.
6778 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6779 (ret): Remove variable.
6780 (x): Likewise.
6781 (FAIL): Remove macro.
6782 (NO_INLINE): Likewise.
6783 (handle_signal): Use match function instead of strstr.
6784
4858fa2a
RM
67852013-01-23 Roland McGrath <roland@hack.frob.com>
6786
6787 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6788
bae8e7f5
DM
67892013-01-23 David S. Miller <davem@davemloft.net>
6790
6791 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6792 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6793 argument of CAS if possible.
6794 * sysdeps/sparc/sparc64/bits/atomic.h
6795 (__arch_compare_and_exchange_val_32_acq): Likewise.
6796 (__arch_compare_and_exchange_val_64_acq): Likewise.
6797
9cbbc4ae
PT
67982013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6799
6800 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6801 * sysdeps/posix/ulimit.c: ... this.
92a601b8 6802 Include <limits.h>.
67b3f58c 6803 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 6804
5655a0b5
AC
68052013-01-23 Adam Conrad <adconrad@0c3.net>
6806
6807 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6808 (LDFLAGS-tst-array5): Likewise.
6809
052aff95
JM
68102013-01-23 Joseph Myers <joseph@codesourcery.com>
6811
6812 [BZ #15036]
6813 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6814 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6815 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6816 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6817
7c1e01aa
DM
68182013-01-21 David S. Miller <davem@davemloft.net>
6819
6820 * sysdeps/sparc/backtrace.c: New file.
6821 * sysdeps/sparc/sparc32/backtrace.h: New file.
6822 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6823 * sysdeps/sparc/sparc64/backtrace.h: New file.
6824 * sysdeps/sparc/sparc64/backtrace.c: Delete.
6825 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6826 -funwind-tables.
6827
ab087e0a
AS
68282013-01-21 Andreas Schwab <schwab@suse.de>
6829
6830 [BZ #15020]
6831 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6832 closed its stdout.
6833
ed689c2f
AS
68342013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6835
6836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6837 "mpa2.h".
6838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6839
31d470ac
JM
68402013-01-18 Joseph Myers <joseph@codesourcery.com>
6841 Mark Mitchell <mark@codesourcery.com>
6842 Tom de Vries <tom@codesourcery.com>
6843 Paul Pluzhnikov <ppluzhnikov@google.com>
6844
6845 * debug/tst-backtrace2.c: New file.
6846 * debug/tst-backtrace3.c: Likewise.
6847 * debug/tst-backtrace4.c: Likewise.
6848 * debug/tst-backtrace5.c: Likewise.
6849 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6850 (CFLAGS-tst-backtrace3.c): Likewise.
6851 (CFLAGS-tst-backtrace4.c): Likewise.
6852 (CFLAGS-tst-backtrace5.c): Likewise.
6853 (LDFLAGS-tst-backtrace2): Likewise.
6854 (LDFLAGS-tst-backtrace3): Likewise.
6855 (LDFLAGS-tst-backtrace4): Likewise.
6856 (LDFLAGS-tst-backtrace5): Likewise.
6857 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6858 tst-backtrace4 and tst-backtrace5.
6859
90567f30 68602013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
6861 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6862
6863 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6864 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6865 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6866 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6868 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6869 "+r" and remove output regs list as redundant. Add explicit inline
6870 asm to specify register of return val to work around compiler codegen
6871 bug. Remove (int) cast on return value. Add return type parameter to
6872 use in macro so that this macro does not truncate return value for
6873 64-bit values.
6874 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6875 pass to INTERNAL_VSYSCALL_NCS.
6876 (INLINE_VSYSCALL): Add 'long int' as return type to
6877 INTERNAL_VSYSCALL_NCS macro invocation.
6878 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6879 INTERNAL_VSYSCALL_NCS macro invocation.
6880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6881
d3b9ea61
SP
68822013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6883
0b57daeb
SP
6884 [BZ #14496]
6885 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6886 Fix application of SIMD FP exception mask.
6887
caa99d06
SP
6888 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6889 mp_no from a power of two.
6890 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6891 __mpexp_twomm1. Use __pow_mp.
6892
d3b9ea61
SP
6893 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6894 multiplication.
6895
1dbaee3c
DM
68962013-01-17 David S. Miller <davem@davemloft.net>
6897
6898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6899
728d7b43
JM
69002013-01-17 Joseph Myers <joseph@codesourcery.com>
6901
6902 [BZ #15023]
6903 * include/complex.h: Condition contents on [!_COMPLEX_H].
6904 (__kernel_casinhf): New prototype.
6905 (__kernel_casinh): Likewise.
6906 (__kernel_casinhl): Likewise.
6907 * math/Makefile (libm_calls): Add k_casinh.
6908 * math/k_casinh.c: New file.
6909 * math/k_casinhf.c: Likewise.
6910 * math/k_casinhl.c: Likewise.
6911 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6912 finite nonzero arguments.
6913 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6914 finite nonzero arguments.
6915 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6916 finite nonzero arguments.
6917 * math/s_casinh.c: Do not include <float.h>.
6918 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6919 * math/s_casinhf.c: Do not include <float.h>.
6920 (__casinhf): Move code for finite nonzero arguments to
6921 k_casinhf.c.
6922 * math/s_casinhl.c: Do not include <float.h>.
6923 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6924 redefine.
6925 (__casinhl): Move code for finite nonzero arguments to
6926 k_casinhl.c.
6927 * math/libm-test.inc (cacos_test): Add more tests.
6928 * sysdeps/i386/fpu/libm-test-ulps: Update.
6929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6930
2a26ef3a
PT
69312013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6932
6933 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6934 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6935 [!HAVE_MREMAP]: Remove [defined linux] case.
6936 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6937
a897655d
SP
69382013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6939
6940 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6941
881ebe89 69422013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
6943
6944 * elf/elf.h (R_386_SIZE32): New relocation.
6945 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6946 R_386_SIZE32.
6947 (elf_machine_rela): Likewise.
6948 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6949 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6950
59981e9b
JM
69512013-01-17 Joseph Myers <joseph@codesourcery.com>
6952
6953 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6954 (FP_FAST_FMA): Do not define.
6955 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6956 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6957 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6958 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6959 !_SOFT_FLOAT]: Likewise.
6960 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6961 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6962 value.
6963 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6964 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6965 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6966 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6967 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6968 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6969 file.
6970
cfa8054f
AS
69712013-01-16 Andreas Schwab <schwab@suse.de>
6972
6973 [BZ #14327]
6974 * include/stdlib.h (__mktemp): Add declaration.
6975 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6976 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6977
dd930cc5
SP
69782013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6979
881ebe89
SP
6980 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6981 definitions.
6982 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6983 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6984 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6985 definitions here.
6986 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6987 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6988 definitions.
6989 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6990 and ONE.
6991 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6992 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6993 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6994 definitions.
6995 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6996 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6997 definitions.
6998 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 6999
dd930cc5
SP
7000 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7001
c19a9f89
DM
70022013-01-15 David S. Miller <davem@davemloft.net>
7003
1aa61767
DM
7004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7005 trunc{,f} to libm-sysdep_routes.
7006 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7008 file.
7009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7011 file.
7012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7013 file.
7014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7016 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7017 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7018 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7019 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7020 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7021 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7022
c42d5e98
DM
7023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7024 nearbyint{,f} to libm-sysdep_routes.
7025 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7027 New file.
7028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7029 file.
7030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7031 New file.
7032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7033 file.
7034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7036 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7037 file.
7038 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7039 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7040 file.
7041 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7042 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7043 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7044
c19a9f89
DM
7045 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7046 libc_feholdexcept and libc_fesetenv.
7047
357679d2
MF
70482013-01-15 Mike Frysinger <vapier@gentoo.org>
7049
7050 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7051
65a82e3d
DM
70522013-01-14 David S. Miller <davem@davemloft.net>
7053
8b954ab9
DM
7054 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7055 (SPARC_ASM_VIS2_IFUNC): Likewise.
7056 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7058 use of 'siam' instruction.
7059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7060 Likewise.
7061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7062 Likewise.
7063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7064 Likewise.
7065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7070 file.
7071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7072 file.
7073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7074 file.
7075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7076 file.
7077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7082 new VIS2 routines.
7083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7086 Likewise.
7087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7092 routines to libm-sysdep_routines.
7093 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7094
65a82e3d
DM
7095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7096 fdim/fdimf to libm-sysdep_routines.
7097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7098 file.
7099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7101 file.
7102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7105 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7106 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7107 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7108 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7109
e34ab705
SP
71102013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7111
2a91b573
SP
7112 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7113 to optimize copies.
7114
1066a534
SP
7115 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7118
e34ab705
SP
7119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7120 local variable MPTWO.
7121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7122 Likewise.
7123
aba5e596
MF
71242013-01-13 Mike Frysinger <vapier@gentoo.org>
7125
7126 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7127 GLOB_NOESCAPE.
7128
e557e9e5
MF
71292013-01-13 Mike Frysinger <vapier@gentoo.org>
7130
7131 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7132
0428cec9
MF
71332013-01-13 Mike Frysinger <vapier@gentoo.org>
7134
7135 * manual/pattern.texi (glob_t): Document gl_flags.
7136 (glob64_t): Likewise.
7137
8794a964
DM
71382013-01-11 David S. Miller <davem@davemloft.net>
7139
66438c3f
RM
7140 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7141 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7142 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7143 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7144 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7145 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7146 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7147 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7148 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7149 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7150 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7151 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7152 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7153
4ae4244d
DM
7154 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7155 sparc V9 rather than using V8 code.
7156 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7157 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7158
8794a964
DM
7159 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7160 Move to...
7161 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7162 Here.
7163
6270516e
RM
71642013-01-11 Roland McGrath <roland@hack.frob.com>
7165
7166 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7167 not in the main loop.
7168 * configure: Regenerated.
7169
6a57d931
JM
71702013-01-11 Joseph Myers <joseph@codesourcery.com>
7171
7172 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7173 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7174 to just #else.
7175 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7176 [!__GLIBC_HAVE_LONG_LONG] case.
7177 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7178 condition to just #else.
7179 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7180 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7181 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7182 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7183 unconditional.
7184 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7185 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7186 #elif condition to just #else.
7187 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7188 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7189 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7190 #elif condition to just #else.
7191
0e8529e9
SE
71922013-01-11 Steve Ellcey <sellcey@mips.com>
7193
7194 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7195 (EF_MIPS_ARCH_64): Fix value.
7196 (EF_MIPS_ARCH_32R2): New.
7197 (EF_MIPS_ARCH_64R2): New.
7198
740b3dbe
L
71992013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7200
7201 * Makeconfig (+link-pie-before-libc): New.
7202 (+link-pie-after-libc): Likewise.
7203 (+link-pie-tests): Likewise.
7204 (+link-pie): Rewritten.
7205 (link-before-libc): Remove $(config-LDFLAGS).
7206 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7207 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7208 (config-LDFLAGS): Renamed to ...
7209 (rtld-LDFLAGS): This.
7210 (rtld-tests-LDFLAGS): New macro.
7211 (link-libc-rpath-link): Likewise.
7212 (link-libc-tests-rpath-link): Likewise.
7213 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7214 (link-libc): Prepand $(link-libc-rpath-link).
7215 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7216 (test-program-prefix): New macro.
7217 (test-via-rtld-prefix): Likewise.
7218 (test-program-cmd): Likewise.
7219 (host-test-program-cmd): Likewise.
7220 * Makefile ($(common-objpfx)testrun.sh): Replace
7221 $(run-program-prefix) with $(test-program-prefix).
7222 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7223 $(rtld-LDFLAGS).
7224 ($(common-objpfx)shlib.lds): Likewise.
7225 (build-module-helper): Likewise.
7226 ($(common-objpfx)format.lds): Likewise.
7227 * Rules (binaries-pie-tests): New.
7228 (binaries-pie-notests): Likewise.
7229 (binaries-pie): Rewritten.
7230 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7231 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7232 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7233 (make-test-out): Replace $(host-built-program-cmd) with
7234 $(host-test-program-cmd).
7235 * config.make.in (build-hardcoded-path-in-tests): New variable.
7236 * configure.in (--enable-hardcoded-path-in-tests): New configure
7237 option.
7238 (hardcoded_path_in_tests): New AC_SUBST.
7239 * configure: Regenerated.
7240 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7241 $(built-program-cmd) with $(test-program-cmd).
7242 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7243 (test_program_cmd): This.
7244 * elf/Makefile ($(objpfx)order.out): Run test with
7245 $(test-program-prefix).
7246 ($(objpfx)order2.out): Likewise.
7247 ($(objpfx)tst-initorder.out): Likewise.
7248 ($(objpfx)tst-initorder2.out): Likewise.
7249 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7250 $(test-program-cmd).
7251 ($(objpfx)tst-array1-static.out): Likewise.
7252 ($(objpfx)tst-array2.out): Likewise.
7253 ($(objpfx)tst-array3.out): Likewise.
7254 ($(objpfx)tst-array4.out): Likewise.
7255 ($(objpfx)tst-array5.out): Likewise.
7256 ($(objpfx)tst-array5-static.out): Likewise.
7257 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7258 $(test-program-cmd).
7259 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7260 $(run-program-prefix) with $(test-program-prefix).
7261 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7262 (test_program_prefix): This.
7263 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7264 $(run-program-prefix) with $(test-program-prefix).
7265 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7266 (test_program_prefix): This.
7267 * iconvdata/tst-tables.sh: Likewise.
7268 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7269 $(run-program-prefix) with $(test-program-prefix).
7270 ($(objpfx)tst-translit.out): Likewise.
7271 ($(objpfx)tst-gettext2.out): Likewise.
7272 ($(objpfx)tst-gettext4.out): Likewise.
7273 ($(objpfx)tst-gettext6.out): Likewise.
7274 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7275 (test_program_prefix): This.
7276 * intl/tst-gettext2.sh: Likewise.
7277 * intl/tst-gettext4.sh Likewise.
7278 * intl/tst-gettext6.sh: Likewise.
7279 * intl/tst-translit.sh: Likewise.
7280 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7281 with $(test-program-cmd).
7282 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7283 $(run-program-prefix) with $(test-program-prefix).
7284 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7285 (test_program_prefix): This.
7286 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7287 $(run-program-prefix) with $(test-program-prefix).
7288 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7289 (test_program_prefix): This.
7290 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7291 * posix/Makefile ($(objpfx)globtest.out): Replace
7292 $(run-via-rtld-prefix) and $(test-wrapper) with
7293 $(test-program-prefix) and $(test-via-rtld-prefix).
7294 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7295 $(test-program-prefix).
7296 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7297 $(host-test-program-cmd).
7298 (tst-spawn-ARGS): Likewise.
7299 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7300 $(test-program-prefix).
7301 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7302 (test_via_rtld_prefix): This.
7303 (test_wrapper): Renamed to ...
7304 (test_program_prefix): This.
7305 (run_program_prefix): Replaced by test_program_prefix.
7306 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7307 (test_program_prefix): This.
7308 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7309 with $(host-test-program-cmd).
7310 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7311 $(run-program-prefix) with $(test-program-prefix).
7312 ($(objpfx)tst-printf.out): Likewise.
7313 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7314 $(test-program-cmd).
7315 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7316 (test_program_prefix): This.
7317 * stdio-common/tst-unbputc.sh: Likewise.
7318 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7319 $(run-program-prefix) with $(test-program-prefix).
7320 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7321 (test_program_prefix): This.
7322 * string/Makefile ($(objpfx)tst-svc.out): Replace
7323 $(built-program-cmd) with $(test-program-cmd).
7324
c6fe55cf
AJ
73252013-01-11 Andreas Jaeger <aj@suse.de>
7326
7327 [BZ #15003]
7328 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7329 value. Sync with Linux 3.7.
7330
9e6919c8
DM
73312013-01-10 David S. Miller <davem@davemloft.net>
7332
7333 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7334 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7335 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7336
1c9f1a02
RM
73372013-01-10 Roland McGrath <roland@hack.frob.com>
7338
7339 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7340 never set.
7341 * configure: Regenerated.
7342
b9de2dde
DM
73432013-01-10 David S. Miller <davem@davemloft.net>
7344
7345 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7346 sparc V9 rather than using V8 code.
7347 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7348 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7349
e7f68ef4
RM
73502013-01-10 Roland McGrath <roland@hack.frob.com>
7351
7352 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7353 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7354 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7355 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7356 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7357 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7358 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7359 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7360 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7361 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7362 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7363 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7364 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7365 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7366 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7367 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7368 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7369 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7370 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7371 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7372 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7373 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7374 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7375 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7376 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7377 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7378 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7379
5a47cc9c
DM
73802013-01-10 David S. Miller <davem@davemloft.net>
7381
7382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7383
4cf8f209
L
73842013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7385
7386 * posix/Makefile (tests-static): New variable.
7387 (tests): Add $(tests-static).
7388 (tst-exec-static-ARGS): New variable.
7389 (tst-spawn-static-ARGS): Likewise.
7390 * posix/tst-exec-static.c: New file.
7391 * posix/tst-spawn-static.c: Likewise.
7392 * posix/tst-exec.c: Support run directly.
7393 * posix/tst-spawn.c: Likewise.
7394
fed0faa1
JM
73952013-01-10 Joseph Myers <joseph@codesourcery.com>
7396
828beb13
JM
7397 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7398 long.
7399 * math/bits/mathcalls.h (llrint): Likewise.
7400 (llround): Likewise.
7401 * stdlib/stdlib.h (struct drand48_data): Likewise.
7402 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7403 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7404 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7405 Likewise.
7406 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7407 Likewise.
7408 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7409 (elf_greg_t): Likewise.
7410 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7411 (__jmp_buf): Likewise.
7412 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7413 definitions.
7414 (llrint): Likewise, for all definitions.
7415 (llrintl): Likewise.
7416
fed0faa1
JM
7417 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7418 Remove [__GNUC__] condition.
7419 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7420 condition to just [__USE_ISOC99].
7421 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7422
1a20cb20
L
74232013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7424
7425 [BZ #14200]
7426 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7427 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7428 defined.
7429 (_POSIX_V6_ILP32_OFF32): Likewise.
7430 (_XBS5_ILP32_OFF32): Likewise.
7431 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7432 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7433
751b85f7
SP
74342013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7435
7490eb81
SP
7436 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7437
751b85f7
SP
7438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7439 doubles __mpexp_twomm1. Adjust usage.
7440 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7441 Remove.
7442
988197f0
AS
74432013-01-10 Andreas Schwab <schwab@suse.de>
7444
7445 [BZ #14964]
7446 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7447 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7448
e83d7298
DM
74492013-01-09 David S. Miller <davem@davemloft.net>
7450
034ed64b 7451 [BZ #15003]
e83d7298
DM
7452 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7453 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7454 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7455 TCP_FASTOPEN): Define.
7456 (tcp_repair_opt): New structure.
7457 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7458 enum values.
7459 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7460 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7461 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7462 (tcp_cookie_transactions): New structure.
7463
d5e0b9bd
AB
74642013-01-09 Anton Blanchard <anton@samba.org>
7465
7466 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7467 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7468 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7469 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7470
0c07e3ea
JM
74712013-01-09 Joseph Myers <joseph@codesourcery.com>
7472
7473 * include/features.h (__USE_ANSI): Remove.
7474
232f7002
RM
74752013-01-09 Roland McGrath <roland@hack.frob.com>
7476
ad98e30c
RM
7477 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7478
232f7002
RM
7479 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7480
950c99ca
SP
74812013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7482
b5792741
SP
7483 * sysdeps/s390/fpu/libm-test-ulps: Update.
7484
47cf2278
SP
7485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7486
950c99ca
SP
7487 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7488 (__acr): Likewise.
7489 (__cpy): Likewise.
7490 (norm): Likewise.
7491 (denorm): Likewise.
7492 (__mp_dbl): Likewise.
7493 (__dbl_mp): Likewise.
7494 (add_magnitudes): Likewise.
7495 (sub_magnitudes): Likewise.
7496 (__add): Likewise.
7497 (__sub): Likewise.
7498 (__mul): Likewise.
7499 (__inv): Likewise.
7500 (__dvd): Likewise.
7501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7502 (__acr): Likewise.
7503 (__cpy): Likewise.
7504 (norm): Likewise.
7505 (denorm): Likewise.
7506 (__mp_dbl): Likewise.
7507 (__dbl_mp): Likewise.
7508 (add_magnitudes): Likewise.
7509 (sub_magnitudes): Likewise.
7510 (__add): Likewise.
7511 (__sub): Likewise.
7512 (__mul): Likewise.
7513 (__inv): Likewise.
7514 (__dvd): Likewise.
7515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7516 (__acr): Likewise.
7517 (__cpy): Likewise.
7518 (norm): Likewise.
7519 (denorm): Likewise.
7520 (__mp_dbl): Likewise.
7521 (__dbl_mp): Likewise.
7522 (add_magnitudes): Likewise.
7523 (sub_magnitudes): Likewise.
7524 (__add): Likewise.
7525 (__sub): Likewise.
7526 (__mul): Likewise.
7527 (__inv): Likewise.
7528 (__dvd): Likewise.
7529
eede9df9
JM
75302013-01-08 Joseph Myers <joseph@codesourcery.com>
7531
7532 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7533 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7534 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7535 2 && __USE_EXTERN_INLINES]: Likewise.
7536
c40ea3d9
AJ
75372013-01-08 Andreas Jaeger <aj@suse.de>
7538
7539 [BZ# 14985]
7540 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7541 Remove.
7542 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7543 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7544
2ccdea26
AB
75452013-01-07 Anton Blanchard <anton@samba.org>
7546
7547 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7548 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7549 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7550 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7551 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7552 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7553 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7554 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7556 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7557 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7558 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7559 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7560 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7561 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7562 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7563 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7564 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7565 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7566 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7567 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7568 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7569 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7570 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7571 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7572 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7573 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7574 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7575 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7576 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7577 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7579 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7580 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7581 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7582 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7583 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7584 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7585 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7586 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7587 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7588 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7589 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7590
a9708fed
JM
75912013-01-07 Joseph Myers <joseph@codesourcery.com>
7592
375607b9
JM
7593 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7594 (__MALLOC_PMT): Likewise.
7595 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7596 [__GNUC__], only on [_LIBC].
7597 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7598 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7599 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7600 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7601 forward declaration.
7602 (realloc_hook_ini): Likewise.
7603 (memalign_hook_ini): Likewise.
7604 (__libc_memalign): Do not use __MALLOC_PMT in variable
7605 declaration.
7606 (__libc_valloc): Likewise.
7607 (__libc_pvalloc): Likewise.
7608 (__libc_calloc): Likewise.
7609 (__posix_memalign): Likewise.
7610
a9708fed
JM
7611 [BZ #14996]
7612 * math/s_casinh.c: Include <float.h>.
7613 (__casinh): Do not do computation with squaring and square root
7614 for large arguments.
7615 * math/s_casinhf.c: Include <float.h>.
7616 (__casinhf): Do not do computation with squaring and square root
7617 for large arguments.
7618 * math/s_casinhl.c: Include <float.h>.
7619 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7620 (__casinhl): Do not do computation with squaring and square root
7621 for large arguments.
7622 * math/libm-test.inc (casin_test): Add more tests.
7623 (casinh_test): Likewise.
7624 * sysdeps/i386/fpu/libm-test-ulps: Update.
7625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7626
afec409a
L
76272013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7628
7629 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7630 (__x86_64_raw_data_cache_size): Likewise.
7631 (__x86_64_data_cache_size_half): Likewise.
7632 (__x86_64_raw_data_cache_size_half): Likewise.
7633 (__x86_64_shared_cache_size): Likewise.
7634 (__x86_64_raw_shared_cache_size): Likewise.
7635 (__x86_64_shared_cache_size_half): Likewise.
7636 (__x86_64_raw_shared_cache_size_half): Likewise.
7637 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7638 to ...
7639 (__x86_data_cache_size): This.
7640 (__x86_64_raw_data_cache_size): Renamed to ...
7641 (__x86_raw_data_cache_size): This.
7642 (__x86_64_data_cache_size_half): Renamed to ...
7643 (__x86_data_cache_size_half): This.
7644 (__x86_64_raw_data_cache_size_half): Renamed to ...
7645 (__x86_raw_data_cache_size_half): This.
7646 (__x86_64_shared_cache_size): Renamed to ...
7647 (__x86_shared_cache_size): This.
7648 (__x86_64_raw_shared_cache_size): Renamed to ...
7649 (__x86_raw_shared_cache_size): This.
7650 (__x86_64_shared_cache_size_half): Renamed to ...
7651 (__x86_shared_cache_size_half): This.
7652 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7653 (__x86_raw_shared_cache_size_half): This.
7654 * sysdeps/x86_64/memcpy.S: Updated.
7655 * sysdeps/x86_64/memset.S: Likewise.
7656 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7657 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7658 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7659
0b3986d0
DM
76602013-01-04 David S. Miller <davem@davemloft.net>
7661
7662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7663
e47686e9
AS
76642013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7665
d643bac1
AS
7666 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7667 1 to avoid redefinition warning.
7668 (__USE_GNU): Don't define.
7669 (init_signaling_nan): Protoize.
7670
e47686e9
AS
7671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7672
b18decba
SP
76732013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7674
fffb407f
SP
7675 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7677 (__cpymn): Likewise.
7678 (norm): Remove commented code.
7679 (denorm): Likewise.
7680 (__mp_dbl): Likewise.
7681 (__inv): Likewise.
7682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7683 (__cpymn): Likewise.
7684 (norm): Remove commented code.
7685 (denorm): Likewise.
7686 (__mp_dbl): Likewise.
7687 (__inv): Likewise.
7688
b18decba
SP
7689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7690 mp_no value for 1.0 and 2.0.
7691 (norm): Use RADIXI instead of radixi.d.
7692 (denorm): Likewise.
7693 (__mul): Use 0.0 instead of zero.d.
7694 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7695 mp_no value for 1.0 and 2.0.
7696 (norm): Use RADIXI instead of radixi.d.
7697 (denorm): Likewise.
7698 (__mul): Use 0.0 instead of zero.d.
7699
cdc1c96f
JM
77002013-01-04 Joseph Myers <joseph@codesourcery.com>
7701
7702 [BZ #14994]
7703 * math/s_casinh.c (__casinh): Reduce finite argument to first
7704 quadrant then set signs of results at the end.
7705 * math/s_casinhf.c (__casinhf): Likewise.
7706 * math/s_casinhl.c (__casinhl): Likewise.
7707 * math/libm-test.inc (casin_test): Add more tests.
7708 (casinh_test): Likewise.
7709 * sysdeps/i386/fpu/libm-test-ulps: Update.
7710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7711
302913e1
SP
77122013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7713
6420d207
SP
7714 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7715
a9e48ab4
SP
7716 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7717
b7837264
SP
7718 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7719 declarations.
7720 (denorm): Likewise.
7721 (__mp_dbl): Likewise.
7722 (__inv): Likewise.
7723
f8af25d2
SP
7724 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7725 and adjust the header comment.
7726
302913e1
SP
7727 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7728 variable name from declaration.
7729
5d7dd1ca
L
77302013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7731
7732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7733 Initialize COMMON_CPUID_INDEX_7 element.
7734 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7735 (CPUID_RTM): Likewise.
7736 (HAS_RTM): Likewise.
7737 (COMMON_CPUID_INDEX_7): New enum.
7738
2f5f40f4
AS
77392013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7740
7741 [BZ #14981]
7742 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7743 size is zero, record memory as freed.
7744
4056f4a0
AJ
77452013-01-03 Andreas Jaeger <aj@suse.de>
7746
7747 * po/ia.po: Add new Interlingua translation.
7748
ab15736f 77492012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
7750
7751 * locale/programs/localedef.c: Fix description of '--posix' flag.
7752
568035b7
JM
77532013-01-02 Joseph Myers <joseph@codesourcery.com>
7754
e6898b8d
JM
7755 * NEWS: Update dates in second copyright notice.
7756 * README: Update copyright dates in example.
7757 * manual/libc.texinfo: Update copyright dates.
7758 * scripts/test-installation.pl: Update copyright date in --version
7759 output.
7760
0e2f9562
JM
7761 * hurd/ctty-input.c: Fix copyright notice formatting.
7762 * hurd/ctty-output.c: Likewise.
7763 * hurd/dtable.c: Likewise.
7764 * hurd/hurd-raise.c: Likewise.
7765 * hurd/hurdprio.c: Likewise.
7766 * hurd/msgportdemux.c: Likewise.
7767 * misc/sys/file.h: Likewise.
7768 * misc/sys/ioctl.h: Likewise.
7769 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7770 * sysdeps/mach/hurd/chdir.c: Likewise.
7771 * sysdeps/mach/hurd/fchdir.c: Likewise.
7772 * sysdeps/mach/hurd/rename.c: Likewise.
7773 * sysdeps/mach/hurd/rmdir.c: Likewise.
7774 * sysdeps/mach/hurd/seekdir.c: Likewise.
7775 * sysdeps/mach/hurd/setsid.c: Likewise.
7776 * sysdeps/posix/wait3.c: Likewise.
7777
568035b7
JM
7778 * All files with FSF copyright notices: Update copyright dates
7779 using scripts/update-copyrights.
7780 * intl/plural.c: Regenerated.
7781 * locale/programs/charmap-kw.h: Likewise.
7782 * locale/programs/locfile-kw.h: Likewise.
7783
da08f647
SP
77842013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7785
0f5477af
SP
7786 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7787 four values.
7788
44e0d4c2
SP
7789 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7790 calculation loop and add branch prediction.
7791
4d55b4e5
SP
7792 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7793 check access beyond bounds of m1np.
7794
da08f647
SP
7795 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7796 MPTWO.
7797 (__inv): Remove local variable MPTWO to use the global
7798 constant.
7799 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7800 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7801 variable MPTWO.
7802 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7803 MP3HALFS static const.
7804
8e051029
DM
78052013-01-01 David S. Miller <davem@davemloft.net>
7806
7807 * po/ca.po: Update from translation team.
7808
f4cf5f2d
JM
78092013-01-01 Joseph Myers <joseph@codesourcery.com>
7810
7811 * scripts/update-copyrights: New file.
7812 * Makeconfig: Reformat copyright notice.
7813 * ctype/ctype.h: Likewise.
7814 * debug/swprintf_chk.c: Likewise.
7815 * elf/dl-cache.c: Likewise.
7816 * elf/dl-debug.c: Likewise.
7817 * elf/dl-object.c: Likewise.
7818 * grp/initgroups.c: Likewise.
7819 * hurd/Makefile: Likewise.
7820 * hurd/hurd/signal.h: Likewise.
7821 * hurd/hurdfault.c: Likewise.
7822 * hurd/hurdioctl.c: Likewise.
7823 * hurd/hurdlookup.c: Likewise.
7824 * hurd/intr-msg.c: Likewise.
7825 * iconv/gconv_open.c: Likewise.
7826 * libio/swprintf.c: Likewise.
7827 * locale/lc-ctype.c: Likewise.
7828 * locale/nl_langinfo.c: Likewise.
7829 * mach/Machrules: Likewise.
7830 * mach/Makefile: Likewise.
7831 * malloc/obstack.h: Likewise.
7832 * manual/Makefile: Likewise.
7833 * manual/tsort.awk: Likewise.
7834 * misc/bits/stab.def: Likewise.
7835 * nis/nis_print_group_entry.c: Likewise.
7836 * nis/nis_table.c: Likewise.
7837 * nis/nss_compat/compat-pwd.c: Likewise.
7838 * nis/nss_compat/compat-spwd.c: Likewise.
7839 * po/Makefile: Likewise.
7840 * posix/fnmatch.c: Likewise.
7841 * posix/regex.h: Likewise.
7842 * resolv/Makefile: Likewise.
7843 * resolv/nss_dns/dns-network.c: Likewise.
7844 * resolv/res_hconf.c: Likewise.
7845 * scripts/gen-sorted.awk: Likewise.
7846 * soft-fp/soft-fp.h: Likewise.
7847 * stdio-common/printf.h: Likewise.
7848 * stdlib/monetary.h: Likewise.
7849 * stdlib/random.c: Likewise.
7850 * stdlib/random_r.c: Likewise.
7851 * sysdeps/generic/Makefile: Likewise.
7852 * sysdeps/gnu/Makefile: Likewise.
7853 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7854 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7855 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7856 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7857 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7858 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7859 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7860 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7861 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7862 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7863 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7864 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7865 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7866 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7867 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7868 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7869 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7870 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7871 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7872 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7873 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7874 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7875 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7876 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7877 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7878 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7880 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7881 * sysdeps/mach/hurd/errnos.awk: Likewise.
7882 * sysdeps/mach/hurd/fork.c: Likewise.
7883 * sysdeps/mach/hurd/getcwd.c: Likewise.
7884 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7885 * sysdeps/mach/hurd/mmap.c: Likewise.
7886 * sysdeps/mach/hurd/utimes.c: Likewise.
7887 * sysdeps/mach/hurd/xmknod.c: Likewise.
7888 * sysdeps/posix/profil.c: Likewise.
7889 * sysdeps/posix/readdir_r.c: Likewise.
7890 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7891 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7892 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7893 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7895 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7896 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7897 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7899 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7900 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7901 * sysdeps/pthread/lio_listio.c: Likewise.
7902 * sysdeps/sparc/dl-procinfo.h: Likewise.
7903 * sysdeps/unix/i386/sysdep.S: Likewise.
7904 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7905 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7906 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7907 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7909 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7910 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7911 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7912 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7913 * sysdeps/wordsize-32/divdi3.c: Likewise.
7914 * time/sys/time.h: Likewise.
7915 * wcsmbs/Makefile: Likewise.
7916
0549fbba
DM
79172013-01-01 David S. Miller <davem@davemloft.net>
7918
a141f1a7
DM
7919 * po/fr.po: Update from translation team.
7920
0549fbba
DM
7921 * catgets/gencat.c: Update copyright year.
7922 * csu/version.c: Likewise.
7923 * debug/catchsegv.sh: Likewise.
7924 * debug/pcprofiledump.c: Likewise.
7925 * debug/xtrace.sh: Likewise.
7926 * elf/ldconfig.c: Likewise.
7927 * elf/ldd.bash.in: Likewise.
7928 * elf/pldd.c: Likewise.
7929 * elf/sotruss.ksh: Likewise.
7930 * elf/sprof.c: Likewise.
7931 * iconv/iconv_prog.c: Likewise.
7932 * iconv/iconvconfig.c: Likewise.
7933 * locale/programs/locale.c: Likewise.
7934 * locale/programs/localedef.c: Likewise.
7935 * login/programs/pt_chown.c: Likewise.
7936 * malloc/memusage.sh: Likewise.
7937 * malloc/memusagestat.c: Likewise.
7938 * malloc/mtrace.pl: Likewise.
7939 * nscd/nscd.c: Likewise.
7940 * nss/getent.c: Likewise.
7941 * nss/makedb.c: Likewise.
7942 * posix/getconf.c: Likewise.
7943
18ea052c
SP
79442012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7945
7946 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7947 numbers.
7948
9c89fca6
MF
79492012-12-30 Mike Frysinger <vapier@gentoo.org>
7950
7951 * math/bits/mathcalls.h (modf): Use __nonnull.
7952
085ec079
SP
79532012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7954
7955 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7956 (split): Use macro CN instead of the bare value.
7957 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7958 could be used.
7959 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7960 instead of the bare value.
7961 (power1): Likewise.
7962
6d9f97e1
SP
79632012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7964
d63f73be
SP
7965 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7966 __ATAN_TWOM.
7967 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7968
6d9f97e1
SP
7969 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7970 their values.
7971 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7972 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7973 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7974 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7975
4c4febf5
AJ
79762012-12-28 Andreas Jaeger <aj@suse.de>
7977
af5843ef
AJ
7978 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7979 values are from Linux 3.7.
7980
4c4febf5
AJ
7981 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7982 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7983
99136f82
SP
79842012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7985
2f216c3c 7986 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
7987 TRUE case.
7988
99136f82
SP
7989 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7990 (norm): Likewise.
7991 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7992 variables with preprocessor constants.
7993 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7994 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7995 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7996
7fffbdff
BH
79972012-12-27 Bruno Haible <bruno@clisp.org>
7998
7999 [BZ #14317]
8000 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8001 only if needed.
8002
b76eb5f0
SP
80032012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8004
31a7fe5c
SP
8005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8006 and use variable directly.
8007 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8008
b76eb5f0
SP
8009 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8010 MPONE.
8011 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8012 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8013 variable MPONE.
8014 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8015 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8016 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8017 include directive. Remove local variable MPONE.
8018 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8019 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8020 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8021
2c8bfe7d
DM
80222012-12-25 David S. Miller <davem@davemloft.net>
8023
8024 * version.h (RELEASE): Set to "development".
8025 (VERSION): Set to "2.17.90".
8026 * NEWS: Add 2.18 section.
8027
147d03b0
DM
80282012-12-21 David S. Miller <davem@davemloft.net>
8029
8030 * po/hr.po: Update from translation team.
8031
a8ebb2b9
AK
80322012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8033
8034 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8035
95b4f1b6
SE
80362012-12-19 Steve Ellcey <sellcey@mips.com>
8037
b2d94007 8038 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8039
cedb2a90
MS
80402012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8041
8042 * manual/contrib.texi (Contributors): Spelling correction.
8043
bbf527d6
DM
80442012-12-15 David S. Miller <davem@davemloft.net>
8045
8046 * po/ru.po: Update from translation team.
8047
bc38c906
DM
80482012-12-13 David S. Miller <davem@davemloft.net>
8049
85429b1a
DM
8050 * NEWS: Mention IFUNC testsuite enhancements.
8051
d283e353
DM
8052 * po/pl.po: Update from translation team.
8053 * po/bg.po: Likewise.
8054
bc38c906
DM
8055 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8056 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8057
a181b0d7
DM
80582012-12-11 David S. Miller <davem@davemloft.net>
8059
4641d57e
DM
8060 * po/sv.po: Update from translation team.
8061
f7bc6495
DM
8062 * po/vi.po: Update from translation team.
8063
6fc9048f
DM
8064 * po/cs.po: Update from translation team.
8065
a181b0d7
DM
8066 * po/de.po: Update from translation team.
8067 * po/eo.po: Likewise.
8068 * po/nl.po: Likewise.
8069
f70bfe80
SP
80702012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8071
3c8b4190
SP
8072 [BZ #14246]
8073 * manual/argp.texi (Argp Helper Functions): Move node to follow
8074 Argp Parsing State.
8075
f70bfe80
SP
8076 [BZ #14872]
8077 * manual/conf.texi (Limits on File System Capacity): Mention if
8078 terminating null is included in the max size.
8079
188f0adf
AJ
80802012-12-10 Andreas Jaeger <aj@suse.de>
8081
8082 * po/cs.po: Update from translation team.
8083
56e7d3ad
SP
80842012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8085
8086 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8087 void pointer and cast to uintptr_t.
8088 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8089 path.
8090 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8091 * sysdeps/s390/s390-64/memset.S: Likewise.
8092
76f2d2ea 80932012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8094
8095 [BZ #14833]
8096 * menual/message.texi (Message Translation): Fix typos.
8097 (Helper programs for gettext): Likewise.
8098
67cbf9a2
AS
80992012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8100
8101 [BZ #14898]
8102 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8103 Change to -1.
8104
682d0e9a
DM
81052012-12-07 David S. Miller <davem@davemloft.net>
8106
8107 * po/libc.pot: Update.
8108
573cd484
RH
81092012-12-07 Richard Henderson <rth@redhat.com>
8110
7e9da188 8111 [BZ #10114]
573cd484
RH
8112 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8113 normal/normal case to before the switch.
8114 (_FP_DIV): Likewise.
8115
e933a943
MF
81162012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8117 Mike Frysinger <vapier@gentoo.org>
8118
8119 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8120 check for __NR_fadvise64_64.
8121
82123268
CM
81222012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8123
8124 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8125 0, not just to plain "0" as a statement.
8126 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8127 with cw.
8128
d9814526
JM
81292012-12-06 Joseph Myers <joseph@codesourcery.com>
8130
8131 * NEWS: Use sourceware.org in Bugzilla URL.
8132
7728c574
SP
81332012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8134
f16946dd
SP
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8136 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8137
5704bbcb
SP
8138 * stdio-common/tst-put-error.c (do_test): Add newline to the
8139 padded test to ensure flush.
8140
17aa0516
JL
81412012-12-05 Jeff Law <law@redhat.com>
8142
8143 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8144
363313b5
JM
81452012-12-05 Joseph Myers <joseph@codesourcery.com>
8146
effbd42a
JM
8147 * README: Don't refer to ports add-on as distributed separately.
8148 Mention AArch64 in list of systems supported in the ports add-on.
8149
87600365
JM
8150 * LICENSES: Add more non-FSF copyright and license notices.
8151
a0d7066a
JM
8152 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8153 ((unused)).
8154
66ca5a5b
JM
8155 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8156
363313b5
JM
8157 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8158 10000 as width of padded output.
8159
b37984ad
JM
81602012-12-04 Joseph Myers <joseph@codesourcery.com>
8161
9003570a
JM
8162 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8163
b37984ad
JM
8164 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8165 variable LX with __attribute__ ((unused)).
8166 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8167 Likewise.
8168 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8169 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8170 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8171 with __attribute__ ((unused)).
8172
c8df52ec
DM
81732012-12-04 David S. Miller <davem@abraco.davemloft.net>
8174
8175 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8176
b3b099af
JM
81772012-12-04 Joseph Myers <joseph@codesourcery.com>
8178
c33aa6e3
JM
8179 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8180 (CFLAGS-nldbl-acos.c): New variable.
8181 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8182 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8183 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8184 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8185 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8186 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8187 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8188 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8189 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8190 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8191 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8192 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8193 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8194 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8195 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8196 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8197 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8198 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8199 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8200 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8201 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8202 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8203 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8204 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8205 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8206 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8207 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8208 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8209 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8210 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8211 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8212 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8213 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8214 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8215 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8216 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8217 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8218 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8219 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8220 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8221 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8222 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8223 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8224 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8225 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8226 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8227 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8228 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8229 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8230 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8231 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8232 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8233 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8234 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8235 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8236 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8237 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8238 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8239 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8240 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8241 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8242 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8243 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8244 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8245 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8246 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8247 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8248 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8249 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8250 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8251 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8252 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8253 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8254 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8255 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8256 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8257 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8258 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8259 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8260 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8261 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8262 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8263 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8264 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8265 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8266 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8267 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8268 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8269 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8270 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8271 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8272 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8273 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8274 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8275 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8276 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8277 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8278
20f0018d
JM
8279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8280 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8281
b3b099af
JM
8282 [BZ #14914]
8283 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8284 whole low double instead of just low 47 bits when splitting values
8285 into two parts.
8286
029264d1
AM
82872012-12-03 Allan McRae <allan@archlinux.org>
8288
8289 * manual/stdio.texi (Predefined Printf Handlers): Remove
8290 @hsep and @vsep usage.
8291
c9d6789e
MF
82922012-12-03 Mike Frysinger <vapier@gentoo.org>
8293
8294 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8295 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8296
4b7634a5
JL
82972012-12-03 Jeff Law <law@redhat.com>
8298
8299 * time/sys/time.h (settimeofday): Do not mark TV argument
8300 as __nonnull.
8301
eb6cbd24
MF
83022012-12-01 Mike Frysinger <vapier@gentoo.org>
8303
8304 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8305 when currently writing and seek to current position when not.
8306 * libio/Makefile (tests): Remove bug-fclose1.
8307 * libio/bug-fclose1.c: Delete.
8308
f638872a
JM
83092012-12-01 Joseph Myers <joseph@codesourcery.com>
8310
8311 * manual/arith.texi (feenableexcept): Fix typo.
8312 (fedisableexcept): Likewise.
8313
48085d14
RM
83142012-11-30 Roland McGrath <roland@hack.frob.com>
8315
8316 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8317 second, differently-typed declaration, rather than a cast.
8318
1a538b9f
SP
83192012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8320
8321 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8322 * include/rpc/svc.h: ... here.
8323
d07f2ff1 83242012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8325
8326 [BZ #13013]
8327 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8328 depending n and resplen2 to catch cases where answer
8329 equals answerp2.
8330
c93ec1f0
CD
83312012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8332
8333 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8334 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8335
37db69de
MF
83362012-11-29 Mike Frysinger <vapier@gentoo.org>
8337
8338 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8339
e10c4e4f
RM
83402012-11-29 Roland McGrath <roland@hack.frob.com>
8341
8342 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8343
2af1b328
JL
83442012-11-28 Jeff Law <law@redhat.com>
8345
8346 [BZ #13761]
8347 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8348 dataset_temporary. Track alloca usage into alloca_used.
8349 If dataset is large allocate and release it via malloc/free.
8350
111db5b1
FW
83512012-06-04 Florian Weimer <fweimer@redhat.com>
8352
f06cc227 8353 [BZ #14197]
111db5b1
FW
8354 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8355
dd694abd
DM
83562012-11-28 David S. Miller <davem@davemloft.net>
8357
8358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8359
9984dd01
JM
83602012-11-28 Joseph Myers <joseph@codesourcery.com>
8361
8362 [BZ #14803]
8363 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8364 of pi/2 rounded to nearest to 64 bits.
8365 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8366 nearest to 64 bits.
8367 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8368 bits.
8369
14bc93a9
JL
83702012-11-28 Jeff Law <law@redhat.com>
8371 Martin Osvald <mosvald@redhat.com>
8372
8373 [BZ #14889]
8374 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8375 * sunrpc/svc.c: Include time.h.
8376 (__svc_accept_failed): New function.
8377 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8378 any reason other than EINTR, call __svc_accept_failed.
8379 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8380 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8381
e3c6aa3a
AS
83822012-11-28 Andreas Schwab <schwab@suse.de>
8383
8384 * scripts/abilist.awk: Also handle indirect functions in .opd
8385 section.
8386
1bead169
JM
83872012-11-28 Joseph Myers <joseph@codesourcery.com>
8388
8389 [BZ #13881]
8390 * sysdeps/x86/fpu/powl_helper.c: New file.
8391 * sysdeps/x86/fpu/Makefile: Likewise.
8392 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8393 (p3): New object.
8394 (__ieee754_powl): Use __powl_helper for finite arguments except
8395 integer exponents below 8.
8396 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8397 (p3): New object.
8398 (__ieee754_powl): Use __powl_helper for finite arguments except
8399 integer exponents below 8.
8400 * math/libm-test.inc (pow_test): Add more tests and enable some
8401 previously disabled tests.
8402 * sysdeps/i386/fpu/libm-test-ulps: Update.
8403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8404
0817d63d
SP
84052012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8406 Carlos O'Donell <carlos_odonell@mentor.com>
8407
8408 * nss/makedb.c (is_prime): Assert that input is odd and greater
8409 than 4. Note that fact in a comment too.
8410 (next_prime): Add 4 to input.
8411
de2fd463
SP
84122012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8413
8414 [BZ #11741]
8415 * libio/Makefile (tests): Add test case tst-fwrite-error.
8416 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8417 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8418 * libio/tst-fwrite-error.c: New test case.
8419
c515fb51
L
84202012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8421
8422 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8423 before casting to void *.
8424 * include/libc-internal.h (__pointer_type): New macro.
8425 (__integer_if_pointer_type_sub): Likewise.
8426 (__integer_if_pointer_type): Likewise.
8427 (cast_to_integer): Likewise.
8428 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8429 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8430 before casting to atomic64_t.
8431 (atomic_exchange_acq): Likewise.
8432 (__arch_exchange_and_add_body): Likewise.
8433 (__arch_add_body): Likewise.
8434 (atomic_add_negative): Likewise.
8435 (atomic_add_zero): Likewise.
8436
4cf77aa9
JM
84372012-11-26 Joseph Myers <joseph@codesourcery.com>
8438
8439 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8440 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8441 (add_fdes): Likewise.
8442 (linear_search_fdes): Likewise.
8443 (binary_search_unencoded_fdes): Likewise.
8444
d260b3b4
AS
84452012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8446
8447 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8448
67060746
AC
84492012-11-24 Adam Conrad <adconrad@0c3.net>
8450
8451 * configure.in: Autodetect C++ header directories.
8452 * configure: Regenerated.
8453
800938a1
MF
84542012-11-23 Mike Frysinger <vapier@gentoo.org>
8455
8456 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8457
4e6e34e6
AS
84582012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8459
8460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8461
7c7feb47
JM
84622012-11-22 Joseph Myers <joseph@codesourcery.com>
8463
7184dcdf
JM
8464 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8465 LDBL_MANT_DIG == 106]: Disable some tests.
8466 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8467 Likewise.
8468 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8469 Likewise.
8470
0a42601f
JM
8471 [BZ #14871]
8472 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8473 input for small inputs. Return +/- pi/2 for large inputs.
8474 * math/libm-test.inc (atan_test): Add more tests.
8475
79c9b9fe
JM
8476 * sysdeps/generic/unwind-dw2-fde-glibc.c
8477 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8478 __attribute__ ((unused)).
8479
c60d3bf2
JM
8480 [BZ #14645]
8481 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8482 x * y if x and y are nonzero and z is zero.
8483
ef1e0867
JM
8484 [BZ #14811]
8485 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8486 nonzero exponents with absolute value below 0x1p-117 to +/-
8487 0x1p-117.
8488
1468ded3
JM
8489 [BZ #14869]
8490 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8491 up arguments below 2**-450, not just those below 2**-500.
8492 * math/libm-test.inc (hypot_test): Add another test.
8493
8e27e3cc
JM
8494 [BZ #14868]
8495 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8496 Return a+b for ratio over 2**120, not 2**60.
8497 * math/libm-test.inc (hypot_test): Add another test.
8498
c9c0279b
JM
8499 * math/libm-test.inc (clog_test): Use
8500 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8501 (clog10_test): Likewise.
8502
7c7feb47
JM
8503 [BZ #6778]
8504 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8505
fff1530e
AS
85062012-11-22 Andreas Schwab <schwab@suse.de>
8507
8508 * sysdeps/i386/fpu/libm-test-ulps: Update.
8509
94558d30
PT
85102012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8511
8512 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8513 printf output with newline.
8514
7e1be741
L
85152012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8516
6bfea974
L
8517 [BZ #14865]
8518 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8519 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8520 -z nodlopen, -z initfirst and -z execstack support.
8521 * configure: Regenerated.
8522
7e1be741
L
8523 * elf/elf.h (DF_1_NODIRECT): New macro.
8524 (DF_1_IGNMULDEF): Likewise.
8525 (DF_1_NOKSYMS): Likewise.
8526 (DF_1_NOHDR): Likewise.
8527 (DF_1_EDITED): Likewise.
8528 (DF_1_NORELOC): Likewise.
8529 (DF_1_SYMINTPOSE): Likewise.
8530 (DF_1_GLOBAUDIT): Likewise.
8531 (DF_1_SINGLETON): Likewise.
8532 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8533 DT_1_SUPPORTED_MASK bits.
8534 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8535
105ce2ce
CD
85362012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8537
8538 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8539
123be9de
TS
85402012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8541
d072f3f7
TS
8542 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8543 macro.
8544
123be9de
TS
8545 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8546 (sendmmsg): Move declarations...
8547 * socket/sys/socket.h: ... here.
8548 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8549 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8550 include it from...
8551 * socket/recvmmsg.c: ... this new file.
8552 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8553 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8554 definition of __sendmmsg hidden.
8555 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8556 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8557 Move ENOSYS stub into and include it from...
8558 * socket/sendmmsg.c: ... this new file.
8559 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8560 (sysdep_routines): Move recvmmsg and sendmmsg...
8561 * socket/Makefile (routines): ... here.
8562 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8563 (GLIBC_PRIVATE): Add __sendmmsg.
8564 * include/sys/socket.h (__sendmmsg): Add declarations.
8565 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8566 sendmmsg.
8567
cf9a5d18
JM
85682012-11-20 Joseph Myers <joseph@codesourcery.com>
8569
8570 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8571 variable I1 with __attribute__ ((unused)).
8572 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8573
ecd4caf9
JM
85742012-11-19 Joseph Myers <joseph@codesourcery.com>
8575
be14d48f
JM
8576 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8577 DUMMY variables with __attribute__ ((unused)).
8578
ecd4caf9
JM
8579 * bits/byteswap.h: Include <bits/types.h>.
8580 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8581
986cab95
PT
85822012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8583
8584 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8585 string_t. Do not manually set errno.
8586 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8587 length with __strnlen. Make sure to both set errno and return it on
8588 failure.
8589
6d33cc9d
DM
85902012-11-19 David S. Miller <davem@davemloft.net>
8591
8592 With help from Joseph Myers.
8593 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8594 very large arguments properly.
8595 * math/libm-test.inc (atan_test): New tests.
8596 (atan2_test): New tests.
8597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8599
ee663277
JM
86002012-11-19 Joseph Myers <joseph@codesourcery.com>
8601
877f2d8e
JM
8602 [BZ #14856]
8603 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8604 Define to 3.
8605
116fc08a
JM
8606 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8607 [POSIX] (EADDRNOTAVAIL): Likewise.
8608 [POSIX] (EAFNOSUPPORT): Likewise.
8609 [POSIX] (EALREADY): Likewise.
8610 [POSIX] (ECONNABORTED): Likewise.
8611 [POSIX] (ECONNREFUSED): Likewise.
8612 [POSIX] (ECONNRESET): Likewise.
8613 [POSIX] (EDESTADDRREQ): Likewise.
8614 [POSIX] (EDQUOT): Likewise.
8615 [POSIX] (EHOSTUNREACH): Likewise.
8616 [POSIX] (EIDRM): Likewise.
8617 [POSIX] (EISCONN): Likewise.
8618 [POSIX] (ELOOP): Likewise.
8619 [POSIX] (EMULTIHOP): Likewise.
8620 [POSIX] (ENETDOWN): Likewise.
8621 [POSIX] (ENETUNREACH): Likewise.
8622 [POSIX] (ENOBUFS): Likewise.
8623 [POSIX] (ENODATA): Likewise.
8624 [POSIX] (ENOLINK): Likewise.
8625 [POSIX] (ENOMSG): Likewise.
8626 [POSIX] (ENOPROTOOPT): Likewise.
8627 [POSIX] (ENOSR): Likewise.
8628 [POSIX] (ENOSTR): Likewise.
8629 [POSIX] (ENOTCONN): Likewise.
8630 [POSIX] (ENOTSOCK): Likewise.
8631 [POSIX] (EOPNOTSUPP): Likewise.
8632 [POSIX] (EOVERFLOW): Likewise.
8633 [POSIX] (EPROTO): Likewise.
8634 [POSIX] (EPROTONOSUPPORT): Likewise.
8635 [POSIX] (EPROTOTYPE): Likewise.
8636 [POSIX] (ESTALE): Likewise.
8637 [POSIX] (ETIME): Likewise.
8638 [POSIX] (ETXTBSY): Likewise.
8639 [POSIX] (EWOULDBLOCK): Likewise.
8640 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8641 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8642 [POSIX] (SEEK_CUR): Likewise.
8643 [POSIX] (SEEK_END): Likewise.
8644 [POSIX || UNIX98] (mode_t): Do not require.
8645 [POSIX] (off_t): Likewise.
8646 [POSIX] (pid_t): Likewise.
8647 [POSIX] (sys/stat.h): Do not allow header.
8648 [POSIX] (unistd.h): Likewise.
8649 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8650 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8651 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8652 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8653 require.
8654 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8655 sigevent): Specify elements.
8656 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8657 entry.
8658 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8659 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8660
a483863f
JM
8661 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8662 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8663 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8664 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8665 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8666 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8667 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8668 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8669 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8670 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8671 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8672 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8673 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8674 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8675 Likewise.
8676 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8677 Likewise.
8678 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8679 Likewise.
8680 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8681 Likewise.
8682 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8683 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8684 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8685 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8686 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8687 Specify lower bound on value.
8688 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8689 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8690 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8691 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8692 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8693 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8694 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8695 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8696 value.
8697 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8698 as optional.
8699 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8700 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8701 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8702 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8703 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8704 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8705 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8706 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8707 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8708 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8709 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8710 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8711 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8712 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8713 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8714 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8715 entry.
8716 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8717 optional.
8718 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8719 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8720 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8721 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8722 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8723 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8724 Likewise.
8725 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8726 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8727 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8728 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8729 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8730 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8731 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8732 as optional.
8733 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8734 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8735 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8736 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8737 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8738 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8739 specify as optional.
8740 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8741 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8742 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8743 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8744 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8745 [XPG3] (NL_LANGMAX): Likewise.
8746 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8747 [POSIX || XPG3] (NL_NMAX): Likewise.
8748 [POSIX || XPG3] (NL_SETMAX): Likewise.
8749 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8750 [XPG3] (NZERO): Likewise.
8751 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8752 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8753 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8754 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8755 (REG_ERANGE): Expect.
8756 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8757 optional-constant.
8758 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8759 Use (void) in prototype.
8760 [POSIX] (*_t): Allow.
8761 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8762 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8763 (WRDE_BADVAL): Expect.
8764
5ba924e3
JM
8765 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8766 expect.
8767 [XPG3 || XPG4] (O_RSYNC): Likewise.
8768 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8769 Likewise.
8770 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8771 [XPG3 || XPG4] (sigqueue): Likewise.
8772 [XPG3 || XPG4] (sigtimedwait): Likewise.
8773 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8774 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8775 [XPG3 || XPG4] (vsnprintf): Likewise.
8776 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8777 Likewise.
8778 [XPG3 || XPG4] (blksize_t): Likewise.
8779 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8780 Likewise.
8781 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8782 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8783 [XPG3 || XPG4] (struct itimerspec): Likewise.
8784 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8785 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8786 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8787 [XPG3 || XPG4] (clockid_t): Likewise.
8788 [XPG3 || XPG4] (timer_t): Likewise.
8789 [XPG3 || XPG4] (clock_getres): Likewise.
8790 [XPG3 || XPG4] (clock_gettime): Likewise.
8791 [XPG3 || XPG4] (clock_settime): Likewise.
8792 [XPG3 || XPG4] (nanosleep): Likewise.
8793 [XPG3 || XPG4] (timer_create): Likewise.
8794 [XPG3 || XPG4] (timer_delete): Likewise.
8795 [XPG3 || XPG4] (timer_gettime): Likewise.
8796 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8797 [XPG3 || XPG4] (timer_settime): Likewise.
8798 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8799 [XPG3 || XPG4] (getlogin_r): Likewise.
8800 [XPG3 || XPG4] (pread): Likewise.
8801 [XPG3 || XPG4] (pthread_atfork): Likewise.
8802 [XPG3 || XPG4] (pwrite): Likewise.
8803
ee663277
JM
8804 [BZ #14835]
8805 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8806 <bits/siginfo.h>.
8807
942caa16
PT
88082012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8809
e19af380
PT
8810 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8811 finalizing MALLSTREAM.
8812
942caa16
PT
8813 * sysdeps/mach/hurd/syncfs.c: New file.
8814
cfde9b46
SP
88152012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8816
8817 [BZ #14719]
8818 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8819 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8820 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8821 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8822 (_nss_dns_gethostbyname4_r): Likewise.
8823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8824 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8825
f6da27e5
PH
88262012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8827
8828 [BZ #13763]
8829 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8830
6665d4a2
SM
88312012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8832
1f51ee92
SM
8833 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8834 * elf/cache.c (print_entry): Print ",AArch64" for
8835 FLAG_AARCH64_LIB64
8836
6665d4a2
SM
8837 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8838 * elf/cache.c (print_entry): Print ",hard-float" for
8839 FLAG_ARM_LIBHF.
8840
05b227bd
DM
88412012-11-18 David S. Miller <davem@davemloft.net>
8842
8843 With help from Joseph Myers.
8844 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8845 cutoff to 2**-13.
8846 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8847 cutoff to 2**-25.
8848 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8849 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8850 small.
8851 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8852 * math/libm-test.inc (y0_test): New tests.
8853 (y1_test): New tests.
8854 * sysdeps/i386/fpu/libm-test-ulps: Update.
8855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8857
786b0b67
AS
88582012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8859
8860 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8861 64-bit targets.
8862 * configure: Regenerated.
8863
8e18b86d
DM
88642012-11-17 David S. Miller <davem@davemloft.net>
8865
8866 [BZ #14811]
8867 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8868 nonzero exponents with absolute value below 0x1p-128 to +/-
8869 0x1p-128.
8870
531f1ae0
JM
88712012-11-17 Joseph Myers <joseph@codesourcery.com>
8872
12df29e2
JM
8873 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8874
150dc1a0
JM
8875 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8876
531f1ae0
JM
8877 * posix/getconf-speclist.c: New file.
8878 * posix/posix-envs.def: Likewise.
8879 * posix/confstr.c (START_ENV_GROUP): New macro.
8880 (END_ENV_GROUP): Likewise.
8881 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8882 (KNOWN_PRESENT_ENV_STRING): Likewise.
8883 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8884 (UNKNOWN_ENVIRONMENT): Likewise.
8885 (confstr): Include posix-envs.def instead of handling
8886 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8887 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8888 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8889 (END_ENV_GROUP): Likewise.
8890 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8891 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8892 (UNKNOWN_ENVIRONMENT): Likewise.
8893 (__sysconf): Include posix-envs.def instead of handling associated
8894 cases directly here.
8895 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8896 preprocessing getconf-speclist.c rather than running getconf or
8897 generating empty file.
8898
a93f9cbc
PT
88992012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8900
8901 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8902
d64d9f87
AL
89032012-11-16 Andrej Lajovic <natrij@gmail.com>
8904
8905 [BZ #14672]
8906 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8907
447885eb
DM
89082012-11-16 David S. Miller <davem@davemloft.net>
8909
8910 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8911 smaller than LDBL_EPSILON/2.0L, just return xm1.
8912
bcbf9830
L
89132012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8914
8915 * elf/tst-array1.c (init): Set constructor priority to 1000.
8916 (fini): Set destructor priority to 1000.
8917 * elf/tst-array2dep.c: Likewise.
8918
2b766585
SP
89192012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8920
8921 [BZ #11741]
8922 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8923 (_IO_new_file_xsputn): Also return EOF if none of the input
8924 data was written when overflow failed.
8925 * libio/iopadn.c (_IO_padn): Likewise.
8926 * libio/iowpadn.c (_IO_wpadn): Likewise.
8927 * stdio-common/tst-put-error.c: Add copyright notice.
8928 (do_test): Add case for printing padded string.
8929 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8930 _IO_padn returned error.
8931 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8932 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8933 return EOF.
8934
b1848fde
SP
89352012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8936
8937 * libio/libioP.h: Add comment note that the references to C++
8938 bits are now obsolete.
8939
2fd89785
MS
89402012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8941
8942 * math/libm-test.inc (check_complex): Use asprintf.
8943
e3ea5409
JM
89442012-11-14 Joseph Myers <joseph@codesourcery.com>
8945
8946 * debug/pcprofiledump.c (print_version): Update copyright year.
8947 * malloc/memusagestat.c (print_version): Likewise.
8948
2e64d265
L
89492012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8950
8951 [BZ #14831]
8952 * elf/Makefile (tests): Add tst-audit8.
8953 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8954 ($(objpfx)tst-audit8.out): New target.
8955 (tst-audit8-ENV): New variable.
8956 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8957 audit if l_reloc_result is NULL.
8958 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8959 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8960 * elf/tst-audit8.c: New file.
8961
c485e4d2
MS
89622012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8963
8964 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8965 * misc/Makefile (CFLAGS-select.c): Define.
8966 * posix/Makefile (CFLAGS-pause.c): Define.
8967
3a0d900a
DM
89682012-11-13 David S. Miller <davem@davemloft.net>
8969
8970 * crypt/Makefile: Move test targets after toplevel Rules
8971 inclusion. Grab any necessary sysdep routines when linking.
8972 * crypt/md5.c (md5_process_block): Remove define, we will always
8973 name it __md5_process_block.
8974 (md5_finish_ctx): Update md5_process_block call.
8975 (md5_stream): Likewise.
8976 (md5_process_bytes): Likewise.
8977 (md5_process_block): Rename to __md5_process_block and move to ...
8978 * crypt/md5-block.c: ... here.
8979 * crypt/sha256.c (sha256_process_block): Move to ...
8980 * crypt/sha256-block.c: ... here.
8981 * crypt/sha512.c (sha512_process_block): Move to ...
8982 * crypt/sha512-block.c: ... here.
8983 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8984 path.
8985 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8986 * sysdeps/sparc/sparc64/multiarch/Makefile
8987 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8988 crypt subdir.
8989 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8990 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8991 multiarch changes.
8992 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8993 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8994 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8995 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8996 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8997 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8998 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8999 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9000 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9001 file.
9002 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9003 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9004 file.
9005 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9006
8ca89318
JM
90072012-11-13 Joseph Myers <joseph@codesourcery.com>
9008
e27d476a
JM
9009 * timezone/tzselect.ksh: Update from tzcode git revision
9010 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9011 * timezone/zdump.c: Likewise.
9012 * timezone/zic.c: Likewise.
9013 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9014 in TZVERSION setting, not $(PKGVERSION).
9015 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9016 REPORT_BUGS_TO settings.
9017
8ca89318
JM
9018 [BZ #14838]
9019 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9020 macro.
9021
47594329
MS
90222012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9023
9024 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9025 detection to immediately after _FP_ROUND().
9026 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9027 bits are 0.
9028
640ac3f1
DM
90292012-11-11 David S. Miller <davem@davemloft.net>
9030
9031 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9032 inttypes.h
9033 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9034 __close rather than their public counterparts.
9035
3d2577bb
JM
90362012-11-10 Joseph Myers <joseph@codesourcery.com>
9037
9038 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9039 file.
9040 [UNIX98] (sem_timedwait): Do not expect.
9041 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9042 [XPG4 || UNIX98] (sockatmark): Do not expect.
9043 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9044 (clock_getcpuclockid): Do not expect.
9045 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9046 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9047 Do not expect.
9048 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9049 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9050 [UNIX98] (vwscanf): Likewise.
9051 [UNIX98] (vswscanf): Likewise.
9052
fb1ae1ee
JM
90532012-11-09 Joseph Myers <joseph@codesourcery.com>
9054
9ec6f8bd
JM
9055 * timezone/version.h: Remove file.
9056 * timezone/README: Do not refer to version.h.
9057 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9058 $(objpfx)version.h.
9059 ($(objpfx)zdump.o): Likewise.
c3f81911 9060 ($(objpfx)version.h): New target.
9ec6f8bd 9061
0aa8f8a1
JM
9062 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9063 2012i.
9064 * timezone/README: Don't mention modification to tzselect.ksh.
9065 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9066 work on unmodified tzselect.ksh. Substitute version numbers in
9067 tzselect.ksh.
9068
4e87147f
JM
9069 * Makefile (format-me): Remove.
9070 (INSTALL): Adjust indentation. Use commands directly instead of
9071 using $(format-me).
9072
8b748aed
JM
9073 * aclocal.m4 (ACX_PKGVERSION): New macro.
9074 (ACX_BUGURL): Likewise.
9075 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9076 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9077 (REPORT_BUGS_TO): Likewise.
9078 * configure: Regenerated.
9079 * config.h.in (PKGVERSION): New macro.
9080 (REPORT_BUGS_TO): Likewise.
9081 * config.make.in (PKGVERSION): New variable.
9082 (PKGVERSION_TEXI): Likewise.
9083 (REPORT_BUGS_TO): Likewise.
9084 (REPORT_BUGS_TEXI): Likewise.
9085 * Makefile (format-me): Use -I$(common-objpfx)manual.
9086 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9087 ($(common-objpfx)manual/%): New target.
9088 (manual/%): Remove target.
9089 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9090 (print_version): Use PKGVERSION.
9091 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9092 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9093 and REPORT_BUGS_TO.
9094 ($(objpfx)xtrace): Likewise.
9095 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9096 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9097 (print_version): Use PKGVERSION.
9098 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9099 (do_version): Use PKGVERSION.
9100 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9101 REPORT_BUGS_TO.
9102 (common-ldd-rewrite): Likewise.
9103 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9104 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9105 (print_version): Use PKGVERSION.
9106 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9107 * elf/pldd.c (argp_program_bug_address): Remove variable.
9108 (more_help): New function.
9109 (argp): Use more_help.
9110 (print_version): Use PKGVERSION.
9111 * elf/sln.c (main): Use PKGVERSION.
9112 (usage): Use REPORT_BUGS_TO.
9113 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9114 (top level): Use PKGVERSION.
9115 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9116 (print_version): Use PKGVERSION.
9117 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9118 (print_version): Use PKGVERSION.
9119 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9120 (print_version): Use PKGVERSION.
9121 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9122 (print_version): Use PKGVERSION.
9123 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9124 (print_version): Use PKGVERSION.
9125 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9126 (print_version): Use PKGVERSION.
9127 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9128 and BUGURL.
9129 ($(objpfx)memusage): Likewise.
9130 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9131 (do_version): Use PKGVERSION.
9132 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9133 (print_version): Use PKGVERSION.
9134 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9135 ($PKGVERSION): New variable.
9136 ($REPORT_BUGS_TO): Likewise.
9137 (usage): Use $REPORT_BUGS_TO.
9138 (top level): Use $PKGVERSION.
9139 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9140 ($(objpfx)pkgvers.texi): New rule.
9141 ($(objpfx)stamp-pkgvers): Likewise.
9142 * manual/install.texi: Include pkgvers.texi.
9143 (--with-pkgversion): Document new configure option.
9144 (--with-bugurl): Likewise.
9145 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9146 than necessarily for this particular distribution. Use
9147 REPORT_BUGS_TO for where to report bugs.
9148 * INSTALL: Regenerated.
9149 * manual/libc.texinfo: Include pkgvers.texi.
9150 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9151 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9152 (print_version): Use PKGVERSION.
9153 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9154 (print_version): Use PKGVERSION.
9155 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9156 (print_version): Use PKGVERSION.
9157 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9158 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9159 macro.
9160 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9161 (print_version): Use PKGVERSION.
9162 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9163 (print_version): Use PKGVERSION.
9164 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9165 and PKGVERSION.
9166
92e4b6a9
JM
9167 * timezone/checktab.awk: Update from tzcode 2012i.
9168 * timezone/ialloc.c: Likewise.
9169 * timezone/private.h: Likewise.
9170 * timezone/scheck.c: Likewise.
9171 * timezone/tzfile.h: Likewise.
9172 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9173 (TZVERSION): Hardcode tzcode version number.
9174 * timezone/zdump.c: Update from tzcode 2012i.
9175 * timezone/zic.c: Likewise.
9176 * timezone/version.h: New file.
9177 * timezone/README: Describe version.h. Update upstream location.
9178
9bde902c
JM
9179 [BZ #14824]
9180 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9181 (mktemp): Enable declaration.
9182 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9183 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9184 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9185 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9186 Likewise.
9187 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9188 Likewise.
9189 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9190 Likewise.
9191 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9192 Likewise.
9193 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9194 Likewise.
9195 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9196 Likewise.
9197
fb1ae1ee
JM
9198 [BZ #14821]
9199 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9200 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9201 for copies of such integer values.
9202 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9203 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9204
2c1adbcb
AJ
92052012-11-09 Andreas Jaeger <aj@suse.de>
9206
9207 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9208 definitions and declarations that are provided by
9209 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9210
d0f8457e
AK
92112012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9212
3a235abb 9213 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9214 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9215 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9216 definition.
9217
57241e26
MS
92182012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9219
9220 * elf/elf.h: Update comment before AArch64 relocations.
9221
60e8270d
DM
92222012-11-07 David S. Miller <davem@davemloft.net>
9223
9224 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9225 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9226 (__start_context): Declare.
9227 (__makecontext_ret): Delete.
9228 (__makecontext): Hook up __start_context instead of
9229 __makecontext_ret.
9230 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9231 (sysdep_routines): Add __start_context when in stdlib.
9232
0fbb0fbc
JM
92332012-11-07 Joseph Myers <joseph@codesourcery.com>
9234
9235 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9236 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9237 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9238 hardcoded "nm".
9239 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9240 (READELF): New variable. Use it instead of hardcoded "readelf".
9241
eb48db7e
L
92422012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9243
9244 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9245 * sysdeps/x86/Makefile: Here.
9246 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9247 * sysdeps/x86/tst-xmmymm.sh: This.
9248
05bcf62a
JM
92492012-11-07 Joseph Myers <joseph@codesourcery.com>
9250
c4b6cf53
JM
9251 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9252 expectations.
9253 [UNIX98] (pthread_barrier_t): Do not expect.
9254 [UNIX98] (pthread_barrierattr_t): Likewise.
9255 [UNIX98] (pthread_spinlock_t): Likewise.
9256 [UNIX98] (pthread_barrier_destroy): Likewise.
9257 [UNIX98] (pthread_barrier_init): Likewise.
9258 [UNIX98] (pthread_barrier_wait): Likewise.
9259 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9260 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9261 [UNIX98] (pthread_barrierattr_init): Likewise.
9262 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9263 [UNIX98] (pthread_getcpuclockid): Likewise.
9264 [UNIX98] (pthread_mutex_timedlock): Likewise.
9265 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9266 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9267 [UNIX98] (pthread_sigmask): Likewise.
9268 [UNIX98] (pthread_spin_destroy): Likewise.
9269 [UNIX98] (pthread_spin_init): Likewise.
9270 [UNIX98] (pthread_spin_lock): Likewise.
9271 [UNIX98] (pthread_spin_trylock): Likewise.
9272 [UNIX98] (pthread_spin_unlock): Likewise.
9273 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9274 Do not expect.
9275 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9276 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9277 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9278 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9279 [XPG3 || XPG4] (pthread_key_t): Likewise.
9280 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9281 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9282 [XPG3 || XPG4] (pthread_once_t): Likewise.
9283 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9284 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9285 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9286 [XPG3 || XPG4] (pthread_t): Likewise.
9287
cbe6e120
JM
9288 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9289 not expect.
9290 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9291
1b126443
JM
9292 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9293 Change function return type to int.
9294
b961a573
JM
9295 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9296 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9297 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9298 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9299 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9300 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9301 [!POSIX] (posix_madvise): Likewise.
9302 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9303 && !UNIX98].
9304 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9305 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9306 (mode_t): Likewise.
9307 (posix_mem_offset): Likewise.
9308 (posix_typed_mem_get_info): Likewise.
9309 (posix_typed_mem_open): Likewise.
9310
9e188909
JM
9311 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9312 Change condition to [XOPEN2K8].
9313
05bcf62a
JM
9314 * conform/conformtest.pl: Preprocess allow-header data with -x c
9315 instead of from stdin.
9316 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9317 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9318 [C99-based standards] (cerfc): Likewise.
9319 [C99-based standards] (cexp2): Likewise.
9320 [C99-based standards] (cexpm1): Likewise.
9321 [C99-based standards] (clog10): Likewise.
9322 [C99-based standards] (clog1p): Likewise.
9323 [C99-based standards] (clog2): Likewise.
9324 [C99-based standards] (clgamma): Likewise.
9325 [C99-based standards] (ctgamma): Likewise.
9326 [C99-based standards] (cerff): Likewise.
9327 [C99-based standards] (cerfcf): Likewise.
9328 [C99-based standards] (cexp2f): Likewise.
9329 [C99-based standards] (cexpm1f): Likewise.
9330 [C99-based standards] (clog10f): Likewise.
9331 [C99-based standards] (clog1pf): Likewise.
9332 [C99-based standards] (clog2f): Likewise.
9333 [C99-based standards] (clgammaf): Likewise.
9334 [C99-based standards] (ctgammaf): Likewise.
9335 [C99-based standards] (cerfl): Likewise.
9336 [C99-based standards] (cerfcl): Likewise.
9337 [C99-based standards] (cexp2l): Likewise.
9338 [C99-based standards] (cexpm1l): Likewise.
9339 [C99-based standards] (clog10l): Likewise.
9340 [C99-based standards] (clog1pl): Likewise.
9341 [C99-based standards] (clog2l): Likewise.
9342 [C99-based standards] (clgammal): Likewise.
9343 [C99-based standards] (ctgammal): Likewise.
9344 * conform/data/inttypes.h-data [C99-based standards]: Include
9345 stdint.h-data. Remove all expectations for stdint.h contents.
9346 [C99-based standards] (PRI*): Do not allow.
9347 [C99-based standards] (SCN*): Likewise.
9348 [C99-based standards] (*_t): Likewise.
9349 [C99-based-standards] (PRId8): Expect macro.
9350 [C99-based-standards] (PRIi8): Likewise.
9351 [C99-based-standards] (PRIo8): Likewise.
9352 [C99-based-standards] (PRIu8): Likewise.
9353 [C99-based-standards] (PRIx8): Likewise.
9354 [C99-based-standards] (PRIX8): Likewise.
9355 [C99-based-standards] (SCNd8): Likewise.
9356 [C99-based-standards] (SCNi8): Likewise.
9357 [C99-based-standards] (SCNo8): Likewise.
9358 [C99-based-standards] (SCNu8): Likewise.
9359 [C99-based-standards] (SCNx8): Likewise.
9360 [C99-based-standards] (PRIdLEAST8): Likewise.
9361 [C99-based-standards] (PRIiLEAST8): Likewise.
9362 [C99-based-standards] (PRIoLEAST8): Likewise.
9363 [C99-based-standards] (PRIuLEAST8): Likewise.
9364 [C99-based-standards] (PRIxLEAST8): Likewise.
9365 [C99-based-standards] (PRIXLEAST8): Likewise.
9366 [C99-based-standards] (SCNdLEAST8): Likewise.
9367 [C99-based-standards] (SCNiLEAST8): Likewise.
9368 [C99-based-standards] (SCNoLEAST8): Likewise.
9369 [C99-based-standards] (SCNuLEAST8): Likewise.
9370 [C99-based-standards] (SCNxLEAST8): Likewise.
9371 [C99-based-standards] (PRIdFAST8): Likewise.
9372 [C99-based-standards] (PRIiFAST8): Likewise.
9373 [C99-based-standards] (PRIoFAST8): Likewise.
9374 [C99-based-standards] (PRIuFAST8): Likewise.
9375 [C99-based-standards] (PRIxFAST8): Likewise.
9376 [C99-based-standards] (PRIXFAST8): Likewise.
9377 [C99-based-standards] (SCNdFAST8): Likewise.
9378 [C99-based-standards] (SCNiFAST8): Likewise.
9379 [C99-based-standards] (SCNoFAST8): Likewise.
9380 [C99-based-standards] (SCNuFAST8): Likewise.
9381 [C99-based-standards] (SCNxFAST8): Likewise.
9382 [C99-based-standards] (PRId16): Likewise.
9383 [C99-based-standards] (PRIi16): Likewise.
9384 [C99-based-standards] (PRIo16): Likewise.
9385 [C99-based-standards] (PRIu16): Likewise.
9386 [C99-based-standards] (PRIx16): Likewise.
9387 [C99-based-standards] (PRIX16): Likewise.
9388 [C99-based-standards] (SCNd16): Likewise.
9389 [C99-based-standards] (SCNi16): Likewise.
9390 [C99-based-standards] (SCNo16): Likewise.
9391 [C99-based-standards] (SCNu16): Likewise.
9392 [C99-based-standards] (SCNx16): Likewise.
9393 [C99-based-standards] (PRIdLEAST16): Likewise.
9394 [C99-based-standards] (PRIiLEAST16): Likewise.
9395 [C99-based-standards] (PRIoLEAST16): Likewise.
9396 [C99-based-standards] (PRIuLEAST16): Likewise.
9397 [C99-based-standards] (PRIxLEAST16): Likewise.
9398 [C99-based-standards] (PRIXLEAST16): Likewise.
9399 [C99-based-standards] (SCNdLEAST16): Likewise.
9400 [C99-based-standards] (SCNiLEAST16): Likewise.
9401 [C99-based-standards] (SCNoLEAST16): Likewise.
9402 [C99-based-standards] (SCNuLEAST16): Likewise.
9403 [C99-based-standards] (SCNxLEAST16): Likewise.
9404 [C99-based-standards] (PRIdFAST16): Likewise.
9405 [C99-based-standards] (PRIiFAST16): Likewise.
9406 [C99-based-standards] (PRIoFAST16): Likewise.
9407 [C99-based-standards] (PRIuFAST16): Likewise.
9408 [C99-based-standards] (PRIxFAST16): Likewise.
9409 [C99-based-standards] (PRIXFAST16): Likewise.
9410 [C99-based-standards] (SCNdFAST16): Likewise.
9411 [C99-based-standards] (SCNiFAST16): Likewise.
9412 [C99-based-standards] (SCNoFAST16): Likewise.
9413 [C99-based-standards] (SCNuFAST16): Likewise.
9414 [C99-based-standards] (SCNxFAST16): Likewise.
9415 [C99-based-standards] (PRId32): Likewise.
9416 [C99-based-standards] (PRIi32): Likewise.
9417 [C99-based-standards] (PRIo32): Likewise.
9418 [C99-based-standards] (PRIu32): Likewise.
9419 [C99-based-standards] (PRIx32): Likewise.
9420 [C99-based-standards] (PRIX32): Likewise.
9421 [C99-based-standards] (SCNd32): Likewise.
9422 [C99-based-standards] (SCNi32): Likewise.
9423 [C99-based-standards] (SCNo32): Likewise.
9424 [C99-based-standards] (SCNu32): Likewise.
9425 [C99-based-standards] (SCNx32): Likewise.
9426 [C99-based-standards] (PRIdLEAST32): Likewise.
9427 [C99-based-standards] (PRIiLEAST32): Likewise.
9428 [C99-based-standards] (PRIoLEAST32): Likewise.
9429 [C99-based-standards] (PRIuLEAST32): Likewise.
9430 [C99-based-standards] (PRIxLEAST32): Likewise.
9431 [C99-based-standards] (PRIXLEAST32): Likewise.
9432 [C99-based-standards] (SCNdLEAST32): Likewise.
9433 [C99-based-standards] (SCNiLEAST32): Likewise.
9434 [C99-based-standards] (SCNoLEAST32): Likewise.
9435 [C99-based-standards] (SCNuLEAST32): Likewise.
9436 [C99-based-standards] (SCNxLEAST32): Likewise.
9437 [C99-based-standards] (PRIdFAST32): Likewise.
9438 [C99-based-standards] (PRIiFAST32): Likewise.
9439 [C99-based-standards] (PRIoFAST32): Likewise.
9440 [C99-based-standards] (PRIuFAST32): Likewise.
9441 [C99-based-standards] (PRIxFAST32): Likewise.
9442 [C99-based-standards] (PRIXFAST32): Likewise.
9443 [C99-based-standards] (SCNdFAST32): Likewise.
9444 [C99-based-standards] (SCNiFAST32): Likewise.
9445 [C99-based-standards] (SCNoFAST32): Likewise.
9446 [C99-based-standards] (SCNuFAST32): Likewise.
9447 [C99-based-standards] (SCNxFAST32): Likewise.
9448 [C99-based-standards] (PRId64): Likewise.
9449 [C99-based-standards] (PRIi64): Likewise.
9450 [C99-based-standards] (PRIo64): Likewise.
9451 [C99-based-standards] (PRIu64): Likewise.
9452 [C99-based-standards] (PRIx64): Likewise.
9453 [C99-based-standards] (PRIX64): Likewise.
9454 [C99-based-standards] (SCNd64): Likewise.
9455 [C99-based-standards] (SCNi64): Likewise.
9456 [C99-based-standards] (SCNo64): Likewise.
9457 [C99-based-standards] (SCNu64): Likewise.
9458 [C99-based-standards] (SCNx64): Likewise.
9459 [C99-based-standards] (PRIdLEAST64): Likewise.
9460 [C99-based-standards] (PRIiLEAST64): Likewise.
9461 [C99-based-standards] (PRIoLEAST64): Likewise.
9462 [C99-based-standards] (PRIuLEAST64): Likewise.
9463 [C99-based-standards] (PRIxLEAST64): Likewise.
9464 [C99-based-standards] (PRIXLEAST64): Likewise.
9465 [C99-based-standards] (SCNdLEAST64): Likewise.
9466 [C99-based-standards] (SCNiLEAST64): Likewise.
9467 [C99-based-standards] (SCNoLEAST64): Likewise.
9468 [C99-based-standards] (SCNuLEAST64): Likewise.
9469 [C99-based-standards] (SCNxLEAST64): Likewise.
9470 [C99-based-standards] (PRIdFAST64): Likewise.
9471 [C99-based-standards] (PRIiFAST64): Likewise.
9472 [C99-based-standards] (PRIoFAST64): Likewise.
9473 [C99-based-standards] (PRIuFAST64): Likewise.
9474 [C99-based-standards] (PRIxFAST64): Likewise.
9475 [C99-based-standards] (PRIXFAST64): Likewise.
9476 [C99-based-standards] (SCNdFAST64): Likewise.
9477 [C99-based-standards] (SCNiFAST64): Likewise.
9478 [C99-based-standards] (SCNoFAST64): Likewise.
9479 [C99-based-standards] (SCNuFAST64): Likewise.
9480 [C99-based-standards] (SCNxFAST64): Likewise.
9481 [C99-based-standards] (PRIdMAX): Likewise.
9482 [C99-based-standards] (PRIiMAX): Likewise.
9483 [C99-based-standards] (PRIoMAX): Likewise.
9484 [C99-based-standards] (PRIuMAX): Likewise.
9485 [C99-based-standards] (PRIxMAX): Likewise.
9486 [C99-based-standards] (PRIXMAX): Likewise.
9487 [C99-based-standards] (SCNdMAX): Likewise.
9488 [C99-based-standards] (SCNiMAX): Likewise.
9489 [C99-based-standards] (SCNoMAX): Likewise.
9490 [C99-based-standards] (SCNuMAX): Likewise.
9491 [C99-based-standards] (SCNxMAX): Likewise.
9492 [C99-based-standards] (PRIdPTR): Likewise.
9493 [C99-based-standards] (PRIiPTR): Likewise.
9494 [C99-based-standards] (PRIoPTR): Likewise.
9495 [C99-based-standards] (PRIuPTR): Likewise.
9496 [C99-based-standards] (PRIxPTR): Likewise.
9497 [C99-based-standards] (PRIXPTR): Likewise.
9498 [C99-based-standards] (SCNdPTR): Likewise.
9499 [C99-based-standards] (SCNiPTR): Likewise.
9500 [C99-based-standards] (SCNoPTR): Likewise.
9501 [C99-based-standards] (SCNuPTR): Likewise.
9502 [C99-based-standards] (SCNxPTR): Likewise.
9503 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9504 allow.
9505 * conform/data/stdint.h-data: Update comments to clarify
9506 requirements.
9507 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9508 type.
9509 [C99-based standards] (INT8_MAX): Likewise.
9510 [C99-based standards] (INT16_MIN): Likewise.
9511 [C99-based standards] (INT16_MAX): Likewise.
9512 [C99-based standards] (INT32_MIN): Likewise.
9513 [C99-based standards] (INT32_MAX): Likewise.
9514 [C99-based standards] (INT64_MIN): Likewise.
9515 [C99-based standards] (INT64_MAX): Likewise.
9516 [C99-based standards] (UINT8_MAX): Likewise.
9517 [C99-based standards] (UINT16_MAX): Likewise.
9518 [C99-based standards] (UINT32_MAX): Likewise.
9519 [C99-based standards] (UINT64_MAX): Likewise.
9520 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9521 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9522 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9523 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9524 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9525 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9526 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9527 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9528 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9529 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9530 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9531 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9532 [C99-based standards] (INT_FAST8_MIN): Likewise.
9533 [C99-based standards] (INT_FAST8_MAX): Likewise.
9534 [C99-based standards] (INT_FAST16_MIN): Likewise.
9535 [C99-based standards] (INT_FAST16_MAX): Likewise.
9536 [C99-based standards] (INT_FAST32_MIN): Likewise.
9537 [C99-based standards] (INT_FAST32_MAX): Likewise.
9538 [C99-based standards] (INT_FAST64_MIN): Likewise.
9539 [C99-based standards] (INT_FAST64_MAX): Likewise.
9540 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9541 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9542 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9543 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9544 [C99-based standards] (INTPTR_MIN): Likewise.
9545 [C99-based standards] (INTPTR_MAX): Likewise.
9546 [C99-based standards] (UINTPTR_MAX): Likewise.
9547 [C99-based standards] (INTMAX_MIN): Likewise.
9548 [C99-based standards] (INTMAX_MAX): Likewise.
9549 [C99-based standards] (UINTMAX_MAX): Likewise.
9550 [C99-based standards] (PTRDIFF_MIN): Likewise.
9551 [C99-based standards] (PTRDIFF_MAX): Likewise.
9552 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9553 [C99-based standards] (SIZE_MAX): Likewise.
9554 [C99-based standards] (WCHAR_MAX): Likewise.
9555 [C99-based standards] (WINT_MAX): Likewise.
9556 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9557 constraint on value.
9558 [C99-based standards] (WCHAR_MIN): Likewise.
9559 [C99-based standards] (WINT_MIN): Likewise.
9560 [C99-based standards] (*_t): Allow.
9561 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9562 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9563 Include math.h-data and complex.h-data. Remove all expectations
9564 of math.h and complex.h contents.
9565 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9566 at end of line.
9567 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9568 (struct tm): Expect tag.
9569 [C99-based-standards] (wcstof): Expect function.
9570 [C99-based-standards] (wcstold): Likewise.
9571 [C99-based-standards] (wcstoll): Likewise.
9572 [C99-based-standards] (wcstoull): Likewise.
9573 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9574 macro-int-constant. Specify type.
9575 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9576 constraint on value.
9577 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9578 Specify type.
9579 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9580 Specify value.
9581 [ISO C standards]: Do not allow headers.
9582 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9583 wcs[abcdefghijklmnopqrstuvwxyz]*.
9584 [ISO C standards] (*_t): Do not allow.
9585 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9586 Expect function.
9587 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9588 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9589 Specify type.
9590 [ISO C standards]: Do not allow headers.
9591 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9592 is[abcdefghijklmnopqrstuvwxyz]*.
9593 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9594 to[abcdefghijklmnopqrstuvwxyz]*.
9595 [ISO C standards] (*_t): Do not allow.
9596 * conform/data/stdalign.h-data: New file.
9597 * conform/data/stdbool.h-data: Likewise.
9598 * conform/data/stdnoreturn.h-data: Likewise.
9599
7514feb8
RM
96002012-11-07 Roland McGrath <roland@hack.frob.com>
9601
9602 [BZ #14815]
9603 * manual/filesys.texi (Directory Entries): Typo fix.
9604 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9605
19b2ecfc
MS
96062012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9607
9608 * elf/elf.h (EM_AARCH64): New macro.
9609 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9610 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9611 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9612 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9613 (R_AARCH64_TLSDESC): Likewise.
9614 (NT_ARM_TLS): Likewise.
9615 (NT_ARM_HW_BREAK): Likewise.
9616 (NT_ARM_HW_WATCH): Likewise.
9617
60e235ee
JM
96182012-11-07 Joseph Myers <joseph@codesourcery.com>
9619
9620 [BZ #14811]
9621 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9622 (__ieee754_powl): Saturate nonzero exponents with absolute value
9623 below 0x1p-79 to +/- 0x1p-79.
9624 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9625 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9626 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9627 nonzero exponents with absolute value below 0x1p-32 to +/-
9628 0x1p-32.
9629 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9630 (__ieee754_powl): Saturate nonzero exponents with absolute value
9631 below 0x1p-79 to +/- 0x1p-79.
9632 * math/libm-test.inc (pow_test): Add more tests.
9633
0ab234b7
AK
96342012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9635
9636 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9637 _dl_s390_cap_flags with kernel. Increase string length.
9638 (_dl_s390_platforms): Add z196 and zEC12.
9639
45832f74
JM
96402012-11-07 Joseph Myers <joseph@codesourcery.com>
9641
9642 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9643 Change XOPEN21K to XOPEN2K.
9644
19218757
MK
96452012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9646
9647 * string/memmove.c: Use memcpy when possible.
9648
c5f45721
AJ
96492012-11-06 Andreas Jaeger <aj@suse.de>
9650
9651 * po/eo.po: Update from translation team.
9652
82477c28
JM
96532012-11-06 Joseph Myers <joseph@codesourcery.com>
9654
9655 [BZ #14793]
9656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9657 exponent and small x and y exponents, scale x or y up. Increase
9658 by 2 the exponent used in scaling up.
9659 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9660 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9661 * math/libm-test.inc (fma_test): Add more tests.
9662 (fma_test_towardzero): Likewise.
9663 (fma_test_downward): Likewise.
9664 (fma_test_upward): Likewise.
9665
99252c8c
JM
96662012-11-05 Joseph Myers <joseph@codesourcery.com>
9667
acfa885f
JM
9668 [BZ #14805]
9669 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9670 fenv_t *.
9671
99252c8c
JM
9672 [BZ #14801]
9673 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9674 namespace for names of struct fields.
9675 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9676 fenv_t fields.
9677 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9678 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9679
d6d98dea
ST
96802012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9681
9682 [BZ #3665]
9683 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9684
e10bb107
TS
96852012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9686
9687 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9688 PTR_DEMANGLE.
9689
9690 [BZ #5246]
9691 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9692 PTR_DEMANGLE.
9693
a0c2940d
JM
96942012-11-04 Joseph Myers <joseph@codesourcery.com>
9695
9696 [BZ #14797]
9697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9698 definitely overflow as x * y not x * y + z.
9699 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9700 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9701 * math/libm-test.inc (fma_test): Add more tests.
9702 (fma_test_towardzero): Likewise.
9703 (fma_test_downward): Likewise.
9704 (fma_test_upward): Likewise.
9705
b830319d
TS
97062012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9707
9708 [BZ #157]
9709
9710 * include/stub-tag.h: Remove file.
9711 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9712 '#include' of it.
9713 * manual/maint.texi (Porting): Don't reference it.
9714 * Makerules ($(objpfx)stubs): Likewise.
9715 * dirent/closedir.c: Don't include <stub-tag.h>.
9716 * dirent/dirfd.c: Likewise.
9717 * dirent/fdopendir.c: Likewise.
9718 * dirent/getdents.c: Likewise.
9719 * dirent/getdents64.c: Likewise.
9720 * dirent/opendir.c: Likewise.
9721 * dirent/readdir.c: Likewise.
9722 * dirent/readdir64.c: Likewise.
9723 * dirent/readdir64_r.c: Likewise.
9724 * dirent/readdir_r.c: Likewise.
9725 * dirent/rewinddir.c: Likewise.
9726 * dirent/seekdir.c: Likewise.
9727 * dirent/telldir.c: Likewise.
9728 * gmon/profil.c: Likewise.
9729 * grp/setgroups.c: Likewise.
9730 * inet/if_index.c: Likewise.
9731 * io/access.c: Likewise.
9732 * io/chdir.c: Likewise.
9733 * io/chmod.c: Likewise.
9734 * io/chown.c: Likewise.
9735 * io/close.c: Likewise.
9736 * io/dup.c: Likewise.
9737 * io/dup2.c: Likewise.
9738 * io/dup3.c: Likewise.
9739 * io/euidaccess.c: Likewise.
9740 * io/faccessat.c: Likewise.
9741 * io/fchdir.c: Likewise.
9742 * io/fchmod.c: Likewise.
9743 * io/fchmodat.c: Likewise.
9744 * io/fchown.c: Likewise.
9745 * io/fchownat.c: Likewise.
9746 * io/fcntl.c: Likewise.
9747 * io/flock.c: Likewise.
9748 * io/fstatfs.c: Likewise.
9749 * io/fstatfs64.c: Likewise.
9750 * io/fstatvfs.c: Likewise.
9751 * io/fstatvfs64.c: Likewise.
9752 * io/futimens.c: Likewise.
9753 * io/fxstat.c: Likewise.
9754 * io/fxstat64.c: Likewise.
9755 * io/fxstatat.c: Likewise.
9756 * io/fxstatat64.c: Likewise.
9757 * io/getcwd.c: Likewise.
9758 * io/isatty.c: Likewise.
9759 * io/lchmod.c: Likewise.
9760 * io/lchown.c: Likewise.
9761 * io/link.c: Likewise.
9762 * io/linkat.c: Likewise.
9763 * io/lseek.c: Likewise.
9764 * io/lseek64.c: Likewise.
9765 * io/lxstat64.c: Likewise.
9766 * io/mkdir.c: Likewise.
9767 * io/mkdirat.c: Likewise.
9768 * io/mkfifo.c: Likewise.
9769 * io/mkfifoat.c: Likewise.
9770 * io/open.c: Likewise.
9771 * io/open64.c: Likewise.
9772 * io/openat.c: Likewise.
9773 * io/openat64.c: Likewise.
9774 * io/pipe.c: Likewise.
9775 * io/pipe2.c: Likewise.
9776 * io/poll.c: Likewise.
9777 * io/posix_fadvise.c: Likewise.
9778 * io/posix_fadvise64.c: Likewise.
9779 * io/posix_fallocate.c: Likewise.
9780 * io/posix_fallocate64.c: Likewise.
9781 * io/read.c: Likewise.
9782 * io/readlink.c: Likewise.
9783 * io/readlinkat.c: Likewise.
9784 * io/rmdir.c: Likewise.
9785 * io/sendfile.c: Likewise.
9786 * io/sendfile64.c: Likewise.
9787 * io/statfs.c: Likewise.
9788 * io/statfs64.c: Likewise.
9789 * io/statvfs.c: Likewise.
9790 * io/statvfs64.c: Likewise.
9791 * io/symlink.c: Likewise.
9792 * io/symlinkat.c: Likewise.
9793 * io/ttyname.c: Likewise.
9794 * io/ttyname_r.c: Likewise.
9795 * io/umask.c: Likewise.
9796 * io/unlink.c: Likewise.
9797 * io/unlinkat.c: Likewise.
9798 * io/utime.c: Likewise.
9799 * io/utimensat.c: Likewise.
9800 * io/write.c: Likewise.
9801 * io/xmknod.c: Likewise.
9802 * io/xmknodat.c: Likewise.
9803 * io/xstat.c: Likewise.
9804 * io/xstat64.c: Likewise.
9805 * login/getpt.c: Likewise.
9806 * login/grantpt.c: Likewise.
9807 * login/unlockpt.c: Likewise.
9808 * math/e_acoshl.c: Likewise.
9809 * math/e_acosl.c: Likewise.
9810 * math/e_asinl.c: Likewise.
9811 * math/e_atan2l.c: Likewise.
9812 * math/e_atanhl.c: Likewise.
9813 * math/e_coshl.c: Likewise.
9814 * math/e_expl.c: Likewise.
9815 * math/e_fmodl.c: Likewise.
9816 * math/e_gammal_r.c: Likewise.
9817 * math/e_hypotl.c: Likewise.
9818 * math/e_j0l.c: Likewise.
9819 * math/e_j1l.c: Likewise.
9820 * math/e_jnl.c: Likewise.
9821 * math/e_lgammal_r.c: Likewise.
9822 * math/e_log10l.c: Likewise.
9823 * math/e_log2l.c: Likewise.
9824 * math/e_logl.c: Likewise.
9825 * math/e_powl.c: Likewise.
9826 * math/e_rem_pio2l.c: Likewise.
9827 * math/e_sinhl.c: Likewise.
9828 * math/e_sqrtl.c: Likewise.
9829 * math/fclrexcpt.c: Likewise.
9830 * math/fedisblxcpt.c: Likewise.
9831 * math/feenablxcpt.c: Likewise.
9832 * math/fegetenv.c: Likewise.
9833 * math/fegetexcept.c: Likewise.
9834 * math/fegetround.c: Likewise.
9835 * math/feholdexcpt.c: Likewise.
9836 * math/fesetenv.c: Likewise.
9837 * math/fesetround.c: Likewise.
9838 * math/feupdateenv.c: Likewise.
9839 * math/fgetexcptflg.c: Likewise.
9840 * math/fraiseexcpt.c: Likewise.
9841 * math/fsetexcptflg.c: Likewise.
9842 * math/ftestexcept.c: Likewise.
9843 * math/k_cosl.c: Likewise.
9844 * math/k_rem_pio2l.c: Likewise.
9845 * math/k_sinl.c: Likewise.
9846 * math/k_tanl.c: Likewise.
9847 * math/s_asinhl.c: Likewise.
9848 * math/s_atanl.c: Likewise.
9849 * math/s_cbrtl.c: Likewise.
9850 * math/s_erfl.c: Likewise.
9851 * math/s_expm1l.c: Likewise.
9852 * math/s_log1pl.c: Likewise.
9853 * math/s_tanhl.c: Likewise.
9854 * misc/acct.c: Likewise.
9855 * misc/brk.c: Likewise.
9856 * misc/chflags.c: Likewise.
9857 * misc/chroot.c: Likewise.
9858 * misc/fchflags.c: Likewise.
9859 * misc/fgetxattr.c: Likewise.
9860 * misc/flistxattr.c: Likewise.
9861 * misc/fremovexattr.c: Likewise.
9862 * misc/fsetxattr.c: Likewise.
9863 * misc/fsync.c: Likewise.
9864 * misc/ftruncate.c: Likewise.
9865 * misc/futimes.c: Likewise.
9866 * misc/futimesat.c: Likewise.
9867 * misc/getdomain.c: Likewise.
9868 * misc/getdtsz.c: Likewise.
9869 * misc/gethostid.c: Likewise.
9870 * misc/gethostname.c: Likewise.
9871 * misc/getloadavg.c: Likewise.
9872 * misc/getpagesize.c: Likewise.
9873 * misc/getsysstats.c: Likewise.
9874 * misc/getxattr.c: Likewise.
9875 * misc/gtty.c: Likewise.
9876 * misc/ioctl.c: Likewise.
9877 * misc/lgetxattr.c: Likewise.
9878 * misc/listxattr.c: Likewise.
9879 * misc/llistxattr.c: Likewise.
9880 * misc/lremovexattr.c: Likewise.
9881 * misc/lsetxattr.c: Likewise.
9882 * misc/lutimes.c: Likewise.
9883 * misc/madvise.c: Likewise.
9884 * misc/mincore.c: Likewise.
9885 * misc/mlock.c: Likewise.
9886 * misc/mlockall.c: Likewise.
9887 * misc/mmap.c: Likewise.
9888 * misc/mprotect.c: Likewise.
9889 * misc/msync.c: Likewise.
9890 * misc/munlock.c: Likewise.
9891 * misc/munlockall.c: Likewise.
9892 * misc/munmap.c: Likewise.
9893 * misc/preadv.c: Likewise.
9894 * misc/preadv64.c: Likewise.
9895 * misc/ptrace.c: Likewise.
9896 * misc/pwritev.c: Likewise.
9897 * misc/pwritev64.c: Likewise.
9898 * misc/readv.c: Likewise.
9899 * misc/reboot.c: Likewise.
9900 * misc/remap_file_pages.c: Likewise.
9901 * misc/removexattr.c: Likewise.
9902 * misc/revoke.c: Likewise.
9903 * misc/select.c: Likewise.
9904 * misc/setdomain.c: Likewise.
9905 * misc/setegid.c: Likewise.
9906 * misc/seteuid.c: Likewise.
9907 * misc/sethostid.c: Likewise.
9908 * misc/sethostname.c: Likewise.
9909 * misc/setregid.c: Likewise.
9910 * misc/setreuid.c: Likewise.
9911 * misc/setxattr.c: Likewise.
9912 * misc/sstk.c: Likewise.
9913 * misc/stty.c: Likewise.
9914 * misc/swapoff.c: Likewise.
9915 * misc/swapon.c: Likewise.
9916 * misc/sync.c: Likewise.
9917 * misc/syncfs.c: Likewise.
9918 * misc/syscall.c: Likewise.
9919 * misc/truncate.c: Likewise.
9920 * misc/ualarm.c: Likewise.
9921 * misc/usleep.c: Likewise.
9922 * misc/ustat.c: Likewise.
9923 * misc/utimes.c: Likewise.
9924 * misc/vhangup.c: Likewise.
9925 * misc/writev.c: Likewise.
9926 * posix/_exit.c: Likewise.
9927 * posix/alarm.c: Likewise.
9928 * posix/execve.c: Likewise.
9929 * posix/fexecve.c: Likewise.
9930 * posix/fork.c: Likewise.
9931 * posix/fpathconf.c: Likewise.
9932 * posix/getaddrinfo.c: Likewise.
9933 * posix/getegid.c: Likewise.
9934 * posix/geteuid.c: Likewise.
9935 * posix/getgid.c: Likewise.
9936 * posix/getgroups.c: Likewise.
9937 * posix/getlogin.c: Likewise.
9938 * posix/getlogin_r.c: Likewise.
9939 * posix/getpgid.c: Likewise.
9940 * posix/getpid.c: Likewise.
9941 * posix/getppid.c: Likewise.
9942 * posix/getresgid.c: Likewise.
9943 * posix/getresuid.c: Likewise.
9944 * posix/getsid.c: Likewise.
9945 * posix/getuid.c: Likewise.
9946 * posix/glob64.c: Likewise.
9947 * posix/nanosleep.c: Likewise.
9948 * posix/pathconf.c: Likewise.
9949 * posix/pause.c: Likewise.
9950 * posix/posix_madvise.c: Likewise.
9951 * posix/pread.c: Likewise.
9952 * posix/pread64.c: Likewise.
9953 * posix/pwrite.c: Likewise.
9954 * posix/pwrite64.c: Likewise.
9955 * posix/sched_getaffinity.c: Likewise.
9956 * posix/sched_getp.c: Likewise.
9957 * posix/sched_gets.c: Likewise.
9958 * posix/sched_primax.c: Likewise.
9959 * posix/sched_primin.c: Likewise.
9960 * posix/sched_rr_gi.c: Likewise.
9961 * posix/sched_setaffinity.c: Likewise.
9962 * posix/sched_setp.c: Likewise.
9963 * posix/sched_sets.c: Likewise.
9964 * posix/sched_yield.c: Likewise.
9965 * posix/setgid.c: Likewise.
9966 * posix/setlogin.c: Likewise.
9967 * posix/setpgid.c: Likewise.
9968 * posix/setresgid.c: Likewise.
9969 * posix/setresuid.c: Likewise.
9970 * posix/setsid.c: Likewise.
9971 * posix/setuid.c: Likewise.
9972 * posix/sleep.c: Likewise.
9973 * posix/spawni.c: Likewise.
9974 * posix/sysconf.c: Likewise.
9975 * posix/times.c: Likewise.
9976 * posix/wait.c: Likewise.
9977 * posix/wait3.c: Likewise.
9978 * posix/wait4.c: Likewise.
9979 * posix/waitpid.c: Likewise.
9980 * resolv/gai_sigqueue.c: Likewise.
9981 * resource/getpriority.c: Likewise.
9982 * resource/getrlimit.c: Likewise.
9983 * resource/getrusage.c: Likewise.
9984 * resource/nice.c: Likewise.
9985 * resource/setpriority.c: Likewise.
9986 * resource/setrlimit.c: Likewise.
9987 * resource/ulimit.c: Likewise.
9988 * rt/aio_cancel.c: Likewise.
9989 * rt/aio_fsync.c: Likewise.
9990 * rt/aio_read.c: Likewise.
9991 * rt/aio_sigqueue.c: Likewise.
9992 * rt/aio_suspend.c: Likewise.
9993 * rt/aio_write.c: Likewise.
9994 * rt/clock_getres.c: Likewise.
9995 * rt/clock_gettime.c: Likewise.
9996 * rt/clock_nanosleep.c: Likewise.
9997 * rt/clock_settime.c: Likewise.
9998 * rt/lio_listio.c: Likewise.
9999 * rt/mq_close.c: Likewise.
10000 * rt/mq_getattr.c: Likewise.
10001 * rt/mq_notify.c: Likewise.
10002 * rt/mq_open.c: Likewise.
10003 * rt/mq_receive.c: Likewise.
10004 * rt/mq_send.c: Likewise.
10005 * rt/mq_setattr.c: Likewise.
10006 * rt/mq_timedreceive.c: Likewise.
10007 * rt/mq_timedsend.c: Likewise.
10008 * rt/mq_unlink.c: Likewise.
10009 * rt/shm_open.c: Likewise.
10010 * rt/shm_unlink.c: Likewise.
10011 * rt/timer_create.c: Likewise.
10012 * rt/timer_delete.c: Likewise.
10013 * rt/timer_getoverr.c: Likewise.
10014 * rt/timer_gettime.c: Likewise.
10015 * rt/timer_settime.c: Likewise.
10016 * setjmp/__longjmp.c: Likewise.
10017 * setjmp/setjmp.c: Likewise.
10018 * signal/kill.c: Likewise.
10019 * signal/killpg.c: Likewise.
10020 * signal/raise.c: Likewise.
10021 * signal/sigaction.c: Likewise.
10022 * signal/sigaltstack.c: Likewise.
10023 * signal/sigblock.c: Likewise.
10024 * signal/sigignore.c: Likewise.
10025 * signal/sigintr.c: Likewise.
10026 * signal/signal.c: Likewise.
10027 * signal/sigpause.c: Likewise.
10028 * signal/sigpending.c: Likewise.
10029 * signal/sigqueue.c: Likewise.
10030 * signal/sigreturn.c: Likewise.
10031 * signal/sigset.c: Likewise.
10032 * signal/sigsetmask.c: Likewise.
10033 * signal/sigstack.c: Likewise.
10034 * signal/sigsuspend.c: Likewise.
10035 * signal/sigtimedwait.c: Likewise.
10036 * signal/sigvec.c: Likewise.
10037 * signal/sigwait.c: Likewise.
10038 * signal/sigwaitinfo.c: Likewise.
10039 * signal/sysv_signal.c: Likewise.
10040 * socket/accept.c: Likewise.
10041 * socket/accept4.c: Likewise.
10042 * socket/bind.c: Likewise.
10043 * socket/connect.c: Likewise.
10044 * socket/getpeername.c: Likewise.
10045 * socket/getsockname.c: Likewise.
10046 * socket/getsockopt.c: Likewise.
10047 * socket/isfdtype.c: Likewise.
10048 * socket/listen.c: Likewise.
10049 * socket/recv.c: Likewise.
10050 * socket/recvfrom.c: Likewise.
10051 * socket/recvmsg.c: Likewise.
10052 * socket/send.c: Likewise.
10053 * socket/sendmsg.c: Likewise.
10054 * socket/sendto.c: Likewise.
10055 * socket/setsockopt.c: Likewise.
10056 * socket/shutdown.c: Likewise.
10057 * socket/sockatmark.c: Likewise.
10058 * socket/socket.c: Likewise.
10059 * socket/socketpair.c: Likewise.
10060 * stdio-common/ctermid.c: Likewise.
10061 * stdio-common/cuserid.c: Likewise.
10062 * stdio-common/remove.c: Likewise.
10063 * stdio-common/rename.c: Likewise.
10064 * stdio-common/renameat.c: Likewise.
10065 * stdio-common/tempname.c: Likewise.
10066 * stdlib/getcontext.c: Likewise.
10067 * stdlib/makecontext.c: Likewise.
10068 * stdlib/setcontext.c: Likewise.
10069 * stdlib/swapcontext.c: Likewise.
10070 * stdlib/system.c: Likewise.
10071 * streams/fattach.c: Likewise.
10072 * streams/fdetach.c: Likewise.
10073 * streams/getmsg.c: Likewise.
10074 * streams/getpmsg.c: Likewise.
10075 * streams/putmsg.c: Likewise.
10076 * streams/putpmsg.c: Likewise.
10077 * sysdeps/unix/bsd/getpt.c: Likewise.
10078 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10079 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10080 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10082 Likewise.
10083 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10084 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10085 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10086 * sysvipc/msgctl.c: Likewise.
10087 * sysvipc/msgget.c: Likewise.
10088 * sysvipc/msgrcv.c: Likewise.
10089 * sysvipc/msgsnd.c: Likewise.
10090 * sysvipc/semctl.c: Likewise.
10091 * sysvipc/semget.c: Likewise.
10092 * sysvipc/semop.c: Likewise.
10093 * sysvipc/semtimedop.c: Likewise.
10094 * sysvipc/shmat.c: Likewise.
10095 * sysvipc/shmctl.c: Likewise.
10096 * sysvipc/shmdt.c: Likewise.
10097 * sysvipc/shmget.c: Likewise.
10098 * termios/tcdrain.c: Likewise.
10099 * termios/tcflow.c: Likewise.
10100 * termios/tcflush.c: Likewise.
10101 * termios/tcgetattr.c: Likewise.
10102 * termios/tcgetpgrp.c: Likewise.
10103 * termios/tcsendbrk.c: Likewise.
10104 * termios/tcsetattr.c: Likewise.
10105 * termios/tcsetpgrp.c: Likewise.
10106 * time/adjtime.c: Likewise.
10107 * time/clock.c: Likewise.
10108 * time/getitimer.c: Likewise.
10109 * time/gettimeofday.c: Likewise.
10110 * time/setitimer.c: Likewise.
10111 * time/settimeofday.c: Likewise.
10112 * time/stime.c: Likewise.
10113 * time/time.c: Likewise.
10114
101152012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10116
a20492cf
PT
10117 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10118 /usr/old/bin.
10119
72e182e3
PT
10120 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10121 instead of spaces.
10122 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10123
fbeafede
JM
101242012-11-03 Joseph Myers <joseph@codesourcery.com>
10125
5b5b04d6
JM
10126 [BZ #14796]
10127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10128 FE_TONEAREST before applying Dekker multiplication and Knuth
10129 addition. Clear inexact exceptions and check for exact zero
10130 results afterwards.
10131 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10132 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10133 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10134 * math/libm-test.inc (fma_test): Add more tests.
10135 (fma_test_towardzero): Likewise.
10136 (fma_test_downward): Likewise.
10137 (fma_test_upward): Likewise.
10138 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10139 function.
10140 (libc_fesetround): New macro.
10141 (libc_fesetroundf): Likewise.
10142 (libc_fesetroundl): Likewise.
10143 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10144 function.
10145 (libc_fesetround_387): Likewise.
10146 (libc_fesetroundf): New macro.
10147 (libc_fesetround): Likewise.
10148 (libc_fesetroundl): Likewise.
10149 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10150 function.
10151 (libc_fesetroundf): New macro.
10152 (libc_fesetround): Likewise.
10153 (libc_fesetroundl): Likewise.
10154 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10155 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10156 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10157 libm_hidden_ver.
10158 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10159 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10160 libm_hidden_def.
10161 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10162 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10163 libm_hidden_ver.
10164 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10165 libm_hidden_def.
10166
fbeafede
JM
10167 [BZ #3439]
10168 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10169 integer constant usable in #if and use that to give value to enum
10170 constant.
10171 (FE_DIVBYZERO): Likewise.
10172 (FE_UNDERFLOW): Likewise.
10173 (FE_OVERFLOW): Likewise.
10174 (FE_INVALID): Likewise.
10175 (FE_INVALID_SNAN): Likewise.
10176 (FE_INVALID_ISI): Likewise.
10177 (FE_INVALID_IDI): Likewise.
10178 (FE_INVALID_ZDZ): Likewise.
10179 (FE_INVALID_IMZ): Likewise.
10180 (FE_INVALID_COMPARE): Likewise.
10181 (FE_INVALID_SOFTWARE): Likewise.
10182 (FE_INVALID_SQRT): Likewise.
10183 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10184 (FE_TONEAREST): Likewise.
10185 (FE_TOWARDZERO): Likewise.
10186 (FE_UPWARD): Likewise.
10187 (FE_DOWNWARD): Likewise.
10188 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10189 (FE_DIVBYZERO): Likewise.
10190 (FE_OVERFLOW): Likewise.
10191 (FE_UNDERFLOW): Likewise.
10192 (FE_INEXACT): Likewise.
10193 (FE_TONEAREST): Likewise.
10194 (FE_DOWNWARD): Likewise.
10195 (FE_UPWARD): Likewise.
10196 (FE_TOWARDZERO): Likewise.
10197 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10198 (FE_UNDERFLOW): Likewise.
10199 (FE_OVERFLOW): Likewise.
10200 (FE_DIVBYZERO): Likewise.
10201 (FE_INVALID): Likewise.
10202 (FE_TONEAREST): Likewise.
10203 (FE_TOWARDZERO): Likewise.
10204 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10205 (FE_OVERFLOW): Likewise.
10206 (FE_UNDERFLOW): Likewise.
10207 (FE_DIVBYZERO): Likewise.
10208 (FE_INEXACT): Likewise.
10209 (FE_TONEAREST): Likewise.
10210 (FE_TOWARDZERO): Likewise.
10211 (FE_UPWARD): Likewise.
10212 (FE_DOWNWARD): Likewise.
10213 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10214 (FE_DIVBYZERO): Likewise.
10215 (FE_OVERFLOW): Likewise.
10216 (FE_UNDERFLOW): Likewise.
10217 (FE_INEXACT): Likewise.
10218 (FE_TONEAREST): Likewise.
10219 (FE_DOWNWARD): Likewise.
10220 (FE_UPWARD): Likewise.
10221 (FE_TOWARDZERO): Likewise.
10222
105ca950
CM
102232012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10224
10225 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10226
a542b389
AS
102272012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10228
10229 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10230 commands. Quote $PWD.
10231 (blacklist_exports): Don't use remove_newlines. Replace "declare
10232 -x" by "export".
10233 (remove_newlines): Remove.
10234
f62c8abc
L
102352012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10236
10237 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10238 * stdlib/stdlib.h (atof): Moved to ...
10239 * include/bits/stdlib-float.h: Here. New file.
10240 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10241 * stdlib/bits/stdlib-float.h: New file.
10242 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10243 -mno-sse -mno-mmx.
10244 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10245 <xmmintrin.h>.
10246
0155d5b2
JM
102472012-11-02 Joseph Myers <joseph@codesourcery.com>
10248
a68d0680
JM
10249 * conform/conformtest.pl (@headers): Add fenv.h.
10250 * conform/data/fenv.h-data: New file.
10251 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10252 include of <math/fenv.h>.
10253
caf7f573
JM
10254 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10255 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10256 && !UNIX98]. Enables tests for XOPEN2K8.
10257 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10258 POSIX2008]: Likewise.
10259
6c073ad6
JM
10260 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10261 (struct rusage): Do not expect type or its members.
10262
0155d5b2
JM
10263 [BZ #3439]
10264 * math/math.h (FP_NAN): Define macro to integer constant usable in
10265 #if and use that to give value to enum constant.
10266 (FP_INFINITE): Likewise.
10267 (FP_ZERO): Likewise.
10268 (FP_SUBNORMAL): Likewise.
10269 (FP_NORMAL): Likewise.
10270
b5dcacb4
AS
102712012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10272
10273 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10274 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10275 arguments.
10276
f7934be8
RM
102772012-11-02 Roland McGrath <roland@hack.frob.com>
10278
10279 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10280 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10281 autoconf-time if not.
10282 * configure.in: Remove AC_PREREQ.
10283
d7d08bde
TMQMF
102842012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10285
10286 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10287 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10288 of the internal implementation.
10289
dcdae19a
JM
102902012-11-02 Joseph Myers <joseph@codesourcery.com>
10291
10292 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10293 except include of <misc/sys/syslog.h>.
10294
d6cffd3e
AS
102952012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10296
10297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10298 function returns with a NULL context exit with zero.
10299
b3563932
TMQMF
103002012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10301
10302 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10303
b288a93d
L
103042012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10305
10306 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10307 (run_program_cmd): This.
10308 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10309 (tst_langinfo): New variable. Use it.
10310
a2421a68
SAS
103112012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10312
10313 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10314 floating point opcodes.
10315
6f796e1b
TS
103162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10317
7402596b
TS
10318 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10319 variable.
10320
d0d4f868
TS
10321 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10322
6f796e1b
TS
10323 * sysdeps/mach/hurd/powerpc: Remove directory.
10324 * sysdeps/mach/powerpc: Likewise.
10325
4da224a2
AS
103262012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10327
10328 * scripts/check-local-headers.sh: Ignore c++ headers.
10329
341dd673
TS
103302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10331
10332 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10333 __libc_cleanup_region_start argument.
10334
473611b2
JM
103352012-11-01 Joseph Myers <joseph@codesourcery.com>
10336
10337 [BZ #14784]
10338 [BZ #14785]
10339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10340 x * y using scaling, not as x * y + z.
10341 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10342 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10343 * math/libm-test.inc (fma_test): Add more tests.
10344 (fma_test_towardzero): Likewise.
10345 (fma_test_downward): Likewise.
10346 (fma_test_upward): Likewise.
10347
4078da3d
TS
103482012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10349
10350 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10351
903252aa
JM
103522012-10-31 Joseph Myers <joseph@codesourcery.com>
10353
10354 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10355 New variable.
10356
cbc818d0
TS
103572012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10358
10359 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10360
5a03cb1e
AS
103612012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10362
10363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10364 Fix sort order.
10365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10366 Likewise.
10367
90aff2ff
TMQMF
103682012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10369
10370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10371 Fix the order of the list for glibc 2.17.
10372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10373 Likewise.
10374
1818fcb7
AS
103752012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10376
10377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10378
ef82f4da
JM
103792012-10-31 Joseph Myers <joseph@codesourcery.com>
10380
16a0e2ec
JM
10381 [BZ #14610]
10382 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10383 for low part of x being zero before using __atanl (y).
10384 * math/libm-test.inc (atan2_test): Add another test.
10385
0eb69512
JM
10386 * manual/install.texi (Configuring and compiling): Document
10387 general use of test-wrapper and test-wrapper-env.
10388 * INSTALL: Regenerated.
10389
ef82f4da
JM
10390 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10391 (__fma): Do not extract and scale down low bits on after-rounding
10392 systems when result rounded to normal precision would have normal
10393 exponent.
10394 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10395 (__fmal): Do not extract and scale down low bits on after-rounding
10396 systems when result rounded to normal precision would have normal
10397 exponent.
10398 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10399 (__fmal): Do not extract and scale down low bits on after-rounding
10400 systems when result rounded to normal precision would have normal
10401 exponent.
10402 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10403 macro.
10404 (fma_test): Add more tests.
10405 (fma_test_towardzero): Likewise.
10406 (fma_test_downward): Likewise.
10407 (fma_test_upward): Likewise.
10408
954ef0d9
L
104092012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10410
10411 * sysdeps/i386/tininess.h: Renamed to ...
10412 * sysdeps/x86/tininess.h: This.
10413 * sysdeps/x86_64/tininess.h: Removed.
10414
df61ffb2
JM
104152012-10-30 Joseph Myers <joseph@codesourcery.com>
10416
10417 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10418 input. Use $(build-program-cmd).
10419 ($(objpfx)tst-array1-static.out): Likewise.
10420 ($(objpfx)tst-array2.out): Likewise.
10421 ($(objpfx)tst-array3.out): Likewise.
10422 ($(objpfx)tst-array4.out): Likewise.
10423 ($(objpfx)tst-array5.out): Likewise.
10424 ($(objpfx)tst-array5-static.out): Likewise.
10425
01767843
CM
104262012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10427
47cc1490
CM
10428 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10429 if defined.
10430
01767843
CM
10431 * nss/nsswitch.h (nss_interface_function): Provide new
10432 macro for use with NSS functions.
10433 * grp/initgroups.c: Use new macro.
10434 * nss/getXXbyYY.c: Likewise.
10435 * nss/getXXbyYY_r.c: Likewise.
10436 * nss/getXXent.c: Likewise.
10437 * nss/getXXent_r.c: Likewise.
10438 * sysdeps/posix/getaddrinfo.c: Likewise.
10439
8321aa97
AJ
104402012-10-30 Andreas Jaeger <aj@suse.de>
10441
10442 * po/ru.po: Update Russion translation from translation project.
10443
2a27fd6d
JM
104442012-10-30 Joseph Myers <joseph@codesourcery.com>
10445
8627a232
JM
10446 [BZ #14152]
10447 [BZ #14783]
10448 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10449 result and shift together with sticky bit instead of replicating
10450 round-to-nearest rounding.
10451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10452 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10453 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10454 missing underflow exceptions.
10455 (fma_test_towardzero): Add more tests.
10456 (fma_test_downward): Likewise.
10457 (fma_test_upward): Likewise.
10458
2a27fd6d
JM
10459 [BZ #14047]
10460 * sysdeps/generic/tininess.h: New file.
10461 * sysdeps/i386/tininess.h: Likewise.
10462 * sysdeps/sh/tininess.h: Likewise.
10463 * sysdeps/x86_64/tininess.h: Likewise.
10464 * stdlib/tst-strtod-underflow.c: Likewise.
10465 * stdlib/tst-tininess.c: Likewise.
10466 * stdlib/strtod_l.c: Include <tininess.h>.
10467 (round_and_return): Do not set errno for exact underflow cases.
10468 Force an underflow exception when setting errno for underflow.
10469 Determine underflow based on rounding to normal precision if
10470 TININESS_AFTER_ROUNDING.
10471 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10472 ERANGE for exact underflow cases.
10473 * stdlib/Makefile (tests): Add tst-tininess and
10474 tst-strtod-underflow.
10475 ($(objpfx)tst-tininess): Use $(link-libm).
10476 ($(objpfx)tst-strtod-underflow): Likewise.
10477
e7170363
AJ
104782012-10-30 Andreas Jaeger <aj@suse.de>
10479
e5088dc6
AJ
10480 [BZ#14767]
10481 * elf/Makefile (tests): Remove conditional for have-initfini-array
10482 since this is now always required and the variable does not exist
10483 anymore.
10484 (tests-static): Likewise.
10485 (modules-names): Likewise.
10486
e7170363 10487 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10488
10489 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10490 merged with constructor/destructor.
10491 (init_array): Likewise.
10492 * elf/tst-array2dep.c (fini_array): Likewise.
10493 (init_array): Likewise.
10494
60457d8a
MF
104952012-10-29 Mike Frysinger <vapier@gentoo.org>
10496
10497 * manual/message.texi: Delete @cartouche tags.
10498
8bece752
PT
104992012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10500
94ce799f
PT
10501 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10502 EOPNOTSUPP.
10503 * sysdeps/mach/hurd/fsync.c: Likewise.
10504
8bece752
PT
10505 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10506 [_POSIX_REALTIME_SIGNALS]: Change condition to
10507 [_POSIX_REALTIME_SIGNALS > 0].
10508
86ebe6b1
AJ
105092012-10-27 Andreas Jaeger <aj@suse.de>
10510
10511 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10512 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10514 [__WORDSIZE != 64]: Likewise.
10515
54399c08
L
105162012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10517
10518 * iconvdata/tst-table.sh: Remove ${SHELL}.
10519 * iconvdata/tst-tables.sh: Likewise.
10520
e2211bed
DM
105212012-10-25 David S. Miller <davem@davemloft.net>
10522
10523 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10524 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10525 of strtoull.
10526
f303f97c
DM
10527 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10528 ifunc-impl-list.c
10529 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10530 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10531 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10532 file.
10533
1e9d84cd
RM
105342012-10-25 Roland McGrath <roland@hack.frob.com>
10535
10536 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10537 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10538 __getdirentries.
10539
df381762
JM
105402012-10-25 Joseph Myers <joseph@codesourcery.com>
10541 Jim Blandy <jimb@codesourcery.com>
10542
10543 * scripts/cross-test-ssh.sh: New file.
10544 * manual/install.texi (Configuring and compiling): Document use of
10545 cross-test-ssh.sh.
10546 * INSTALL: Regenerated.
10547
bff64913
PT
105482012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10549
10550 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10551 EOPNOTSUPP.
10552
25fe8932
JM
105532012-10-25 Joseph Myers <joseph@codesourcery.com>
10554
10555 * Makeconfig (run-program-prefix): Fix comment.
10556
cc1290d0
JM
105572012-10-24 Joseph Myers <joseph@codesourcery.com>
10558 Jim Blandy <jimb@codesourcery.com>
10559
10560 * Makeconfig (test-wrapper): New variable,
10561 (test-wrapper-env): Likewise.
10562 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10563 (run-built-tests): Define to yes.
10564 (run-program-prefix): Use $(test-wrapper).
10565 (built-program-cmd): Likewise.
10566 * Rules (make-test-out): Use $(test-wrapper-env) and
10567 $(host-built-program-cmd).
10568 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10569 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10570 tst-pathopt.sh.
10571 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10572 $(test-wrapper-env) to tst-rtld-load-self.sh.
10573 ($(objpfx)order2.out): Use $(test-wrapper).
10574 ($(objpfx)tst-initorder.out): Likewise.
10575 ($(objpfx)tst-initorder2.out): Likewise.
10576 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10577 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10578 (test_wrapper_env): New variable. Use it to run ld.so.
10579 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10580 Use it to run ld.so.
10581 (test_wrapper_env): Likewise.
10582 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10583 $(test-wrapper) to run-iconv-test.sh.
10584 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10585 (ICONV): Use $test_wrapper.
10586 * posix/Makefile ($(objpfx)globtest.out): Pass
10587 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10588 globtest.sh, not $(run-program-prefix).
10589 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10590 (test_wrapper): Likewise.
10591 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10592 set together with run_via_rtld_prefix.
10593 (run_program_prefix): Define in terms of test_wrapper and
10594 run_via_rtld_prefix.
10595
6e6249d0
RM
105962012-10-24 Roland McGrath <roland@hack.frob.com>
10597
10598 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10599 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10600 Targets removed.
10601
10602 [BZ #14743]
10603 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10604 Declare __clock_getres, __clock_gettime, __clock_settime,
10605 __clock_nanosleep, and __clock_getcpuclockid.
10606 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10607 Remove librt_hidden_def (clock_gettime).
10608 * sysdeps/unix/clock_gettime.c: Likewise.
10609 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10610 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10611 * rt/clock_getres.c: Define __clock_getres as an alias.
10612 * sysdeps/posix/clock_getres.c: Likewise.
10613 * rt/clock_settime.c: Define __clock_settime as an alias.
10614 * sysdeps/unix/clock_settime.c: Likewise.
10615 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10616 * sysdeps/unix/clock_nanosleep.c: Likewise.
10617 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10618 * rt/clock-compat.c: New file.
10619 * rt/Makefile (librt-routines): Add clock-compat and move
10620 $(clock-routines) to ...
10621 (routines): ... here, new variable.
10622 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10623 Don't add get_clockfreq here.
10624 * rt/Versions (libc: GLIBC_2.17): New version set.
10625 Add clock_* symbols here.
10626 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10627 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10628 (GLIBC_2.17): Add clock_* symbols.
10629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10631 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10633 Likewise.
10634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10635 Likewise.
10636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10640 * NEWS: Mention the move.
10641
10642 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10643 Use __open, __read, __close rather than their public counterparts.
10644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10645 (__get_clockfreq_via_cpuinfo): Likewise.
10646 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10647 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10648
10649 * config.h.in (HAVE_IFUNC): New #undef.
10650 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10651 was successful.
10652 * configure: Regenerated.
10653
0cae3f4b
MF
106542012-10-24 Mike Frysinger <vapier@gentoo.org>
10655
10656 * configure.in: Move READELF check to start of file.
10657 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10658 libc_cv_asm_gnu_indirect_function in the process.
10659 * configure: Regenerated.
10660
8175a253
MF
106612012-10-24 Mike Frysinger <vapier@gentoo.org>
10662
10663 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10664 send the output to /dev/null.
10665 (libc_cv_cc_with_libunwind): Likewise.
10666 (libc_cv_as_noexecstack): Likewise.
10667 * configure: Regenerate.
10668
0708a7d1
JM
106692012-10-24 Joseph Myers <joseph@codesourcery.com>
10670
10b40d85
JM
10671 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10672
0708a7d1
JM
10673 * posix/globtest.sh (TMPDIR): Do not set.
10674 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10675 (testout): Likewise.
10676
9fddec1a
AJ
106772012-10-24 Andreas Jaeger <aj@suse.de>
10678
3a8db22f
AJ
10679 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10680 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10681 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10682 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10683 posix_fadvise64, posix_fallocate64.
10684
9fddec1a
AJ
10685 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10686 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10687 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10688 Likewise.
10689 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10690 Likewise.
10691 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10692
10693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10694 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10695 <bits/fcntl-linux.h>.
10696 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10697
10698 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10699 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10700 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10701 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10702 [__WORDSIZE != 64]: Likewise.
10703
ebfd1bbd
JM
107042012-10-23 Joseph Myers <joseph@codesourcery.com>
10705
03ac099f
JM
10706 * Makeconfig (run-built-tests): New variable.
10707 * Rules [$(cross-compiling) = yes]: Change condition to
10708 [$(run-built-tests) = no].
10709 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10710 to [$(run-built-tests) = yes].
10711 * elf/Makefile [$(cross-compiling) = no]: Likewise
10712 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10713 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10714 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10715 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10716 * io/Makefile [$(cross-compiling) = no]: Likewise.
10717 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10718 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10719 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10720 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10721 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10722 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10723 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10724 * string/Makefile [$(cross-compiling) = no]: Likewise.
10725
ebfd1bbd
JM
10726 * posix/Makefile ($(objpfx)globtest.out): Pass
10727 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10728 $(rtld-installed-name).
10729 * posix/globtest.sh (elf_objpfx): Remove variable.
10730 (rtld_installed_name): Likewise.
10731 (library_path): Likewise.
10732 (run_program_prefix): New variable. Use for running globtest
10733 binary.
10734
166bca24
JB
107352012-10-23 Jim Blandy <jimb@codesourcery.com>
10736 Joseph Myers <joseph@codesourcery.com>
10737
10738 * Makeconfig (host-built-program-cmd): New variable.
10739 * elf/Makefile (tst-stackguard1-ARGS): Use
10740 $(host-built-program-cmd).
10741 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10742 (tst-spawn-ARGS): Likewise.
10743 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10744
88866099
JM
107452012-10-23 Joseph Myers <joseph@codesourcery.com>
10746 Jim Blandy <jimb@codesourcery.com>
10747
10748 * Makeconfig (run-via-rtld-prefix): New variable.
10749 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10750 (built-program-cmd): Likewise.
10751
b4b4c296
AJ
107522012-10-22 Andreas Jaeger <aj@suse.de>
10753
10754 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10755 __O_RSYNC if it exists, otherwise to O_SYNC.
10756
6fb54a22
JB
107572012-10-22 Jim Blandy <jimb@codesourcery.com>
10758 Joseph Myers <joseph@codesourcery.com>
10759
10760 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10761 /dev/null.
10762 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10763 from /dev/null
10764 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10765 /dev/null.
10766
481b90b9
AJ
107672012-10-22 Andreas Jaeger <aj@suse.de>
10768
2a0e2669
AJ
10769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10770 Define always.
10771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10772
76e38f9a
AJ
10773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10774 bits/fcntl-linux.h.
10775
7cd37b43
AJ
10776 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10777 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10778
481b90b9
AJ
10779 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10780 to __O_LARGEFILE.
10781 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10782 to __O_LARGEFILE.
10783
aba75984
JB
107842012-10-21 Jim Blandy <jimb@codesourcery.com>
10785 Joseph Myers <joseph@codesourcery.com>
10786
10787 * config.make.in (NM): New variable.
10788
88d4247f
AJ
107892012-10-21 Andreas Jaeger <aj@suse.de>
10790
10791 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10792 definitions and declarations that are provided by
10793 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10794
f2eed205
L
107952012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10796
10797 [BZ #14683]
10798 * elf/Makefile (tests-static): Add tst-leaks1-static.
10799 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10800 ($(objpfx)tst-leaks1-static): New rule.
10801 ($(objpfx)tst-leaks1-static-mem): Likewise.
10802 (tst-leaks1-static-ENV): New macro.
10803 * elf/dl-open.c (dl_open_worker): Check the main application
10804 only if SHARED is defined.
10805 * elf/tst-leaks1-static.c: New file.
10806
335e6931
AJ
108072012-10-20 Andreas Jaeger <aj@suse.de>
10808
10809 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10810 generic values for Linux.
10811 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10812 and declarations that are provided by <bits/fcntl-linux.h> and
10813 include <bits/fcntl-linux.h>.
10814 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10816
ac5c94d3
RM
108172012-10-20 Roland McGrath <roland@hack.frob.com>
10818
10819 * io/fcntl.h: Move include of <bits/types.h> to the top and
10820 include it unconditionally.
10821
de54b33a
L
108222012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10823
228cfb01
L
10824 * wcsmbs/Makefile (tests-ifunc): New variable.
10825 (tests): Add $(tests-ifunc).
10826 * wcsmbs/test-wcschr-ifunc.c: New file.
10827 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10828 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10829 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10830 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10831 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10832
69f07e5f
L
10833 * string/Makefile (tests-ifunc): New variable.
10834 (tests): Add $(tests-ifunc).
10835 * string/test-memccpy.c (TEST_NAME): New macro.
10836 * string/test-memchr.c (TEST_NAME): Likewise.
10837 * string/test-memcmp.c (TEST_NAME): Likewise.
10838 * string/test-memcpy.c (TEST_NAME): Likewise.
10839 * string/test-memmem.c (TEST_NAME): Likewise.
10840 * string/test-memmove.c (TEST_NAME): Likewise.
10841 * string/test-memset.c (TEST_NAME): Likewise.
10842 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10843 * string/test-stpcpy.c (TEST_NAME): Likewise.
10844 * string/test-stpncpy.c (TEST_NAME): Likewise.
10845 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10846 * string/test-strcasestr.c (TEST_NAME): Likewise.
10847 * string/test-strcat.c (TEST_NAME): Likewise.
10848 * string/test-strchr.c (TEST_NAME): Likewise.
10849 * string/test-strcmp.c(TEST_NAME): Likewise.
10850 * string/test-strcpy.c (TEST_NAME): Likewise.
10851 * string/test-strcspn.c (TEST_NAME): Likewise.
10852 * string/test-strlen.c (TEST_NAME): Likewise.
10853 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10854 * string/test-strncmp.c (TEST_NAME): Likewise.
10855 * string/test-strncpy.c (TEST_NAME): Likewise.
10856 * string/test-strnlen.c (TEST_NAME): Likewise.
10857 * string/test-strpbrk.c (TEST_NAME): Likewise.
10858 * string/test-strrchr.c (TEST_NAME): Likewise.
10859 * string/test-strspn.c (TEST_NAME): Likewise.
10860 * string/test-strstr.c (TEST_NAME): Likewise.
10861 * string/test-bcopy-ifunc.c: New file.
10862 * string/test-bzero-ifunc.c: Likewise.
10863 * string/test-memccpy-ifunc.c: Likewise.
10864 * string/test-memchr-ifunc.c: Likewise.
10865 * string/test-memcmp-ifunc.c: Likewise.
10866 * string/test-memcpy-ifunc.c: Likewise.
10867 * string/test-memmem-ifunc.c: Likewise.
10868 * string/test-memmove-ifunc.c: Likewise.
10869 * string/test-mempcpy-ifunc.c: Likewise.
10870 * string/test-memset-ifunc.c: Likewise.
10871 * string/test-rawmemchr-ifunc.c: Likewise.
10872 * string/test-stpcpy-ifunc.c: Likewise.
10873 * string/test-stpncpy-ifunc.c: Likewise.
10874 * string/test-strcasecmp-ifunc.c: Likewise.
10875 * string/test-strcasestr-ifunc.c: Likewise.
10876 * string/test-strcat-ifunc.c: Likewise.
10877 * string/test-strchr-ifunc.c: Likewise.
10878 * string/test-strchrnul-ifunc.c: Likewise.
10879 * string/test-strcmp-ifunc.c: Likewise.
10880 * string/test-strcpy-ifunc.c: Likewise.
10881 * string/test-strcspn-ifunc.c: Likewise.
10882 * string/test-strlen-ifunc.c: Likewise.
10883 * string/test-strncasecmp-ifunc.c: Likewise.
10884 * string/test-strncat-ifunc.c: Likewise.
10885 * string/test-strncmp-ifunc.c: Likewise.
10886 * string/test-strncpy-ifunc.c: Likewise.
10887 * string/test-strnlen-ifunc.c: Likewise.
10888 * string/test-strpbrk-ifunc.c: Likewise.
10889 * string/test-strrchr-ifunc.c: Likewise.
10890 * string/test-strspn-ifunc.c: Likewise.
10891 * string/test-strstr-ifunc.c: Likewise.
10892
de54b33a
L
10893 * debug/Makefile (tests-ifunc): New variable.
10894 (tests): Add $(tests-ifunc).
10895 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10896 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10897 * debug/test-stpcpy_chk-ifunc.c: New file.
10898 * debug/test-strcpy_chk-ifunc.c: Likewise.
10899
88481c16
SP
109002012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10901
10902 [BZ #13601]
10903 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10904 header is not read in.
10905
135948bd
JM
109062012-10-19 Joseph Myers <joseph@codesourcery.com>
10907
89f1c388
JM
10908 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10909 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10910 directly. Pass built executable to script as
10911 $(built-program-cmd).
10912 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10913 $testprogram without using LD_LIBRARY_PATH and $ldso.
10914
e40a0d21
JM
10915 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10916 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10917 $(rtld-installed-name).
10918 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10919 (rtld_installed_name): Likewise.
10920 (library_path): Likewise.
10921 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10922 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10923 $(run-program-prefix) to tst-tables.sh.
10924 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10925 it to run tst-table-from and tst-table-to.
10926 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10927 Pass it to tst-table.sh.
10928 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10929 $(run-program-prefix) to tst-gettext.sh.
10930 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10931 tst-translit.sh.
10932 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10933 tst-gettext2.sh.
10934 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10935 to run tst-gettext.
10936 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10937 to run tst-gettext2.
10938 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10939 to run tst-translit.
10940 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10941 $(run-program-prefix) to tst-mtrace.sh.
10942 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10943 to run tst-mtrace.
10944 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10945 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10946 $(rtld-installed-name).
10947 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10948 (rtld_installed_name): Likewise.
10949 (run_program_prefix): New variable. Use it to run wordexp-test.
10950
728e272a
JM
10951 * Makeconfig (ARCH): Remove all definitions.
10952 (machine): Likewise.
10953 [ARCH]: Remove conditional code.
10954 [!objdir]: Give error.
10955 [!objdir] (objpfx): Remove.
10956 [!objdir] (common-objpfx): Likewise.
10957 [!objdir] (common-objdir): Likewise.
10958 * configure.in (config_makefile): Remove. Hardcode Makefile in
10959 AC_CONFIG_FILES call.
10960 * configure: Regenerated.
10961
d528cdcf
JM
10962 [BZ #13888]
10963 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10964 or TMPDIR.
10965 (testout): Likewise.
10966
135948bd
JM
10967 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10968 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10969 $(rtld-installed-name).
10970 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10971 (rtld_installed_name): Likwise.
10972 (runit): Remove function.
10973 (run_getconf): New variable, Use it for running getconf binary.
10974
38c78296
L
109752012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10976
10977 [BZ #14716]
10978 * string/test-memmem.c (check_result): New function.
10979 (do_one_test): Use it.
10980 (check1): New function.
10981 (test_main): Use it.
10982
d077f65f
MT
109832012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10984
10985 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10986
ced52c71
JM
109872012-10-18 Joseph Myers <joseph@codesourcery.com>
10988
10989 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10990 (_G_LSEEK64): Likewise.
10991 (_G_MMAP64): Likewise.
10992 (_G_FSTAT64): Likewise.
10993 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10994 (_G_LSEEK64): Likewise.
10995 (_G_MMAP64): Likewise.
10996 (_G_FSTAT64): Likewise.
10997 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10998 unconditional. Call __mmap64 directly.
10999 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11000 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11001 __lseek64 directly.
11002 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11003 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11004 __mmap64 directly.
11005 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11006 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11007 __lseek64 directly.
11008 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11009 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11010 __lseek64 directly.
11011 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11012 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11013 __lseek64 directly.
11014 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11015 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11016 __fxstat64 directly.
11017 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11018 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11019 unconditional.
11020 (freopen64) [!_G_OPEN64]: Remove conditional code.
11021 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11022 unconditional.
11023 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11024 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11025 unconditional.
11026 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11027 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11028 unconditional.
11029 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11030 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11031 unconditional.
11032 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11033 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11034 unconditional.
11035 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11036 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11037 unconditional.
11038 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11039 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11040 unconditional.
11041 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11042
b741de23
SP
110432012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11044
11045 [BZ #12140]
11046 * manual/memory.texi (Malloc Tunable Parameters): Add note
11047 about free list pointers overwriting some perturb bytes.
11048 Wording suggested by Roland McGrath.
11049
f9b9d9c9
JM
110502012-10-17 Joseph Myers <joseph@codesourcery.com>
11051
11052 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11053 (lgamma_test): Likewise.
11054 (tgamma_test): Likewise.
11055
172a631a
FW
110562012-10-16 Florian Weimer <fweimer@redhat.com>
11057
11058 [BZ #14700]
11059 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11060 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11061
e9f37252
MK
110622012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11063
11064 * NEWS: Mention BZ #14716.
11065 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11066 when removing AVAILABLE1_USES_J macro.
11067
d394eb74
L
110682012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11069
11070 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11071 (__bswap_64): __uint64_t for unsigned 64-bit int.
11072
ca38dc17
AS
110732012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11074
11075 * include/string.h (memmem): Declare libc hidden alias.
11076 * string/memmem.c (memmem): Define libc hidden alias.
11077 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11078 __read, __close instead of open, read, close.
11079
9a387d1f
L
110802012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11081
ac49ecaf
L
11082 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11083 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11084 global and hidden.
11085 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11086 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11087 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11088 Likewise.
11089 (__rawmemchr_sse2): Likewise.
11090 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11091 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11092 (__strchr_sse2): Likewise.
11093 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11094 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11095 (__strcasecmp_sse2): Likewise.
11096 (__strncasecmp_sse2): Likewise.
11097 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11098 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11099 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11100 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11101 (__strrchr_sse2): Likewise.
11102 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11103 ifunc-impl-list.c.
11104 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11105 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11106 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11107 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11108 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11109 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11110 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11111 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11112 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11113 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11114 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11115 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11116 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11117 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11118 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11119 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11120 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11121 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11122 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11123 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11124 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11125 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11126 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11127 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11128 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11129 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11130 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11131 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11132 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11133 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11134
b090e8ea
L
11135 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11136 global and hidden.
11137 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11138 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11139 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11140 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11141 Likewise.
11142 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11143 Likewise.
11144 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11145 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11146 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11147 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11148 ifunc-impl-list.c.
11149 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11150 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11151 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11152 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11153 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11154 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11155 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11156 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11157 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11158 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11159 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11160 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11161 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11162 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11163 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11164 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11165 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11166 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11167 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11168 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11169 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11170 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11171 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11172 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11173 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11174 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11175 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11176 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11177 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11178 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11179 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11180 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11181 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11182 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11183 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11184 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11185 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11186 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11187 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11188 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11189 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11190
11dd4af6
L
11191 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11192 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11193 * include/ifunc-impl-list.h: New file.
11194 * misc/ifunc-impl-list.c: Likewise.
11195 * misc/Makefile (routines): Add ifunc-impl-list.
11196 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11197 * string/test-string.h: Include <ifunc-impl-list.h>.
11198 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11199 impl_array): New variables.
11200 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11201 are defined.
11202 (test_init): Call __libc_ifunc_impl_list to initialize
11203 func_list if TEST_IFUNC and TEST_NAME are defined.
11204
9a387d1f
L
11205 * string/Makefile (strop-tests): Add bcopy and bzero.
11206 * string/test-bcopy.c: New file.
11207 * string/test-bzero.c: Likewise.
11208 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11209 defined.
11210 * string/test-memset.c: Support bzero test if TEST_BZERO is
11211 defined.
11212 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11213 __libc_memmove.
11214 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11215 __libc_memset.
11216 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11217 of memset.
11218
472371b9
JM
112192012-10-10 Joseph Myers <joseph@codesourcery.com>
11220
1e4a9536
JM
11221 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11222 * configure: Regenerated.
11223
d173d12e
JM
11224 * Makeconfig (+link-static-before-libc): Don't include
11225 $(link-static-libc).
11226
472371b9
JM
11227 * libio/libio.h (_IO_pos_t): Remove.
11228
89a3ad0b
AO
112292012-10-10 Alexandre Oliva <aoliva@redhat.com>
11230
11231 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11232 McGrath.
11233
e7451425
AO
112342012-10-10 Alexandre Oliva <aoliva@redhat.com>
11235
11236 * crypt/crypt-entry.c: Include fips-private.h.
11237 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11238 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11239 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11240 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11241
4ba74a35
AO
112422012-10-10 Alexandre Oliva <aoliva@redhat.com>
11243
11244 * crypt/crypt-private.h: Include stdbool.h.
11245 (_ufc_setup_salt_r): Return bool.
11246 * crypt/crypt-entry.c: Include errno.h.
11247 (__crypt_r): Return NULL with EINVAL for bad salt.
11248 * crypt/crypt_util.c (bad_for_salt): New.
11249 (_ufc_setup_salt_r): Check that salt is long enough and within
11250 the specified alphabet.
11251 * crypt/badsalttest.c: New file.
11252 * crypt/Makefile (tests): Add it.
11253 ($(objpfx)badsalttest): New.
11254
f96f1242
MK
112552012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11256
11257 * NEWS: Add entry for BZ #14602.
11258
0e8e0c1c
JM
112592012-10-09 Joseph Myers <joseph@codesourcery.com>
11260
11261 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11262 type-generic.
11263 * math/libm-test.inc: Update comment listing what functions and
11264 macros are tested.
11265 (isgreater_test): New function.
11266 (isgreaterequal_test): Likewise.
11267 (isless_test): Likewise.
11268 (islessequal_test): Likewise.
11269 (islessgreater_test): Likewise.
11270 (isunordered_test): Likewise.
11271 (main): Call the new functions.
11272
273edc5e
RM
112732012-10-09 Roland McGrath <roland@hack.frob.com>
11274
b8493de0
RM
11275 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11276 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11277 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11278 * sysdeps/i386/configure: Regenerated.
11279 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11280 * sysdeps/mach/configure: Regenerated.
11281 * sysdeps/mach/hurd/configure: Regenerated.
11282 * sysdeps/powerpc/configure: Regenerated.
11283 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11284 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11285 * sysdeps/s390/s390-32/configure: Regenerated.
11286 * sysdeps/s390/s390-64/configure: Regenerated.
11287 * sysdeps/sh/configure: Regenerated.
11288 * sysdeps/sparc/configure: Regenerated.
11289 * sysdeps/unix/sysv/linux/configure: Regenerated.
11290 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11291 * sysdeps/x86_64/configure: Regenerated.
11292
273edc5e
RM
11293 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11294 defined. Don't check if MAP is NULL.
11295
c8450f70
JM
112962012-10-09 Joseph Myers <joseph@codesourcery.com>
11297
11298 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11299 (_G_stat64): Likewise.
11300 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11301 (_G_stat64): Likewise.
11302 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11303 instead of struct _G_stat64.
11304 * libio/fileops.c (mmap_remap_check): Likewise.
11305 (decide_maybe_mmap): Likewise.
11306 (_IO_new_file_seekoff): Likewise.
11307 (_IO_file_stat): Likewise.
11308 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11309 _G_off64_t.
11310 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11311 instead of struct _G_stat64.
11312 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11313
57e605ba
MK
113142012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11315
11316 [BZ #14602]
11317 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11318 Replace with ...
11319 (CHECK_EOL): New macro.
11320 (two_way_short_needle): Check beginning of haystack for EOL. Use
11321 CHECK_EOL.
11322 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11323 Replace with CHECK_EOL.
11324 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11325 Replace with CHECK_EOL.
11326
ef1bb361
JM
113272012-10-08 Joseph Myers <joseph@codesourcery.com>
11328
11329 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11330 type-generic.
11331 * math/libm-test.inc: Update comment listing what functions and
11332 macros are tested.
11333 (finite_test): New function.
11334 (isinf_test): Likewise.
11335 (isnan_test): Likewise.
11336 (fpclassify_test): Test subnormal input.
11337 (isfinite_test): Likewise.
11338 (isnormal_test): Likewise.
11339 (main): Call the new functions.
11340
55f11534
JN
113412012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11342
11343 [BZ #14660]
11344 * Makerules (%.dynsym): Force C locale when running
11345 $(OBJDUMP) --dynamic-syms.
11346
1ab29350
AS
113472012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11348
11349 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11350 <stdint.h>.
11351
f1ecb7ef
DM
113522012-10-06 David S. Miller <davem@davemloft.net>
11353
11354 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11355 upper 32-bits of the length value in %o2 since we use branch-on-register
11356 tests which consider the entire 64-bit register.
11357
5d41d91a
L
113582012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11359
11360 * string/test-strstr.c (check2): Add a test for page boundary.
11361
3baddb72
DM
113622012-10-05 David S. Miller <davem@davemloft.net>
11363
11364 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11365 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11366 file.
11367 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11368 sysdep_routines.
11369 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11370 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11371 and bzero when HWCAP_SPARC_CRYPTO is present.
11372
9cee5585
L
113732012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11374
d7e0dab9
L
11375 [BZ #14602]
11376 * string/test-strstr.c (check2): New function.
11377 (test_main): Call check2.
11378
03759f47
L
11379 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11380 and bug-strchr1.
11381 * string/bug-strcasestr1.c (do_test): Moved to ...
11382 * string/test-strcasestr.c (check1): Here. New function.
11383 (do_one_test): Break out result checking code into ...
11384 (check_result): This. New function.
11385 (do_one_test): Call check_result.
11386 (test_main): Call check1.
11387 * string/bug-strchr1.c (do_test): Moved to ...
11388 * string/test-strchr.c (check1): Here. New function.
11389 (do_one_test): Break out result checking code into ...
11390 (check_result): This. New function.
11391 (do_one_test): Call check_result.
11392 (test_main): Call check1.
11393 * string/bug-strstr1.c (main): Moved to ...
046f153e 11394 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11395 (do_one_test): Break out result checking code into ...
11396 (check_result): This. New function.
11397 (do_one_test): Call check_result.
11398 (test_main): Call check1.
11399 * string/bug-strcasestr1.c: Removed.
11400 * string/bug-strchr1.c: Likewise.
11401 * string/bug-strstr1.c: Likewise.
11402
53cea63e
L
11403 * elf/Makefile (dl-routines): Add hwcaps.
11404 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11405 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11406 (_dl_important_hwcaps): Moved to ...
11407 * elf/dl-hwcaps.c: Here. New file.
11408 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11409
9cee5585 11410 [BZ #14557]
bb859b06
L
11411 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11412 if IS_IN_rtld isn't defined.
11413
9cee5585
L
11414 * elf/dl-support.c (_dl_sysinfo_map): New.
11415 Include "get-dynamic-info.h" and "setup-vdso.h".
11416 (_dl_non_dynamic_init): Call setup_vdso.
11417 * elf/dynamic-link.h: Don't include <assert.h>.
11418 (elf_get_dynamic_info): Moved to ...
11419 * elf/get-dynamic-info.h: Here. New file.
11420 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11421 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11422 * elf/setup-vdso.h: Here. New file.
11423 * elf/rtld.c: Include "setup-vdso.h".
11424 (dl_main): Call setup_vdso.
11425
23c31b76
JM
114262012-10-05 Joseph Myers <joseph@codesourcery.com>
11427
28234b07
JM
11428 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11429 creal in comment listing functions tested. List finite, isinf,
11430 isnan, isless, islessequal, isgreater, isgreaterequal,
11431 islessgreater, isunordered, lgamma_r and pow10 as functions and
11432 macros not tested. Mention which functions not tested are aliases
11433 for other functions. Fix typo. Note that signs of NaNs are not
11434 tested.
11435
23c31b76
JM
11436 * scripts/config.guess: Update from config.git.
11437 * scripts/config.sub: Likewise.
11438
9043e228
RM
114392012-10-04 Roland McGrath <roland@hack.frob.com>
11440
11441 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11442 * misc/madvise.c (madvise): Renamed to __madvise.
11443 Make madvise a weak alias.
11444 * include/sys/mman.h: Declare __madvise.
11445 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11446 * sysdeps/unix/syscalls.list
11447 (madvise): Make __madvise the strong name, and madvise a weak alias.
11448 * sysdeps/unix/sysv/linux/syscalls.list
11449 (madvise, mmap): Remove redundant entries.
11450 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11451 * malloc/malloc.c (mtrim): Likewise.
11452 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11453
f57f8055
RM
114542012-10-03 Roland McGrath <roland@hack.frob.com>
11455
11456 * sysdeps/mach/hurd/dl-cache.c: File removed.
11457 * config.h.in (USE_LDCONFIG): New #undef.
11458 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11459 * configure: Regenerated.
11460 * elf/Makefile (dl-routines): Add dl-cache only under
11461 [$(use-ldconfig) = yes].
11462 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11463 cache on [USE_LDCONFIG].
11464 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11465 [USE_LDCONFIG].
11466 * elf/rtld.c (dl_main): Likewise.
11467
5bb0c10a
PT
114682012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11469
11470 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11471 _SC_LEVEL4_CACHE_LINESIZE.
11472
010188c6
RM
114732012-10-03 Roland McGrath <roland@hack.frob.com>
11474
11475 * sysdeps/unix/bsd/confstr.h: File removed.
11476
b6c5ec07
AO
114772012-10-02 Alexandre Oliva <aoliva@redhat.com>
11478
11479 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11480 sys/sdt-config.h.
11481
408223d4
RM
114822012-10-02 Roland McGrath <roland@hack.frob.com>
11483
11484 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11485 Make 'mapoff' field ElfW(Off) rather than off_t.
11486
bb9510dc
DL
114872012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11488
fc997c6e
DL
11489 * nscd/Makefile: Remove nscd-cflags and all its users.
11490 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11491 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11492
bb9510dc
DL
11493 [BZ #10631]
11494 * malloc.c (malloc_printerr): Clarify error message.
11495
05699367
L
114962012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11497
11498 [BZ #14648]
11499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11500 Set bit_FMA_Usable if FMA is supported.
11501 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11502 macro.
11503 (bit_FMA4_Usable): Updated.
11504 (index_FMA_Usable): New macro.
11505 (CPUID_FMA): Likewise
11506 (HAS_FMA): Defined with bit_FMA_Usable.
11507
51367701
RM
115082012-10-01 Roland McGrath <roland@hack.frob.com>
11509
11510 * bits/types.h (__swblk_t): Type removed.
11511 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11512 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11513 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11514 (__SWBLK_T_TYPE): Likewise.
11515 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11516 (__SWBLK_T_TYPE): Likewise.
11517 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11518 (__SWBLK_T_TYPE): Likewise.
11519 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11520 (__SWBLK_T_TYPE): Likewise.
11521
4d57bf63 115222012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11523 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11524
11525 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11526 (xdr_mapname): Use YPMAXMAP as maxsize.
11527 (xdr_peername): Use YPMAXPEER as maxsize.
11528 (xdr_keydat): Use YPAXRECORD as maxsize.
11529 (xdr_valdat): Use YPMAXRECORD as maxsize.
11530
93c65d43
RM
115312012-10-01 Roland McGrath <roland@hack.frob.com>
11532
497a03d6
RM
11533 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11534
93c65d43
RM
11535 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11536 * csu/init-first.c: ... here.
11537 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11538 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11539 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11540 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11541 * sysdeps/i386/init-first.c: File removed.
11542 * sysdeps/sh/init-first.c: File removed.
11543
bec749fd
JM
115442012-10-01 Joseph Myers <joseph@codesourcery.com>
11545
11546 [BZ #14645]
11547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11548 if x * y might underflow to zero and z is zero.
11549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11550 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11551 * math/libm-test.inc (min_subnorm_value): New variable.
11552 (fma_test): Add more tests.
11553 (fma_test_towardzero): Likewise.
11554 (fma_test_downward): Likewise
11555 (fma_test_upward): Likewise.
11556 (initialize): Set min_subnorm_value.
11557
8ec5b013
JM
115582012-09-29 Joseph Myers <joseph@codesourcery.com>
11559
11560 [BZ #14638]
11561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11562 0 + 0.
11563 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11564 mode for addition resulting in exact zero.
11565 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11567 exact 0 + 0.
11568 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11569 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11570 * math/libm-test.inc (fma_test): Add more tests.
11571 (fma_test_towardzero): New function.
11572 (fma_test_downward): Likewise.
11573 (fma_test_upward): Likewise.
11574 (main): Call the new functions.
11575
b1fa802e
DM
115762012-09-28 David S. Miller <davem@davemloft.net>
11577
11578 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11579
d3b9fd9e
RM
115802012-09-28 Roland McGrath <roland@hack.frob.com>
11581
ea4d37b3
RM
11582 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11583 instead of SIGALRM.
11584
ac51c949
RM
11585 * sysdeps/gnu/_G_config.h: Moved to ...
11586 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11587 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11588 * sysdeps/generic/_G_config.h: ... here.
11589
28c195f7
RM
11590 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11591
848917f9
RM
11592 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11593
6bacf05b
RM
11594 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11595 Conditionalize target on [libnss_test1.so-version].
11596
91363dbb
RM
11597 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11598
cc87f7d8
RM
11599 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11600 (elfobjdir): Move out of conditionals.
11601
b1c608fe
RM
11602 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11603 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11604 (__nss_lookup_function): Conditionalize label remove_from_tree on
11605 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11606
1d9a6d96
DM
116072012-09-28 David S. Miller <davem@davemloft.net>
11608
11609 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11610 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11611 file.
11612 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11613 sysdep_routines.
11614 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11615 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11616 when HWCAP_SPARC_CRYPTO is present.
11617
72581615
PT
116182012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11619
11620 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11621
715a900c
JL
116222012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11623
11624 [BZ #6530]
11625 * stdio-common/vfprintf.c (process_string_arg): Revert
11626 2000-07-22 change.
11627
116282011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11629
11630 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11631 for testcase.
11632 * stdio-common/tst-sprintf.c: Include <locale.h>
11633 (main): Test sprintf's handling of incomplete multibyte
11634 characters.
11635
9bac1d86
L
116362012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11637
11638 * elf/dl-runtime.c (VERSYMIDX): Removed.
11639 * elf/dl-version.c (VERSYMIDX): Likewise.
11640 * elf/do-rel.h (VERSYMIDX): Likewise.
11641 (VALIDX): Likewise.
11642 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11643 * elf/rtld.c (VALIDX): Likewise.
11644 (ADDRIDX): Likewise.
9bac1d86
L
11645 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11646 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11647 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
11648 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11649 (VALIDX): Likewise.
11650 (ADDRIDX): Likewise.
9bac1d86 11651
b31606c0
PT
116522012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11653
11654 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11655
11541177
JL
116562012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11657
11658 [BZ #11438]
11659 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11660 to global scope.
11661 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11662 addresses are in the same scope as 192.0.2/24.
11663 * posix/gai.conf: Document new scope table defaults.
11664
adb26fae
SP
116652012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11666
11667 [BZ #5298]
11668 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11669 for ftell. Compute offsets from write pointers instead.
11670 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11671
4573c6b0
SP
116722012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11673
11674 [BZ #14543]
11675 * libio/Makefile (tests): New test case tst-fseek.
11676 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11677 combination works in wide mode.
11678 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11679 state when the external buffer state changes.
11680
aa9bbfe6
DM
116812012-09-27 David S. Miller <davem@davemloft.net>
11682
11683 [BZ #14376]
11684 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11685 pass reloc->r_addend in as the 'high' argument to
11686 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11687
784421e7
DM
11688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11689
c39bc8b8
PT
116902012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11691
11692 * rt/tst-aio2.c: Include <pthread.h>.
11693 * rt/tst-aio3.c: Likewise.
11694
1ccc2399
SE
116952012-09-27 Steve Ellcey <sellcey@mips.com>
11696
11697 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11698
31ed4153
L
116992012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11700
25f5f885
L
11701 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11702 contents on [SHARED].
31ed4153 11703
b7bfe116
MP
117042012-09-26 Marek Polacek <polacek@redhat.com>
11705
11706 [BZ #14530]
11707 [BZ #13741]
11708 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11709 for C++ and GCC <4.3 as well as for non GCC compilers.
11710
43c4edba
MT
117112012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11712
11713 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11714
6a1bf82f
RM
117152012-09-25 Roland McGrath <roland@hack.frob.com>
11716
11717 * Makefile.in (all, install): Declare with .PHONY.
11718 Reported by Michael Hope <michael.hope@linaro.org>.
11719
8ad11b9a
TMQMF
117202012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11721
11722 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11723 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11724 system header.
11725 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11726 Likewise.
11727 (sydep_routines): Add the new and the internal functions.
11728 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11729 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11731 (GLIBC_2.17): Add the new function.
11732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11733 (GLIBC_2.17): Likewise.
11734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11735 (GLIBC_2.17): Likewise.
11736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11737 (GLIBC_2.17): Likewise.
11738 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11739
7e2fca8d
AM
117402012-09-25 Alan Modra <amodra@gmail.com>
11741
11742 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11743 Add release barrier before setting once_control to say
11744 initialisation is done. Add hints on lwarx. Use macro in
11745 place of isync.
11746 (clear_once_control): Add release barrier.
11747
b87c4b24
JM
117482012-09-25 Joseph Myers <joseph@codesourcery.com>
11749
d032e0d2
JM
11750 [BZ #13629]
11751 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11752 specially.
11753 * math/s_clog10.c (__clog10): Likewise.
11754 * math/s_clog10f.c (__clog10f): Likewise.
11755 * math/s_clog10l.c (__clog10l): Likewise.
11756 * math/s_clogf.c (__clogf): Likewise.
11757 * math/s_clogl.c (__clogl): Likewise.
11758 * math/Makefile (libm-calls): Add x2y2m1.
11759 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11760 (__x2y2m1): Likewise.
11761 (__x2y2m1l): Likewise.
11762 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11763 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11766 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11767 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11768 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11769 * sysdeps/i386/fpu/libm-test-ulps: Update.
11770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11771
b87c4b24
JM
11772 [BZ #14621]
11773 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11774 int as type of variable DEPTH.
11775 (glob): Use size_t instead of int as type of variables NEWCOUNT
11776 and OLD_PATHC.
11777
6d3bf199
LD
117782012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11779
22bf5c17
LD
11780 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11781 Add s_sincosf-sse2.
11782 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11783 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11784 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11785 macros for using routine as __sincosf_ia32.
11786 Use macro for function declaration and weak_alias.
11787 * sysdeps/i386/fpu/libm-test-ulps: Update.
11788
11789 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11791
11792 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
11793 subnormal argument.
11794 * math/s_cexpf.c (__cexpf): Likewise.
11795 * math/s_csinf.c (__csinf): Likewise.
11796 * math/s_csinhf.c (__csinhf): Likewise.
11797 * math/s_ctanf.c (__ctanf): Likewise.
11798 * math/s_ctanhf.c (__ctanhf): Likewise.
11799 * math/s_ccosh.c (__ccoshf): Likewise.
11800 * math/s_cexp.c (__cexpl): Likewise.
11801 * math/s_csin.c (__csin): Likewise.
11802 * math/s_csinh.c (__csinh): Likewise.
11803 * math/s_ctan.c (__ctan): Likewise.
11804 * math/s_ctanh.c (ctanh): Likewise.
11805 * math/s_ccoshl.c (__ccoshl): Likewise.
11806 * math/s_cexpl.c (__cexpl): Likewise.
11807 * math/s_csinl.c (__csinl): Likewise.
11808 * math/s_csinhl.c (__csinhl): Likewise.
11809 * math/s_ctanl.c (__ctanl): Likewise.
11810 * math/s_ctanhl.c (__ctanhl): Likewise.
11811
203e5603
JM
118122012-09-25 Joseph Myers <joseph@codesourcery.com>
11813
11814 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11815 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11816 (_IO_off_t): Define to __off_t, not _G_off_t.
11817 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11818 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11819 (_IO_wint_t): Define to wint_t, not _G_wint_t.
11820 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11821 type of __dummy and __dummy2 fields.
11822 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11823 (_G_ssize_t): Likewise.
11824 (_G_off_t): Likewise.
11825 (_G_pid_t): Likewise.
11826 (_G_uid_t): Likewise.
11827 (_G_wchar_t): Likewise.
11828 (_G_wint_t): Likewise.
11829 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11830 (_G_ssize_t): Likewise.
11831 (_G_off_t): Likewise.
11832 (_G_pid_t): Likewise.
11833 (_G_uid_t): Likewise.
11834 (_G_wchar_t): Likewise.
11835 (_G_wint_t): Likewise.
11836 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11837 (_G_ssize_t): Likewise.
11838 (_G_off_t): Likewise.
11839 (_G_pid_t): Likewise.
11840 (_G_uid_t): Likewise.
11841 (_G_wchar_t): Likewise.
11842 (_G_wint_t): Likewise.
11843
9fab36eb
SP
118442012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11845
11846 * malloc/arena.c: Include malloc-sysdep.h.
11847 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11848 is sufficient to shrink the heap or an unmap is needed.
11849 * sysdeps/generic/malloc-sysdep.h: New file. Define
11850 new function check_may_shrink_heap.
11851 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11852 new function check_may_shrink_heap.
11853
2b4f00d1
SP
118542012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11855
11856 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11857 comments.
11858
9a9028b1
DL
118592012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11860
57c69bef
DL
11861 * catgets/test-gencat.sh: Add "set -e".
11862 * elf/tst-pathopt.sh: Likewise.
11863 * grp/tst_fgetgrent.sh: Likewise.
11864 * iconvdata/run-iconv-test.sh: Likewise.
11865 * intl/tst-gettext.sh: Likewise.
11866 * intl/tst-gettext2.sh: Likewise.
11867 * intl/tst-gettext4.sh: Likewise.
11868 * intl/tst-gettext6.sh: Likewise.
11869 * intl/tst-translit.sh: Likewise.
11870 * io/ftwtest-sh: Likewise.
11871 * libio/test-freopen.sh: Likewise.
11872 * malloc/tst-mtrace.sh: Likewise.
11873 * posix/globtest.sh: Likewise.
11874 * posix/tst-getconf.sh: Likewise.
11875 * posix/wordexp-tst.sh: Likewise.
11876 * stdio-common/tst-printf.sh: Likewise.
11877 * stdio-common/tst-unbputc.sh: Likewise.
11878 * stdlib/tst-fmtmsg.sh: Likewise.
11879 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11880 * catgets/Makefile: Do not specify -e option when running
11881 testsuite shell scripts.
11882 * elf/Makefile: Likewise.
11883 * grp/Makefile: Likewise.
11884 * iconvdata/Makefile: Likewise.
11885 * intl/Makefile: Likewise.
11886 * io/Makefile: Likewise.
11887 * libio/Makefile: Likewise.
11888 * malloc/Makefile: Likewise.
11889 * posix/Makefile: Likewise.
11890 * stdio-common/Makefile: Likewise.
11891 * stdlib/Makefile: Likewise.
11892 * sysdeps/x86_64/Makefile: Likewise.
11893
9a9028b1
DL
11894 * io/ftwtest-sh: Add copyright header.
11895 * posix/globtest.sh: Likewise.
11896 * posix/tst-getconf.sh: Likewise.
11897 * posix/wordexp-tst.sh: Likewise.
11898 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11899
ced6f16e
L
119002012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11901
94b32c39
L
11902 [BZ #13679]
11903 * Makeconfig (+link): Defined as $(+link-static) if
11904 $(build-shared) isn't yes.
11905 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11906 isn't yes.
11907 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11908
189e935b
L
11909 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11910
ced6f16e
L
11911 [BZ #14562]
11912 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11913 new chunk size with MALLOC_ALIGN_MASK.
11914
a9f8e53a
JM
119152012-09-24 Joseph Myers <joseph@codesourcery.com>
11916
11917 [BZ #5044]
11918 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11919 <rounding-mode.h>.
11920 (__printf_fphex): Determine rounding using get_rounding_mode and
11921 round_away.
11922 * stdio-common/tst-printf-round.c (struct hex_test): New
11923 structure.
11924 (hex_tests): New variable.
11925 (test_hex_in_one_mode): New function.
11926 (do_test): Also run tests for hex float output.
11927
43153109
JM
119282012-09-21 Joseph Myers <joseph@codesourcery.com>
11929
11930 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11931 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11932 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11933 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11934 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11935 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11936 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11937 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11938
8a26625d
JM
119392012-09-20 Joseph Myers <joseph@codesourcery.com>
11940
11941 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11942 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11943 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11944 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11945
f3fd569c
DL
119462012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11947
11948 [BZ #14579]
11949 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11950 mode only.
11951 * elf/tst-rtld-load-self.sh: New test.
11952 * elf/Makefile: Run it.
11953
63bbedd4
JM
119542012-09-18 Joseph Myers <joseph@codesourcery.com>
11955
11956 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11957 (tst-writev-ENV): Remove.
11958 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11959
626f8b6a
CM
119602012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11961
11962 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11963
b7aaa4d6
JM
119642012-09-17 Joseph Myers <joseph@codesourcery.com>
11965
11966 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11967 unconditional.
11968 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11969 Likewise.
11970 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11971 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11972 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11973 Likewise.
11974
65513990
L
119752012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11976
11977 [BZ #14587]
11978 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11979 * config.make.in (have-cpp-asm-debuginfo): Removed.
11980 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11981 * configure: Regenerated.
11982
784761be
JM
119832012-09-14 Joseph Myers <joseph@codesourcery.com>
11984
11985 [BZ #5044]
11986 * stdio-common/printf_fp.c: Include <stdbool.h> and
11987 <rounding-mode.h>.
11988 (___printf_fp): Determine rounding using get_rounding_mode and
11989 round_away.
11990 * stdio-common/tst-printf-round.c: New file.
11991 * stdio-common/Makefile (tests): Add tst-printf-round.
11992 (link-libm): New variable.
11993 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11994
9503345f
L
119952012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11996
11997 [BZ #14576]
11998 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11999 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12000 Likewise.
12001 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12002 Likewise.
12003
ad35fc00
JM
120042012-09-13 Joseph Myers <joseph@codesourcery.com>
12005
12006 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12007 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12008 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12009 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12010
6c9b0f68
JM
120112012-09-12 Joseph Myers <joseph@codesourcery.com>
12012
12013 [BZ #14518]
12014 * include/rounding-mode.h: New file.
12015 * sysdeps/generic/get-rounding-mode.h: Likewise.
12016 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12017 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12018 (MAX_VALUE): New macro.
12019 (MIN_VALUE): Likewise.
12020 (overflow_value): New function.
12021 (underflow_value): Likewise.
12022 (round_and_return): Use overflow_value and underflow_value to
12023 determine return values in overflow and underflow cases. Use
12024 round_away to determine rounding depending on rounding mode.
12025 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12026 determine return values in overflow and underflow cases.
12027 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12028 (struct test_results): New structure.
12029 (struct test): Use struct test_results to store expected results
12030 for all rounding modes.
12031 (TEST): Include expected results for all rounding modes.
12032 (test_in_one_mode): New function.
12033 (do_test): Use test_in_one_mode to compute and check results.
12034 Check results for all rounding modes.
12035 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12036 $(link-libm).
12037
19fcedd5
AM
120382012-12-09 Allan McRae <allan@archlinux.org>
12039
1e9d84cd 12040 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12041
8bbfd2f1
JM
120422012-09-11 Joseph Myers <joseph@codesourcery.com>
12043
12044 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12045 (_G_int32_t): Likewise.
12046 (_G_uint16_t): Likewise.
12047 (_G_uint32_t): Likewise.
12048 (_G_HAVE_BOOL): Likewise.
12049 (_G_HAVE_ATEXIT): Likewise.
12050 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12051 (_G_HAVE_IO_FILE_OPEN): Likewise.
12052 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12053 (_G_int32_t): Likewise.
12054 (_G_uint16_t): Likewise.
12055 (_G_uint32_t): Likewise.
12056 (_G_HAVE_BOOL): Likewise.
12057 (_G_HAVE_ATEXIT): Likewise.
12058 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12059 (_G_HAVE_IO_FILE_OPEN): Likewise.
12060 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12061 (_G_int32_t): Likewise.
12062 (_G_uint16_t): Likewise.
12063 (_G_uint32_t): Likewise.
12064 (_G_HAVE_BOOL): Likewise.
12065 (_G_HAVE_ATEXIT): Likewise.
12066 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12067 (_G_HAVE_IO_FILE_OPEN): Likewise.
12068
b1dc5912
L
120692012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12070
12071 * csu/libc-tls.c: Update copyright years.
12072
0e886ef9
JM
120732012-09-10 Joseph Myers <joseph@codesourcery.com>
12074
28361c5e
JM
12075 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12076 [!_G_USING_THUNKS]: Remove conditional code.
12077 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12078 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12079
0e886ef9
JM
12080 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12081 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12082 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12083 (_G_VTABLE_LABEL_PREFIX): Likewise.
12084 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12085 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12086 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12087 (_G_VTABLE_LABEL_PREFIX): Likewise.
12088 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12089 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12090 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12091 (_G_VTABLE_LABEL_PREFIX): Likewise.
12092 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12093
bcba7aa2
L
120942012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12095
12096 * libio/Makefile: Include ../Makeconfig before tests.
12097 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12098 only if $(build-shared) is yes.
12099
06585ee8
L
12100 * iconv/gconv_db.c: Update copyright years.
12101
80ccd52c
LD
121022012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12103
12104 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12105 unwind info if defined PIC. Fix special cases description.
12106 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12107
12108 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12109 DP_HI_MASK entry.
12110 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12111
691bc9c1
L
121122012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12113
3d9b46b3
L
12114 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12115
de2139a9
L
12116 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12117 is NULL.
12118
5ca78dd0
L
12119 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12120 (LDLIBS-tst-chk4): This.
12121 (LDFLAGS-tst-chk5): Renamed to ...
12122 (LDLIBS-tst-chk5): This.
12123 (LDFLAGS-tst-chk6): Renamed to ...
12124 (LDLIBS-tst-chk6): This.
12125 (LDFLAGS-tst-lfschk4): Renamed to ...
12126 (LDLIBS-tst-lfschk4): This.
12127 (LDFLAGS-tst-lfschk5): Renamed to ...
12128 (LDLIBS-tst-lfschk5): This.
12129 (LDFLAGS-tst-lfschk6): Renamed to ...
12130 (LDLIBS-tst-lfschk6): This.
12131
691bc9c1
L
12132 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12133 on $(common-objpfx)soversions.mk.
12134
65cafb1c
JM
121352012-09-07 Joseph Myers <joseph@codesourcery.com>
12136
12137 [BZ #10014]
12138 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12139 example host name.
12140
c78ab094
SP
121412012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12142
12143 * malloc/arena.c (arena_get_retry): New function that gets
12144 another arena for the caller to try its request on.
12145 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12146 current arena cannot fulfill the request.
12147 (__libc_memalign): Likewise.
12148 (__libc_memalign): Likewise.
12149 (__libc_pvalloc): Likewise.
12150 (__libc_calloc): Likewise.
12151
01f49f59
JT
121522012-09-05 John Tobey <john.tobey@gmail.com>
12153
12154 [BZ #13542]
12155 * manual/arith.texi (Operations on Complex): Fix description
12156 of carg branch cut.
12157
4c23fed5
JM
121582012-09-06 Joseph Myers <joseph@codesourcery.com>
12159
1d3c8572
JM
12160 [BZ #10014]
12161 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12162 host name.
12163
4c23fed5
JM
12164 [BZ #10038]
12165 * manual/memory.texi (Memory): Make order of menu items match
12166 order of sections.
12167
04570aaa
L
121682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12169
12170 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12171 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12172 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12173
b80af2f4
L
121742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12175
12176 * csu/libc-tls.c (static_dtv): Renamed to ...
12177 (_dl_static_dtv): This. Make it global.
12178 (_dl_initial_dtv): Removed.
12179 (__libc_setup_tls): Updated.
12180 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12181 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12182 DL_INITIAL_DTV.
12183
2abe9f15
PM
121842012-09-06 Petr Machata <pmachata@redhat.com>
12185
12186 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12187 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12188 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12189 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12190
0948c3af
L
121912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12192
12193 [BZ #14545]
12194 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12195 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12196 freeing dtv[-1].
12197
a5055ad1
L
121982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12199
12200 [BZ #14544]
12201 * Makeconfig (link-static-before-libc): Replace $(+prector)
12202 with $(+prectorT).
12203 (link-static-after-libc): Replace $(+postctor) with
12204 $(+postctorT).
12205 (link-bounded): Replace $(+prector)/$(+postctor) with
12206 $(+prectorT)/$(+postctorT).
12207 (+prectorT): New macro.
12208 (+postctorT): Likewise.
12209
ed8c2ecd
JM
122102012-09-06 Joseph Myers <joseph@codesourcery.com>
12211
12212 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12213 (round_str): Handle values above the maximum for IBM long double
12214 as inexact.
12215 * stdlib/tst-strtod-round.c (tests): Regenerated.
12216
14c996c8
AK
122172012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12218
12219 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12220 assembler flag.
12221 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12222 zarch_nohighgprs around the zarch optimized routines.
12223 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12224 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12225 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12226 for zarch.
12227
430d6ce6
DM
122282012-09-05 David S. Miller <davem@davemloft.net>
12229
12230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12231
ff04dda4
DM
12232 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12233 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12234 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12235 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12236 entries.
12237
24d4e01b
AO
122382012-09-05 Alexandre Oliva <aoliva@redhat.com>
12239
12240 * malloc/arena.c: Fold copyright years.
12241 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12242
61d58174
AO
122432012-09-05 Alexandre Oliva <aoliva@redhat.com>
12244
12245 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12246
20196a5e
AO
122472012-09-05 Alexandre Oliva <aoliva@redhat.com>
12248
12249 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12250
5c447383
AO
122512012-09-05 Alexandre Oliva <aoliva@redhat.com>
12252
12253 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12254 change internal state upon failure.
12255
fad64255
AO
122562012-09-05 Alexandre Oliva <aoliva@redhat.com>
12257
12258 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12259 * malloc/memusage.c (mmap): Likewise.
12260 (mmap64, mremap): Likewise. Adjust name in comment.
12261
1ffb8c90
SP
122622012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12263
12264 * libio/fileops.c: Fix typos in comments.
12265 * libio/oldfileops.c: Likewise.
12266 * libio/wfileops.c: Likewise.
12267
6ef9cc37
SP
122682012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12269
12270 [BZ #1349]
12271 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12272 (tst-malloc-usable-ENV): Set environment for test case.
12273 * malloc/hooks.c (malloc_check_get_size): New function to get
12274 requested size.
12275 * malloc/malloc.c (musable): Use malloc_check_get_size.
12276 * malloc/tst-malloc-usable.c: New test case.
12277
4d038ae3
AS
122782012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12279
12280 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12281
c4e85184
AM
122822012-09-05 Allan McRae <allan@archlinux.org>
12283
b9dafc56 12284 [BZ #13966]
c4e85184
AM
12285 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12286 determine header location.
12287 * configure: Regenerated.
12288
e1343020
AS
122892012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12290
12291 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12292 float format.
12293 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12294 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12295 format.
e1343020
AS
12296 (test): Regenerate.
12297
0a9f1987
DM
122982012-09-04 David S. Miller <davem@davemloft.net>
12299
12300 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12301 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12302 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12303
29237804
FW
123042012-09-04 Florian Weimer <fweimer@redhat.com>
12305
12306 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12307 failures.
12308
edb3cb88
FW
12309 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12310
60160d83
JM
123112012-09-04 Joseph Myers <joseph@codesourcery.com>
12312
12313 [BZ #9914]
12314 * libio/iogetdelim.c: Include <limits.h>.
12315 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12316 + len + 1 would overflow.
12317
bcd6c8dc
AJ
123182012-09-03 Andreas Jaeger <aj@suse.de>
12319
12320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12321 * sysdeps/i386/fpu/libm-test-ulps: Update.
12322
4ffffbd2
LD
123232012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12324
12325 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12326 Add s_sinf-sse2, s_conf-sse2.
12327
12328 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12329 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12330 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12331 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12332
12333 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12334 for using routine as __sinf_ia32.
12335 Use macro for function declaration and weak_alias.
12336 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12337 for using routine as __cosf_ia32.
12338 Use macro for function declaration and weak_alias.
12339
12340 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12341 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12342
12343 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12344 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12346
12347 * math/libm-test.inc (cos_test): Add more test cases.
12348 (sin_test): Likewise.
12349 (sincos_test): Likewise.
12350
511fa286
AK
123512012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12352
12353 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12354 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12355 hidden.
12356 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12357
5f30cfec
L
123582012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12359
12360 [BZ #14538]
12361 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12362 first element of the GOT.
12363 (elf_machine_load_address): Return the difference between
12364 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12365
0786794f
AM
123662012-09-01 Allan McRae <allan@archlinux.org>
12367
5f30cfec
L
12368 [BZ #13412]
12369 * configure.in (AWK): Require gawk version 3.0 or later.
12370 * configure: Regenerated.
0786794f 12371
26889eac
JM
123722012-09-01 Joseph Myers <joseph@codesourcery.com>
12373
12374 * sysdeps/unix/sysv/linux/kernel-features.h
12375 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12376 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12377 [__NR_clock_getres]: Make code unconditional.
12378 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12379 (clock_getcpuclockid): Remove code left unreachable by removal of
12380 conditionals.
12381 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12382 code unconditional.
12383 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12384 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12385 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12386 Make code unconditional.
12387 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12388 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12389 * sysdeps/unix/sysv/linux/clock_settime.c
12390 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12391 conditional code.
12392 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12393 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12394
d22e28b0
L
123952012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12396
12397 [BZ #14476]
12398 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12399 scripts/test-installation.pl.
12400
12401 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12402 and $ld_so_version if it is set.
12403
050af9c4
SP
124042012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12405
12406 [BZ #14516]
12407 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12408 failure if reading from procfs failed.
12409 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12410
ad845c0b
JM
124112012-08-27 Joseph Myers <joseph@codesourcery.com>
12412
12413 * sysdeps/unix/sysv/linux/kernel-features.h
12414 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12415 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12416 Remove conditional code.
12417 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12418 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12419 Remove conditional code.
12420 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12421 * sysdeps/unix/sysv/linux/i386/fxstat.c
12422 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12423 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12424 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12425 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12426 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12427 * sysdeps/unix/sysv/linux/i386/lxstat.c
12428 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12429 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12430 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12431 Remove conditional code.
12432 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12433 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12434 Remove conditional code.
12435 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12436 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12437 <kernel-features.h>.
12438 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12439 Remove.
12440 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12441 Remove conditional code.
12442 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12443 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12444 Remove conditional.
12445
5dbf56af
MF
124462012-08-27 Mike Frysinger <vapier@gentoo.org>
12447
12448 [BZ #5400]
12449 * NEWS: Add fixed bug number.
12450
d6e70f43
JM
124512012-08-27 Joseph Myers <joseph@codesourcery.com>
12452
7efb4737
JM
12453 [BZ #14519]
12454 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12455 underflowing exponent in case of negative sign.
12456 * stdlib/tst-strtod-round-data: Add more tests.
12457 * stdlib/tst-strtod-round.c (tests): Regenerated.
12458
af92131a
JM
12459 [BZ #3479]
12460 * stdlib/strtod_l.c (NDIG): Remove.
12461 (HEXNDIG): Likewise.
12462 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12463 smallest representable value.
12464 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12465 lie within an exact representation of 1/2 ulp of the result.
12466 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12467 unconditionally.
12468 (TENS_P9_IDX): Define unconditionally.
12469 (TENS_P9_SIZE): Likewise.
12470 (TENS_P10_IDX): Likewise.
12471 (TENS_P10_SIZE): Likewise.
12472 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12473 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12474 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12475 entries for 10^2^13 and 10^2^14.
12476 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12477 (TENS_P13_IDX): Define.
12478 (TENS_P13_SIZE): Likewise.
12479 (TENS_P14_IDX): Likewise.
12480 (TENS_P14_SIZE): Likewise.
12481 (_fpioconst_pow10): Change array size to
12482 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12483 unconditional.
12484 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12485 1024]: Add entries for 10^2^13 and 10^2^14.
12486 [LAST_POW10 > _LAST_POW10]: Remove #error.
12487 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12488 (_fpioconst_pow10): Change array size to
12489 FPIOCONST_POW10_ARRAY_SIZE.
12490 * stdlib/gen-fpioconst.c: New file.
12491 * stdlib/gen-tst-strtod-round.c: Likewise.
12492 * stdlib/tst-strtod-round-data: Likewise.
12493 * stdlib/tst-strtod-round.c: Likewise.
12494 * stdlib/Makefile (tests): Add tst-strtod-round.
12495
d6e70f43
JM
12496 [BZ #14459]
12497 * stdlib/strtod_l.c: Include <stdint.h>.
12498 (NDEBUG): Do not define.
12499 (round_and_return): Change EXPONENT parameter to type intmax_t.
12500 Rearrange calculations to avoid internal overflow possibilities.
12501 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12502 Rearrange calculations to avoid internal overflow possibilities.
12503 Assert that number fits inside MPNSIZE limbs.
12504 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12505 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12506 calculations and add assertions to avoid internal overflow
12507 possibilities. Add casts to avoid signed/unsigned operations.
12508 * stdlib/tst-strtod-overflow.c: New file.
12509 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12510
1f529f7d
MP
125112012-08-25 Marek Polacek <polacek@redhat.com>
12512
12513 * time/time.h: Fix some typos in comments.
12514
59a629f1
RM
125152012-08-23 Roland McGrath <roland@hack.frob.com>
12516
12517 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12518 * posix/tst-rfc3484-2.c: Likewise.
12519 * posix/tst-rfc3484-3.c: Likewise.
12520
d3bafbc9
SM
125212012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12522
12523 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12524 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12525
4efcc022
JM
125262012-08-23 Joseph Myers <joseph@codesourcery.com>
12527
12528 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12529 #include of fxstatat64.c.
12530
3cc3ef96
RM
125312012-08-22 Roland McGrath <roland@hack.frob.com>
12532
f04e2132
RM
12533 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12534 * shadow/getspent_r.c: Likewise.
12535 * shadow/getspnam.c: Likewise.
12536 * shadow/getspnam_r.c: Likewise.
12537 * gshadow/getsgent.c: Likewise.
12538 * gshadow/getsgent_r.c: Likewise.
12539 * gshadow/getsgnam.c: Likewise.
12540 * gshadow/getsgnam_r.c: Likewise.
12541 * inet/getnetbyad.c: Likewise.
12542 * inet/getnetbyad_r.c: Likewise.
12543 * inet/getnetbynm.c: Likewise.
12544 * inet/getnetbynm_r.c: Likewise.
12545 * inet/getnetent.c: Likewise.
12546 * inet/getnetent_r.c: Likewise.
12547 * inet/getproto.c: Likewise.
12548 * inet/getproto_r.c: Likewise.
12549 * inet/getprtent.c: Likewise.
12550 * inet/getprtent_r.c: Likewise.
12551 * inet/getprtname.c: Likewise.
12552 * inet/getprtname_r.c: Likewise.
12553 * inet/getrpcbyname.c: Likewise.
12554 * inet/getrpcbyname_r.c: Likewise.
12555 * inet/getrpcbynumber.c: Likewise.
12556 * inet/getrpcbynumber_r.c: Likewise.
12557 * inet/getrpcent.c: Likewise.
12558 * inet/getrpcent_r.c: Likewise.
12559 * inet/getaliasent.c: Likewise.
12560 * inet/getaliasent_r.c: Likewise.
12561 * inet/getaliasname.c: Likewise.
12562 * inet/getaliasname_r.c: Likewise.
12563 * nscd/getgrgid_r.c: Likewise.
12564 * nscd/getgrnam_r.c: Likewise.
12565 * nscd/gethstbyad_r.c: Likewise.
12566 * nscd/gethstbynm3_r.c: Likewise.
12567 * nscd/getpwnam_r.c: Likewise.
12568 * nscd/getpwuid_r.c: Likewise.
12569 * nscd/getsrvbynm_r.c: Likewise.
12570 * nscd/getsrvbypt_r.c: Likewise.
12571 * nscd/gai.c: Likewise.
12572
c53d909c
RM
12573 * configure.in (build_nscd): New substituted variable, set
12574 by --disable-build-nscd and defaults to $use_nscd.
12575 * configure: Regenerated.
12576 * config.make.in (build-nscd): New substituted variable.
12577 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12578 Change conditional to require [$(build-nscd) = yes] as well.
12579 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12580
3cc3ef96
RM
12581 [BZ# 13696]
12582 * configure.in (use_nscd): New substituted variable, set by
12583 --disable-nscd. If enabled, define USE_NSCD.
12584 * configure: Regenerated.
12585 * config.h.in: Add USE_NSCD.
12586 * config.make.in (use-nscd): New substituted variable.
12587 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12588 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12589 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12590 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12591 (CFLAGS-getgrnam_r.c): Likewise.
12592 (CFLAGS-initgroups.c): Likewise.
12593 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12594 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12595 Variables removed.
12596 * inet/getnetgrent_r.c
12597 (nscd_setnetgrent): New function, broken out of ...
12598 (setnetgrent): ... here. Call it.
12599 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12600 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12601 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12602 * nscd/Makefile (routines, aux): Move definitions after include of
12603 Makeconfig. Conditionalize on [$(use-nscd) != no].
12604 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12605 Conditionalize on [USE_NSCD].
12606 (is_nscd, nscd_init_cb): Likewise.
12607 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12608 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12609 * nss/nss_db/db-init.c: Likewise.
12610 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12611 [USE_NSCD].
12612 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12613 (make_request): Use it.
12614 (cache_valid_p): New function.
12615 (__check_pf): Use it.
12616 * NEWS: Add item for --disable-nscd.
12617
07e51550
DL
126182012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12619
12620 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12621 to support sed >= 4.2.1-20-ga9bf076.
12622 * configure: Regenerated.
12623
35a5b08b
RM
126242012-08-22 Roland McGrath <roland@hack.frob.com>
12625
12626 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12627 Conditionalize whole body on [IREL].
12628
8479f23a
JL
126292012-08-22 Jeff Law <law@redhat.com>
12630
12631 [BZ #14505]
12632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12633 if the family is PF_UNSPEC.
12634
48da0b21
MF
126352012-08-22 Mike Frysinger <vapier@gentoo.org>
12636
12637 * Makerules (lib-version): Rename from V.
12638 (install-lib-nosubdir): Change V to lib-version.
12639
15d0da8c
WS
126402012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12641
12642 [BZ #14252]
12643 * powerpc32/power6/wcschr.c: New file.
12644 * powerpc32/power6/wcscpy.c: New file.
12645 * powerpc32/power6/wcsrchr.c: New file.
12646 * powerpc64/power6/wcschr.c: New file.
12647 * powerpc64/power6/wcscpy.c: New file.
12648 * powerpc64/power6/wcsrchr.c: New file.
12649
bcca0895
MK
126502012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12651
12652 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12653 (two_way_short_needle): Use it.
5a4aaa33
RM
12654 * string/strstr.c (AVAILABLE1_USES_J): Define.
12655 * string/strcasestr.c: Likewise.
99677e57
MK
12656
12657 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12658 array references.
12659 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12660
400726de
MK
12661 [BZ #11607]
12662 * NEWS: Add an entry.
12663 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12664 define their defaults.
12665 (two_way_short_needle): Detect end-of-string on-the-fly.
12666 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12667 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12668 * string/bug-strcasestr1.c: New test.
12669 * string/Makefile: Run it.
12670
20a71f2c
MK
126712012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12672
12673 [BZ #11607]
12674 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12675 the first character.
12676
21ad0558
RM
126772012-08-21 Roland McGrath <roland@hack.frob.com>
12678
12679 * csu/elf-init.c (__libc_csu_irel): Function removed.
12680 * csu/libc-start.c (apply_irel): New function.
12681 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12682
0e1d9911
JM
126832012-08-21 Joseph Myers <joseph@codesourcery.com>
12684
12685 * sysdeps/unix/sysv/linux/kernel-features.h
12686 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12687 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12688 <kernel-features.h>.
12689 [__NR_fadvise64_64]: Make code unconditional.
12690 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12691 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12692 !__NR_fadvise64_64)]: Likewise.
12693 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12694 !__NR_fadvise64_64))]: Likewise.
12695 [__NR_fadvise64]: Make code unconditional.
12696 [!__NR_fadvise64]: Remove conditional code.
12697 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12698 <kernel-features.h>.
12699 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12700 unconditional.
12701 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12702 conditional code.
12703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12704 not include <kernel-features.h>.
12705 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12706 unconditional.
12707 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12708 conditional code.
12709 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12710 include <kernel-features.h>.
12711 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12712 unconditional.
12713 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12714 conditional code.
12715
14a50c9d
WS
127162012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12717
12718 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12719 slight instruction rearrangements per scrollpipe analysis.
12720 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12721
c0f4faf0
RM
127222012-08-20 Roland McGrath <roland@hack.frob.com>
12723
696da859
RM
12724 * manual/syslog.texi (syslog; vsyslog, closelog):
12725 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12726 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12727
c0f4faf0
RM
12728 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12729 DSOCAPS to match condition on defining it.
12730
348363b2
JM
127312012-08-20 Joseph Myers <joseph@codesourcery.com>
12732
a35cbf28
JM
12733 * sysdeps/unix/sysv/linux/kernel-features.h
12734 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12736 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12737 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12739 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12740 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12742 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12743 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12744
445f7ecd
JM
12745 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12746 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12747
348363b2
JM
12748 * sysdeps/unix/sysv/linux/kernel-features.h
12749 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12750 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12751 unconditional.
12752 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12753 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12754 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12755 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12756 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12757 Make code unconditional.
12758 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12759 (__mmap64) [!__NR_mmap2]: Likewise.
12760 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12761 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12762 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12763 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12764 [__NR_mmap2]: Make code unconditional.
12765 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12766 (__mmap64) [!__NR_mmap2]: Likewise.
12767
bc5bc0e5
AK
127682012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12769
12770 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12771
88d506de
AJ
127722012-08-18 Andreas Jaeger <aj@suse.de>
12773
12774 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12775
493387d2
MF
127762012-08-18 Mike Frysinger <vapier@gentoo.org>
12777
12778 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12779 * include/unistd.h (__have_sock_cloexec): Likewise.
12780 (__have_pipe2): Likewise.
12781 (__have_dup3): Likewise.
12782
a277af22
MF
127832012-08-18 Mike Frysinger <vapier@gentoo.org>
12784
12785 [BZ #9685]
12786 * include/unistd.h (__have_pipe2): Change define into an extern int.
12787 (__have_dup3): Likewise.
12788 * socket/have_sock_cloexec.c: Include fcntl.h.
12789 (__have_pipe2): New variable.
12790 (__have_dup3): Likewise.
12791
fdab8fd3
MF
127922012-08-17 Mike Frysinger <vapier@gentoo.org>
12793
12794 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12795
31035e80
MP
127962012-08-17 Marek Polacek <polacek@redhat.com>
12797
12798 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12799 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12800
3bd9e993
RM
128012012-08-17 Roland McGrath <roland@hack.frob.com>
12802
c91c505f
RM
12803 * configure.in: Add AC_SUBST for sysheaders.
12804 * configure: Regenerated.
12805 * config.make.in (sysheaders): New substituted variable.
12806
7c6f9d53
RM
12807 * sysdeps/unix/mkfifo.c: Moved ...
12808 * sysdeps/posix/mkfifo.c: ... here.
12809 * sysdeps/unix/mkfifoat.c: Moved ...
12810 * sysdeps/posix/mkfifoat.c: ... here.
12811
12812 * sysdeps/unix/utime.c: Moved ...
12813 * sysdeps/posix/utime.c: ... here.
12814
12815 * sysdeps/unix/time.c: Moved ...
12816 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
12817 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12818 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
12819
12820 * sysdeps/unix/nice.c: Moved ...
12821 * sysdeps/posix/nice.c: ... here.
12822
12823 * sysdeps/unix/alarm.c: Moved ...
12824 * sysdeps/posix/alarm.c: ... here.
12825
3bd9e993
RM
12826 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12827
d1f09384
JL
128282012-08-17 Jeff Law <law@redhat.com>
12829
12830 * intl/Makefile (codeset_mo): New variable.
12831 ($(codeset_mo)): New target.
12832 (tst-codeset.out): Depend on that. Remove explicit rule.
12833 (tst-gettext3.out, tst-gettext5.out): Likewise.
12834 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12835 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12836 * intl/tst-codeset.sh: Remove.
12837 * intl/tst-gettext3.sh: Likewise.
12838 * intl/tst-gettext5.sh: Likewise.
12839
2ae1ae5c
RM
128402012-08-17 Roland McGrath <roland@hack.frob.com>
12841
c31fdb83
RM
12842 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12843 * sysdeps/unix/syscalls.list: ... here.
12844
a0844057
RM
12845 * sysdeps/posix/getaddrinfo.c
12846 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12847 (gaiconf_init, gaiconf_reload): Use them.
12848 [!_STATBUF_ST_NSEC]
12849 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12850 Define using time_t rather than struct timespec.
12851
750c1f2a
RM
12852 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12853 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12854 Macros removed.
12855 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12856 [!NO_THREADS].
12857 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12858 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12859 Likewise.
12860
2ae1ae5c
RM
12861 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12862 __libc_cleanup_push argument.
12863
e66a42f5
RM
12864 * bits/param.h: New file.
12865 * misc/sys/param.h: New file.
12866 * include/sys/param.h: New file.
12867 * misc/Makefile (headers): Add bits/param.h.
12868 * sysdeps/generic/sys/param.h: File removed.
12869 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12870 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12871 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 12872 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 12873
b7c08a66
RM
12874 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12875 last change.
12876
b2e1c562
RM
12877 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12878 [_IO_MTSAFE_IO].
12879 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12880 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12881 New macros.
12882
c75ccd4c
RM
12883 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12884 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12885 rather than -D_IO_MTSAFE_IO conditionally.
12886 * stdio-common/Makefile (CPPFLAGS): Likewise.
12887 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12888 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12889 Use $(libio-mtsafe).
12890 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12891 of -D_IO_MTSAFE_IO.
12892 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12893 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12894 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12895 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12896 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12897 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12898 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12899 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12900 (CFLAGS-fread_u_chk.c): Likewise.
12901 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12902 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12903 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12904 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12905 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12906 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12907 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12908 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12909 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12910
12911 * libio/Makefile: Test [$(libc-reentrant) = yes]
12912 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12913
12914 * Makeconfig
12915 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12916 * sysdeps/pthread/configure: File removed.
12917 * sysdeps/pthread/Makeconfig: New file.
12918 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12919 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12920
d9195db8
GB
129212012-08-16 Gary Benson <gbenson@redhat.com>
12922
12923 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12924 unmapping the first object in a namespace.
12925
86466cd9
RM
129262012-08-16 Roland McGrath <roland@hack.frob.com>
12927
12928 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12929 (__internal_setnetgrent): ... this. Add internal_function to
12930 definition. Add libc_hidden_def.
12931 (setnetgrent): Update caller.
12932 (internal_endnetgrent): Renamed to ...
12933 (__internal_endnetgrent): ... this. Add internal_function to
12934 definition. Add libc_hidden_def.
12935 (endnetgrent): Update caller.
12936 (internal_getnetgrent_r): Renamed to ...
12937 (__internal_getnetgrent_r): ... this. Add internal_function to
12938 definition. Add libc_hidden_def.
12939 (__getnetgrent_r): Update caller.
12940 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12941
c3c8283c
JM
129422012-08-16 Joseph Myers <joseph@codesourcery.com>
12943
12944 * stdlib/longlong.h: Update from GCC.
12945
db1ee0a8
RM
129462012-08-16 Roland McGrath <roland@hack.frob.com>
12947
12948 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12949 on _QL, which is set by umul_ppmm but never used.
12950 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12951 variables, which are set by GMP macros but never used.
12952 * stdio-common/_itowa.c (_itowa): Likewise.
12953 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12954 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12955
30f69637
CD
129562012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12957
12958 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12959 struct La_sh_regs is not constant.
12960 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12961 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12962 and struct La_sparc64_regs are not constant.
12963
93a78ac4
JM
129642012-08-16 Joseph Myers <joseph@codesourcery.com>
12965
12966 * sysdeps/unix/sysv/linux/kernel-features.h
12967 (__ASSUME_POSIX_TIMERS): Remove.
12968 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12969 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12970 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12971 Make code unconditional.
12972 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12973 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12974 Make code unconditional.
12975 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12976 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12977 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12978 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12979 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12980 Make code unconditional.
12981 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12982 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12983 (__libc_missing_posix_timers): Remove.
12984
dd924cd7
RM
129852012-08-15 Roland McGrath <roland@hack.frob.com>
12986
4b4f2771
RM
12987 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12988 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12989
601c888b
RM
12990 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12991
176790a7
RM
12992 * elf/dl-sym.c: Include <stdlib.h>.
12993
329bc018
RM
12994 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12995 constants, which avoids warnings in 32-bit builds.
12996
e04e272d
RM
12997 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12998 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12999
952bf94a
RM
13000 * misc/lseek.c: File moved to ...
13001 * io/lseek.c: ... here.
13002
7c99b50a
RM
13003 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13004
dd924cd7
RM
13005 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13006 shifting LEN more than 31 bits at once.
13007
b3f479a8
LD
130082012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13009
13010 [BZ #14195]
8c4ae0d4
RM
13011 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13012 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13013 * string/test-strncasecmp.c (check1): Renamed to...
13014 (bz12205): ...this.
13015 (bz14195): Add new testcase for two empty input strings and N > 0.
13016 (test_main): Call new testcase, adapt for renamed function.
13017
9c55864e
AJ
130182012-08-15 Andreas Jaeger <aj@suse.de>
13019
13020 [BZ #14090]
13021 * crypt/md5test2.c: New test, based on test supplied by Serge
13022 Belyshev <belyshev@depni.sinp.msu.ru>.
13023 * crypt/Makefile (xtests): Add md5test-giant..
13024 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13025
02dcb6c5
PE
130262012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13027
13028 [BZ #14090]
13029 * crypt/md5.c (md5_process_block): Don't assume the buffer
13030 length is less than 2**32.
13031 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13032 length is less than 2**64.
13033
a3f95dcc
RM
130342012-08-15 Roland McGrath <roland@hack.frob.com>
13035
be75d758
RM
13036 * string/str-two-way.h: Include <sys/param.h>.
13037 (MAX): Macro removed.
13038
7312ca90
RM
13039 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13040 Move #define and #undef of memmove to just before and after
13041 including <string.h>.
13042
9a0a5486
RM
13043 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13044 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13045 and after including <string.h>. Move declarations of
13046 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13047 to before #include "string/memmove.c".
13048
67cc348d
RM
13049 * include/dirent.h: Declare __getdirentries.
13050
a3f95dcc
RM
13051 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13052 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13053
ca98e171
MF
130542012-08-14 Mike Frysinger <vapier@gentoo.org>
13055
13056 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13057 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13058 * sysdeps/i386/configure: Regenerated.
13059 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13060 STABS_CURRENT_FILE, and STABS_FUN.
13061 (END): Remove call to STABS_FUN_END.
13062 (STABS_CURRENT_FILE1): Delete.
13063 (STABS_CURRENT_FILE): Likewise.
13064 (STABS_FUN): Likewise.
13065 (STABS_FUN_END): Likewise.
13066 (STABS_FUN2): Likewise.
13067 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13068 * sysdeps/x86_64/configure: Regenerated.
13069
5908bf46
RM
130702012-08-14 Roland McGrath <roland@hack.frob.com>
13071
13072 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13073 * elf/dl-lookup.c: Likewise.
5908bf46 13074
f2c05b9e
JM
130752012-08-14 Joseph Myers <joseph@codesourcery.com>
13076
13077 * sysdeps/unix/sysv/linux/kernel-features.h
13078 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13079 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13080 unconditionally.
13081 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13082 unconditionally.
13083 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13084 condition on __ASSUME_CLONE_THREAD_FLAGS.
13085
e11f5155
AJ
130862012-08-14 Andreas Jaeger <aj@suse.de>
13087
13088 * sysdeps/i386/fpu/libm-test-ulps: Update.
13089
51a9ba86
MK
130902012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13091
2fdd4f78
AJ
13092 * include/atomic.h (atomic_exchange_and_add): Split into ...
13093 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13094 New atomic macros.
51a9ba86 13095
ba6cba9e
MT
130962012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13097
13098 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13099
42443a47
JL
131002012-08-13 Jeff Law <law@redhat.com>
13101
13102 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13103 null byte in the output string.
13104
121dce05
JM
131052012-08-10 Joseph Myers <joseph@codesourcery.com>
13106
13107 * sysdeps/unix/sysv/linux/kernel-features.h
13108 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13109 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13110 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13111 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13112 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13113 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13114 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13115
bf51f568
JL
131162012-08-09 Jeff Law <law@redhat.com>
13117
13118 [BZ #13939]
13119 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13120 When avoid_arena is set, don't retry in the that arena. Pick the
13121 next one, whatever it might be.
13122 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13123 (arena_lock): Pass in new parameter to arena_get2.
13124 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13125 arena_get2.
13126 (__libc_malloc): Unify retrying after main arena failure with
13127 __libc_memalign version.
13128 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13129
f85fa270
L
131302012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13131
13132 [BZ #14166]
13133 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13134 to __redirect_strstr.
13135 (__strstr_sse42): Use typeof __redirect_strstr.
13136 (__strstr_ia32): Likewise.
13137 (__libc_strstr): New prototype.
13138 (strstr): Renamed to ...
13139 (__libc_strstr): This.
13140 (strstr): New strong alias of __libc_strstr.
13141 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13142 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13143 __redirect_time.
13144 Include <time.h>.
13145 (__libc_time): New prototype.
13146 (time_ifunc): Replace time with __libc_time.
13147 (time): New strong alias and hidden definition of __libc_time.
13148 (__GI_time): Remove strong alias.
13149 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13150 Include <stddef.h>.
13151 (memmove): Redefined to __redirect_memmove.
13152 (__memmove_sse2): Use typeof __redirect_memmove.
13153 (__memmove_ssse3): Likewise.
13154 (__memmove_ssse3_back): Likewise.
13155 (__libc_memmove): New prototype.
13156 (memmove): Renamed to ...
13157 (__libc_memmove): This.
13158 (memmove): New strong alias of __libc_memmove.
13159
33b4a91e
MS
131602012-08-08 Mark Salter <msalter@redhat.com>
13161
13162 * elf/elf.h
13163 (R_MN10300_TLS_GD): Define.
13164 (R_MN10300_TLS_LD): Likewise.
13165 (R_MN10300_TLS_LDO): Likewise.
13166 (R_MN10300_TLS_GOTIE): Likewise.
13167 (R_MN10300_TLS_IE): Likewise.
13168 (R_MN10300_TLS_LE): Likewise.
13169 (R_MN10300_TLS_DTPMOD): Likewise.
13170 (R_MN10300_TLS_DTPOFF): Likewise.
13171 (R_MN10300_TLS_TPOFF): Likewise.
13172 (R_MN10300_SYM_DIFF): Likewise.
13173 (R_MN10300_ALIGN): Likewise.
13174 (R_MN10300_NUM): Update.
13175
b36137f1
JM
131762012-08-08 Joseph Myers <joseph@codesourcery.com>
13177
13178 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13179 Remove.
13180
cdd915fd
RM
131812012-08-08 Roland McGrath <roland@hack.frob.com>
13182
a2433aac
RM
13183 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13184
cdd915fd
RM
13185 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13186 sysdeps/unix -> sysdeps/posix move.
13187 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13188
bf9b740a
AM
131892012-08-07 Allan McRae <allan@archlinux.org>
13190
13191 [BZ #14303]
13192 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13193 (SUNOS_CPP): Likewise.
13194 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13195 not found.
13196 (open_input): Call CPP using execvp.
13197
93df14ee
JM
131982012-08-07 Joseph Myers <joseph@codesourcery.com>
13199
13200 * sysdeps/unix/sysv/linux/kernel-features.h
13201 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13202 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13203 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13204 (__ASSUME_WAITID_SYSCALL): Likewise.
13205 * sysdeps/unix/sysv/linux/dl-execstack.c
13206 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13207 code unconditional.
13208 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13209 conditional code.
13210 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13211 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13212 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13213 code.
13214 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13215 unconditional.
13216 [__ASSUME_WAITID_SYSCALL]: Likewise.
13217 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13218
d34689de
RM
132192012-08-07 Roland McGrath <roland@hack.frob.com>
13220
a281decc
RM
13221 * sysdeps/unix/closedir.c: Renamed to ...
13222 * sysdeps/posix/closedir.c: ... here.
13223 * sysdeps/unix/dirfd.c: Renamed to ...
13224 * sysdeps/posix/dirfd.c: ... here.
13225 * sysdeps/unix/dirstream.h: Renamed to ...
13226 * sysdeps/posix/dirstream.h: ... here.
13227 * sysdeps/unix/fdopendir.c: Renamed to ...
13228 * sysdeps/posix/fdopendir.c: ... here.
13229 * sysdeps/unix/opendir.c: Renamed to ...
13230 * sysdeps/posix/opendir.c: ... here.
13231 * sysdeps/unix/readdir.c: Renamed to ...
13232 * sysdeps/posix/readdir.c: ... here.
13233 * sysdeps/unix/readdir_r.c: Renamed to ...
13234 * sysdeps/posix/readdir_r.c: ... here.
13235 * sysdeps/unix/rewinddir.c: Renamed to ...
13236 * sysdeps/posix/rewinddir.c: ... here.
13237 * sysdeps/unix/seekdir.c: Renamed to ...
13238 * sysdeps/posix/seekdir.c: ... here.
13239 * sysdeps/unix/telldir.c: Renamed to ...
13240 * sysdeps/posix/telldir.c: ... here.
13241 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13242 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13243 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13244 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13245
22895b47
RM
13246 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13247 * bits/fcntl.h: ... here.
13248
707a53b6
RM
13249 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13250 not 0.
13251 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13252 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13253 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13254 (struct flock): Move l_start, l_len to the beginning.
13255 Use __pid_t for l_pid.
13256 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13257 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13258 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13259 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13260 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13261 [__USE_LARGEFILE64] (struct flock64): New type.
13262 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13263
f0bd3e25
RM
13264 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13265 * bits/dirent.h: ... here.
13266
d34689de
RM
13267 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13268 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13269
6dad2c06
JM
132702012-08-07 Joseph Myers <joseph@codesourcery.com>
13271
13272 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13273 Change from 2.6.0 to 2.6.16.
13274 * sysdeps/unix/sysv/linux/configure: Regenerated.
13275 * sysdeps/unix/sysv/linux/kernel-features.h
13276 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13277 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13278 version.
13279 (__ASSUME_UTIMES): Likewise.
13280 (__ASSUME_CLONE_STOPPED): Remove.
13281 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13282 architectures, not kernel version.
13283 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13284 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13285 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13286 (__ASSUME_WAITID_SYSCALL): Likewise.
13287 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13288 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13289 * README: State 2.6.16 as minimum Linux kernel version. Do not
13290 refer to older versions.
13291
03af9520
RM
132922012-08-06 Roland McGrath <roland@hack.frob.com>
13293
8e49df1d
RM
13294 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13295 Define alphasort64 as an alias.
13296 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13297 Define versionsort64 as an alias.
13298 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13299 Define scandir64 as an alias.
13300 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13301 Define scandirat64 as an alias.
13302 * dirent/alphasort64.c (alphasort64):
13303 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13304 * dirent/versionsort64.c: Likewise.
13305 * dirent/scandir64.c: Likewise.
13306 * dirent/scandirat64.c: Likewise.
13307 * sysdeps/wordsize-64/alphasort.c: File removed.
13308 * sysdeps/wordsize-64/alphasort64.c: File removed.
13309 * sysdeps/wordsize-64/scandir.c: File removed.
13310 * sysdeps/wordsize-64/scandir64.c: File removed.
13311 * sysdeps/wordsize-64/scandirat.c: File removed.
13312 * sysdeps/wordsize-64/scandirat64.c: File removed.
13313 * sysdeps/wordsize-64/versionsort.c: File removed.
13314 * sysdeps/wordsize-64/versionsort64.c: File removed.
13315 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13316 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13317 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13318 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13319 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13320 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13321 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13322 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13323
13324 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13325 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13326 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13327 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13328 [defined __arch64__ || defined __sparcv9]
13329 (__INO_T_MATCHES_INO64_T): New macro.
13330 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13331 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13332 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13333 * sysdeps/unix/sysv/linux/bits/dirent.h
13334 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13335 (_DIRENT_MATCHES_DIRENT64): New macro.
13336
03af9520
RM
13337 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13338 Define lockf64 as an alias.
13339 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13340 Define fseeko64 as an alias.
13341 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13342 Define ftello64 as an alias.
13343 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13344 Define _IO_fgetpos64 and fgetpos64 as aliases.
13345 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13346 Define _IO_fsetpos64 and fsetpos64 as aliases.
13347 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13348 Conditionalize body on this.
13349 * libio/fseeko64.c: Likewise.
13350 * libio/ftello64.c: Likewise.
13351 * libio/iofgetpos64.c: Likewise.
13352 * libio/iofsetpos64.c: Likewise.
13353 * sysdeps/wordsize-64/lockf.c: File removed.
13354 * sysdeps/wordsize-64/lockf64.c: File removed.
13355 * sysdeps/wordsize-64/fseeko.c: File removed.
13356 * sysdeps/wordsize-64/fseeko64.c: File removed.
13357 * sysdeps/wordsize-64/ftello.c: File removed.
13358 * sysdeps/wordsize-64/ftello64.c: File removed.
13359 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13360 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13361 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13362 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13363 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13364 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13365 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13366 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13367 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13368 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13369 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13370 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13371 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13372 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13373
13374 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13375 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13376 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13377 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13378 [defined __arch64__ || defined __sparcv9]
13379 (__OFF_T_MATCHES_OFF64_T): New macro.
13380 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13381 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13382 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13383 (__OFF_T_MATCHES_OFF64_T): New macro.
13384
c5757acd
L
133852012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13386
13387 * stdlib/secure-getenv.c (__secure_getenv): Replace
13388 GLIBC_2_16 with GLIBC_2_17.
13389
3a31811e
L
133902012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13391
13392 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13393 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13394
faa2bccb
DM
133952012-08-03 David S. Miller <davem@davemloft.net>
13396
13397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13398
85fe1997
JM
133992012-08-03 Joseph Myers <joseph@codesourcery.com>
13400
13401 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13402 Remove.
13403 (__ASSUME_CORRECT_SI_PID): Likewise.
13404 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13405 (__ASSUME_TMPFS_NAME): Likewise.
13406 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13407 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13408 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13409 (HAVE_AUX_SECURE): Make definition unconditional.
13410 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13411 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13412
4f75b7a0
RM
134132012-08-03 Roland McGrath <roland@hack.frob.com>
13414
13415 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13416 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13417 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13418 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13419 __eloop_threshold instead of SYMLOOP_MAX.
13420
13421 * sysdeps/generic/eloop-threshold.h: New file.
13422 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13423 of MAXSYMLINKS.
13424 * elf/chroot_canon.c (chroot_canon): Likewise.
13425
7aab07e4
JM
134262012-08-03 Joseph Myers <joseph@codesourcery.com>
13427
13428 [BZ #13717]
13429 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13430 Change to 2.6.0 everywhere.
13431 * sysdeps/unix/sysv/linux/configure: Regenerated.
13432 * sysdeps/unix/sysv/linux/kernel-features.h
13433 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13434 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13435 kernel versions.
13436 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13437 (__ASSUME_FUTEX_REQUEUE): Remove.
13438 (__ASSUME_STATFS64): Define unconditionally.
13439 (__ASSUME_AT_SECURE): Likewise.
13440 (__ASSUME_CORRECT_SI_PID): Likewise.
13441 (__ASSUME_TGKILL): Define without depending on kernel version for
13442 i386.
13443 (__ASSUME_UTIMES): Likewise.
13444 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13445 kernel version.
13446 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13447 (__ASSUME_TMPFS_NAME): Likewise.
13448 * README: Update reference to Linux kernel versions.
13449
b67e9372
MP
134502012-08-02 Marek Polacek <polacek@redhat.com>
13451
1f529f7d 13452 [BZ# 14150]
b67e9372
MP
13453 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13454 libc_cv_asm_type_prefix with %.
13455 * configure: Regenerated.
d2441631
RM
13456 * include/libc-symbols.h: Remove comment about
13457 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13458 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13459 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13460 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13461 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13462 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13463 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13464 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13465 * elf/tst-unique2mod1.c: Likewise.
13466 * elf/tst-unique1mod2.c: Likewise.
13467 * elf/tst-unique1mod1.c: Likewise.
13468 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13469 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13470 Replace ASM_TYPE_DIRECTIVE with .type.
13471 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13472 * sysdeps/i386/sysdep.h: Likewise.
13473 * sysdeps/x86_64/sysdep.h: Likewise.
13474 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13476 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13477 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13478 * sysdeps/powerpc/powerpc32/sysdep.h:
13479 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13480 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13481 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13482 * sysdeps/i386/fpu/e_powf.S: Likewise.
13483 * sysdeps/i386/fpu/e_expl.S: Likewise.
13484 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13485 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13486 * sysdeps/i386/fpu/e_pow.S: Likewise.
13487 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13488 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13489 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13490 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13491 * sysdeps/i386/fpu/e_log2.S: Likewise.
13492 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13493 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13494 * sysdeps/i386/fpu/e_powl.S: Likewise.
13495 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13496 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13497 * sysdeps/i386/fpu/e_logl.S: Likewise.
13498 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13499 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13500 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13501 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13502 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13503 * sysdeps/i386/fpu/e_log.S: Likewise.
13504 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13505 * sysdeps/i386/fpu/e_logf.S: Likewise.
13506 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13507 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13508 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13509 * sysdeps/i386/fpu/e_log10.S: Likewise.
13510 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13511 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13512 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13513 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13514 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13515 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13516 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13517 * sysdeps/i386/i686/strtok.S: Likewise.
13518 * sysdeps/i386/i386-mcount.S: Likewise.
13519 * sysdeps/i386/strtok.S: Likewise.
13520 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13521 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13522 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13523 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13524 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13525 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13526 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13527 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13528 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13529 * sysdeps/x86_64/_mcount.S: Likewise.
13530 * sysdeps/x86_64/strtok.S: Likewise.
13531 * sysdeps/sh/_mcount.S: Likewise.
13532
2747bf9a
RM
135332012-08-01 Roland McGrath <roland@hack.frob.com>
13534
13535 * libio/iofopen.c: Include <fcntl.h>.
13536 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13537 (_IO_fopen64, fopen64): Define as aliases.
13538 * libio/iofopen64.c: Include <fcntl.h>.
13539 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13540 Conditionalize body on this.
13541 * sysdeps/wordsize-64/iofopen.c: File removed.
13542 * sysdeps/wordsize-64/iofopen64.c: File removed.
13543
3fb791b8
MP
135442012-08-01 Marek Polacek <polacek@redhat.com>
13545
13546 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13547 Use dlfcn directly instead of a variable.
13548 (binfmt-subdir): Do not define.
13549 (dlfcn): Likewise.
13550
a9f1039f
JM
135512012-08-01 Joseph Myers <joseph@codesourcery.com>
13552
23bddc06
JM
13553 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13554 Remove all definitions.
13555 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13556 <kernel-features.h>.
13557 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13558 (miss_F_GETOWN_EX): Remove all definitions.
13559 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13560 macro definition.
13561 [!__ASSUME_FCNTL64]: Remove conditional code.
13562 [__ASSUME_FCNTL64]: Make code unconditional.
13563 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13564 <kernel-features.h>.
13565 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13566 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13567 (lockf64) [__NR_fcntl64]: Make code unconditional.
13568 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13569
a9f1039f
JM
13570 * sysdeps/unix/sysv/linux/kernel-features.h
13571 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13572 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13573 Make code unconditional.
13574 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13575 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13577 [__NR_vfork]: Make code unconditional.
13578 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13579 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13581 [__NR_vfork]: Make code unconditional.
13582 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13583 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13584
09c0ee5f
RM
135852012-08-01 Roland McGrath <roland@hack.frob.com>
13586
48aec5b9
RM
13587 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13588 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13589
cd97c966
RM
13590 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13591 Define mkstemp64 as an alias.
3f55550c
RM
13592 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13593 Define mkstemps64 as an alias.
cd97c966
RM
13594 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13595 Define mkostemp64 as an alias.
b8625cfc
RM
13596 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13597 Define mkostemps64 as an alias.
cd97c966
RM
13598 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13599 Conditionalize body on this.
13600 * misc/mkostemp64.c: Likewise.
b8625cfc 13601 * misc/mkostemps64.c: Likewise.
3f55550c 13602 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13603 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13604 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13605 * sysdeps/wordsize-64/mkostemp.c: File removed.
13606 * sysdeps/wordsize-64/mkstemp.c: File removed.
13607 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13608 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13609 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13610 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13611
09c0ee5f
RM
13612 [BZ #14138]
13613 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13614 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13615 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13616 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13617
13618 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13619 compat_symbol macros from <shlib-compat.h> rather than the underlying
13620 default_symbol_version and symbol_version macros, so that DEFAULT
13621 lines in shlib-versions are respected.
13622 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13623
7e66ee51
FW
136242012-08-01 Florian Weimer <fweimer@redhat.com>
13625
13626 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13627 Declare with warn_unused_result.
13628 (setgid, setregid, setegid, setresgid): Likewise.
13629 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13630 Likewise.
13631 * WUR-REPORT: Remove set*id functions.
13632
d2a54255
PT
136332012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13634
13635 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13636
7ecdb005
RM
136372012-07-31 Roland McGrath <roland@hack.frob.com>
13638
b4180a5e 13639 [BZ #10191]
789bd351
RM
13640 * include/sys/socket.h (__libc_accept, __libc_accept4):
13641 Add attribute_hidden.
13642 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13643
40ce302d
RM
13644 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13645 use of PTR_MANGLE.
13646 * inet/getnetgrent_r.c (setup): Likewise.
13647
7ecdb005
RM
13648 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13649
e2eabb2c
DM
136502012-07-31 David S. Miller <davem@davemloft.net>
13651
13652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13653
d0419dbf
JM
136542012-07-31 Joseph Myers <joseph@codesourcery.com>
13655
13656 [BZ #13629]
13657 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13658 value between 1.0 and 2.0 and smaller part has absolute value less
13659 than 1.0.
13660 * math/s_clog10.c (__clog10): Likewise.
13661 * math/s_clog10f.c (__clog10f): Likewise.
13662 * math/s_clog10l.c (__clog10l): Likewise.
13663 * math/s_clogf.c (__clogf): Likewise.
13664 * math/s_clogl.c (__clogl): Likewise.
13665 * math/libm-test.inc (clog_test): Add more tests.
13666 (clog10_test): Likewise.
13667 * sysdeps/i386/fpu/libm-test-ulps: Update.
13668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13669
2bc13872
FW
136702012-07-31 Florian Weimer <fweimer@redhat.com>
13671
13672 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13673 Exit with zero in case no suitable GID is found, and write a
13674 message to standard error.
13675
bea9b193
RM
136762012-07-30 Roland McGrath <roland@hack.frob.com>
13677
13678 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13679 rather than to 1.
13680 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13681 (MAXPATHLEN): Removed.
13682 (NOGROUP, NODEV): New macros.
13683 (setbit, clrbit, isset, isclr): New macros.
13684 (howmany, roundup, powerof2): New macros.
13685 (DEV_BSIZE): New macro.
13686
13687 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13688 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13689
13690 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13691 definition on [!__NO_LONG_DOUBLE_MATH].
13692
13693 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13694 PTR_MANGLE and PTR_DEMANGLE.
13695
13696 * socket/accept4.c (accept4): Rename to __libc_accept4.
13697 Define accept4 as a weak alias.
13698
13699 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13700 on [_DIRENT_HAVE_D_TYPE].
13701 * io/ftw.c (ftw_dir): Likewise.
13702
13703 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13704
13705 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13706
13707 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13708 Use the BSD numbers rather than the arbitrary ones we had.
13709 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13710 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13711 (SIGXCPU, SIGXFSZ): New macros.
13712 (_NSIG): Now 32.
13713
13714 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13715 initializer on [_LIBC_REENTRANT].
13716
13717 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13718 definitions inside [_POSIX_MAPPED_FILES].
13719
13720 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13721
13722 * dirent/opendir.c: Include <fcntl.h>.
13723
13724 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13725 (__libc_getspecific): Likewise.
13726 (__libc_key_create): Likewise.
13727
13728 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13729 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13730 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13731 (tmpfile64): Define as alias.
13732 * sysdeps/wordsize-64/tmpfile.c: File removed.
13733 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13734 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13735 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13736
13737 * stdio-common/vfscanf.c: Include <stdbool.h>.
13738 * nss/makedb.c: Likewise.
13739 * stdio-common/_i18n_number.h: Likewise.
13740 * argp/argp-help.c: Likewise.
13741 * posix/wordexp.c: Likewise.
13742 * sysdeps/posix/spawni.c: Likewise.
13743 * nss/nss_files/files-initgroups.c: Likewise.
13744 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13745 * nss/nss_files/files-initgroups.c: Likewise.
13746 * nss/nss_db/db-netgrp.c: Likewise.
13747 * nss/nss_db/db-initgroups.c: Likewise.
13748 * io/fchmodat.c: Include <sys/stat.h>.
13749
13750 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13751 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13752
13753 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13754 [HAVE_MMAP].
13755
13756 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13757 Add multiple inclusion protection.
13758
e5abc686
DM
137592012-07-27 David S. Miller <davem@davemloft.net>
13760
13761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13762
815e6fa3
GB
137632012-07-27 Gary Benson <gbenson@redhat.com>
13764
13765 [BZ #14298]
13766 * elf/rtld.c: Include <stap-probe.h>.
13767 (dl_main): Added static probes "init_start" and "init_complete".
13768 * elf/dl-load.c: Include <stap-probe.h>.
13769 (lose): Take new parameter "nsid".
13770 Added static probe "map_failed".
13771 (_dl_map_object_from_fd): Pass namespace id to lose.
13772 Added static probe "map_start".
13773 (open_verify): Pass namespace id to lose.
13774 * elf/dl-open.c: Include <stap-probe.h>.
13775 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13776 and "reloc_complete".
13777 * elf/dl-close.c: Include <stap-probe.h>.
13778 (_dl_close_worker): Added static probes "unmap_start" and
13779 "unmap_complete".
13780 * elf/rtld-debugger-interface.txt: New file documenting the above.
13781
9f98c16c
RM
137822012-07-26 Roland McGrath <roland@hack.frob.com>
13783
13784 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13785 rather than a string variable.
13786 * sunrpc/rpc_main.c (h_output): Likewise.
13787 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13788
f3c22df3
PT
137892012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13790
13791 * inet/check_native.c: New file.
13792
3129cfc6
JM
137932012-07-26 Joseph Myers <joseph@codesourcery.com>
13794
da865e95
JM
13795 [BZ #13629]
13796 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13797 if larger part has absolute value 1.0.
13798 * math/s_clog10.c (__clog10): Likewise.
13799 * math/s_clog10f.c (__clog10f): Likewise.
13800 * math/s_clog10l.c (__clog10l): Likewise.
13801 * math/s_clogf.c (__clogf): Likewise.
13802 * math/s_clogl.c (__clogl): Likewise.
13803 * math/libm-test.inc (clog_test): Add more tests.
13804 (clog10_test): Likewise.
13805 * sysdeps/i386/fpu/libm-test-ulps: Update.
13806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13807
3129cfc6
JM
13808 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13809 (pltexit): Likewise.
13810 (La_regs): Likewise.
13811 (La_retval): Likewise.
13812 (int_retval): Likewise.
13813 Update #error for removed macros to refer only to definitions in
13814 tst-audit.h.
13815 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13816 macro.
13817 (pltexit): Likewise.
13818 (La_regs): Likewise.
13819 (La_retval): Likewise.
13820 (int_retval): Likewise.
13821 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13822 macro.
13823 (pltexit): Likewise.
13824 (La_regs): Likewise.
13825 (La_retval): Likewise.
13826 (int_retval): Likewise.
13827 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13828 macro.
13829 (pltexit): Likewise.
13830 (La_regs): Likewise.
13831 (La_retval): Likewise.
13832 (int_retval): Likewise.
13833 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13834 macro.
13835 (pltexit): Likewise.
13836 (La_regs): Likewise.
13837 (La_retval): Likewise.
13838 (int_retval): Likewise.
13839 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13840 macro.
13841 (pltexit): Likewise.
13842 (La_regs): Likewise.
13843 (La_retval): Likewise.
13844 (int_retval): Likewise.
13845 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13846 macro.
13847 (pltexit): Likewise.
13848 (La_regs): Likewise.
13849 (La_retval): Likewise.
13850 (int_retval): Likewise.
13851 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13852 macro definitions in tst-audit.h.
13853 * sysdeps/i386/tst-audit.h: New file.
13854 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13855 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13856 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13857 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13858 * sysdeps/sh/tst-audit.h: Likewise.
13859 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13860 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13861 * sysdeps/x86_64/tst-audit.h: Likewise.
13862
bfc07087
AJ
138632012-07-26 Andreas Jaeger <aj@suse.de>
13864
b1b2aaf8
AJ
13865 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13866 ptrace.
13867
13868 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13869 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13870 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13871 PTRACE_O_MASK.
13872 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13873 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13874 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13875
bfc07087
AJ
13876 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13877 value.
13878
13879 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13880 _sigsys.
13881 (si_call_addr, si_syscall, si_arch): Define new macro.
13882 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13883 _sigsys.
13884 (si_call_addr, si_syscall, si_arch): Define new marcro.
13885 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13886 _sigsys.
13887 (si_call_addr, si_syscall, si_arch): Define new macro.
13888 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13889 _sigsys.
13890 (si_call_addr, si_syscall, si_arch): Define new macro.
13891
89b4b02f
JM
138922012-07-25 Joseph Myers <joseph@codesourcery.com>
13893
13894 [BZ #13717]
13895 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13896 Change to 2.4.21 where previously 2.4.1.
13897 * sysdeps/unix/sysv/linux/configure: Regenerated.
13898 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13899 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13900 Linux kernel version.
13901 (__ASSUME_STD_AUXV): Remove.
13902 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13903 kernel version.
13904 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13905 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13906 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13907 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13908 (__ASSUME_NETLINK_SUPPORT): Likewise.
13909 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13910 (__no_netlink_support): Remove conditional definition.
13911 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13912 Remove.
13913 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13914 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13915 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13916 (if_nameindex_ioctl): Remove.
13917 (if_nameindex_netlink): Do not handle __no_netlink_support.
13918 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13919 code.
13920 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13921 Remove conditional code.
13922 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13923 code.
13924 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13925 unconditional.
13926 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13927 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13928 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13929 Remove.
13930 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13931 [!__ASSUME_STD_AUXV]: Remove conditional code.
13932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13933 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13934 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13936 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13937 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13938 code.
13939 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13941 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13942 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13943 conditional code.
13944 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13946 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13947 code.
13948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13949 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13950 conditional code.
13951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13952 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13953 code unconditional.
13954 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13955 conditional code.
13956 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13957 unconditional.
13958 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13959 conditional code.
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13961 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13962 unconditional.
13963 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13964 conditional code.
13965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13966 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13967 code unconditional.
13968 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13969 conditional code.
13970 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13971 unconditional.
13972 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13973 conditional code.
13974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13975 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13976 code unconditional.
13977 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13978 conditional code.
13979 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13980 unconditional.
13981 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13982 conditional code.
13983
842a39cd
AS
139842012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13985
13986 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13987 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13988 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13989 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13990 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13991 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13992 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13993 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13994 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13995 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13996 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13997 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13998 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13999 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14000 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14001 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14002 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14003 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14004 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14005 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14006 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14007 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14008 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14009
84b3fd84
FW
140102012-07-25 Florian Weimer <fweimer@redhat.com>
14011
14012 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14013 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14014 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14015 Introduce __libc_secure_getenv.
0c7936d5
FW
14016 * stdlib/Versions (2.17): Add secure_getenv
14017 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14018 * stdlib/secure-getenv.c: Rename __secure_getenv to
14019 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14020 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14021 * stdlib/tst-secure-getenv.c: New.
14022 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14023 * manual/startup.texi (Environment Access): Document
14024 secure_getenv.
84b3fd84
FW
14025 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14026 __libc_secure_getenv.
14027 * inet/ruserpass.c (ruserpass): Likewise.
14028 * malloc/mtrace.c (mtrace): Likewise.
14029 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14030 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14031 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14032 * sysdeps/posix/tempname.c: Likewise. Evaluate
14033 HAVE_SECURE_GETENV.
14034 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14035 __secure_getenv to __libc_secure_getenv.
84b3fd84 14036 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14038 Likewise.
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14040 Likewise.
14041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14043 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14048
56e49b71
JM
140492012-07-25 Joseph Myers <joseph@codesourcery.com>
14050
14051 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14052 (struct La_i86_retval): Likewise.
14053 (struct La_x86_64_regs): Likewise.
14054 (struct La_x86_64_retval): Likewise.
14055 (struct La_x32_regs): Likewise.
14056 (struct La_x32_retval): Likewise.
14057 (struct La_ppc32_regs): Likewise.
14058 (struct La_ppc32_retval): Likewise.
14059 (struct La_ppc64_regs): Likewise.
14060 (struct La_ppc64_retval): Likewise.
14061 (struct La_sh_regs): Likewise.
14062 (struct La_sh_retval): Likewise.
14063 (struct La_s390_32_regs): Likewise.
14064 (struct La_s390_32_retval): Likewise.
14065 (struct La_s390_64_regs): Likewise.
14066 (struct La_s390_64_retval): Likewise.
14067 (struct La_sparc32_regs): Likewise.
14068 (struct La_sparc32_retval): Likewise.
14069 (struct La_sparc64_regs): Likewise.
14070 (struct La_sparc64_retval): Likewise.
14071 (struct audit_ifaces): Remove architecture-specific pltenter and
14072 pltexit members.
14073 * sysdeps/i386/ldsodefs.h: New file.
14074 * sysdeps/powerpc/ldsodefs.h: Likewise.
14075 * sysdeps/s390/ldsodefs.h: Likewise.
14076 * sysdeps/sh/ldsodefs.h: Likewise.
14077 * sysdeps/sparc/ldsodefs.h: Likewise.
14078 * sysdeps/x86_64/ldsodefs.h: Likewise.
14079
354691b7
MP
140802012-07-25 Marek Polacek <polacek@redhat.com>
14081
14082 [BZ #6808]
14083 * math/libm-test.inc (yn_test): Add another test.
14084 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14085 to ERANGE when the result is +-Inf.
14086 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14087 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14088 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14089 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14090
bf9e2071
JM
140912012-07-24 Joseph Myers <joseph@codesourcery.com>
14092
14093 * conform/data/time.h-data (NULL): Use macro-constant. Require
14094 equal to 0.
14095 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14096 clock_t.
14097 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14098
57633811
TS
140992012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14100
14101 * configure.in <sysdeps resolving>: Correct printing
14102 Implies_before.
14103 * configure: Regenerate.
14104
c23c33b0
TS
141052012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14106
14107 * math/w_ilogb.c: Include <limits.h>.
14108 * math/w_ilogbl.c: Likewise.
14109
b5982523
JM
141102012-07-20 Joseph Myers <joseph@codesourcery.com>
14111
14112 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14113 va_copy. Document allowing for unavailable va_copy only as
14114 pre-C99 compatibility.
14115 * manual/string.texi (Copying and Concatenation): Use va_copy
14116 instead of __va_copy in concat example.
14117
ac4ea442
PT
141182012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14119
14120 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14121 (__sendto): Use create_address_port. Initialize APORT and deallocate
14122 it if not null.
14123
f98eafbd
PT
14124 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14125 with O_NOLINK passed to __file_name_lookup.
14126
898c7aab
PT
14127 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14128 with O_NOLINK passed to __file_name_lookup.
14129
0ced335a
PT
14130 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14131 negative N or less than NGIDS.
14132
b3404dbd
PT
14133 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14134 type to string_t. Set ERANGE as errno and return it if NAME is not big
14135 enough. Use memcpy instead of strncpy.
14136
0f48659e
JM
141372012-07-20 Joseph Myers <joseph@codesourcery.com>
14138
14139 * elf/Makefile (check-data): Remove.
14140 (localplt.data): New vpath directive.
14141 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14142 instead of $(check-data).
14143 * scripts/data/localplt-generic.data: Move to ...
14144 * sysdeps/generic/localplt.data: ... here.
14145 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14146 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14147 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14149 ... here.
14150 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14152 ... here.
14153 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14155 ... here.
14156 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14158 ... here.
14159 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14161 ... here.
14162 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14164 ... here.
14165
d37cbdaa
AZ
141662012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14167
14168 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14169 PPC32 and PPC64 files.
14170 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14171 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14172
46f85fc2
AK
141732012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14174
14175 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14176 __makecontext_ret to ...
14177 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14178 ... here and call exit if uc_link is NULL. New file.
14179 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14180 __makecontext_ret.S.
14181 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14182 __makecontext_ret to ...
14183 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14184 ... here and call exit if uc_link is NULL. New file.
14185 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14186 __makecontext_ret.S.
14187
08f43f9b
AK
141882012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14189
14190 * elf/elf.h (R_390_IRELATIVE): New definition.
14191 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14192 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14193 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14194 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14195 (elf_machine_lazy_rel): Likewise.
14196 * sysdeps/s390/dl-irel.h: New file.
14197 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14198 * sysdeps/s390/s390-64/memset.S: New asm code.
14199 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14200 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14201 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14202 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14203 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14204 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14205 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14206 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14207 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14208 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14209 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14210 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14211 * sysdeps/s390/s390-32/memset.S: New asm code.
14212 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14213
3b05db33
MP
142142012-07-17 Marek Polacek <polacek@redhat.com>
14215
14216 [BZ #14349]
14217 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14218 * sysdeps/s390/s390-64/configure.in: Likewise.
14219 * sysdeps/sparc/configure.in: Likewise.
14220 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14221 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14222 * sysdeps/i386/configure.in: Likewise.
14223 * sysdeps/x86_64/configure.in: Likewise.
14224 * sysdeps/sh/configure.in: Likewise.
14225 * sysdeps/s390/s390-32/configure: Regenerated.
14226 * sysdeps/s390/s390-64/configure: Likewise.
14227 * sysdeps/x86_64/configure: Likewise.
14228 * sysdeps/sh/configure: Likewise.
14229 * sysdeps/powerpc/powerpc64/configure: Likewise.
14230 * sysdeps/powerpc/powerpc32/configure: Likewise.
14231 * sysdeps/sparc/configure: Likwise.
14232 * sysdeps/i386/configure: Likewise.
14233
a66877c6
MP
14234 * elf/dl-open.c: Comment fixes.
14235
cfc82fd8
JM
142362012-07-17 Joseph Myers <joseph@codesourcery.com>
14237
bd29910a
JM
14238 * Makefile [CXX] (check-data): Remove.
14239 [CXX] (c++-types.data): New vpath directive.
14240 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14241 vpath. Do not allow for C++ type data being missing.
14242 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14243 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14244 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14245 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14246 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14247 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14248 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14250 ... here.
14251 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14253 ... here.
14254 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14256 ... here.
14257 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14259 ... here.
14260 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14262 ... here.
14263 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14265 ... here.
14266 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14268 ... here.
14269 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14271
cfc82fd8
JM
14272 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14273 definitions to architecture-specific files.
14274 (TLS_IE): Likewise.
14275 (TLS_LD): Likewise.
14276 (TLS_GD): Likewise.
14277 * sysdeps/i386/tls-macros.h: New file.
14278 * sysdeps/powerpc/tls-macros.h: Likewise.
14279 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14280 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14281 * sysdeps/sh/tls-macros.h: Likewise.
14282 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14283 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14284 * sysdeps/x86_64/tls-macros.h: Likewise.
14285
f7db3170
TS
142862012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14287
07cbfc23
TS
14288 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14289 zero value for regular exit case.
14290
f7db3170
TS
14291 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14292 (__start_context): Preserve zero value for regular exit case.
14293
dc97c227
TS
142942012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14295 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14296
14297 * manual/setjmp.texi (setcontext): Clarify normal process
14298 termination when uc_link is the null pointer.
14299 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14300 exit call.
14301
d0cd7d02
AS
143022012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14303
14304 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14305 preprocessor. Test for each exception mask separately.
14306
dd318934
AJ
143072012-07-16 Andreas Jaeger <aj@suse.de>
14308
14309 * po/ru.po: Update from translation team.
14310
8048311a
JM
143112012-07-15 Joseph Myers <joseph@codesourcery.com>
14312
14313 * conform/data/string.h-data (NULL): Use macro-constant. Require
14314 equal to 0.
14315 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14316 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14317 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14318 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14319 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14320
b637d46e
AJ
143212012-07-13 Andreas Jaeger <aj@suse.de>
14322
14323 * po/fr.po: Update from translation team.
14324
541428fe
MP
143252012-07-12 Marek Polacek <polacek@redhat.com>
14326
14327 [BZ #14173]
14328 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14329 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14330 loop condition.
14331
ec332e94
JM
143322012-07-12 Joseph Myers <joseph@codesourcery.com>
14333
14334 [BZ #13717]
14335 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14336 Change to 2.4.1 where previously 2.4.0.
14337 * sysdeps/unix/sysv/linux/configure: Regenerated.
14338 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14339 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14340 version.
14341 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14342 (__ASSUME_AT_CLKTCK): Remove.
14343 (__ASSUME_AT_PAGESIZE): Likewise.
14344 (__ASSUME_AT_XID): Likewise.
14345 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14346 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14347 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14348 unconditionally.
14349 (HAVE_AUX_PAGESIZE): Likewise.
14350 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14351 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14352 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14353
7b6e99be
JB
143542012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14355
14356 [BZ #14307]
14357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14358 the temporary buffer used to invoke __gethostbyname2_r,
14359 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14360 host_data / struct gaih_addrtuple.
14361 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14362 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14363 header file nss/nsswitch.h.
14364 * nss/nsswitch.h (global scope): Add definition of implementation
14365 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14366 resolv/nss_dns/dns-host.c).
14367
608404eb
AJ
143682012-07-11 Andreas Jaeger <aj@suse.de>
14369
14370 * po/fr.po: Update from translation team.
14371
71220aca
AJ
14372 * po/sv.po: Update from translation team
14373 * po/fr.po: Another update from translation team.
14374
28cfe843
AZ
143752012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14376
14377 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14378 for subnormals or multiply small sinh result by itself.
14379 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14381
6b90f981
DM
143822012-07-11 David S. Miller <davem@davemloft.net>
14383
14384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14385
c6825772
AS
143862012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14387
14388 [BZ #14347]
14389 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14390 (INTERNAL_MARK): Shift it here.
14391
7b8e0d49
MP
143922012-07-10 Marek Polacek <polacek@redhat.com>
14393
14394 [BZ #14151]
14395 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14396 libc_cv_asm_global_directive with .globl.
14397 * configure: Regenerated.
14398 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14399 with .globl.
14400 * sysdeps/i386/configure: Regenerated.
14401 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14402 with .globl.
14403 * sysdeps/x86_64/configure: Regenerated.
14404 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14405 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14406 * elf/tst-unique2mod2.c: Likewise.
14407 * elf/tst-unique2mod1.c: Likewise.
14408 * elf/tst-unique1mod2.c: Likewise.
14409 * elf/tst-unique1mod1.c: Likewise.
14410 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14411 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14412 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14413 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14414 * sysdeps/mach/sysdep.h: Likewise.
14415 * sysdeps/i386/sysdep.h: Likewise.
14416 * sysdeps/i386/i386-mcount.S: Likewise.
14417 * sysdeps/x86_64/_mcount.S: Likewise.
14418 * sysdeps/x86_64/sysdep.h: Likewise.
14419 * sysdeps/sh/_mcount.S: Likewise.
14420 * sysdeps/sh/sysdep.h: Likewise.
14421 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14422 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14423 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14424 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14425 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14426 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14427 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14428 * locale/localeinfo.h: Likewise.
14429 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14430 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14431
6c55cda3
RM
144322012-07-09 Roland McGrath <roland@hack.frob.com>
14433
14434 [BZ #14336]
14435 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14436 system".
14437 * manual/message.texi (The Uniforum approach): Likewise.
14438 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14439 (glibc iconv Implementation): Likewise.
14440
638a572e
JM
144412012-07-09 Joseph Myers <joseph@codesourcery.com>
14442
14443 [BZ #14337]
14444 * math/s_clog.c (__clog): Avoid scaling a value down where that
14445 could result in underflow.
14446 * math/s_clog10.c (__clog10): Likewise.
14447 * math/s_clog10f.c (__clog10f): Likewise.
14448 * math/s_clog10l.c (__clog10l): Likewise.
14449 * math/s_clogf.c (__clogf): Likewise.
14450 * math/s_clogl.c (__clogl): Likewise.
14451 * math/libm-test.inc (clog_test): Add more tests.
14452 (clog10_test): Likewise.
14453 * sysdeps/i386/fpu/libm-test-ulps: Update.
14454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14455
261f4859
AS
144562012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14457
0abaf3e4
AS
14458 [BZ #14283]
14459 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14460 by 7 not 8 to examine high bit of fractional part.
14461
261f4859
AS
14462 [BZ #14042]
14463 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14464 for call to __mcount_internal.
14465 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14466 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14467 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14468
f17ac40d
JM
144692012-07-06 Joseph Myers <joseph@codesourcery.com>
14470
9ad63c23
JM
14471 [BZ #14154]
14472 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14473 approximation for values within 0x1p-13f of an odd multiple of
14474 pi/4.
14475 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14476 exception. Add more tests.
14477 * sysdeps/i386/fpu/libm-test-ulps: Update.
14478
f17ac40d
JM
14479 [BZ #6778]
14480 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14481 inputs and return -1 for them. Do not check for +Inf in case not
14482 reachable for +Inf.
14483 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14484 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14485 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14486 and return -1 for them. Do not check for +Inf in case not
14487 reachable for +Inf.
14488 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14489 define.
14490 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14491 and return -1 for them. Do not check for +Inf in case not
14492 reachable for +Inf.
14493 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14494 spurious underflow.
14495 * sysdeps/i386/fpu/libm-test-ulps: Update.
14496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14497
fb21f89b
MF
144982012-07-06 Mike Frysinger <vapier@gentoo.org>
14499
14500 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14501
cdfe2c5e
JM
145022012-07-05 Joseph Myers <joseph@codesourcery.com>
14503
14504 [BZ #14157]
14505 [BZ #14331]
14506 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14507 could result in spurious underflow. Scale down values above
14508 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14509 * math/s_csqrtf.c (__csqrtf): Likewise.
14510 * math/s_csqrtl.c (__csqrtl): Likewise.
14511 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14512 spurious underflow.
14513 * sysdeps/i386/fpu/libm-test-ulps: Update.
14514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14515
70d35b67
AS
145162012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14517
704bc459
AS
14518 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14519 xopen-msg.sed.
14520 * catgets/xopen-msg.awk: New file.
14521 * catgets/xopen-msg.sed: Removed.
14522
70d35b67
AS
14523 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14524 po2text.sed.
14525 * intl/po2test.awk: New file.
14526 * intl/po2test.sed: Removed.
14527
ca61cf32
JM
145282012-07-04 Joseph Myers <joseph@codesourcery.com>
14529
14530 [BZ #14328]
14531 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14532 or multiply small sinh result by itself.
14533 * math/s_ctanf.c (__ctanf): Likewise.
14534 * math/s_ctanh.c (__ctanh): Likewise.
14535 * math/s_ctanhf.c (__ctanhf): Likewise.
14536 * math/s_ctanhl.c (__ctanhl): Likewise.
14537 * math/s_ctanl.c (__ctanl): Likewise.
14538 * math/libm-test.inc (ctan_test_tonearest): New function.
14539 (ctan_test_towardzero): Likewise.
14540 (ctan_test_downward): Likewise.
14541 (ctan_test_upward): Likewise.
14542 (ctanh_test_tonearest): Likewise.
14543 (ctanh_test_towardzero): Likewise.
14544 (ctanh_test_downward): Likewise.
14545 (ctanh_test_upward): Likewise.
14546 (main): Call these new functions.
14547 * sysdeps/i386/fpu/libm-test-ulps: Update.
14548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14549
ca48a46a
MF
145502012-07-03 Mike Frysinger <vapier@gentoo.org>
14551
14552 * .gitignore: Delete /ports entry.
14553
9d63d37d
AJ
145542012-07-03 Andreas Jaeger <aj@suse.de>
14555
14556 * po/bg.po: Update from translation team.
14557 * po/cs.po: Likewise.
14558 * po/de.po: Likewise.
14559 * po/hr.po: Likewise.
14560 * po/nl.pl: Likewise.
14561 * po/pl.po: Likewise.
14562 * po/vi.po: Likewise.
14563
370ca3d2
JM
145642012-07-03 Joseph Myers <joseph@codesourcery.com>
14565
95f5a9a8
JM
14566 * Makeconfig [!+link] (+link-before-libc): New variable.
14567 [!+link] (+link-after-libc): Likewise.
14568 [!+link] (+link-tests): Likewise.
14569 [!+link] (+link): Define in terms of $(+link-before-libc) and
14570 $(+link-after-libc).
14571 [!+link-static] (+link-static-before-libc): New variable.
14572 [!+link-static] (+link-static-after-libc): Likewise.
14573 [!+link-static] (+link-static-tests): Likewise.
14574 [!+link-static] (+link-static): Define in terms of
14575 $(+link-static-before-libc) and $(+link-static-after-libc).
14576 [build-shared] (link-libc-before-gnulib): New variable.
14577 [build-shared] (link-libc-tests): Likewise.
14578 [build-shared] (link-libc): Define in terms of
14579 $(link-libc-before-gnulib).
14580 [!build-shared] (link-libc-tests): New variable.
14581 (link-libc-static-tests): New variable.
14582 [!gnulib] (gnulib-arch): New variable.
14583 [!gnulib] (gnulib-tests): Likewise.
14584 [!gnulib] (static-gnulib-arch): Likewise.
14585 [!gnulib] (static-gnulib-tests): Likewise.
14586 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14587 Define with "=" instead of ":=".
14588 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14589 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14590 * Rules (binaries-all-notests): New variable.
14591 (binaries-all-tests): Likewise.
14592 (binaries-static-notests): Likewise.
14593 (binaries-static-tests): Likewise.
14594 (binaries-all): Define using $(binaries-all-notests) and
14595 $(binaries-all-tests).
14596 (binaries-static): Define using $(binaries-static-notests) and
14597 $(binaries-static-tests).
14598 (binaries-shared-tests): New variable.
14599 (binaries-shared-notests): Likewise.
14600 (binaries-shared): Remove variable.
14601 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14602 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14603 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14604 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14605 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14606 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14607 * elf/Makefile (sln-modules): New variable.
14608 (extra-objs): Add $(sln-modules:=.o).
14609 (ldconfig-modules): Add static-stubs.
14610 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14611 * elf/static-stubs.c: New file.
14612
7a845b2c
JM
14613 [BZ #14283]
14614 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14615 by 7 not 8 to examine high bit of fractional part. Use volatile
14616 variables when splitting into final array of floats if
14617 __FLT_EVAL_METHOD__ != 0.
14618 * math/libm-test.inc (cos_test): Add another test.
14619 (sin_test): Likewise.
14620 * sysdeps/i386/fpu/libm-test-ulps: Update.
14621
e2283f38
JM
14622 [BZ #14273]
14623 * math/libm-test.inc (cosh_test): Add more tests.
14624
370ca3d2
JM
14625 * version.h (RELEASE): Set to "development".
14626 (VERSION): Set to "2.16.90".
14627
ee9247c3
CD
146282012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14629
14630 * NEWS: Update copyright. Remove last-updated date.
14631 Mention math library bug fixes and timezone data changes.
14632 * README: Mention GNU/Hurd, x32, and HPPA support status.
14633
4648c381
TS
146342012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14635
14636 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14637
aac78a43
AJ
146382012-06-27 Andreas Jaeger <aj@suse.de>
14639
14640 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14641
ed3dbfad
AJ
146422012-06-25 Andreas Jaeger <aj@suse.de>
14643
14644 * sysdeps/s390/fpu/libm-test-ulps: Update.
14645
4d0ee855
AS
146462012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14647 Thomas Schwinge <thomas@codesourcery.com>
14648
14649 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14650 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14651 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14652 fanotify_mark.
14653
af1bce34
TS
146542012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14655
a9fa33ba
TS
14656 * sysdeps/mach/start.c: Remove file.
14657 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14658 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14659 * sysdeps/sh/init-first.c: Likewise.
14660
58f902b8
TS
14661 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14662 registers for frame unwinding purposes, add CFI directives.
14663 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14664 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14665 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14666 Likewise.
14667
1518f58b
TS
14668 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14669 __fortify_fail returning.
14670 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14671
db9b5059
TS
14672 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14673 sysdeps/sh/____longjmp_chk.S.
14674 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14675 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14676 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14677 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14678
967705fe
TS
14679 * sysdeps/sh/abort-instr.h: New file.
14680 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14681 process in case exit returns.
14682
a9def8c4
TS
14683 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14684 initialize the GOT register before use.
14685
2a649725
TS
14686 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14687 calculation of ARGC > 4.
14688
af1bce34
TS
14689 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14690 meaningful names to some local labels.
14691
d230f50a
KK
146922012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14693 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14694
14695 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14696 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14697 (__arch_compare_and_exchange_val_16_acq): Likewise.
14698 (__arch_compare_and_exchange_val_32_acq): Likewise.
14699 (atomic_exchange_and_add): Fix gUSA sequence.
14700 (atomic_add): Likewise.
14701 (atomic_add_negative): Likewise.
14702 (atomic_add_zero): Likewise.
14703 (atomic_bit_test_set): Likewise.
14704
0479b305
AS
147052012-06-22 Andreas Schwab <schwab@redhat.com>
14706
14707 [BZ #13579]
14708 * include/link.h (struct link_map): Add l_free_initfini.
14709 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14710 l_initfini.
14711 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14712 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14713 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14714 set.
14715
0e3933b9
CD
147162012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14717
14718 * configure.in: Use AC_LANG_SOURCE.
14719 * configure: Regenerate.
14720
4248b1b1
RM
147212012-06-22 Roland McGrath <roland@hack.frob.com>
14722
14723 * configure.in (libc_cv_localstatedir): New substituted variable.
14724 * configure: Regenerated.
14725 * config.make.in (localstatedir): New variable, substituted from
14726 libc_cv_localstatedir.
14727 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14728 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14729 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14730 * sysdeps/gnu/configure: Regenerated.
14731
006dd861
JL
147322012-06-21 Jeff Law <law@redhat.com>
14733
14734 [BZ #14277]
14735 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14736 free. Simplify list management for _LIBC case.
14737
79662d42
JM
147382012-06-21 Joseph Myers <joseph@codesourcery.com>
14739
b7abb4bf
JM
14740 [BZ #14273]
14741 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14742 Clear sign bit of 64-bit integer value before comparing against
14743 overflow value.
14744
79662d42
JM
14745 * sysdeps/mach/configure: Regenerated.
14746
1f150908
L
147472012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14748
14749 [BZ #14278]
14750 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14751
28363bbf
JL
147522012-06-21 Jeff Law <law@redhat.com>
14753
14754 [BZ #13882]
14755 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14756 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 14757 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
14758 * elf/dl-open.c (dl_open_worker): Likewise.
14759
09615db4
CD
147602012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14761
14762 * scripts/list-sources.sh: Scan PORTS for translations.
14763 * po/libc.pot: Regenerated.
14764
2174c6dd
AJ
147652012-06-21 Andreas Jaeger <aj@suse.de>
14766
14767 [BZ #12194]
14768 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14769 warning.
14770 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14771 * bits/byteswap-16.h (__bswap_16): Likewise.
14772 * bits/byteswap.h (__bswap_constant_16): Likewise.
14773
3ee947b1
L
147742012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14775
14776 [BZ #14117]
a2f34833
L
14777 * sysdeps/i386/fpu_control.h: Removed.
14778 * sysdeps/x86_64/fpu_control.h: Moved to ...
14779 * sysdeps/x86/fpu_control.h: Here.
14780
3ee947b1
L
14781 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14782 (_FPU_SETCW): Likewise.
14783
ed1825f8
L
147842012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14785
25f1282a
L
14786 [BZ #14117]
14787 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14788 * sysdeps/x86/fpu/bits/mathinline.h: This.
14789 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14790
ed1825f8
L
14791 [BZ #14050]
14792 [BZ #14117]
14793 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14794 functions if __x86_64__ is defined.
14795
36d54b74
CLT
147962012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14797
14798 * string/endian.h: Add !__ASSEMBLER__ condition for including
14799 conversion interfaces.
14800
10285c21
JM
148012012-06-15 Joseph Myers <joseph@codesourcery.com>
14802
14803 [BZ #14241]
14804 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14805 of ABS(x) in calculating zero to negative powers other than odd
14806 integers.
14807 * math/libm-test.inc (pow_test): Add more tests.
14808
06c5abbd
AJ
148092012-06-15 Andreas Jaeger <aj@suse.de>
14810
14811 * manual/contrib.texi (Contributors): Update entry of Liubov
14812 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14813 Machado Filho.
14814
a3aeac40
CH
148152012-06-15 Cyril Hrubis <metan@ucw.cz>
14816
14817 * string/string.h: Add __wur to GNU version of strerror_r.
14818
49bdf4c1
L
148192012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14820
14821 [BZ #14229]
14822 * string/Makefile (tests): Add tst-strtok_r.
14823 * string/tst-strtok_r.c: New file.
14824 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14825 RAX_LP/RDX_LP on SAVE_PTR.
14826
834f9b8d
RM
148272012-06-14 Roland McGrath <roland@hack.frob.com>
14828
14829 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14830
75fa1921
JM
148312012-06-14 Joseph Myers <joseph@codesourcery.com>
14832
14833 * libm_test.inc (csqrt_test): Allow more spurious underflow
14834 exceptions.
14835 (j0_test): Likewise.
14836 (j1_test): Likewise.
14837 (y0_test): Likewise.
14838 (y1_test): Likewise.
14839
771766df
CD
148402012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14841
14842 * po/Makefile (libc.pot): Use UTF-8 charset.
14843
ceb9e56b
PP
148442012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14845
14846 [BZ #14210]
14847 Suppress sign-conversion warning from FD_SET.
14848 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14849 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14850 not unsigned long int.
14851 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14852
ddb28975
L
148532012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14854
14855 [BZ #14050]
14856 [BZ #14117]
14857 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14858 __extern_always_inline instead of __extern_inline.
14859 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14860 (__signbit): Likewise.
14861 (__signbitl): Support C++ namespace.
14862 (lrintf): New inline function.
14863 (lrint): Likewise.
14864 (llrintf): Likewise.
14865 (llrint): Likewise.
14866 (fmaxf): Likewise.
14867 (fmax): Likewise.
14868 (fminf): Likewise.
14869 (fmin): Likewise.
14870 (rint): Likewise.
14871 (rintf): Likewise.
14872 (ceil): Likewise.
14873 (ceilf): Likewise.
14874 (floor): Likewise.
14875 (floorf): Likewise.
14876 (nearbyint): Likewise.
14877 (nearbyintf): Likewise.
14878
d7b4fb26
TS
148792012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14880
14881 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14882 non-default versions.
14883
eb55f5c2
RM
148842012-06-11 Roland McGrath <roland@hack.frob.com>
14885
14886 [BZ #14218]
14887 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14888
366af02c
TS
148892012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14890
99ff6e5c
TS
14891 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14892 (FE_UPWARD, FE_DOWNWARD): Don't define.
14893 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14894 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14895
366af02c
TS
14896 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14897 reading it.
14898 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14899 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14900
793ea851
KK
149012012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14902
14903 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14904 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14905 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14906 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14907
a728a38f
L
149082012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14909
14910 [BZ #14117]
c08010c7
L
14911 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14912 * sysdeps/i386/fpu/Implies: New file.
14913 * sysdeps/x86_64/fpu/Implies: Likewise.
14914 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14915 * sysdeps/x86/fpu/bits/fenv.h: This.
14916
a728a38f
L
14917 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14918 __SSE_MATH__.
14919
6e230d11
SP
149202012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14921
14922 [BZ #14134]
14923 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14924 character 0xffff that matches the last element of the
14925 conversion table.
14926
1b671feb
AZ
149272012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14928
14929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14930 fmodl commit.
14931
6043738b
AZ
149322012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14933
14934 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14935 values higher than 25.6283.
14936
34ae0b32
AZ
149372012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14938
14939 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14940 subnormal exponent extraction and add some __builtin_expect.
14941 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14942 Fix for subnormal mantissa calculation.
14943
1214ec8f
MF
149442012-06-04 Mike Frysinger <vapier@gentoo.org>
14945
14946 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14947 cpu2 is -1 and errno is not ENOSYS.
14948
f3d1f93c
L
149492012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14950
14951 [BZ #14117]
0e4a3cd7
L
14952 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14953 * sysdeps/x86/bits/string.h: This.
14954 * sysdeps/x86_64/bits/string.h: Removed.
14955
6704c645
L
14956 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14957 if not compiling for x86-64, but compiling for >= i486.
14958
48495318
L
14959 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14960 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14961
14adcbfc
L
14962 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14963 New macro from Linux kernel 3.4.0.
14964 (FP_XSTATE_MAGIC2): Likewise.
14965 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14966 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14967 (struct _fpx_sw_bytes): New struct.
14968 (struct _xsave_hdr): Likewise.
14969 (struct _ymmh_state): Likewise.
14970 (struct _xstate): Likewise.
14971
68e408ab
L
14972 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14973 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14974 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14975 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14976 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14977 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14978
f3d1f93c
L
14979 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14980 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14981 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14982 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14983 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14984 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14985
d9dc34cd
TMQMF
149862012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14987
14988 [BZ #13743]
14989 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14990 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14991 (sysdep_headers): Include sys/platform/ppc.h.
14992 * sysdeps/powerpc/test-gettimebase.c: Test for
14993 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14994 * manual/Makefile (appendices): Include platform.texi.
14995 * manual/contrib.texi (Contributors): Update @node pointers.
14996 * manual/maint.texi (Maintenance): Likewise.
14997 (Platform): New node.
14998 * manual/platform.texi: New file. Document the new features.
14999
4af3879c
SP
150002012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15001 Jakub Jelinek <jakub@redhat.com>
15002
15003 [BZ #14188]
15004 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15005 where __builtin_expect is unavailable.
15006
2fd6ff13
DM
150072012-06-03 David S. Miller <davem@davemloft.net>
15008
15009 * stdlib/longlong.h: Updated from GCC.
15010
173f7220
AS
150112012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15012
15013 [BZ #14042]
15014 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15015 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15016 __mcount_internal.
15017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15018 (GLIBC_2.16): Likewise.
15019
f34a1c6f
L
150202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15021
15022 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15023
88a4576f
JM
150242012-06-01 Joseph Myers <joseph@codesourcery.com>
15025
ea32bcdd
JM
15026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15027 (default-abi): New variable.
15028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15029 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15030 variable.
15031 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15032 Likewise.
15033 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15034 Likewise.
15035 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15036 Likewise.
15037
88a4576f
JM
15038 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15039 definition. Document in comment.
15040
402fe938
DM
150412012-06-01 David S. Miller <davem@davemloft.net>
15042
15043 * stdlib/longlong.h: Updated from GCC.
15044
3553723f
L
150452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15046
15047 [BZ #14117]
3bd872c4
L
15048 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15049 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15050 sys/debugreg.h sys/io.h here.
15051 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15052 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15053 sys/io.h.
15054 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15055 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15056 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15057 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15058 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15059 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15060
3553723f
L
15061 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15062 Define only if __x86_64__ is defined.
15063
4842e4fe
JM
150642012-06-01 Joseph Myers <joseph@codesourcery.com>
15065
c5bfe3d5
JM
15066 [BZ #14048]
15067 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15068 Use int64_t for variable i.
15069 * math/libm-test.inc (fmod_test): Add more tests.
15070
4842e4fe
JM
15071 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15072 z computation is not scheduled after fetestexcept.
15073 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15074 Use math_force_eval instead of asm to ensure calculation scheduled
15075 before exception test.
15076 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15077 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15078
efb73488
AJ
150792012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15080
15081 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15082 computation is not scheduled after fetestexcept.
15083
29bcce7c
L
150842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15085
15086 [BZ #14117]
15087 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15088 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15089
73a68f94
AZ
150902012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15091
15092 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15093 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15094
67b6df78
L
150952012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15096
edf2933a 15097 [BZ #14117]
ebc64a18
L
15098 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15099 <bits/wordsize.h>.
15100 (__WCHAR_MIN): Support __WORDSIZE == 64.
15101 (__WCHAR_MAX): Likewise.
15102
edf2933a
L
15103 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15104 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15105
57c6cf40
L
15106 [BZ #14183]
15107 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15108 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15109
67b6df78 15110 [BZ #14117]
8eb6281e
L
15111 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15112 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15113
aac639f4
L
15114 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15115 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15116
67b6df78
L
15117 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15118 Defined to 1 if __x86_64__ isn't defined.
15119 (_STAT_VER_LINUX_OLD): New.
15120 (st_atime): Remove duplicate.
15121 (st_mtime): Likewise.
15122 (st_ctime): Likewise.
15123
1c2cfe81
DM
151242012-05-31 David S. Miller <davem@davemloft.net>
15125
15126 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15127 entries.
15128
5be8418c
AS
151292012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15130
e7725326
AS
15131 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15132 gen-libm-test.pl.
15133
5be8418c
AS
15134 [BZ #14132]
15135 * elf/dl-reloc.c: Include <_itoa.h>.
15136 (_dl_reloc_bad_type): Remove use of INTUSE.
15137 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15138 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15139 * stdio-common/psiginfo.c (psiginfo): Likewise.
15140 * stdio-common/psignal.c (psignal): Likewise.
15141 * string/strsignal.c (strsignal): Likewise.
15142 * include/signal.h (_sys_siglist): Declare hidden proto.
15143 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15144 INTVARDEF with libc_hidden_data_def.
15145 * stdio-common/itoa-udigits.c: Likewise.
15146 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15147 (_itoa_lower_digits_internal): Remove declaration.
15148 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15149 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15150 (_sys_sigabbrev_internal): Remove aliases.
15151 (_sys_siglist): Define hidden alias.
15152
507352f1
MT
151532012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15154
15155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15156 bits/sysctl.h.
15157
42bbb1c3
L
151582012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15159
15160 [BZ #14117]
6bd784b6
L
15161 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15162 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15163
8bca20f0
L
15164 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15165 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15166 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15167 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15168 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15169 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15170
f9e890a9
L
15171 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15172 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15173 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15174
471101a1
L
15175 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15176 with __addr.
15177 (insw): Likewise.
15178 (insl): Likewise.
15179 (outsb): Likewise.
15180 (outsw): Likewise.
15181 (outsl): Likewise.
15182
6451c862
L
15183 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15184 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15185 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15186
a254b8c9
L
15187 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15188 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15189 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15190 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15191 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15192 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15193
b8dfdd92
L
15194 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15195 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15196
578cd270
L
15197 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15198 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15199
de662f5f
L
15200 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15201 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15202 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15203
25653439
L
15204 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15205 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15206 to ...
15207 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15208
6bad24a0
L
15209 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15210 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15211 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15212
42bbb1c3
L
15213 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15214 for x86-64.
15215 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15216
2d10d547
JM
152172012-05-31 Joseph Myers <joseph@codesourcery.com>
15218
15219 * math/math.h (M_El): Use two more decimal places.
15220 (M_LOG2El): Likewise.
15221 (M_LOG10El): Likewise.
15222 (M_LN2l): Likewise.
15223 (M_LN10l): Likewise.
15224 (M_PIl): Likewise.
15225 (M_PI_2l): Likewise.
15226 (M_PI_4l): Likewise.
15227 (M_1_PIl): Likewise.
15228 (M_2_PIl): Likewise.
15229 (M_2_SQRTPIl): Likewise.
15230 (M_SQRT2l): Likewise.
15231 (M_SQRT1_2l): Likewise.
15232
f230c29b
DM
152332012-05-31 David S. Miller <davem@davemloft.net>
15234
15235 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15236 values between float registers.
15237 * sysdeps/sparc/sparc64/memset.S: Likewise.
15238 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15239
fed806c3
MF
152402012-05-31 Mike Frysinger <vapier@gentoo.org>
15241
15242 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15243 -D_FORTIFY_SOURCE=1.
15244 (CPPFLAGS-tst-longjmp_chk.c): Define.
15245 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15246 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15247 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15248 CFLAGS-tst-wchar-h.c.
15249
30917259
MP
152502012-05-31 Marek Polacek <polacek@redhat.com>
15251
15252 [BZ #14132]
15253 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15254 __endmntent_internal): Remove declaration.
15255 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15256 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15257 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15258
1c58d5dc
DM
152592012-05-30 David S. Miller <davem@davemloft.net>
15260
15261 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15262 (___Q_simulate_exceptions): Use real FP ops rather than writing
15263 into the %fsr.
15264 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15265 Likewise.
15266
7dc00e0d
L
152672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15268
15269 [BZ #14117]
0bd53985
L
15270 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15271 * sysdeps/x86/bits/xtitypes.h: This.
15272
3a257e66
L
15273 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15274 * sysdeps/x86/bits/wordsize.h: This.
15275
62f62904
L
15276 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15277 * sysdeps/x86/bits/huge_vall.h: This.
15278
404fe9d9
L
15279 * sysdeps/i386/bits/select.h: Removed.
15280 * sysdeps/x86_64/bits/select.h: Renamed to ...
15281 * sysdeps/x86/bits/select.h: This.
15282
d48d0446
L
15283 * sysdeps/i386/bits/setjmp.h: Removed.
15284 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15285 * sysdeps/x86/bits/setjmp.h: This.
15286
7dc00e0d
L
15287 * sysdeps/i386/bits/mathdef.h: Removed.
15288 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15289 * sysdeps/x86/bits/mathdef.h: This.
15290
03277f8f
AS
152912012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15292
15293 [BZ #14132]
15294 * include/sys/socket.h (__connect_internal)
15295 (__libc_sa_len_internal): Remove declaration.
15296 (__connect, __libc_sa_len): Declare hidden_proto.
15297 (SA_LEN): Remove use of INTUSE.
15298 * socket/connect.c: Add libc_hidden_def.
15299 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15300 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15301 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15302 alias.
15303 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15304 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15305 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15306 of adding _internal alias.
15307
13764867
L
153082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15309
15310 [BZ #14117]
6bd97696
L
15311 * sysdeps/i386/bits/link.h: Removed.
15312 * sysdeps/i386/bits/linkmap.h: Likewise.
15313 * sysdeps/x86_64/bits/link.h: Renamed to ...
15314 * sysdeps/x86/bits/link.h: This.
15315 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15316 * sysdeps/x86/bits/linkmap.h: This.
15317
f726f0bb
L
15318 * sysdeps/i386/bits/endian.h: Removed.
15319 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15320 * sysdeps/x86/bits/endian.h: This.
15321
13764867
L
15322 * sysdeps/i386/bits/byteswap.h: Removed.
15323 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15324 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15325 * sysdeps/x86/bits/byteswap.h: This.
15326 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15327 * sysdeps/x86/bits/byteswap-16.h: This.
15328 * sysdeps/i386/Implies: Add x86.
15329 * sysdeps/x86_64/Implies: Likewise.
15330
ae251b0b
DM
153312012-05-30 David S. Miller <davem@davemloft.net>
15332
15333 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15334 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15335 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15336 (FP_TRAPPING_EXCEPTIONS): Define.
15337 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15338 (FP_TRAPPING_EXCEPTIONS): Define.
15339 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15340 subnormals only when inexact has been signalled or underflow
15341 exceptions are enabled.
15342 (_FP_PACK_CANONICAL): Likewise.
15343
d5c90867
L
153442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15345
15346 [BZ #14183]
15347 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15348 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15349
63f1549e
RH
153502012-05-30 Richard Henderson <rth@twiddle.net>
15351
8d8f2279
RH
15352 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15353 with #ifndef NOT_IN_libc.
15354
63f1549e
RH
15355 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15356 marked to avoid plt entry.
15357
0ab0291b
L
153582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15359
15360 [BZ #14112]
15361 * Makeconfig (default-abi): New macro.
15362 (abi-includes): Likewise.
15363 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15364 $(abi-$(default-abi)-lib-soname) for soname if defined.
15365 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15366 abi-variants.
15367 * Makefile (installed-stubs): Likewise.
15368 * include/stubs-biarch.h: Removed.
15369 * scripts/lib-names.awk: Only handle one library at a time.
15370 * scripts/soversions.awk: Remove WORDSIZE support.
15371 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15372 entries.
15373 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15374 Removed.
15375 (syscall-list-default-condition): Likewise.
15376 (syscall-list-default-condition): Likewise.
15377 (syscall-list-includes): Likewise.
15378 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15379 syscall-list-* with abi-*. Handle undefined abi-variants.
15380 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15381 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15382 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15383 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15384 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15385 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15386 Removed.
15387 (syscall-list-32-options): Likewise.
15388 (syscall-list-32-condition): Likewise.
15389 (syscall-list-64-options): Likewise.
15390 (syscall-list-64-condition): Likewise.
15391 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15392 macro.
15393 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15394 Renamed to ...
15395 (abi-*): This.
15396 (abi-64-ld-soname): New macro.
15397 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15398 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15399 Renamed to ...
15400 (abi-*): This.
15401 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15402 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15403
4da0431d
JM
154042012-05-30 Joseph Myers <joseph@codesourcery.com>
15405
3a85279c
JM
15406 * sysdeps/unix/sysv/linux/kernel-features.h
15407 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15408 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15409 include <kernel-features.h>.
15410 [!__NR_ftruncate64]: Remove conditional code.
15411 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15412 [__NR_ftruncate64]: Make code unconditional.
15413 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15414 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15415 include <kernel-features.h>.
15416 [!__NR_ftruncate64]: Remove conditional code.
15417 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15418 [__NR_ftruncate64]: Make code unconditional.
15419 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15421 include <kernel-features.h>.
15422 [!__NR_ftruncate64]: Remove conditional code.
15423 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15424 [__NR_ftruncate64]: Make code unconditional.
15425 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15427 include <kernel-features.h>.
15428 [!__NR_ftruncate64]: Remove conditional code.
15429 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15430 [__NR_ftruncate64]: Make code unconditional.
15431 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15432
4da0431d
JM
15433 * configure.in (libc_cv_fpie): Weaken to a compile test using
15434 LIBC_TRY_CC_OPTION.
15435 * configure: Regenerated.
15436
11ef492c
AK
154372012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15438
15439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15443 Refreshed.
15444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15450 Refreshed.
15451
d66ef399
DM
154522012-05-27 David S. Miller <davem@davemloft.net>
15453
15454 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15455 (___Q_zero): New.
15456 (__Q_simulate_exceptions): Return void. Change to simulate
15457 exceptions by writing into the %fsr.
15458 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15459 (__Qp_handle_exceptions): Likewise.
15460 (numbers): Delete.
15461 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15462 __Qp_handle_exceptions.
15463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15464 __Qp_handle_exceptions.
15465 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15466 as unused and give dummy FP_RND_NEAREST initializer.
15467 (FP_INHIBIT_RESULTS): Define.
15468 (___Q_simulate_exceptions): Update declaration.
15469 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15470 formatting.
15471 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15472 as unused and give dummy FP_RND_NEAREST initializer.
15473 (__Qp_handle_exceptions): Update declaration.
15474 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15475 formatting.
15476
04fb54b5
TS
154772012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15478
15479 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15480 the temporary FPU control word.
15481 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15482 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15483 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15484 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15485 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15486 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15487 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15488 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15489 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15490 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15491 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15492
3f99608f
KK
154932012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15494
15495 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15496 fields.
15497
65a4de4e
CLT
154982012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15499
15500 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15501 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15502 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15503 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15504 Likewise.
15505 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15506 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15507 Likewise.
15508
15749d40
UD
155092012-05-27 Ulrich Drepper <drepper@gmail.com>
15510
15511 * po/h.po: Update from translation team.
15512
25dbcb27
AS
155132012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15514
3d3f8e55
AS
15515 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15516
25dbcb27
AS
15517 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15518 handling of denormals.
15519 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15520 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15521 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15522 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15523 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15524 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15525 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15526 Likewise.
15527
7ad47a80 155282012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15529
15530 [BZ #14152]
15531 * math/libm-test.inc (fma_test): Don't always expect underflow
15532 exception.
15533
9c6ea9fa
SP
155342012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15535
15536 [BZ #12416]
15537 * elf/tst-execstack.c: Include stackinfo.h.
15538 (do_test): Adjust test case to ensure that pthread_getattr_np
15539 behaviour remains the same after marking stack executable.
15540
a8239222
JM
155412012-05-25 Joseph Myers <joseph@codesourcery.com>
15542
15543 * sysdeps/unix/sysv/linux/kernel-features.h
15544 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15545 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15546 kernel-features.h.
15547 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15548 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15549 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15550 kernel-features.h.
15551 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15552 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15553
918b5606
L
155542012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15555
15556 * configure.in: Define the default includes to being none.
15557 * configure: Regenerated.
15558
3a097cc7
RM
155592012-05-25 Roland McGrath <roland@hack.frob.com>
15560
8422c9a5
RM
15561 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15562 * sysdeps/x86_64/setjmp.S: Likewise.
15563 * sysdeps/i386/bsd-setjmp.S: Likewise.
15564 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15565 * sysdeps/i386/setjmp.S: Likewise.
15566 * sysdeps/i386/__longjmp.S: Likewise.
15567 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15568 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15569
3a097cc7
RM
15570 * include/stap-probe.h: New file.
15571 * configure.in: Handle --enable-systemtap.
15572 * configure: Regenerated.
15573 * config.h.in (USE_STAP_PROBE): New #undef.
15574 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15575 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15576 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15577
21708942
JM
155782012-05-25 Joseph Myers <joseph@codesourcery.com>
15579
15580 [BZ #13717]
15581 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15582 to 2.4.0 where earlier.
15583 * sysdeps/unix/sysv/linux/configure: Regenerated.
15584 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15585 <kernel-features.h>.
15586 [__ASSUME_32BITUIDS]: Make code unconditional.
15587 [!__ASSUME_32BITUIDS]: Remove conditional code.
15588 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15589 <kernel-features.h>.
15590 [__ASSUME_32BITUIDS]: Make code unconditional.
15591 [!__ASSUME_32BITUIDS]: Remove conditional code.
15592 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15593 [__ASSUME_32BITUIDS]: Make code unconditional.
15594 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15595 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15596 <kernel-features.h>.
15597 [__ASSUME_32BITUIDS]: Make code unconditional.
15598 [!__ASSUME_32BITUIDS]: Remove conditional code.
15599 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15600 <kernel-features.h>.
15601 [__ASSUME_32BITUIDS]: Make code unconditional.
15602 [!__ASSUME_32BITUIDS]: Remove conditional code.
15603 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15604 <kernel-features.h>.
15605 [__ASSUME_32BITUIDS]: Make code unconditional.
15606 [!__ASSUME_32BITUIDS]: Remove conditional code.
15607 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15608 <kernel-features.h>.
15609 [__ASSUME_32BITUIDS]: Make code unconditional.
15610 [!__ASSUME_32BITUIDS]: Remove conditional code.
15611 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15612 <kernel-features.h>.
15613 [__ASSUME_32BITUIDS]: Make code unconditional.
15614 [!__ASSUME_32BITUIDS]: Remove conditional code.
15615 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15616 <kernel-features.h>.
15617 [__ASSUME_32BITUIDS]: Make code unconditional.
15618 [!__ASSUME_32BITUIDS]: Remove conditional code.
15619 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15620 <kernel-features.h>.
15621 [__ASSUME_32BITUIDS]: Make code unconditional.
15622 [!__ASSUME_32BITUIDS]: Remove conditional code.
15623 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15624 <kernel-features.h>.
15625 [__ASSUME_32BITUIDS]: Make code unconditional.
15626 [!__ASSUME_32BITUIDS]: Remove conditional code.
15627 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15628 <kernel-features.h>.
15629 [__ASSUME_32BITUIDS]: Make code unconditional.
15630 [!__ASSUME_32BITUIDS]: Remove conditional code.
15631 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15632 <kernel-features.h>.
15633 [__ASSUME_32BITUIDS]: Make code unconditional.
15634 [!__ASSUME_32BITUIDS]: Remove conditional code.
15635 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15636 <kernel-features.h>.
15637 [__NR_setresgid] (__setresgid): Do not declare.
15638 [__ASSUME_32BITUIDS]: Make code unconditional.
15639 [!__ASSUME_32BITUIDS]: Remove conditional code.
15640 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15641 <kernel-features.h>.
15642 [__NR_setresuid] (__setresuid): Do not declare.
15643 [__ASSUME_32BITUIDS]: Make code unconditional.
15644 [!__ASSUME_32BITUIDS]: Remove conditional code.
15645 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15646 <kernel-features.h>.
15647 [__ASSUME_32BITUIDS]: Make code unconditional.
15648 [!__ASSUME_32BITUIDS]: Remove conditional code.
15649 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15650 <kernel-features.h>.
15651 [__ASSUME_32BITUIDS]: Make code unconditional.
15652 [!__ASSUME_32BITUIDS]: Remove conditional code.
15653 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15654 <kernel-features.h>.
15655 [__ASSUME_32BITUIDS]: Make code unconditional.
15656 [!__ASSUME_32BITUIDS]: Remove conditional code.
15657 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15658 <kernel-features.h>.
15659 [__ASSUME_32BITUIDS]: Make code unconditional.
15660 [!__ASSUME_32BITUIDS]: Remove conditional code.
15661 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15662 <kernel-features.h>.
15663 [__ASSUME_32BITUIDS]: Make code unconditional.
15664 [!__ASSUME_32BITUIDS]: Remove conditional code.
15665 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15666 <kernel-features.h>.
15667 [__ASSUME_32BITUIDS]: Make code unconditional.
15668 [!__ASSUME_32BITUIDS]: Remove conditional code.
15669 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15670 <kernel-features.h>.
15671 [__ASSUME_32BITUIDS]: Make code unconditional.
15672 [!__ASSUME_32BITUIDS]: Remove conditional code.
15673 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15674 <kernel-features.h>.
15675 [__ASSUME_32BITUIDS]: Make code unconditional.
15676 [!__ASSUME_32BITUIDS]: Remove conditional code.
15677 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15678 <kernel-features.h>.
15679 [__ASSUME_32BITUIDS]: Make code unconditional.
15680 [!__ASSUME_32BITUIDS]: Remove conditional code.
15681 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15682 <kernel-features.h>.
15683 [__ASSUME_32BITUIDS]: Make code unconditional.
15684 [!__ASSUME_32BITUIDS]: Remove conditional code.
15685 * sysdeps/unix/sysv/linux/kernel-features.h
15686 (__ASSUME_SETRESUID_SYSCALL): Remove.
15687 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15688 (__ASSUME_32BITUIDS): Likewise.
15689 (__ASSUME_LDT_WORKS): Likewise.
15690 (__ASSUME_O_DIRECTORY): Likewise.
15691 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15692 architecture but not kernel version.
15693 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15694 (__ASSUME_MMAP2_SYSCALL): Likewise.
15695 (__ASSUME_STAT64_SYSCALL): Likewise.
15696 (__ASSUME_IPC64): Likewise.
15697 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15698 <kernel-features.h>.
15699 [__ASSUME_32BITUIDS]: Make code unconditional.
15700 [!__ASSUME_32BITUIDS]: Remove conditional code.
15701 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15702 <kernel-features.h>.
15703 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15704 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15705 132096]: Remove conditional code.
15706 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15707 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15708 <kernel-features.h>.
15709 [__ASSUME_32BITUIDS]: Make code unconditional.
15710 [!__ASSUME_32BITUIDS]: Remove conditional code.
15711 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15712 <kernel-features.h>.
15713 [__ASSUME_32BITUIDS]: Make code unconditional.
15714 [!__ASSUME_32BITUIDS]: Remove conditional code.
15715 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15716 <kernel-features.h>.
15717 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15718 unconditional.
15719 (__setresgid): Do not declare.
15720 [__ASSUME_32BITUIDS]: Make code unconditional.
15721 [!__ASSUME_32BITUIDS]: Remove conditional code.
15722 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15723 <kernel-features.h>.
15724 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15725 unconditional.
15726 (__setresuid): Do not declare.
15727 [__ASSUME_32BITUIDS]: Make code unconditional.
15728 [!__ASSUME_32BITUIDS]: Remove conditional code.
15729 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15730 <kernel-features.h>.
15731 [__ASSUME_32BITUIDS]: Make code unconditional.
15732 [!__ASSUME_32BITUIDS]: Remove conditional code.
15733 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15734 <kernel-features.h>.
15735 [__ASSUME_32BITUIDS]: Make code unconditional.
15736 [!__ASSUME_32BITUIDS]: Remove conditional code.
15737
a386f1cc
RH
157382012-05-25 Richard Henderson <rth@twiddle.net>
15739
15740 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15741 dl_hwcap to ifunc resolver.
15742 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15743 elf_ifunc_invoke.
15744 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15745 dl_hwcap to ifunc resolver.
15746 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15747
b6550497
JM
157482012-05-24 Joseph Myers <joseph@codesourcery.com>
15749
15750 [BZ #14153]
15751 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15752 for |x| <= 2**-26, not 2**-57.
15753 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15754 exception.
15755
b0bc23a1
JL
157562012-05-24 Jeff Law <law@redhat.com>
15757
15758 * stdio-common/Makefile (tests): Add bug25.
15759 * stdio-common/bug25.c: New test.
15760
347c92e9
L
157612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15762
15763 [BZ #13576]
15764 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15765 multiple of MALLOC_ALIGNMENT in size.
15766 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15767
6bcc8b3f
JM
157682012-05-24 Joseph Myers <joseph@codesourcery.com>
15769
15770 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15771 Require >= 256.
15772 (FILENAME_MAX): Use macro-int-constant.
15773 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15774 (_IOFBF): Use macro-int-constant.
15775 (_IOLBF): Likewise.
15776 (_IONBF): Likewise.
15777 (SEEK_CUR): Likewise.
15778 (SEEK_END): Likewise.
15779 (SEEK_SET): Likewise.
15780 (TMP_MAX): Likewise.
15781 (EOF): Use macro-int-constant. Require < 0.
15782 (NULL): Use macro-constant. Require == 0.
15783 (stdin): Require type to be FILE *.
15784 (stdout): Likewise.
15785 (stderr): Likewise.
15786 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15787 macro-int-constant.
15788 (EXIT_SUCCESS): Likewise.
15789 (NULL): Use macro-constant. Require == 0.
15790 (RAND_MAX): Use macro-int-constant.
15791 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15792 [C99-based standards] (strtof): Require function.
15793 [C99-based standards] (strtold): Likewise.
15794 [C99-based standards] (strtoll): Likewise.
15795 [C99-based standards] (strtoull): Likewise.
15796 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15797 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15798 [ISO || ISO99 || ISO11] (math.h): Likewise.
15799 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15800 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15801 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15802
d18ea0c5
AS
158032012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15804
15805 [BZ #14132]
56d25bb8
AS
15806 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15807 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15808 * intl/dgettext.c (DCGETTEXT): Likewise.
15809 * intl/gettext.c (DCGETTEXT): Likewise.
15810 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15811 * posix/regex_internal.h (gettext): Likewise.
15812 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15813 Remove declaration.
15814 * include/argz.h (__argz_count_internal)
15815 (__argz_stringify_internal): Remove declaration.
15816 (__argz_count, __argz_stringify): Declare hidden proto.
15817 * intl/dcgettext.c: Remove use of INTDEF.
15818 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15819 * string/argz-stringify.c: Likewise.
15820 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15821 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15822 Declare hidden proto.
d18ea0c5
AS
15823 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15824 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15825 Declare hidden proto.
15826 * include/stdio.h (__asprintf_internal): Don't declare.
15827 (__asprintf): Don't define as macro. Declare hidden proto.
15828 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15829 (__fsetlocking): Declare hidden proto.
15830 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15831 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15832 hidden proto.
15833 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15834 (_IO_setlinebuf): Remove use of INTUSE.
15835 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15836 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15837 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15838 Remove declaration.
15839 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15840 (_IO_do_flush): Remove use of INTUSE.
15841 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15842 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15843 (_IO_adjust_column, _IO_least_wmarker)
15844 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15845 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15846 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15847 (_IO_default_doallocate, _IO_wdefault_doallocate)
15848 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15849 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15850 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15851 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15852 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15853 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15854 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15855 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15856 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15857 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15858 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15859 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15860 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15861 proto.
15862 (_IO_flush_all_internal, _IO_adjust_column_internal)
15863 (_IO_default_uflow_internal, _IO_default_finish_internal)
15864 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15865 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15866 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15867 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15868 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15869 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15870 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15871 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15872 (_IO_file_close_internal, _IO_file_close_it_internal)
15873 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15874 (_IO_file_init_internal, _IO_file_attach_internal)
15875 (_IO_file_fopen_internal, _IO_file_read_internal)
15876 (_IO_file_sync_internal, _IO_file_seek_internal)
15877 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15878 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15879 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15880 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15881 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15882 (_IO_list_all_internal, _IO_link_in_internal)
15883 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15884 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15885 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15886 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15887 (_IO_do_write_internal, _IO_padn_internal)
15888 (_IO_getline_info_internal, _IO_getline_internal)
15889 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15890 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15891 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15892 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15893 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15894 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15895 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15896 with libc_hidden_ver, remove use of INTUSE.
15897 * libio/genops.c: Likewise.
15898 * libio/freopen.c: Likewise.
15899 * libio/freopen64.c: Likewise.
15900 * libio/iofclose.c: Likewise.
15901 * libio/iofdopen.c: Likewise.
15902 * libio/iofflush.c: Likewise.
15903 * libio/iofflush_u.c: Likewise.
15904 * libio/iofgets.c: Likewise.
15905 * libio/iofgets_u.c: Likewise.
15906 * libio/iofopen.c: Likewise.
15907 * libio/iofopncook.c: Likewise.
15908 * libio/iofread.c: Likewise.
15909 * libio/iofread_u.c: Likewise.
15910 * libio/ioftell.c: Likewise.
15911 * libio/iofwrite.c: Likewise.
15912 * libio/iogetline.c: Likewise.
15913 * libio/iogets.c: Likewise.
15914 * libio/iogetwline.c: Likewise.
15915 * libio/iopadn.c: Likewise.
15916 * libio/iopopen.c: Likewise.
15917 * libio/ioseekoff.c: Likewise.
15918 * libio/ioseekpos.c: Likewise.
15919 * libio/iosetbuffer.c: Likewise.
15920 * libio/iosetvbuf.c: Likewise.
15921 * libio/ioungetc.c: Likewise.
15922 * libio/ioungetwc.c: Likewise.
15923 * libio/iovdprintf.c: Likewise.
15924 * libio/iovsprintf.c: Likewise.
15925 * libio/iovsscanf.c: Likewise.
15926 * libio/memstream.c: Likewise.
15927 * libio/obprintf.c: Likewise.
15928 * libio/oldfileops.c: Likewise.
15929 * libio/oldiofclose.c: Likewise.
15930 * libio/oldiofdopen.c: Likewise.
15931 * libio/oldiofopen.c: Likewise.
15932 * libio/oldiopopen.c: Likewise.
15933 * libio/oldstdfiles.c: Likewise.
15934 * libio/putc.c: Likewise.
15935 * libio/setbuf.c: Likewise.
15936 * libio/setlinebuf.c: Likewise.
15937 * libio/stdfiles.c: Likewise.
15938 * libio/strops.c: Likewise.
15939 * libio/vasprintf.c: Likewise.
15940 * libio/vscanf.c: Likewise.
15941 * libio/vsnprintf.c: Likewise.
15942 * libio/vswprintf.c: Likewise.
15943 * libio/wfiledoalloc.c: Likewise.
15944 * libio/wfileops.c: Likewise.
15945 * libio/wgenops.c: Likewise.
15946 * libio/wmemstream.c: Likewise.
15947 * libio/wstrops.c: Likewise.
15948 * libio/__fpurge.c: Likewise.
15949 * libio/__fsetlocking.c: Likewise.
15950 * assert/assert.c: Likewise.
15951 * debug/fgets_chk.c: Likewise.
15952 * debug/fgets_u_chk.c: Likewise.
15953 * debug/fread_chk.c: Likewise.
15954 * debug/fread_u_chk.c: Likewise.
15955 * debug/gets_chk.c: Likewise.
15956 * debug/obprintf_chk.c: Likewise.
15957 * debug/vasprintf_chk.c: Likewise.
15958 * debug/vdprintf_chk.c: Likewise.
15959 * debug/vsnprintf_chk.c: Likewise.
15960 * debug/vsprintf_chk.c: Likewise.
15961 * malloc/mtrace.c: Likewise.
15962 * misc/error.c: Likewise.
15963 * misc/syslog.c: Likewise.
15964 * stdio-common/asprintf.c: Likewise.
15965 * stdio-common/fxprintf.c: Likewise.
15966 * stdio-common/getw.c: Likewise.
15967 * stdio-common/isoc99_fscanf.c: Likewise.
15968 * stdio-common/isoc99_scanf.c: Likewise.
15969 * stdio-common/isoc99_vfscanf.c: Likewise.
15970 * stdio-common/isoc99_vscanf.c: Likewise.
15971 * stdio-common/isoc99_vsscanf.c: Likewise.
15972 * stdio-common/printf-prs.c: Likewise.
15973 * stdio-common/printf_fp.c: Likewise.
15974 * stdio-common/printf_fphex.c: Likewise.
15975 * stdio-common/printf_size.c: Likewise.
15976 * stdio-common/putw.c: Likewise.
15977 * stdio-common/scanf.c: Likewise.
15978 * stdio-common/sprintf.c: Likewise.
15979 * stdio-common/tmpfile.c: Likewise.
15980 * stdio-common/vfprintf.c: Likewise.
15981 * stdio-common/vfscanf.c: Likewise.
15982 * stdlib/strfmon_l.c: Likewise.
15983 * sunrpc/openchild.c: Likewise.
15984 * sunrpc/xdr_stdio.c: Likewise.
15985 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15986 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15987
d6c33fda
RM
159882012-05-24 Roland McGrath <roland@hack.frob.com>
15989
c1487492
RM
15990 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15991
15992 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15993 in the third column, to generate for the shared library an IFUNC
15994 that uses _dl_vdso_vsym.
15995 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15996 * Makeconfig (object-suffixes-noshared): New variable.
15997
15998 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15999 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16000 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16001 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16002
d6c33fda
RM
16003 [BZ #14132]
16004 * include/sys/time.h (__gettimeofday): Remove macro.
16005 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16006 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16007 Remove INTDEF.
16008 (__gettimeofday): Add libc_hidden_def.
16009 (gettimeofday): Add libc_hidden_weak.
16010 * sysdeps/mach/gettimeofday.c: Likewise.
16011 * sysdeps/posix/gettimeofday.c: Likewise.
16012 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16013 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16014 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16015 (__gettimeofday_internal): Remove strong_alias.
16016 (__gettimeofday): Add libc_hidden_def.
16017 (gettimeofday): Add libc_hidden_weak.
16018 * sysdeps/unix/syscalls.list (gettimeofday):
16019 Remove __gettimeofday_internal alias.
16020
b5a2bbe6
L
160212012-05-24 Daniel Jacobowitz <drow@false.org>
16022 H.J. Lu <hongjiu.lu@intel.com>
16023
16024 [BZ #12495]
16025 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16026 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16027 (largebin_index_32_big): New.
16028 (largebin_index): Use it for 16-byte alignment.
16029 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16030 correction with front_misalign.
16031
cfba4fda
L
160322012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16033
7f907421
L
16034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16036 Likewise.
16037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16038 Likewise.
16039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16040 Likewise.
16041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16042 Likewise.
16043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16044 Likewise.
16045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16046 Likewise.
16047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16048 Likewise.
16049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16050 Likewise.
16051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16052 Likewise.
16053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16054 Likewise.
16055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16056 Likewise.
16057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16058 Likewise.
16059
cfba4fda
L
16060 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16061 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16062
80bad0cc
JM
160632012-05-24 Joseph Myers <joseph@codesourcery.com>
16064
7a25eb06
JM
16065 [BZ #10846]
16066 [BZ #14036]
16067 * math/libm-test.inc (exp_test): Add test from bug 14036.
16068 (pow_test): Add test from bug 10846.
16069
795405f9
JM
16070 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16071 and other flags.
16072 (special_function): Do not include flags in test name.
16073 (parse_args): Likewise.
16074 * sysdeps/i386/fpu/libm-test-ulps: Update.
16075 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16076 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16077 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16079
80bad0cc
JM
16080 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16081 exceptions.
16082 * math/libm-test.inc ("Philosophy"): Update comment about
16083 exception testing.
16084 (UNDERFLOW_EXCEPTION): New macro.
16085 (UNDERFLOW_EXCEPTION_OK): Likewise.
16086 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16087 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16088 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16089 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16090 (INVALID_EXCEPTION_OK): Update value.
16091 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16092 (OVERFLOW_EXCEPTION_OK): Likewise.
16093 (IGNORE_ZERO_INF_SIGN): Likewise.
16094 (test_exceptions): Handle underflow exceptions.
16095 (acos_test): Update for underflow exception expectations.
16096 (cexp_test): Likewise.
16097 (clog_test): Likewise.
16098 (clog10_test): Likewise.
16099 (csqrt_test): Likewise.
16100 (ctan_test): Likewise.
16101 (ctanh_test): Likewise.
16102 (exp_test): Likewise.
16103 (exp10_test): Likewise.
16104 (exp2_test): Likewise.
16105 (expm1_test): Likewise.
16106 (fma_test): Likewise.
16107 (j0_test): Likewise.
16108 (jn_test): Likewise.
16109 (nexttoward_test): Likewise.
16110 (pow_test): Likewise.
16111 (scalbn_test): Likewise.
16112 (scalbln_test): Likewise.
16113 (tan_test): Likewise.
16114 (y1_test): Likewise.
16115 * sysdeps/i386/fpu/libm-test-ulps: Update.
16116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16117
9e0e3d0b
DM
161182012-05-23 David S. Miller <davem@davemloft.net>
16119
16120 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16121 (__libc_sigaction): Remove unused local variables.
16122
ccd0a08f
L
161232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16124
16125 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16126
62bdf9a6
PE
161272012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16128
f8591f80
PE
16129 mktime: avoid signed integer overflow
16130 * time/mktime.c (__mktime_internal): Do not mishandle the case
16131 where diff == INT_MIN.
16132
94c7d826
PE
16133 mktime: simplify computation of average
16134 * time/mktime.c (ranged_convert): Use new time_t_avg function
16135 instead of rolling our own (probably-slower) code.
16136
ce73d683
PE
16137 mktime: do not assume signed right shift propagates sign bit
16138 * time/mktime.c (isdst_differ): New static function.
16139 (__mktime_internal): No need to normalize tm_isdst now.
16140 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16141 tm_isdst values.
16142
72a22e59
PE
16143 mktime: merge another wrapv change from gnulib
16144 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16145 from some compilers.
16146
68605433
PE
16147 mktime: remove incorrect attempt at unusual arithmetics
16148 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16149 The code didn't really work on such machines anyway.
16150 (TYPE_MINIMUM): Assume two's complement.
16151 (twos_complement_arithmetic): Verify that long_int and time_t
16152 are two's complement (or unsigned, in the latter case).
16153
03cf7fe3
PE
16154 mktime: check signed shifts on long_int and time_t, too
16155 * time/mktime.c (SHR): Check that shifts work as desired
16156 on the types long_int and time_t too, as SHR is used on
16157 such types.
16158
f04dfbc2
PE
16159 mktime: do not assume 'long' is wide enough
16160 * time/mktime.c (verify): Move decl up.
16161 (long_int): New type.
16162 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16163 to remove assumption in the code that 'long' is wide enough to
16164 store year values. This assumption is not true on x32 and on
16165 some non-glibc platforms.
16166
62bdf9a6
PE
16167 mktime: merge wrapv change from gnulib
16168 * time/mktime.c (WRAPV): New macro.
16169 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16170 (guess_time_tm, __mktime_internal): Do not assume that signed
16171 integer overflow wraps around; modern compilers generate code
16172 where this assumption is no longer valid.
16173
5e292e4f
L
161742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16175
16176 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16177 Replace "jmp L(pseudo_end)" with "ret".
16178 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16179 Likewise.
16180
8caf8c87
AJ
161812012-05-23 Andreas Jaeger <aj@suse.de>
16182
16183 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16184 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16185
1a09dc56
AJ
161862012-05-23 Andreas Jaeger <aj@suse.de>
16187 Maximilian Attems <max@stro.at>
16188
16189 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16190 New macros.
16191
1c87aba0
L
161922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16193
16194 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16195 code so that pseudo_end is just ret and the stack pointer is
16196 correct also for static library in error case.
16197
40e45bd5
JM
161982012-05-23 Joseph Myers <joseph@codesourcery.com>
16199
c2670533
JM
16200 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16201 move to syscalls.list.
16202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16206
40e45bd5
JM
16207 * manual/install.texi (Running make install): Do not mention Linux
16208 kernel version for which pt_chown is not needed.
16209 (Linux): Do not mention problems with nscd with 2.0 kernels.
16210 * INSTALL: Regenerated.
16211
be08eda5
AJ
162122012-05-23 Andreas Jaeger <aj@suse.de>
16213
16214 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16215 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16216 macro.
16217 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16218 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16219 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16220 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16221 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16222 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16223 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16224 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16225 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16226 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16227 * sysdeps/unix/sysv/linux/bits/in.h
16228 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16229
a6a056bb
RM
162302012-05-22 Roland McGrath <roland@hack.frob.com>
16231
16232 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16233 (PREPARE_VERSION): Just use assert instead, it will be elided
16234 under [NDEBUG] anyway.
16235
c9009328
L
162362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16237
16238 * sysdeps/unix/sysv/linux/Makefile: Include
16239 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16240 (sysdep_routines): Remove sysctl.
c9009328
L
16241 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16242 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16243 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16244 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16245 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16246
73338355
AJ
162472012-05-22 Andreas Jaeger <aj@suse.de>
16248
16249 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16250 that pseudo_end is just ret and the stack pointer is correct also
16251 for static library in error case.
16252
d44638b0
PP
162532012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16254
16255 [BZ #14122]
16256 * nss/nsswitch.c (defconfig_entries): New variable.
16257 (__nss_database_lookup): Don't leak defconfig entries.
16258 (nss_parse_service_list): Don't leak on error paths.
16259 (free_database_entries): New function.
16260 (free_defconfig): New function.
16261 (free_mem): Move common code to free_database_entries.
16262
31a39bd8
L
162632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16264
da0331a8
L
16265 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16266 Add arch_prctl.
16267 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16268
31a39bd8
L
16269 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16270 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16272 New macro.
16273 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16274 (INTERNAL_SYSCALL_TYPES): Likewise.
16275 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16276 (LOAD_REGS_TYPES_[1-6]): Likewise.
16277 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16278 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16279
45470df3
AZ
162802012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16281
16282 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16283 copysignl for GLIBC_2_0.
16284 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16285 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16286 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16287 logbl for GLIBC_2_0.
16288 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16289 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16290
98a61bcb
L
162912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16292
a4f6e481
L
16293 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16294 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16295
f63d5db6
L
16296 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16297 Use "neg %eax".
16298
98a61bcb
L
16299 * time/mktime.c: Update copyright years.
16300
95770f14
PE
163012012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16302
6226efbd
PE
16303 mktime: merge comment-quoting-style change from gnulib
16304 * time/mktime.c: Quote 'like this' in comments.
16305 The GNU coding standards suggest that we no longer quote `like this',
16306 as "`" and "'" are typically rendered asymmetrically nowadays.
16307 The typical gnulib style is to quote 'like this' when quoting
16308 code, and "like this" when quoting English.
16309
b99e4f78
PE
16310 * time/mktime.c (compile-command): Add "-I.".
16311
643e01e6
PE
16312 mktime: merge mktime-internal.h change from gnulib
16313 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16314
2554247d
PE
16315 mktime: merge time_r change from gnulib
16316 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16317
826dd0ab
PE
16318 mktime: merge DEBUG change from gnulib
16319 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16320 case system <time.h> has a #define.
16321
bd83aabe
PE
16322 mktime: merge <sys/types.h> change from gnulib
16323 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16324 since <time.t> is now guaranteed to define time_t.
16325
95770f14
PE
16326 mktime: merge HAVE_CONFIG_H change from gnulib
16327 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16328
5e1a27a9
L
163292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16330
0e44a77e
L
16331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16332 Use "neg %eax".
16333
5e1a27a9
L
16334 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16335 __rlim_t cast.
16336 (struct rusage): Use anonymous union to pad each field to
16337 __syscall_slong_t.
16338
46259bec
DM
163392012-05-21 David S. Miller <davem@davemloft.net>
16340
16341 * Makefules (o-iterator): Remove .s cases.
16342 (compile-command.s): Delete.
16343 (COMPILE.s): Delete.
16344 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16345
59f0c22e
JM
163462012-05-21 Joseph Myers <joseph@codesourcery.com>
16347
16348 * configure.in (libc_cv_predef_stack_protector): Only consider
16349 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16350 * configure: Regenerated.
16351
20c07380
L
163522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16353
bbb3154b
L
16354 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16355 New macro. Use R*LP on int and pointer.
16356 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16357 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16358 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16359 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16360
20c07380
L
16361 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16362 [__WORDSIZE_TIME64_COMPAT32] instead of
16363 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16364 (struct utmp): Likewise.
16365 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16366 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16367 Renamed to ...
16368 (__WORDSIZE_TIME64_COMPAT32): This.
16369 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16370 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16371 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16372 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16373 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16374 (__WORDSIZE_TIME64_COMPAT32): New macro.
16375
d8d1017e
AJ
163762012-05-21 Andreas Jaeger <aj@suse.de>
16377
16378 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16379 only if [SHARED]. Add prototype for __wcschr_ia32.
16380
6c7fb145
RM
163812012-05-21 Roland McGrath <roland@hack.frob.com>
16382
16383 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16384 of %rbp unmolested in the jmp_buf while mangling the low bits.
16385 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16386 unmolested high bits of %rbp while demangling the low bits.
16387 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16388
66274218
AJ
163892012-05-21 Andreas Jaeger <aj@suse.de>
16390
07c58f8f
AJ
16391 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16392 * sunrpc/svc_simple.c: Use it for registerrpc.
16393 * sunrpc/xcrypt.c: Use it for passwd2des.
16394
66274218
AJ
16395 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16396
61f65140
L
163972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16398
16399 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16400 Don't define if [__SYSCALL_WORDSIZE != 32].
16401 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16402 New macro.
16403
5fefb436
AJ
164042012-05-21 Bruno Haible <bruno@clisp.org>
16405 Andreas Jaeger <aj@suse.de>
16406
16407 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16408 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16409 inptr and inend for must_buffer_ch.
16410 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16411 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16412 * stdio-common/Makefile (tests): Remove bug15.
16413 (bug15-ENV): Remove macro.
16414 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16415 anymore.
16416
d8e272ab
AJ
164172012-05-19 Andreas Jaeger <aj@suse.de>
16418 Roland McGrath <roland@hack.frob.com>
16419
16420 * manual/contrib.texi: Completely rewritten. It contains now an
16421 alphabetical list of contributors and their contributions.
16422
4a56a162
RH
164232012-05-21 Richard Henderson <rth@twiddle.net>
16424
16425 * misc/getauxval.c (__getauxval): Use unsigned long int.
16426 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16427 (getauxval): Use unsigned long int.
16428
d024d23c
L
164292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16430
16431 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16432
cbc00a03
RM
164332012-05-21 Roland McGrath <roland@hack.frob.com>
16434
16435 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16436 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16437 __alignof__ (long double).
16438
478143fa
AZ
164392012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16440
16441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16442
c7683a6d
RH
164432012-05-20 Richard Henderson <rth@twiddle.net>
16444
16445 * misc/getauxval.c: New file.
16446 * misc/sys/auxv.h: New file.
16447 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16448 (routines): Add getauxval.
16449 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16450 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16451 * elf/dl-sysdep.c (_dl_auxv): Remove.
16452 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16453 * elf/dl-support.c (_dl_auxv): New variable.
16454 (_dl_aux_init): Initialize it.
16455 * manual/startup.texi (Auxiliary Vector): New node.
16456 * sysdeps/generic/bits/hwcap.h: New file.
16457 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16458 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16459 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16460 * sysdeps/sparc/sysdep.h: ... here. Include it.
16461 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16462 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16464 Update.
c7683a6d
RH
16465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16468 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16473
a6f1845d
AZ
164742012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16475
16476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16477
cbcbe830
DM
164782012-05-19 David S. Miller <davem@davemloft.net>
16479
16480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16481
e0b16cc2
JM
164822012-05-19 Joseph Myers <joseph@codesourcery.com>
16483
16484 [BZ #14123]
16485 * math/s_ccosh.c: Include <float.h>
16486 (__ccosh): Avoid internal overflow calculating sinh and cosh
16487 values before multiplying by sin and cos values.
16488 * math/s_ccoshf.c: Likewise.
16489 * math/s_ccoshl.c: Likewise.
16490 * math/s_csin.c: Likewise.
16491 * math/s_csinf.c: Likewise.
16492 * math/s_csinl.c: Likewise.
16493 * math/s_csinh.c: Likewise.
16494 * math/s_csinhf.c: Likewise.
16495 * math/s_csinhl.c: Likewise.
16496 * math/libm-test.inc (ccos_test): Add more tests.
16497 (ccosh_test): Likewise.
16498 (csin_test): Likewise.
16499 (csinh_test): Likewise.
16500 * sysdeps/i386/fpu/libm-test-ulps: Update.
16501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16502
6ad13e08
L
165032012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16504
f66f0ce8
L
16505 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16506 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16507
6ad13e08
L
16508 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16509
b1d072a7
JM
165102012-05-19 Joseph Myers <joseph@codesourcery.com>
16511
16512 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16513 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16514 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16515 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16516 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16517 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16518 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16519 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16520 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16521 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16522 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16523 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16524 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16525 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16526 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16527 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16528 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16529 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16530 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16531 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16532 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16533 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16534 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16535 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16536 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16537 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16538 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16539 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16540 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16541 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16542 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16543
9eae47cb
AJ
165442012-05-18 Andreas Jaeger <aj@suse.de>
16545
16546 * csu/.gitignore: Delete.
16547
bb07f69f
L
165482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16549
16550 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16551 (timex): Use __syscall_slong_t.
16552
e6bdb741
AJ
165532012-05-18 Andreas Jaeger <aj@suse.de>
16554 Carlos O'Donell <carlos_odonell@mentor.com>
16555
16556 * manual/install.texi (Configuring and compiling): Update
16557 description about files modified in the source directory.
d6c33fda 16558 * INSTALL: Regenerated.
e6bdb741 16559
1b74487e
L
165602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16561
16562 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16563 value. Use "or" to set return value to -1.
16564 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16565 negate return value.
16566
a88b64b9
TMQMF
165672012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16568
16569 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16570 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16571 failure if the compiler has Graphite support disabled.
16572 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16573 Likewise.
16574 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16575 CFLAGS-memmove.c): Likewise.
16576 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16577 Likewise.
16578
3707636e
L
165792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16580
610b8622
L
16581 * sysdeps/x86_64/x32/_itoa.h: New file.
16582
7cd195df
L
16583 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16584 getdents system call only if kernel and user dirents have the
16585 same d_ino and d_off.
16586
94b07d20
L
16587 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16588 LLONG_MAX != LONG_MAX.
16589 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16590 (_fitoa_word): Likewise.
16591
18298070
L
16592 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16593 years.
16594 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16595 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16596 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16597
553c7ea4
L
16598 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16599 include <bits/wordsize.h>. Check __x86_64__ instead of
16600 __WORDSIZE.
16601 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16602 if __x86_64__ is defined. Use anonymous union on fpstate.
16603
3707636e
L
16604 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16605 anonymous union.
16606
b53ef01a
AS
166072012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16608
37fb1dc0
AS
16609 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16610 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16611 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16612 Refer to _rtld_local_ro instead of _rtld_global_ro.
16613 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16614 Likewise.
16615 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16616 Likewise.
16617 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16618 Likewise.
16619 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16620 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16621 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16622
b53ef01a
AS
16623 * sysdeps/powerpc/powerpc32/dl-machine.c
16624 (__elf_machine_runtime_setup) [PROF]: Don't reference
16625 _dl_prof_resolve.
16626
7a185db2
AJ
166272012-05-18 Andreas Jaeger <aj@suse.de>
16628
16629 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16630 function only available for GCCs before 3.4 since GCC 3.4
16631 introduced a builtin.
16632 (lrint): Likewise.
16633 (llrintf): Likewise.
16634 (llrint): Likewise.
16635 (fmaxf): Likewise.
16636 (fmax): Likewise.
16637 (fminf): Likewise.
16638 (fmin): Likewise.
16639 (rint): Likewise.
16640 (rintf): Likewise.
16641 (nearbyint): Likewise.
16642 (nearbyintf): Likewise.
16643 (ceil): Likewise.
16644 (ceilf): Likewise.
16645 (floor): Likewise.
16646 (floorf): Likewise.
16647
3e5aef87
L
166482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16649
428bd707
L
16650 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16651 on both fields and cast pointer to __syscall_ulong_t.
16652
3e5aef87
L
16653 * bits/types.h (__fsword_t): New type.
16654 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16655 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16656 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16657 (__FSWORD_T_TYPE): Likewise.
16658 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16659 (__FSWORD_T_TYPE): Likewise.
16660 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16661 (__FSWORD_T_TYPE): Likewise.
16662 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16663 (__FSWORD_T_TYPE): Likewise.
16664 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16665 __SWORD_TYPE with __fsword_t.
16666 (statfs64): Likewise.
16667
1ba7c3dc
DM
166682012-05-17 David S. Miller <davem@davemloft.net>
16669
16670 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16671
59910343
AJ
166722012-05-17 Andreas Jaeger <aj@suse.de>
16673
16674 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16675 warning.
16676
2e4c1e9e
L
166772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16678
16679 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16680
de7f5ce7
AJ
166812012-05-17 Andreas Jaeger <aj@suse.de>
16682
16683 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16684 when it is used.
16685
286abc3d
CM
166862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16687
16688 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16689
477cc68e
L
166902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16691
16692 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16693 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16694
1a0994f5
CD
166952012-05-17 Andreas Jaeger <aj@suse.de>
16696 Carlos O'Donell <carlos_odonell@mentor.com>
16697
16698 [BZ #14059]
16699 * sysdeps/x86_64/multiarch/init-arch.h
16700 (bit_YMM_Usable): Rename to...
16701 (bit_AVX_Usable): ... this.
16702 (bit_FMA4_Usable): New macro.
16703 (bit_XMM_state): New macro.
16704 (bit_YMM_state): New macro.
16705 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16706 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16707 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16708 (CPUID_OSXSAVE): New macro.
16709 (CPUID_AVX): New macro.
16710 (CPUID_FMA4): New macro.
16711 (index_YMM_Usable): Rename to...
16712 (index_AVX_Usable): ... this.
16713 (HAS_AVX): Use HAS_ARCH_FEATURE.
16714 (HAS_FMA4): Likewise.
16715 (HAS_YMM_USABLE): Remove.
16716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16717 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16718 are present.
16719 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16720 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16721 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16722 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16723 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16724
0af797de
CM
167252012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16726
16727 * math/libm-test.c: Support platforms without multiple rounding modes.
16728 * math/bug-nextafter.c: Support platforms without FP exceptions.
16729 * math/bug-nexttoward.c: Likewise.
16730 * math/test-fenv.c: Likewise.
16731 * math/test-misc.c: Likewise.
16732 * stdlib/bug-getcontext.c: Likewise.
16733
e39745ff
AJ
167342012-05-17 Andreas Jaeger <aj@suse.de>
16735
16736 * manual/examples/search.c (critter_cmp): Change signature to
16737 avoid warnings.
16738 * manual/string.texi (Collation Functions): Likewise.
16739
48970aba
L
167402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16741
16742 * bits/types.h: Fold copyright years.
16743 * bits/typesizes.h: Likewise.
16744 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16745 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16746 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16748 * time/time.h: Likewise.
16749
bedee953
PP
167502012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16751
16752 [BZ #208]
16753 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16754 in instead of returning them. Return void.
16755 (__libc_mallinfo): Accumulate over all arenas.
16756 (__malloc_stats): Adjust for change in int_mallinfo interface.
16757
61653dfb
RM
167582012-05-16 Roland McGrath <roland@hack.frob.com>
16759
30b99d79
RM
16760 [BZ #10375]
16761 * configure.in (NM): Add AC_CHECK_TOOL for it.
16762 (libc_extra_cflags): New substituted variable.
16763 Check for -fstack-protector being used implicitly.
16764 * configure: Regenerated.
16765 * config.make.in (config-extra-cflags): New variable,
16766 gets @libc_extra_cflags@.
16767 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16768
61653dfb
RM
16769 [BZ #10375]
16770 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16771 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16772 * configure: Regenerated.
16773 * config.make.in (CPPUNDEFS): New substituted variable.
16774 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16775 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16776 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16777
661768bb
L
167782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16779
16780 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16781 (mq_attr): Use __syscall_slong_t.
16782
d4261567
L
167832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16784
16785 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16786 Check __x86_64__ instead of __WORDSIZE.
16787 (_STAT_VER_LINUX): Likewise.
16788 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16789 __syscall_ulong_t and __syscall_slong_t.
16790 (stat64): Likewise.
16791
cf3ff365
L
167922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16793
16794 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16795
76cf3e4d
L
167962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16797
16798 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16799
a637753a
L
168002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16801
16802 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16803 __syscall_ulong_t.
16804
d5e05119
L
16805 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16806 include <bits/wordsize.h>. Check __x86_64__ instead of
16807 __WORDSIZE.
16808 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16809 defined.
16810 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16811
f62ee380
L
16812 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16813 include <bits/wordsize.h>. Check __x86_64__ instead of
16814 __WORDSIZE.
16815 (user_regs_struct): Use "__extension__ unsigned long long"
16816 instead of "unsigned long" if __x86_64__ is defined.
16817 (user): Likewise. Pad after pointer field if __ILP32__ is
16818 defined.
16819
4e124ced
JM
168202012-05-16 Joseph Myers <joseph@codesourcery.com>
16821
6a3951a0
JM
16822 * configure.in (makeinfo): Require version 4.5 or later. Allow
16823 versions 5 to 9.
16824 * configure: Regenerated.
16825 * manual/install.texi (texinfo): Increase version requirement to
16826 4.5 or later.
16827 * INSTALL: Regenerated.
16828
4e124ced
JM
16829 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16830
953ca31a
L
168312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16832
16833 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16834
617aca05
L
16835 * sysdeps/x86_64/x32/ffs.c: New file.
16836
5762f7ae
L
16837 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16838 __syscall_ulong_t.
16839 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16840 defined. Use __syscall_ulong_t.
16841 (shminfo): Use __syscall_ulong_t.
16842 (shm_info): Likewise.
16843
a26b6856
L
16844 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16845 __syscall_ulong_t.
16846
cb2b9ef7
L
16847 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16848 <bits/wordsize.h>.
16849 (msgqnum_t): Use __syscall_ulong_t.
16850 (msglen_t): Likewise.
16851 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16852 __syscall_ulong_t.
16853
34683bb0
L
16854 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16855 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16856
84a68786
L
16857 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16858
48baa5f1
L
16859 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16860 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16861
180be88b
L
16862 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16863 __syscall_slong_t.
16864
5e90c8ad
L
16865 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16866 include <bits/wordsize.h>. Check __x86_64__ instead of
16867 __WORDSIZE.
16868
23dfb58b
L
16869 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16870 "unsigned long long int" if __x86_64__ is defined.
16871 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16872
ce5d54b0
L
16873 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16874 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16875 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16876
13dc9eac
L
16877 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16878 <stdint.h>.
16879 (GET_PC): Cast to uintptr_t first.
16880 (GET_FRAME): Likewise.
16881 (GET_STACK): Likewise.
16882
a7895d15
L
16883 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16884 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16885 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16886 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16887 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16888 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16889 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16890 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16891 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16892 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16893 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16894 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16895 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16896 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16897 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16898 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16899 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16900 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16901 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16902 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16903 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16904 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16905 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16906 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16907 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16908 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16909 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16910 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16911 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16912
656416c9
AS
169132012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16914
5bd66283
AS
16915 * Makerules (+depfiles): Also collect depfiles from .oS in
16916 $(extra-objs).
16917 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16918 .oS, $(libnldbl-routines)).
16919
656416c9
AS
16920 * Makerules (native-compile-mkdep-flags): Define.
16921 * sunrpc/Makefile (extra-objs): Add $(addprefix
16922 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16923 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16924 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16925 calling $(make-target-directory).
16926
a46f2169
L
169272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16928
16929 * bits/types.h (__snseconds_t): Removed.
16930 * time/time.h (struct timespec): Replace __snseconds_t with
16931 __syscall_slong_t.
16932 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16933 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16934 Likewise.
16935 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16936 (__SNSECONDS_T_TYPE): Likewise.
16937 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16938 (__SNSECONDS_T_TYPE): Likewise.
16939 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16940 (__SNSECONDS_T_TYPE): Likewise.
16941
6af6528b
L
169422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16943
16944 * sysdeps/mach/hurd/bits/typesizes.h
16945 (__SYSCALL_SLONG_TYPE): New macro.
16946 (__SYSCALL_ULONG_TYPE): Likewise.
16947
de986b56
L
169482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16949
16950 * bits/types.h (__syscall_slong_t): New type.
16951 (__syscall_ulong_t): Likewise.
16952
16953 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16954 (__SYSCALL_ULONG_TYPE): Likewise.
16955 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16956 (__SYSCALL_SLONG_TYPE): Likewise.
16957 (__SYSCALL_ULONG_TYPE): Likewise.
16958 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16959 (__SYSCALL_SLONG_TYPE): Likewise.
16960 (__SYSCALL_ULONG_TYPE): Likewise.
16961 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16962 (__SYSCALL_SLONG_TYPE): Likewise.
16963 (__SYSCALL_ULONG_TYPE): Likewise.
16964
85736dc7
L
169652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16966
16967 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16968 Add sigaltstack-offsets.sym.
16969 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16970 <sigaltstack-offsets.h>.
16971 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16972 longjmp_msg pointer.
16973 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16974 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16975 signal stack.
16976 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16977
cc03b296
JM
169782012-05-15 Joseph Myers <joseph@codesourcery.com>
16979
a9538892
JM
16980 * elf/stackguard-macros.h: Remove file.
16981 * sysdeps/generic/stackguard-macros.h: New file.
16982 * sysdeps/i386/stackguard-macros.h: Likewise.
16983 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16984 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16985 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16986 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16987 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16988 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16989 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16990 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16991 <elf/stackguard-macros.h>.
16992
cc03b296
JM
16993 [BZ #14109]
16994 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16995 __aligned__ in attribute.
16996 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16997 (gregset_t): Likewise.
16998
93171016
L
169992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17000
17001 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17002 * sysdeps/x86_64/64/Implies-after: Here. New file.
17003 * sysdeps/x86_64/x32/Implies-after: New file.
17004
d86813a0
L
170052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17006
17007 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17008 and access return value for _dl_profile_fixup. Use R10_LP to
17009 load frame size.
17010
2953ec75
L
170112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17012
17013 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17014
3b550e9e
L
170152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17016
17017 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17018 * sysdeps/x86_64/x32/sysdep.h: New file.
17019
eda41706
L
170202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17021
17022 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17023 * sysdeps/x86_64/setjmp.S: Likewise.
17024
9ea01d93
AZ
170252012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17026
17027 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17028 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17029 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17030 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17031 remove unused global constant.
17032
02a91938
CM
170332012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17034
17035 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17036 include of <not-cancel.h>.
17037
6540185f
RM
170382012-05-15 Roland McGrath <roland@hack.frob.com>
17039
17040 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17041
509072a0
AJ
170422012-05-15 Jeff Law <law@redhat.com>
17043 Andreas Jaeger <aj@suse.de>
17044
17045 [BZ #13594]
17046 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17047 out from...
17048 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17049 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17050 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17051 code changing __hst_map_handle.map.
17052
ba75122d
RM
170532012-05-15 Roland McGrath <roland@hack.frob.com>
17054
17055 * configure.in (sysnames): Look for Implies-before and Implies-after
17056 files.
17057 * configure: Regenerated.
17058
890d8bd8
L
170592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17060
17061 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17062 8-byte data alignment with LP_SIZE alignment.
17063
f6ee6623
L
170642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17065
17066 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17067 into R10_LP.
17068
ea2626f6
L
170692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17070
17071 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17072
085f715e
L
170732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17074
17075 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17076 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17077 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17078 Likewise.
17079 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17080
be8498fc
L
170812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17082
17083 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17084 (stackinfo_sub_sp): Likewise.
17085
70bc83b9
L
170862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17087
17088 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17089 RAX_LP.
17090
9bc0b730
L
170912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17092
17093 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17094 into R*_LP.
17095
6d2850e7
L
170962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17097
17098 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17099 sizes into R*_LP.
17100
3cb84561
L
171012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17102
17103 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17104
54e2ed81
L
171052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17106
17107 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17108 into R11_LP and load __x86_64_shared_cache_size_half into
17109 R8_LP.
17110
8a17f349
L
171112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17112
17113 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17114 R8_LP.
17115
777b1eea
AZ
171162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17117
17118 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17119 logb for POWER7.
17120 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17121 logbf for POWER7.
17122 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17123 logbl for POWER7.
17124 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17125 powerpc32/power7/fpu/s_logb.c via #include.
17126 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17127 powerpc32/power7/fpu/s_logbf.c via #include.
17128 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17129 powerpc32/power7/fpu/s_logbl.c via #include.
17130
d20d4ac2
JM
171312012-05-15 Joseph Myers <joseph@codesourcery.com>
17132
17133 * README.libm: Remove file.
17134
6cdef1ab
L
171352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17136
17137 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17138 count for x32. Use R*_LP and omit operand-size suffix.
17139
0b254d8f
L
171402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17141
17142 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17143 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17144 * sysdeps/x86_64/x32/shlib-versions: New file.
17145
ceb809dc
RM
171462012-05-14 Roland McGrath <roland@hack.frob.com>
17147
17148 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17149 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17150 Use _dl_fatal_printf instead.
17151
37f1abd4
JM
171522012-05-14 Joseph Myers <joseph@codesourcery.com>
17153
17154 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17155 set if not set by the user. Do not allow for being unset.
17156 * sysdeps/unix/sysv/linux/configure: Regenerated.
17157
11de3a33
L
171582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17159
17160 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17161 the `q' suffix from lea and replace .quad with ASM_ADDR.
17162
e02f153a
L
171632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17164
17165 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17166 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17167 instead of $17.
17168 (PTR_DEMANGLE): Likewise.
17169
520ae0fd
L
171702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17171
17172 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17173 (LP_OP): Likewise.
17174 (ASM_ADDR): Likewise.
17175 (RAX_LP): Likewise.
17176 (RBP_LP): Likewise.
17177 (RBX_LP): Likewise.
17178 (RCX_LP): Likewise.
17179 (RDI_LP): Likewise.
17180 (RSI_LP): Likewise.
17181 (RSP_LP): Likewise.
17182 (R8_LP): Likewise.
17183 (R9_LP): Likewise.
17184 (R10_LP): Likewise.
17185 (R10_LP): Likewise.
17186 (R11_LP): Likewise.
17187 (R12_LP): Likewise.
17188 (R13_LP): Likewise.
17189 (R14_LP): Likewise.
17190 (R15_LP): Likewise.
17191
b985be81
L
171922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17193
17194 * sysdeps/x86_64/x32/dl-machine.h: New file.
17195
6a4888ff
AJ
171962012-05-14 Andreas Jaeger <aj@suse.de>
17197
17198 * manual/Makefile (subdir): Remove export of subdir.
17199 (all): Remove target.
17200 (.PHONY): Remove all from list.
17201 (mkinstalldirs): Remove.
17202 (.PHONY): Remove installdirs from list.
17203 ($(inst_infodir)/libc.info): Use make-target-directory.
17204 (installdirs): Remove.
17205 (subdir_%): Remove.
17206 (glibc-targets): Remove.
17207 (lib): Remove.
17208 (stubs): Remove.
17209 ($(objpfx)stubs ../po/manual.pot): Remove.
17210 ($(objpfx)stamp%): Remove.
17211 (make-target-directory): Remove.
17212 (subdir_install): Remove.
17213 (routines): Remove.
17214 (aux): Remove.
17215 (sources): Remove.
17216 (objects): Remove.
17217 (headers): Remove.
17218
17219 [BZ #13750]
17220 * manual/.gitignore: Remove, it's not needed anymore.
17221 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17222 all files in it.
17223 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17224 directory.
17225 (texis): Renamed to $(objpfx)texis.
17226 (texis-path): New, contains path to generated files.
17227 (chapters.%): Use texis-path for complete path, add extra argument
17228 libc-texinfo.sh.
17229 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17230 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17231 (summary,texi, stamp-summary): Use complete path of
17232 files. Generate files in build dir.
17233 (dir-add.texi): Build in build dir.
17234 (libm-err.texi,stamp-libm-err): Likewise.
17235 (version.texi, stamp-version): Likewise.
17236 (.%c.texi): Likewise.
17237 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17238 (mostlyclean): Remove target.
17239 (realclean): Remove target.
17240 (generated): Add new variable with contents from mostlyclean and
17241 realclean, remove entries duplicated in common-mostlyclean, add
17242 stamp-libm-err and stamp-version.
17243 (generated-dirs): Add libc directory.
17244 ($(inst_infodir)/libc.info): Install files from build dir.
17245
17246 * manual/install.texi (Configuring and compiling): Adjust since
17247 the info files are not part of the tar ball anymore.
17248
7ac77294
AJ
172492012-05-14 Andreas Jaeger <aj@suse.de>
17250
17251 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17252 variable.
17253
ffb7875d
JM
172542012-05-14 Joseph Myers <joseph@codesourcery.com>
17255
17256 [BZ #13717]
17257 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17258 to 2.2.0 where earlier.
17259 * sysdeps/unix/sysv/linux/configure: Regenerated.
17260 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17261 Remove conditional code.
17262 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17263 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17264 Remove conditional code.
17265 [!__NR_lchown]: Likewise.
17266 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17267 [__NR_lchown]: Likewise.
17268 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17269 comment referencing __ASSUME_LCHOWN_SYSCALL.
17270 * sysdeps/unix/sysv/linux/i386/sigaction.c
17271 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17272 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17273 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17274 Remove conditional code.
17275 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17276 (__protocol_available): Remove #if 0 code.
17277 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17278 conditional code.
17279 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17280 * sysdeps/unix/sysv/linux/kernel-features.h
17281 (__ASSUME_GETCWD_SYSCALL): Don't define.
17282 (__ASSUME_REALTIME_SIGNALS): Likewise.
17283 (__ASSUME_PREAD_SYSCALL): Likewise.
17284 (__ASSUME_PWRITE_SYSCALL): Likewise.
17285 (__ASSUME_POLL_SYSCALL): Likewise.
17286 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17287 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17288 non-SPARC.
17289 (__ASSUME_SIOCGIFNAME): Don't define.
17290 (__ASSUME_MSG_NOSIGNAL): Likewise.
17291 (__ASSUME_SENDFILE): Define unconditionally.
17292 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17293 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17294 conditional code.
17295 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17296 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17297 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17298 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17299 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17300 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17301 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17303 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17304 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17306 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17307 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17309 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17310 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17312 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17313 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17315 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17316 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17318 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17319 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17321 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17322 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17324 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17325 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17326 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17327 Remove conditional code.
17328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17329 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17330 Remove conditional code.
17331 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17332 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17333 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17334 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17335 Remove conditional code.
17336 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17337 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17338 Remove conditional code.
17339 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17340 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17341 Remove conditional code.
17342 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17343 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17344 Remove conditional code.
17345 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17346 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17347 Remove conditional code.
17348 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17349 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17350 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17351 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17352 * sysdeps/unix/sysv/linux/sigaction.c
17353 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17354 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17355 * sysdeps/unix/sysv/linux/sigpending.c
17356 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17357 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17358 * sysdeps/unix/sysv/linux/sigprocmask.c
17359 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17360 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17361 * sysdeps/unix/sysv/linux/sigsuspend.c
17362 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17363 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17364 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17365 (__libc_missing_rt_sigs): Remove.
17366 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17367 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17368 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17369 Remove conditional code.
17370 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17371 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17372 return 1.
17373 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17374 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17375 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17376 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17377
1bfb7291
AJ
173782012-05-14 Andreas Jaeger <aj@suse.de>
17379
caae5a81
AJ
17380 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17381 it's not used in glibc.
17382 (__coshm1): Likewise.
17383 (__acosh1p): Likewise.
17384 (__sgn): Likewise.
17385
1bfb7291
AJ
17386 * manual/string.texi (Copying and Concatenation): Add missing
17387 variable in concat example.
17388 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17389
c044d724
L
173902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17391
144c5467 17392 [BZ #14103]
c044d724
L
17393 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17394 __builtin_clzl with __builtin_clzll.
17395
2523c62b
L
173962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17397
17398 [BZ #14104]
17399 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17400 libc_freeres_ptr.
17401
d7bb4c42
LD
174022012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17403
17404 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17405 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17406 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17407 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17408
9dc4e1fb
MF
174092012-05-14 Mike Frysinger <vapier@gentoo.org>
17410
17411 * NEWS: Update ia64 info.
17412
c7df0112
AS
174132012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17414
17415 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17416 used as bcopy.
17417
dc70356c
TS
174182012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17419
17420 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17421 * sysdeps/unix/syscalls.list (dup3): Likewise.
17422 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17423 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17424
9fb1a21f
L
174252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17426
17427 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17428 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17429
4822a2a5
L
174302012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17431
17432 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17433 thread pointer.
17434 (TLS_IE): Use mov/add instead of movq/addq to load thread
17435 pointer.
17436 (TLS_GD_PREFIX): New.
17437 (TLS_GD): Use it.
17438
842b81d6
DM
174392012-05-11 David S. Miller <davem@davemloft.net>
17440
17441 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17442 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17443 (_FPU_SETCW): Likewise.
17444
1cf463cd
L
174452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17446
17447 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17448 is 32-byte aligned.
17449
60cc4a18
AS
174502012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17451
17452 [BZ #11837]
17453 * iconvdata/gb18030.c: Update tables.
17454 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17455 characters specially.
17456 (BODY for TO_LOOP): Add encoding of missing ranges.
17457
febb44a4
TS
174582012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17459
17460 [BZ #13673]
17461 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17462 * sysdeps/mach/hurd/dup3.c: Likewise.
17463 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17464 * sysdeps/powerpc/memmove.c:: Likewise.
17465
0a10fb9e
L
174662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17467
17468 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17469 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17470
df8a552f
L
174712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17472
17473 * elf/elf.h (R_X86_64_RELATIVE64): New.
17474 (R_X86_64_NUM): Updated.
17475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17476 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17477 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17478 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17479 tst-quad1pie tst-quad2pie
17480 (modules-names): Add tst-quadmod1 tst-quadmod2.
17481 ($(objpfx)tst-quad1): New dependency.
17482 ($(objpfx)tst-quad2): Likewise.
17483 ($(objpfx)tst-quad1pie): Likewise.
17484 ($(objpfx)tst-quad2pie): Likewise.
17485 * sysdeps/x86_64/tst-quad1.c: New file.
17486 * sysdeps/x86_64/tst-quad1pie.c: New file.
17487 * sysdeps/x86_64/tst-quad2.c: Likewise.
17488 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17489 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17490 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17491 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17492 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17493
f34d6f84
ST
174942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17495
f42d41d1
ST
17496 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17497 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17498 * streams/stropts.h (t_scalar_t): Define type.
17499
3c3571fc
ST
17500 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17501 (_PATH_PRESERVE): Set to "/var/lib".
17502 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17503
61f06bd3
ST
17504 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17505 instead of int.
17506
918d4d71
ST
17507 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17508 if __dir_mkfile succeeded.
17509
f34d6f84
ST
17510 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17511 checking for _hurd_dtablesize. Unlock it right after having
17512 finished _hurd_dtable allocation.
17513
10589b4a
TS
175142012-05-10 Thomas Schwinge <thomas@schwinge.name>
17515
674cdbc7
TS
17516 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17517 * sysdeps/mach/hurd/configure: Regenerated.
17518 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17519 special-casing to...
17520 * sysdeps/gnu/configure.in: ... this new file.
17521 * sysdeps/unix/sysv/linux/configure: Regenerated.
17522 * sysdeps/gnu/configure: New generated file.
17523
8e41b99f
TS
17524 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17525 for Linux: use nsec instead of usec, as well as:
17526 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17527 members of type struct timespec.
17528 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17529 New macros.
17530 (struct stat64): Likewise.
17531 (_STATBUF_ST_NSEC): New macro.
17532 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17533
10589b4a
TS
17534 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17535 __strtoul_internal rather than strtoul.
17536
63643c85
PT
175372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17538
17539 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17540 and reject them.
17541
3faebe6a
ST
175422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17543
17544 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17545 which preserves existing values.
17546 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17547
c6474b07
PT
175482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17549
17550 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17551 TIMEOUT values. Return EINVAL for NFDS values either negative or
17552 greater than FD_SETSIZE.
17553
1043890b
ST
175542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17555
17556 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17557 allocated, call __vm_protect to finish enabling the existing space, and
17558 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17559 allocate the remainder.
17560
37ed8b9b
PT
175612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17562
17563 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17564 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17565
db653660
ST
175662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17567
37ed8b9b
PT
17568 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17569 sysdeps/mach/hurd/readlink.c.
b29d4053 17570
db653660
ST
17571 * posix/tst-sysconf.c (posix_options): Only use
17572 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17573 _POSIX_SYNCHRONIZED_IO when they are defined
17574 * sysdeps/mach/hurd/bits/posix_opt.h:
17575 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17576 (_XOPEN_REALTIME): Undefine macro.
17577 (_XOPEN_REALTIME_THREADS): Undefine macro.
17578 (_XOPEN_SHM): Undefine macro.
17579 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17580 macro to -1.
17581 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17582 macro to -1.
17583 (_POSIX_ASYNC_IO): Undefine macro.
17584 (_POSIX_PRIORITIZED_IO): Undefine macro.
17585 (_POSIX_SPIN_LOCKS): Define macro to -1.
17586
ee16e894
ST
17587 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17588 SA_NODEFER, SA_RESETHAND.
17589 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17590 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17591 F_DUPFD_CLOEXEC.
17592
6103ae3b
TS
175932012-05-10 Thomas Schwinge <thomas@schwinge.name>
17594
17595 * elf/Makefile (pldd-modules): Define unconditionally.
17596
80b4e5f3
TS
175972012-05-10 Thomas Schwinge <thomas@schwinge.name>
17598
17599 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17600
edadcbd6
ST
176012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17602
17603 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17604 Return ENOENT when name is empty.
17605 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17606
80694780
TS
176072012-05-10 Thomas Schwinge <thomas@schwinge.name>
17608
1792c087
TS
17609 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17610
80694780
TS
17611 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17612
6b645f0d
ST
176132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17614
80694780
TS
17615 Fix mlock in all cases except non-readable pages.
17616 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17617 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 17618
6b645f0d
ST
17619 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17620 (__mkdir): When path is `/', just fail with EEXIST.
17621 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17622
e468f8a3
TS
176232012-05-10 Thomas Schwinge <thomas@schwinge.name>
17624
17625 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17626 <sys/uio.h> (for writev).
17627 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17628 and <sys/param.h> (for MIN).
17629
a4186cff
PT
176302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17631
17632 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17633 REQUESTED_TIME. Properly set the remaining time and return EINTR
17634 if interrupted.
17635
510bbf14
TS
176362012-05-10 Thomas Schwinge <thomas@schwinge.name>
17637
17638 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17639 Depend on against $(link-rpcuserlibs).
17640
5d5722e8
ST
176412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17642
a4186cff
PT
17643 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17644 (__libc_stack_end): Do not use attribute_relro.
17645 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17646 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 17647 to libthread-provided value.
a4186cff
PT
17648 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17649 attribute_relro.
5d5722e8 17650
37233df9
TS
176512012-05-10 Thomas Schwinge <thomas@schwinge.name>
17652
be971a2b
TS
17653 [BZ #3748]
17654 * bits/libc-lock.h (__libc_once_get): New macro.
17655 * sysdeps/mach/bits/libc-lock.h: Likewise.
17656 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17657 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17658 instead of using implementation details.
17659
37233df9
TS
17660 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17661 * libio/freopen.c: Likewise.
17662 * libio/freopen64.c: Likewise.
17663 * misc/syslog.c: Likewise.
17664 * nscd/connections.c: Likewise.
17665 * nscd/netgroupcache.c: Likewise.
17666 * sysdeps/posix/getcwd.c: Likewise.
17667
38de94a5
RM
176682012-05-10 Roland McGrath <roland@hack.frob.com>
17669
17670 * math/w_ilogbf.c: Add #include <limits.h>.
17671
67530489
ST
176722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17673
a4186cff 17674 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
17675 path instead of returning without unlocking.
17676
67530489
ST
17677 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17678 immediate-write ioctls.
17679 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17680
5aa3a74a
TS
176812012-05-10 Thomas Schwinge <thomas@schwinge.name>
17682
18bad2ae
TS
17683 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17684 __builtin_frame_address instead of making assumptions about the
17685 location of the return address relative to DATA. Force early load of
17686 the return address.
17687 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17688 __builtin_frame_address.
17689
5aa3a74a
TS
17690 dup3 for GNU Hurd.
17691 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17692 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17693 implement dup3 and do some further code clean-ups.
17694 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17695 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17696
ecd0de9a
ST
176972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17698
cd9fa985
ST
17699 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17700
a4186cff
PT
17701 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17702 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17703 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17704 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17705 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17706 d->port.lock.
802ca5a5 17707
a4186cff
PT
17708 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17709 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17710 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 17711
bcf55240
TS
177122012-05-10 Thomas Schwinge <thomas@schwinge.name>
17713
6960eb42
TS
17714 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17715 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17716 definitions.
17717
eb43375f
TS
17718 accept4 for GNU Hurd.
17719 * include/sys/socket.h (__libc_accept4): New prototype.
17720 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17721 to implement __libc_accept4.
17722 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17723 __libc_accept4.
17724 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17725
bcf55240
TS
17726 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17727 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17728 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17729 signal-defines.sym.
17730
6178c55b
ST
177312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17732
a4186cff 17733 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 17734
6f080c2f
TS
177352012-05-10 Thomas Schwinge <thomas@schwinge.name>
17736
17737 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17738 assertion on O_CLOEXEC flag.
17739 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17740 * hurd/intern-fd.c: Likewise.
17741 * hurd/port2fd.c: Likewise.
17742
bcfe3a54
ST
177432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17744
17745 [BZ #3906]
17746 * bits/in.h (IPV6_PKTINFO): Define new macro.
17747 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17748
89c9aa49
AZ
177492012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17750
17751 [BZ #13954]
17752 [BZ #13955]
17753 [BZ #13956]
17754 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17755 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17756 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17757 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17758 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17759 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17760 * math/libm-test.inc (logb_test) : Additional logb tests.
17761
021db4be
AJ
177622012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17763 Andreas Jaeger <aj@suse.de>
17764
17765 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17766 * configure: Regenerated.
17767 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17768 * config.make.in (link-obsolete-rpc): New substituted variable.
17769 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17770 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17771 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17772 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17773 so that libc.a contains the symbols.
17774 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17775 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17776 * sunrpc/auth_none.c: Likewise.
17777 * sunrpc/auth_unix.c: Likewise.
17778 * sunrpc/authdes_prot.c: Likewise.
17779 * sunrpc/authuxprot.c: Likewise.
17780 * sunrpc/clnt_gen.c: Likewise.
17781 * sunrpc/clnt_perr.c: Likewise.
17782 * sunrpc/clnt_raw.c: Likewise.
17783 * sunrpc/clnt_simp.c: Likewise.
17784 * sunrpc/clnt_tcp.c: Likewise.
17785 * sunrpc/clnt_udp.c: Likewise.
17786 * sunrpc/clnt_unix.c: Likewise.
17787 * sunrpc/des_crypt.c: Likewise.
17788 * sunrpc/des_soft.c: Likewise.
17789 * sunrpc/get_myaddr.c: Likewise.
17790 * sunrpc/key_call.c: Likewise.
17791 * sunrpc/key_prot.c: Likewise.
17792 * sunrpc/netname.c: Likewise.
17793 * sunrpc/pm_getmaps.c: Likewise.
17794 * sunrpc/pm_getport.c: Likewise.
17795 * sunrpc/pmap_clnt.c: Likewise.
17796 * sunrpc/pmap_prot.c: Likewise.
17797 * sunrpc/pmap_prot2.c: Likewise.
17798 * sunrpc/pmap_rmt.c: Likewise.
17799 * sunrpc/publickey.c: Likewise.
17800 * sunrpc/rpc_cmsg.c: Likewise.
17801 * sunrpc/rpc_common.c: Likewise.
17802 * sunrpc/rpc_dtable.c: Likewise.
17803 * sunrpc/rpc_prot.c: Likewise.
17804 * sunrpc/rpc_thread.c: Likewise.
17805 * sunrpc/rtime.c: Likewise.
17806 * sunrpc/svc.c: Likewise.
17807 * sunrpc/svc_auth.c: Likewise.
17808 * sunrpc/svc_raw.c: Likewise.
17809 * sunrpc/svc_run.c: Likewise.
17810 * sunrpc/svc_tcp.c: Likewise.
17811 * sunrpc/svc_udp.c: Likewise.
17812 * sunrpc/svc_unix.c: Likewise.
17813 * sunrpc/svcauth_des.c: Likewise.
17814 * sunrpc/xcrypt.c: Likewise.
17815 * sunrpc/xdr.c: Likewise.
17816 * sunrpc/xdr_array.c: Likewise.
17817 * sunrpc/xdr_float.c: Likewise.
17818 * sunrpc/xdr_intXX_t.c: Likewise.
17819 * sunrpc/xdr_mem.c: Likewise.
17820 * sunrpc/xdr_rec.c: Likewise.
17821 * sunrpc/xdr_ref.c: Likewise.
17822 * sunrpc/xdr_sizeof.c: Likewise.
17823 * sunrpc/xdr_stdio.c: Likewise.
17824
b5c086a2
RM
178252012-05-10 Roland McGrath <roland@hack.frob.com>
17826
17827 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17828 change. Update copyright years.
17829
6d74dd09
JM
178302012-05-10 Joseph Myers <joseph@codesourcery.com>
17831
17832 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17833
28e72501
MK
178342012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17835 Joseph Myers <joseph@codesourcery.com>
17836 Paul Pluzhnikov <ppluzhnikov@google.com>
17837
17838 [BZ #14012]
17839 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17840 requiring rpcgen.
17841 [cross-compiling] (extra-libs): Likewise.
17842 [cross-compiling] (extra-libs-others): Likewise.
17843 [cross-compiling] (librpcsvc-routines): Likewise.
17844 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17845 [cross-compiling] (omit-deps): Likewise.
17846 (sunrpc-CPPFLAGS): New variable.
17847 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17848 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17849 (cross-rpcgen-objs): New variable.
17850 (extra-objs): Append $(cross-rpcgen-objs).
17851 ($(cross-rpcgen-objs)): New rule.
17852 ($(objpfx)cross-rpcgen): Likewise.
17853 (rpcgen-cmd): Define to use $(built-program-file). Expand
17854 comment.
17855 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17856 ($(objpfx)x%.stmp): Likewise.
17857 * sunrpc/proto.h [IS_IN_build] (_): Define.
17858 [IS_IN_build] (_libc_intl_domainname): Likewise.
17859
c8c59454
L
178602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17861
17862 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17863 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17864 and R_X86_64_TPOFF64.
17865
6f27cd16
JM
178662012-05-10 Joseph Myers <joseph@codesourcery.com>
17867
17868 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17869 sysdeps/unix/sysv/syscalls.list.
17870 (stime): Likewise.
17871 (utime): Likewise.
17872 * sysdeps/unix/sysv/syscalls.list: Remove file.
17873
02467e1c
PE
178742012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17875
17876 [BZ #3440]
17877 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17878 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17879 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17880 (__LC_IDENTIFICATION): Make these macros useful in #if
17881 expressions, as required by C99.
17882
da392631
AS
178832012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17884
17885 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17886 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17887 after this.
17888
8115f29b
L
178892012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17890
17891 * stdlib/longlong.h: Updated from GCC.
17892
bdd74070
AJ
178932012-05-09 Andreas Jaeger <aj@suse.de>
17894
edfe0dbe
AJ
17895 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17896 default is first entry.
17897 (run_mode): Set type.
17898 (main): Remove informal message about syslog.
17899 (options): Fix typo.
17900
bcfe3a54
ST
17901 [BZ #14053]
17902 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 17903 to asm.
bcfe3a54
ST
17904 (lrint): Likewise.
17905 (llrintf): Likewise.
17906 (llrint): Likewise.
17907 (rint): Likewise.
17908 (rintf): Likewise.
17909 (nearbyint): Likewise.
17910 (nearbyintf): Likewise.
bdd74070 17911
91d8d69e
AJ
179122012-05-09 Andreas Jaeger <aj@suse.de>
17913 Pedro Alves <palves@redhat.com>
17914
17915 * nscd/nscd.c (run_mode): Use enum.
17916 (main): Cleanup coding style issue.
17917
bb90b80b
AJ
179182012-05-09 Alexandre Oliva <aoliva@redhat.com>
17919 Andreas Jaeger <aj@suse.de>
17920
bcfe3a54
ST
17921 * nscd/nscd.c (go_background): Replaced with...
17922 (run_mode): ... this.
bb90b80b 17923 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
17924 (options): Add -F --foreground.
17925 (main): Implement it.
17926 (parse_opt): Parse it.
bb90b80b 17927
1a4b75a1
AJ
179282012-05-09 Andreas Jaeger <aj@suse.de>
17929
17930 [BZ #14083]
17931 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17932 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17933 -Wconversion warning.
17934 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17935 Likewise.
17936
b1cc2472
JM
179372012-05-09 Joseph Myers <joseph@codesourcery.com>
17938
17939 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17940 == 0.
17941 (LC_ALL): Use macro-int-constant.
17942 (LC_COLLATE): Likewise.
17943 (LC_CTYPE): Likewise.
17944 (LC_MESSAGES): Likewise.
17945 (LC_MONETARY): Likewise.
17946 (LC_NUMERIC): Likewise.
17947 (LC_TIME): Likewise.
17948 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17949 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17950 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17951 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17952 Specify type.
17953 [C99-based standards] (float_t): Expect type.
17954 [C99-based standards] (double_t): Expect type.
17955 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17956 type.
17957 [C99-based standards] (HUGE_VALL): Likewise.
17958 [C99-based standards] (INFINITY): Likewise.
17959 [C99-based standards] (NAN): Likewise.
17960 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17961 [C99-based standards] (FP_NAN): Likewise.
17962 [C99-based standards] (FP_NORMAL): Likewise.
17963 [C99-based standards] (FP_SUBNORMAL): Likewise.
17964 [C99-based standards] (FP_ZERO): Likewise.
17965 [C99-based standards] (FP_FAST_FMA): Use
17966 optional-macro-int-constant. Specify type. Require == 1.
17967 [C99-based standards] (FP_FAST_FMAF): Likewise.
17968 [C99-based standards] (FP_FAST_FMAL): Likewise.
17969 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17970 [C99-based standards] (FP_ILOGBNAN): Likewise.
17971 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17972 Specify type.
17973 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17974 [C99-based standards] (math_errhandling): Specify type.
17975 [ISO99 || ISO11] (signgam): Do not allow.
17976 [non-C99-based standards] (copysignf): Do not allow.
17977 [non-C99-based standards] (exp2f): Likewise.
17978 [non-C99-based standards] (log2f): Likewise.
17979 [non-C99-based standards] (modff): Allow.
17980 [non-C99-based standards] (erff): Do not allow.
17981 [non-C99-based standards] (erfcf): Likewise.
17982 [non-C99-based standards] (gammaf): Likewise.
17983 [non-C99-based standards] (hypotf): Likewise.
17984 [non-C99-based standards] (j0f): Likewise.
17985 [non-C99-based standards] (j1f): Likewise.
17986 [non-C99-based standards] (jnf): Likewise.
17987 [non-C99-based standards] (lgammaf): Likewise.
17988 [non-C99-based standards] (tgammaf): Likewise.
17989 [non-C99-based standards] (y0f): Likewise.
17990 [non-C99-based standards] (y1f): Likewise.
17991 [non-C99-based standards] (ynf): Likewise.
17992 [non-C99-based standards] (isnanf): Likewise.
17993 [non-C99-based standards] (acoshf): Likewise.
17994 [non-C99-based standards] (asinhf): Likewise.
17995 [non-C99-based standards] (atanhf): Likewise.
17996 [non-C99-based standards] (cbrtf): Likewise.
17997 [non-C99-based standards] (expm1f): Likewise.
17998 [non-C99-based standards] (ilogbf): Likewise.
17999 [non-C99-based standards] (log1pf): Likewise.
18000 [non-C99-based standards] (logbf): Likewise.
18001 [non-C99-based standards] (nextafterf): Likewise.
18002 [non-C99-based standards] (remainderf): Likewise.
18003 [non-C99-based standards] (rintf): Likewise.
18004 [non-C99-based standards] (scalbf): Likewise.
18005 [non-C99-based standards] (copysignl): Likewise.
18006 [non-C99-based standards] (exp2l): Likewise.
18007 [non-C99-based standards] (log2l): Likewise.
18008 [non-C99-based standards] (modfl): Allow.
18009 [non-C99-based standards] (erfl): Do not allow.
18010 [non-C99-based standards] (erfcl): Likewise.
18011 [non-C99-based standards] (gammal): Likewise.
18012 [non-C99-based standards] (hypotl): Likewise.
18013 [non-C99-based standards] (j0l): Likewise.
18014 [non-C99-based standards] (j1l): Likewise.
18015 [non-C99-based standards] (jnl): Likewise.
18016 [non-C99-based standards] (lgammal): Likewise.
18017 [non-C99-based standards] (tgammal): Likewise.
18018 [non-C99-based standards] (y0l): Likewise.
18019 [non-C99-based standards] (y1l): Likewise.
18020 [non-C99-based standards] (ynl): Likewise.
18021 [non-C99-based standards] (isnanl): Likewise.
18022 [non-C99-based standards] (acoshl): Likewise.
18023 [non-C99-based standards] (asinhl): Likewise.
18024 [non-C99-based standards] (atanhl): Likewise.
18025 [non-C99-based standards] (cbrtl): Likewise.
18026 [non-C99-based standards] (expm1l): Likewise.
18027 [non-C99-based standards] (ilogbl): Likewise.
18028 [non-C99-based standards] (log1pl): Likewise.
18029 [non-C99-based standards] (logbl): Likewise.
18030 [non-C99-based standards] (nextafterl): Likewise.
18031 [non-C99-based standards] (remainderl): Likewise.
18032 [non-C99-based standards] (rintl): Likewise.
18033 [non-C99-based standards] (scalbl): Likewise.
18034 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18035 [non-C99-based standards] (FP_*): Do not allow.
18036 [C99-based standards] (FP_*): Change to
18037 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18038 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18039 allow.
18040 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18041 (SIG_ERR): Likewise.
18042 [X/Open-based standards] (SIG_HOLD): Likewise.
18043 (SIG_IGN): Likewise.
18044 (SIGABRT): Use macro-int-constant. Specify type. Require
18045 positive value.
18046 (SIGFPE): Likewise.
18047 (SIGILL): Likewise.
18048 (SIGINT): Likewise.
18049 (SIGSEGV): Likewise.
18050 (SIGTER): Likewise.
18051 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18052 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18053 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18054 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18055 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18056 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18057 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18058 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18059 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18060 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18061 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18062 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18063 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18064 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18065 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18066 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18067 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18068 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18069 [X/Open-based standards] (SIGTRAP): Likewise.
18070 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18071 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18072 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18073 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18074 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18075 allow.
18076
b9f1922d
IW
180772012-05-08 Ian Wienand <ianw@vmware.com>
18078
18079 [BZ #14080]
18080 * time/tzset.c (__tzset_parse_tz): Update default rules for
18081 daylight time changes in the Energy Policy Act of 2005.
18082
1db86e88
AJ
180832012-05-09 Andreas Jaeger <aj@suse.de>
18084
18085 [BZ #13983]
18086 * elf/ldconfig.c (parse_conf): Change string to make clear that
18087 ldconfig only issued a warning if ld.so.conf does not exist.
18088
dee4a4e3
DM
180892012-05-08 David S. Miller <davem@davemloft.net>
18090
ee0db190
DM
18091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18092 movxtod instead of popping the value on the stack.
18093
dee4a4e3
DM
18094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18095
6a43ec98
CD
180962012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18097
18098 * config.h.in: Add HAVE_ARM_PCS_VFP.
18099
05c2c961
RMG
181002012-05-08 Roland Mc Grath <roland@hack.frob.com>
18101
bcfe3a54
ST
18102 [BZ #13979]
18103 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18104 checking but the checks are disabled for any reason.
05c2c961 18105
4b30f61a
L
181062012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18107
18108 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18109 and ELF64_R_TYPE with ELFW(R_TYPE).
18110
eee2bc67
JM
181112012-05-08 Joseph Myers <joseph@codesourcery.com>
18112
7ea5391a
JM
18113 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18114 (ulimit): Likewise.
18115
eee2bc67
JM
18116 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18117 (settimeofday): Likewise.
18118
abb66a67
MF
181192012-05-08 Mike Frysinger <vapier@gentoo.org>
18120
18121 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18122 a struct th_u2 inside the union, and move tu_block/tu_code into
18123 a new th_u3 union of tu_block/tu_code inside of that. Move
18124 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18125 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18126 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18127 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18128 (th_stuff): Change to th_u1.tu_stuff.
18129 (th_data): Define.
18130 (th_msg): Change to th_u1.th_u2.tu_data.
18131
7f18b530
DM
181322012-05-07 David S. Miller <davem@davemloft.net>
18133
05760585
DM
18134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18135
7f18b530
DM
18136 [BZ #14074]
18137 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18138 (SETUP_PIC_REG): Use it.
18139 (SETUP_PIC_REG_LEAF): Use it.
18140
495fd99f
JM
181412012-05-07 Joseph Myers <joseph@codesourcery.com>
18142
18143 [BZ #13885]
18144 [BZ #13923]
18145 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18146 USE_AS_EXPM1L.
18147 (EXPL_FINITE): Likewise.
18148 (FLDLOG): Likewise.
18149 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18150 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18151 e_expl.S.
18152 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18153 USE_AS_EXPM1L.
18154 (EXPL_FINITE): Likewise.
18155 (FLDLOG): Likewise.
18156 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18157 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18158 e_expl.S.
18159 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18160 test of -max_value argument for long double.
18161 * sysdeps/i386/fpu/libm-test-ulps: Update.
18162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18163
6693d694
DM
181642012-05-06 David S. Miller <davem@davemloft.net>
18165
18166 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18167 quad soft-float symbols whose references which are compiler
18168 generated.
18169 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18170
6c23e11c
JM
181712012-05-06 Joseph Myers <joseph@codesourcery.com>
18172
d8b82cad
JM
18173 [BZ #13884]
18174 [BZ #13914]
18175 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18176 USE_AS_EXP10L.
18177 (EXPL_FINITE): Likewise.
18178 (FLDLOG): Likewise.
18179 (c0): Likewise.
18180 (c1): Likewise.
18181 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18182 Adjust comments for base varying.
18183 (__expl_finite): Change alias to EXPL_FINITE.
18184 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18185 e_expl.S.
18186 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18187 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18189 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18190 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18191 USE_AS_EXP10L.
18192 (EXPL_FINITE): Likewise.
18193 (FLDLOG): Likewise.
18194 (c0): Likewise.
18195 (c1): Likewise.
18196 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18197 Adjust comments for base varying.
18198 (__expl_finite): Change alias to EXPL_FINITE.
18199 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18200 tests for bugs.
18201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18202
6c23e11c
JM
18203 [BZ #14064]
18204 * math/libm-test.inc (check_float_internal): Correct ulp
18205 calculation for subnormal expected results.
18206
29ba805c
AJ
182072012-05-06 Andreas Jaeger <aj@suse.de>
18208
18209 * Makeconfig (+math-flags): New, set to -frounding-math.
18210 (+cflags): Add +math-flags so that all of glibc gets compiled with
18211 it.
18212
18213 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18214
7b17aeda
JM
182152012-05-05 Joseph Myers <joseph@codesourcery.com>
18216
5779f134
JM
18217 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18218 Disable one test.
18219
41498f4d
JM
18220 [BZ #13787]
18221 [BZ #13922]
18222 [BZ #14036]
18223 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18224 (__ieee754_expl): Allow for and saturate large arguments.
18225 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18226 (u_threshold): Likewise.
18227 (__exp): Call __ieee754_exp before checking for overflow and
18228 underflow.
18229 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18230 (u_threshold): Likewise.
18231 (__expf): Call __ieee754_expf before checking for overflow and
18232 underflow.
18233 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18234 (u_threshold): Likewise.
18235 (__expl): Call __ieee754_expl before checking for overflow and
18236 underflow.
18237 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18238 (__ieee754_expl): Allow for and saturate large arguments.
18239 * math/libm-test.inc (exp_test): Add another test. Do not allow
18240 missing overflow exception on overflow.
18241 (expm1_test): Do not allow missing overflow exception on overflow.
18242
6698b8bf
JM
18243 * sysdeps/i386/fpu/e_expl.c: Move to ...
18244 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18245 rather than using inline asm.
18246 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18247 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18248 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18249
7b17aeda
JM
18250 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18251 (nice): Likewise.
18252 (poll): Likewise.
18253 (signal): Likewise.
18254 (time): Likewise.
18255 (times): Likewise.
18256
f7c85819
JM
182572012-05-04 Joseph Myers <joseph@codesourcery.com>
18258
18259 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18260 sysdeps/unix/common/syscalls.list.
18261 (fchmod): Likewise.
18262 (fchown): Likewise.
18263 (ftruncate): Likewise.
18264 (getrusage): Likewise.
18265 (gettimeofday): Likewise.
18266 (setpgid): Likewise.
18267 (setregid): Likewise.
18268 (setreuid): Likewise.
18269 (sigaction): Likewise.
18270 (truncate): Likewise.
18271 (vhangup): Likewise.
18272 * sysdeps/unix/common/syscalls.list: Remove file.
18273 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18274 * sysdeps/unix/sysv/linux/Implies: Likewise.
18275
336270d0
L
182762012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18277
18278 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18280 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18281 Moved to ...
18282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18283 Here.
18284 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18285 to ...
18286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18287 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18288 to ...
18289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18290 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18291 to ...
18292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18293 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18294 to ...
18295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18296 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18297 to ...
18298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18299 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18300 to ...
18301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18302 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18303 to ...
18304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18305 Here.
18306 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18307 to ...
18308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18309 Here.
18310 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18311 to ...
18312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18313 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18314 Moved to ...
18315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18316 Here.
18317 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18318 to ...
18319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18320
d128e450
JM
183212012-05-04 Joseph Myers <joseph@codesourcery.com>
18322
fa8ee516
JM
18323 * sysdeps/unix/common/bits/dirent.h: Remove file.
18324 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18325
d128e450
JM
18326 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18327 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18328 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18329 * sysdeps/unix/bsd/isatty.c: Likewise.
18330 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18331 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18332 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18333
ff8faaf0 183342012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18335
62881be4 18336 [BZ #13563]
31dc8730
AZ
18337 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18338 long double comparison inaccuracies.
18339 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18341
6fef930c
AS
183422012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18343
18344 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18345 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18346
8f203e6c
JM
183472012-05-04 Joseph Myers <joseph@codesourcery.com>
18348
18349 [BZ #14049]
18350 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18351 nonzero digits before rounding a hex value.
18352 * stdlib/tst-strtod.c (tests): Add another test.
18353
5197d9c2
AK
183542012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18355
18356 * sysdeps/s390/fpu/libm-test-ulps: Update.
18357
f0c1dedf
AJ
183582012-05-03 Andreas Jaeger <aj@suse.de>
18359
18360 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18361 does not get optimized out.
18362 (malloc_opt_barrier): New.
18363
a65ef2ae 183642012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18365 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18366
2b942cb7 18367 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18368 intermediate file deletion.
2b942cb7 18369 (generated): Add .symlist files.
a65ef2ae 18370
54b71e02
JM
183712012-05-03 Joseph Myers <joseph@codesourcery.com>
18372
18373 [BZ #13775]
18374 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18375 Redirect under this condition.
18376 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18377 [__USE_GNU] (__dprintf_chk): Not under this condition.
18378 [__USE_GNU] (__vdprintf_chk): Likewise.
18379 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18380 under this condition.
18381 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18382 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18383 [__USE_XOPEN2K8] (vdprintf): Likewise.
18384 [__USE_GNU] (__dprintf_chk): Not under this condition.
18385 [__USE_GNU] (__vdprintf_chk): Likewise.
18386 [__USE_GNU] (dprintf): Likewise.
18387 [__USE_GNU] (vdprintf): Likewise.
18388
d3dfcc41
RM
183892012-05-03 Roland McGrath <roland@hack.frob.com>
18390
18391 * elf/Makefile (common-generated): Set this instead of generated for
18392 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18393 $(all-built-dso)-derived lists.
18394
7ac30cc5
AJ
183952012-05-03 Andreas Jaeger <aj@suse.de>
18396
0c51e550
AJ
18397 * sysdeps/i386/fpu/libm-test-ulps: Update.
18398
7ac30cc5
AJ
18399 * FAQ: Removed.
18400 * FAQ.in: Likewise.
18401 * scripts/gen-FAQ.pl: Likewise.
18402 * manual/install.texi (Installation): Point to online location of
18403 FAQ.
18404 * Makefile (files-for-dist): Remove FAQ.
18405 (FAQ): Remove.
18406
d4c2917f
AM
184072012-05-02 Allan McRae <allan@archlinux.org>
18408
18409 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18410 (LDFLAGS-reldepmod5.so): Likewise.
18411 (LDFLAGS-reldep6mod1.so): Likewise.
18412 (LDFLAGS-reldep6mod4.so): Likewise.
18413 (LDFLAGS-reldep8mod3.so): Likewise.
18414 (LDFLAGS-unload4mod1.so): Likewise.
18415 (LDFLAGS-unload4mod2.so): Likewise.
18416 (LDFLAGS-tst-initorder): Likewise.
18417 (LDFLAGS-tst-initordera2.so): Likewise.
18418 (LDFLAGS-tst-initordera3.so): Likewise.
18419 (LDFLAGS-tst-initordera4.so): Likewise.
18420 (LDFLAGS-tst-initorderb2.so): Likewise.
18421 (LDFLAGS-noload): Likewise.
18422 (LDFLAGS-next): Likewise.
18423 (LDFLAGS-order2mod1.so): Likewise.
18424 (LDFLAGS-order2mod2.so): Likewise.
18425 (LDFLAGS-tst-initorder2): Likewise.
18426 (LDFLAGS-tst-initorder2a.so): Likewise.
18427 (LDFLAGS-tst-initorder2b.so): Likewise.
18428 (LDFLAGS-tst-initorder2c.so): Likewise.
18429 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18430
d77f993f
DM
184312012-05-02 David S. Miller <davem@davemloft.net>
18432
18433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18434
171a70b4
PP
184352012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18436
18437 [BZ #14055]
18438 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18439
0be196ad
AJ
184402012-05-02 Andreas Jaeger <aj@suse.de>
18441
18442 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18443 since we manipulate rounding mode.
18444 (CPPFLAGS-test-idouble.c): Likewise.
18445 (CPPFLAGS-test-ifloat.c): Likewise.
18446 (CFLAGS-test-ldouble.c): Likewise.
18447 (CFLAGS-test-double.c): Likewise.
18448 (CFLAGS-test-float.c): Likewise.
18449 (CFLAGS-test-misc.c): Likewise.
18450 (CFLAGS-test-test-fenv.c): Likewise.
18451
4f9d04aa
AZ
184522012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18453
2b942cb7
RM
18454 [BZ #2550]
18455 [BZ #2570]
18456 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18457 comparisons to determine direction to adjust input.
4f9d04aa 18458
82a79e7d
RM
184592012-05-01 Roland McGrath <roland@hack.frob.com>
18460
f5a01ca9
RM
18461 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18462 output to the target.
18463
90fe4186
RM
18464 * scripts/localplt.awk: New file.
18465 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18466 (check-localplt-CFLAGS): Variable removed.
18467 ($(all-built-dso:=.jmprel)): New static pattern rule.
18468 (generated): Add those targets.
18469 (localplt-built-dso): New variable.
18470 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18471
18472 * elf/check-localplt.c: File removed.
18473
82397ed6
RM
18474 * scripts/check-execstack.awk: New file.
18475 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18476 (check-execstack-CFLAGS): Variable removed.
18477 ($(objpfx)check-execstack.h): Target removed.
18478 ($(objpfx)execstack-default): New target.
18479 (generated): Add that instead of check-execstack.h.
18480 ($(all-built-dso:=.phdr)): New static pattern rule.
18481 (generated): Add those targets.
18482 * elf/check-execstack.c: File removed.
18483
82a79e7d
RM
18484 * scripts/check-textrel.awk: New file.
18485 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18486 (check-textrel-CFLAGS): Variable removed.
18487 (all-built-dso): Use := to define.o
18488 ($(all-built-dso:=.dyn)): New static pattern rule.
18489 (generated): Add those targets.
18490 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18491 * config.make.in (READELF): New substituted variable.
18492 * elf/check-textrel.c: File removed.
18493
62fde54f 184942012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18495
615605c9
JM
18496 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18497 allow.
18498 * conform/data/ctype.h-data [C99-based standards] (isblank):
18499 Expect function.
18500 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18501 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18502 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18503 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18504 Specify type. Require positive value.
18505 (EILSEQ): Likewise.
18506 (ERANGE): Likewise.
18507 [ISO || POSIX] (EILSEQ): Do not expect.
18508 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18509 Specify type. Require positive value.
18510 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18511 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18512 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18513 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18514 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18515 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18516 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18517 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18518 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18519 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18520 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18521 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18522 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18523 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18524 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18525 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18526 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18527 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18528 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18529 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18530 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18531 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18532 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18533 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18534 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18535 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18536 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18537 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18538 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18539 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18540 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18541 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18542 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18543 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18544 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18545 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18546 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18547 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18548 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18549 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18550 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18551 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18552 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18553 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18554 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18555 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18556 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18557 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18558 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18559 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18560 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18561 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18562 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18563 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18564 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18565 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18566 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18567 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18568 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18569 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18570 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18571 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18572 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18573 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18574 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18575 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18576 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18577 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18578 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18579 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18580 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18581 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18582 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18583 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18584 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18585 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18586 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18587 Require >= 2.
18588 (FLT_ROUNDS): Expect as macro, not constant.
18589 (FLT_MANT_DIG): Use macro-int-constant.
18590 (DBL_MANT_DIG): Likewise.
18591 (LDBL_MANT_DIG): Likewise.
18592 (FLT_DIG): Likewise.
18593 (DBL_DIG): Likewise.
18594 (LDBL_DIG): Likewise.
18595 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18596 (DBL_MIN_EXP): Likewise.
18597 (LDBL_MIN_EXP): Likewise.
18598 (FLT_MAX_EXP): Use macro-int-constant.
18599 (DBL_MAX_EXP): Likewise.
18600 (LDBL_MAX_EXP): Likewise.
18601 (FLT_MAX_10_EXP): Likewise.
18602 (DBL_MAX_10_EXP): Likewise.
18603 (LDBL_MAX_10_EXP): Likewise.
18604 (FLT_MAX): Use macro-constant.
18605 (DBL_MAX): Likewise.
18606 (LDBL_MAX): Likewise.
18607 (FLT_EPSILON): Use macro-constant. Give upper bound.
18608 (DBL_EPSILON): Likewise.
18609 (LDBL_EPSILON): Likewise.
18610 (FLT_MIN): Likewise.
18611 (DBL_MIN): Likewise.
18612 (LDBL_MIN): Likewise.
18613 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18614 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18615 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18616 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18617 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18618 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18619 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18620 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18621 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18622 [ISO11] (FLT_TRUE_MIN): Likewise.
18623 [ISO11] (LDBL_TRUE_MIN): Likewise.
18624 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18625 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18626 (SCHAR_MIN): Use macro-int-constant. Specify type.
18627 (SCHAR_MAX): Likewise.
18628 (UCHAR_MAX): Likewise.
18629 (CHAR_MIN): Likewise.
18630 (CHAR_MAX): Likewise.
18631 (MB_LEN_MAX): Use macro-int-constant.
18632 (SHRT_MIN): Use macro-int-constant. Specify type.
18633 (SHRT_MAX): Likewise.
18634 (USHRT_MAX): Likewise.
18635 (INT_MAX): Likewise.
18636 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18637 bound negative.
18638 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18639 bound with "U".
18640 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18641 bound with "L".
18642 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18643 bound negative. Suffix upper bound with "L".
18644 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18645 bound with "UL".
18646 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18647 Specify type.
18648 [C99-based standards] (LLONG_MAX): Likewise.
18649 [C99-based standards] (ULLONG_MAX): Likewise.
18650 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18651 == 0.
18652 [ISO11] (max_align_t): Require type.
18653 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18654
c9140a62
JM
18655 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18656 from $CFLAGS, without defining away __attribute__ calls.
18657 (checknamespace): Use $CFLAGS_namespace.
18658
9af0bf29
JM
18659 * conform/conformtest.pl (@keywords): Only include C99 keywords
18660 for standards based on C99 or C11.
18661
343222a2
JM
18662 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18663 Disable tests.
18664 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18665 UNIX98]: Likewise.
18666
661f8cf0
JM
18667 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18668 usability of symbols in #if.
18669
ee74b9cb
JM
18670 * conform/conformtest.pl: If macro or constant types start
18671 "promoted:", expect the symbol to be of the following type
18672 promoted by the integer promotions.
62fde54f 18673
aafc49b3
JM
18674 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18675 in one place. Also handle "macro-constant".
18676
fefdf574
JM
18677 * conform/conformtest.pl: Only accept expected macro values with
18678 "==". Parse all "macro" lines in one place.
18679 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18680
f2d922fe
JM
18681 * conform/conformtest.pl: Handle braced types on "constant" lines
18682 instead of handling "typed-constant".
18683 * conform/data/signal.h-data: Use "constant" instead of
18684 "typed-constant".
18685
d22956c9
JM
18686 * conform/conformtest.pl: Handle "optional-" at start of lines in
18687 one place rather than duplicating several cases. Handle each
18688 format of "macro" line with initial "optional-".
18689
028e2e38
JM
18690 * conform/conformtest.pl: Only accept expected constant or
18691 optional-constant values with "==". Parse all "constant" lines in
18692 one place. Parse all "optional-constant" lines in one place.
18693 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18694 * conform/data/fmtmsg.h-data: Likewise.
18695 * conform/data/netinet/in.h-data: Likewise.
18696 * conform/data/tar.h-data: Likewise.
18697 * conform/data/limits.h-data: Use "==" form on "constant" and
18698 "optional-constant" lines.
18699
1b8f2850
JM
18700 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18701 Use -std=c99 for XOPEN2K.
18702 (@knownproblems): Remove.
18703 (newtoken): Don't check %isknown.
18704
a05a144b
JM
18705 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18706 Do not expect macro.
18707 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18708 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18709 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18710 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18711 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18712 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18713 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18714 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18715 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18716 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18717 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18718 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18719 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18720 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18721 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18722 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18723 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18724 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18725 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18726 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18727 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18728 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18729 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18730 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18731 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18732 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18733 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18734 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18735 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18736 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18737 [XPG3] (acosh): Likewise.
18738 [XPG3] (asinh): Likewise.
18739 [XPG3] (atanh): Likewise.
18740 [XPG3] (cbrt): Likewise.
18741 [XPG3] (expm1): Likewise.
18742 [XPG3] (ilogb): Likewise.
18743 [XPG3] (log1p): Likewise.
18744 [XPG3] (logb): Likewise.
18745 [XPG3] (nextafter): Likewise.
18746 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18747 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18748 [XPG3] (remainder): Likewise.
18749 [XPG3] (rint): Likewise.
18750 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18751 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18752 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18753 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18754 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18755 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18756 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18757 [UNIX98 || XOPEN2K] (scalb): Expect.
18758 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18759 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18760 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18761 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18762 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18763 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18764 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18765 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18766 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18767 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18768 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18769 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18770 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18771 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18772 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18773 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18774 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18775 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18776 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18777 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18778 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18779 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18780 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18781 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18782 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18783 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18784 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18785 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18786 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18787 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18788 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18789 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18790 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18791 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18792 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18793 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18794 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18795 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18796 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18797 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18798 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18799 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18800 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18801 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18802 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18803 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18804 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18805 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18806 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18807 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18808 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18809 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18810 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18811 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18812 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18813 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18814 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18815 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18816 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18817 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18818 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18819 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18820 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18821 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18822 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18823 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18824 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18825 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18826 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18827 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18828 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18829 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18830 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18831 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18832 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18833 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18834 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18835 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18836 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18837 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18838 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18839 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18840 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18841 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18842 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18843 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18844 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18845 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18846 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18847 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18848 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18849 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18850 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18851 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18852 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18853 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18854 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18855 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18856 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18857 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18858 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18859 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18860 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18861 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18862 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18863 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18864 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18865 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18866 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18867 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18868 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18869 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18870 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18871 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18872 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18873 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18874 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18875 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18876 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18877 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18878 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18879 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18880 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18881 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18882 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18883 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18884 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18885 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18886 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18887 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18888 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18889 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18890 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18891 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18892 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18893 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18894 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18895
73c5ebe3
JM
18896 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18897 _XOPEN_SOURCE_EXTENDED for XPG4.
18898
39c33b6c
JM
18899 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18900
62fde54f
JM
18901 * Makeconfig (localtime): Remove variable.
18902 (inst_localtime-file): Likewise.
18903
0741d64c
AS
189042012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18905
18906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18907 Update.
18908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18909 Update.
18910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18911 Update.
18912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18913 Update.
18914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18915 Update.
18916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18917 Update.
18918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18919 Update.
18920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18921 Update.
18922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18923 Update.
18924
7cb029ee
JM
189252012-05-01 Joseph Myers <joseph@codesourcery.com>
18926
18927 [BZ #2550]
18928 [BZ #2570]
18929 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18930 comparisons to determine direction to adjust input.
18931 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18932 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18933 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18934 Likewise.
18935 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18936 Likewise.
18937 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18938 Likewise.
18939 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18940 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18941 Likewise.
18942 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18943 Likewise.
18944 * math/libm-test.inc (nexttoward_test): Add more tests.
18945
412bd966
AS
189462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18947
18948 [BZ #14040]
18949 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18950 in version GLIBC_2.1, not GLIBC_2.0.
18951 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18952 Likewise.
18953
9568c0c2
JM
189542012-04-30 Joseph Myers <joseph@codesourcery.com>
18955
adfbc8ac
JM
18956 [BZ #13942]
18957 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18958 (1 - x) * (1 + x).
18959 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18960 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18961 * math/libm-test.inc (acos_test): Add more tests.
18962 (asin_test): Likewise.
18963 * sysdeps/i386/fpu/libm-test-ulps: Update.
18964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18965
5ba3cc69
JM
18966 [BZ #14034]
18967 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18968 of square root.
18969 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18970 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18971 * math/libm-test.inc (acos_test_tonearest): New function.
18972 (acos_test_towardzero): Likewise.
18973 (acos_test_downward): Likewise.
18974 (acos_test_upward): Likewise.
18975 (asin_test_tonearest): Likewise.
18976 (asin_test_towardzero): Likewise.
18977 (asin_test_downward): Likewise.
18978 (asin_test_upward): Likewise.
18979 (main): Call the new functions.
18980 * sysdeps/i386/fpu/libm-test-ulps: Update.
18981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18982
9568c0c2
JM
18983 [BZ #13884]
18984 [BZ #13924]
18985 * math/e_exp10.c: Include <float.h>.
18986 (__ieee754_exp10): Handle underflow here rather than multiplying
18987 large negative argument by M_LN10.
18988 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18989 of __ieee754_expf.
18990 * math/e_exp10l.c: Include <float.h>.
18991 (__ieee754_exp10l): Handle underflow here rather than multiplying
18992 large negative argument by M_LN10l.
18993 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18994 spurious overflow exception on underflow.
18995
5ac3ea17
MP
189962012-04-29 Marek Polacek <polacek@redhat.com>
18997
18998 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18999 (__fortify_function): New macro.
19000 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19001 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19002 __extern_always_inline.
19003 * libio/bits/stdio2.h: Likewise.
19004 * libio/bits/stdio.h: Likewise.
19005 * string/string.h: Likewise.
19006 * string/bits/string3.h: Likewise.
19007 * include/stdio.h: Likewise.
19008 * stdlib/bits/stdlib.h: Likewise.
19009 * stdlib/stdlib.h: Likewise.
19010 * rt/bits/mqueue2.h: Likewise.
19011 * rt/mqueue.h: Likewise.
19012 * posix/bits/unistd.h: Likewise.
19013 * posix/unistd.h: Likewise.
19014 * io/bits/poll2.h: Likewise.
19015 * io/bits/fcntl2.h: Likewise.
19016 * io/fcntl.h: Likewise.
19017 * io/sys/poll.h: Likewise.
19018 * misc/bits/syslog.h: Likewise.
19019 * misc/bits/syslog-ldbl.h: Likewise.
19020 * misc/sys/syslog.h: Likewise.
19021 * socket/bits/socket2.h: Likewise.
19022 * socket/sys/socket.h: Likewise.
19023 * debug/tst-chk1.c: Likewise.
19024 * wcsmbs/bits/wchar2.h: Likewise.
19025 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19026 * wcsmbs/wchar.h: Likewise.
19027
ecf0ebfb
AJ
190282012-04-29 Andreas Jaeger <aj@suse.de>
19029
19030 * Makerules (tests): Remove enable-check-abi protection.
19031 (check-abi-warn): Remove.
19032 (check-abi-%): Remove check-abi-warn usage.
19033
19034 * configure.in: Remove check-abi configure option.
19035 * configure: Regenerated.
19036 * config.make.in (enable-check-abi): Remove.
19037
6d5c57fa
AS
190382012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19039
24c5d07e 19040 [BZ #14033]
ded5180a
AS
19041 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19042 double functions to double *_finite functions.
19043
7e0d315d
AS
19044 [BZ #13941]
19045 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19046 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19047 LDBL_MIN_EXP.
19048 * stdio-common/Makefile (tests): Add tst-sprintf3.
19049 * stdio-common/tst-sprintf3.c: New file.
19050
6d5c57fa
AS
19051 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19052 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19053
0749ff8b
JM
190542012-04-28 Joseph Myers <joseph@codesourcery.com>
19055
19056 * conform/conformtest.pl: Remove duplicate typed-constant
19057 handling.
19058
8dbd5d7b
DM
190592012-04-28 David S. Miller <davem@davemloft.net>
19060
19061 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19062 (check-abi-%): Remove AWK script prerequisite and explicit
19063 abilist directory.
19064 (check-abi): Rewrite to just diff the symlist with the abilist.
19065 (config-tls, config-abi-config): Delete, no longer used.
19066 (update-abi-%): Remove AWK script and explicit abilist directory.
19067 (update-abi): Rewrite to simply compare and conditionally copy the
19068 symlist and the sysdep abilist file. Remove update-abi-config
19069 checks.
19070 * abilist/ld.abilist: Remove.
19071 * abilist/libBrokenLocale.abilist: Remove.
19072 * abilist/libanl.abilist: Remove.
19073 * abilist/libcrypt.abilist: Remove.
19074 * abilist/libdl.abilist: Remove.
19075 * abilist/librt.abilist: Remove.
19076 * abilist/libthread_db.abilist: Remove.
19077 * abilist/libutil.abilist: Remove.
19078 * scripts/extract-abilist.awk: Remove.
19079 * scripts/merge-abilist.awk: Remove.
19080 * sysdeps/generic/libcidn.abilist: New file.
19081 * sysdeps/generic/libnss_compat.abilist: New file.
19082 * sysdeps/generic/libnss_db.abilist: New file.
19083 * sysdeps/generic/libnss_dns.abilist: New file.
19084 * sysdeps/generic/libnss_files.abilist: New file.
19085 * sysdeps/generic/libnss_hesiod.abilist: New file.
19086 * sysdeps/generic/libnss_nis.abilist: New file.
19087 * sysdeps/generic/libnss_nisplus.abilist: New file.
19088 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19089 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19090 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19091 file.
19092 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19093 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19094 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19095 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19096 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19097 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19098 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19099 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19100 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19101 file.
19102 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19103 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19104 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19105 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19106 file.
19107 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19108 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19109 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19110 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19111 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19112 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19113 file.
19114 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19115 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19116 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19117 file.
19118 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19120 New file.
19121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19122 New file.
19123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19124 New file.
19125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19126 New file.
19127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19128 New file.
19129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19130 New file.
19131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19132 New file.
19133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19134 New file.
19135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19136 New file.
19137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19138 New file.
19139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19140 New file.
19141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19142 New file.
19143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19144 New file.
19145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19146 file.
19147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19148 New file.
19149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19150 New file.
19151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19152 file.
19153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19154 New file.
19155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19156 New file.
19157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19158 file.
19159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19160 New file.
19161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19162 New file.
19163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19164 New file.
19165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19166 New file.
19167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19168 New file.
19169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19170 New file.
19171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19173 file.
19174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19175 New file.
19176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19177 file.
19178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19179 file.
19180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19181 file.
19182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19183 file.
19184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19185 file.
19186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19187 New file.
19188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19189 file.
19190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19191 file.
19192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19193 New file.
19194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19195 file.
19196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19198 file.
19199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19200 New file.
19201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19202 file.
19203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19204 file.
19205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19206 file.
19207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19208 file.
19209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19210 file.
19211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19212 New file.
19213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19214 file.
19215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19216 file.
19217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19218 New file.
19219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19220 file.
19221 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19222 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19223 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19224 file.
19225 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19226 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19227 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19228 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19229 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19230 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19231 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19232 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19233 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19234 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19237 file.
19238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19239 New file.
19240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19241 file.
19242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19243 file.
19244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19245 file.
19246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19247 file.
19248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19249 file.
19250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19251 New file.
19252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19253 New file.
19254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19255 file.
19256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19257 New file.
19258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19259 file.
19260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19262 file.
19263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19264 New file.
19265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19266 file.
19267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19268 file.
19269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19270 file.
19271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19272 file.
19273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19274 file.
19275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19276 New file.
19277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19278 New file.
19279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19280 file.
19281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19282 New file.
19283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19284 file.
19285
41d73a1b
JM
192862012-04-28 Joseph Myers <joseph@codesourcery.com>
19287
19288 * conform/conformtest.pl: Fix typo in handling typed-constant from
19289 allow-header.
19290
28aeeda4
JM
192912012-04-27 Joseph Myers <joseph@codesourcery.com>
19292
adae8f5e
JM
19293 * README: Cut down references to pre-2.6 Linux kernels and
19294 Linuxthreads. Update lists of configurations in libc and ports
19295 and sort alphabetically. Say "or newer" with Linux kernel version
19296 requirements.
19297
28aeeda4
JM
19298 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19299
a462cb63
RA
193002012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19301
19302 [BZ #887]
19303 * math/libm-test.inc (logb_test_downward): New test to expose
19304 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19305 rounding mode.
19306
6ad3493e
JM
193072012-04-27 Joseph Myers <joseph@codesourcery.com>
19308
19309 [BZ #14027]
19310 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19311 to be done.
19312 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19313 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19314
2ce4f015
JM
193152012-04-26 Joseph Myers <joseph@codesourcery.com>
19316
5aeb141a
JM
19317 * sysdeps/unix/i386/brk.S: Remove file.
19318 * sysdeps/unix/i386/dl-brk.S: Likewise.
19319 * sysdeps/unix/i386/pipe.S: Likewise.
19320 * sysdeps/unix/i386/sigreturn.S: Likewise.
19321 * sysdeps/unix/i386/syscall.S: Likewise.
19322 * sysdeps/unix/i386/vfork.S: Likewise.
19323 * sysdeps/unix/i386/wait.S: Likewise.
19324
7143acae
JM
19325 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19326 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19327
2ce4f015
JM
19328 * configure.in (arm*-none*): Do not allow without
19329 --enable-hacker-mode.
19330 (netbsd*): Remove case setting base_os.
19331 (386bsd*): Likewise.
19332 (freebsd*): Likewise.
19333 (bsdi*): Likewise.
19334 (osf*): Likewise.
19335 (sunos*): Likewise.
19336 (ultrix*): Likewise.
19337 (newsos*): Likewise.
19338 (dynix*): Likewise.
19339 (*bsd*): Likewise.
19340 (sysv*): Likewise.
19341 (isc*): Likewise.
19342 (esix*): Likewise.
19343 (sco*): Likewise.
19344 (minix*): Likewise.
19345 (irix4*): Likewise.
19346 (irix6*): Likewise.
19347 (solaris[2-9]*): Likewise.
19348 (none): Likewise.
19349 * configure: Regenerated.
19350
0ac229c8
AZ
193512012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19352
19353 [BZ #11521]
19354 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19355 overflow or cancellation in calculating denominator.
19356 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19357 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19358 down expression to avoid unexpected rounding in newer GCCs.
19359 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19360
33f244f4
DM
193612012-04-26 David S. Miller <davem@davemloft.net>
19362
19363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19364 long-double compat symbols.
19365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19378
cfa1f3e8
DM
193792012-04-25 David S. Miller <davem@davemloft.net>
19380
19381 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19382 HWCAP_* values only after the memory barriers have been defined.
19383 (atomic_full_barrier): Define.
19384 (atomic_read_barrier): Define.
19385 (atomic_write_barrier): Define.
19386
6e236b92
SP
193872012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19388
19389 * shlib-versions: Add libgcc_s version information.
19390 * sysdeps/generic/libgcc_s.h: Remove.
19391 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19392 libgcc_s.h.
19393 * sysdeps/gnu/unwind-resume.c: Likewise.
19394 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19395
aab39a09
DM
193962012-04-25 David S. Miller <davem@davemloft.net>
19397
19398 * sysdeps/unix/sparc/brk.S: Delete.
19399 * sysdeps/unix/sparc/dl-brk.S: Delete.
19400 * sysdeps/unix/sparc/pipe.S: Delete.
19401 * sysdeps/unix/sparc/sysdep.S: Delete.
19402 * sysdeps/unix/sparc/sysdep.h: Delete.
19403 * sysdeps/unix/sparc/vfork.S: Delete.
19404 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19405 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19406 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19407 ret_ERRVAL, r0, r1, MOVE): Define.
19408 (JUMPTARGET): Remove.
19409 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19410 sysdeps/unix/sparc/sysdep.h
19411 (ENTRY, END): Remove.
19412 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19413
a3cc4f48
JM
194142012-04-25 Joseph Myers <joseph@codesourcery.com>
19415
2ed8cda2
JM
19416 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19417 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19418 -DIS_IN_build.
19419
35d76d59
JM
19420 * timezone/README: Update upstream location and email address for
19421 tzcode and tzdata.
19422 * timezone/zdump.c: Update from tzcode 2012b.
19423 * timezone/zic.c: Likewise.
19424
a3cc4f48
JM
19425 * configure.in (libc_cv_as_needed): Remove test.
19426 * configure: Regenerated.
19427 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19428 conditional definition.
19429 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19430 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19431 * config.make.in (have-as-needed): Remove variable.
19432
ceab42c3
SP
194332012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19434 Paul Pluzhnikov <ppluzhnikov@google.com>
19435
19436 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19437 strings correctly.
19438
3ce2865f
CLT
194392012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19440
19441 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19442 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19443 * sysdeps/sh/strlen.S: Likewise.
19444
f37e0d68
JM
194452012-04-24 Joseph Myers <joseph@codesourcery.com>
19446
ae186e9a
JM
19447 * sysdeps/unix/fork.S: Remove file.
19448 * sysdeps/unix/i386/fork.S: Likewise.
19449 * sysdeps/unix/sparc/fork.S: Likewise.
19450
b96914af
JM
19451 * sysdeps/unix/system.c: Remove file.
19452 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19453
f37e0d68
JM
19454 * sysdeps/unix/getegid.S: Remove file.
19455 * sysdeps/unix/geteuid.S: Likewise.
19456
87ef29ca
RM
194572012-04-24 Roland McGrath <roland@hack.frob.com>
19458
83bcd236
RM
19459 * scripts/check-localplt.awk: New file.
19460 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19461 of diff.
19462 * scripts/data/localplt-generic.data: Add a comment.
19463
87ef29ca
RM
19464 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19465 NODE when __dir_mkfile failed.
19466 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19467 Reported by Ludovic Courtès <ludo@gnu.org>.
19468
e5a6e567
AJ
194692012-04-24 Andreas Jaeger <aj@suse.de>
19470
19471 * Makerules (common-clean): Also remove gen-as-const-headers
19472 files.
19473
c1820385
JM
194742012-04-24 Joseph Myers <joseph@codesourcery.com>
19475
19476 * Makerules (native-compile): Do not change working directory for
19477 build. Use $(OUTPUT_OPTION) in command.
19478 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19479
94e02fc4
AZ
194802012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19481
19482 [BZ #13886]
19483 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19484 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19485 * math/libm-test.inc (floor_test): Add more tests.
19486 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19487
3a533ca3
JM
194882012-04-24 Joseph Myers <joseph@codesourcery.com>
19489
940ab4b3
JM
19490 * sysdeps/unix/getdents.c: Remove file.
19491 * sysdeps/unix/sysv/getdents.c: Likewise.
19492 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19493
90e037bd
JM
19494 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19495 sysdeps/unix/mman/syscalls.list.
19496 (mmap): Likewise.
19497 (mprotect): Likewise.
19498 (msync): Likewise.
19499 (munmap): Likewise.
19500 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19501 * sysdeps/unix/mman/syscalls.list: Remove.
19502 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19503
3a533ca3
JM
19504 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19505 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19506 * configure: Regenerated.
19507 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19508 $(libgcc_s_suffix).
19509 * config.make.in (libgcc_s_suffix): Remove variable.
19510
1ad743de
JM
195112012-04-23 Joseph Myers <joseph@codesourcery.com>
19512
4ad451e2
JM
19513 * sysdeps/unix/sysv/gethostname.c: Move to ...
19514 * sysdeps/posix/gethostname.c: ... here.
19515
5e37ce39
JM
19516 * sysdeps/unix/execve.S: Remove file.
19517
1ad743de
JM
19518 * sysdeps/unix/_exit.S: Remove file.
19519
4e681b5b
AJ
195202012-04-23 Andreas Jaeger <aj@suse.de>
19521
19522 [BZ #13739]
19523 * manual/Makefile: Remove make dist support, there's no
19524 need for a stand-alone documentation tar ball.
19525 (TEXI2DVI): Define always, it's not in Makeconfig.
19526 (dist): Removed.
19527 (tar-it): Removed.
19528 (edition): Removed.
19529 (glibc-doc-$(edition).tar): Removed
19530 (%.Z): Removed.
19531 (%.gz): Removed.
19532 (%.uu): Removed.
19533 (ETAGS): Remove, it's in Makeconfig.
19534 (move-if-change): Remove, it's in Makeconfig.
19535
38686a03 195362012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19537
19538 [BZ #13970]
19539 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19540 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19541 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19542 (strtod_l, strtof_l, strtold_l): Remove __wur.
19543 It is not necessarily an error to ignore strtol's return value.
19544 One can reliably look at the stored endptr to decide whether
19545 the number had valid syntax.
19546
7c0616fa
AJ
195472012-04-21 Andreas Jaeger <aj@suse.de>
19548
803cb6b7 19549 [BZ #13739]
7c0616fa
AJ
19550 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19551
b0fe253f
JM
195522012-04-21 Joseph Myers <joseph@codesourcery.com>
19553
19554 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19555 * sysdeps/unix/sysv/Versions: Remove file.
19556
8280f22d
MT
195572012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19558
19559 [BZ #13927]
19560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19561
75ce411f 195622012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19563
19564 [BZ #7064]
19565 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19566 version from __vm86.
19567
097d59fa
JM
195682012-04-20 Joseph Myers <joseph@codesourcery.com>
19569
a90f3bcb
JM
19570 * sysdeps/unix/common/lxstat.c: Remove file.
19571 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19572
edc7ea78
JM
19573 * sysdeps/unix/sysv/Makefile: Remove file.
19574
cb78c221
JM
19575 * sysdeps/unix/sysv/direct.h: Remove file.
19576
efa6a45f
JM
19577 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19578 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19579 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19580 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19581 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19582 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19583 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19584
9c9f2d0c
JM
19585 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19586
4541c83b
JM
19587 * sysdeps/unix/xmknod.c: Remove file.
19588 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19589
f5d153a0
JM
19590 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19591
aa746595
JM
19592 * sysdeps/unix/sysv/i386/time.S: Remove file.
19593
cce5905e
JM
19594 * sysdeps/unix/fxstat.c: Remove file.
19595 * sysdeps/unix/xstat.c: Likewise.
19596 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19597
37fa3841
JM
19598 * sysdeps/unix/sysv/sigaction.c: Remove file.
19599
ff1962a3
JM
19600 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19601 (sysdep_headers): Remove variable.
19602 [termio.h not in sysdep_headers] (generated): Likewise.
19603 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19604 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19605 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19606 * sysdeps/unix/sysv/tcflow.c: Likewise.
19607 * sysdeps/unix/sysv/tcflush.c: Likewise.
19608 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19609 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19610 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19611 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19612 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19613
e7740d31
JM
19614 * sysdeps/unix/siglist.c: Remove file.
19615
ee06f18b
JM
19616 * sysdeps/unix/getppid.S: Remove file.
19617
097d59fa
JM
19618 * sysdeps/unix/mkdir.c: Remove file.
19619 * sysdeps/unix/rmdir.c: Likewise.
19620
ff3d51ec
AS
196212012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19622
19623 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19624 ERR_MAX value.
19625 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19626 errlist-compat value.
19627
50f81fd7
DM
196282012-04-18 David S. Miller <davem@davemloft.net>
19629
19630 * sysdeps/generic/memcopy.h (reg_char): Delete.
19631 * debug/strcat_chk.c: Use char, not reg_char.
19632 * debug/strcpy_chk.c: Likewise.
19633 * debug/strncat_chk.c: Likewise.
19634 * debug/strncpy_chk.c: Likewise.
19635 * string/memchr.c: Likewise.
19636 * string/memrchr.c: Likewise.
19637 * string/rawmemchr.c: Likewise.
19638 * string/strcat.c: Likewise.
19639 * string/strchr.c: Likewise.
19640 * string/strchrnul.c: Likewise.
19641 * string/strcmp.c: Likewise.
19642 * string/strcpy.c: Likewise.
19643 * string/strncat.c: Likewise.
19644 * string/strncmp.c: Likewise.
19645 * string/strncpy.c: Likewise.
19646
8ff41c46
WS
196472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19648
19649 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19650 __builtin_memcopy is called when src and dest ranges are known to not
19651 overlap.
19652
6b652f46
WS
196532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19654
19655 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19656 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19657 fwd_align_merge macro call.
19658 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19659 bwd_align_merge macro call.
19660 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19661
b282631e
WS
196622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19663
19664 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19665 bwd_align_merge macros.
19666 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19667 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19668 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19669
95aa737c
DM
196702012-04-18 David S. Miller <davem@davemloft.net>
19671
19672 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19673
7a99a614
AJ
196742012-04-18 Andreas Jaeger <aj@suse.de>
19675
19676 [BZ# 6794]
19677 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19678 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19679 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19680
19681 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19682 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19683 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19684
19685 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19686 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19687 Adjust for changed ldbl-128 files.
19688
19689 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19690 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19691 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19692
e5270c23
DM
196932012-04-17 David S. Miller <davem@davemloft.net>
19694
19695 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19696
fb5e92c9
AS
196972012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19698
19699 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19700 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19701 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19702 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19703 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19704 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19705
76da7265
AZ
197062012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19707
19708 [BZ #6794]
19709 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19710 * math/libm-test.inc: Add ilogb errno and exception tests.
19711 * math/w_ilogb.c: New file: ilogb wrapper.
19712 * math/w_ilogbf.c: New file: ilogbf wrapper.
19713 * math/w_ilogbl.c: New file: ilogbl wrapper.
19714 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19715 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19716 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19717 exception being thrown with 0.0 as argument.
19718 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19719 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19720 exception being thrown with 0.0 as argument.
19721 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19722 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19723 exception being thrown with 0.0 as argument.
19724 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19725 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19726 exception being thrown with 0.0 as argument.
19727 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19728 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 19729 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
19730 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19731 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19732 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19733 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19734 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19735 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19736
0396e69d
PB
197372012-04-17 Petr Baudis <pasky@ucw.cz>
19738
19739 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19740 with altivec.
19741
750b5926
MP
197422012-04-16 Marek Polacek <polacek@redhat.com>
19743
19744 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19745
751728a1
MP
197462012-04-16 Marek Polacek <polacek@redhat.com>
19747
19748 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19749 operands of fdivp instruction.
19750
34a27407
L
197512012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19752
19753 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19754 * elf/tst-auditmod3b.c: Likewise.
19755 * elf/tst-auditmod4b.c: Likewise.
19756 * elf/tst-auditmod5b.c: Likewise.
19757 * elf/tst-auditmod6b.c: Likewise.
19758 * elf/tst-auditmod6c.c: Likewise.
19759 * elf/tst-auditmod7b.c: Likewise.
19760 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19761 * sysdeps/x86_64/preconfigure.in: Likewise.
19762 * sysdeps/x86_64/preconfigure: Regenerated.
19763
7e73e17d
L
197642012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19765
19766 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19767 __ILP32__.
19768
c7a6ab72
AB
197692012-04-13 Antoine Balestrat <merkil33@gmail.com>
19770
19771 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19772 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19773
a9e8e0e0
CL
197742012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19775
19776 [BZ #13973]
19777 * locale/iso-639.def: Fix gl language name. Spotted by
19778 Yaron Shahrabani.
19779
ec98af7d
RM
197802012-04-12 Roland McGrath <roland@hack.frob.com>
19781
19782 [BZ #2074]
19783 * libio/libio.h (__io_write_fn): Update comment.
19784
247c3ede
PB
197852012-04-12 Petr Baudis <pasky@ucw.cz>
19786
19787 [BZ #2074]
19788 * stdio.texi (Hook Functions): The user provided writer function
19789 is not allowed to return -1.
19790
55939d6d
DM
197912012-04-11 David S. Miller <davem@davemloft.net>
19792
19793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19794
90020f5a
MF
197952012-04-11 Mike Frysinger <vapier@gentoo.org>
19796
19797 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19798 Add a leading slash to rtkaio.
19799
288f9098
JM
198002012-04-11 Jim Meyering <meyering@redhat.com>
19801
90020f5a
MF
19802 [BZ #11959]
19803 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19804 It is not necessarily an error to ignore fwrite's return
19805 value. One can reliably use ferror to test for errors after
19806 the fact.
288f9098 19807
4be2b570
L
198082012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19809
19810 * bits/types.h (__snseconds_t): New type.
19811 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19812
19813 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19814 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19815 (__SNSECONDS_T_TYPE): Likewise.
19816 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19817 (__SNSECONDS_T_TYPE): Likewise.
19818 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19819 (__SNSECONDS_T_TYPE): Likewise.
19820
288f9098 198212012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
19822
19823 [BZ #2636]
19824 * manual/time.texi (Processor Time): Return type of times is
19825 elapsed real time since an arbitrary point in the past.
19826 (CPU Time): Move CLK_TCK from here...
19827 (Processor Time): ...to here. Correct description.
19828 * manual/conf.texi (Constants for Sysconf): Correct description of
19829 _SC_CLK_TCK.
19830
d7dd4413
DM
198312012-04-10 David S. Miller <davem@davemloft.net>
19832
19833 [BZ #13967]
19834 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19835 where the is a gap between DT_REL(A) and DT_JMPREL.
19836
b46068fc
L
198372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19838
19839 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19840 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19841 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19842
73d65cc3
SP
198432012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19844
19845 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19846 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19847 (dl_main): Handle --inhibit-cache.
19848 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19849 _dl_inhibit_cache.
19850 * elf/dl-load.c (_dl_map_object): Use it.
19851 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19852
bcc8d661
JM
198532012-04-09 Joseph Myers <joseph@codesourcery.com>
19854
8f9a2fae
JM
19855 [BZ #13872]
19856 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19857 (__ieee754_powl): Saturate large exponents rather than testing for
19858 overflow of y*log2(x).
19859 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19860 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19861 exceptions.
19862
bcc8d661
JM
19863 [BZ #11521]
19864 * math/s_ctan.c: Include <float.h>.
19865 (__ctan): Avoid internal overflow or cancellation in calculating
19866 denominator.
19867 * math/s_ctanf.c: Likewise.
19868 * math/s_ctanl.c: Likewise.
19869 * math/s_ctanh.c: Likewise.
19870 * math/s_ctanhf.c: Likewise.
19871 * math/s_ctanhl.c: Likewise.
19872 * math/libm-test.inc (ctan_test): Add more tests.
19873 (ctanh_test): Likewise.
19874 * sysdeps/i386/fpu/libm-test-ulps: Update.
19875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19876
823fbbb4
AJ
198772012-04-09 Andreas Jaeger <aj@suse.de>
19878
03879793
AJ
19879 [BZ #6894]
19880 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19881 is an optional BSD extension.
19882
823fbbb4
AJ
19883 [BZ #10254]
19884 * manual/stdio.texi (Opening Streams): Document additional fopen
19885 parameters.
19886
8de131cb
RM
198872012-04-09 Roland McGrath <roland@hack.frob.com>
19888
19889 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19890 %eax without telling the compiler.
19891
c0ed9d7d
CD
198922012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19893
19894 [BZ # 13963]
19895 * manual/install.texi: Use sourceware.org.
19896
c483f6b4
JM
198972012-04-09 Joseph Myers <joseph@codesourcery.com>
19898
d7dd9453
JM
19899 [BZ #13873]
19900 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19901 (__ieee754_pow): Generate overflow and underflow using huge*huge
19902 and tiny*tiny rather than just returning constant infinity or zero
19903 for large exponents.
19904 * math/libm-test.inc (pow_test): Require overflow exceptions for
19905 applicable cases of large exponents.
19906
c483f6b4
JM
19907 [BZ #706]
19908 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19909 (__ieee754_pow): Use iterative multiplication algorithm only for
19910 integer exponents with absolute value below 1024. Check for odd
19911 integer exponents when using algorithm for real exponents.
19912 * math/libm-test.inc (pow_test): Add more tests.
19913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19914
d2de7579
JM
199152012-04-08 Joseph Myers <joseph@codesourcery.com>
19916
19917 [BZ #13705]
19918 * math/libm-test.inc (exp_test): Do not allow overflow exception
19919 on underflow test.
19920
f77f1232
AJ
199212012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19922
19923 [BZ #13705]
19924 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19925 instead of __kernel_standard_f.
19926
3884932b
MF
199272012-04-08 Mike Frysinger <vapier@gentoo.org>
19928
19929 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19930 * sysdeps/x86_64/memset_chk.S: Likewise.
19931
54472e9c
AJ
199322012-04-08 Andreas Jaeger <aj@suse.de>
19933
6ab0fbfc
AJ
19934 [BZ #10153]
19935 * manual/startup.texi (Environment Access): Describe return value
19936 for putenv and setenv.
19937
61efba8c
AJ
19938 [BZ #6895]
19939 * manual/filesys.texi (Directory Entries): Add description for
19940 DT_LNK.
19941
95c3f29a
AJ
19942 [BZ #6890]
19943 * manual/filesys.texi (Directory Entries): Clarify that it's file
19944 system not operating system in the description of DT_UNKNOWN.
19945
54472e9c
AJ
19946 [BZ #6578]
19947 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19948
624254b1
SC
199492012-04-08 Stephen Compall <s11@member.fsf.org>
19950
19951 [BZ #6649]
19952 * manual/llio.texi (Opening and Closing Files): Add cross
19953 reference to explain mode argument.
19954
1e4920e0
MF
199552012-04-07 Mike Frysinger <vapier@gentoo.org>
19956
19957 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19958 * sysdeps/x86_64/memset_chk.S: Likewise.
19959
5ed848f3
DM
199602012-04-07 David S. Miller <davem@davemloft.net>
19961
19962 * elf/elf.h (R_SPARC_WDISP10): Define.
19963 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19964 R_SPARC_SIZE32.
19965 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19966 R_SPARC_SIZE64 and R_SPARC_H34.
19967
96154cd8
CD
199682012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19969
19970 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19971 conditions and remove no longer applicable assertion.
19972
9904dc47
L
199732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19974
19975 * bits/byteswap.h: Include <features.h>.
19976 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19977 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19978
f8887d0a
L
199792012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19980
19981 * bits/byteswap.h (__bswap_16): Removed.
19982 Include <bits/byteswap-16.h> to get __bswap_16.
19983 * sysdeps/i386/bits/byteswap.h: Likewise.
19984 * sysdeps/s390/bits/byteswap.h: Likewise.
19985 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19986 * bits/byteswap-16.h: New file.
19987 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19988 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19989 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19990 * string/Makefile (headers): Add bits/byteswap-16.h.
19991
62470f60
PP
199922012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19993
19994 [BZ #13895]
19995 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19996 extra indirection.
19997 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19998 * nss/tst-nss-static.c: New.
19999
4dad7bab
RM
200002012-04-06 Robert Millan <rmh@gnu.org>
20001
20002 [BZ #6486]
20003 * manual/llio.texi (File Position Primitive): lseek
20004 refers to WHENCE when it really means OFFSET.
20005
e9142a17
AJ
200062012-04-06 Andreas Jaeger <aj@suse.de>
20007
2c040eff
AJ
20008 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20009 strncmp declarations.
20010
e9142a17
AJ
20011 * abilist/libc.abilist: Add __poll and __ppoll.
20012
ff9f1c5f
DM
200132012-04-05 David S. Miller <davem@davemloft.net>
20014
dcd2ae90
DM
20015 * scripts/check-local-headers.sh: Accept a host triplet in the
20016 path matched by the exclude regexp.
20017
993eb054
DM
20018 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20019 definition.
20020 * sysdeps/powerpc/powerpc32/dl-machine.h
20021 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20022 * sysdeps/s390/s390-32/dl-machine.h
20023 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20024 * sysdeps/sparc/sparc32/dl-machine.h
20025 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20026 * sysdeps/sparc/sparc64/dl-machine.h
20027 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20028
ff9f1c5f
DM
20029 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20030 lazy binding.
48e2e132 20031 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20032 undefined symbol errors.
20033
48e2e132 20034 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20035 DT_NEEDED entries.
20036
e80d6f94
MM
200372012-04-05 Michael Matz <matz@suse.de>
20038
20039 [BZ #13592]
20040 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20041
349fa79f
AJ
200422012-04-05 Andreas Jaeger <aj@suse.de>
20043
20044 [BZ #13908]
20045 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20046 comment.
20047
f402708f
KK
200482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20049
20050 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20051 which ROUND is no valid rounding mode.
20052
2ecccfc9
KK
200532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20054
20055 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20056 read again.
20057 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20058
8a53f50f
KK
200592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20060
20061 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20062 an exception using FPU order intentionally.
20063
200642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20065
20066 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20067 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20068 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20069 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20070
d653abb7
SJ
200712012-04-05 Simon Josefsson <simon@josefsson.org>
20072
20073 [BZ #12340]
20074 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20075 EINVAL when BUFLEN is too smal.
20076
c3b1bf7d
TS
200772012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20078
20079 [BZ #13553]
20080 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20081 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20082
b1aa60f3
AJ
200832012-04-03 Andreas Jaeger <aj@suse.de>
20084
c3b1bf7d 20085 [BZ #13938]
67f60a26
AJ
20086 * manual/setjmp.texi (System V contexts): Fix sentence.
20087
b1aa60f3
AJ
20088 [BZ #13926]
20089 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20090 New macro for this case.
20091 [!__GNUC__] (__bswap_64): New inline function for this case.
20092 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20093 * bits/byteswap.h: Likewise.
20094 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20095 ull, guard with __GLIBC_HAVE_LONG_LONG.
20096
20097 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20098 __GLIBC_HAVE_LONG_LONG.
20099
20100 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20101 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20102
39c59c35
TMQMF
201032012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20104
20105 [BZ #13691]
20106 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20107 inptr and inend, rather than using last_ch.
20108
135ffda8
DM
201092012-04-02 David S. Miller <davem@davemloft.net>
20110
20111 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20112 * stdio-common/printf-parse.h (read_int): Change return type to
20113 'int', return -1 on INT_MAX overflow.
20114 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20115 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20116 overflows INT_MAX. Check for overflow of in-format-string precision
20117 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20118 SIZE_MAX not INT_MAX for integer overflow test.
20119 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20120 skip the construct in the format string but do not record anything.
20121 * stdio-common/bug22.c: Adjust to test both width/prevision
20122 INT_MAX overflow as well as total length INT_MAX overflow. Check
20123 explicitly for proper errno values.
20124
228c019e
TS
201252012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20126
302cadd3
TS
20127 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20128 CHAR_MAX.
20129 * string/test-strcmp.c [! WIDE]: Likewise.
20130 * time/tst-mktime2.c: Likewise for INT_MAX.
20131 * string/test-string.h: #include <sys/param.h> for MIN.
20132
228c019e
TS
20133 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20134 * sysdeps/i386/init-first.c (init): Likewise.
20135 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20136 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20137 * sysdeps/sh/init-first.c (init): Likewise.
20138
cfa633f5
UD
201392012-04-01 Ulrich Drepper <drepper@gmail.com>
20140
20141 * po/ru.po: Update from translation team.
d1635ef8 20142 * po/vi.po: Likewise.
cfa633f5 20143
6cd0a5ea
SP
201442012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20145
20146 * resolv/nss_dns/dns-host.c: Merge copyright years.
20147
4b43400f
LD
201482012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20149
20150 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20151 Optimize memcpy with prefetch if
20152 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20153 src, dst pointers have unequal 16 byte alignments.
20154
48c41d04
SP
201552012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20156
20157 [BZ #13928]
20158 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20159 from a CNAME entry and return the minimum ttl for the query.
20160 (gaih_getanswer_slice): Likewise.
20161
b8dc394d
JL
201622012-03-30 Jeff Law <law@redhat.com>
20163
20164 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20165 due to long keys.
20166 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20167 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20168
2f5a5ed0
JL
20169 * resolv/nss_dns/dns-host.c: Update copyright year.
20170
1d39e359
UD
201712012-03-30 Ulrich Drepper <drepper@gmail.com>
20172
c030f70c 20173 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20174 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20175
1d39e359
UD
20176 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20177 comments for sendmmsg.
20178
201792012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20180
20181 [BZ #13691]
20182 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20183 with only 1 character between 0x0041 and 0x01b0.
20184 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20185 * wcsmbs/tst-mbsnrtowcs.c: New file.
20186
20fde227
DM
201872012-03-29 David S. Miller <davem@davemloft.net>
20188
20189 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20190 small copies by hand.
20191
984a4237
JL
201922012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20193
20194 [BZ #13761]
20195 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20196 _nss_compat_initgroups_dyn): Fall back to malloc/free
20197 for large group memberships.
20198
18c9d62b
DM
201992012-03-28 David S. Miller <davem@davemloft.net>
20200
88d85d4f
DM
20201 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20202 that branches into memcpy.
20203 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20204 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20205 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20206 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20207 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20208 bits.
20209 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20210 implementation too.
20211 * sysdeps/sparc/mempcpy.S: New file.
20212
e5aa83e1
DM
20213 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20214 the IFUNC routine in the libc case.
20215 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20216
88570753
DM
20217 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20218 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20219 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20220 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20221 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20222 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20223 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20224 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20225
249d7567
DM
20226 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20227 loop to 256 bytes instead of 64 bytes and fix test signedness.
20228
18c9d62b
DM
20229 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20230 * sysdeps/sparc/sparc32/Makefile: rather than here...
20231 * sysdeps/sparc/sparc64/Makefile: and here.
20232
05f3d1f6
UD
202332012-03-28 Ulrich Drepper <drepper@gmail.com>
20234
20235 * malloc/mallocbug.c: Avoid warnings about unused variables.
20236
86ae07a8
JL
202372012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20238
20239 [BZ #13760]
20240 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20241 in the right place. Discard and retry query if response is
20242 larger than input buffer size.
20243
41bf21a1
JM
202442012-03-28 Joseph Myers <joseph@codesourcery.com>
20245
d6270972
JM
20246 [BZ #369]
20247 [BZ #2678]
20248 [BZ #3866]
20249 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20250 x for large integer exponent.
20251 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20252 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20253 sign of result as needed afterwards.
20254 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20255 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20256 result for underflowing pow the same as for overflow.
20257 (__kernel_standard_l): Handle powl overflow and underflow here
20258 rather than calling __kernel_standard.
20259 * math/libm-test.inc (pow_test): Add more tests.
20260
414fca03 20261 [BZ #3868]
41bf21a1
JM
20262 [BZ #13879]
20263 [BZ #13910]
20264 [BZ #13911]
20265 [BZ #13912]
20266 [BZ #13913]
20267 [BZ #13915]
20268 [BZ #13916]
20269 [BZ #13917]
20270 [BZ #13918]
20271 [BZ #13919]
20272 [BZ #13920]
20273 [BZ #13921]
20274 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20275 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20276 (__kernel_standard_l): New function.
20277 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20278 __kernel_standard.
20279 * math/w_acosl.c (__acosl): Likewise.
20280 * math/w_asinl.c (__asinl): Likewise.
20281 * math/w_atan2l.c (__atan2l): Likewise.
20282 * math/w_atanhl.c (__atanhl): Likewise.
20283 * math/w_coshl.c (__coshl): Likewise.
20284 * math/w_exp10l.c (__exp10l): Likewise.
20285 * math/w_exp2l.c (__exp2l): Likewise.
20286 * math/w_fmodl.c (__fmodl): Likewise.
20287 * math/w_hypotl.c (__hypotl): Likewise.
20288 * math/w_j0l.c (__j0l, __y0l): Likewise.
20289 * math/w_j1l.c (__j1l, __y1l): Likewise.
20290 * math/w_jnl.c (__jnl, __ynl): Likewise.
20291 * math/w_lgammal.c (__lgammal): Likewise.
20292 * math/w_log10l.c (__log10l): Likewise.
20293 * math/w_log2l.c (__log2l): Likewise.
20294 * math/w_logl.c (__logl): Likewise.
20295 * math/w_powl.c (__powl): Likewise.
20296 * math/w_remainderl.c (__remainderl): Likewise.
20297 * math/w_scalbl.c (sysv_scalbl): Likewise.
20298 * math/w_sinhl.c (__sinhl): Likewise.
20299 * math/w_sqrtl.c (__sqrtl): Likewise.
20300 * math/w_tgammal.c (__tgammal): Likewise.
20301 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20302 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20303 * math/libm-test.inc (acos_test): Add more tests.
20304 (acosh_test): Likewise.
20305 (asin_test): Likewise.
20306 (atanh_test): Likewise.
20307 (exp_test): Likewise.
20308 (exp10_test): Likewise.
20309 (exp2_test): Likewise.
20310 (expm1_test): Likewise.
20311 (lgamma_test): Likewise.
20312 (log_test): Likewise.
20313 (log10_test): Likewise.
20314 (log1p_test): Likewise.
20315 (log2_test): Likewise.
20316 (pow_test): Do not allow some spurious overflow exceptions.
20317 (sqrt_test): Add more tests.
20318 (tgamma_test): Likewise.
20319 (y0_test): Likewise.
20320 (y1_test): Likewise.
20321 (yn_test): Likewise.
20322
dd62fda6
AB
203232012-03-27 Anton Blanchard <anton@samba.org>
20324
20325 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20326 MAP_HUGETLB.
20327 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20328 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20329 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20330
1e3cdfda
AJ
203312012-03-27 David S. Miller <davem@davemloft.net>
20332
b855ab85
DM
20333 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20334
1e3cdfda
AJ
20335 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20336 have-as-vis3 check.
20337
203382012-03-27 Andreas Jaeger <aj@suse.de>
20339
20340 * sysdeps/x86_64/elf/configure.in: Moved to ...
20341 * sysdeps/x86_64/configure.in: ... here.
20342 * sysdeps/x86_64/elf/start.S: Moved to ...
20343 * sysdeps/x86_64/start.S: ... here.
20344 * sysdeps/x86_64/elf/configure: Delete.
20345
20346 * sysdeps/x86_64/configure.in: Merge contents from
20347 sysdeps/i386/configure.in (without i686 check).
20348
20349 * sysdeps/i386/elf/Versions: Merge into ...
20350 * sysdeps/i386/Versions: ... this.
20351 * sysdeps/i386/elf/Versions: Delete file.
20352 * sysdeps/i386/elf/start.S: Moved to ...
20353 * sysdeps/i386/start.S: ...here.
20354 * sysdeps/i386/elf/configure.in: Merge into...
20355 * sysdeps/i386/configure.in: ...here.
20356 * sysdeps/i386/elf/configure.in: Delete file.
20357 * sysdeps/i386/elf/configure: Delete file.
20358
20359 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20360 * debug/backtracesyms.c: ... here.
20361 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20362 * debug/backtracesymsfd.c: ... here.
20363 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20364 * sysdeps/generic/ifunc-sel.h: ... here.
20365
20366 * sysdeps/unix/i386/start.c: Delete file.
20367 * sysdeps/unix/sparc/start.c: Delete file.
20368 * sysdeps/unix/start.c: Delete file.
20369
20370 * sysdeps/sh/elf/configure.in: Moved to ...
20371 * sysdeps/sh/configure.in: ... here.
20372 * sysdeps/sh/elf/start.S: Moved to ...
20373 * sysdeps/sh/start.S: ... here.
20374 * sysdeps/sh/elf/configure: Delete file.
20375
20376 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20377 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20378 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20379 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20380 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20381 * sysdeps/powerpc/powerpc64/start.S: here.
20382 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20383 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20384 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20385 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20386 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20387
20388 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20389 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20390 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20391 * sysdeps/powerpc/powerpc32/start.S: ... here.
20392 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20393 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20394 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20395
20396 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20397 * sysdeps/powerpc/ifunc-sel.h: ... here.
20398 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20399 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20400
20401 * sysdeps/sparc/elf/configure.in: Moved to ...
20402 * sysdeps/sparc/configure.in: ... here.
20403 * sysdeps/sparc/elf/configure: Delete file.
20404 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20405 * sysdeps/sparc/sparc32/start.S: ... here.
20406 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20407 * sysdeps/sparc/sparc64/start.S: ... here.
20408 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20409 * sysdeps/sparc/sparc32/Makefile: ... this.
20410 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20411 * sysdeps/sparc/sparc64/Makefile: ... this.
20412
20413 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20414 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20415 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20416 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20417 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20418 * sysdeps/s390/s390-32/setjmp.S: ... here.
20419 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20420 * sysdeps/s390/s390-32/configure.in: ... here.
20421 * sysdeps/s390/s390-32/elf/configure: Delete file.
20422 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20423 * sysdeps/s390/s390-32/start.S: ... here.
20424
20425 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20426 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20427 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20428 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20429 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20430 * sysdeps/s390/s390-64/setjmp.S: ... here.
20431 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20432 * sysdeps/s390/s390-64/configure.in: ... here
20433 * sysdeps/s390/s390-64/elf/configure: Delete file.
20434 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20435 * sysdeps/s390/s390-64/start.S: ... here.
20436 * sysdeps/s390/s390-64/elf/configure: Delete.
20437
20438 * configure.in: Remove support for elf directories in sysdeps.
20439
20440 * configure: Regenerated.
20441 * sysdeps/i386/configure: Regenerated.
20442 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20443 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20444 * sysdeps/s390/s390-32/configure: Regenerated.
20445 * sysdeps/s390/s390-64/configure: Regenerated.
20446 * sysdeps/sh/configure: Regenerated.
20447 * sysdeps/sparc/configure: Regenerated.
20448 * sysdeps/x86_64/configure: Regenerated.
20449
a3f61311
AS
204502012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20451
c876e002
AS
20452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20453
a3f61311
AS
20454 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20455 denormal result into account.
20456
ac4c54f0
RM
204572012-03-25 Roland McGrath <roland@hack.frob.com>
20458
20459 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20460 Reported by Allan McRae <allan@archlinux.org>.
20461
6a9b9c02
JL
204622012-03-23 Jeff Law <law@redhat.com>
20463
20464 * nss/getnssent.c (__nss_getent): Fix typo.
20465
4c42a0c1
DM
204662012-03-23 David S. Miller <davem@davemloft.net>
20467
20468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20469
1532c7ac
L
204702012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20471
20472 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20473 to pad to uint64_t for each field.
20474 (dl_tls_index): Replace unsigned long with uint64_t.
20475
3ff42526
PP
204762012-03-23 Daniel Jacobowitz <dmj@google.com>
20477 Paul Pluzhnikov <ppluzhnikov@google.com>
20478
20479 [BZ #6528]
20480 * grp/Makefile (otherlibs): Don't set it.
20481 * inet/Makefile (otherlibs): Likewise.
20482 * login/Makefile (otherlibs): Likewise.
20483 * nscd/Makefile (otherlibs): Likewise.
20484 * posix/Makefile (otherlibs): Likewise.
20485 * pwd/Makefile (otherlibs): Likewise.
20486 * rt/Makefile (otherlibs): Likewise.
20487 * sunrpc/Makefile (otherlibs): Likewise.
20488 * nss/Makefile (otherlibs): Likewise.
20489 Add libnss_files to routines and static-only-routines.
20490 ($(objpfx)getent): Remove rule.
20491 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20492 static-only-routines.
20493
7c69cd14
JM
204942012-03-22 Joseph Myers <joseph@codesourcery.com>
20495
20496 [BZ #13892]
20497 * math/s_cexp.c: Include <float.h>.
20498 (__cexp): Handle exp result overflowing not necessarily
20499 overflowing both real and imaginary parts of result.
20500 * math/s_cexpf.c: Likewise.
20501 * math/s_cexpl.c: Likewise.
20502 * math/libm-test.inc (cexp_test): Add more tests.
20503 * sysdeps/i386/fpu/libm-test-ulps: Update.
20504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20505
81b035fe
L
205062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20507
20508 * include/link.h (ELFW): New macro.
20509 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20510 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20511
1da7940c
L
205122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20513
20514 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20515 with uint64_t.
20516
b749dbb9
L
205172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20518
20519 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20520 declaration.
20521 (struct La_x32_retval): Likewise.
20522
2ff87f3f
L
205232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20524
20525 * sysdeps/x86_64/preconfigure.in: New file.
20526 * sysdeps/x86_64/preconfigure: New generated file.
20527
c0df8e69
JM
205282012-03-22 Joseph Myers <joseph@codesourcery.com>
20529
48e44791
JM
20530 [BZ #13824]
20531 * math/e_exp2l.c: Include <float.h>.
20532 (__ieee754_exp2l): Handle overflow and underflow cases
20533 separately. Only pass fractional part of argument to
20534 __ieee754_expl.
20535 * math/libm-test.inc (exp2_test): Add more tests.
20536
c0df8e69
JM
20537 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20538 negating x to take absolute value.
20539 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20540 Likewise.
20541 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20542 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20543 Likewise.
20544 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20545 computing low part if x was negated.
20546 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20547
c8e43ba7
L
205482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20549
20550 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20551 la_x32_gnu_pltexit.
20552 (pltexit): Cast int_retval to ptrdiff_t.
20553 * elf/tst-auditmod3b.c: Likewise.
20554 * elf/tst-auditmod4b.c: Likewise.
20555 * elf/tst-auditmod5b.c: Likewise.
20556 * elf/tst-auditmod6b.c: Likewise.
20557 * elf/tst-auditmod6c.c: Likewise.
20558 * elf/tst-auditmod7b.c: Likewise.
20559
20560 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20561 and x32_gnu_pltexit.
20562
20563 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20564 __ELF_NATIVE_CLASS.
20565 (La_x32_regs): New macro.
20566 (La_x32_retval): Likewise.
20567 (la_x32_gnu_pltenter): New function prototype.
20568 (la_x32_gnu_pltexit): Likewise.
20569
7998fa78
AS
205702012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20571
dcb33988
AS
20572 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20573 exponent.
20574
233fc563
AS
20575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20576
7998fa78
AS
20577 * configure.in (libc_cv_cc_nofma): Check for option to disable
20578 generation of FMA instructions.
20579 * configure: Regenerate.
20580 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20581 * sysdeps/ieee754/dbl-64/Makefile: New file.
20582 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20583 Remove brandred-fma4.
20584 (CFLAGS-brandred-fma4.c): Remove.
20585 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20586 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20587 define.
20588 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20589 define.
20590
8e95c99a
L
205912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20592
20593 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20594 LLONG_MAX != LONG_MAX.
20595 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20596 (_fitoa_word): Likewise.
20597 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20598 LLONG_MAX != LONG_MAX.
20599 * stdio-common/_itowa.h: Include <_itoa.h>.
20600 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20601 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20602 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20603 only if not defined.
20604 (_ITOA_WORD_TYPE): Likewise.
20605 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20606 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20607
6f4db457
DM
206082012-03-21 David S. Miller <davem@davemloft.net>
20609
20610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20611
7785fe5a
L
206122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20613
20614 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20615 of x86_64 when setting libc_cv_slibdir, libdir and
20616 libc_cv_localedir.
20617 * sysdeps/unix/sysv/linux/configure: Regenerated.
20618
4535cd55
JM
206192012-03-21 Joseph Myers <joseph@codesourcery.com>
20620
20621 * manual/lang.texi (Old Varargs): Remove section.
20622 (How Variadic): Update menu.
20623 (va_start): Do not mention varargs.h.
20624
17228132
TS
206252012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20626 Joseph Myers <joseph@codesourcery.com>
20627
20628 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20629 link test.
20630 * configure: Regenerated.
20631
8149f976
TS
206322012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20633
05f3d1f6
UD
20634 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20635 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20636 conformtest.pl
8149f976 20637
1a4ac776
JM
206382012-03-21 Joseph Myers <joseph@codesourcery.com>
20639
be22ce65
JM
20640 * NOTES: Remove.
20641 * Makefile (files-for-dist): Remove NOTES.
20642 (NOTES): Remove rule.
20643 * README: Don't refer to NOTES.
20644 * manual/creature.texi: Don't include macros.texi.
20645 * manual/intro.texi (creature.texi): Remove comment referring to
20646 NOTES.
20647
40b601fb
JM
20648 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20649 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20650 * configure: Regenerated.
20651 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20652 LIBC_TRY_CC_OPTION.
20653 (libc_cv_as_i686): Likewise.
20654 (libc_cv_cc_avx): Likewise.
20655 (libc_cv_cc_sse2avx): Likewise.
20656 (libc_cv_cc_fma4): Likewise.
20657 (libc_cv_cc_novzeroupper): Likewise.
20658 * sysdeps/i386/configure: Regenerated.
20659
1a4ac776
JM
20660 [BZ #13883]
20661 * sysdeps/i386/fpu/s_cexp.S: Remove.
20662 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20663 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20664 * math/libm-test.inc (cexp_test): Add more tests.
20665 * sysdeps/i386/fpu/libm-test-ulps: Update.
20666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20667
a458e7fe
AM
206682012-03-21 Allan McRae <allan@archlinux.org>
20669
20670 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20671
0cb7efc5
JM
206722012-03-21 Joseph Myers <joseph@codesourcery.com>
20673
20674 [BZ #13871]
20675 * math/w_exp2.c: Do not include <float.h>.
20676 (o_threshold, u_threshold): Remove.
20677 (__exp2): Calculate result before checking finiteness and calling
20678 __kernel_standard.
20679 * math/w_exp2f.c: Likewise.
20680 * math/w_exp2l.c: Likewise.
20681 * math/libm-test.inc (exp2_test): Require overflow exception for
20682 1e6 input.
2460d3aa
JM
20683
20684 [BZ #3866]
20685 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20686 range of signed 64-bit integers before using fistpll. Remove
20687 checks for whether integers fit in mantissa bits.
20688 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20689 the range of signed 32-bit integers before using fistpl. Remove
20690 checks for whether integers fit in mantissa bits.
20691 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20692 (__ieee754_powl): Test for y outside the range of signed 64-bit
20693 integers before using fistpll. Reduce 64-bit values to 63-bit
20694 ones as needed.
20695 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20696 divide-by-zero is raised for zero to large negative powers.
20697 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20698 (__ieee754_powl): Test for y outside the range of signed 64-bit
20699 integers before using fistpll. Reduce 64-bit values to 63-bit
20700 ones as needed.
20701 * math/libm-test.inc (pow_test): Add more tests.
20702
eb96ffb0
L
207032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20704
20705 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20706 <stdio-common/_itoa.h>.
20707 * debug/segfault.c: Likewise.
20708 * elf/dl-cache.c: Likewise.
20709 * elf/dl-minimal.c: Likewise.
20710 * elf/dl-misc.c: Likewise.
20711 * elf/dl-sysdep.c: Likewise.
20712 * elf/dl-version.c: Likewise.
20713 * elf/rtld.c: Likewise.
20714 * hurd/hurdsock.c: Likewise.
20715 * hurd/lookup-retry.c: Likewise.
20716 * malloc/malloc.c: Likewise.
20717 * malloc/mtrace.c: Likewise.
20718 * nscd/nscd_getgr_r.c: Likewise.
20719 * nscd/nscd_getpw_r.c: Likewise.
20720 * nscd/nscd_getserv_r.c: Likewise.
20721 * posix/getopt_init.c: Likewise.
20722 * posix/wordexp.c: Likewise.
20723 * stdio-common/_itoa.c: Likewise.
20724 * stdio-common/printf_fphex.c: Likewise.
20725 * stdio-common/vfprintf.c: Likewise.
20726 * string/_strerror.c: Likewise.
20727 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20728 * sysdeps/i386/i686/hp-timing.h: Likewise.
20729 * sysdeps/mach/_strerror.c: Likewise.
20730 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20731 * sysdeps/mach/hurd/sethostid.c: Likewise.
20732 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20733 * sysdeps/mach/xpg-strerror.c: Likewise.
20734 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20735 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20736 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20737 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20738 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20739 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20740 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20741 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20742 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20743 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20744 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20745 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20746 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20747 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20748 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20749 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20750 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20751 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20752 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20753 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20754 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20755
20756 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20757
20758 * stdio-common/_itoa.h: Moved to ...
20759 * sysdeps/generic/_itoa.h: Here.
20760
20761 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20762
20763 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20764 instead of "_itoa.h" and "_itowa.h".
20765 * stdio-common/vfprintf.: Likewise.
20766
d1af992d
L
207672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20768
20769 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20770 <bits/wordsize.h>.
20771 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20772 (__signbit): Likwise.
20773 (llrintf): Likwise.
20774 (llrint): Likwise.
20775
114883e0
L
207762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20777
20778 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20779 __WORDSIZE != 64.
20780
c135cc1b
JM
207812012-03-20 Joseph Myers <joseph@codesourcery.com>
20782
20783 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20784 OVERFLOW_EXCEPTION_OK.
20785 * math/libm-test.inc ("Philosophy"): Update comment about
20786 exception testing.
20787 (OVERFLOW_EXCEPTION): Define.
20788 (OVERFLOW_EXCEPTION_OK): Likewise.
20789 (INVALID_EXCEPTION_OK): Renumber.
20790 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20791 (IGNORE_ZERO_INF_SIGN): Likewise.
20792 (test_exceptions): Handle FE_OVERFLOW.
20793 (exp10_test): Expect overflow exceptions.
20794 (exp2_test): Likewise.
20795 (expm1_test): Likewise.
20796 (nextafter_test): Likewise.
20797 (pow_test): Likewise.
20798 (scalbn_test): Likewise.
20799 (scalbln_test): Likewise.
20800
95443d88
L
208012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20802
20803 * sysdeps/x86_64/bits/atomic.h
20804 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20805 64bit integer.
20806 (atomic_exchange_acq): Likewise.
20807 (__arch_exchange_and_add_body): Likewise.
20808 (__arch_add_body): Likewise.
20809 (atomic_add_negative): Likewise.
20810 (atomic_add_zero): Likewise.
20811
490df6c4
L
208122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20813
c2722551 20814 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
20815 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20816
5e52b189
L
208172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20818
20819 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20820 Check __x86_64__ instead of __WORDSIZE.
20821
a9879d4c
L
208222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20823
20824 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20825
5df98260
DM
208262012-03-19 David S. Miller <davem@davemloft.net>
20827
e1497744
DM
20828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20829
5df98260
DM
20830 * sysdeps/sparc/fpu/fenv_private.h: New file.
20831 * sysdeps/sparc/fpu/math_private.h: Use it.
20832 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20833 Remove.
20834 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20835 (libc_feholdexcept_setroundl): Remove.
20836 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20837 Remove.
20838 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20839 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20840
b4c35121
L
208412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20842
20843 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20844 int64_t instead of long int.
20845 (INSERT_WORDS64): Likwise.
20846
56965fd7
L
208472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20848
20849 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20850 _Unwind_GetCFA return to _Unwind_Ptr first.
20851
83d1aec8
JM
208522012-03-19 Joseph Myers <joseph@codesourcery.com>
20853
1897ad44
JM
20854 [BZ #13629]
20855 * math/s_clog.c: Include <float.h>.
20856 (__clog): Scale large or subnormal inputs.
20857 * math/s_clogf.c: Likewise.
20858 * math/s_clogl.c: Likewise.
20859 * math/s_clog10.c: Include <float.h>.
20860 (M_LOG10_2): Define.
20861 (__clog10): Scale large or subnormal inputs.
20862 * math/s_clog10f.c: Likewise.
20863 * math/s_clog10l.c: Likewise.
20864 * math/libm-test.inc (clog_test): Add more tests.
20865 (clog10_test): Likewise.
20866 * sysdeps/i386/fpu/libm-test-ulps: Update.
20867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20868
7726d6a9
JM
20869 [BZ #11451]
20870 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20871 x and y.
20872 * math/libm-test.inc (atan2_test): Add another test.
20873
83d1aec8
JM
20874 * Makerules (common-objdir-compile): Remove.
20875 * sysdeps/unix/Makefile (config-generated): Do not add
20876 $(unix-generated) to variable.
20877 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20878 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20879 Remove rule.
20880 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20881 Likewise.
20882 [generic bits/local_lim.h] (before-compile): Do not append to
20883 variable.
20884 [generic bits/local_lim.h] (common-generated): Likewise.
20885 [generic sys/param.h] (before-compile): Do not append to variable.
20886 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20887 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20888 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20889 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20890 include.
20891 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20892 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20893 [generic sys/param.h] ($(addprefix
20894 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20895 [generic sys/param.h] (common-generated): Do not append to
20896 variable.
20897 [generic sys/param.h] (sysdep_headers): Likewise.
20898 [generic bits/errno.h] (before-compile): Do not append to
20899 variable.
20900 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20901 rule.
20902 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20903 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20904 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20905 [generic bits/errno.h] (common-generated): Do not append to
20906 variable.
20907 [generic bits/ioctls.h] (before-compile): Do not append to
20908 variable.
20909 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20910 rule.
20911 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20912 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20913 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20914 rule.
20915 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20916 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20917 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20918 [generic bits/ioctls.h] (common-generated): Do not append to
20919 variable.
20920 [generic sys/syscall.h] (syscall.h): Remove variable.
20921 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20922 rule.
20923 [generic sys/syscall.h] (before-compile): Do not append to
20924 variable.
20925 [generic sys/syscall.h] (common-generated): Likewise.
20926 * sysdeps/unix/errnos-tmpl.c: Remove file.
20927 * sysdeps/unix/errnos.awk: Likewise.
20928 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20929 * sysdeps/unix/ioctls.awk: Likewise.
20930 * sysdeps/unix/mk-local_lim.c: Likewise.
20931 * sysdeps/unix/snarf-ioctls: Likewise.
20932
4851a949
RH
209332012-03-19 Richard Henderson <rth@twiddle.net>
20934
bd37f2ee
RH
20935 * sysdeps/i386/fpu/fenv_private.h: New file.
20936 * sysdeps/i386/fpu/math_private.h: Use it.
20937 (math_opt_barrier, math_force_eval): Remove.
20938 (libc_feholdexcept_setround_53bit): Remove.
20939 (libc_feupdateenv_53bit): Remove.
20940 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20941 (math_opt_barrier, math_force_eval): Remove.
20942 (libc_feholdexcept): Remove.
20943 (libc_feholdexcept_setround): Remove.
20944 (libc_fetestexcept, libc_fesetenv): Remove.
20945 (libc_feupdateenv_test): Remove.
20946 (libc_feupdateenv, libc_feholdsetround): Remove.
20947 (libc_feresetround): Remove.
20948
d0adc922
RH
20949 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20950 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20951
0fe0f1f8
RH
20952 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20953 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20954 (libc_feupdateenv_testl): New.
20955 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20956 (libc_feupdateenv_testf): New.
20957 (libc_feupdateenv): Use libc_feupdateenv_test.
20958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20959 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20960
eb92c487
RH
20961 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20962 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20963 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20964 (libc_feresetround_noex): New.
20965 (libc_feresetround_noexf): New.
20966 (libc_feresetround_noexl): New.
20967 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20968 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20969 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20970 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20971 SET_RESTORE_ROUND.
20972 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20973 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20974 (__cos): Likewise.
20975 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20976 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20977 SET_RESTORE_ROUND_NOEX.
20978 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20979 SET_RESTORE_ROUND_NOEXF.
20980 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20981 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20982 (libc_feholdsetroundf): New.
20983 (libc_feresetround, libc_feresetroundf): New.
20984
7d2e8012
RH
20985 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20986 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20987 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20988
b4dabbb4
RH
20989 * sysdeps/generic/math_private.h: Include <fenv.h>.
20990 (default_libc_feholdexcept): New.
20991 (default_libc_feholdexcept_setround): New.
20992 (default_libc_fesetenv, default_libc_feupdateenv): New.
20993 (libc_feholdexcept): Only define if undefined.
20994 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20995 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20996 (libc_feholdexcept_setroundl): Likewise.
20997 (libc_feholdexcept_setround_53bit): Likewise.
20998 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20999 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21000 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21001 (libc_feupdateenv_53bit): Likewise.
21002 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21003 (libc_feholdexcept): Convert from macro to inline function.
21004 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21005 (libc_fesetenv, libc_feupdateenv): Likewise.
21006
4851a949
RH
21007 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21008 not previously defined.
21009 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21010 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21011 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21012 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21013 * sysdeps/ieee754/flt-32/math_private.h: New file.
21014 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21015 math_private.h below SET_FLOAT_WORD.
21016 (__isnan, __isinf_ns, __finite): Remove.
21017 (__isnanf, __isinf_nsf, __finitef): Remove.
21018
e79d442e
AS
210192012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21020
21021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21022
90b80344
DM
210232012-03-17 David S. Miller <davem@davemloft.net>
21024
21025 [BZ #6471]
21026 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21027 for 2.16.
21028
edc21804
DM
210292012-03-16 David S. Miller <davem@davemloft.net>
21030
77e927af
DM
21031 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21032 warnings.
21033
374976dd
DM
21034 [BZ #6471]
21035 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21036 properly.
21037 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21038 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21039 sysdep_routines when subdir is sysvipc.
21040 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21041 __getshmlba helper.
21042
edc21804
DM
21043 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21044
473c3ef3
L
210452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21046
21047 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21048 [__LP64__].
21049
eb0f39b6
L
210502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21051
21052 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21053 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21054 (__lround): Renamed to ...
21055 (__llround): This. Replace long int with long long int.
21056 Define lround functions as aliases of llround functions.
21057 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21058
6b6cd74b
L
210592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21060
21061 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21062 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21063 adresses to uintptr_t. Replace "long int" and "unsigned long
21064 int" with "greg_t" on va_arg.
21065
f1a77b01
L
210662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21067
21068 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21069 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21070
21071 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21072 Move e_machine check before EI_CLASS check. Handle x32
21073 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21074 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21075 SKIP_EM_IA_64 and include
21076 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21077
21078 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21079 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21080 (add_system_dir): New macro.
21081
21082 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21083 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21084
11b90b9f
JM
210852012-03-16 Joseph Myers <joseph@codesourcery.com>
21086
c36e1d23
JM
21087 [BZ #2551]
21088 [BZ #2552]
21089 [BZ #2553]
21090 [BZ #2554]
21091 [BZ #2562]
21092 [BZ #2563]
21093 [BZ #2565]
21094 [BZ #2566]
21095 [BZ #2576]
21096 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21097 (y0): Likewise.
21098 * math/w_j0f.c (j0f): Likewise.
21099 (y0f): Likewise.
21100 * math/w_j0l.c (__j0l): Likewise.
21101 (__y0l): Likewise.
21102 * math/w_j1.c (j1): Likewise.
21103 (y1): Likewise.
21104 * math/w_j1f.c (j1f): Likewise.
21105 (y1f): Likewise.
21106 * math/w_j1l.c (__j1l): Likewise.
21107 (__y1l): Likewise.
21108 * math/w_jn.c (jn): Likewise.
21109 (yn): Likewise.
21110 * math/w_jnf.c (jnf): Likewise.
21111 (ynf): Likewise.
21112 * math/w_jnl.c (__jnl): Likewise.
21113 (__ynl): Likewise.
21114 * math/libm-test.inc (j0_test): Add more tests.
21115 (j1_test): Likewise.
21116 (jn_test): Likewise. Add trailing semicolon to existing test.
21117 (y0_test): Likewise.
21118 (y1_test): Likewise.
21119 * sysdeps/i386/fpu/libm-test-ulps: Update.
21120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21121
11b90b9f
JM
21122 [BZ #13851]
21123 [BZ #13854]
21124 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21125 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21126 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21127 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21128 (__tanl): Set errno for infinite argument.
21129 * sysdeps/i386/fpu/mptan.c: Remove.
21130 * sysdeps/i386/fpu/s_tan.S: Likewise.
21131 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21132 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21133 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21134 * math/libm-test.inc (tan_test): Add more tests and enable more
21135 tests for double and long double.
21136 * sysdeps/i386/fpu/libm-test-ulps: Update.
21137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21138
6a1bd2a1
JK
211392012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21140
21141 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21142 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21143
10a803e0
RM
211442012-03-16 Roland McGrath <roland@hack.frob.com>
21145
21146 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21147 * configure.in: Use it for both main tree and add-ons.
21148 * configure: Regenerated.
21149
f196c7f7
L
211502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21151
21152 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21153
8848d99d
JM
211542012-03-16 Joseph Myers <joseph@codesourcery.com>
21155
96cbe7f4
JM
21156 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21157 in comment.
21158
8848d99d
JM
21159 [BZ #13851]
21160 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21161 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21162 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21163 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21164 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21165 infinite argument.
21166 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21167 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21168 != 0 for prec == 2.
21169 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21170 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21171 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21172 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21173 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21174 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21175 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21176 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21177 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21178 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21179 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21180 * math/libm-test.inc (cos_test): Add more tests and enable more
21181 tests for long double.
21182 (sin_test): Likewise.
21183 (sincos_test): Likewise.
21184 * sysdeps/i386/fpu/libm-test-ulps: Update.
21185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21186
dd7f4703
DM
211872012-03-16 David S. Miller <davem@davemloft.net>
21188
21189 * sysdeps/sparc/fpu/math_private.h: New file.
21190
006f1daa
DM
211912012-03-15 David S. Miller <davem@davemloft.net>
21192
c0c83bc8
DM
21193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21194 file.
e6a62e18 21195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21197 file.
e6a62e18
DM
21198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21204 sysdep routines.
21205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21206
88cb87d9
DM
21207 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21208 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21209
006f1daa 21210 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21212 sparc-ifunc.h
006f1daa 21213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21215 Likewise.
21216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21217 Likewise.
006f1daa
DM
21218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21222 Likewise.
006f1daa
DM
21223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21228 Likewise.
21229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21230 Likewise.
006f1daa
DM
21231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21237 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21249 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21251 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21253 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21255
11e0098e
AS
212562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21257
21258 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21259 scaling.
21260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21261
e85b09d0
AJ
212622012-03-15 Andreas Jaeger <aj@suse.de>
21263
21264 [BZ #13852]
21265 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21266 ieee754/flt-32 implementation for sin, cos and sincos.
21267 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21268 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21269 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21270 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21271 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21272 ieee754/flt-32 implementation for tan.
21273
21274 * math/libm-test.inc (cos_test): Enable some large input tests for
21275 float as well
21276 (sin_test): Likewise.
21277 (sincos_test): Likewise.
21278 (tan_test): Add tests for large input.
21279
21280 * sysdeps/i386/fpu/libm-test-ulps: Update.
21281
81c64153
AJ
212822012-03-15 Andreas Jaeger <aj@suse.de>
21283
21284 [BZ #13658]
21285 * math/libm-test.inc (cos_test): Add more test cases.
21286 (sin_test): Likewise.
21287 (sincos_test): Likewise.
21288
7bbfa5c6
AJ
212892012-03-15 Andreas Jaeger <aj@suse.de>
21290
21291 [BZ #13837]
21292 * math/libm-test.inc (cos_test): Add a test case for large input
21293 value.
21294 (sin_test): Likewise.
21295 (sincos_test): Likewise.
21296
212972012-03-15 Andreas Jaeger <aj@suse.de>,
21298 Joseph Myers <joseph@codesourcery.com>
21299
21300 [BZ #13658]
0671f479 21301 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21302 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21303 * sysdeps/i386/fpu/branred.c: Likewise.
21304 * sysdeps/i386/fpu/dosincos.c: Likewise.
21305 * sysdeps/i386/fpu/mpa.c: Likewise.
21306 * sysdeps/i386/fpu/s_cos.S: Likewise.
21307 * sysdeps/i386/fpu/s_sin.S: Likewise.
21308 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21309 * sysdeps/i386/fpu/sincos32.c: Likewise.
21310
21311 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21312 Define.
21313 (libc_feupdateenv_53bit): Define.
21314 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21315 Define.
21316 (libc_feupdateenv_53bit): Define.
21317
21318 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21319 53 bit (without extend i386 double precision).
21320
21321 * math/libm-test.inc (sincos_test): Add tests for large input.
21322 (sin): Likewise.
21323 (cos): Likewise.
21324
21325 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21326
9cad04ea
AS
213272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21328
21329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21330
f7062b9a
DM
213312012-03-15 David S. Miller <davem@davemloft.net>
21332
21333 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21334 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21335 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21336 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21349 file.
f7062b9a 21350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21352 file.
f7062b9a 21353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21355 file.
f7062b9a 21356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21358 file.
f7062b9a
DM
21359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21360 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21361 fmin/fmax sysdep routines.
21362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21363
7bd951ff
DM
213642012-03-14 David S. Miller <davem@davemloft.net>
21365
559398ab
DM
21366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21367 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21370 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21371 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21372 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21373 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21386 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21387 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21388 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21389 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21390 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21391 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21392 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21393 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21394 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21395 routines.
21396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21397 file.
559398ab 21398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21400 file.
559398ab 21401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21403 file.
559398ab 21404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21406 file.
559398ab 21407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21409 file.
559398ab 21410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21412 file.
21413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21414 file.
21415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21416 file.
21417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21418 file.
21419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21420 New file.
21421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21422 file.
21423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21424 file.
559398ab 21425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21427 file.
559398ab 21428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21430 file.
559398ab 21431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21433 file.
559398ab 21434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21436 VIS3 routines.
559398ab
DM
21437
21438 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21439 New file.
21440
5a1c1e32
DM
21441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21442
eae47a36
DM
21443 * sysdeps/sparc/configure.in: New file.
21444 * sysdeps/sparc/configure: Generate.
21445 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21446 * configure: Regenerate.
21447 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21448 * config.make.in (have-as-vis3): New.
21449 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21450 available use -Av9d instead of -Av9a.
21451 * sysdeps/sparc/sparc64/Makefile: Likewise.
21452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21454 New file.
21455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21456 file.
21457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21458 New file.
21459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21460 file.
eae47a36
DM
21461 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21462 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21463 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21464 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21465 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21466
c0c83bc8
DM
21467 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21468 fzeros/fnegs to load 0x80000000 into a float register instead of
21469 using the stack.
7bd951ff
DM
21470 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21471
bd951ccb
JM
214722012-03-14 Joseph Myers <joseph@codesourcery.com>
21473
21474 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21475 bits/syscall.h.
21476 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21477 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21478 ($(inst_includedir)/bits/syscall.h): Remove rule.
21479 ($(objpfx)bits/syscall.d): Include instead of
21480 $(objpfx)syscall-list.d.
21481 (generated): Change syscall-list.h and syscall-list.d to
21482 bits/syscall.h and bits/syscall.d.
21483
bb4e6db2
RM
214842012-03-14 Roland McGrath <roland@hack.frob.com>
21485
21486 [BZ #13846]
21487 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21488
aa4a2ae1
JM
214892012-03-14 Joseph Myers <joseph@codesourcery.com>
21490
e456826d
JM
21491 [BZ #13841]
21492 * math/s_csqrt.c: Include <float.h>.
21493 (__csqrt): Scale large or subnormal inputs.
21494 * math/s_csqrtf.c: Likewise.
21495 * math/s_csqrtl.c: Likewise.
21496 * math/libm-test.inc (csqrt_test): Add more tests.
21497 * sysdeps/i386/fpu/libm-test-ulps: Update.
21498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21499
aa4a2ae1
JM
21500 [BZ #13840]
21501 * math/libm-test.inc (hypot_test): Add more tests.
21502
7c10fd35
DM
215032012-03-13 David S. Miller <davem@davemloft.net>
21504
21505 [BZ #13840]
21506 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21507 double-precision for the calculation instead of scaling.
21508
f453b98b
JM
215092012-03-13 Joseph Myers <joseph@codesourcery.com>
21510
21511 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21512 manipulate bits before adding and subtracting TWO52[sx].
21513 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21514 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21515 Likewise.
21516 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21517
09a3453f
DM
215182012-03-13 David S. Miller <davem@davemloft.net>
21519
8e59da90
DM
21520 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21521 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21522 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21523 rtld-global-offsets.h
21524 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21525
2a8ab7f2
DM
21526 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21527 large parameters.
21528
10f62770
DM
21529 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21530
5f0bdb18
DM
21531 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21532 'err' in the ifdef scope in which it is actually used.
21533
09a3453f
DM
21534 * nss/nss_db/db-init.c: Include string.h
21535
b4b2eb5e
DM
215362012-03-12 David S. Miller <davem@davemloft.net>
21537
98bb2f1c
DM
21538 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21539 masking out of the most significant byte of random value used.
21540 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21541 Fix coding style in previous change.
21542
b4b2eb5e
DM
21543 * sysdeps/unix/sysv/linux/kernel-features.h
21544 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21545 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21546 expression.
21547 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21548 later.
21549
6e226b09
DM
215502012-03-11 David S. Miller <davem@davemloft.net>
21551
a1bcbd40
DM
21552 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21553 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21554 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21555 for 'resultvar' otherwise things get truncated on 64-bit.
21556
cb9d6174
DM
21557 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21558 Fix masking out of the most significant byte of random value used.
21559
6e226b09
DM
21560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21561
058c132d
AS
215622012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21563
21564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21565
2d2cd515
DM
215662012-03-09 David S. Miller <davem@davemloft.net>
21567
21568 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21569 variables with appropriate CPP guards.
21570 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21571 frame pointer, not the stack pointer. Correct layout comments. Fix test
21572 on resulting framesize and the management of the outregs buffer for pltexit.
21573 Preserve floating point return values across _dl_call_pltexit call.
21574 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21575 framesize and the management of the outregs buffer for pltexit.
21576 Preserve floating point return values across _dl_call_pltexit
21577 call.
21578 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21579 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21580 (print_exit): Fix format string for return register value.
21581
9a07f9d0
JM
215822012-03-10 Joseph Myers <joseph@codesourcery.com>
21583
21584 * sunrpc/Makefile (others): Add rpcgen.
21585 ($(objpfx)rpcgen): Remove special build rule and dependency on
21586 libc.
21587 * sunrpc/rpcgen.c: New file.
21588
547b5e30
PE
215892012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21590
c524201a
PE
21591 [BZ #13673]
21592 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21593 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21594 * sysdeps/i386/crti.S: Likewise.
21595 * sysdeps/i386/crtn.S: Likewise.
21596 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21597 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21598 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21599 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21600 * sysdeps/sh/crti.S: Likewise.
21601 * sysdeps/sh/crtn.S: Likewise.
21602 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21603
7b6235f2
PE
21604 [BZ #13673]
21605 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21606 with URL.
21607 * locale/programs/locfile-kw.gperf: Likewise.
21608 * locale/programs/charmap-kw.h: Regenerated.
21609 * locale/programs/locfile-kw.h: Likewise.
21610
547b5e30
PE
21611 [BZ #13673]
21612 * intl/plural.y: Replace FSF snail mail address with URL.
21613 * intl/plural.c: Regenerated.
21614
5f0a5dae
RH
216152012-03-09 Richard Henderson <rth@twiddle.net>
21616
21617 * include/math_private.h: Remove file.
21618 * math/math_private.h: Move file ...
21619 * sysdeps/generic/math_private.h: ... here.
21620
b8c03620
RH
21621 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21622 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21623 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21624
4e234f5d 21625 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
21626 and <math_private.h>.
21627 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21628 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21629 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21630 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21631 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21632 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21633 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21635 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21636 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21637 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21638 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21639 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21640 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21641 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21642 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21643 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21644 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21645 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21646 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21647 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21648 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21649 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21650 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21651 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21652 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21653 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21654 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21655 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21657 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21658 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21659 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21660 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21661 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21662 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21663 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21664 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21665 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21666 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21667 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21668 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21669 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21670 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21671 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21672 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21673 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21674 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21675 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21676 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21677 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21678 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21679 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21680 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21681 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21682 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21683 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21684 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21685 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21686 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21687 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21688 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21689 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21690 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21691 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21692 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21693 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21694 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21695 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21696 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21697 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21698 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21699 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21700 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21701 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21702 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21703 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21704 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21705 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21706 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21707 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21708 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21709 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21710 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21711 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21712 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21713 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21714 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21715 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21716 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21717 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21718 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21719 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21720 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21721 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21722 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21723 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21724 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21725 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21726 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21727 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21728 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21729 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21730 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21731 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21732 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21733 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21734 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21735 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21736 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21737 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21738 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21739 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21740 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21741 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21742 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21743 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21744 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21745 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21746 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21747 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21748 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21749 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21750 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21751 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21752 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21753 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21754 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21755 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21756 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21757 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21758 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21759 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21760 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21761 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21762 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21763 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21764 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21765 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21766 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21767 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21768 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21769 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21770 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21771 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21772 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21773 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21774 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21775 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21776 * sysdeps/ieee754/k_standard.c: Likewise.
21777 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21778 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21779 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21780 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21781 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21782 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21783 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21784 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21785 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21786 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21787 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21788 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21789 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21790 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21791 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21792 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21793 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21794 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21796 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21797 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21798 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21799 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21800 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21801 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21802 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21803 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21804 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21805 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21806 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21807 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21808 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21809 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21810 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21811 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21812 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21813 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21814 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21815 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21816 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21817 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21818 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21819 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21820 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21821 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21822 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21823 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21824 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21825 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21826 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21827 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21828 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21829 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21830 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21831 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21832 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21833 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21834 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21835 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21836 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21837 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21838 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21839 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21840 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21841 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21842 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21843 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21844 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21845 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21846 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21847 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21849 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21850 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21851 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21852 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21853 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21854 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21855 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21856 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21857 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21858 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21859 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21860 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21861 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21862 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21863 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21864 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21865 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21866 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21867 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21868 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21869 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21870 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21871 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21872 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21873 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21874 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21875 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21876 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21877 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21878 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21879 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21880 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21881 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21882 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21883 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21884 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21885 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21886 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21887 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21888 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21889 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21890 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21891 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21892 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21893 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21894 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21895 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21896 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21897 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21898 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21899 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21900 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21901 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21902 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21903 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21904 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21905 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21906 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21907 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21908 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21909 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21910 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21911 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21912 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21913 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21914 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21915 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21916 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21917 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21918 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21919 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21920 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21921 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21922 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21923 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21924 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21925 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21926 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21927 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21928 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21929 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21930 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21931 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21932 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21933 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21934 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21935 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21936 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21937 * sysdeps/ieee754/s_lib_version.c: Likewise.
21938 * sysdeps/ieee754/s_matherr.c: Likewise.
21939 * sysdeps/ieee754/s_signgam.c: Likewise.
21940 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21941 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21942 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21943 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21944 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21945 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21946 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21947 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21948 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21949 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21950 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21951 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21952 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21953 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21954 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21955 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21956 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21957 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21958 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21959 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21960 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 21961
1991fa03
JM
219622012-03-09 Joseph Myers <joseph@codesourcery.com>
21963
21964 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21965 * sunrpc/rpc_main.c: Likewise.
21966 * sunrpc/rpc_svcout.c: Likewise.
21967
60d6f5a6
DM
219682012-03-09 David S. Miller <davem@davemloft.net>
21969
21970 * include/math_private.h: New file.
21971
4962050e
JM
219722012-03-09 Joseph Myers <joseph@codesourcery.com>
21973
02a6f887
JM
21974 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21975 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21976 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21977 from <bits/socket_type.h>.
21978 (enum __socket_type): Don't define here.
21979 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21981 bits/socket_type.h.
21982
c6e013c1
JM
21983 [BZ #13566]
21984 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21985 checking __USE_GNU.
21986
4962050e
JM
21987 * Makerules ($(inst_includedir)/%.h): New rule.
21988 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21989 (install-others): Remove variable setting.
21990 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21991
38842f45
RH
219922012-03-08 Richard Henderson <rth@twiddle.net>
21993
67bb6da6
RH
21994 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21995 from macro to inline function; merge with the
21996 !__LIBC_INTERNAL_MATH_INLINES version.
21997 (__ieee754_sqrtf): Likewise.
21998
15194b4b
RH
21999 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22000 to inline function.
22001 (__rintf, __floor, __floorf): Likewise.
22002
64e21ede
RH
22003 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22004 macro to inline function.
22005 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22006
38842f45
RH
22007 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22008 not <math/math_private.h>.
22009
c64bf5fe
DM
220102012-03-08 David S. Miller <davem@davemloft.net>
22011
22012 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22013 copyright year.
22014 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22015
82d86f28
TS
220162012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22017
22018 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22019 normalization.
22020 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22021 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22022
aea5d727
UD
220232012-03-08 Ulrich Drepper <drepper@gmail.com>
22024
22025 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22026 be defined individually, they must be defined as a block. Define
22027 S for printing a string instead of hidint the different by using a
22028 macro for adding the 'l'.
22029 * stdio-common/tst-fphex-wide.c: Adjust.
22030
70bca0a3
MP
220312012-03-07 Marek Polacek <polacek@redhat.com>
22032
22033 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22034
65b81130
MP
220352012-03-08 Marek Polacek <polacek@redhat.com>
22036
22037 [BZ #13806]
22038 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22039 * stdio-common/tst-fphex.c: Define a few macros to make the
22040 test reusable. Use them.
22041 * stdio-common/tst-fphex-wide.c: New file.
22042
07037eeb
JM
220432012-03-08 Joseph Myers <joseph@codesourcery.com>
22044
a7a93d50
JM
22045 [BZ #6911]
22046 * manual/macros.texi (gnusystems): New macro.
22047 (nongnusystems): Likewise.
22048 (gnulinuxhurdsystems): Likewise.
22049 (gnuhurdsystems): Likewise..
22050 (gnulinuxsystems): Likewise.
22051 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22052 variants of the GNU system, not "GNU system".
22053 * manual/conf.texi: Likewise.
22054 * manual/errno.texi: Likewise. Update example of errno macro
22055 expansion.
22056 * manual/filesys.texi: Likewise.
22057 (getumask): Document as specific to GNU/Hurd.
22058 * manual/install.texi: Likewise. Reword some references to
22059 GNU/Linux.
22060 * manual/intro.texi: Likewise.
22061 * manual/io.texi: Likewise.
22062 (File Name Portability): Detail which constraints are inapplicable
22063 to all GNU systems and which are only inapplicable to GNU/Hurd.
22064 * manual/job.texi: Likewise.
22065 * manual/llio.texi: Likewise.
22066 (O_NOCTTY): Document as present on GNU/Linux.
22067 * manual/maint.texi: Likewise.
22068 * manual/memory.texi: Likewise.
22069 * manual/pattern.texi: Likewise.
22070 * manual/pipe.texi: Likewise.
22071 * manual/process.texi: Likewise.
22072 * manual/resource.texi: Likewise.
22073 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22074 child on GNU/Hurd.
22075 * manual/setjmp.texi: Likewise.
22076 * manual/signal.texi: Likewise.
22077 * manual/startup.texi: Likewise.
22078 * manual/stdio.texi: Likewise.
22079 * manual/terminal.texi: Likewise.
22080 (ONLCR): Document as POSIX.
22081 (OXTABS): Document availability on GNU/Linux as XTABS.
22082 (ONOEOT): Document availability separately from other bits.
22083 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22084 * manual/time.texi: Likewise.
22085 * manual/users.texi: Likewise.
22086 * INSTALL: Regenerated.
22087 * sysdeps/gnu/errlist.c: Regenerated.
22088
07037eeb
JM
22089 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22090 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22091 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22092 puts.
22093 * configure: Regenerated.
22094
d1d3431a
JM
220952012-03-07 Joseph Myers <joseph@codesourcery.com>
22096
af6a1e37
JM
22097 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22098 default includes instead of AC_HEADER_CHECK.
22099 * sysdeps/i386/configure: Regenerated.
22100
d1d3431a
JM
22101 [BZ #10716]
22102 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22103 * math/s_cacoshf.c (__cacoshf): Likewise.
22104 * math/s_cacoshl.c (__cacoshl): Likewise.
22105 * math/s_casinh.c (__casinh): Set signs of result from argument.
22106 * math/s_casinhf.c (__casinhf): Likewise.
22107 * math/s_casinhl.c (__casinhl): Likewise.
22108 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22109 (casinh_test): Add more tests.
22110 * sysdeps/i386/fpu/libm-test-ulps: Update.
22111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22112
482ff4da
UD
221132012-03-07 Ulrich Drepper <drepper@gmail.com>
22114
872fda05
UD
22115 * po/zh_TW.po: Update from translation team.
22116
a4300c7a
UD
22117 * login/Makefile (distribute): Remove variable.
22118 * catgets/Makefile: Likewise.
22119 * mach/Makefile: Likewise.
22120 * malloc/Makefile: Likewise.
22121 * misc/Makefile: Likewise.
22122 * iconv/Makefile: Likewise.
22123 * nscd/Makefile: Likewise.
22124 * hurd/Makefile: Likewise.
22125 * manual/Makefile: Likewise.
22126 * locale/Makefile: Likewise.
22127 * intl/Makefile: Likewise.
22128 * conform/Makefile: Likewise.
22129 * nss/Makefile: Likewise.
22130 * time/Makefile: Likewise.
22131 * soft-fp/Makefile: Likewise.
22132 * dirent/Makefile: Likewise.
22133 * gmon/Makefile: Likewise.
22134 * po/Makefile: Likewise.
22135 * rt/Makefile: Likewise.
22136 * socket/Makefile: Likewise.
22137 * math/Makefile: Likewise.
22138 * signal/Makefile: Likewise.
22139 * debug/Makefile: Likewise.
22140 * elf/Makefile: Likewise.
22141 * timezone/Makefile: Likewise.
22142 * stdlib/Makefile: Likewise.
22143 * iconvdata/Makefile: Likewise.
22144 * sunrpc/Makefile: Likewise.
22145 * io/Makefile: Likewise.
22146 * argp/Makefile: Likewise.
22147 * inet/Makefile: Likewise.
22148 * hesiod/Makefile: Likewise.
22149 * grp/Makefile: Likewise.
22150 * csu/Makefile: Likewise.
22151 * wctype/Makefile: Likewise.
22152 * crypt/Makefile: Likewise.
22153 * libio/Makefile: Likewise.
22154 * string/Makefile: Likewise.
22155 * nis/Makefile: Likewise.
22156 * resolv/Makefile: Likewise.
22157 * stdio-common/Makefile: Likewise.
22158 * wcsmbs/Makefile: Likewise.
22159 * dlfcn/Makefile: Likewise.
22160 * posix/Makefile: Likewise.
22161
3b7c4e74 22162 [BZ #6959]
482ff4da
UD
22163 * timezone/Makefile: Don't install timezone files, just the programs
22164 and scripts.
22165
f72ed77d
UD
221662012-03-06 Ulrich Drepper <drepper@gmail.com>
22167
a000466f
UD
22168 * nss/databases.def: Add missing gshadow entry.
22169
f72ed77d
UD
22170 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22171
a53b7a4e
MP
221722012-03-06 Marek Polacek <polacek@redhat.com>
22173
22174 [BZ #13726]
22175 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22176 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22177 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22178 * stdio-common/tst-long-dbl-fphex.c: New file.
22179
e9258400
DM
221802012-03-06 David S. Miller <davem@davemloft.net>
22181
22182 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22183 (set_obp_int): New function.
22184 (get_obp_int): New function.
22185 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22186 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22187 Avoid unused variable warnings on 'val' and use builtin_expect.
22188 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22189 __builtin_expect.
e9258400
DM
22190 (INLINE_CLONE_SYSCALL): Likewise.
22191
3bd2c723
DM
221922012-03-05 David S. Miller <davem@davemloft.net>
22193
22194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22195
bbb78d03
AS
221962012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22197
884c5db4
AS
22198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22199
bbb78d03
AS
22200 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22201 only for |x| >= 40.
22202 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22203
1c9f702a 222042012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22205
22206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22207 Replace gettimeofday with __vdso_gettimeofday.
22208
7be16f82
RM
22209 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22210 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22211 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22212
22213 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22214 time with __vdso_time.
22215
ed58a00f
JM
222162012-03-05 Joseph Myers <joseph@codesourcery.com>
22217
22218 * manual/lang.texi (size_t): Note types to which size_t may be
22219 equivalent with the GNU C Library, but do not describe when
22220 differences between them are significant.
22221
30ee4ced
AJ
222222012-03-05 Andreas Jaeger <aj@suse.de>
22223
22224 * sysdeps/i386/fpu/libm-test-ulps: Update.
22225
b7cd39e8
JM
222262012-03-05 Joseph Myers <joseph@codesourcery.com>
22227
22228 [BZ #3976]
22229 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22230 (__ieee754_pow): Save and restore rounding mode and use
22231 round-to-nearest for main computations.
22232 * math/libm-test.inc (pow_test_tonearest): New function.
22233 (pow_test_towardzero): Likewise.
22234 (pow_test_downward): Likewise.
22235 (pow_test_upward): Likewise.
22236 (main): Call the new functions.
22237 * sysdeps/i386/fpu/libm-test-ulps: Update.
22238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22239
22240 [BZ #3976]
22241 * math/libm-test.inc (cosh_test_tonearest): New function.
22242 (cosh_test_towardzero): Likewise.
22243 (cosh_test_downward): Likewise.
22244 (cosh_test_upward): Likewise.
22245 (sinh_test_tonearest): Likewise.
22246 (sinh_test_towardzero): Likewise.
22247 (sinh_test_downward): Likewise.
22248 (sinh_test_upward): Likewise.
22249 (main): Call the new functions.
22250 * sysdeps/i386/fpu/libm-test-ulps: Update.
22251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22252
6c6a98c9
TV
222532012-03-05 Tom de Vries <tom@codesourcery.com>
22254
22255 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22256 default stack guard is set in last bytes.
22257 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22258
21bb2d2e 222592012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22260
21bb2d2e 22261 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22262
21bb2d2e
AJ
22263 [BZ #13656]
22264 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22265 possibly allocate from heap instead of stack.
22266 * stdio-common/bug-vfprintf-nargs.c: New file.
22267 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22268
c6922934
AS
222692012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22270
22271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22272
bc957d53
MP
222732012-03-03 Marek Polacek <polacek@redhat.com>
22274
22275 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22276 * math/math_private.h: Likewise.
22277 * stdlib/tst-strtod.c: Likewise.
22278 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22279 * sysdeps/x86_64/bits/atomic.h: Likewise.
22280
6358490d
DM
222812012-03-02 David S. Miller <davem@davemloft.net>
22282
22283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22287 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22288 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22289 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22290 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22291
01ae168d
RM
222922012-03-02 Roland McGrath <roland@hack.frob.com>
22293
d9a17c07
RM
22294 [BZ #13792]
22295 * manual/examples/README: New file, says the example source files
22296 can be used under GPL>=2.
22297 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22298 line containing just "*/".
22299 * manual/examples/add.c: Add copyright header (GPL>=2).
22300 * manual/examples/argp-ex1.c: Likewise.
22301 * manual/examples/argp-ex2.c: Likewise.
22302 * manual/examples/argp-ex3.c: Likewise.
22303 * manual/examples/argp-ex4.c: Likewise.
22304 * manual/examples/atexit.c: Likewise.
22305 * manual/examples/db.c: Likewise.
22306 * manual/examples/dir.c: Likewise.
22307 * manual/examples/dir2.c: Likewise.
22308 * manual/examples/execinfo.c: Likewise.
22309 * manual/examples/filecli.c: Likewise.
22310 * manual/examples/filesrv.c: Likewise.
22311 * manual/examples/fmtmsgexpl.c: Likewise.
22312 * manual/examples/genpass.c: Likewise.
22313 * manual/examples/inetcli.c: Likewise.
22314 * manual/examples/inetsrv.c: Likewise.
22315 * manual/examples/isockad.c: Likewise.
22316 * manual/examples/longopt.c: Likewise.
22317 * manual/examples/memopen.c: Likewise.
22318 * manual/examples/memstrm.c: Likewise.
22319 * manual/examples/mkfsock.c: Likewise.
22320 * manual/examples/mkisock.c: Likewise.
22321 * manual/examples/mygetpass.c: Likewise.
22322 * manual/examples/pipe.c: Likewise.
22323 * manual/examples/popen.c: Likewise.
22324 * manual/examples/rprintf.c: Likewise.
22325 * manual/examples/search.c: Likewise.
22326 * manual/examples/select.c: Likewise.
22327 * manual/examples/setjmp.c: Likewise.
22328 * manual/examples/sigh1.c: Likewise.
22329 * manual/examples/sigusr.c: Likewise.
22330 * manual/examples/stpcpy.c: Likewise.
22331 * manual/examples/strdupa.c: Likewise.
22332 * manual/examples/strftim.c: Likewise.
22333 * manual/examples/strncat.c: Likewise.
22334 * manual/examples/subopt.c: Likewise.
22335 * manual/examples/swapcontext.c: Likewise.
22336 * manual/examples/termios.c: Likewise.
22337 * manual/examples/testopt.c: Likewise.
22338 * manual/examples/testpass.c: Likewise.
22339 * manual/examples/timeval_subtract.c: Likewise.
22340
01ae168d
RM
22341 [BZ #13792]
22342 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22343 function to ...
22344 * manual/timeval_subtract.c.texi: ... here, new file.
22345
49efa33d
DM
223462012-03-02 David S. Miller <davem@davemloft.net>
22347
22348 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22349
28afd92d
JM
223502012-03-02 Joseph Myers <joseph@codesourcery.com>
22351
804360ed
JM
22352 [BZ #3976]
22353 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22354 (__sin): Save and restore rounding mode and use round-to-nearest
22355 for all computations.
22356 (__cos): Save and restore rounding mode and use round-to-nearest
22357 for all computations.
22358 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22359 <fenv.h>.
22360 (tan): Save and restore rounding mode and use round-to-nearest for
22361 all computations.
22362 * math/libm-test.inc (cos_test_tonearest): New function.
22363 (cos_test_towardzero): Likewise.
22364 (cos_test_downward): Likewise.
22365 (cos_test_upward): Likewise.
22366 (sin_test_tonearest): Likewise.
22367 (sin_test_towardzero): Likewise.
22368 (sin_test_downward): Likewise.
22369 (sin_test_upward): Likewise.
22370 (tan_test_tonearest): Likewise.
22371 (tan_test_towardzero): Likewise.
22372 (tan_test_downward): Likewise.
22373 (tan_test_upward): Likewise.
22374 (main): Call the new functions.
22375 * sysdeps/i386/fpu/libm-test-ulps: Update.
22376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22377
a6d06d7b
JM
22378 [BZ #10135]
22379 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22380 small n, then large n, before computing and testing k+n.
22381 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22383 Likewise.
22384 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22385 Likewise.
22386 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22387 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22388 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22389 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22390 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22391 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22392 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22393 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22394 * math/libm-test.inc (scalbn_test): Add more tests.
22395 (scalbln_test): Likewise.
22396
07e12bb3
JM
22397 * manual/filesys.texi (mode_t): Describe constraints on size and
22398 signedness, not exact equivalence to a particular type.
22399 (ino_t): Likewise.
22400 (ino64_t): Likewise.
22401 (dev_t): Likewise.
22402 (nlink_t): Likewise.
22403 (blkcnt_t): Likewise.
22404 (blkcnt64_t): Likewise.
22405 * manual/llio.texi (off_t): Likewise.
22406
28afd92d
JM
22407 [BZ #3976]
22408 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22409 (__ieee754_exp): Save and restore rounding mode and use
22410 round-to-nearest for all computations.
22411 * math/libm-test.inc (exp_test_tonearest): New function.
22412 (exp_test_towardzero): Likewise.
22413 (exp_test_downward): Likewise.
22414 (exp_test_upward): Likewise.
22415 (main): Call the new functions.
22416 * sysdeps/i386/fpu/libm-test-ulps: Update.
22417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22418
b1eeb65d
CD
224192012-03-01 Chris Demetriou <cgd@google.com>
22420
22421 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22422 have predictable order.
22423
53362a4b
DM
224242012-03-01 David S. Miller <davem@davemloft.net>
22425
3c969083
DM
22426 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22427
759707de
DM
22428 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22429 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22430 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22431 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22432
dfdb8ff2
DM
22433 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22434 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22435 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22437 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22438 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22439 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22440 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22441 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22442
ead89f96
DM
22443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22444
7f66bd07
DM
22445 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22446 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22447 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22448
53362a4b
DM
22449 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22450 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22451 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22452 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22453 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22454 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22455 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22456 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22457 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22458 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22459 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22460 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22461 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22462 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22463 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22464 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22465 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22466 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22467 * sysdeps/sparc/elf/configure: Regenerated.
22468
7b1902cb
JM
224692012-03-01 Joseph Myers <joseph@codesourcery.com>
22470
bec039bc
JM
22471 * configure.in (AS, LD): Require binutils 2.20 or later.
22472 * configure: Regenerated.
22473 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22474 as required minimum version.
22475 * INSTALL: Regenerated.
22476
7b1902cb
JM
22477 [BZ #2541]
22478 [BZ #4108]
22479 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22480 before squaring exponent.
22481 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22482 bottom long double and 27 bits of top long double before squaring
22483 exponent.
22484 * math/libm-test.inc (erfc_test): Add more tests.
22485 * sysdeps/i386/fpu/libm-test-ulps: Update.
22486 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22488
f775c276
KT
224892012-03-01 Kai Tietz <ktietz@redhat.com>
22490
22491 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22492 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22493 containing bit-fields.
22494 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22495 * soft-fp/single.h (_FP_UNION_S): Likewise.
22496 * soft-fp/double.h (_FP_UNION_D): Likewise.
22497
5b8a4d4a
JM
224982012-02-29 Joseph Myers <joseph@codesourcery.com>
22499
0bab47b6
JM
22500 [BZ #13786]
22501 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22502 not include ../strcmp.S.
22503 [USE_AS_STRNCASECMP_L]: Likewise.
22504 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22505 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22506 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22507 (__strncasecmp_l_ia32): Define as alias to
22508 __strncasecmp_l_nonascii.
22509
0fcad3e2
JM
22510 [BZ #5794]
22511 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22512 * sysdeps/i386/fpu/libm-test-ulps: Update.
22513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22514
5b8a4d4a
JM
22515 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22517
8fdceb2e
JL
225182012-02-29 Jeff Law <law@redhat.com>
22519
22520 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22521 out of bounds read.
22522
1f393a11
MP
225232012-02-29 Marek Polacek <polacek@redhat.com>
22524
22525 [BZ #13706]
22526 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22527 * elf/Makefile: Add rules to run tst-unused-dep.out.
22528
8847f037
DM
225292012-02-28 David S. Miller <davem@davemloft.net>
22530
22531 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22532 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22533 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22534 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22535 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22536 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22537
169d7f11
JM
225382012-02-29 Joseph Myers <joseph@codesourcery.com>
22539
22540 * math/libm-test.inc (llround_test): Move one test from
22541 lround_test. Use TEST_f_L in moved test.
22542 (lround_test): Move misplaced test to llround_test. Add testcase
22543 from bug 2561.
22544
39adf059
UD
225452012-02-28 Ulrich Drepper <drepper@gmail.com>
22546
22547 * sysdeps/x86_64/fpu/e_expf.S: New file.
22548 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22549
71b5d1c5
SB
225502012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22551
22552 [BZ #13637]
22553 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22554 of remain_len that may cause incomplete multi-byte character and
22555 false match.
22556 * posix/bug-regex33.c: New file.
22557 * posix/Makefile (tests): Add bug-regex33.
22558
1f77f049
JM
225592012-02-28 Joseph Myers <joseph@codesourcery.com>
22560
22561 * manual/macros.texi: New file.
22562 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22563 * manual/libc.texinfo: Include macros.texi.
22564 * manual/creatute.texi: Likewise.
22565 * manual/install.texi: Likewise.
22566 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22567 @glibcadj{} in references to the GNU C Library.
22568 * manual/charset.texi: Likewise.
22569 * manual/conf.texi: Likewise.
22570 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22571 when not using those macros.
22572 * manual/creature.texi: Likewise.
22573 * manual/crypt.texi: Likewise.
22574 * manual/errno.texi: Likewise.
22575 * manual/filesys.texi: Likewise.
22576 * manual/header.texi: Likewise.
22577 * manual/install.texi: Likewise.
22578 * manual/intro.texi: Likewise.
22579 * manual/io.texi: Likewise.
22580 * manual/job.texi: Likewise.
22581 * manual/lang.texi: Likewise.
22582 * manual/libc.texiinfo: Likewise.
22583 * manual/llio.texi: Likewise.
22584 * manual/locale.texi: Likewise.
22585 * manual/maint.texi: Likewise.
22586 * manual/math.texi: Likewise.
22587 * manual/memory.texi: Likewise.
22588 * manual/message.texi: Likewise.
22589 * manual/nss.texi: Likewise.
22590 * manual/pattern.texi: Likewise.
22591 * manual/process.texi: Likewise.
22592 * manual/resource.texi: Likewise.
22593 * manual/search.texi: Likewise.
22594 * manual/setjmp.texi: Likewise.
22595 * manual/signal.texi: Likewise.
22596 * manual/socket.texi: Likewise.
22597 * manual/startup.texi: Likewise.
22598 * manual/stdio.texi: Likewise.
22599 * manual/string.texi: Likewise.
22600 * manual/sysinfo.texi: Likewise.
22601 * manual/syslog.texi: Likewise.
22602 * manual/terminal.texi: Likewise.
22603 * manual/time.texi: Likewise.
22604 * manual/users.texi: Likewise.
22605 * INSTALL: Regenerated.
22606 * NOTES: Regenerated.
d40c5d54 22607 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22608
450bf206
AS
226092012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22610
22611 * include/dirent.h: Include <dirstream.h> before
22612 <dirent/dirent.h>.
22613
741a235b
DM
226142012-02-28 David S. Miller <davem@davemloft.net>
22615
22616 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22617 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22618 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22619 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22620
d6b5aa58
DM
226212012-02-27 David S. Miller <davem@davemloft.net>
22622
1aff59a3
DM
22623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22625 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22626 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22627
d6b5aa58
DM
22628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22629 frame pointer instead of stack pointer relative arg slot.
22630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22631 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22632 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22633
433f48bf
CD
226342012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22635
22636 [BZ #3992]
22637 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22638
d674b76d
DM
226392012-02-27 David S. Miller <davem@davemloft.net>
22640
22641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22645 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22646 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22647 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22648 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22649
0e7727f7
JM
226502012-02-27 Joseph Myers <joseph@codesourcery.com>
22651
22652 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22653 later. Allow versions 5-9.
43be4ca2 22654 * configure: Regenerated.
0e7727f7
JM
22655 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22656 required minimum version and 4.6 as recommended version. Do not
22657 mention bugs in GCC 2.7 and 2.8.
43be4ca2 22658 * INSTALL: Regenerated.
0e7727f7 22659
a78bc654
DM
226602012-02-27 David S. Miller <davem@davemloft.net>
22661
428d5830
DM
22662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22666 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22667 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22668 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22669 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22670
a78bc654
DM
22671 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22672 manipulate bits before adding and subtracting TWO112[sx].
22673 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22674
4579f81c
RM
226752012-02-27 Roland McGrath <roland@hack.frob.com>
22676
36c8acb4
RM
22677 [BZ #13775]
22678 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22679 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22680 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22681 being in POSIX, because they are in 1003.1-2008.
22682
84ad622b
RM
22683 * rt/tst-aio.c: Include <fcntl.h>.
22684 * rt/tst-aio7.c: Likewise.
22685 * rt/tst-aio64.c: Likewise.
22686
4579f81c
RM
22687 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22688
abd923db
JM
226892012-02-27 Joseph Myers <joseph@codesourcery.com>
22690
22691 * manual/install.texi (--with-headers): Describe headers as
22692 interface headers, not private headers.
22693 (Specific advice for GNU/Linux systems): Describe use of headers
22694 from "make headers_install", not private headers from older
22695 kernels.
43be4ca2 22696 * INSTALL: Regenerated.
abd923db
JM
22697 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22698 Change to 2.6.19.
22699 * sysdeps/unix/sysv/linux/configure: Regenerated.
22700
6664049b
JM
22701 * manual/llio.texi (fclean): Remove documentation.
22702
bb8b6697
JM
22703 * manual/Makefile (libc-texi-generated): New variable. Include
22704 version.texi.
22705 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22706 $(libc-texi-generated), not duplicated list of files.
22707 (version.texi, stamp-version): New rules.
22708 (realclean): Remove $(libc-texi-generated), not individual files
22709 from that list. Do not remove dir-add.texinfo.
22710 * manual/libc.texinfo: Comment out uses of edition numbers and
22711 references to printed manual. Remove last-updated dates.
22712 (EDITION): Comment out.
22713 (ISBN): Likewise.
22714 (VERSION, UPDATED): Remove.
22715 (version.texi): Include.
22716
12e5c3b9
AS
227172012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22718
22719 * sysdeps/posix/spawni.c: Include <signal.h>.
22720 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22721 * sysdeps/pthread/aio_fsync.c: Likewise.
22722
4efeffc1 227232012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 22724
ba63ba08
UD
22725 * conform/Makefile (tests): Run only when not cross-compiling and
22726 when fast-check is not defined.
22727
d94a4670
UD
22728 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22729 * conform/data/limits.h-data: Fixes for POSIX2008.
22730 * conform/run-conformtest.sh: Run all tests.
22731 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22732 headers.
22733 * include/bits/dlfcn.h: Likewise.
22734 * include/langinfo.h: Likewise.
22735 * include/monetary.h: Likewise.
22736 * include/sys/poll.h: Likewise.
22737
22738 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22739 for __USE_GNU.
22740 * posix/spawn.h: Define __need_sigset_t.
22741 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22742 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22743 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22744 to get sigevent_t only.
22745 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22746 only for __USE_GNU.
22747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22748 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22749 process_vm_writev only for __USE_GNU.
22750 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
22751
22752 * conform/Makefile: For now ignore errors from run-conformtest.
22753 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22754 POSIX to avoid namespace pollution. Don't prepend headers.
22755 * conform/data/aio.h-data: Fixes for POSIX testing.
22756 * conform/data/fcntl.h-data: Likewise.
22757 * conform/data/glob.h-data: Likewise.
22758 * conform/data/grp.h-data: Likewise.
22759 * conform/data/pthread.h-data: Likewise.
22760 * conform/data/pwd.h-data: Likewise.
22761 * conform/data/signal.h-data: Likewise.
22762 * conform/data/spawn.h-data: Likewise.
22763 * conform/data/stdio.h-data: Likewise.
22764 * conform/data/stdlib.h-data: Likewise.
22765 * conform/data/stropts.h-data: Likewise.
22766 * conform/data/sys/mman.h-data: Likewise.
22767 * conform/data/sys/stat.h-data: Likewise.
22768 * conform/data/sys/types.h-data: Likewise.
22769 * conform/data/sys/wait.h-data: Likewise.
22770 * conform/data/time.h-data: Likewise.
22771 * conform/data/unistd.h-data: Likewise.
22772 * conform/data/utime.h-data: Likewise.
22773
22774 * io/sys/stat.h: fchmod was always in POSIX.
22775 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22776 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22777 * rt/aio.h: Define __need_timespec before including <time.h>.
22778 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22779 struct. Add forward declaration of pthread_attr_t and use it in
22780 sigevent.
22781 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22782 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22783 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22784 always remove CLK_TCK definition.
22785
c20105c3
AS
227862012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22787
22788 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22789
7a270350
UD
227902012-02-25 Ulrich Drepper <drepper@gmail.com>
22791
31341567
UD
22792 * conform/run-conformtest.sh: New file.
22793 * conform/Makefile: Run run-conformtest for tests.
22794 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22795 support.
22796
22797 * conform/data/uchar.h-data: New file.
22798 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22799 * conform/data/arpa/inet.h-data: Likewise.
22800 * conform/data/assert.h-data: Likewise.
22801 * conform/data/complex.h-data: Likewise.
22802 * conform/data/cpio.h-data: Likewise.
22803 * conform/data/ctype.h-data: Likewise.
22804 * conform/data/dirent.h-data: Likewise.
22805 * conform/data/dlfcn.h-data: Likewise.
22806 * conform/data/errno.h-data: Likewise.
22807 * conform/data/fcntl.h-data: Likewise.
22808 * conform/data/float.h-data: Likewise.
22809 * conform/data/fmtmsg.h-data: Likewise.
22810 * conform/data/fnmatch.h-data: Likewise.
22811 * conform/data/ftw.h-data: Likewise.
22812 * conform/data/glob.h-data: Likewise.
22813 * conform/data/grp.h-data: Likewise.
22814 * conform/data/iconv.h-data: Likewise.
22815 * conform/data/inttypes.h-data: Likewise.
22816 * conform/data/langinfo.h-data: Likewise.
22817 * conform/data/libgen.h-data: Likewise.
22818 * conform/data/limits.h-data: Likewise.
22819 * conform/data/locale.h-data: Likewise.
22820 * conform/data/math.h-data: Likewise.
22821 * conform/data/monetary.h-data: Likewise.
22822 * conform/data/mqueue.h-data: Likewise.
22823 * conform/data/ndbm.h-data: Likewise.
22824 * conform/data/net/if.h-data: Likewise.
22825 * conform/data/netdb.h-data: Likewise.
22826 * conform/data/netinet/in.h-data: Likewise.
22827 * conform/data/nl_types.h-data: Likewise.
22828 * conform/data/poll.h-data: Likewise.
22829 * conform/data/pthread.h-data: Likewise.
22830 * conform/data/pwd.h-data: Likewise.
22831 * conform/data/regex.h-data: Likewise.
22832 * conform/data/sched.h-data: Likewise.
22833 * conform/data/search.h-data: Likewise.
22834 * conform/data/semaphore.h-data: Likewise.
22835 * conform/data/setjmp.h-data: Likewise.
22836 * conform/data/signal.h-data: Likewise.
22837 * conform/data/spawn.h-data: Likewise.
22838 * conform/data/stdarg.h-data: Likewise.
22839 * conform/data/stdio.h-data: Likewise.
22840 * conform/data/stdlib.h-data: Likewise.
22841 * conform/data/string.h-data: Likewise.
22842 * conform/data/strings.h-data: Likewise.
22843 * conform/data/stropts.h-data: Likewise.
22844 * conform/data/sys/ipc.h-data: Likewise.
22845 * conform/data/sys/mman.h-data: Likewise.
22846 * conform/data/sys/msg.h-data: Likewise.
22847 * conform/data/sys/resource.h-data: Likewise.
22848 * conform/data/sys/select.h-data: Likewise.
22849 * conform/data/sys/sem.h-data: Likewise.
22850 * conform/data/sys/shm.h-data: Likewise.
22851 * conform/data/sys/socket.h-data: Likewise.
22852 * conform/data/sys/stat.h-data: Likewise.
22853 * conform/data/sys/statvfs.h-data: Likewise.
22854 * conform/data/sys/time.h-data: Likewise.
22855 * conform/data/sys/timeb.h-data: Likewise.
22856 * conform/data/sys/times.h-data: Likewise.
22857 * conform/data/sys/types.h-data: Likewise.
22858 * conform/data/sys/uio.h-data: Likewise.
22859 * conform/data/sys/un.h-data: Likewise.
22860 * conform/data/sys/utsname.h-data: Likewise.
22861 * conform/data/sys/wait.h-data: Likewise.
22862 * conform/data/syslog.h-data: Likewise.
22863 * conform/data/tar.h-data: Likewise.
22864 * conform/data/termios.h-data: Likewise.
22865 * conform/data/utime.h-data: Likewise.
22866 * conform/data/utmpx.h-data: Likewise.
22867 * conform/data/varargs.h-data: Likewise.
22868 * conform/data/wchar.h-data: Likewise.
22869 * conform/data/wctype.h-data: Likewise.
22870 * conform/data/wordexp.h-data: Likewise.
22871
22872 * include/stropts.h: New file.
22873 * include/uchar.h: New file.
22874 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22875 * include/assert.h: Likewise.
22876 * include/ctype.h: Likewise.
22877 * include/dirent.h: Likewise.
22878 * include/dlfcn.h: Likewise.
22879 * include/fcntl.h: Likewise.
22880 * include/fnmatch.h: Likewise.
22881 * include/glob.h: Likewise.
22882 * include/grp.h: Likewise.
22883 * include/libio.h: Likewise.
22884 * include/locale.h: Likewise.
22885 * include/math.h: Likewise.
22886 * include/net/if.h: Likewise.
22887 * include/netdb.h: Likewise.
22888 * include/netinet/in.h: Likewise.
22889 * include/pthread.h: Likewise.
22890 * include/pwd.h: Likewise.
22891 * include/regex.h: Likewise.
22892 * include/sched.h: Likewise.
22893 * include/search.h: Likewise.
22894 * include/setjmp.h: Likewise.
22895 * include/signal.h: Likewise.
22896 * include/stdio.h: Likewise.
22897 * include/stdlib.h: Likewise.
22898 * include/string.h: Likewise.
22899 * include/sys/cdefs.h: Likewise.
22900 * include/sys/mman.h: Likewise.
22901 * include/sys/msg.h: Likewise.
22902 * include/sys/resource.h: Likewise.
22903 * include/sys/select.h: Likewise.
22904 * include/sys/socket.h: Likewise.
22905 * include/sys/stat.h: Likewise.
22906 * include/sys/statvfs.h: Likewise.
22907 * include/sys/time.h: Likewise.
22908 * include/sys/times.h: Likewise.
22909 * include/sys/uio.h: Likewise.
22910 * include/sys/utsname.h: Likewise.
22911 * include/sys/wait.h: Likewise.
22912 * include/termios.h: Likewise.
22913 * include/time.h: Likewise.
22914 * include/ulimit.h: Likewise.
22915 * include/unistd.h: Likewise.
22916 * include/utime.h: Likewise.
22917 * include/wchar.h: Likewise.
22918 * include/wctype.h: Likewise.
22919 * include/wordexp.h: Likewise.
22920
22921 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22922
7a270350
UD
22923 * time/time.h: TIME_UTC must be a macro.
22924 Make timespec_get available for ISO C11 only as well.
22925
7724defc
UD
229262012-02-24 Ulrich Drepper <drepper@gmail.com>
22927
22928 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22929 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22930
6b1d1d46
JM
229312012-02-24 Joseph Myers <joseph@codesourcery.com>
22932
22933 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 22934
0f8bbd69
JM
229352012-02-24 Joseph Myers <joseph@codesourcery.com>
22936
22937 * manual/texinfo.tex: Update to version 2012-01-19.16.
22938
66ab80bc
JM
229392012-02-24 Joseph Myers <joseph@codesourcery.com>
22940
22941 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22942
74981cc5
RM
229432012-02-24 Roland McGrath <roland@hack.frob.com>
22944
ee968201
RM
22945 [BZ #13738]
22946 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22947 * manual/fdl-1.3.texi: New file.
22948 * manual/fdl-1.1.texi: File removed.
22949
74981cc5
RM
22950 [BZ #13738]
22951 * manual/libc.texinfo (FDL_VERSION): New @set.
22952 Use it for mention of FDL in cover text.
22953 (Documentation License): Use it in @include file name.
22954
7bb764bc
JM
229552012-02-22 Joseph Myers <joseph@codesourcery.com>
22956 Roland McGrath <roland@hack.frob.com>
22957
22958 [BZ #5461]
22959 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22960 not LONG_LONG_MAX and LONG_LONG_MIN.
22961 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22962 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22963 name.
22964 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22965
6cbeae47
JM
229662012-02-22 Joseph Myers <joseph@codesourcery.com>
22967
22968 [BZ #2547]
22969 [BZ #11365]
22970 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22971 manipulate bits before adding and subtracting TWO23[sx].
22972 * math/libm-test.inc (nearbyint_test): Add more tests.
22973
fe45ce09
JM
229742012-02-22 Joseph Myers <joseph@codesourcery.com>
22975
22976 [BZ #2548]
22977 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22978 bits before adding and subtracting TWO23[sx].
22979 * math/libm-test.inc (rint_test): Add more tests.
22980 (rint_test_tonearest): Likewise.
22981 (rint_test_towardzero): Likewise.
22982 (rint_test_downward): Likewise.
22983 (rint_test_upward: Likewise.
22984
ff3b3d82
JM
229852012-02-22 Joseph Myers <joseph@codesourcery.com>
22986
22987 [BZ #10110]
22988 * include/stdc-predef.h: New file. Extracted from features.h.
22989 * include/features.h: Include stdc-predef.h.
22990 * Makefile (headers): Add stdc-predef.h.
22991 * CONFORMANCE (Compiler limitations): Update.
22992
ef0aab35
JM
229932012-02-22 Joseph Myers <joseph@codesourcery.com>
22994
22995 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22996
58639409
DM
229972012-02-21 David S. Miller <davem@davemloft.net>
22998
22999 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23000 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23001
c0e70b25
DM
230022012-02-20 David S. Miller <davem@davemloft.net>
23003
23004 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23005 using a normal save/restore sequence, rather than allocating a
23006 dummy stack frame just to store a frame pointer and restore.
23007 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23008
fb06851d
JM
230092012-02-21 Joseph Myers <joseph@codesourcery.com>
23010
23011 * manual/install.texi: Fix stray word in line-wrapped comment.
23012
7a8b71c3
DM
230132012-02-20 David S. Miller <davem@davemloft.net>
23014
d510c123
DM
23015 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23016 both binutils and gcc support GOTDATA.
23017
0722d7c2
DM
23018 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23019 "rd %pc" in the PIC register setup sequences.
23020
3d2b3019
DM
23021 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23022 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23023 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23024 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23025 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23026 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23027 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23028 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23029 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23030 (SYSCALL_ERROR_HANDLER): Likewise.
23031 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23032 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23033 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23034 (SYSCALL_ERROR_HANDLER): Likewise.
23035
c80098a9
DM
23036 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23037 (HAVE_GCC_GOTDATA): New.
23038 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23039 relocation support in both binutils and gcc.
23040 * sysdeps/sparc/elf/configure: Regenerate.
23041
3a2545a0
DM
23042 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23043 * sysdeps/sparc/sparc32/elf/configure: Delete.
23044 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23045 * sysdeps/sparc/sparc64/elf/configure: Delete.
23046 * sysdeps/sparc/elf/configure.in: New file.
23047 * sysdeps/sparc/elf/configure: Generate.
23048
7a8b71c3
DM
23049 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23050 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23051 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23052 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23053 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23054
f1e86fca
JM
230552012-02-21 Joseph Myers <joseph@codesourcery.com>
23056
23057 * manual/install.texi: Do not mention specific glibc version
23058 numbers.
23059 * manual/libc.texinfo (VERSION, UPDATED): Update.
23060 (@copying): Use @copyright{} and range of years.
23061
0e7dfaef
JM
230622012-02-21 Joseph Myers <joseph@codesourcery.com>
23063
23064 [BZ #13695]
23065 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23066 [crti.S not in sysdirs] (generated): Do not append.
23067 [crti.S not in sysdirs] (omit-deps): Likewise.
23068 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23069 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23070 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23071 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23072 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23073 Likewise.
23074 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23075 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23076 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23077 * csu/defs.awk: Remove file.
23078 * sysdeps/generic/initfini.c: Likewise.
23079 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23080 variable.
23081 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23082 Likewise.
23083
599af3ca
JM
230842012-02-20 Joseph Myers <joseph@codesourcery.com>
23085
23086 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23087 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23088 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23089 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23090 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23091 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23092 <bits/epoll.h>.
23093 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23094 (__EPOLL_PACKED): Define to empty if not defined by
23095 <bits/epoll.h>.
23096 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23098 bits/epoll.h.
23099
0e499750
JM
231002012-02-20 Joseph Myers <joseph@codesourcery.com>
23101
23102 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23103 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23104 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23105 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23106 <bits/timerfd.h>.
23107 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23109 bits/timerfd.h.
23110
5ad91f6e
JM
231112012-02-20 Joseph Myers <joseph@codesourcery.com>
23112
23113 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23114 in C locale.
23115 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23116 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23117 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23119
06b99b02
AJ
231202012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23121
23122 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23123 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23124
7638c0fd
AS
231252012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23126
23127 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23128 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23129 defined.
23130 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23131 Likewise.
23132 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23133 entry for 2.16.
23134
92221550
AJ
231352012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23136
23137 * math/w_acos.c: Use non-signaling floating-point comparisons.
23138 * math/w_acosf.c: Likewise.
23139 * math/w_acosh.c: Likewise.
23140 * math/w_acoshf.c: Likewise.
23141 * math/w_acoshl.c: Likewise.
23142 * math/w_acosl.c: Likewise.
23143 * math/w_asin.c: Likewise.
23144 * math/w_asinf.c: Likewise.
23145 * math/w_asinl.c: Likewise.
23146 * math/w_atanh.c: Likewise.
23147 * math/w_atanhf.c: Likewise.
23148 * math/w_atanhl.c: Likewise.
23149 * math/w_exp2.c: Likewise.
23150 * math/w_exp2f.c: Likewise.
23151 * math/w_exp2l.c: Likewise.
23152 * math/w_j0.c: Likewise.
23153 * math/w_j0f.c: Likewise.
23154 * math/w_j0l.c: Likewise.
23155 * math/w_j1.c: Likewise.
23156 * math/w_j1f.c: Likewise.
23157 * math/w_j1l.c: Likewise.
23158 * math/w_jn.c: Likewise.
23159 * math/w_jnf.c: Likewise.
23160 * math/w_log.c: Likewise.
23161 * math/w_log10.c: Likewise.
23162 * math/w_log10f.c: Likewise.
23163 * math/w_log10l.c: Likewise.
23164 * math/w_log2.c: Likewise.
23165 * math/w_log2f.c: Likewise.
23166 * math/w_log2l.c: Likewise.
23167 * math/w_logf.c: Likewise.
23168 * math/w_logl.c: Likewise.
23169 * math/w_sqrt.c: Likewise.
23170 * math/w_sqrtf.c: Likewise.
23171 * math/w_sqrtl.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23174 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23175 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23176 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23177
ebaf36eb
JM
231782012-02-19 Joseph Myers <joseph@codesourcery.com>
23179
23180 [BZ #9739]
23181 * manual/string.texi (strnlen): Use correct parameter name in
23182 equivalent expression.
23183
71c254a6
JM
231842012-02-19 Joseph Myers <joseph@codesourcery.com>
23185
23186 [BZ #11174]
23187 * manual/users.texi (seteuid): Consistently use neweuid for
23188 argument name.
23189
16d2c631
JM
231902012-02-19 Joseph Myers <joseph@codesourcery.com>
23191
23192 [BZ #13704]
23193 * manual/nss.texi (Services in the NSS configuration): Correct
23194 list of services in example configuration file.
23195
cd837b09
NB
231962012-02-19 Nick Bowler <nbowler@draconx.ca>
23197
23198 [BZ #11322]
23199 * manual/arith.texi: Remove statements about negative zero
23200 behaving identically to zero.
23201
02c4bbad
JM
232022012-02-18 Joseph Myers <joseph@codesourcery.com>
23203
23204 [BZ #5993]
23205 * manual/install.texi: Do not document upgrading from libc5.
23206
366842e7
JM
232072012-02-18 Joseph Myers <joseph@codesourcery.com>
23208
23209 [BZ #4596]
23210 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23211
dd54084d
DM
232122012-02-18 David S. Miller <davem@davemloft.net>
23213
23214 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23215 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23216 %o7 across the call.
23217 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23218 instead.
23219 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23220 SETUP_PIC_REG_LEAF.
23221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23222 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23223 * sysdeps/sparc/crtn.S: Likewise.
23224
2bcc53a3
UD
232252012-02-17 Ulrich Drepper <drepper@gmail.com>
23226
23227 * aout/Makefile: Remove.
23228
09c093b5
RK
232292012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23230
23231 [BZ #13058]
23232 * manual/examples/argp-ex1.c (main): Format definition in GNU
23233 style.
23234 * manual/examples/argp-ex2.c (main): Likewise.
23235 * manual/examples/argp-ex3.c (main): Likewise.
23236 * manual/examples/argp-ex4.c (main): Likewise.
23237 * manual/examples/longopt.c (main): Use new-style prototype
23238 definition.
23239 * manual/examples/strncat.c (main): Specify return type and use
23240 (void) for arguments.
23241 * manual/examples/subopt.c (main): Use char **argv argument.
23242
2ee633a2
JM
232432012-02-17 Joseph Myers <joseph@codesourcery.com>
23244
23245 [BZ #5077]
23246 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23247 rounding modes.
23248
0520adde
FB
232492012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23250
23251 [BZ #6907]
23252 * manual/string.texi (strchr): Change when strchrnul is
23253 recommended.
23254
3f4081cd
DGM
232552012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23256
23257 [BZ #174]
23258 * manual/locale.texi (setlocale): Document LOCPATH.
23259
d1b10e78
JM
232602012-02-17 Joseph Myers <joseph@codesourcery.com>
23261
23262 [BZ #10210]
23263 * manual/process.texi (execle): Move @dots{} before last argument.
23264
79c6869c
PB
232652012-02-17 Paul Bolle <pebolle@tiscali.nl>
23266
23267 [BZ #12047]
23268 * manual/charset.texi (Generic Charset Conversion): Fix typo
23269 (LC_TYPE -> LC_CTYPE).
23270
cc6e48bc
NB
232712012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23272
23273 [BZ #5805]
23274 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23275 (scalbnf): Likewise.
23276 (scalbnl): Likewise.
23277 (scalbln): Likewise.
23278 (scalblnf): Likewise.
23279 (scalblnl): Likewise.
23280 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23281 (vwarnx): Likewise.
23282 (verr): Likewise.
23283 (verrx): Likewise.
23284 * manual/filesys.texi (telldir): Use braces around return type.
23285 * manual/llio.texi (mmap): Add space after comma.
23286 (mmap64): Likewise.
23287 * manual/math.texi (jn): Use @var{} on parameter names.
23288 (jnf): Likewise.
23289 (jnl): Likewise.
23290 (yn): Likewise.
23291 (ynf): Likewise.
23292 (ynl): Likewise.
23293 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23294 line.
23295 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23296 "...".
23297 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23298 (sched_get_priority_max): Likewise.
23299 * manual/signal.texi (sigvec): Add space after comma.
23300 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23301 names.
23302 (if_indextoname): Likewise.
23303 (if_freenameindex): Likewise.
23304 (sendto): Use ',' instead of '.' in prototype.
23305 * manual/startup.texi (syscall): Use @dots{} instead of literal
23306 "...".
23307 * manual/stdio.texi (__fpending): Separate initial words of
23308 paragraph from @deftypefun line.
23309 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23310 "...".
23311 (vsyslog): Use @var{} on parameter names.
23312 * manual/terminal.texi (stty): Use @var{} on parameter names.
23313 * manual/users.texi (getutmp): Use @var{} on parameter names.
23314 (getutmpx): Likewise.
23315
5b23062f
JM
233162012-02-17 Joseph Myers <joseph@codesourcery.com>
23317
23318 [BZ #6884]
23319 * manual/stdio.texi (fopen): Fix typos in description of
23320 ",ccs=STRING".
23321
8dee4833
AJ
233222012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23323
23324 [BZ #4026]
23325 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23326 get clock_id definition.
23327
9078ce93
TS
233282012-02-17 Thomas Schwinge <thomas@schwinge.name>
23329
23330 [BZ #4822]
23331 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23332 (madvise): Cast every argument to void on its own.
23333
3835c55f
JM
233342012-02-17 Joseph Myers <joseph@codesourcery.com>
23335
23336 [BZ #9902]
23337 * manual/startup.texi (Exit Status): Fix typo.
23338
35c47e37
JM
233392012-02-17 Joseph Myers <joseph@codesourcery.com>
23340
23341 [BZ #10140]
23342 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23343 * manual/examples/argp-ex2.c: Likewise.
23344 * manual/examples/argp-ex3.c: Likewise.
23345
e3b69ca7
RH
233462012-02-16 Richard Henderson <rth@redhat.com>
23347
23348 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23349 * sysdeps/s390/s390-32/initfini.c: Remove.
23350 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23351 * sysdeps/s390/s390-64/initfini.c: Remove.
23352
df83af67
KK
233532012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23354
23355 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23356 compiler output for sysdeps/generic/initfini.c.
23357 * sysdeps/sh/elf/initfini.c: Remove file.
23358
f63f3380
DM
233592012-02-16 David S. Miller <davem@davemloft.net>
23360
fb59b3a4
DM
23361 [BZ #11494]
23362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23363
f63f3380
DM
23364 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23365 * sysdeps/sparc/crti.S: New file.
23366 * sysdeps/sparc/crtn.S: New file.
23367 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23368 * sysdeps/sparc/sparc64/Makefile: Likewise.
23369
df6a4a4a
MF
233702012-02-15 Mike Frysinger <vapier@gentoo.org>
23371
6dd8f3dc 23372 [BZ #3335]
df6a4a4a
MF
23373 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23374
1cac7236
RM
233752012-02-15 Roland McGrath <roland@hack.frob.com>
23376
d2c736f8
RM
23377 [BZ #4822]
23378 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23379
1cac7236
RM
23380 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23381 (write, read, close): Likewise.
23382 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23383
8e475601
JM
233842012-02-15 Joseph Myers <joseph@codesourcery.com>
23385
23386 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23387 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23388 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23389 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23390 <bits/signalfd.h>.
23391 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23393 bits/signalfd.h.
23394
ed656b40
MP
233952012-02-14 Marek Polacek <polacek@redhat.com>
23396
23397 * sysdeps/x86_64/crti.S: New file.
23398 * sysdeps/x86_64/crtn.S: New file.
23399 * sysdeps/x86_64/elf/initfini.c: Remove file.
23400
2a979d3a
JM
234012012-02-13 Joseph Myers <joseph@codesourcery.com>
23402
23403 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23404 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23405 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23406 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23407 <bits/inotify.h>.
23408 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23410 bits/inotify.h.
23411
2a418ac3
JM
234122012-02-13 Joseph Myers <joseph@codesourcery.com>
23413
23414 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23415 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23416 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23417 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23418 <bits/eventfd.h>.
23419 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23420 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23421 bits/eventfd.h.
23422
fb779be7
TS
234232012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23424
e19e83c5
RM
23425 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23426 __feraiseexcept instead of feraiseexcept.
7c35ffed 23427
fb779be7
TS
23428 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23429 nanosleep invocations.
23430 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23431 strings, and add error checking for a nanosleep invocations.
23432
59ba27a6
PE
234332012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23434
23435 Replace FSF snail mail address with URLs, as per GNU coding standards.
23436 Most of the snail mail addresses were wrong anyway, and omitting
23437 them makes the source code easier to maintain. Almost all of the
23438 changes are to license notices and to locale LC_IDENTIFICATION
23439 addresses, except for this one:
23440 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23441 not its snail mail address.
23442
57b957eb
RH
234432012-02-09 Richard Henderson <rth@twiddle.net>
23444
af850b1c
RH
23445 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23446 of kernel-features.h.
23447
57b957eb
RH
23448 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23449
6b73181a
MP
234502012-02-08 Marek Polacek <polacek@redhat.com>
23451
23452 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23453 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23454 * sysdeps/gnu/_G_config.h: Likewise.
23455 * sysdeps/generic/_G_config.h: Likewise.
23456
26ecc33a
AS
234572012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23458
6c6dbc63
AS
23459 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23460 tests.
23461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23462
e216c012
AS
23463 * sysdeps/powerpc/powerpc32/crti.S: New file.
23464 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23465 * sysdeps/powerpc/powerpc64/crti.S: New file.
23466 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23467
26ecc33a
AS
23468 * Makeconfig (have-initfini): Don't set.
23469 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23470 * configure.in (nopic_initfini): Don't substitute.
23471 * config.h.in (HAVE_INITFINI): Don't #undef.
23472 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23473 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23474
3add8e13
JM
234752012-02-08 Joseph Myers <joseph@codesourcery.com>
23476
23477 Support crti.S and crtn.S provided directly by architectures.
23478 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23479 [crti.S in sysdirs] (omit-deps): Likewise.
23480 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23481 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23482 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23483 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23484 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23485 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23486 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23487 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23488 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23489 compiler output for sysdeps/generic/initfini.c.
23490 * sysdeps/i386/elf/Makefile: Remove file.
23491 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23492
a22f12b4
MP
234932012-02-07 Marek Polacek <polacek@redhat.com>
23494
23495 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23496 * sysdeps/gnu/_G_config.h: Likewise.
23497 * sysdeps/mach/hurd/_G_config.h: Likewise.
23498
148cf100
MP
234992012-02-07 Marek Polacek <polacek@redhat.com>
23500
23501 * math/Makefile (tests): Add tst-CMPLX2.
23502 * math/tst-CMPLX2.c: New file.
23503
cfdc0dd7
AS
235042012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23505
84ba42c4
AS
23506 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23507
cfdc0dd7
AS
23508 * math/libm-test.inc (jn_test): Add missing L suffix.
23509
622c86f4
MP
235102012-02-06 Marek Polacek <polacek@redhat.com>
23511
23512 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23513 * sysdeps/i386/fpu/e_powf.S: Likewise.
23514 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23515 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23516 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23517 * sysdeps/i386/fpu/e_pow.S: Likewise.
23518 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23519 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23520 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23521 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23522 * sysdeps/i386/fpu/e_log2.S: Likewise.
23523 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23524 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23525 * sysdeps/i386/fpu/e_powl.S: Likewise.
23526 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23527 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23528 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23529 * sysdeps/i386/fpu/e_logl.S: Likewise.
23530 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23531 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23532 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23533 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23534 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23535 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23536 * sysdeps/i386/fpu/e_log.S: Likewise.
23537 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23538 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23539 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23540 * sysdeps/i386/fpu/e_logf.S: Likewise.
23541 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23542 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23543 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23544 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23545 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23546 * sysdeps/i386/fpu/e_log10.S: Likewise.
23547 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23548 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23549 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23550 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23551 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23552 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23553 * sysdeps/i386/asm-syntax.h: Likewise.
23554 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23555 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23556 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23557 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23558 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23559 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23560 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23561 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23562 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23563 * sysdeps/powerpc/sysdep.h: Likewise.
23564 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23565 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23566
d4a54ac6
JM
235672012-02-06 Joseph Myers <joseph@codesourcery.com>
23568
23569 [BZ #411]
23570 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23571
314054ea
JM
235722012-02-06 Joseph Myers <joseph@codesourcery.com>
23573
23574 * sysdeps/i386/sysdep.h: Include <features.h>.
23575 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23576 version.
23577
d8e0ca50
JM
235782012-02-05 Joseph Myers <joseph@codesourcery.com>
23579
23580 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23581 Define.
23582 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23583 LOAD_PIC_REG_STR.
23584
b1da7dd9
JM
235852012-02-03 Joseph Myers <joseph@codesourcery.com>
23586
23587 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23588 (SETUP_PIC_REG): Use GET_PC_THUNK.
23589 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23590 macro.
23591
9a1d9254
JM
235922012-02-03 Joseph Myers <joseph@codesourcery.com>
23593
23594 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23595 for non-PIC compilation.
23596 (SETUP_PIC_REG): Add .p2align directive.
23597 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23598 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23599 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23600 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23601 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23602 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23603 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23604 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23605 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23606 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23607 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23608 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23609 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23610 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23611 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23612 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23613 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23614 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23615 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23616 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23617 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23618 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23619 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23620 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23621 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23622 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23623 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23624 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23625 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23626 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23627 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23628 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23629 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23630 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23631 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23632 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23633 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23634 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23635 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23636 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23637 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23638
65dc3b75
JM
236392012-02-03 Joseph Myers <joseph@codesourcery.com>
23640
23641 * math/tst-CMPLX.c: Include <stdio.h>.
23642
d55bf177
JM
236432012-01-31 Joseph Myers <joseph@codesourcery.com>
23644
23645 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23646 float.
23647 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23648 * sysdeps/sparc/bits/mathdef.h: Likewise.
23649
69db4f8f
MP
236502012-01-31 Marek Polacek <polacek@redhat.com>
23651
23652 * libio/libio.h: Don't define _PARAMS.
23653 * locale/programs/config.h: Don't define PARAMS.
23654 * stdlib/strtol_l.c: Likewise.
23655 (__strtol_l): Remove PARAMS from the prototype.
23656
41b81892
UD
236572012-01-31 Ulrich Drepper <drepper@gmail.com>
23658
3b49edc0
UD
23659 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23660 names. Just use the correct names. Remove unnecessary wrapper
23661 functions.
23662 * malloc/arena.c: Likewise.
23663 * malloc/hooks.c: Likewise.
23664
41b81892
UD
23665 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23666 ARENA_TEST says not to. Simplify test for creation of a new arena.
23667 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23668
27a25b6e
UD
236692012-01-30 Ulrich Drepper <drepper@gmail.com>
23670
23671 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23672 into tail calls.
23673 (update_get_addr): New function.
23674 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23675 GET_ADDR_MODULE parameter.
23676
c8a89e7d
JM
236772012-01-30 Joseph Myers <joseph@codesourcery.com>
23678
23679 * crypt/cert.c: Remove __STDC__ conditionals.
23680 * crypt/crypt-entry.c: Likewise.
23681 * crypt/crypt_util.c: Likewise.
23682 * libio/filedoalloc.c: Likewise.
23683 * libio/fileops.c: Likewise.
23684 * libio/genops.c: Likewise.
23685 * libio/iofclose.c: Likewise.
23686 * libio/iofdopen.c: Likewise.
23687 * libio/iofopen.c: Likewise.
23688 * libio/iofopen64.c: Likewise.
23689 * libio/iogetdelim.c: Likewise.
23690 * libio/iopopen.c: Likewise.
23691 * libio/obprintf.c: Likewise.
23692 * libio/oldfileops.c: Likewise.
23693 * libio/oldiofclose.c: Likewise.
23694 * libio/oldiofdopen.c: Likewise.
23695 * libio/oldiofopen.c: Likewise.
23696 * libio/oldiopopen.c: Likewise.
23697 * libio/wfiledoalloc.c: Likewise.
23698 * libio/wgenops.c: Likewise.
23699 * locale/programs/xmalloc.c: Likewise.
23700 * misc/syslog.c: Likewise.
23701 * stdio-common/xbug.c: Likewise.
23702 * string/memchr.c: Likewise.
23703 * string/memcmp.c: Likewise.
23704 * string/memrchr.c: Likewise.
23705 * string/rawmemchr.c: Likewise.
23706 * sysdeps/posix/getcwd.c: Likewise.
23707 * time/strftime_l.c: Likewise.
23708
3b100462
JM
237092012-01-30 Joseph Myers <joseph@codesourcery.com>
23710
23711 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
23712 * config.make.in (config-cflags-sse2avx): Define.
23713 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23714 Fix typo.
23715
607998af
CM
237162012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23717
23718 * scripts/config.guess: Update from upstream config git repository.
23719 * scripts/config.sub: Likewise.
23720
3601428f
CM
237212012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23722
3ac8b282
CM
23723 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23724 (EM_NUM): Update.
23725 (R_TILEPRO_*, R_TILEGX_*): New macros.
23726
e034841e
CM
23727 * scripts/firstversions.awk: Fix bug in version range handling.
23728
540d7568
CM
23729 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23730
3601428f
CM
23731 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23732
463de862
CM
23733 * include/sys/epoll.h: New file.
23734 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23735 libc_hidden_def.
23736
73139a76
UD
237372012-01-28 Ulrich Drepper <drepper@gmail.com>
23738
96bc5b45
UD
23739 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23740 Avoid unnecessary __WORDSIZE == 64 test.
23741 (fmaxf): Use VEX format if possible.
23742 (fmax): Likewise.
23743 (fminf): Likewise.
23744 (fmin): Likewise.
23745
56f6f6a2
UD
23746 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23747 * math/math_private.h: Remove libc_fegetround* and
23748 libc_fesetround*.
23749 * sysdeps/i386/configure.in: Check for -msse2avx.
23750 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23751 also if SSE2AVX is defined.
23752 Remove libc_fegetround* and libc_fesetround*.
23753 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23754 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23755 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23756 of HAS_YMM_USABLE.
23757 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23758 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23759 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23760 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23761 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23762
73139a76
UD
23763 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23764
d73f93a4
AZ
237652012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23766
23767 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23768 size is not set.
23769 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23770
6ee65ed6
UD
237712012-01-27 Ulrich Drepper <drepper@gmail.com>
23772
23773 [BZ #13618]
23774 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23775 relocation.
23776 * Makeconfig (libm): Define.
23777 * elf/Makefile: Add rules to build and run tst-relsort1.
23778 * elf/tst-relsort1.c: New file.
23779 * elf/tst-relsort1mod1.c: New file.
23780 * elf/tst-relsort1mod2.c: New file.
23781
8db21882
JM
237822012-01-27 Joseph Myers <joseph@codesourcery.com>
23783
23784 * math/s_ldexp.c: Remove __STDC__ conditionals.
23785 * math/s_ldexpf.c: Likewise.
23786 * math/s_ldexpl.c: Likewise.
23787 * math/s_nextafter.c: Likewise.
23788 * math/s_nexttowardf.c: Likewise.
23789 * math/s_significand.c: Likewise.
23790 * math/s_significandf.c: Likewise.
23791 * math/s_significandl.c: Likewise.
23792 * math/w_jnl.c: Likewise.
23793 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23794 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23795 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23796 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23797 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23798 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23799 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23800 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23801 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23802 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23803 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23805 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23806 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23807 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23808 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23809 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23810 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23812 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23813 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23814 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23815 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23816 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23817 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23818 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23819 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23820 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23821 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23822 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23823 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23824 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23825 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23826 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23827 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23828 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23829 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23830 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23831 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23832 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23833 * sysdeps/ieee754/k_standard.c: Likewise.
23834 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23835 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23836 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23837 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23838 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23839 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23840 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23841 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23842 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23843 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23844 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23845 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23846 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23847 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23848 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23849 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23850 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23851 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23852 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23853 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23854 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23855 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23856 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23857 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23858 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23859 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23860 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23861 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23862 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23863 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23864 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23865 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23866 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23867 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23868 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23869 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23870 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23871 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23872 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23873 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23874 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23875 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23876 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23877 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23878 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23879 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23880 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23881 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23882 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23883 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23884 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23885 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23886 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23887 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23888 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23889 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23890 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23891 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23892 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23893 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23894 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23895 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23896 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23897 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23898 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23899 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23900 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23901 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23902 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23903 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23904 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23905 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23906 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23907 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23908 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23909 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23910 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23911 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23912 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23913 * sysdeps/ieee754/s_matherr.c: Likewise.
23914 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23915 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23916 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23917 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23918
965a54a4
JM
239192012-01-26 Joseph Myers <joseph@codesourcery.com>
23920
23921 * crypt/md5.h: Remove __STDC__ conditionals.
23922 * libio/libioP.h: Likewise.
23923 * locale/programs/config.h: Likewise.
23924 * sysdeps/generic/sysdep.h: Likewise.
23925 * sysdeps/i386/asm-syntax.h: Likewise.
23926 * sysdeps/s390/asm-syntax.h: Likewise.
23927 * sysdeps/unix/sysdep.h: Likewise.
23928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23930
7071ad79
JM
239312012-01-26 Joseph Myers <joseph@codesourcery.com>
23932
23933 * libio/libio.h: Remove __STDC__ conditionals.
23934 * malloc/obstack.h: Likewise.
23935 * math/complex.h: Likewise.
23936 * math/math.h: Likewise.
23937 * sysdeps/generic/_G_config.h: Likewise.
23938 * sysdeps/gnu/_G_config.h: Likewise.
23939 * sysdeps/mach/hurd/_G_config.h: Likewise.
23940 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23941 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23942 * sysdeps/sparc/bits/mathdef.h: Likewise.
23943
afc5ed09
UD
239442012-01-26 Ulrich Drepper <drepper@gmail.com>
23945
23946 [BZ #13583]
23947 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 23948 Clean up HAS_* macros.
afc5ed09 23949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
23950 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23951 possible.
23952 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23953 HAS_AVX.
23954 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23955 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23956 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23957 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23958 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 23959
bdb6de1d
JM
239602012-01-25 Joseph Myers <joseph@codesourcery.com>
23961
23962 * elf/tst-unique3.cc (gets): Remove declaration.
23963 * elf/tst-unique3lib.cc (gets): Likewise.
23964 * elf/tst-unique3lib2.cc (gets): Likewise.
23965 * elf/tst-unique4.cc (gets): Likewise.
23966
b15549e6
UD
239672012-01-24 Ulrich Drepper <drepper@gmail.com>
23968
23969 * include/stdio.h: Add C++ protection. Add gets declarations and
23970 definitions.
23971 * debug/tst-chk1.c: Don't declare gets here.
23972 * stdio-common/tst-gets.c: Likewise.
23973
a037381f
JM
239742012-01-24 Joseph Myers <joseph@codesourcery.com>
23975
23976 * posix/glob: Remove directory.
23977
f1d4aa75
JM
239782012-01-24 Joseph Myers <joseph@codesourcery.com>
23979
23980 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23981
81c0c964
PT
239822012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23983
23984 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23985 of the non-standard EPFNOSUPPORT.
23986
0ea698ae
ST
239872011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23988
23989 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23990 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23991 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23992
d220b117
UD
239932012-01-21 Ulrich Drepper <drepper@gmail.com>
23994
23995 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23996
3e1aa84e
UD
239972012-01-20 Ulrich Drepper <drepper@gmail.com>
23998
23999 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24000 transient errors.
24001 * nscd/grpcache.c (cache_addgr): Likewise.
24002 * nscd/hstcache.c (cache_addhst): Likewise.
24003 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24004 * nscd/pwdcache.c (cache_addpw): Likewise.
24005 * nscd/servicescache.c (cache_addserv): Likewise.
24006
400aa020
UD
240072012-01-16 Ulrich Drepper <drepper@gmail.com>
24008
d77e7869
UD
24009 * malloc/malloc.c: Various cleanups.
24010 * malloc/hooks.c: Likewise.
24011
400aa020
UD
24012 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24013 * stdlib/bug-fmtmsg1.c: New file.
24014
24015 * stdlib/fmtmsg.c (init): Add missing unlock.
24016 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24017
e0a309cf
MP
240182012-01-12 Marek Polacek <polacek@redhat.com>
24019
24020 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24021 and _GNU_SOURCE.
24022
929d11c7
WS
240232012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24024
24025 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24026 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24027 macro to ensure uniqueness of label name.
24028 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24029 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24030
41d0e869
UD
240312012-01-11 Ulrich Drepper <drepper@gmail.com>
24032
0cc5ed3b
UD
24033 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24034
41d0e869
UD
24035 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24036 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24037 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24038 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24039
a47a831a
UD
240402012-01-10 Ulrich Drepper <drepper@gmail.com>
24041
daa891c0
UD
24042 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24043
24044 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24045 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24046 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24047
e58ef0f2
UD
24048 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24049
a47a831a 24050 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24051 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24052 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24053 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24054
24055 * math/bits/math-finite.h: Add ldexp support.
24056
a0bfc9c7
MP
240572012-01-10 Marek Polacek <polacek@redhat.com>
24058
24059 * locale/programs/localedef.h (show_archive_content): Add noreturn
24060 attribute.
24061
d6e97a1d
UD
240622012-01-09 Ulrich Drepper <drepper@gmail.com>
24063
24064 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24065
d5835c26
UD
240662012-01-08 Ulrich Drepper <drepper@gmail.com>
24067
e5f484c6
UD
24068 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24069
d5835c26
UD
24070 * io/Makefile (headers): Add bits/poll2.h.
24071
d1f741e9
WS
240722011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24073
24074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24075 typo #include statement.
24076
ec09c1c4
UD
240772012-01-08 Ulrich Drepper <drepper@gmail.com>
24078
24079 * include/sys/cdefs.h: Define __attribute_alloc_size.
24080 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24081 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24082 * elf/pldd.c: Likewise.
24083 * iconv/iconv_charmap.c: Likewise.
24084 * iconv/iconvconfig.c: Likewise.
24085 * iconv/strtab.c: Likewise.
24086 * locale/programs/locale.c: Likewise.
24087 * locale/programs/localedef.h: Likewise.
24088 * locale/programs/simple-hash.c: Likewise.
24089 * nscd/nscd.h: Likewise.
24090 * nss/makedb.c: Likewise.
24091 * sysdeps/generic/ldconfig.h: Likewise.
24092 * locale/programs/localedef.c: Remove xmalloc prototype.
24093 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24094
20b38e03
PP
240952012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24096
24097 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24098 appropriate.
24099
a0da5fe1
UD
241002012-01-08 Ulrich Drepper <drepper@gmail.com>
24101
1d5a644a 24102 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24103 * math/tst-CMPLX.c: New file.
1d5a644a 24104
8784a6db
UD
24105 * math/complex.h (CMPLXL): Fix typo.
24106
d9a216c0
UD
24107 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24108 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24109 GLIBC_2.16.
24110 * debug/tst-chk1.c: Add poll and ppoll tests.
24111 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24112 * include/sys/poll.h: Add hidden proto for ppoll.
24113 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24114 * sysdeps/mach/hurd/ppoll.c: Likewise.
24115 * io/ppoll.c: Likewise.
24116 * debug/poll_chk.c: New file.
24117 * debug/ppoll_chk.c: New file.
24118 * include/bits/poll2.h: New file.
24119 * io/bits/poll2.h: New file.
24120
ac097f5c
UD
24121 [BZ #1350]
24122 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24123
2119dcfa
UD
24124 * configure.in: static is always set to yes. Remove.
24125 * config.make.in: Don't set build-static.
24126 * Makeconfig: Remove use of build-static.
24127 * dlfcn/Makefile: Likewise.
24128 * elf/Makefile: Likewise.
24129 * math/Makefile: Likewise.
24130 * misc/Makefile: Likewise.
24131 * nptl/Makefile: Likewise.
24132 * sysdeps/mach/hurd/Makefile: Likewise.
24133
121766a9
UD
24134 * configure.in: PWD_P is not used anymore.
24135 * config.make.in: Remove PWD_P entry.
24136
51a1d39c 24137 * configure.in: Remove last remnants of RANLIB.
8720d066 24138 No need to check for signed size_t anymore.
215f4bdc
UD
24139 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24140 and IA-64.
3857022a 24141 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24142 * aclocal.m4: Likewise.
24143
d3ed7225
UD
24144 * wcsmbs/mbrtoc16.c: Implement using towc function.
24145 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24146 * wcsmbs/wcsmbsload.c: Likewise.
24147 * iconv/gconv_simple.c: Likewise.
24148 * iconv/gconv_int.h: Likewise.
24149 * iconv/gconv_builtin.h: Likewise.
24150 * iconv/iconv_prog.c: Remove CHAR16 handling.
24151
24152 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24153
24154 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24155
a0da5fe1
UD
24156 * configure.in: Remove --with-elf and --enable-bounded options.
24157 Dont set base_machine for ia64. More non-ELF conditions removed.
24158 Remove testing and setting of leading underscore information.
24159 * config.make.in (build-bounded): Set to no.
24160 * config.h.in: Remove NO_UNDERSCORES entry.
24161 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24162 them.
24163 * csu/start.c: Remove !NO_UNDERSCORE code.
24164 * locale/localeinfo.h: Likewise.
24165 * sysdeps/generic/machine-gmon.h: Likewise.
24166 * sysdeps/generic/sysdep.h: Likewise.
24167 * sysdeps/i386/sysdep.h: Likewise.
24168 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24169 * sysdeps/mach/sysdep.h: Likewise.
24170 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24171 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24172 * sysdeps/sh/sysdep.h: Likewise.
24173 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24174 * sysdeps/unix/i386/sysdep.S: Likewise.
24175 * sysdeps/unix/sparc/start.c: Likewise.
24176 * sysdeps/unix/sparc/sysdep.S: Likewise.
24177 * sysdeps/unix/sparc/sysdep.h: Likewise.
24178 * sysdeps/unix/start.c: Likewise.
24179 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24180 * sysdeps/x86_64/sysdep.h: Likewise.
24181
df78418a
UD
241822012-01-07 Ulrich Drepper <drepper@gmail.com>
24183
a784e502
UD
24184 [BZ #13553]
24185 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24186 for non-gcc.
24187 * argp/argp-fmtstream.h: Use const instead __const.
24188 * argp/argp.h: Likewise.
24189 * assert/assert.h: Likewise.
24190 * bits/fenv.h: Likewise.
24191 * bits/sched.h: Likewise.
24192 * bits/sigset.h: Likewise.
24193 * bits/sigthread.h: Likewise.
24194 * catgets/nl_types.h: Likewise.
24195 * conform/data/pthread.h-data: Likewise.
24196 * crypt/crypt-private.h: Likewise.
24197 * crypt/crypt.h: Likewise.
24198 * crypt/crypt_util.c: Likewise.
24199 * ctype/ctype.h: Likewise.
24200 * debug/execinfo.h: Likewise.
24201 * debug/mbsnrtowcs_chk.c: Likewise.
24202 * debug/mbsrtowcs_chk.c: Likewise.
24203 * debug/wcsnrtombs_chk.c: Likewise.
24204 * debug/wcsrtombs_chk.c: Likewise.
24205 * debug/wcstombs_chk.c: Likewise.
24206 * dirent/dirent.h: Likewise.
24207 * dlfcn/dlfcn.h: Likewise.
24208 * elf/neededtest4.c: Likewise.
24209 * grp/grp.h: Likewise.
24210 * gshadow/gshadow.h: Likewise.
24211 * iconv/gconv.h: Likewise.
24212 * iconv/gconv_int.h: Likewise.
24213 * iconv/gconv_simple.c: Likewise.
24214 * iconv/iconv.h: Likewise.
24215 * iconv/loop.c: Likewise.
24216 * iconv/skeleton.c: Likewise.
24217 * include/aio.h: Likewise.
24218 * include/aliases.h: Likewise.
24219 * include/argz.h: Likewise.
24220 * include/arpa/inet.h: Likewise.
24221 * include/assert.h: Likewise.
24222 * include/dirent.h: Likewise.
24223 * include/dlfcn.h: Likewise.
24224 * include/execinfo.h: Likewise.
24225 * include/fcntl.h: Likewise.
24226 * include/fenv.h: Likewise.
24227 * include/glob.h: Likewise.
24228 * include/grp.h: Likewise.
24229 * include/libintl.h: Likewise.
24230 * include/mntent.h: Likewise.
24231 * include/netdb.h: Likewise.
24232 * include/pwd.h: Likewise.
24233 * include/rpc/netdb.h: Likewise.
24234 * include/sched.h: Likewise.
24235 * include/search.h: Likewise.
24236 * include/shadow.h: Likewise.
24237 * include/signal.h: Likewise.
24238 * include/stdio.h: Likewise.
24239 * include/stdlib.h: Likewise.
24240 * include/string.h: Likewise.
24241 * include/sys/socket.h: Likewise.
24242 * include/sys/stat.h: Likewise.
24243 * include/sys/statfs.h: Likewise.
24244 * include/sys/statvfs.h: Likewise.
24245 * include/sys/syslog.h: Likewise.
24246 * include/sys/time.h: Likewise.
24247 * include/sys/uio.h: Likewise.
24248 * include/time.h: Likewise.
24249 * include/unistd.h: Likewise.
24250 * include/utmp.h: Likewise.
24251 * include/wchar.h: Likewise.
24252 * include/wctype.h: Likewise.
24253 * inet/aliases.h: Likewise.
24254 * inet/arpa/inet.h: Likewise.
24255 * inet/netinet/ether.h: Likewise.
24256 * inet/netinet/in.h: Likewise.
24257 * intl/libintl.h: Likewise.
24258 * io/bits/fcntl2.h: Likewise.
24259 * io/fcntl.h: Likewise.
24260 * io/ftw.h: Likewise.
24261 * io/sys/poll.h: Likewise.
24262 * io/sys/stat.h: Likewise.
24263 * io/sys/statfs.h: Likewise.
24264 * io/sys/statvfs.h: Likewise.
24265 * io/utime.h: Likewise.
24266 * libio/bits/stdio.h: Likewise.
24267 * libio/bits/stdio2.h: Likewise.
24268 * libio/libio.h: Likewise.
24269 * libio/libioP.h: Likewise.
24270 * libio/stdio.h: Likewise.
24271 * locale/lc-ctype.c: Likewise.
24272 * locale/locale.h: Likewise.
24273 * login/utmp.h: Likewise.
24274 * malloc/arena.c: Likewise.
24275 * malloc/malloc.c: Likewise.
24276 * malloc/malloc.h: Likewise.
24277 * malloc/mcheck.c: Likewise.
24278 * malloc/mtrace.c: Likewise.
24279 * math/bits/mathcalls.h: Likewise.
24280 * math/fenv.h: Likewise.
24281 * math/math_private.h: Likewise.
24282 * misc/bits/error.h: Likewise.
24283 * misc/bits/syslog.h: Likewise.
24284 * misc/err.h: Likewise.
24285 * misc/error.h: Likewise.
24286 * misc/fstab.h: Likewise.
24287 * misc/mntent.h: Likewise.
24288 * misc/regexp.h: Likewise.
24289 * misc/search.h: Likewise.
24290 * misc/sgtty.h: Likewise.
24291 * misc/sys/mman.h: Likewise.
24292 * misc/sys/syslog.h: Likewise.
24293 * misc/sys/uio.h: Likewise.
24294 * misc/sys/xattr.h: Likewise.
24295 * misc/ttyent.h: Likewise.
24296 * nis/rpcsvc/ypclnt.h: Likewise.
24297 * nss/nss.h: Likewise.
24298 * posix/bits/unistd.h: Likewise.
24299 * posix/fnmatch.h: Likewise.
24300 * posix/glob.h: Likewise.
24301 * posix/sched.h: Likewise.
24302 * posix/spawn.h: Likewise.
24303 * posix/sys/wait.h: Likewise.
24304 * posix/unistd.h: Likewise.
24305 * posix/wordexp.h: Likewise.
24306 * pwd/pwd.h: Likewise.
24307 * resolv/netdb.h: Likewise.
24308 * resource/sys/resource.h: Likewise.
24309 * rt/aio.h: Likewise.
24310 * rt/bits/mqueue2.h: Likewise.
24311 * rt/mqueue.h: Likewise.
24312 * shadow/shadow.h: Likewise.
24313 * signal/signal.h: Likewise.
24314 * socket/send.c: Likewise.
24315 * socket/sendto.c: Likewise.
24316 * socket/sys/socket.h: Likewise.
24317 * stdio-common/printf.h: Likewise.
24318 * stdlib/bits/stdlib.h: Likewise.
24319 * stdlib/fmtmsg.h: Likewise.
24320 * stdlib/monetary.h: Likewise.
24321 * stdlib/stdlib.h: Likewise.
24322 * stdlib/ucontext.h: Likewise.
24323 * streams/stropts.h: Likewise.
24324 * string/argz.h: Likewise.
24325 * string/bits/string2.h: Likewise.
24326 * string/string.h: Likewise.
24327 * string/strings.h: Likewise.
24328 * sunrpc/rpc/auth.h: Likewise.
24329 * sunrpc/rpc/auth_des.h: Likewise.
24330 * sunrpc/rpc/clnt.h: Likewise.
24331 * sunrpc/rpc/netdb.h: Likewise.
24332 * sunrpc/rpc/pmap_clnt.h: Likewise.
24333 * sunrpc/rpc/xdr.h: Likewise.
24334 * sysdeps/generic/inttypes.h: Likewise.
24335 * sysdeps/generic/net/if.h: Likewise.
24336 * sysdeps/generic/sys/swap.h: Likewise.
24337 * sysdeps/gnu/net/if.h: Likewise.
24338 * sysdeps/gnu/utmpx.h: Likewise.
24339 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24340 * sysdeps/i386/i486/bits/string.h: Likewise.
24341 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24342 * sysdeps/s390/bits/string.h: Likewise.
24343 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24344 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24345 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24346 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24347 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24348 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24349 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24350 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24351 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24352 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24353 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24354 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24355 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24356 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24357 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24358 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24359 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24360 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24361 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24362 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24363 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24364 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24365 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24366 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24367 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24368 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24369 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24370 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24371 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24372 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24373 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24374 * sysvipc/sys/ipc.h: Likewise.
24375 * sysvipc/sys/msg.h: Likewise.
24376 * sysvipc/sys/sem.h: Likewise.
24377 * sysvipc/sys/shm.h: Likewise.
24378 * termios/termios.h: Likewise.
24379 * time/sys/time.h: Likewise.
24380 * time/time.h: Likewise.
24381 * wcsmbs/bits/wchar2.h: Likewise.
24382 * wcsmbs/uchar.h: Likewise.
24383 * wcsmbs/wchar.h: Likewise.
24384 * wctype/wctype.h: Likewise.
24385
0269750c
UD
24386 [BZ #13551]
24387 * Makeconfig: Remove all but ELF support including AIX support.
24388 * Makerules: Likewise.
24389 * config.h.in: Likewise.
24390 * config.make.in: Likewise.
24391 * configure: Likewise.
24392 * configure.in: Likewise.
24393 * csu/Makefile: Likewise.
24394 * csu/version.c: Likewise.
24395 * debug/Makefile: Likewise.
24396 * dlfcn/Makefile: Likewise.
24397 * elf/Makefile: Likewise.
24398 * extra-lib.mk: Likewise.
24399 * iconv/Makefile: Likewise.
24400 * include/libc-symbols.h: Likewise.
24401 * include/shlib-compat.h: Likewise.
24402 * resolv/Makefile: Likewise.
24403 * resolv/res_libc.c: Likewise.
24404 * rt/Makefile: Likewise.
24405 * sysdeps/i386/asm-syntax.h: Likewise.
24406 * sysdeps/i386/sysdep.h: Likewise.
24407 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24408 * sysdeps/mach/sysdep.h: Likewise.
24409 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24410 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24411 * sysdeps/s390/asm-syntax.h: Likewise.
24412 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24413 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24414 * sysdeps/sh/sysdep.h: Likewise.
24415 * sysdeps/unix/sparc/sysdep.h: Likewise.
24416 * sysdeps/wordsize-32/divdi3.c: Likewise.
24417 * sysdeps/x86_64/sysdep.h: Likewise.
24418
00bbd29b
UD
24419 * argp/Versions: Remove _argp_unlock_xxx.
24420
24421 [BZ #13559]
24422 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24423 * abilist/libBrokenLocale.abilist: Likewise.
24424 * abilist/libanl.abilist: Likewise.
24425 * abilist/libc.abilist: Likewise.
24426 * abilist/libcrypt.abilist: Likewise.
24427 * abilist/libdl.abilist: Likewise.
24428 * abilist/libm.abilist: Likewise.
24429 * abilist/libnsl.abilist: Likewise.
24430 * abilist/libpthread.abilist: Likewise.
24431 * abilist/libresolv.abilist: Likewise.
24432 * abilist/librt.abilist: Likewise.
24433 * abilist/libthread_db.abilist: Likewise.
24434 * abilist/libutil.abilist: Likewise.
24435 * abilist/libnss_db.abilist: New file.
24436
24437 * scripts/abilist.awk: Add support for indirect functions.
24438
a2693a0e
UD
24439 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24440
3f05895f
UD
24441 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24442
ecb6fb48
UD
24443 * shlib-versions: Remove entries for ports architectures.
24444
664f8cb9
UD
24445 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24446 files in ports.
24447 * elf/stackguard-macros.h: Remove support for IA-64.
24448 * elf/tst-auditmod1.c: Likewise.
24449 * sysdeps/generic/ldsodefs.h: Likewise.
24450
7ae81d88
UD
24451 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24452 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24453 configure files.
24454
bdeba135
UD
24455 [BZ #13552]
24456 * configure.in: Remove --enable-omitfp support.
24457 * FAQ.in: Adjust.
24458 * config.make.in: Likewise.
24459 * Makeconfig: Likewise.
24460 * manual/install.texi: Likewise.
24461
d75a0a62
UD
24462 In case anyone cares, the IA-64 architecture could move to ports.
24463 * sysdeps/ia64/*: Removed.
24464 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24465 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24466
dcc9756b
UD
24467 [BZ #13555]
24468 * configure.in: Remove entries for unsupported architectures.
24469
d3761ebc 24470 [BZ #13533]
9954432e
UD
24471 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24472 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24473 routines.
24474 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24475 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24476 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24477 fall back to using wcrtomb.
24478 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24479 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24480 renaming.
24481 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24482 * wcsmbs/tst-c16c32-1.c: New file.
24483
24484 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24485 local variable.
24486
c3a87236
UD
24487 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24488
28926a1b
UD
24489 * elf/tst-unique3.cc: Add explicit declaration of gets.
24490 * elf/tst-unique3lib.cc: Likewise.
24491 * elf/tst-unique3lib2.cc: Likewise.
24492 * elf/tst-unique4.cc: Likewise.
24493
df78418a
UD
24494 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24495
8ecd6b2a
JM
244962012-01-06 Joseph Myers <joseph@codesourcery.com>
24497
24498 [BZ #13566]
24499 * assert/assert.h (static_assert): Don't define for C++.
24500 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24501 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24502
9f115170
UD
245032012-01-03 Ulrich Drepper <drepper@gmail.com>
24504
5e0d0300
UD
24505 * iconv/loop.c (single loop): Fix assertion in storing of
24506 remaining bytes.
24507
9f115170
UD
24508 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24509
81fb02b0
UD
245102012-01-01 Ulrich Drepper <drepper@gmail.com>
24511
24512 * posix/getconf.c: Update copyright year.
24513 * nss/getent.c: Likewise.
a316c1f6 24514 * nss/makedb.c: Likewise.
81fb02b0
UD
24515 * iconv/iconvconfig.c: Likewise.
24516 * iconv/iconv_prog.c: Likewise.
24517 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24518 * elf/pldd.c: Likewise.
24519 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24520 * catgets/gencat.c: Likewise.
24521 * csu/version.c: Likewise.
24522 * elf/ldd.bash.in: Likewise.
24523 * elf/sprof.c (print_version): Likewise.
24524 * locale/programs/locale.c: Likewise.
24525 * locale/programs/localedef.c: Likewise.
a316c1f6 24526 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24527 * nscd/nscd.c (print_version): Likewise.
24528 * debug/xtrace.sh: Likewise.
24529 * malloc/memusage.sh: Likewise.
24530 * malloc/mtrace.pl: Likewise.
24531 * debug/catchsegv.sh: Likewise.
24532
2ba92745
JJ
245332011-12-30 Jakub Jelinek <jakub@redhat.com>
24534
24535 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24536 pure attribute.
24537
dadebdae
UD
245382011-12-24 Ulrich Drepper <drepper@gmail.com>
24539
d3761ebc 24540 [BZ #13533]
db6af3eb
UD
24541 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24542 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24543 transformations.
24544 * iconv/gconv_int.h: Likewise.
24545 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24546 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24547 from libc for GLIBC_2.16.
24548 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24549 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24550 * wcsmbs/uchar.h: Really define mbstate_t.
24551 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24552 * wcsmbs/c16rtomb.c: New file.
24553 * wcsmbs/mbrtoc16.c: New file.
24554 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24555 for C/POSIX locale.
24556 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24557 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24558
dadebdae
UD
24559 * wcsmbs/wchar.h: Add missing __restrict.
24560
67371b56
UD
245612011-12-23 Ulrich Drepper <drepper@gmail.com>
24562
74033a25
UD
24563 [BZ #13532]
24564 * time/Makefile (routines): Add timespec_get.
24565 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24566 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24567 timespec for ISO C11.
24568 * time/timespec_get.c: New file.
24569 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24570 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24571
380d7e87
UD
24572 [BZ #13531]
24573 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24574 * stdlib/stdlib.h: Declare aligned_alloc.
24575 * Versions.def: Add GLIBC_2.16 for libc.
24576 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24577
4e9e7a35
UD
24578 [BZ 13527]
24579 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24580 ISO C11.
24581
380d7e87 24582 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24583 code.
24584
03a71829
UD
24585 [BZ #13528]
24586 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24587
839e283e
UD
24588 [BZ #13529]
24589 * assert/assert.h (static_assert): Define.
24590
ce5294e2 24591 * version.h: Update for 2.16 development version.
90fa7312 24592
8d44e150 24593 [BZ #13526]
d7809905
UD
24594 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24595 _ISOC11_SOURCE.
24596
c0da14cd
UD
24597 * version.h (RELEASE): Bump for 2.15 release.
24598 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24599
530a3249
MP
24600 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24601 Patch by Marek Polacek <mpolacek@redhat.com>.
24602
67371b56
UD
24603 * bits/byteswap.h: Protect long long constants with __extension__.
24604 * sysdeps/i386/bits/byteswap.h: Likewise.
24605 * sysdeps/ia64/bits/byteswap.h: Likewise.
24606 * sysdeps/s390/bits/byteswap.h: Likewise.
24607 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24608
15db4de1
LD
246092011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24610
24611 [BZ #13540]
bbe315ea
LD
24612 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24613 destination buffer.
15db4de1
LD
24614 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24615
2b2596b1
MP
246162011-12-23 Marek Polacek <polacek@redhat.com>
24617
24618 * elf/dl-addr.c (determine_info): Add inline keyword.
24619 * elf/tst-auditmod4b.c (check_avx): Likewise.
24620 * elf/tst-auditmod6b.c (check_avx): Likewise.
24621 * elf/tst-auditmod6c.c (check_avx): Likewise.
24622 * elf/tst-auditmod7b.c (check_avx): Likewise.
24623
70c6c246
UD
246242011-12-23 Ulrich Drepper <drepper@gmail.com>
24625
24626 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24627 !__SSE_MATH__.
24628
c044cf14
LD
246292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24630
15db4de1 24631 [BZ #13540]
c044cf14
LD
24632 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24633 processing for last bytes.
24634
6b13d9d9
BH
246352011-08-06 Bruno Haible <bruno@clisp.org>
24636
d455f537
BH
24637 [BZ #13061]
24638 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24639 U+0385, not to U+1FEE.
24640
6b13d9d9
BH
24641 [BZ #13062]
24642 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24643 entry for U+00A5 U+0301.
24644
db910efd
UD
246452011-12-22 Ulrich Drepper <drepper@gmail.com>
24646
27deeafc
UD
24647 [BZ #13166]
24648 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24649 buffer for the output is too small.
24650
aed9d171
UD
24651 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24652 optimization.
24653
db910efd
UD
24654 [BZ #13185]
24655 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24656 SSE flags if possible.
24657
2bd779ae
LD
246582011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24659
e7f9dac3 24660 [BZ #13540]
2bd779ae
LD
24661 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24662 processing for last bytes.
24663
154bfc16
JM
246642011-12-22 Joseph Myers <joseph@codesourcery.com>
24665
24666 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24667 (syscall-list-default-options, syscall-list-default-condition)
24668 (syscall-list-includes): Define.
24669 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24670 list of ABIs and options and #if conditions for each ABI. Do not
24671 handle common syscalls between ABIs specially.
24672 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24673 Remove.
24674 (syscall-list-variants, syscall-list-32bit-options)
24675 (syscall-list-32bit-condition, syscall-list-64bit-options)
24676 (syscall-list-64bit-condition): Define.
24677 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24678 (syscall-list-variants, syscall-list-32bit-options)
24679 (syscall-list-32bit-condition, syscall-list-64bit-options)
24680 (syscall-list-64bit-condition): Define.
24681 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24682 Remove.
24683 (syscall-list-variants, syscall-list-32bit-options)
24684 (syscall-list-32bit-condition, syscall-list-64bit-options)
24685 (syscall-list-64bit-condition): Define.
24686 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24687 Remove.
24688 (syscall-list-variants, syscall-list-32bit-options)
24689 (syscall-list-32bit-condition, syscall-list-64bit-options)
24690 (syscall-list-64bit-condition): Define.
24691
21eaf3a5
UD
246922011-12-22 Ulrich Drepper <drepper@gmail.com>
24693
16c6f992
UD
24694 * locale/iso-639.def: Add brx entry.
24695
41043168
UD
24696 [BZ #13328]
24697 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24698 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24699
21eaf3a5
UD
24700 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24701 __feraiseexcept_renamed.
24702
e3a851a2
UD
247032011-12-21 Ulrich Drepper <drepper@gmail.com>
24704
4920765e
UD
24705 [BZ #13538]
24706 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24707 EPOLLET with unsigned values.
24708 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24709 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24710
e3a851a2
UD
24711 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24712 to large cancellation.
24713 * math/s_cacoshf.c: Likewise.
24714 * math/s_cacoshl.c: Likewise.
24715
b27e24b8
RK
247162011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24717
24718 [BZ #13305]
aebefeee 24719 [BZ #12786]
b27e24b8
RK
24720 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24721 * math/s_cacoshf.c: Likewise.
24722 * math/s_cacoshl.c: Likewise.
24723
ee190f67
UD
247242011-12-21 Ulrich Drepper <drepper@gmail.com>
24725
24726 [BZ #13439]
24727 * iconv/gconv.h: Define __GCONV_SWAP.
24728 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24729 * iconvdata/utf-16.c: Likewise.
24730 * iconvdata/utf-32.c: Likewise.
24731
707f25df
AS
247322011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24733
24734 [BZ #13524]
24735 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24736 numerator after shifting it by one limb.
24737
d2daaa1e
RÁE
247382011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24739
24740 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24741 under [__USE_EXTERN_INLINES].
24742
a4647e72
UD
247432011-12-17 Ulrich Drepper <drepper@gmail.com>
24744
24745 [BZ #13446]
24746 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24747
f0b264f1
AZ
247482011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24749
24750 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24751 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24752 optimized code.
24753 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24754 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24755 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24756 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24757 for strncasecmp/strncasecmp_l compilation.
24758 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24759 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24760
8ef4f244
MP
247612011-12-08 Marek Polacek <mpolacek@redhat.com>
24762
24763 [BZ #13484]
24764 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24765 of __asm__.
24766
97ac2654
UD
247672011-12-17 Ulrich Drepper <drepper@gmail.com>
24768
24769 [BZ #13506]
24770 * time/tzfile.c (__tzfile_read): Check values from file header.
24771
91d2a845
WS
247722011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24773
24774 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24775 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24776 * powerpc/powerpc32/dl-start.S: Likewise.
24777 * powerpc/powerpc32/elf/start.S: Likewise.
24778 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24779 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24780 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24781 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24782 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24783 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24784 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24785 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24786 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24787 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24788 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24789 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24790 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24791 * powerpc/powerpc32/memset.S: Likewise.
24792 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24793 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24794 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24795 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24796 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24797 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24798 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24799 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24800 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24801 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24802 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24803 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24804 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24805
a1267ba1
AZ
248062011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24807
24808 * math/libm-test.inc: Added more nearbyint tests.
24809 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24810 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24811 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24812 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24813
ad8ac1bd
RL
248142011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24815
24816 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24817 FD_CLOEXEC.
24818
1d3e4b61
UD
248192011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24820
24821 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24822 Add wcscpy-ssse3 wcscpy-c.
24823 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24824 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24825 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24826 * sysdeps/x86_64/wcschr.S: New file.
24827 * sysdeps/x86_64/wcsrchr.S: New file.
24828 * string/test-strcmp.c: Remove checking of wcscmp function for
24829 wrong alignments.
24830 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24831 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24832 wcsrchr-sse2 wcsrchr-c.
24833 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24834 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24835 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24836 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24837 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24838 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24839 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24840 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24841 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24842 * wcsmbc/wcschr.c (WCSCHR): New macro.
24843
5b330a2d
UD
248442011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24845
24846 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24847 * wcsmbs/test-wcsrchr.c: New file.
24848 * string/test-strrchr.c: Add wcsrchr support.
24849 (WIDE): New macro.
24850 * wcsmbs/test-wcscpy.c: New file.
24851 * string/test-strcpy.c: Add wcscpy support.
24852 (WIDE): New macro.
26428b7c 24853
f039c043
UD
248542011-12-10 Ulrich Drepper <drepper@gmail.com>
24855
24856 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24857 the inner loop.
24858
850fb039
AS
248592011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24860
24861 [BZ #13472]
24862 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24863
4efbd5cb
UD
248642011-12-04 Ulrich Drepper <drepper@gmail.com>
24865
52ff5dd0 24866 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 24867 Minor optimizations.
52ff5dd0 24868
4efbd5cb
UD
24869 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24870 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24871 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24872
8a426e12
UD
248732011-12-03 Ulrich Drepper <drepper@gmail.com>
24874
aff2453d
UD
24875 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24876 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24877 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24878 for gcc to avoid warnings.
24879 * inet/Makefile (tests): Add tst-checks.
24880 * inet/tst-checks.c: New file.
24881
24882 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24883 warning.
24884
24885 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24886 __wmemcmp_sse2.
24887
24888 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24889 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24890
8a426e12
UD
24891 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24892
9bea3473
UD
248932011-12-02 Ulrich Drepper <drepper@gmail.com>
24894
3a965496
UD
24895 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24896 problem.
24897
9bea3473
UD
24898 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24899
f101631b
UD
249002011-11-29 Joseph Myers <joseph@codesourcery.com>
24901
24902 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24903 conditional on GCC version.
24904 (__arch_compare_and_exchange_val_8_acq)
24905 (__arch_compare_and_exchange_val_16_acq)
24906 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24907 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24908 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24909
a98275aa
UD
249102011-12-02 Joseph Myers <joseph@codesourcery.com>
24911
24912 * sysdeps/sh/backtrace.c: New file.
24913
d4cc29a2
AS
249142011-12-02 Andreas Schwab <schwab@redhat.com>
24915
24916 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24917 parenthesis.
24918
6257af2d
AS
249192011-12-01 Andreas Schwab <schwab@redhat.com>
24920
24921 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24922 falling back to utime.
24923
b5f44c1a
AS
249242011-11-30 Andreas Schwab <schwab@redhat.com>
24925
24926 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24927 expectations for float.
24928
f3a6cc0a
AS
249292011-11-29 Andreas Schwab <schwab@redhat.com>
24930
24931 * locale/weight.h (findidx): Add parameter len.
24932 * locale/weightwc.h (findidx): Likewise.
24933 * posix/fnmatch_loop.c (FCT): Adjust caller.
24934 * posix/regcomp.c (build_equiv_class): Likewise.
24935 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24936 * posix/regexec.c (check_node_accept_bytes): Likewise.
24937 * string/strcoll_l.c (STRCOLL): Likewise.
24938 * string/strxfrm_l.c (STRXFRM): Likewise.
24939
9d65ea3a
UD
249402011-11-17 Ulrich Drepper <drepper@gmail.com>
24941
24942 * Makefile.in: Remove CVSOPT handling.
24943 * configure.in: Remove use of AC_REVISION.
24944 * iconvdata/Makefile (distribute): No need to filter out CVS.
24945 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24946 handling.
24947
5583a086
AS
249482011-11-16 Andreas Schwab <schwab@redhat.com>
24949
24950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24951 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24952 [USE_AS_STRNCASECMP_L]: Likewise.
24953 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24954 NO_TLS_DIRECT_SEG_REFS.
24955 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24956 Fix argument offsets for non-PIC.
24957 [USE_AS_STRNCASECMP_L]: Likewise.
24958 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24959 NO_TLS_DIRECT_SEG_REFS.
24960
d62a8200
UD
249612011-11-15 Ulrich Drepper <drepper@gmail.com>
24962
9d65ea3a 24963 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
24964 O_CLOEXEC.
24965 * locale/loadlocale.c (_nl_load_locale): Likewise.
24966
09f93bd3
AS
249672011-11-15 Andreas Schwab <schwab@redhat.com>
24968
446514f9
AS
24969 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24970 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24971 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24972 (SYSCALL_GETTIME): Set errno on error.
24973
09f93bd3
AS
24974 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24975 count references to noai6ai_cached.
24976
312be3f9
UD
249772011-11-15 Ulrich Drepper <drepper@gmail.com>
24978
24979 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24980
24981 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24982 FD_CLOEXEC for /proc/self/maps.
24983
24984 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24985 FD_CLOEXEC for /proc/meminfo.
24986
24987 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24988 gai.conf.
24989
24990 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24991 FD_CLOEXEC for given file.
24992
24993 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24994
24995 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24996 FD_CLOEXEC for /etc/hosts.
24997 (_gethtent): Likewise.
24998
24999 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25000
25001 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25002 cancellation and set FD_CLOEXEC for /etc/netgroup.
25003
25004 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25005 reading /etc/publickey.
25006
25007 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25008 allow cancellation when reading /etc/group.
25009
25010 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25011 cancellation.
25012 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25013
25014 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25015 when using data file.
25016
25017 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25018
25019 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25020 (write_nis_obj): Use "c" and "e" in fopen.
25021
25022 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25023
25024 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25025
25026 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25027
25028 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25029
25030 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25031 locale.alias.
25032
25033 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25034
25035 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25036
25037 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25038
25039 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25040 file parsing and set FD_CLOEXEC.
25041
82af0fa8
UD
250422011-11-14 Ulrich Drepper <drepper@gmail.com>
25043
25044 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25045
a5fb313c
AS
250462011-11-14 Andreas Schwab <schwab@redhat.com>
25047
25048 * malloc/arena.c (arena_get2): Don't call reused_arena when
25049 _int_new_arena failed.
25050
6abf3465
UD
250512011-11-14 Ulrich Drepper <drepper@gmail.com>
25052
25053 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25054 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25055 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25056 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25057 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25058 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25059 to compile strcasecmp and strncasecmp.
25060 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25061 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25062
25063 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25064
76e3966e
UD
250652011-11-13 Ulrich Drepper <drepper@gmail.com>
25066
25067 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25068 locale-defines.sym to gen-as-const-headers.
25069 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25070 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25071 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25072 to compile strcasecmp and strncasecmp.
25073 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25074 strcasecmp_l and strncasecmp_l.
25075 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25076 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25077 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25078 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25079 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25080 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25081 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25082 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25083 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25084 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25085 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25086
ab26144e
UD
250872011-11-12 Ulrich Drepper <drepper@gmail.com>
25088
7edb22ef
UD
25089 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25090 result of SYSDEP_GETTIME_CPU to retval.
25091 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25092 parameter list to macro. Remove trailing semicolon. Adjust users.
25093
9694fc44
UD
25094 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25095 variable.
25096
8ad89ef8
UD
25097 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25098 mantissa words.
25099 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25100
0c822ef9
UD
25101 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25102 from unused variable.
25103
874e0564
UD
25104 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25105 DWARF definitions.
25106 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25107 for assembling.
25108
3a2edc79
UD
25109 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25110 over namespaces.
25111
f3c2577f
UD
25112 * sunrpc/rpc_prot.c (rejected): Fix case value.
25113
294ce126
UD
25114 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25115 unsigned long long int to avoid warnings in shift.
25116
5e2b63c6
UD
25117 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25118 of use of trans.
25119 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25120 variable tmp.
25121
e7f4b08e
UD
25122 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25123 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25124 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25125
ab26144e
UD
25126 * nis/nis_table.c (nis_list): Use variable of correct type for
25127 result of __follow_path call.
25128
8a6d5255
AZ
251292011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25130
25131 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25132 of math functions ceil, trunc, floor, round, and sqrt, when
25133 avaliable on the platform.
25134 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25135 name clash.
25136 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25137 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25138 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25139
aaddc98c
MP
251402011-10-30 Marek Polacek <mpolacek@redhat.com>
25141
25142 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25143 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25144
95b7042b
RM
251452011-11-11 Roland McGrath <roland@hack.frob.com>
25146
25147 * include/unistd.h: Fix __readlink return type.
25148 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25149
57769839
UD
251502011-11-11 Ulrich Drepper <drepper@gmail.com>
25151
25152 * stdlib/ucontext.h: Undo last change for makecontext.
25153
edc5984d
AS
251542011-11-11 Andreas Schwab <schwab@redhat.com>
25155
98591e58
AS
25156 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25157
edc5984d
AS
25158 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25159 * setjmp/setjmp.h: Mark functions as non-leaf.
25160 * setjmp/bits/setjmp2.h: Likewise.
25161 * stdlib/ucontext.h: Likewise.
25162
77cdc054
AS
251632011-11-10 Andreas Schwab <schwab@redhat.com>
25164
25165 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25166 (reused_arena): Don't check arena limit.
25167 (arena_get2): Atomically check arena limit.
25168
fe72eebd
UD
251692011-11-08 Ulrich Drepper <drepper@gmail.com>
25170
5f078c32
UD
25171 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25172 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25173
fe72eebd
UD
25174 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25175 instructions.
25176
ae1bc2fa
AS
251772011-11-07 Andreas Schwab <schwab@redhat.com>
25178
7583a88d
AS
25179 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25180 handler when locking.
25181
ae1bc2fa
AS
25182 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25183 Fix size of allocated buffer.
25184
10fb0bfa
AS
251852011-11-04 Andreas Schwab <schwab@redhat.com>
25186
998832a4
AS
25187 [BZ #10103]
25188 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25189 declarations for long double functions.
25190 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25191
10fb0bfa
AS
25192 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25193
3d7ba52b
AS
251942011-11-03 Andreas Schwab <schwab@redhat.com>
25195
a9ae54a1
AS
25196 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25197 installed.
25198
3d7ba52b
AS
25199 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25200 is disabled.
25201
bc8db248
ST
252022011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25203
25204 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25205
45b96dd6
AS
252062011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25207
647776f6
AS
25208 * include/alloca.h (stackinfo_alloca_round): Define.
25209 (extend_alloca): Use it.
25210 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25211 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25212 here.
25213
d91a8b93
AS
25214 * scripts/check-local-headers.sh: Ignore libaudit.h.
25215
45b96dd6
AS
25216 * nscd/Makefile (extra-objs): Make recursively expanded.
25217
432d41ce
UD
252182011-11-01 Ulrich Drepper <drepper@gmail.com>
25219
34372fc6
UD
25220 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25221 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25222
fadb59f8
UD
25223 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25224 * posix/tst-rfc3484-2.c: Likewise.
25225 * posix/tst-rfc3484-3.c: Likewise.
25226
78239589
UD
25227 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25228 process_vm_writev.
25229 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25230 process_vm_writev.
25231 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25232 process_vm_writev from libc using GLIBC_2.15 version.
25233
432d41ce
UD
25234 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25235
02f9c6cf
PP
252362011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25237
25238 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25239 stack usage.
25240
3a2c0242
UD
252412011-10-31 Ulrich Drepper <drepper@gmail.com>
25242
f4ec4833
UD
25243 [BZ #13367]
25244 * nss/getent.c (initgroups_keys): Show error message in case no group
25245 names are given.
25246
3a2c0242
UD
25247 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25248 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25249 __bump_nl_timestamp.
25250 * nscd/connections (nscd_init): When host database is served open
25251 netlink socket and request notification about configuration changes.
25252 (main_loop_poll): Track netlink file descriptor and bump timestamp
25253 in case data becomes available.
25254 (main_loop_epoll): Likewise.
25255 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25256 (database_pers_head): Add extra_data fileds.
25257 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25258 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25259 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25260 Adjust caller.
25261 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25262 in6ai data, call __free_in6ai.
25263 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25264 Add -DHAVE_NETLINK.
25265 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25266 interface information. Reuse previous data if netlink timestamp
25267 is not changed.
25268 (__bump_nl_timestamp): New function.
25269 (__free_in6ai): New function.
25270
636064eb
UD
252712011-10-30 Ulrich Drepper <drepper@gmail.com>
25272
25273 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25274 close_not_cancel_no_status here.
25275 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25276
9beb2334
UD
252772011-10-29 Ulrich Drepper <drepper@gmail.com>
25278
6ef76f3b
UD
25279 [BZ #13276]
25280 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25281 return value.
25282
0ffc4f3e 25283 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25284 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25285 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25286
cb95113e
UD
252872011-07-03 Andreas Jaeger <aj@suse.de>
25288
25289 [BZ #10709]
25290 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25291 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25292 * math/libm-test.inc (sin_test): Add test case.
25293
a1b560ff
UD
252942011-10-29 Ulrich Drepper <drepper@gmail.com>
25295
c9aaface
UD
25296 [BZ #13337]
25297 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25298 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25299
d272e7f1
UD
25300 * elf/chroot_canon.c (chroot_canon): Cleanups.
25301
1bc33071
UD
25302 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25303
1760874d
TJ
25304 [BZ #13335]
25305 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25306 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25307
51d91b18
UD
25308 * string/test-strchr.c: Make usable for strchrnul testing.
25309 * string/test-strchrnul.c: New file.
25310 * string/Makefile (strop-tests): Add strchrnul.
25311
a1b560ff 25312 * po/it.po: Update from translation team.
b611fb81 25313 * po/es.po: Likewise.
a1b560ff 25314
a5b81e1f
UD
253152011-10-28 Ulrich Drepper <drepper@gmail.com>
25316
fd52bc6d
UD
25317 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25318 the three constants needed as parameters. Drop the others.
25319 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25320 __m128i_strloadu_tolower.
52e4b9eb
UD
25321 Create and initialize variable zero and use it in all the places
25322 where _mm_setzero_si128 was used.
fd52bc6d 25323
a5b81e1f
UD
25324 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25325 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25326 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25327 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25328 anymore.
25329 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25330 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25331 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25332 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25333 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25334 __mpranred, __mptan.
25335 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25336 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25337 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25338 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25339 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25340 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25341 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25342 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25343 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25344
b4343346
AS
253452011-10-28 Andreas Schwab <schwab@redhat.com>
25346
0c92d8a8
AS
25347 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25348 redefine if SHARED.
25349 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25350
b4343346
AS
25351 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25352 wide char related routines to wcsmbs subdir.
25353
3871f58f
AS
253542011-10-27 Andreas Schwab <schwab@redhat.com>
25355
25356 [BZ #13344]
25357 * misc/sys/cdefs.h (__THROWNL): Define.
25358 * posix/unistd.h: Use __THREADNL instead of __THREAD
25359 for memory synchronization functions.
25360
94d44d9f
RM
253612011-10-26 Roland McGrath <roland@hack.frob.com>
25362
21b64b15 25363 [BZ #13349]
94d44d9f
RM
25364 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25365 doesn't exist.
25366 * manual/stdio.texi (Obstack Streams): Node removed.
25367
f6ce9294
AS
253682011-10-26 Andreas Schwab <schwab@redhat.com>
25369
80479147
AS
25370 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25371 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25372 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25373
f6ce9294
AS
25374 * math/math_private.h (math_force_eval): Allow non-addressable
25375 arguments.
25376 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25377
618280a1
UD
253782011-10-25 Ulrich Drepper <drepper@gmail.com>
25379
e0016b11
UD
25380 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25381 file is not needed.
25382
25383 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25384 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25385 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25386 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25387 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25388 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25389 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25390 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25391 Add AVX variants.
25392 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25393 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25394 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25395 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25396 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25397 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25398 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25399 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25400 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25401 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25402 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25403 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25404 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25405 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25406 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25407 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25408 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25409 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25410 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25411
25412 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25413 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25414
618280a1
UD
25415 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25416 place. Use VEX encoding when compiling for AVX.
25417
37822576
AS
254182011-10-25 Andreas Schwab <schwab@redhat.com>
25419
1f1e1947
AS
25420 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25421 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25422
37822576
AS
25423 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25424
31ea014d
UD
254252011-10-25 Ulrich Drepper <drepper@gmail.com>
25426
d7826aa1 25427 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25428 useless if() expression.
d7826aa1
UD
25429 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25430 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25431 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25432 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25433 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25434 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25435 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25436 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25437 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25438 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25439 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25440 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25441 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25442 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25443 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25444 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25445 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25446 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25447 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25448
31ea014d
UD
25449 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25450
16437fec
AS
254512011-10-25 Andreas Schwab <schwab@redhat.com>
25452
25453 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25454 condition.
25455 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25456
31d3cc00
UD
254572011-10-25 Ulrich Drepper <drepper@gmail.com>
25458
25459 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25460 .text section. Avoid duplicate constants.
25461 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25462 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25463 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25465 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25466 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25467 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25468 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25469 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25470 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25471 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25472 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25473 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25474 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25475 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25476 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25477 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25478 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25479 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25480 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25481 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25482 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25483 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25484 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25485 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25486 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25487 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25488 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25489 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25490 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25491 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25492 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25493 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25494 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25495 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25496 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25497 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25498 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25499 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25500 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25501 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25502 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25503 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25504 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25505 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25506
58985aa9
UD
255072011-10-24 Ulrich Drepper <drepper@gmail.com>
25508
202c9deb
UD
25509 * sysdeps/x86_64/dla.h: Move to ...
25510 * sysdeps/x86_64/fpu/dla.h: ...here.
25511 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25512 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25513
af968f62
UD
25514 * config.make.in: Add have-mfma4 entry.
25515 * configure.in: Substitute libc_cv_cc_fma4.
25516 * math/Makefile (dbl-only-routines): Add sincostab.
25517 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25518 Use __sincostab not sincos.
25519 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25520 name is a macro.
25521 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25522 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25523 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25524 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25525 using __copysign.
25526 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25527 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25528 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25529 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25530 and __inv.
25531 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25532 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25533 __copysign.
25534 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25535 define aliases when function name is a macro.
25536 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25537 sysdeps/ieee754/dbl-64/sincos.tbl.
25538 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25539 fma4-enabled routines.
25540 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25541 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25542 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25543 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25544 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25545 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25546 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25547 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25548 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25549 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25550 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25551 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25552 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25553 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25554 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25555 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25556 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25557 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25558 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25559 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25560 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25561 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25562 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25563 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25564 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25565 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25566 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25567 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25568 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25569 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25570
58985aa9
UD
25571 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25572 rename.
25573 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25574 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25575 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25578 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25579 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25580 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25581
a201fbcf
AS
255822011-10-24 Andreas Schwab <schwab@redhat.com>
25583
25584 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25585
fc2ee42a
LD
255862011-10-23 Ulrich Drepper <drepper@gmail.com>
25587
bb3129bd
UD
25588 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25589
0275fff8
UD
25590 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25591 prediction.
25592 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25593
2fa2ae85
UD
25594 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25595 Remove unused variable magic_bits.
25596 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25597
fc2ee42a
LD
25598 * string/strnlen.c: Define and use STRNLEN macro.
25599 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25600 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25601 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25602 * wcsmbs/wcslen.c: Define and use WCSLEN.
25603 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25604 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25605 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25606 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25607 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25608 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25609 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25610
ce7dd29f
LD
256112011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25612
25613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25614 strnlen-sse2-no-bsf.
25615 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25616 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25617 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25618 Add strnlen support.
25619 (USE_AS_STRNLEN): New macro.
25620 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25621 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25622 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25623 * sysdeps/x86_64/wcslen.S: New file.
25624
979c70a3
MZ
256252011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25626
25627 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25628 XMM-moves are used for copying on small sizes.
25629
2d09f82f
LD
256302011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25631
25632 * wcsmbs/Makefile (strop-tests): Add wcschr.
25633 * wcsmbs/test-wcschr.c: New file.
25634 * string/test-strchr.c: Update.
25635 Add wcschr support.
25636 (WIDE): New macro.
25637
619fccca
LD
256382011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25639
2d09f82f 25640 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
25641 * wcsmbs/test-wcslen.c: New file.
25642 * string/test-strlen.c: Update.
25643 Add wcslen support.
25644 (WIDE): New macro.
25645
09f699ea
UD
256462011-10-23 Ulrich Drepper <drepper@gmail.com>
25647
25648 * po/it.po: Update from translation team.
25649
95584d3b
LD
256502011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25651
25652 * sysdeps/x86_64/wcscmp.S: Update.
25653 Fix wrong comparison semantics.
25654 wcscmp shall use signed comparison not unsigned.
25655 Don't use substraction to avoid overflow bug.
25656 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25657 * wcsmbc/wcscmp.c: Likewise.
25658 * string/test-strcmp.c: Likewise.
25659 Add new tests to check cases with negative values.
25660
c8b3296b
UD
256612011-10-23 Ulrich Drepper <drepper@gmail.com>
25662
25663 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25664 * sysdeps/x86_64/dla.h: ...here. New file.
25665 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25666 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25667 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25668 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25669 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25670 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25671 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25672 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25673 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25674
246ad57a
AS
256752011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25676
25677 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25678 __ynl_finite aliases.
25679
a1a87169
UD
256802011-10-22 Ulrich Drepper <drepper@gmail.com>
25681
0d355eb7
UD
25682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25683
a1a87169
UD
25684 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25685 define DLA_FMA.
25686 [DLA_FMA] (EMULV): Use DLA_FMA.
25687 [DLA_FMA] (MUL12): Use EMULV.
25688 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25689 that are not needed.
25690 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25692 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25694 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25695 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25696 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25697
ee2aafe0
AS
256982011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25699
25700 * math/s_nan.c: Undef __nan.
25701 * math/s_nanf.c: Undef __nanf.
25702 * math/s_nanl.c: Undef __nanl.
25703 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25704 "math_private.h".
25705
bc62c2fb
UD
257062011-10-22 Ulrich Drepper <drepper@gmail.com>
25707
77425c63
UD
25708 * math/s_catan.c: Add branch predictions.
25709 * math/s_catanf.c: Likewise.
25710 * math/s_catanh.c: Likewise.
25711 * math/s_catanhf.c: Likewise.
25712 * math/s_catanhl.c: Likewise.
25713 * math/s_catanl.c: Likewise.
25714 * math/s_cexp.c: Likewise.
25715 * math/s_cexpf.c: Likewise.
25716 * math/s_cexpl.c: Likewise.
25717 * math/s_clog.c: Likewise.
25718 * math/s_clog10.c: Likewise.
25719 * math/s_clog10f.c: Likewise.
25720 * math/s_clog10l.c: Likewise.
25721 * math/s_clogf.c: Likewise.
25722 * math/s_clogl.c: Likewise.
25723 * math/s_csqrt.c: Likewise.
25724 * math/s_csqrtf.c: Likewise.
25725 * math/s_csqrtl.c: Likewise.
25726 * math/s_ctanf.c: Likewise.
25727 * math/s_ctanh.c: Likewise.
25728 * math/s_ctanhf.c: Likewise.
25729 * math/s_ctanhl.c: Likewise.
25730 * math/s_ctanl.c: Likewise.
25731
bc62c2fb
UD
25732 * math/math_private.h: Define __nan, __nanf, __nanl.
25733 * math/s_cacosh.c: Include <math_private.h>.
25734 * math/s_cacoshl.c: Likewise.
25735 * math/s_casinh.c: Likewise.
25736 * math/s_casinhf.c: Likewise.
25737 * math/s_casinhl.c: Likewise.
25738 * math/s_ccos.c: Rely entire on ccosh.
25739 * math/s_ccosf.c: Rely entire on ccoshf.
25740 * math/s_ccosl.c: Rely entirely on ccoshl.
25741 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25742 Remove tests for FE_INVALID.
25743 * math/s_ccoshf.c: Likewise.
25744 * math/s_ccoshl.c: Likewise.
25745 * math/s_csin.c: Likewise.
25746 * math/s_csinf.c: Likewise.
25747 * math/s_csinh.c Likewise.
25748 * math/s_csinhf.c: Likewise.
25749 * math/s_csinhl.c: Likewise.
25750 * math/s_csinl.c: Likewise.
25751 * math/s_ctan.c: Likewise.
25752 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25753 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25754 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25755
8ec250a4
UD
257562011-10-21 Ulrich Drepper <drepper@gmail.com>
25757
c196fed8
UD
25758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25759 compilation problems.
25760
8ec250a4
UD
25761 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25762 __builtin_expect.
25763
8d4f46c6
UD
257642011-10-20 Ulrich Drepper <drepper@gmail.com>
25765
ed72b654
UD
25766 * sysdeps/i386/configure.in: Test for -mfma4 option.
25767 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25768 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25769 COMMON_CPUID_INDEX_80000001.
25770 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25771 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25772 use it if FMA3 is not supported.
25773 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25774
8d4f46c6
UD
25775 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25776 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25777
d45c60c2
AS
257782011-10-20 Andreas Schwab <schwab@redhat.com>
25779
25780 [BZ #12892]
25781 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25782 it would create a cycle with a link time dependency.
25783
d9a4d2ab
UD
257842011-10-19 Ulrich Drepper <drepper@gmail.com>
25785
855d1560
UD
25786 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25787 instruction.
25788 * string/Makefile (strop-tests): Add rawmemchr.
25789 * string/test-rawmemchr.c: New file.
25790
d9a4d2ab
UD
25791 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25792 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25793 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25794 when compiling str{,n}casecmp and when AVX is available. Hook up
25795 new optimized code in initializers.
25796
8f3b1ffe
AS
257972011-10-19 Andreas Schwab <schwab@redhat.com>
25798
25799 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25800 __feraiseexcept instead of feraiseexcept.
25801
d38f1dba
UD
258022011-10-18 Ulrich Drepper <drepper@gmail.com>
25803
d9a8d0ab
UD
25804 * math/math_private.h: Define defaults for libc_fetestexcept and
25805 libc_feupdateenv.
25806 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25807 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25808 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25809 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25810 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25811 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25812 libc_fetestexcept and libc_feupdateenv.
25813
4855e3dd
UD
25814 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25815 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25816 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25817 * sysdeps/x86_64/fpu/math_private.h: Define special version of
25818 libc_feholdexcept_setround.
25819
581d30e3
UD
25820 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25821 Add s_nearbyint-c and s_nearbyintf-c.
25822 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25823 nearbyintf inlines.
25824 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25825 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25826 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25827 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25828
d38f1dba
UD
25829 * math/math_private.h: Define defaults for libc_fegetround,
25830 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25831 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25832 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25833 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25834 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25835 standard functions.
25836 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25837 Remove comments and hacks for old compiler versions.
25838 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25839 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25840 libc_feholdexceptl.
25841
caa6c9d8
AS
258422011-10-18 Andreas Schwab <schwab@redhat.com>
25843
25844 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
25845 (__feraiseexcept_renamed): Add __NTH.
25846 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
25847 namespace violations.
25848
97c066e6
UD
258492011-10-17 Ulrich Drepper <drepper@gmail.com>
25850
99ce7b04
UD
25851 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25852
1004d182
UD
25853 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25854
228a984d
UD
25855 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25856 recently added interfaces.
25857 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25858
c8553a6a
UD
25859 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25860 about macro parameter expansion.
25861
ed22dcf6
UD
25862 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25863 __NO_MATH_INLINES is defined. Cleanups.
25864
25865 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25866 and __floorf is target has SSE4.1.
25867 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25868 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25869 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25870 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25871
b171c137
UD
25872 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25873 name.
25874 (floorf): Likewise.
25875
97c066e6
UD
25876 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25877
629f62ef
AS
258782011-10-17 Andreas Schwab <schwab@redhat.com>
25879
49a43d80
AS
25880 * misc/sys/cdefs.h: Fix last change.
25881
629f62ef
AS
25882 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25883 database lookup.
25884
e453f6cd
UD
258852011-10-16 Ulrich Drepper <drepper@gmail.com>
25886
aa78043a
UD
25887 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25888
ad0f5cad
UD
25889 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25890 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25891 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25892 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25893 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25894 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25895 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25896 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25897 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25898 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25899 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25900 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25901 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25902 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25903 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25904 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25905 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25906 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25907 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25908 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25909 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25910 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25911
25912 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25913 ceil, ceilf, floor, floorf.
25914
25915 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25916 Perform IRELATIVE relocations last.
25917
e453f6cd
UD
25918 * elf/do-rel.h: Add another parameter nrelative, replacing the
25919 local variable with the same name. Change name of the function
25920 to end in Rel or Rela (uppercase).
25921 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25922 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25923 elf_dynamic_do_##reloc function.
25924
fd5bdc09
UD
259252011-10-15 Ulrich Drepper <drepper@gmail.com>
25926
79b195b5
UD
25927 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25928 is sufficient, at least on modern CPUs.
25929
d4a28569
UD
25930 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25931
b61099b5
UD
25932 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25933 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25934
bcf01e6d
UD
25935 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25936 __expl_finite.
25937 * math/bits/math-finite.h: Add entries for exp.
25938 * math/e_expl.c: Add __*_finite alias.
25939 * sysdeps/i386/fpu/e_exp.S: Likewise.
25940 * sysdeps/i386/fpu/e_expf.S: Likewise.
25941 * sysdeps/i386/fpu/e_expl.c: Likewise.
25942 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25943 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25944 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25945 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25946 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25947 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25948 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25949
ba1a0d59
UD
25950 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25951 is sufficient, at least on modern CPUs.
25952
fd5bdc09
UD
25953 * ctype/ctype-info.c (__ctype_init): Define.
25954 * include/ctype.h (__ctype_init): Declare.
25955 (__ctype_b_loc): The variable is always initialized.
25956 (__ctype_toupper_loc): Likewise.
25957 (__ctype_tolower_loc): Likewise.
25958 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25959 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25960
7872cfb0
AS
259612011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25962
b468825a
AS
25963 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25964
7872cfb0
AS
25965 * configure.in: Also look in $cxxmachine/include for C++ system
25966 headers.
25967
be13f7bf
LD
259682011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25969
25970 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25971 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25972 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25973 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25974 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25975 (USE_AS_WMEMCMP): New macro.
25976 Fixing indents.
25977 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25978 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25979 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25980 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25981 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25982 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25983 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25984 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25985 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25986 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25987 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25988 (USE_AS_WMEMCMP): New macro.
25989 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25990 * sysdeps/string/test-memcmp.c: Update.
25991 Fix simple_wmemcmp.
25992 Add new tests.
25993 * wcsmbs/wmemcmp.c: Update.
25994 (WMEMCMP): New macro.
25995 Fix overflow bug.
25996
556a2007
AJ
259972011-10-12 Andreas Jaeger <aj@suse.de>
25998
25999 [BZ #13268]
26000 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26001
538faaa7
UD
260022011-10-15 Ulrich Drepper <drepper@gmail.com>
26003
ab6737ff
UD
26004 * libio/iofwide.c (do_length): Avoid warning.
26005
538faaa7
UD
26006 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26007
396a21b1
UD
260082011-10-14 Ulrich Drepper <drepper@gmail.com>
26009
cdf2901f
UD
26010 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26011
38ad40ce
UD
26012 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26013 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26014 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26015 * sysdeps/i386/i686/fpu/e_log.S: New file.
26016 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26017 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26018
396a21b1
UD
26019 * ctype/ctype.h: Add support for inlined isXXX functions when
26020 compiling C++ code.
26021
6b1f68c9
AS
260222011-10-14 Andreas Schwab <schwab@redhat.com>
26023
349290c0
AS
26024 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26025
6b1f68c9
AS
26026 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26027
f2282d42
RM
260282011-10-13 Roland McGrath <roland@hack.frob.com>
26029
26030 [BZ #13291]
26031 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26032
5298ffa8
AS
260332011-10-13 Andreas Schwab <schwab@redhat.com>
26034
714fad23
AS
26035 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26036 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26037 feraiseexcept.
26038
81dcc7fb
AS
26039 * sysdeps/x86_64/memrchr.S: Check for zero size.
26040
5298ffa8
AS
26041 * string/stratcliff.c: Add memrchr tests.
26042
951fbcec
LD
260432011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26044
26045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26046 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26047 rawmemchr-sse2 rawmemchr-sse2-bsf.
26048 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26049 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26050 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26051 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26052 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26053 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26054 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26055 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26056 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26057 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26058 * string/memrchr.c (MEMRCHR): New macro.
26059
0ac5ae23
UD
260602011-10-12 Ulrich Drepper <drepper@gmail.com>
26061
26062 Add integration with gcc's -ffinite-math-only and optimize wrapper
26063 functions in libm.
26064 * Versions.def: Define GLIBC_2.15 version for libm.
26065 * math/Makefile (headers): Add bits/math-finite.h.
26066 * math/bits/math-finite.h: New file.
26067 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26068 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26069 * math/e_acoshl.c: Add __*_finite alias.
26070 * math/e_acosl.c: Likewise.
26071 * math/e_asinl.c: Likewise.
26072 * math/e_atan2l.c: Likewise.
26073 * math/e_atanhl.c: Likewise.
26074 * math/e_coshl.c: Likewise.
26075 * math/e_exp10.c: Likewise.
26076 * math/e_exp10f.c: Likewise.
26077 * math/e_exp10l.c: Likewise.
26078 * math/e_exp2l.c: Likewise.
26079 * math/e_fmodl.c: Likewise.
26080 * math/e_gammal_r.c: Likewise.
26081 * math/e_hypotl.c: Likewise.
26082 * math/e_j0l.c: Likewise.
26083 * math/e_j1l.c: Likewise.
26084 * math/e_jnl.c: Likewise.
26085 * math/e_lgammal_r.c: Likewise.
26086 * math/e_log10l.c: Likewise.
26087 * math/e_log2l.c: Likewise.
26088 * math/e_logl.c: Likewise.
26089 * math/e_powl.c: Likewise.
26090 * math/e_sinhl.c: Likewise.
26091 * math/e_sqrtl.c: Likewise.
26092 * math/e_scalb.c: Completely rewritten and optimized.
26093 * math/e_scalbf.c: Likewise.
26094 * math/e_scalbl.c: Likewise.
26095 * math/w_acos.c: Likewise.
26096 * math/w_acosf.c: Likewise.
26097 * math/w_acosl.c: Likewise.
26098 * math/w_acosh.c: Likewise.
26099 * math/w_acoshf.c: Likewise.
26100 * math/w_acoshl.c: Likewise.
26101 * math/w_asin.c: Likewise.
26102 * math/w_asinf.c: Likewise.
26103 * math/w_asinl.c: Likewise.
26104 * math/w_atan2.c: Likewise.
26105 * math/w_atan2f.c: Likewise.
26106 * math/w_atan2l.c: Likewise.
26107 * math/w_atanh.c: Likewise.
26108 * math/w_atanhf.c: Likewise.
26109 * math/w_atanhl.c: Likewise.
26110 * math/w_exp10.c: Likewise.
26111 * math/w_exp10f.c: Likewise.
26112 * math/w_exp10l.c: Likewise.
26113 * math/w_fmod.c: Likewise.
26114 * math/w_fmodf.c: Likewise.
26115 * math/w_fmodl.c: Likewise.
26116 * math/w_j0.c: Likewise.
26117 * math/w_j0f.c: Likewise.
26118 * math/w_j0l.c: Likewise.
26119 * math/w_j1.c: Likewise.
26120 * math/w_j1f.c: Likewise.
26121 * math/w_j1l.c: Likewise.
26122 * math/w_jn.c: Likewise.
26123 * math/w_jnf.c: Likewise.
26124 * math/w_log.c: Likewise.
26125 * math/w_logf.c: Likewise.
26126 * math/w_logl.c: Likewise.
26127 * math/w_log10.c: Likewise.
26128 * math/w_log10f.c: Likewise.
26129 * math/w_log10l.c: Likewise.
26130 * math/w_log2.c: Likewise.
26131 * math/w_log2f.c: Likewise.
26132 * math/w_log2l.c: Likewise.
26133 * math/w_pow.c: Likewise.
26134 * math/w_powf.c: Likewise.
26135 * math/w_powl.c: Likewise.
26136 * math/w_remainder.c: Likewise.
26137 * math/w_remainderf.c: Likewise.
26138 * math/w_remainderl.c: Likewise.
26139 * math/w_scalb.c: Likewise.
26140 * math/w_scalbf.c: Likewise.
26141 * math/w_scalbl.c: Likewise.
26142 * math/w_sqrt.c: Likewise.
26143 * math/w_sqrtf.c: Likewise.
26144 * math/w_sqrtl.c: Likewise.
26145 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26146 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26147 used.
26148 * math/math_private.h: Declare __kernel_standard_f.
26149 * math/w_cosh.c: Remove cruft and optimize a bit.
26150 * math/w_coshf.c: Likewise.
26151 * math/w_coshl.c: Likewise.
26152 * math/w_exp2.c: Likewise.
26153 * math/w_exp2f.c: Likewise.
26154 * math/w_exp2l.c: Likewise.
26155 * math/w_hypot.c: Likewise.
26156 * math/w_hypotf.c: Likewise.
26157 * math/w_hypotl.c: Likewise.
26158 * math/w_lgamma.c: Likewise.
26159 * math/w_lgamma_r.c: Likewise.
26160 * math/w_lgammaf.c: Likewise.
26161 * math/w_lgammaf_r.c: Likewise.
26162 * math/w_lgammal.c: Likewise.
26163 * math/w_lgammal_r.c: Likewise.
26164 * math/w_sinh.c: Likewise.
26165 * math/w_sinhf.c: Likewise.
26166 * math/w_sinhl.c: Likewise.
26167 * math/w_tgamma.c: Likewise.
26168 * math/w_tgammaf.c: Likewise.
26169 * math/w_tgammal.c: Likewise.
26170 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26171 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26172 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26173 Minor optimizations. Pretty printing. Remove cruft.
26174 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26175 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26176 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26177 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26178 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26179 * sysdeps/i386/fpu/e_asin.S: Likewise.
26180 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26181 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26182 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26183 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26184 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26185 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26186 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26187 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26188 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26189 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26190 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26191 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26192 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26193 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26194 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26195 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26196 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26197 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26198 * sysdeps/i386/fpu/e_log.S: Likewise.
26199 * sysdeps/i386/fpu/e_log10.S: Likewise.
26200 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26201 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26202 * sysdeps/i386/fpu/e_log2.S: Likewise.
26203 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26204 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26205 * sysdeps/i386/fpu/e_logf.S: Likewise.
26206 * sysdeps/i386/fpu/e_logl.S: Likewise.
26207 * sysdeps/i386/fpu/e_pow.S: Likewise.
26208 * sysdeps/i386/fpu/e_powf.S: Likewise.
26209 * sysdeps/i386/fpu/e_powl.S: Likewise.
26210 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26211 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26212 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26213 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26214 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26215 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26216 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26217 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26218 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26219 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26220 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26222 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26223 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26224 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26225 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26226 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26227 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26228 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26229 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26230 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26232 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26233 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26234 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26235 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26236 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26237 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26238 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26239 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26240 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26241 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26242 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26243 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26244 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26245 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26246 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26247 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26248 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26249 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26250 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26251 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26252 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26253 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26254 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26255 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26256 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26257 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26258 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26259 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26260 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26261 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26262 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26264 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26265 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26266 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26267 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26268 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26269 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26270 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26271 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26272 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26273 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26275 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26276 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26277 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26278 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26279 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26280 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26281 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26282 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26283 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26284 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26285 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26286 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26287 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26288 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26289 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26290 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26291 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26292 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26293 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26294 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26295 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26296 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26297 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26298 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26299 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26300 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26301 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26302 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26303 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26304 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26305 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26307 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26308 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26309 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26310 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26311 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26312 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26313 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26314 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26315 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26316 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26317 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26318 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26319 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26320 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26321 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26322 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26323 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26324 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26325 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26326 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26327 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26328 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26329 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26330 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26331 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26332 (__isnanf): Likewise.
26333 (__isinf_ns): Likewise.
26334 (__isinf_nsf): Likewise.
26335 (__finite): Likewise.
26336 (__finitef): Likewise.
26337 (__ieee754_sqrt): Define as macro.
26338 (__ieee754_sqrtf): Define as macro.
26339 (__ieee754_sqrtl): Define as macro.
26340 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26341 inlined copy.
26342 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26343 __FINITE_MATH_ONLY__ consistent.
26344 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26345
12cc2fcd
AS
263462011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26347
a843a204
AS
26348 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26349 of rawmemchr.
26350
12cc2fcd
AS
26351 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26352
c853acd5
UD
263532011-10-09 Ulrich Drepper <drepper@gmail.com>
26354
26355 * po/ja.po: Update from translation team.
26356
c658d255
RM
263572011-10-08 Roland McGrath <roland@hack.frob.com>
26358
110946e4
RM
26359 * locale/programs/locarchive.c (prepare_address_space): New function.
26360 (create_archive, enlarge_archive, open_archive): Use it.
26361
50604220
RM
26362 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26363 inside [SHARED], where it is used.
26364
c658d255
RM
26365 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26366
26367 * nss/getent.c (netgroup_keys): Remove unused variable.
26368 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26369
6a621eb7
UD
263702011-10-08 Ulrich Drepper <drepper@gmail.com>
26371
7edb55ce
UD
26372 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26373 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26374 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26375 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26376 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26377 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26378 * math/Makefile (libm-calls): Add s_isinf_ns.
26379 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26380 * math/multc3.c: Likewise.
26381 * math/s_casin.c: Likewise.
26382 * math/s_casinf.c: Likewise.
26383 * math/s_casinl.c: Likewise.
26384 * math/s_ccos.c: Likewise.
26385 * math/s_ccosf.c: Likewise.
26386 * math/s_ccosl.c: Likewise.
26387 * math/s_ctan.c: Likewise.
26388 * math/s_ctanf.c: Likewise.
26389 * math/s_ctanh.c: Likewise.
26390 * math/s_ctanhf.c: Likewise.
26391 * math/s_ctanhl.c: Likewise.
26392 * math/s_ctanl.c: Likewise.
26393 * math/w_fmod.c: Likewise.
26394 * math/w_fmodf.c: Likewise.
26395 * math/w_fmodl.c: Likewise.
26396 * math/w_remainder.c: Likewise.
26397 * math/w_remainderf.c: Likewise.
26398 * math/w_remainderl.c: Likewise.
26399 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26400 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26401 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26402 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26403 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26404 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26405 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26406 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26407
187da0ae
UD
26408 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26409 of the number.
26410 * stdio-common/printf_fphex.c: Likewise.
26411 * stdio-common/printf_size.c: Likewise.
26412
9277c064
UD
26413 * math/e_exp10.c: Include math_private.h using <...> not "...".
26414 * math/e_exp10f.c: Likewise.
26415 * math/e_exp10l.c: Likewise.
26416 * math/e_exp2l.c: Likewise.
26417 * math/e_j0l.c: Likewise.
26418 * math/e_j1l.c: Likewise.
26419 * math/e_jnl.c: Likewise.
26420 * math/e_lgammal_r.c: Likewise.
26421 * math/e_rem_pio2l.c: Likewise.
26422 * math/e_scalb.c: Likewise.
26423 * math/e_scalbf.c: Likewise.
26424 * math/e_scalbl.c: Likewise.
26425 * math/k_cosl.c: Likewise.
26426 * math/k_sinl.c: Likewise.
26427 * math/k_tanl.c: Likewise.
26428 * math/s_cacoshf.c: Likewise.
26429 * math/s_catan.c: Likewise.
26430 * math/s_catanf.c: Likewise.
26431 * math/s_catanh.c: Likewise.
26432 * math/s_catanhf.c: Likewise.
26433 * math/s_catanhl.c: Likewise.
26434 * math/s_catanl.c: Likewise.
26435 * math/s_ccosh.c: Likewise.
26436 * math/s_ccoshf.c: Likewise.
26437 * math/s_ccoshl.c: Likewise.
26438 * math/s_cexp.c: Likewise.
26439 * math/s_cexpf.c: Likewise.
26440 * math/s_cexpl.c: Likewise.
26441 * math/s_clog.c: Likewise.
26442 * math/s_clog10.c: Likewise.
26443 * math/s_clog10f.c: Likewise.
26444 * math/s_clog10l.c: Likewise.
26445 * math/s_clogf.c: Likewise.
26446 * math/s_clogl.c: Likewise.
26447 * math/s_csin.c: Likewise.
26448 * math/s_csinf.c: Likewise.
26449 * math/s_csinh.c: Likewise.
26450 * math/s_csinhf.c: Likewise.
26451 * math/s_csinhl.c: Likewise.
26452 * math/s_csinl.c: Likewise.
26453 * math/s_csqrt.c: Likewise.
26454 * math/s_csqrtf.c: Likewise.
26455 * math/s_csqrtl.c: Likewise.
26456 * math/s_ctan.c: Likewise.
26457 * math/s_ctanf.c: Likewise.
26458 * math/s_ctanh.c: Likewise.
26459 * math/s_ctanhf.c: Likewise.
26460 * math/s_ctanhl.c: Likewise.
26461 * math/s_ctanl.c: Likewise.
26462 * math/s_ldexp.c: Likewise.
26463 * math/s_ldexpf.c: Likewise.
26464 * math/s_ldexpl.c: Likewise.
26465 * math/s_significand.c: Likewise.
26466 * math/s_significandf.c: Likewise.
26467 * math/s_significandl.c: Likewise.
26468 * math/w_acos.c: Likewise.
26469 * math/w_acosf.c: Likewise.
26470 * math/w_acosh.c: Likewise.
26471 * math/w_acoshf.c: Likewise.
26472 * math/w_acoshl.c: Likewise.
26473 * math/w_acosl.c: Likewise.
26474 * math/w_asin.c: Likewise.
26475 * math/w_asinf.c: Likewise.
26476 * math/w_asinl.c: Likewise.
26477 * math/w_atan2.c: Likewise.
26478 * math/w_atan2f.c: Likewise.
26479 * math/w_atan2l.c: Likewise.
26480 * math/w_atanh.c: Likewise.
26481 * math/w_atanhf.c: Likewise.
26482 * math/w_atanhl.c: Likewise.
26483 * math/w_cosh.c: Likewise.
26484 * math/w_coshf.c: Likewise.
26485 * math/w_coshl.c: Likewise.
26486 * math/w_dremf.c: Likewise.
26487 * math/w_exp10.c: Likewise.
26488 * math/w_exp10f.c: Likewise.
26489 * math/w_exp10l.c: Likewise.
26490 * math/w_exp2.c: Likewise.
26491 * math/w_exp2f.c: Likewise.
26492 * math/w_fmod.c: Likewise.
26493 * math/w_fmodf.c: Likewise.
26494 * math/w_fmodl.c: Likewise.
26495 * math/w_hypot.c: Likewise.
26496 * math/w_hypotf.c: Likewise.
26497 * math/w_hypotl.c: Likewise.
26498 * math/w_j0.c: Likewise.
26499 * math/w_j0f.c: Likewise.
26500 * math/w_j0l.c: Likewise.
26501 * math/w_j1.c: Likewise.
26502 * math/w_j1f.c: Likewise.
26503 * math/w_j1l.c: Likewise.
26504 * math/w_jn.c: Likewise.
26505 * math/w_jnf.c: Likewise.
26506 * math/w_jnl.c: Likewise.
26507 * math/w_lgamma.c: Likewise.
26508 * math/w_lgamma_r.c: Likewise.
26509 * math/w_lgammaf.c: Likewise.
26510 * math/w_lgammaf_r.c: Likewise.
26511 * math/w_lgammal.c: Likewise.
26512 * math/w_lgammal_r.c: Likewise.
26513 * math/w_log.c: Likewise.
26514 * math/w_log10.c: Likewise.
26515 * math/w_log10f.c: Likewise.
26516 * math/w_log10l.c: Likewise.
26517 * math/w_log2.c: Likewise.
26518 * math/w_log2f.c: Likewise.
26519 * math/w_log2l.c: Likewise.
26520 * math/w_logf.c: Likewise.
26521 * math/w_logl.c: Likewise.
26522 * math/w_pow.c: Likewise.
26523 * math/w_powf.c: Likewise.
26524 * math/w_powl.c: Likewise.
26525 * math/w_remainder.c: Likewise.
26526 * math/w_remainderf.c: Likewise.
26527 * math/w_remainderl.c: Likewise.
26528 * math/w_scalb.c: Likewise.
26529 * math/w_scalbf.c: Likewise.
26530 * math/w_scalbl.c: Likewise.
26531 * math/w_sinh.c: Likewise.
26532 * math/w_sinhf.c: Likewise.
26533 * math/w_sinhl.c: Likewise.
26534 * math/w_sqrt.c: Likewise.
26535 * math/w_sqrtf.c: Likewise.
26536 * math/w_sqrtl.c: Likewise.
26537 * math/w_tgamma.c: Likewise.
26538 * math/w_tgammaf.c: Likewise.
26539 * math/w_tgammal.c: Likewise.
26540
6a621eb7
UD
26541 * po/ja.po: Update from translation team.
26542
bf582445
AJ
265432011-09-29 Andreas Jaeger <aj@suse.de>
26544
f9efbf3a
AJ
26545 [BZ #13179]
26546 * sunrpc/netname.c (netname2host): Fix logic.
26547
bf582445
AJ
26548 [BZ #6779]
26549 [BZ #6783]
26550 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26551 correctly.
26552 * math/w_remainder.c (__remainder): Likewise.
26553 * math/w_remainderf.c (__remainderf): Likewise.
26554 * math/libm-test.inc (remainder_test): Add test cases.
26555
48693bea
AK
265562011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26557
26558 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26559 sdiv_qrnnd.
26560
42622229
LD
265612011-10-07 Ulrich Drepper <drepper@gmail.com>
26562
26563 * string/test-memcmp.c: Avoid unncessary #defines.
26564 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26565
093ecf92
LD
265662011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26567
26568 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26569 Use new sse2 version for core i3 - i7 as it's faster
26570 than sse42 version.
26571 (bit_Prefer_PMINUB_for_stringop): New.
26572 * sysdeps/x86_64/rawmemchr.S: Update.
26573 Replace with faster SSE2 version.
26574 * sysdeps/x86_64/memrchr.S: New file.
26575 * sysdeps/x86_64/memchr.S: Update.
26576 Replace with faster SSE2 version.
26577
fde56e5c
MP
265782011-09-12 Marek Polacek <mpolacek@redhat.com>
26579
26580 * elf/dl-load.c (lose): Add cast to avoid warning.
26581
21fd49a9
UD
265822011-10-07 Ulrich Drepper <drepper@gmail.com>
26583
5a06e643
UD
26584 * po/ca.po: Update from translation team.
26585
684ae515
UD
26586 * inet/getnetgrent_r.c: Hook up nscd.
26587 * nscd/Makefile (routines): Add nscd_netgroup.
26588 (nscd-modules): Add netgroupcache.
26589 (CFLAGS-netgroupcache.c): Define.
26590 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26591 (cache_search): Add const to second parameter.
26592 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26593 INNETGR.
26594 (dbs): Add netgrdb entry.
26595 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26596 (verify_persistent_db): Handle netgrdb.
26597 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26598 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26599 GETFDNETGR.
26600 (netgroup_response_header): Define.
26601 (innetgroup_response_header): Define.
26602 (datahead): Add netgroup_response_header and innetgroup_response_header
26603 elements.
26604 * nscd/nscd.conf: Add entries for netgroup cache.
26605 * nscd/nscd.h (dbtype): Add netgrdb.
26606 (_PATH_NSCD_NETGROUP_DB): Define.
26607 (netgroup_iov_disabled): Declare.
26608 (xmalloc, xcalloc, xrealloc): Move declarations here.
26609 (cache_search): Adjust prototype.
26610 Add netgroup-related prototypes.
26611 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26612 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26613 (__nscd_innetgr): Declare.
26614 * nscd/selinux.c (perms): Use access_vector_t as element type and
26615 add netgroup-related initializers.
26616 * nscd/netgroupcache.c: New file.
26617 * nscd/nscd_netgroup.c: New file.
26618 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26619 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26620 For four parameters use innetgr.
26621 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26622 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26623 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26624 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26625
21fd49a9
UD
26626 * nscd/connections.c (register_traced_file): Don't register file
26627 for disabled databases.
26628
054c0457
UD
266292011-10-06 Ulrich Drepper <drepper@gmail.com>
26630
32b63198
UD
26631 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26632
054c0457
UD
26633 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26634 from tree and freeing node.
26635
64031225
JO
266362011-09-25 Jiri Olsa <jolsa@redhat.com>
26637
26638 * nss/nsswitch.c (__nss_database_lookup): Handle
26639 nss_parse_service_list out of memory case.
26640
0490345c
JO
266412011-09-15 Jiri Olsa <jolsa@redhat.com>
26642
26643 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26644 out of memory case.
26645
3a62d00d
AS
266462011-10-04 Andreas Schwab <schwab@redhat.com>
26647
26648 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26649 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26650 pass it down.
26651 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26652 elf_machine_rela, elf_machine_lazy_rel.
26653 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26654 (ELF_DYNAMIC_DO_REL): Likewise.
26655 (ELF_DYNAMIC_DO_RELA): Likewise.
26656 (ELF_DYNAMIC_RELOCATE): Likewise.
26657 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26658 to ELF_DYNAMIC_DO_REL.
26659 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26660 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26661 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26662 elf_machine_rela.
26663 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26664 skip_ifunc, don't call ifunc function if non-zero.
26665 (elf_machine_rela): Likewise.
26666 (elf_machine_lazy_rel): Likewise.
26667 (elf_machine_lazy_rela): Likewise.
26668 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26669 (elf_machine_lazy_rel): Likewise.
26670 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26671 Likewise.
26672 (elf_machine_lazy_rel): Likewise.
26673 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26674 Likewise.
26675 (elf_machine_lazy_rel): Likewise.
26676 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26677 (elf_machine_lazy_rel): Likewise.
26678 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26679 (elf_machine_lazy_rel): Likewise.
26680 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26681 (elf_machine_lazy_rel): Likewise.
26682 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26683 (elf_machine_lazy_rel): Likewise.
26684 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26685 (elf_machine_lazy_rel): Likewise.
26686 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26687 (elf_machine_lazy_rel): Likewise.
26688
68577918
UD
266892011-09-28 Ulrich Drepper <drepper@gmail.com>
26690
26691 * nss/nss_files/files-init.c (_nss_files_init): Use static
26692 initialization for all the *_traced_file variables.
26693
68822d74
AS
266942011-09-28 Andreas Schwab <schwab@redhat.com>
26695
26696 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26697
2056100b
RM
266982011-09-27 Roland McGrath <roland@hack.frob.com>
26699
26700 [BZ #13226]
26701 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26702
32c76b63
AS
267032011-09-27 Andreas Schwab <schwab@redhat.com>
26704
26705 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26706 Reread the line before reparsing it.
26707
bf972c9d
AS
267082011-09-26 Andreas Schwab <schwab@redhat.com>
26709
26710 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26711
e057a1b5
JM
267122011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26713 Maxim Kuvyrkov <maxim@codesourcery.com>
26714 Joseph Myers <joseph@codesourcery.com>
26715
26716 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26717 if needed for __stack_chk_guard.
26718
bc7e1c36
RM
267192011-09-19 Roland McGrath <roland@hack.frob.com>
26720
ecb1482f
RM
26721 * sysdeps/posix/spawni.c (script_execute): Always define it.
26722 It will be optimized away if unused.
26723 (maybe_script_execute): New function.
26724 (__spawni): Call it.
26725
bc7e1c36
RM
26726 * Makerules: Don't include tls.make.
26727 (config-tls): Always set to thread.
26728 * tls.make.c: File removed.
26729
1c3b002b
MF
267302011-09-19 Mike Frysinger <vapier@gentoo.org>
26731
26732 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26733 * config.make.in (CPPFLAGS-config): New substituted variable.
26734
2840865d
UD
267352011-09-15 Ulrich Drepper <drepper@gmail.com>
26736
88738eb6
UD
26737 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26738
cbf645a6 26739 [BZ #13192]
2840865d
UD
26740 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26741 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26742
b402e91a
RM
267432011-09-15 Roland McGrath <roland@hack.frob.com>
26744
26745 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26746 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26747 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26748 (CALL_FAIL): Likewise.
26749 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26750 (CALL_FAIL): Macro removed.
26751 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26752
4c1a1f71
UD
267532011-09-15 Ulrich Drepper <drepper@gmail.com>
26754
26755 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26756 for __FINITE_MATH_ONLY__ == 1.
26757
edc121be
AS
267582011-09-15 Andreas Schwab <schwab@redhat.com>
26759
26760 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26761 __ieee754_sqrt instead of sqrt.
26762 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26763 __ieee754_sqrtf instead of sqrtf.
26764 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26765 __floorf instead of floorf.
26766 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26767 __floorf, __truncf instead of floorf, truncf.
26768
cd205654
UD
267692011-09-14 Ulrich Drepper <drepper@gmail.com>
26770
ee4d0315
UD
26771 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26772
cd205654
UD
26773 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26774 __extern_always_inline.
26775 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26776 32-bit.
26777
48b67d71
AS
267782011-09-14 Andreas Schwab <schwab@redhat.com>
26779
26780 * elf/rtld.c (dl_main): Also relocate in dependency order when
26781 doing symbol dependency testing.
26782
1ae12c75
AS
267832011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26784
26785 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26786 Always define `refsym'.
26787
995a80df
AS
267882011-09-13 Andreas Schwab <schwab@redhat.com>
26789
e529793b
AS
26790 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26791 (__FD_ELT): Renamed from __FDELT.
26792 * misc/bits/select2.h (__FD_ELT): Likewise.
26793 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26794 __FD_MASK instead of __FDELT, __FDMASK.
26795 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26796 Likewise.
26797 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26798 Likewise.
26799
52d4fef8
AS
26800 * elf/Makefile (gen-ldd): Fix pattern.
26801
995a80df
AS
26802 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26803 (init_tls): Likewise.
26804
8682f8b0
UD
268052011-09-12 Ulrich Drepper <drepper@gmail.com>
26806
26807 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26808
de82006d
AS
268092011-09-12 Andreas Schwab <schwab@redhat.com>
26810
a7c8e6a1
AS
26811 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26812 `struct cmsghdr *' instead of `void *'.
26813 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26814 Likewise.
26815
0f31fe77
AS
268162011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26817
26818 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26819 if non-absolute.
26820 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26821 ldd_rewrite_script.
0f31fe77 26822
32b4c839
UD
268232011-09-11 Ulrich Drepper <drepper@gmail.com>
26824
83cd1420
UD
26825 * configure.in: Remove --with-tls option.
26826 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26827 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26828 out in case it is missing.
26829 * sysdeps/ia64/elf/configure.in: Likewise.
26830 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26831 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26832 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26833 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26834 * sysdeps/sh/elf/configure.in: Likewise.
26835 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26836 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26837 * sysdeps/x86_64/elf/configure.in: Likewise.
26838 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26839 * sysdeps/mach/hurd/tls.h: Likewise.
26840
633f745d
UD
26841 [BZ #13067]
26842 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26843
f318beb8
UD
26844 [BZ #13090]
26845 * configure.in: Fix use of AC_INIT.
26846
32b4c839
UD
26847 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26848
3ce1f295
UD
268492011-09-10 Ulrich Drepper <drepper@gmail.com>
26850
bb016596
UD
26851 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26852 __set_errno.
8e58439c
UD
26853 * malloc/hooks.c: Likewise.
26854
aebae053 26855 [BZ #11929]
02d46fc4
UD
26856 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26857 variables statically.
26858 (narenas): Initialize.
26859 (list_lock): Initialize.
bb016596
UD
26860 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26861 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
26862 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26863 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26864 Add initializers to main_arena and mp_.
26865 (malloc_state): Remove pagesize member. Change all users to use
26866 GLRO(dl_pagesize).
26867
26868 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26869 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26870 is always initialized.
26871
22a89187
UD
26872 * malloc/malloc.c: Removed unused configurations and dead code.
26873 * malloc/arena.c: Likewise.
26874 * malloc/hooks.c: Likewise.
02d46fc4 26875 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 26876
d063d164
UD
26877 * include/tls.h: Removed. USE___THREAD must always be defined.
26878 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26879 * elf/dl-libc.c: Likewise.
26880 * elf/dl-tsd.c: Likewise.
26881 * include/errno.h: Likewise.
26882 * include/netdb.h: Likewise.
26883 * include/resolv.h: Likewise.
26884 * inet/herrno-loc.c: Likewise.
26885 * inet/herrno.c: Likewise.
26886 * malloc/arena.c: Likewise.
26887 * malloc/hooks.c: Likewise.
26888 * malloc/malloc.c: Likewise.
26889 * resolv/res-state.c: Likewise.
26890 * resolv/res_libc.c: Likewise.
26891 * sysdeps/i386/dl-machine.h: Likewise.
26892 * sysdeps/ia64/dl-machine.h: Likewise.
26893 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26894 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26895 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26896 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26897 * sysdeps/sh/dl-machine.h: Likewise.
26898 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26899 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26900 * sysdeps/unix/i386/sysdep.S: Likewise.
26901 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26902 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26903 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26904 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26905 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26906 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26907 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26908 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26909 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26910 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26911 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26912 * sysdeps/x86_64/dl-machine.h: Likewise.
26913 * tls.make.c: Likewise.
26914
3ce1f295
UD
26915 * configure.in: Remove --with-__thread option. Make tests for
26916 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26917 tls_model attribute fail if no support is available. Remove
26918 USE_IN_LIBIO.
26919 * Makeconfig: Adjust for dropped configure option. All features are
26920 now mandatory.
26921 * Makerules: Likewise.
26922 * Versions.def: Likewise.
26923 * argp/argp-fmtstream.c: Likewise.
26924 * argp/argp-fmtstream.h: Likewise.
26925 * argp/argp-help.c: Likewise.
26926 * assert/assert.c: Likewise.
26927 * config.h.in: Likewise.
26928 * config.make.in: Likewise.
26929 * configure: Likewise.
26930 * configure.in: Likewise.
26931 * csu/Versions: Likewise.
26932 * csu/init.c: Likewise.
26933 * elf/tst-audit2.c: Likewise.
26934 * elf/tst-tls10.c: Likewise.
26935 * elf/tst-tls10.h: Likewise.
26936 * elf/tst-tls11.c: Likewise.
26937 * elf/tst-tls12.c: Likewise.
26938 * elf/tst-tls14.c: Likewise.
26939 * elf/tst-tlsmod11.c: Likewise.
26940 * elf/tst-tlsmod12.c: Likewise.
26941 * elf/tst-tlsmod13.c: Likewise.
26942 * elf/tst-tlsmod13a.c: Likewise.
26943 * elf/tst-tlsmod14a.c: Likewise.
26944 * elf/tst-tlsmod15b.c: Likewise.
26945 * elf/tst-tlsmod16a.c: Likewise.
26946 * elf/tst-tlsmod16b.c: Likewise.
26947 * elf/tst-tlsmod7.c: Likewise.
26948 * elf/tst-tlsmod8.c: Likewise.
26949 * elf/tst-tlsmod9.c: Likewise.
26950 * gmon/gmon.c: Likewise.
26951 * grp/fgetgrent_r.c: Likewise.
26952 * grp/putgrent.c: Likewise.
26953 * hurd/fopenport.c: Likewise.
26954 * include/libc-symbols.h: Likewise.
26955 * include/tls.h: Likewise.
26956 * intl/gettextP.h: Likewise.
26957 * intl/loadinfo.h: Likewise.
26958 * locale/global-locale.c: Likewise.
26959 * locale/localeinfo.h: Likewise.
26960 * mach/devstream.c: Likewise.
26961 * malloc/arena.c: Likewise.
26962 * malloc/set-freeres.c: Likewise.
26963 * misc/err.c: Likewise.
26964 * misc/getttyent.c: Likewise.
26965 * misc/mntent_r.c: Likewise.
26966 * posix/getopt.c: Likewise.
26967 * posix/wordexp.c: Likewise.
26968 * pwd/fgetpwent_r.c: Likewise.
26969 * resolv/Versions: Likewise.
26970 * resolv/res_hconf.c: Likewise.
26971 * shadow/fgetspent_r.c: Likewise.
26972 * shadow/putspent.c: Likewise.
26973 * stdio-common/printf_fphex.c: Likewise.
26974 * stdio-common/tmpfile.c: Likewise.
26975 * stdlib/abort.c: Likewise.
26976 * stdlib/fmtmsg.c: Likewise.
26977 * sunrpc/auth_unix.c: Likewise.
26978 * sunrpc/clnt_perr.c: Likewise.
26979 * sunrpc/clnt_tcp.c: Likewise.
26980 * sunrpc/clnt_udp.c: Likewise.
26981 * sunrpc/clnt_unix.c: Likewise.
26982 * sunrpc/openchild.c: Likewise.
26983 * sunrpc/svc_simple.c: Likewise.
26984 * sunrpc/svc_tcp.c: Likewise.
26985 * sunrpc/svc_udp.c: Likewise.
26986 * sunrpc/svc_unix.c: Likewise.
26987 * sunrpc/xdr.c: Likewise.
26988 * sunrpc/xdr_array.c: Likewise.
26989 * sunrpc/xdr_rec.c: Likewise.
26990 * sunrpc/xdr_ref.c: Likewise.
26991 * sunrpc/xdr_stdio.c: Likewise.
26992
1248c1c4
PB
269932011-09-09 Ulrich Drepper <drepper@gmail.com>
26994
26995 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26996
269972011-07-03 Andreas Jaeger <aj@suse.de>
26998
26999 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27000 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27001 regenerate with gen-libm-tests.pl.
27002
270032010-05-12 Petr Baudis <pasky@suse.cz>
27004
27005 [BZ #11589]
27006 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27007 around j0() zero points by switching to j1().
27008 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27009 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27010 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27011 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27012
f22e1074
UD
270132011-09-09 Ulrich Drepper <drepper@gmail.com>
27014
f19009c1
UD
27015 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27016 instead of 0.
27017 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27018 instead of 0.
f19009c1
UD
27019 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27020 Patch in part by Pavel Roskin <proski@gnu.org>.
27021
3f8cc204
UD
27022 [BZ #13138]
27023 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27024 realloc.
27025 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27026 Free memory block if necessary.
27027
f22e1074
UD
27028 [BZ #12847]
27029 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27030 be NULL. Don't lock in this case.
27031
0a2349f9
RM
270322011-09-09 Roland McGrath <roland@hack.frob.com>
27033
27034 * elf/elf.h (ELFOSABI_GNU): New macro.
27035 (ELFOSABI_LINUX): Define to that.
27036
f3cdd467
DZ
270372011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27038
27039 * string/strncat.c (strncat): Undef the symbol in case it has been
27040 defined in bits/string.h.
27041
74718d13
UD
270422011-09-09 Ulrich Drepper <drepper@gmail.com>
27043
633e9e0f
UD
27044 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27045
0a2349f9 27046 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27047 link map.
27048
f9924780
AJ
270492011-08-17 Andreas Jaeger <aj@suse.de>
27050
27051 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27052
7f5517aa
PP
270532011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27054 Ian Lance Taylor <iant@google.com>
27055
27056 * math/libm-test.inc (lround_test): New testcase.
27057 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27058
762011fe
UD
270592011-09-08 Ulrich Drepper <drepper@gmail.com>
27060
92963737
UD
27061 * Makefile: Remove support for automatic cvs check-ins.
27062 * Makerules: Likewise.
27063 * config.make.in: Likewise.
27064 * configure.in: Likewise.
27065 * intl/Makefile: Likewise.
27066 * locale/Makefile: Likewise.
27067 * po/Makefile: Likewise.
27068 * posix/Makefile: Likewise.
27069 * sysdeps/gnu/Makefile: Likewise.
27070 * sysdeps/mach/hurd/Makefile: Likewise.
27071 * sysdeps/sparc/sparc32/Makefile: Likewise.
27072
b0727fd8
JS
27073 [BZ #13118]
27074 * posix/Makefile (bug-regex32-ENV): Define.
27075 Patch by John Stanley <jpsinthemix@verizon.net>.
27076
a0f33f99
UD
27077 * misc/Makefile (headers): Add bits/select2.h.
27078 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27079 * misc/bits/select2.h: New file.
27080 * include/bits/select2.h: New file.
27081 * debug/Makefile (routines): Add fdelt_chk.
27082 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27083 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27084 FD_ISSET.
27085 * debug/fdelt_chk.c: New file.
27086
762011fe
UD
27087 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27088 * wcsmbs/test-wmemcmp.c: Likewise.
27089 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27090 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27091
270922011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27093
27094 * string/Makefile (strop-tests): Add memcmp.
27095 * string/test-wmemcmp.c: New file.
27096 * string/test-memcmp.c: Add wmemcmp support.
27097
7f513ec8
RM
270982011-09-08 Roland McGrath <roland@hack.frob.com>
27099
0442afb4
RM
27100 [BZ #13153]
27101 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27102 2011-07-19 change.
27103
7f513ec8
RM
27104 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27105 garbage value in a __mach_port_mod_refs call in the cases of the
27106 task-self and thread-self ports.
27107
a12b2239
ST
271082011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27109
27110 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27111
610f9ab4
AS
271122011-09-08 Andreas Schwab <schwab@redhat.com>
27113
7f513ec8 27114 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27115
48882a1a
LD
271162011-09-07 Ulrich Drepper <drepper@gmail.com>
27117
b49865be
UD
27118 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27119
fdc86bc9
UD
27120 * elf/dl-libc.c (dlerror_run): Pass back error code from
27121 dl_catch_error.
27122
c966526a
UD
27123 [BZ #13123]
27124 * elf/dl-load.c (lose): Free l_origin if it is valid.
27125
48882a1a
LD
27126 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27127 names.
27128 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27129 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27130 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27131 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27132 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27133 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27134
77a2a8b4
AZ
271352011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27136
27137 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27138 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27139 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27140 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27141 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27142 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27143 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27144 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27145 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27146 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27147
24f579d8
AM
271482011-08-15 Alan Modra <amodra@gmail.com>
27149
27150 [BZ #13092]
27151 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27152 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27153 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27154 ppc_mcount to static-only-routines.
27155 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27156 __mcount_internal.
27157 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27158 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27159
3d4837df
UD
271602011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27161
27162 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27163 for finite and infinity parameters.
27164
22700377
WS
271652011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27166
27167 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27168 and add nop instructions for throughput optimization.
27169 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27170
5025581e
WS
271712011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27172
27173 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27174 aligned copy for power7 with vector-scalar instructions.
27175 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27176
08a300c9
L
271772011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27178
27179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27180 AVX check.
27181
59178ef9
AS
271822011-09-07 Andreas Schwab <schwab@redhat.com>
27183
27184 [BZ #13144]
27185 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27186 last change.
27187
e38ba7ab
UD
271882011-09-07 Ulrich Drepper <drepper@gmail.com>
27189
27190 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27191 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27192 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27193 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27194 clock_gettime.
27195
d53a73ac
UD
271962011-09-06 Ulrich Drepper <drepper@gmail.com>
27197
fc8bffcc
UD
27198 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27199 Forgot to demangle the pointer.
27200
ceaa0c5d
UD
27201 * sysdeps/i386/sysdep.h: Define atom_text_section.
27202 * sysdeps/x86_64/sysdep.h: Likewise.
27203 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27204 section with atom_text_section.
27205 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27206 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27207 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27208 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27209 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27210
a77d3c17
UD
27211 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27212 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27213 already be defined. Change to take two parameters and don't assign
27214 result to variable. Adjust all users.
27215 Define INTERNAL_GETTIME if not already defined.
27216 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27217 call.
27218 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27219 HAVE_CLOCK_GETTIME_VSYSCALL.
27220 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27221
d53a73ac
UD
27222 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27223 gettimeofday vsyscall, just use time.
27224
a8f84144
AS
272252011-09-06 Andreas Schwab <schwab@redhat.com>
27226
27227 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27228 <errno.h>.
27229
ef606249
UD
272302011-09-06 Ulrich Drepper <drepper@gmail.com>
27231
27232 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27233 syscall on x86-64.
27234 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27235 syscall.
27236 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27237 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27238 syscall if possible.
27239
6585cb60
UD
272402011-09-05 Ulrich Drepper <drepper@gmail.com>
27241
27242 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27243 e_ident. Don't pass to find_mapsXX.
27244 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27245
a5f524e4
LD
272462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27247
27248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27249 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27250 * sysdeps/x86_64/multiarch/strchr.S: Update.
27251 Check bit_slow_BSF bit.
27252 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27253 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27254 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27255
554881ef
UD
272562011-09-05 Ulrich Drepper <drepper@gmail.com>
27257
d96de963
UD
27258 [BZ #13134]
27259 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27260 before glibc 2.15.
27261 (tryshell): Define.
27262 (__spawni): Change last parameter to be flag. Test
27263 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27264 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27265 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27266 * posix/spawni.c: Likewise.
27267 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27268 * posix/spawnp.c: Likewise. Change normal version to use
27269 SPAWN_XFLAGS_USE_PATH.
27270 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27271 SPAWN_XFLAGS_TRY_SHELL.
27272
d48e5868
UD
27273 [BZ #13150]
27274 * posix/glob.h: Remove gcc 1.x support.
27275
554881ef
UD
27276 [BZ #13068]
27277 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27278
693fb948
LD
272792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27280
27281 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27282 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27283 strrchr-sse2-bsf
27284 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27285 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27286 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27287 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27288 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27289 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27290
1b48c537
UD
272912011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27292
49d42c37
UD
27293 * sysdeps/x86_64/wcscmp.S: New file.
27294
1b48c537
UD
27295 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27296 wcscmp-c wcscmp-sse2
27297 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27298 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27299 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27300 * wcsmbs/wcscmp.c: Allow renaming.
27301
15c95c5d
DM
273022011-09-05 David S. Miller <davem@davemloft.net>
27303
27304 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27305 stack slot, rather than the struct return pointer slot.
27306 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27307 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27309 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27310
2f0ad8f3
UD
273112011-09-05 Ulrich Drepper <drepper@gmail.com>
27312
d88ae418
UD
27313 * po/ja.po: Update from translation team.
27314
2f0ad8f3
UD
27315 [BZ #13144]
27316 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27317 kernel in 64-bit binaries.
27318
5f4318d1
DM
273192011-09-01 David S. Miller <davem@davemloft.net>
27320
27321 * elf/elf.h (HWCAP_SPARC_*): Move to..
27322 * sysdeps/sparc/sysdep.h: this new file and add new values.
27323 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27324 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27325 _DL_HWCAP_COUNT to 24.
27326 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27327 entries.
27328 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27329 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27330 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27331 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27332 instead of magic constants.
27333 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27334
3ba57516
DM
273352011-08-31 David S. Miller <davem@davemloft.net>
27336
27337 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27338 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27339 Reimplement to do errno handling inline.
27340 (SYSCALL_ERROR_HANDLER): New macro.
27341 (__SYSCALL_STRING): Do not do errno handling in asm.
27342 (__CLONE_SYSCALL_STRING): Delete.
27343 (__INTERNAL_SYSCALL_STRING): Delete.
27344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27345 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27346 (PSEUDO): Reimplement to do errno handling inline.
27347 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27348 (SYSCALL_ERROR_HANDLER): New macro.
27349 (__SYSCALL_STRING): Do not do errno handling in asm.
27350 (__CLONE_SYSCALL_STRING): Delete.
27351 (__INTERNAL_SYSCALL_STRING): Delete.
27352 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27353 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27354 i386.
27355 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27356 (inline_syscall*): Add 'err' argument.
27357 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27358 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27359 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27360 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27361
27362 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27363 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27364
2bc17433
AS
273652011-08-30 Andreas Schwab <schwab@redhat.com>
27366
27367 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27368
fbeb5f4d
JO
273692011-08-29 Jiri Olsa <jolsa@redhat.com>
27370
27371 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27372 directive.
27373
ad69cc26
DM
273742011-08-24 David S. Miller <davem@davemloft.net>
27375
27376 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27377
39dd69df
AS
273782011-08-24 Andreas Schwab <schwab@redhat.com>
27379
27380 * elf/Makefile: Add rules to build and run unload8 test.
27381 * elf/unload8.c: New file.
27382 * elf/unload8mod1.c: New file.
27383 * elf/unload8mod1x.c: New file.
27384 * elf/unload8mod2.c: New file.
27385 * elf/unload8mod3.c: New file.
27386
27387 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27388 it wasn't used.
27389
2c0b250a
DM
273902011-08-23 David S. Miller <davem@davemloft.net>
27391
27392 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27393 subtract stack bias.
27394 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27395 %sp not %fp in calculations.
27396 (_JMPBUF_UNWINDS_ADJ): Likewise.
27397
22044b48
DM
27398 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27399 (aio_suspend): Call it to force an exception region around the
27400 AIO_MISC_WAIT() invocation.
27401
2cae4995
AS
274022011-08-23 Andreas Schwab <schwab@redhat.com>
27403
27404 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27405 backslash.
27406
873a772e
AJ
274072011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27408
27409 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27410 protection macro.
27411 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27412 and <dl-machine.h>.
27413 (Elf64_FuncDesc): Remove.
27414
25ad0df1
DM
274152011-08-22 David S. Miller <davem@davemloft.net>
27416
27417 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27418 sigaltstack check, add missing cfi directives.
27419 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27420 missing cfi directives, and sigaltstack handling.
27421
e888bcbe
AS
274222011-08-16 Andreas Schwab <schwab@redhat.com>
27423
27424 [BZ #11724]
27425 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27426 object is seen twice.
27427 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27428
27429 * elf/Makefile (distribute): Add tst-initorder2.c.
27430 (tests): Add tst-initorder2.
27431 (modules-names): Add tst-initorder2a tst-initorder2b
27432 tst-initorder2c tst-initorder2d. Add rules to build them.
27433 ($(objpfx)tst-initorder2.out): New rule.
27434 * elf/tst-initorder2.c: New file.
27435 * elf/tst-initorder2.exp: New file.
27436
87162f46
AS
274372011-08-22 Andreas Schwab <schwab@redhat.com>
27438
70538b7f
AS
27439 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27440
f55ffe58
AS
27441 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27442 dependencies back to end of function.
27443
87162f46
AS
27444 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27445 $(elfobjdir)/ld.so.
27446
91b392a4
UD
274472011-08-21 Ulrich Drepper <drepper@gmail.com>
27448
27449 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27450 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27451 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27452 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27453 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27454 of __vdso_gettimeofday.
27455 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27456 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27457 attribute_hidden.
27458 (_libc_vdso_platform_setup): Remove initialization of
27459 __vdso_gettimeofday and __vdso_time.
27460
5c43483f
UD
274612011-08-20 Ulrich Drepper <drepper@gmail.com>
27462
775a77e7
UD
27463 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27464 and fgetc_unlocked.
27465 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27466 getc_unlocked.
89f447ed 27467
49c74ba9
UD
27468 * elf/dl-open.c (add_to_global): Report additions to the global scope
27469 for LD_DEBUG=scopes.
27470 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27471 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27472
5c43483f
UD
27473 [BZ #13114]
27474 * stdio-common/Makefile (tests): Add bug24.
27475 * stdio-common/bug24.c: New file.
27476
a101b025
AJ
274772011-08-19 Andreas Jaeger <aj@suse.de>
27478
27479 [BZ #13114]
27480 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27481 non-existant file when using close-on-exec mode.
27482
c88f1766
UD
274832011-08-20 Ulrich Drepper <drepper@gmail.com>
27484
0276a718
UD
27485 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27486 the very first instruction.
27487
c88f1766
UD
27488 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27489 the CFI state in the end.
27490 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27491 inclusion of dl-trampoline.h.
27492 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27493
51ccffa0
AS
274942011-08-19 Andreas Schwab <schwab@redhat.com>
27495
94d7165f
AS
27496 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27497 expectations for long double.
27498
51ccffa0
AS
27499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27500 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27501
fd708658 275022011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27503
27504 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27505 artificual limit depends upon the system page size.
27506
44f0a71e
UD
275072011-08-17 Ulrich Drepper <drepper@gmail.com>
27508
27509 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27510 * resolv/Makefile: Define CFLAGS-libresolv.
27511
8de79a24
AS
275122011-08-17 Andreas Schwab <schwab@redhat.com>
27513
27514 * nss/makedb.c (compute_tables): Make variables used in nested
27515 function static.
27516
27724598
UD
275172011-08-17 Ulrich Drepper <drepper@gmail.com>
27518
c5305d88
UD
27519 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27520 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27521 if buffer was too small.
27522
27724598
UD
27523 * elf/pldd.c (main): Attach to all threads in the process.
27524 Rewrite /proc handling to use *at functions.
27525
076fe015
UD
275262011-08-16 Ulrich Drepper <drepper@gmail.com>
27527
174baab3
UD
27528 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27529 specifies first scope to show.
27530 (dl_open_worker): Update callers. Move printing scope of new
27531 object to before the relocation.
44f0a71e 27532 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27533 * sysdeps/generic/ldsodefs.h: Update declaration.
27534
076fe015
UD
27535 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27536 string for the scope number.
27537
a60df2c3
UD
275382011-08-14 Ulrich Drepper <drepper@gmail.com>
27539
27540 * nscd/servicescache.c (cache_addserv): Make sure written is always
27541 initialized.
27542
5e4287d1
RM
275432011-08-14 Roland McGrath <roland@hack.frob.com>
27544
85ae0589
RM
27545 * sysdeps/i386/i486/bits/atomic.h
27546 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27547 statement expression, so as to suppress "set but not used" warning.
27548 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27549
69f63097
RM
27550 * string/strncat.c (STRNCAT): Use prototype definition.
27551
675456ef
RM
27552 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27553 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27554 -Iprograms here.
27555 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27556 (localedef-modules): Add localedef.
27557 (locale-modules): Add locale.
27558
5e4287d1
RM
27559 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27560 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27561 to avoid a warning.
27562
9c96ff23
DM
275632011-08-14 David S. Miller <davem@davemloft.net>
27564
27565 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27566 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27567
f9ddf089
UD
275682011-08-13 Ulrich Drepper <drepper@gmail.com>
27569
44f0a71e 27570 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27571 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27572 * elf/rtld.c (dl_main): Set l_name of vDSO.
27573 Call _dl_show_scope when DL_DEBUG_SCOPES.
27574 (process_dl_debug): Recognize scopes flag and also set it for all.
27575 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27576 Declare _dl_show_scope.
27577
1dc27704
UD
27578 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27579 (do_dlopen): Pass caller_dlopen to dl_open.
27580 (__libc_dlopen_mode): Initialize caller_dlopen.
27581
f9ddf089
UD
27582 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27583 of libc. Make tolower call locale-independent. Optimize a bit by
27584 using isdigit instead of isalnum.
27585 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27586
9ac533d3
UD
275872011-08-12 Ulrich Drepper <drepper@gmail.com>
27588
27589 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27590 was a dependency or dynamically loaded.
27591
89edf2e9
UD
275922011-08-11 Ulrich Drepper <drepper@gmail.com>
27593
8e999d29
UD
27594 * intl/l10nflist.c: Allow architecture-specific pop function.
27595 * sysdeps/x86_64/l10nflist.c: New file.
27596
89edf2e9
UD
27597 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27598 classification.
27599
14d96785
AS
276002011-08-10 Andreas Schwab <schwab@redhat.com>
27601
27602 * include/dirent.h: Add libc_hidden_proto for scandirat and
27603 scandirat64. Don't declare __scandirat64.
27604 * dirent/scandirat.c: Add libc_hidden_def.
27605 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27606 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27607
6761ac04
DM
276082011-08-10 David S. Miller <davem@davemloft.net>
27609
27610 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27611 enum.
27612 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27613 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27614 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27615
c55fbd1e
UD
276162011-08-09 Ulrich Drepper <drepper@gmail.com>
27617
27618 * Versions.def [libc]: Add GLIBC_2.15.
27619 * dirent/Makefile (routines): Add scandirat and scandirat64.
27620 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27621 GLIBC_2.15.
27622 * dirent/dirent.h: Declare scandirat and scandirat64.
27623 * dirent/scandirat.c: New file.
27624 * dirent/scandirat64.c: New file.
27625 * sysdeps/wordsize-64/scandirat.c: New file.
27626 * sysdeps/wordsize-64/scandirat64.c: New file.
27627 * dirent/opendir.c: Define opendirat.
27628 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27629 using scandirat.
27630 * dirent/scandir64.c: Adjust for scandir.c change.
27631 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27632 __scandirat64, and __scandir_cancel_handler.
27633 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27634 additional parameter and use openat instead of open (outside of ld.so).
27635 Add new __opendir as wrapper around __opendirat.
27636 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27637 here without requiring old scandirat implementation.
27638
879165f2
UD
276392011-08-08 Ulrich Drepper <drepper@gmail.com>
27640
27641 * dirent/scandir.c (cancel_handler): Renamed to
27642 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27643 defined. Adjust users.
27644 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27645 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27646
cb7e923b
UD
276472011-08-04 Ulrich Drepper <drepper@gmail.com>
27648
16292edd
UD
27649 * string/test-string.h (IMPL): Use __STRING to expand name and then
27650 stringify it.
27651
cb7e923b
UD
27652 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27653 of cleanups.
27654
cff82933
LD
276552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27656
27657 * string/Makefile: Update.
27658 (strop-tests): Append strncat.
27659 * string/test-wcscmp.c: New file.
27660 New comprehensive test for wcscmp.
27661 * string/test-strcmp.c: Update.
27662 (WIDE): New define.
27663
9be9bfcc
AS
276642011-07-22 Andreas Schwab <schwab@redhat.com>
27665
27666 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27667 line.
27668
2e96f1c7
AS
276692011-07-26 Andreas Schwab <schwab@redhat.com>
27670
27671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27672 encoding to ACE if AI_IDN.
27673
85188888
JJ
276742011-08-01 Jakub Jelinek <jakub@redhat.com>
27675
27676 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27677 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27678
5fa16e9b
LD
276792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27680
27681 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27682 Fix overflow bug in strncat.
27683 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27684
27685 * string/test-strncat.c: Update.
27686 Add new tests for checking overflow bugs.
27687
276882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27689
27690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27691 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27692 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27693 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27694 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27695 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27696 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27697 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27698 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27699
27700 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27701 (USE_AS_STRCAT): Define.
27702 Add strcat and strncat support.
27703 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27704
8c1a459f
AS
277052011-07-25 Andreas Schwab <schwab@redhat.com>
27706
27707 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27708 __n bigger than INT_MAX+1.
27709 (__strncmp_g): Likewise.
27710
bba33c28
UD
277112011-07-23 Ulrich Drepper <drepper@gmail.com>
27712
798be72d
UD
27713 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27714 * libio/stido.h: Likewise.
27715
8accd4dc
UD
27716 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27717 (AF_NFC): Define.
27718 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27719 (AF_NFC): Define.
27720
cbff0d96
UD
27721 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27722 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27723 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27724 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27725 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27726
9191c04a
UD
27727 [BZ #13021]
27728 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27729 installed.
27730
bba33c28
UD
27731 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27732 typo.
27733 (_dl_x86_64_save_sse): Likewise.
27734
90f139dd
UD
277352011-07-22 Ulrich Drepper <drepper@gmail.com>
27736
1aae088a
UD
27737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27738 OSXSAVE.
27739 (_dl_x86_64_save_sse): Likewise.
27740
8e2045f5
UD
27741 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27742
90f139dd
UD
27743 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27744
1d002f25
AS
277452011-07-21 Andreas Schwab <schwab@redhat.com>
27746
27747 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27748 change.
27749 (_dl_x86_64_save_sse): Use correct AVX check.
27750
21137f89
UD
277512011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27752
27753 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27754 bug in strncpy/strncat.
27755 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27756
a65c0b7a
UD
277572011-07-21 Ulrich Drepper <drepper@gmail.com>
27758
27759 * string/tester.c (test_strcat): Add tests for different alignments
27760 of source and destination.
27761 (test_strncat): Likewise.
27762
6986b98a
UD
277632011-07-20 Ulrich Drepper <drepper@gmail.com>
27764
90bb2039
UD
27765 [BZ #12852]
27766 * posix/glob.c (glob): Check passed in values before using them in
27767 expressions to avoid some overflows.
27768 (glob_in_dir): Likewise.
27769
5644ef54
UD
27770 [BZ #13007]
27771 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27772 check for AVX enablement so that we don't crash with old kernels and
27773 new hardware.
27774 * elf/tst-audit4.c: Add same checks here.
27775 * elf/tst-audit6.c: Likewise.
27776
27777 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 27778
bfc9dc9b
AS
277792011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27780
27781 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27782
702e64bb
UD
277832011-07-20 Ulrich Drepper <drepper@gmail.com>
27784
27785 * po/cs.po: Update from translation team.
27786 * po/bg.po: Likewise.
27787
295e904f
MP
277882011-07-12 Marek Polacek <mpolacek@redhat.com>
27789
27790 * misc/sys/cdefs.h: Add support for const attribute.
27791 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27792 to gnu_dev_{major,minor,makedev} functions.
27793
3ff94596
MP
277942011-07-20 Marek Polacek <mpolacek@redhat.com>
27795
27796 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27797
28b59fca
AS
277982011-07-20 Andreas Schwab <schwab@redhat.com>
27799
27800 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27801 strlen results.
27802
19df733e
AK
278032011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27804
27805 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27806 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27807 register in order to avoid conflicts with the soft frame pointer
27808 being held in r11 when necessary.
27809 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27810 (INTERNAL_VSYSCALL_NCS): Likewise.
27811
c8835729
MP
278122011-07-14 Marek Polacek <mpolacek@redhat.com>
27813
27814 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27815 * elf/dl-fini.c (_dl_fini): Adjust caller.
27816 * elf/dl-close.c (_dl_close_worker): Likewise.
27817 * sysdeps/generic/ldsodefs.h: Adjust declaration.
27818
b902330c
MP
278192011-07-15 Marek Polacek <mpolacek@redhat.com>
27820
8991e135
MP
27821 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27822 "aux_cache->nlibs < 0".
27823
b902330c
MP
27824 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27825 in the reload-count case.
27826
99710781
LD
278272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27828
27829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27830 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27831 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27832 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27833 * sysdeps/x86_64/multiarch/strcat.S: New file.
27834 * sysdeps/x86_64/multiarch/strncat.S: New file.
27835 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27836 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27837 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27838 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27839 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27840 (USE_AS_STRCAT): Define.
27841 Add strcat and strncat support.
27842 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27843 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27844 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27845 * string/strncat.c: Update.
27846 (USE_AS_STRNCAT): Define.
27847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27848 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27849 and i7.
27850 * sysdeps/x86_64/multiarch/init-arch.h
27851 (bit_Prefer_PMINUB_for_stringop): New.
27852 (index_Prefer_PMINUB_for_stringop): Likewise.
27853 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27854 bit_Prefer_PMINUB_for_stringop.
27855
7dc6bd90
UD
278562011-07-19 Ulrich Drepper <drepper@gmail.com>
27857
27858 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27859 buffer64.
27860 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27861 of casting of buffer.
27862 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27863 buffer32 and buffer64.
27864 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27865 writes instead of casting of buffer.
27866 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27867 buffer32.
27868 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27869 casting of buffer.
27870
e0e72284
AS
278712011-07-19 Andreas Schwab <schwab@redhat.com>
27872
27873 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27874
feb1eb0b
UD
278752011-07-19 Ulrich Drepper <drepper@gmail.com>
27876
27877 * nscd/nscd.c (termination_handler): Don't do anything for a database
27878 if it has not yet been initialized.
27879
298711ff
UD
278802011-07-18 Ulrich Drepper <drepper@gmail.com>
27881
27882 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27883
278842011-07-15 Marek Polacek <mpolacek@redhat.com>
27885
27886 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27887
f9d68389
UD
278882011-07-18 Ulrich Drepper <drepper@gmail.com>
27889
27890 * po/nl.po: Update from translation team.
27891 * po/sv.po: Likewise.
27892
db290cf5
RM
278932011-07-16 Roland McGrath <roland@hack.frob.com>
27894
27895 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27896 now disallowed by GCC.
5c550700 27897
fd5e21c7
RM
27898 * configure.in (use-default-link): Default to yes if a test -shared
27899 link meets our qualifications.
27900 * configure: Regenerated.
27901
5c550700
RM
27902 * config.make.in (output-format): New variable.
27903 * configure.in: Check for ld --print-output-format support.
27904 * configure: Regenerated.
27905 * Makerules ($(common-objpfx)format.lds)
27906 [$(output-format) != unknown]: Just use $(output-format),
27907 instead of the linker-script munging.
27908
9fa2c032
RM
279092011-07-14 Roland McGrath <roland@hack.frob.com>
27910
a6928d51
RM
27911 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27912 of $(common-objpfx)shlib.lds.
27913 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27914
661607b3
RM
27915 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27916 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27917
9fa2c032
RM
27918 * configure.in (-z relro check): Adjust test code to add a large
27919 writable data section after it.
27920 * configure: Regenerated.
27921
defe9061
RM
279222011-07-11 Roland McGrath <roland@hack.frob.com>
27923
27924 * configure.in (-z relro check): Fix test code to make the variable
27925 truly const.
27926 * configure: Regenerated.
27927
319b9ad4
UD
279282011-07-11 Ulrich Drepper <drepper@gmail.com>
27929
27930 * nscd/nscd.h (struct traced_file): Define.
27931 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27932 elements. Add traced_files.
27933 (inotify_fd): Declare.
27934 (register_traced_file): Declare.
27935 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27936 (inotify_fd): Export.
27937 (resolv_conf_descr): Remove.
27938 (nscd_init): Move inotify descriptor creation to main.
27939 Don't register files for notification here.
27940 (register_traced_file): New function.
27941 (invalidate_cache): Don't use reset_res to determine whether to call
27942 res_init, go through the list of registered files.
27943 (main_loop_poll): The inotify descriptors are now stored in the
27944 structures for the traced files.
27945 (main_loop_epoll): Likewise
27946 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27947 to __nss_disable_nscd.
27948 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27949 for a database anymore. Check the records for all the registered
27950 files instead.
27951 * nss/Makefile (libnss_files-routines): Add files-init.
27952 (libnss_db-routines): Add db-init.
27953 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27954 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27955 * nss/nss_db/db-init.c: New file.
27956 * nss/nss_files/files-init.c: New file.
27957 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27958 __nss_lookup_function.
27959 (__nss_lookup_function): Call nss_load_library.
27960 (nss_load_all_libraries): New function.
27961 (__nss_disable_nscd): Take parameter with callback function for files
27962 to register. Set is_nscd. Load all the DSOs for the NSS modules
27963 used for the cached services.
27964 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27965 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27966 options for features to all the files in nscd.
27967
27968 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27969
23bee3e8
RM
279702011-07-10 Roland McGrath <roland@hack.frob.com>
27971
27972 * csu/elf-init.c (__libc_csu_init): Comment typo.
27973
46a5b7f0
UD
279742011-07-09 Ulrich Drepper <drepper@gmail.com>
27975
27976 * po/pl.po: Update from translation team.
27977 * po/ja.po: Likewise.
27978 * po/ru.po: Likewise.
27979 * po/ko.po: Likewise.
27980 * po/fr.po: Likewise.
27981
d30cf5bb
RM
279822011-07-09 Roland McGrath <roland@hack.frob.com>
27983
113ddea4
RM
27984 * configure.in (.ctors/.dtors header and trailer check):
27985 Use an empirical test on a built program.
27986 * configure: Regenerated.
27987
574920b4
RM
27988 * configure.in (-z relro check): Use an empirical test on a built DSO.
27989 Detect, but do not require, on ia64.
27990 * configure: Regenerated.
27991
d30cf5bb
RM
27992 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27993 Update tests that use readelf to use $READELF instead.
27994 * configure: Regenerated.
27995
8538fdb3
UD
279962011-07-08 Ulrich Drepper <drepper@gmail.com>
27997
27998 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27999 if the result is not used.
28000
04d08991
AJ
280012011-07-05 Andreas Jaeger <aj@suse.de>
28002
28003 [BZ#9696]
28004 * stdlib/tst-strtod.c: Add testcase.
28005
de283087
AD
280062011-07-07 Ulrich Drepper <drepper@gmail.com>
28007
4e5f31c8 28008 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28009 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28010 The latter has a higher limit. Take additional parameter to pass to
28011 the new function.
28012 (__pathconf): Pass file to __statfs_link_max.
28013 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28014 __statfs_link_max.
28015 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28016 __statfs_link_max.
28017
de283087
AD
28018 [BZ #12868]
28019 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28020 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28021 Handle Lustre.
28022 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28023 (__statfs_filesize_max): Likewise.
28024 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28025
c75fa153
AJ
280262011-07-05 Andreas Jaeger <aj@suse.de>
28027
28028 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28029
1a544854
UD
280302011-07-06 Marek Polacek <mpolacek@redhat.com>
28031
28032 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28033 `status' variable.
28034 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28035 Likewise.
28036
6f0eec67
UD
280372011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28038
28039 * Makefile (strop-tests): Add strncat.
28040 * string/test-strncat.c: New file.
28041
aae30307
UD
280422011-06-30 Marek Polacek <mpolacek@redhat.com>
28043
28044 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28045
c0cfb5eb
UD
280462011-06-21 Andreas Jaeger <aj@suse.de>
28047
28048 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28049 Copy rule from iconvdata/Makefile.
28050
01636b21
UD
280512011-07-06 Ulrich Drepper <drepper@gmail.com>
28052
28053 [BZ #12922]
28054 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28055 but no long options are defined, just return 'W'.
28056
9895c8bc
UD
280572011-06-22 Marek Polacek <mpolacek@redhat.com>
28058
28059 [BZ #9696]
28060 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28061
5d4cf042
UD
280622011-07-06 Ulrich Drepper <drepper@gmail.com>
28063
28064 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28065 netgroups to read.
960e5535 28066 (innetgr): Likewise.
5d4cf042 28067
751eb97e
RM
280682011-07-05 Roland McGrath <roland@hack.frob.com>
28069
28070 * config.make.in (install_root): Default to $(DESTDIR).
28071
f15f1e45
UD
280722011-07-05 Ulrich Drepper <drepper@gmail.com>
28073
28074 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28075
4e34ac6a
RM
280762011-07-02 Roland McGrath <roland@hack.frob.com>
28077
5e9b6af4
RM
28078 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28079
84f9ea0f
RM
28080 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28081 containing directory rather than embedding absolute directory names.
28082
ea5ee9f7
RM
28083 * scripts/check-local-headers.sh: Rewritten using awk.
28084 Match by word, not by line. Print error messages for matches.
28085 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28086
1b74661a
RM
28087 * Makerules [shlib-lds-flags empty]:
28088 ($(common-objpfx)libc_pic.opts): New target.
28089 ($(common-objpfx)libc_pic.os.clean): New target.
28090 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28091
28092 * config.make.in (OBJCOPY): New variable.
28093 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28094 * configure: Regenerated.
28095
f781ef40
RM
28096 * config.make.in (use-default-link): New variable.
28097 * configure.in (use_default_link): Grok --with-default-link to set it.
28098 * configure: Regenerated.
28099 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28100 (shlib-lds, shlib-lds-flags): Define to empty.
28101
2d4fa81e
RM
28102 * Makerules (shlib-lds): New variable.
28103 (shlib-lds-flags): New variable.
28104 (build-shlib, build-moduile, build-module-asneeded): Use it.
28105 ($(common-objpfx)libc.so): Use $(shlib-lds).
28106 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28107 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28108
31fffa6b
RM
28109 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28110 DT_FLAGS/DT_FLAGS_1 with zero flags.
28111
4e34ac6a
RM
28112 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28113 linker script munging.
28114
fcfc776b
UD
281152011-07-02 Ulrich Drepper <drepper@gmail.com>
28116
28117 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28118 as 128-bit value.
28119 * crypt/sha512.c (sha512_process_block): Perform total addition using
28120 128-bit if possible.
28121 (__sha512_finish_ctx): Likewise.
28122 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28123 as 64-bit value.
28124 * crypt/sha256.c (SWAP64): Define.
28125 (sha256_process_block): Perform total addition using 64-bit if
28126 possible.
28127 (__sha256_finish_ctx): Likewise.
28128
99231d9a
UD
281292011-07-01 Ulrich Drepper <drepper@gmail.com>
28130
28131 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28132 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28133 * nscd/hstcache.c (cache_addhst): Likewise.
28134 * nscd/grpcache.c (cache_addgr): Likewise.
28135 * nscd/aicache.c (addhstaiX): Likewise
28136 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28137
445b4a53
TK
281382011-07-01 Thorsten Kukuk <kukuk@suse.de>
28139
28140 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28141 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28142 * nscd/hstcache.c (cache_addhst): Likewise.
28143 * nscd/grpcache.c (cache_addgr): Likewise.
28144 * nscd/aicache.c (addhstaiX): Likewise
28145
6d4d8e8e
AS
281462011-07-01 Andreas Schwab <schwab@redhat.com>
28147
28148 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28149 domain only when needed.
28150
89f654c5
AS
281512011-06-30 Andreas Schwab <schwab@redhat.com>
28152
28153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28154 is always restored.
28155
cf3b23ff
UD
281562011-06-29 Ulrich Drepper <drepper@gmail.com>
28157
28158 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28159 are re-adding the entry.
28160 * nscd/servicescache.c (cache_addserv): Likewise.
28161
751626f9
AJ
281622011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28163
28164 * sysdeps/generic/dl-irel.h: fix protection against multiple
28165 inclusions.
28166 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28167
9113ea1f
UD
281682011-06-28 Ulrich Drepper <drepper@gmail.com>
28169
5c0b8d90
UD
28170 [BZ #12935]
28171 * malloc/memusage.sh: Fix quoting in message.
28172 * debug/xtrace.sh: Likewise.
28173
9113ea1f
UD
28174 * configure.in: Remove support for --experimental-malloc option, make
28175 it the default.
28176 * config.make.in: Likewise.
28177 * malloc/Makefile: Likewise.
28178
a4172181
AS
281792011-06-27 Andreas Schwab <schwab@redhat.com>
28180
28181 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28182 two-byte characters.
28183
78a7eee7
RM
281842011-06-27 Roland McGrath <roland@hack.frob.com>
28185
62bede13
RM
28186 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28187 AC_CACHE_CHECK invocation.
28188 * configure: Regenerated.
28189
78a7eee7
RM
28190 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28191
5ce33a62
UD
281922011-06-27 Ulrich Drepper <drepper@gmail.com>
28193
034807a9
UD
28194 [BZ #12350]
28195 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28196 bit from old_res_options.
28197
4902da17
UD
28198 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28199
5ce33a62
UD
28200 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28201 value type for setfct.
28202
c2344f56
L
282032011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28204
28205 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28206 __gettimeofday instead of gettimeofday.
28207
68468076
UD
282082011-06-26 Ulrich Drepper <drepper@gmail.com>
28209
28210 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28211
acb0d739
L
282122011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28213
28214 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28215
28216 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28217 info.
28218
8912479f
L
282192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28220
28221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28222 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28223 strcpy-sse2-unaligned strncpy-sse2-unaligned
28224 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28225 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28226 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28227 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28228 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28229 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28230 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28231 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28232 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28233 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28234 (STRCPY): Support SSE2 and SSSE3 versions.
28235
d5495a11
UD
282362011-06-24 Ulrich Drepper <drepper@gmail.com>
28237
28238 [BZ #12874]
28239 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28240 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28241 kernels which artificially limit size of requests.
28242
0b1cbaae
L
282432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28244
28245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28246 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28247 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28248 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28249 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28250 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28251 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28252 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28253 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28254 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28255 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28256 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28257 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28258 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28259 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28260 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28261 Enable unaligned load optimization for Intel Core i3, i5 and i7
28262 processors.
28263 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28264 Define.
28265 (index_Fast_Unaligned_Load): Define.
28266 (HAS_FAST_UNALIGNED_LOAD): Define.
28267
07f494a0
MP
282682011-06-23 Marek Polacek <mpolacek@redhat.com>
28269
28270 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28271
fa3fc0fe
UD
282722011-06-22 Ulrich Drepper <drepper@gmail.com>
28273
28274 [BZ #12907]
28275 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28276 until it is clear that the information is realy needed.
28277 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28278
e12df166
AS
282792011-06-22 Andreas Schwab <schwab@redhat.com>
28280
28281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28282
852eb34d
UD
282832011-06-22 Ulrich Drepper <drepper@gmail.com>
28284
84e2a551
UD
28285 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28286 /sys/devices/system/cpu/online if it is usable.
28287
852eb34d
UD
28288 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28289 reading the information from the /proc filesystem to once a second.
28290
6e502e19
UD
282912011-06-21 Andreas Jaeger <aj@suse.de>
28292
28293 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28294 NULL after inclusion of kernel headers.
28295
75d39ff2
UD
282962011-06-21 Ulrich Drepper <drepper@gmail.com>
28297
51f9aa6a
UD
28298 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28299 calls to internal_setent.
28300
c0244a9d
UD
28301 [BZ #12885]
28302 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28303 addresses using gethostbyname4_r ignore IPv4 addresses.
28304
c5e3c2ae
UD
28305 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28306 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28307
75d39ff2
UD
28308 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28309
42675c6f
DM
283102011-06-20 David S. Miller <davem@davemloft.net>
28311
28312 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28313 inclusions.
28314 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28315
28316 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28317 (elf_irel): Use it.
28318 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28319 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28320 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28321 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28322 * sysdeps/x86_64/dl-irel.h: Likewise.
28323
28324 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28325 * elf/dl-sym.c: Likewise.
28326
57912a71
UD
283272011-06-15 Ulrich Drepper <drepper@gmail.com>
28328
28329 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28330 need to dereference resplen2.
28331
ee22793d
AS
283322011-06-14 Andreas Schwab <schwab@redhat.com>
28333
28334 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28335
a9e836b0
UD
283362011-06-15 Ulrich Drepper <drepper@gmail.com>
28337
77fb9117
UD
28338 * Makeconfig: Define vardbdir and inst_vardbdir.
28339 * nss/Makefile: Add rules to install db-Makefile.
28340
40c1b22c
UD
28341 * nss/nss_db/db-XXX.c: Cleanup.
28342
9f2da732
UD
28343 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28344 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28345 GLIBC_PRIVATE.
28346 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28347 * nss/makedb.c: Implement -g option to specify that value strings
28348 are generated and should not be added to table iterated over for
28349 get*ent calls.
28350 * nss/nss_db/db-initgroups.c: New file.
28351
82e9a1f7
UD
28352 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28353 interface.
28354
c41af17e
UD
28355 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28356 (internal_getgrouplist): Adjust to name change.
28357 Update use_initgroups_entry if this is not the first call.
28358 * nss/databases.def: Add initgroups entry.
28359
a9e836b0
UD
28360 * nss/makedb.c (compute_tables): Check result of multiple hash table
28361 sizes to minimize maximum chain length.
28362
2666d441
UD
283632011-06-14 Ulrich Drepper <drepper@gmail.com>
28364
28365 * Versions.def: Add entry for libnss_db.
28366 * shlib-versions: Likewise.
28367 * nss/Makefile: Add rules to build libnss_db.
28368 * nss/Versions: Add libnss_db information. Organize libnss_files
28369 entries better.
28370 * nss/db-Makefile: Add gshadow support. Change rules for the new
28371 makedb progra. Some minor improvements to generate smaller files.
28372 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28373 here from...
28374 * nss/makedb.c: ...here.
28375 Improve database format to be smaller and require less memory at
28376 runtime.
28377 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28378 db anymore.
28379 * nss/nss_db/db-netgrp.c: Likewise.
28380 * nss/nss_db/db-open.c: Likewise.
28381 * nss/nss_files/flies-XXX.x: Adjust comments.
28382 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28383 * nss/nss_files/files-grp.c: Likewise.
28384 * nss/nss_files/files-hosts.c: Likewise.
28385 * nss/nss_files/files-network.c: Likewise.
28386 * nss/nss_files/files-proto.c: Likewise.
28387 * nss/nss_files/files-pwd.c: Likewise.
28388 * nss/nss_files/files-rpc.c: Likewise.
28389 * nss/nss_files/files-service.c: Likewise.
28390 * nss/nss_files/files-sgrp.c: Likewise.
28391 * nss/nss_files/files-spwd.c: Likewise.
28392 * nss/nss_db/db-alias.c: Removed.
28393 * nss/nss_db/dummy-db.h: Removed.
28394
9ee76b5a
UD
283952011-06-02 Ulrich Drepper <drepper@gmail.com>
28396
28397 * nss/makedb.c: Rewritten to not use database library.
28398 * nss/Makefile: Update to build new makedb program.
28399
c71ca1f8
AJ
284002011-06-14 Andreas Jaeger <aj@suse.de>
28401
28402 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28403 memset declaration.
28404
3154bfb8
UD
284052011-06-10 Andreas Schwab <schwab@redhat.com>
28406
28407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28408 tmpbuf.
28409
b350afab
RM
284102011-06-10 Roland McGrath <roland@hack.frob.com>
28411
decd4e50
RM
28412 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28413 * elf/Makefile ($(objpfx)ld.so): Likewise.
28414
5615eaf2
RM
28415 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28416 Don't list ld.so twice in dependencies.
28417
28418 * posix/bug-regex31.c: Include <stdlib.h>.
28419
28420 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28421
28422 * nis/nss_compat/compat-spwd.c
28423 (getspent_next_nss_netgr): Remove unused variable.
28424 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28425
28426 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28427 nonmembers" output to use the right array.
28428
28429 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28430
28431 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28432
28433 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28434 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28435 * catgets/gencat.c (read_input_file): Likewise.
28436 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28437
28438 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28439 variable definition inside #if's controlling its use.
28440
28441 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28442
28443 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28444
28445 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28446
28447 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28448 unreachable code.
28449
28450 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28451
b68e08db
RM
28452 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28453 * configure: Regenerated.
28454
b350afab
RM
28455 * Makerules: Revert last change.
28456 * elf/Makefile: Likewise.
28457
28368601
RM
284582011-06-09 Roland McGrath <roland@hack.frob.com>
28459
28460 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28461 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28462 (reloc-link): Likewise.
28463
11988f8f
UD
284642011-06-09 Ulrich Drepper <drepper@gmail.com>
28465
28466 * elf/Makefile: Add rules to build pldd.
28467 * elf/pldd.c: New file.
28468 * elf/pldd-xx.c: New file.
28469
e80fab37
UD
284702011-06-07 Ulrich Drepper <drepper@gmail.com>
28471
28472 * version.h: Update for 2.15 development version.
28473
9b849836
DM
284742011-06-07 David S. Miller <davem@davemloft.net>
28475
28476 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28477 ifuncs.
28478 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28479 elf_machine_lazy_rel): Likewise.
28480 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28481 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28482 elf_machine_lazy_rel): Likewise.
28483 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28484 dl_hwcap via passed in argument.
28485 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28486 Likewise.
28487
5a31b283
AK
284882011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28489
28490 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28491
069e52f8
RM
284922011-06-06 Roland McGrath <roland@hack.frob.com>
28493
28494 [BZ #12849]
28495 * manual/fdl-1.1.texi: New file, verbatim from:
28496 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28497 * manual/lgpl-2.1.texi: New file, verbatim from:
28498 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28499 * manual/Makefile (licenses): New variable, list those new file names.
28500 (texis): Use it.
28501 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28502
28503 * manual/fdl.texi: File removed.
28504 * manual/lesser.texi: File removed.
28505 * manual/libc.texinfo (Copying, Documentation License):
28506 Use new @include file names, put @appendix directive before @include.
28507
f16846a5
JJ
285082011-06-04 Jakub Jelinek <jakub@redhat.com>
28509
28510 [BZ #12841]
28511 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28512 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28513 (mq_open): Add __NTH.
28514
3d29045b
L
285152011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28516
28517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28518 Assume Intel Core i3/i5/i7 processor if AVX is available.
28519
8c297311
UD
285202011-05-31 Ulrich Drepper <drepper@gmail.com>
28521
28522 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28523 typo.
28524
c8fc0c91
UD
285252011-05-31 Andreas Schwab <schwab@redhat.com>
28526
28527 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28528 memory. Use alloca_account. Fix memory leak when retrying.
28529
5b27a807
UD
285302011-05-31 Ulrich Drepper <drepper@gmail.com>
28531
356f8bc6
UD
28532 * version.h (RELEASE): Bump for 2.14 release.
28533 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28534
5b27a807
UD
28535 * config.make.in (RANLIB): Remove entry.
28536
01f16ab0
UD
285372011-05-30 Ulrich Drepper <drepper@gmail.com>
28538
41fce8bd
UD
28539 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28540 (libc.pot): Work around missing support for .ksh extension in xgettext.
28541
4769ae77
UD
28542 [BZ #12684]
28543 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28544 if both request failed.
28545 (send_dg): In case of server errors clear resplen or *resplen2.
28546
6b1e7d19
UD
28547 [BZ #12454]
28548 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28549 when there are multiple maps.
28550 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28551 (_dl_fini): Remove test here.
28552
01f16ab0
UD
28553 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28554
b1ebd700
UD
285552011-05-29 Ulrich Drepper <drepper@gmail.com>
28556
7ae22829
UD
28557 [BZ #12350]
28558 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28559 bit from old_res_options.
28560 (gaih_inet): Likewise.
28561
553149f6 28562 [BZ #11099]
18a84741 28563 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28564 as signed.
28565
652ffab1
UD
28566 * resolv/res_init.c (res_setoptions): Make the code more compact.
28567
16985fd0
UD
28568 [BZ #11558]
28569 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28570 set RES_USEVC.
28571
0464f746
UD
28572 [BZ #11634]
28573 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28574
7d17596c
UD
28575 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28576
cf6bbbd7
UD
28577 [BZ #11781]
28578 * malloc/malloc.h: Declare malloc hook variables as volatile.
28579
13f1ab36
UD
28580 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28581 in last patch.
28582
b1ebd700
UD
28583 [BZ #11799]
28584 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28585 raise in the comment.
80e2212d
UD
28586 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28587 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28588 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28589
ce67228d
UD
285902011-05-28 Ulrich Drepper <drepper@gmail.com>
28591
8887a920
UD
28592 [BZ #12811]
28593 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28594 grow the buffers more if it already has to be sufficient.
28595 (build_wcs_upper_buffer): Likewise.
28596 * posix/regexec.c (check_matching): Likewise.
28597 (clean_state_log_if_needed): Likewise.
28598 (extend_buffers): Don't enlarge buffers beyond size of the input
28599 buffer.
28600 Patches mostly by Emil Wojak <emil@wojak.eu>.
28601 * posix/bug-regex32.c: New file.
28602 * posix/Makefile (tests): Add bug-regex32.
28603
4f031072
UD
28604 * locale/findlocale.c (_nl_find_locale): Return right away if
28605 _nl_explode_name failed.
28606 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28607
d0478f0c
UD
28608 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28609
de81b246
UD
28610 * debug/xtrace.sh: Unify messages.
28611 * malloc/memusage.sh: Likewise.
28612
c738465a
UD
28613 [BZ #12813]
28614 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28615 time symbol from vDSO. Substitute with vsyscall if not available.
28616 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28617 __vdso_time.
28618
f1f929d7
UD
28619 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28620 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28621 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28622 Add sendmmsg and internal_sendmmsg.
28623 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28624 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28625 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28626
ce67228d
UD
28627 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28628 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28629 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28630
e57420c6
UD
286312011-05-27 Ulrich Drepper <drepper@gmail.com>
28632
a8509ca5
UD
28633 [BZ #12813]
28634 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28635 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28636 available.
28637 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28638 __vdso_getcpu.
28639
e57420c6
UD
28640 [BZ #12814]
28641 * iconvdata/Makefile (tests): Add bug-iconv9.
28642 * iconvdata/bug-iconv9.c: New file.
28643
4d07db15
AS
286442011-05-27 Andreas Schwab <schwab@redhat.com>
28645
28646 [BZ #12814]
28647 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28648
ea486f69
JJ
286492011-05-25 Jakub Jelinek <jakub@redhat.com>
28650
28651 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28652 (struct user_regs_struct): Change intcs field back to cs.
28653
6f038433
UD
286542011-05-25 Ulrich Drepper <drepper@gmail.com>
28655
28656 * po/ja.po: Update from translation team.
28657
67f86a25
UD
286582011-05-23 Ulrich Drepper <drepper@gmail.com>
28659
28660 [BZ #12795]
28661 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28662 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28663
def7fbd6
AS
286642011-05-20 Andreas Schwab <schwab@redhat.com>
28665
28666 * stdlib/longlong.h: Update from GCC.
28667
f50ef8f1
AS
286682011-05-23 Andreas Schwab <schwab@redhat.com>
28669
28670 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28671 parameter name.
28672 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28673 Add parameter name.
28674 (__sysconf): Pass it down.
28675
de7ce8f1
UD
286762011-05-22 Ulrich Drepper <drepper@gmail.com>
28677
f2962a71
UD
28678 [BZ #12671]
28679 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28680 some situations.
28681 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28682 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28683 add in in __libc_use_alloca calls. Adjust callers.
28684 (glob): Use malloc in some situations.
28685
de7ce8f1
UD
28686 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28687 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28688 pltexit.
28689
aec84f53
UD
286902011-05-21 Ulrich Drepper <drepper@gmail.com>
28691
05bb4a68
UD
28692 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28693 and CLOCK_BOOTTIME_ALARM.
28694
7ea72f99
UD
28695 [BZ #12782]
28696 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28697 is returned.
28698
7e4afad5
UD
28699 * string/_strerror.c (__strerror_r): Print negative errors as signed
28700 numbers.
28701
8e211fec
UD
28702 [BZ #12777]
28703 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28704 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28705 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28706
f7d82dc9
UD
28707 * configure.in: Fix typo in redirection and correct removal of test
28708 files in two cases.
28709
cc9e536d
UD
28710 [BZ #12788]
28711 * locale/setlocale.c (new_composite_name): Fix test to check for
28712 identical name of all categories.
28713
aec84f53
UD
28714 [BZ #12792]
28715 * libio/filedoalloc.c (local_isatty): New function.
28716 (_IO_file_doallocate): Use local_isatty.
28717 * stdio-common/perror.c (perror): In case a new stream is used
28718 forward the stream error.
28719 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28720 error flag.
28721
78e64fdc
RT
287222011-05-20 Ulrich Drepper <drepper@gmail.com>
28723
34a9094f
UD
28724 [BZ #11869]
28725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28726 alloca.
28727 * include/alloca.h (extend_alloca_account): Define.
28728
78e64fdc
RT
28729 [BZ #11857]
28730 * posix/regex.h: Fix comments with documentation of user-accessible
28731 fields after compilation and describe correct free'ing of pattern
28732 after re_compile_pattern.
28733 Patch by Reuben Thomas <rrt@sc3d.org>.
28734
457bddfc
RA
287352011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28736
28737 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28738 and -mno-altivec to prevent the compiler from using Altivec and/or
28739 VSX instructions when the corresponding registers are not available.
28740
a4527b51
AS
287412011-05-19 Andreas Schwab <schwab@redhat.com>
28742
28743 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28744
ed690b2f
UD
287452011-05-19 Ulrich Drepper <drepper@gmail.com>
28746
28747 * libio/freopen.c (freopen): Use __dup2, not dup2.
28748 * libio/freopen64.c (freopen64): Likewise.
28749
8db73634
L
287502011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28751
28752 [BZ #12775]
28753 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28754 * math/Makefile (tests): Add test-powl.
28755 (CFLAGS-test-powl.c): Define.
28756 * math/test-powl.c: New file.
28757
0a197a9d
L
287582011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28759
28760 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28761
ee30c380
UD
287622011-05-17 Ulrich Drepper <drepper@gmail.com>
28763
28764 [BZ #11837]
28765 * iconvdata/gb18030.c: Update to GB18020-2005.
28766
6ce75379
UD
287672011-05-16 Ulrich Drepper <drepper@gmail.com>
28768
a4b89fd8
AR
28769 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28770 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28771 Patch by Aharon Robbins <arnold@skeeve.com>.
28772
ea389b12
UD
28773 [BZ #11892]
28774 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28775 on the stack.
28776
68a3f91f
UD
28777 [BZ #11895]
28778 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28779 through underflows.
28780
15cc7dd1
UD
28781 [BZ #12766]
28782 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28783 point to strings before performing equality test for error_one_per_line
28784 mode.
28785
f3799213
UD
28786 [BZ #11697]
28787 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28788
d79a9c94
UD
28789 [BZ #11820]
28790 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28791 (struct user_fpregs_struct): Avoid __uint*_t types.
28792
56e5eb46
UD
28793 [BZ #6420]
28794 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28795 symbol info. Use it instead of calling _dl_addr locally.
28796 (lock_and_info): New function.
28797 (tr_freehook): Call lock_and_info and pass symbol info as additional
28798 parameter to tr_where.
28799 (tr_mallochook): Likewise.
28800 (tr_reallochook): Likewise.
28801 (tr_memalignhook): Likewise.
28802
6ce75379
UD
28803 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28804 used and couldn't be at all thread-safe.
28805
f8a3b5bf
UD
288062011-05-15 Ulrich Drepper <drepper@gmail.com>
28807
94b7cc37
UD
28808 * libio/freopen.c (freopen): Don't close old file descriptor
28809 before the new one is opened. Instead dup the new file descriptor
28810 to the old one after the new stream is created.
28811 * libio/freopen64.c (freopen64): Likewise.
28812 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28813 * libio/fileops.c (_IO_new_file_close_it): Handle new
28814 _IO_FLAGS2_NOCLOSE flag.
28815 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28816 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28817 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28818 _IO_FLAGS2_NOCLOSE flag.
28819 * include/unistd.h: Add hidden_proto for dup3.
28820 Define __have_dup3.
28821 * io/dup3.c: Define hidden symbol.
28822 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28823
bd25564e
UD
28824 [BZ #7101]
28825 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28826 when an incomplete long option is used.
28827 * posix/tst-getopt_long1.c: New file.
28828 * posix/Makefile (tests): Add tst-getopt_long1.
28829
c84cfef4
UD
28830 [BZ #10138]
28831 * scripts/config.guess: Update from autoconf-2.68.
28832 * scripts/config.sub: Likewise.
28833
3b85df27
UD
28834 [BZ #10157]
28835 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28836 tests into ...
28837 (has_cpuclock): ...this. New function.
28838 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28839 macro here based on has_cpuclock code.
28840
15a856b1
UD
28841 [BZ #10149]
28842 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28843 First byte (not low byte) is now always NUL.
28844 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28845
05f399e6
UD
28846 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28847 Use non-cancelable interfaces.
28848
10a52685 28849 [BZ #9809]
94ecc67d
UD
28850 * locale/iso-639.def: Add entry for Sorani.
28851
f8a3b5bf
UD
28852 [BZ #11901]
28853 * include/stdlib.h: Move include protection to the right place.
28854 Define abort_msg_s. Declare __abort_msg with it.
28855 * stdlib/abort.c (__abort_msg): Adjust type.
28856 * assert/assert.c (__assert_fail_base): New function. Majority
28857 of code from __assert_fail. Allocate memory for __abort_msg with
28858 mmap.
28859 (__assert_fail): Now call __assert_fail_base.
28860 * assert/assert-perr.c: Remove bulk of implementation. Use
28861 __assert_fail_base.
28862 * include/assert.hL Declare __assert_fail_base.
28863 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28864 mmap.
28865 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28866
1af4e298
UD
288672011-05-14 Ulrich Drepper <drepper@gmail.com>
28868
f8a3b5bf 28869 [BZ #11952]
d26dfc60
MG
28870 [BZ #12453]
28871 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28872 until all modules are registered in the DTV.
28873 * elf/Makefile: Add rules to build and run tst-tls19.
28874 * elf/tst-tls19.c: New file.
28875 * elf/tst-tls19mod1.c: New file.
28876 * elf/tst-tls19mod2.c: New file.
28877 * elf/tst-tls19mod3.c: New file.
28878 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28879
2fc54d6f
UD
28880 [BZ #12083]
28881 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28882 correctly.
28883
98d76b46
UD
28884 [BZ #12601]
28885 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28886 two-byte sequence errors.
28887 * iconvdata/Makefile (tests): Add bug-iconv8.
28888 * iconvdata/bug-iconv8.c: New file.
28889
da3c19ef
UD
28890 [BZ #12626]
28891 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28892 buf2 definition.
28893
ca408c15
UD
28894 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28895
d6f67f7d
UD
28896 [BZ #12432]
28897 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28898 (dummy_getcfa): New function.
28899 (init): Get _Unwind_GetCFA address, use dummy if not found.
28900 (backtrace_helper): In recursion check, also check whether CFA changes.
28901 (__backtrace): Completely initialize arg.
28902
1af4e298 28903 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
28904 storing incomplete byte sequence in state object. Avoid testing for
28905 guaranteed too small input if we know there is enough data available.
1af4e298 28906
da62f81b
AS
289072011-05-11 Andreas Schwab <schwab@redhat.com>
28908
28909 * Makeconfig (+link-pie): Indent.
28910 * Rules (binaries-pie): Define if $(have-fpie) and
28911 $(build-shared).
28912 (binaries-shared): Also filter out $(binaries-pie).
28913 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28914 * nscd/Makefile (others-pie): Add nscd.
28915 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28916 ($(objpfx)nscd): Remove command override.
28917 * login/Makefile (others-pie): Add pt_chown.
28918 ($(objpfx)pt_chown): Remove command override.
28919 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28920 remove command overrides.
28921
fcabc0f8
UD
289222011-05-13 Ulrich Drepper <drepper@gmail.com>
28923
20030ae6
UD
28924 * libio/tst_putwc.c: Fix error messages.
28925
fcabc0f8
UD
28926 [BZ #12724]
28927 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28928 currently writing and seek to current position when not.
28929 * libio/Makefile (tests): Add bug-fclose1.
28930 * libio/bug-fclose1.c: New file.
28931
320a5dc0
PB
289322011-05-12 Ulrich Drepper <drepper@gmail.com>
28933
28934 [BZ #12511]
28935 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28936 don't set DF_1_NODELETE here.
28937 (do_lookup_x): When entering new entry test for copy relocation
28938 and if necessary set DF_1_NODELETE flag.
28939 * elf/tst-unique4.cc: New file.
28940 * elf/tst-unique4.h: New file.
28941 * elf/tst-unique4lib.cc: New file.
28942 * elf/Makefile: Add rules to build and run tst-unique4.
28943 Patch by Piotr Bury <pbury@goahead.com>.
28944
22836f52
UD
289452011-05-11 Ulrich Drepper <drepper@gmail.com>
28946
f574184a
UD
28947 [BZ #12052]
28948 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28949
e1fb097f
UD
28950 [BZ #12625]
28951 * misc/mntent_r.c (addmntent): Flush the stream after the output
28952
22836f52
UD
28953 [BZ #12393]
28954 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28955 (is_trusted_path_normalize): Skip initial colon. Append slash
28956 to empty buffer. Duplicate is_trusted_path code but allow
28957 constructed patch to be prefix.
28958 (is_dst): Allow $ORIGIN followed by /.
28959 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28960 Correct testing of result of is_trusted_path_normalize
28961 (decompose_rpath): Fix warning.
28962
7b3b0b2a
UD
289632011-05-10 Ulrich Drepper <drepper@gmail.com>
28964
28965 [BZ #11257]
28966 * grp/initgroups.c (internal_getgrouplist): When we found the service
28967 list through the initgroups entry in nsswitch.conf do not always
28968 continue on a successful lookup. Don't always use the
eac80ce2 28969 __nss_group_database value if it is set.
7b3b0b2a
UD
28970 * nss/nsswitch.conf (initgroups): Change action for successful db
28971 lookup to continue for compatibility.
28972
2a81eaa5
UD
289732011-05-09 Ulrich Drepper <drepper@gmail.com>
28974
be97a69e
UD
28975 [BZ #11532]
28976 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28977 and CP774 modules.
28978 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28979 and CP774 modules.
28980 * iconvdata/tst-tables.sh: Likewise.
28981 * iconvdata/cp770.c: New file.
28982 * iconvdata/cp771.c: New file.
28983 * iconvdata/cp772.c: New file.
28984 * iconvdata/cp773.c: New file.
28985 * iconvdata/cp774.c: New file.
28986 * iconvdata/testdata/CP770: New file.
28987 * iconvdata/testdata/CP770..UTF8: New file.
28988 * iconvdata/testdata/CP771: New file.
28989 * iconvdata/testdata/CP771..UTF8: New file.
28990 * iconvdata/testdata/CP772: New file.
28991 * iconvdata/testdata/CP772..UTF8: New file.
28992 * iconvdata/testdata/CP773: New file.
28993 * iconvdata/testdata/CP773..UTF8: New file.
28994 * iconvdata/testdata/CP774: New file.
28995 * iconvdata/testdata/CP774..UTF8: New file.
28996
28997 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28998 END CHARMAP line.
28999 * iconvdata/gen-8bit-gap.sh: Likewise.
29000 * iconvdata/gen-8bit.sh: Likewise.
29001
c1e9e399
UD
29002 * locale/iso-639.def: Add ary entry.
29003
24c55fb3 29004 [BZ #11258]
96b4b1b0
UD
29005 * locale/C-translit.h.in: Add U20A1 transliteration.
29006
bdc2f971
KB
29007 [BZ #12178]
29008 * locale/iso-639.def: Add wae entry.
29009 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29010
2952b117
UD
29011 [BZ #12545]
29012 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29013 for n.
29014
2a81eaa5
UD
29015 [BZ #12711]
29016 * locale/C-translit.h.in: Add entry for U20B9.
29017 Patch by pravin.d.s@gmail.com.
29018
28377d1b
UD
290192011-05-08 Ulrich Drepper <drepper@gmail.com>
29020
7fb90fb8
UD
29021 [BZ #12713]
29022 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29023 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29024 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29025 in rtld. Use *stat64.
7fb90fb8 29026 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29027 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29028 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29029 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29030 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29031 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29032 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29033 __fstatat64 macros.
7fb90fb8
UD
29034 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29035 * dirent/rewinddir.c: Add libc_hidden_def.
29036 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29037 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29038
28377d1b
UD
29039 * include/dirent.h (__alloc_dir): Add flags parameter.
29040 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29041 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29042 __alloc_dir.
29043 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29044 from fdopendir if O_CLOEXEC is already set.
29045
66bdbaa4
AM
290462011-03-15 Alan Modra <amodra@gmail.com>
29047
29048 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29049 l_tls_firstbyte_offset non-zero. Save padding offset in
29050 l_tls_firstbyte_offset for later use.
29051 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29052 freeing static tls block.
29053
95721191
JN
290542011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29055
29056 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29057 where #ifdef was intended. The intent is to prevent ARG_MAX from
29058 being defined by the kernel headers.
29059
f87dfb1f
UD
290602011-05-07 Ulrich Drepper <drepper@gmail.com>
29061
29062 [BZ #12734]
29063 * resolv/resolv.h: Define RES_NOTLDQUERY.
29064 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29065 no-tld-query and set RES_NOTLDQUERY.
29066 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29067 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29068 modern BIND to search name as TLD unless forbidden.
29069
47c3cd7a
UD
290702011-05-07 Petr Baudis <pasky@suse.cz>
29071 Ulrich Drepper <drepper@gmail.com>
29072
29073 [BZ #12393]
29074 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29075 (is_trusted_path): ...to here.
c1e9ea35 29076 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29077 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29078 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29079
8a35c912
PP
290802011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29081
29082 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29083 __BEGIN/__END_DECLS.
29084
acd41f47
UD
290852011-05-06 Ulrich Drepper <drepper@gmail.com>
29086
29087 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29088 NSS_STATUS_NOTFOUND if no record was found.
29089
597df647
AS
290902011-05-05 Andreas Schwab <schwab@redhat.com>
29091
29092 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29093 (headers-not-in-tirpc): Remove rpc/netdb.h
29094 * resolv/netdb.h: Revert last change.
29095
b9af1301
PP
290962011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29097
29098 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29099 circular dependency between libgcc.a and libc.a.
29100
4e34d5f5
AS
291012011-05-05 Andreas Schwab <schwab@redhat.com>
29102
29103 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29104 * nis/Makefile: Don't install rpcsvc/*.
29105 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29106 instead of <rpc/types.h>.
29107 (MAXHOSTNAMELEN): Define.
29108
00ee369c
AS
291092011-05-03 Andreas Schwab <schwab@redhat.com>
29110
29111 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29112
0b592a30
MB
291132011-04-28 Maciej Babinski <mbabinski@google.com>
29114
29115 [BZ #12714]
29116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29117 gethostbyname4_r when IPv6 results are possible.
29118
6e04cbbe
UD
291192011-05-02 Ulrich Drepper <drepper@gmail.com>
29120
29121 [BZ #12723]
29122 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29123 _PC_PIPE_BUF handling.
29124
e4ecafe0
BH
291252011-04-30 Bruno Haible <bruno@clisp.org>
29126
29127 [BZ #12717]
29128 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29129 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29130 to 'int'.
29131 * inet/getnameinfo.c (getnameinfo): Likewise.
29132
125ee683
UD
291332011-04-29 Ulrich Drepper <drepper@gmail.com>
29134
29135 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29136 to groups setting in database lookup.
29137 * nss/nsswitch.conf: Add initgroups entry.
29138
b722481a
EB
291392011-04-22 Ulrich Drepper <drepper@gmail.com>
29140
29141 [BZ #12685]
29142 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29143 mode string.
29144 Patch by Eric Blake <eblake@redhat.com>.
29145
4df46dbd
L
291462011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29147
29148 * sunrpc/Makefile (need-export-routines): Add svc_run.
29149 (routines): Remove svc_run.
29150 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29151 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29152 * sunrpc/svc_run.c (svc_run): Likewise.
29153 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29154
e84142d2
UD
291552011-04-21 Ulrich Drepper <drepper@gmail.com>
29156
29157 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29158 problem in reallocation in last patch.
29159
877175d8
UD
291602011-04-20 Ulrich Drepper <drepper@gmail.com>
29161
29162 * sunrpc/Makefile: Move inclusion of Rules.
29163
ab8eed78
UD
291642011-04-19 Ulrich Drepper <drepper@gmail.com>
29165
29166 * nss/nss_files/files-initgroups.c: New file.
29167 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29168 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29169 _nss_files_initgroups_dyn.
29170
e3d8f584
RS
291712011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29172
29173 * elf/elf.h (R_ARM_IRELATIVE): Define.
29174
af190f45
UD
291752011-04-19 Ulrich Drepper <drepper@gmail.com>
29176
29177 * po/ru.po: Update from translation team.
29178
53cf59ef
UD
291792011-04-17 Ulrich Drepper <drepper@gmail.com>
29180
29181 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29182 dependencies.
29183
4c559bcd
MF
291842011-02-06 Mike Frysinger <vapier@gentoo.org>
29185
29186 [BZ #12653]
29187 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29188 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29189 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29190 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29191 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29192
4420675c
AS
291932011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29194
29195 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29196 differing bytes.
29197 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29198 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29199 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29200
75ea32ab
UD
292012011-04-17 Ulrich Drepper <drepper@gmail.com>
29202
29203 [BZ #12420]
29204 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29205 storing it.
29206 * stdlib/bug-getcontext.c: New file.
29207 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29208
27390476
AK
292092011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29210
29211 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29212 instructions into .machine "z9-109".
29213 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29214 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29215
10442705
AK
292162011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29217
29218 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29219 between environment variables and auxiliary vector.
29220
7b57bfe5
UD
292212011-04-16 Ulrich Drepper <drepper@gmail.com>
29222
29223 * Makefile: Add rules to build linkobj/libc.so.
29224 * include/libc-symbols.h: Define libc_hidden_nolink.
29225 * include/rpc/auth.h: Mark functions which are to be hidden.
29226 * include/rpc/auth_des.h: Likewise.
29227 * include/rpc/auth_unix.h: Likewise.
29228 * include/rpc/clnt.h: Likewise.
29229 * include/rpc/des_crypt.h: Likewise.
29230 * include/rpc/key_prot.h: Likewise.
29231 * include/rpc/pmap_clnt.h: Likewise.
29232 * include/rpc/pmap_prot.h: Likewise.
29233 * include/rpc/pmap_rmt.h: Likewise.
29234 * include/rpc/rpc_msg.h: Likewise.
29235 * include/rpc/svc.h: Likewise.
29236 * include/rpc/svc_auth.h: Likewise.
29237 * include/rpc/xdr.h: Likewise.
29238 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29239 * nss/Makefile: Likewise.
29240 * sunrpc/Makefile: Don't install headers. Build library with normal
29241 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29242 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29243 for the compat linking library. Remove use of INTDEF/INTUSE.
29244 * sunrpc/auth_none.c: Likewise.
29245 * sunrpc/auth_unix.c: Likewise.
29246 * sunrpc/authdes_prot.c: Likewise.
29247 * sunrpc/authuxprot.c: Likewise.
29248 * sunrpc/clnt_gen.c: Likewise.
29249 * sunrpc/clnt_perr.c: Likewise.
29250 * sunrpc/clnt_raw.c: Likewise.
29251 * sunrpc/clnt_simp.c: Likewise.
29252 * sunrpc/clnt_tcp.c: Likewise.
29253 * sunrpc/clnt_udp.c: Likewise.
29254 * sunrpc/clnt_unix.c: Likewise.
29255 * sunrpc/des_crypt.c: Likewise.
29256 * sunrpc/des_soft.c: Likewise.
29257 * sunrpc/get_myaddr.c: Likewise.
29258 * sunrpc/key_call.c: Likewise.
29259 * sunrpc/key_prot.c: Likewise.
29260 * sunrpc/netname.c: Likewise.
29261 * sunrpc/pm_getmaps.c: Likewise.
29262 * sunrpc/pm_getport.c: Likewise.
29263 * sunrpc/pmap_clnt.c: Likewise.
29264 * sunrpc/pmap_prot.c: Likewise.
29265 * sunrpc/pmap_prot2.c: Likewise.
29266 * sunrpc/pmap_rmt.c: Likewise.
29267 * sunrpc/publickey.c: Likewise.
29268 * sunrpc/rpc_cmsg.c: Likewise.
29269 * sunrpc/rpc_common.c: Likewise.
29270 * sunrpc/rpc_dtable.c: Likewise.
29271 * sunrpc/rpc_prot.c: Likewise.
29272 * sunrpc/rpc_thread.c: Likewise.
29273 * sunrpc/rtime.c: Likewise.
29274 * sunrpc/svc.c: Likewise.
29275 * sunrpc/svc_auth.c: Likewise.
29276 * sunrpc/svc_authux.c: Likewise.
29277 * sunrpc/svc_raw.c: Likewise.
29278 * sunrpc/svc_run.c: Likewise.
29279 * sunrpc/svc_simple.c: Likewise.
29280 * sunrpc/svc_tcp.c: Likewise.
29281 * sunrpc/svc_udp.c: Likewise.
29282 * sunrpc/svc_unix.c: Likewise.
29283 * sunrpc/svcauth_des.c: Likewise.
29284 * sunrpc/xcrypt.c: Likewise.
29285 * sunrpc/xdr.c: Likewise.
29286 * sunrpc/xdr_array.c: Likewise.
29287 * sunrpc/xdr_float.c: Likewise.
29288 * sunrpc/xdr_intXX_t.c: Likewise.
29289 * sunrpc/xdr_mem.c: Likewise.
29290 * sunrpc/xdr_rec.c: Likewise.
29291 * sunrpc/xdr_ref.c: Likewise.
29292 * sunrpc/xdr_sizeof.c: Likewise.
29293 * sunrpc/xdr_stdio.c: Likewise.
29294
e6c61494
UD
292952011-04-10 Ulrich Drepper <drepper@gmail.com>
29296
29297 [BZ #12650]
29298 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29299 * sysdeps/ia64/dl-tls.h: Likewise.
29300 * sysdeps/powerpc/dl-tls.h: Likewise.
29301 * sysdeps/s390/dl-tls.h: Likewise.
29302 * sysdeps/sh/dl-tls.h: Likewise.
29303 * sysdeps/sparc/dl-tls.h: Likewise.
29304 * sysdeps/x86_64/dl-tls.h: Likewise.
29305 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29306
34fe483e
AS
293072011-03-14 Andreas Schwab <schwab@redhat.com>
29308
29309 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29310 rpath element also skip the following colon.
29311 (expand_dynamic_string_token): Add is_path parameter and pass
29312 down to DL_DST_REQUIRED and _dl_dst_substitute.
29313 (decompose_rpath): Call expand_dynamic_string_token with
29314 non-zero is_path. Ignore empty rpaths.
29315 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29316 with zero is_path.
29317
f12a32e6
AS
293182011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29319
29320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29321 Make cancelable.
29322
38a7d692
UD
293232011-04-09 Ulrich Drepper <drepper@gmail.com>
29324
29325 [BZ #12655]
29326 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29327 Patch by Filipe David Manana <fdmanana@apache.org>.
29328
e451d22b
AS
293292011-04-07 Andreas Schwab <schwab@redhat.com>
29330
29331 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29332 Maintain aligned stack.
29333 (CHECK_RSP): Remove unused macro.
29334
dedc7c7b
UD
293352011-04-03 Ulrich Drepper <drepper@gmail.com>
29336
29337 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29338 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29339
94521213
UD
293402011-04-02 Ulrich Drepper <drepper@gmail.com>
29341
29342 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29343
8cb700c0 29344 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29345
0354e355
L
293462011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29347
29348 [BZ #12518]
29349 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29350 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29351 * sysdeps/x86_64/memmove.c: New file.
29352 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29353 (memcpy): Renamed to ...
29354 (__new_memcpy): This.
29355 (memcpy): Provide GLIBC_2_14 memcpy.
29356 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29357 (memcpy): Provide GLIBC_2_2_5 memcpy.
29358
8593482f
UD
293592011-04-01 Ulrich Drepper <drepper@gmail.com>
29360
29361 [BZ #12631]
29362 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29363
81a5726b
AS
293642011-03-30 Andreas Schwab <schwab@redhat.com>
29365
29366 * misc/syncfs.c: New file.
29367 * misc/Makefile (routines): Add syncfs.
29368 * posix/unistd.h: Declare syncfs.
29369 * sysdeps/unix/syscalls.list: Add syncfs.
29370
00e5419f
AS
293712011-04-01 Andreas Schwab <schwab@redhat.com>
29372
29373 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29374 open_by_handle_at.
29375 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29376 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29377 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29378 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29380 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29381 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29382
748876bf
UD
293832011-04-01 Ulrich Drepper <drepper@gmail.com>
29384
658e451d
UD
29385 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29386 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29387 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29388 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29389 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29390 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29392
748876bf
UD
29393 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29394 sync_file_range.c with -fexceptions.
29395 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29396 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29397 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29398 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29399 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29400 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29401 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29402 sync_file_range as cancellation point
29403 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29404 now a wrapper around __call_sync_file_range with cancellation handling.
29405 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29406 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29407 function name to __call_sync_file_range.
29408 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29409 Add call_sync_file_range.
748876bf 29410
6e63d5e1
AS
294112011-04-01 Andreas Schwab <schwab@redhat.com>
29412
29413 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29414 bits/timex.h.
6e63d5e1 29415
46998f74
UD
294162011-04-01 Ulrich Drepper <drepper@gmail.com>
29417
4c1423ed
UD
29418 * iconv/iconv.h: Fix typo in comment.
29419 * io/fcntl.h: Likewise.
29420 * libio/stdio.h: Likewise.
29421 * posix/spawn.h: Likewise.
29422 * posix/unistd.h: Likewise.
29423 * stdlib/stdlib.h: Likewise.
29424 * time/time.h: Likewise.
29425 * wcsmbs/wchar.h: Likewise.
29426
158648c0
UD
29427 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29428 open_by_handle): Add.
29429 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29430 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29431 Augment a few comments.
29432 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29433 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29434 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29435 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29436 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29437 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29438 open_by_handle.
29439
46998f74
UD
29440 * io/fcntl.h (AT_EMPTY_PATH): Define.
29441
83fe108b
UD
294422011-03-30 Ulrich Drepper <drepper@gmail.com>
29443
29444 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29445 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29446 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29447 to...
29448 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29449 * Versions.def: Add GLIBC_2.14.
29450 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29451 Export.
83fe108b 29452
bb242059
UD
294532011-03-22 Ulrich Drepper <drepper@gmail.com>
29454
29455 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29456 round counter.
29457 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29458
c97a1282
L
294592011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29460
29461 [BZ #12597]
29462 * string/test-strncmp.c (do_page_test): New function.
29463 (check2): Likewise.
29464 (test_main): Call check2.
29465 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29466
2a115601
UD
294672011-03-20 Ulrich Drepper <drepper@gmail.com>
29468
29469 [BZ #12587]
29470 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29471 Handle cache information in CPU leaf 4.
29472 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29473
8126d904
UD
294742011-03-18 Ulrich Drepper <drepper@gmail.com>
29475
042c49c6 29476 [BZ #12583]
8126d904
UD
29477 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29478 character representation.
29479 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29480
ccfe366e
RA
294812011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29482
29483 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29484 END(__isnan) to END(__isnanf) to match function entry point/label
29485 EALIGN(__isnanf,...).
29486
c6e13027
JJ
294872011-03-10 Jakub Jelinek <jakub@redhat.com>
29488
29489 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29490
33f85a3f
UD
294912011-03-10 Ulrich Drepper <drepper@gmail.com>
29492
028478fa
UD
29493 [BZ #12510]
29494 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29495 copy from the symbol referenced in the relocation to initialize the
29496 used variable.
29497 Patch by Piotr Bury <pbury@goahead.com>.
29498 * elf/Makefile: Add rules to build and tst-unique3.
29499 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29500 * elf/tst-unique3.cc: New file.
29501 * elf/tst-unique3.h: New file.
29502 * elf/tst-unique3lib.cc: New file.
29503 * elf/tst-unique3lib2.cc: New file.
29504
33f85a3f
UD
29505 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29506
03592fc7
MF
295072011-03-10 Mike Frysinger <vapier@gentoo.org>
29508
29509 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29510 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29511 to _start.
03592fc7 29512
6a5ee102
UD
295132011-03-06 Ulrich Drepper <drepper@gmail.com>
29514
29515 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29516 to-be-loaded object along a path to loader is ld.so.
29517
7e4ba49c
HJ
295182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29519 Ulrich Drepper <drepper@gmail.com>
29520
29521 * sysdeps/x86_64/memset.S: After aligning destination, code
29522 branches to different locations depending on the value of
29523 misalignment, when multiarch is enabled. Fix this.
29524
295252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29526
29527 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29528 Set _x86_64_preferred_memory_instruction for AMD processsors.
29529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29530 Set bit_Prefer_SSE_for_memop for AMD processors.
29531
13a804de
UD
295322011-03-04 Ulrich Drepper <drepper@gmail.com>
29533
29534 * libio/fmemopen.c (fmemopen): Optimize a bit.
29535
9d25c392
AS
295362011-03-03 Andreas Schwab <schwab@redhat.com>
29537
29538 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29539
a5543c6a
RM
295402011-03-03 Roland McGrath <roland@redhat.com>
29541
29542 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29543
012d35f7
DM
295442011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29545
7e4ba49c 29546 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29547 __bzero_ultra1 instead of __memset_ultra1.
29548
4bff6e01
AS
295492011-02-23 Andreas Schwab <schwab@redhat.com>
29550 Ulrich Drepper <drepper@gmail.com>
29551
29552 [BZ #12509]
29553 * include/link.h (struct link_map): Add l_orig_initfini.
29554 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29555 returning unsuccessfully.
29556 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29557 close of a file loaded at startup, restore the original l_initfini
29558 list.
29559 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29560 list, store the pointer.
29561 * elf/Makefile ($(objpfx)noload-mem): New rule.
29562 (noload-ENV): Define.
29563 (tests): Add $(objpfx)noload-mem.
29564 * elf/noload.c: Include <memcheck.h>.
29565 (main): Call mtrace. Close all opened handles.
29566
f2092faf
AS
295672011-02-17 Andreas Schwab <schwab@redhat.com>
29568
29569 [BZ #12454]
29570 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29571 dependencies are missing.
29572
6c8a2e88
ST
295732011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29574
f2092faf 29575 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29576 Hurd needs munmap.
29577 * sysdeps/mach/hurd/ifreq.h: New file.
29578
84a42118
PB
295792011-01-27 Petr Baudis <pasky@suse.cz>
29580 Ulrich Drepper <drepper@gmail.com>
29581
071f805e 29582 [BZ 12445]#
84a42118
PB
29583 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29584 to extend_alloca().
29585 * stdio-common/bug23.c: New file.
29586 * stdio-common/Makefile (tests): Add bug23.
29587
e23fe25b
AS
295882010-09-28 Andreas Schwab <schwab@redhat.com>
29589 Ulrich Drepper <drepper@gmail.com>
29590
29591 [BZ #12489]
29592 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29593 before performing relro protection. At old place add assertion
29594 to make sure nothing changed.
29595
d3f02e10
NS
295962011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29597 Glauber de Oliveira Costa <glommer@gmail.com>
29598
29599 * elf/elf.h: Add new ARM TLS relocs.
29600
d55fd7a5
RA
296012011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29602
29603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29604 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29605 cast from r3.
29606 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29607 'tests' variable.
29608 * sysdeps/wordsize-64/tst-writev.c: New file.
29609
2206397e
RA
296102011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29611
29612 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29613 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29614 insns in _dl_start to prevent a TOC reference before relocs are
29615 resolved.
29616
e9433893
UD
296172011-02-15 Ulrich Drepper <drepper@gmail.com>
29618
29619 [BZ #12469]
29620 * Makeconfig: Remove RANLIB definition.
29621 * Makerules: Don't use RANLIB.
29622 * aclocal.m4: Remove ranlib test.
29623 * configure.in: No need to check for ranlib.
29624 * elf/rtld-Rules: Don't use RANLIB.
29625
f75286c6
ST
296262011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29627
8e31c82d
ST
29628 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29629 protection macro.
29630 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29631 inclusion protection macro.
29632
f75286c6
ST
29633 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29634 SIGRTMIN and SIGRTMAX and print information in that case only when
29635 SIGRTMIN is defined.
29636
c1d0e639
JJ
296372011-02-11 Jakub Jelinek <jakub@redhat.com>
29638
29639 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29640 arginfo fn returning -1.
29641
29642 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29643 and thousands string is zero terminated.
29644
edf9294e
AS
296452011-02-03 Andreas Schwab <schwab@redhat.com>
29646
29647 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29648 sysdeps/unix/sysv/linux/bits/socket.h.
29649
2b7e92df
ST
296502011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29651
edf9294e
AS
29652 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29653 (__CPU_COUNT): Remove old macros.
29654 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29655 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29656 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
29657 (__sched_cpualloc, __sched_cpufree): Add declarations.
29658
a4c7ea7b
UD
296592011-02-05 Ulrich Drepper <drepper@gmail.com>
29660
29661 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29662 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29663 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29664 (readdhstai): Return value of addhstaiX call.
29665 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29666 (addgrbyX): Return value returned by cache_addgr.
29667 (readdgrbyname): Return value returned by addgrbyX.
29668 (readdgrbygid): Likewise.
29669 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29670 (addpwbyX): Return value returned by cache_addpw.
29671 (readdpwbyname): Return value returned by addhstbyX.
29672 (readdpwbyuid): Likewise.
29673 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29674 (addservbyX): Return value returned by cache_addserv.
29675 (readdservbyname): Return value returned by addservbyX:
29676 (readdservbyport): Likewise.
29677 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29678 (addhstbyX): Return value returned by cache_addhst.
29679 (readdhstbyname): Return value returned by addhstbyX.
29680 (readdhstbyaddr): Likewise.
29681 (readdhstbynamev6): Likewise.
29682 (readdhstbyaddrv6): Likewise.
29683 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29684 (readdinitgroups): Return value returned by addinitgroupsX.
29685 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29686 (prune_cache): Keep track of timeout value of re-added entries.
29687 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29688 * nscd/nscd.h: Adjust prototypes of readd* functions.
29689
a0bf67cc
RM
296902011-02-04 Roland McGrath <roland@redhat.com>
29691
29692 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29693 (nis_stats): Likewise.
29694 * nis/nis_modify.c (nis_modify): Likewise.
29695 * nis/nis_remove.c (nis_remove): Likewise.
29696 * nis/nis_add.c (nis_add): Likewise.
29697
29698 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29699
29700 * posix/fnmatch_loop.c: Add some consts.
29701
29702 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29703
435b95eb
L
297042011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29705
29706 [BZ #12460]
29707 * config.make.in (config-cflags-novzeroupper): Define.
29708 * configure.in: Substitute libc_cv_cc_novzeroupper.
29709 * elf/Makefile (AVX-CFLAGS): Define.
29710 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29711 (CFLAGS-tst-auditmod4a.c): Likewise.
29712 (CFLAGS-tst-auditmod4b.c): Likewise.
29713 (CFLAGS-tst-auditmod6b.c): Likewise.
29714 (CFLAGS-tst-auditmod6c.c): Likewise.
29715 (CFLAGS-tst-auditmod7b.c): Likewise.
29716 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29717
8517b15e
UD
297182011-02-02 Ulrich Drepper <drepper@gmail.com>
29719
29720 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29721 function to the callback.
29722 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29723
10a656fe
AS
297242011-02-02 Andreas Schwab <schwab@redhat.com>
29725
29726 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29727 of errno.
29728
968dad0a
UD
297292011-01-19 Ulrich Drepper <drepper@gmail.com>
29730
9f94d2ea 29731 [BZ #11724]
968dad0a
UD
29732 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29733 of constructors.
29734 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29735 of destructors.
29736 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29737
29738 [BZ #11724]
29739 * elf/Makefile: Add rules to build and run new test.
29740 * elf/tst-initorder.c: New file.
29741 * elf/tst-initorder.exp: New file.
29742 * elf/tst-initordera1.c: New file.
29743 * elf/tst-initordera2.c: New file.
29744 * elf/tst-initordera3.c: New file.
29745 * elf/tst-initordera4.c: New file.
29746 * elf/tst-initorderb1.c: New file.
29747 * elf/tst-initorderb2.c: New file.
29748 * elf/tst-order-a1.c: New file.
29749 * elf/tst-order-a2.c: New file.
29750 * elf/tst-order-a3.c: New file.
29751 * elf/tst-order-a4.c: New file.
29752 * elf/tst-order-b1.c: New file.
29753 * elf/tst-order-b2.c: New file.
29754 * elf/tst-order-main.c: New file.
29755 New test case by George Gensure <werkt0@gmail.com>.
29756
86e92359
UD
297572010-10-01 Andreas Schwab <schwab@redhat.com>
29758
29759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29760 decoding ACE if AI_CANONIDN.
29761
5d5732b0
UD
297622011-01-18 Ulrich Drepper <drepper@gmail.com>
29763
29764 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29765
a77e8cbc
UD
297662011-01-17 Ulrich Drepper <drepper@gmail.com>
29767
6392473f
UD
29768 * version.h (RELEASE): Bump for 2.13 release.
29769 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29770
620a0529
UD
29771 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29772
18ba70a5
UD
29773 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29774 MADV_NOHUGEPAGE.
32465c3e
UD
29775 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29776 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29777 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29778 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29779 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29780 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29781
c0dafcf1
UD
29782 * posix/getconf.c: Update copyright year.
29783 * catgets/gencat.c: Likewise.
29784 * csu/version.c: Likewise.
29785 * debug/catchsegv.sh: Likewise.
29786 * debug/xtrace.sh: Likewise.
29787 * elf/ldconfig.c: Likewise.
29788 * elf/ldd.bash.in: Likewise.
29789 * elf/sprof.c (print_version): Likewise.
29790 * iconv/iconv_prog.c: Likewise.
29791 * iconv/iconvconfig.c: Likewise.
29792 * locale/programs/locale.c: Likewise.
29793 * locale/programs/localedef.c: Likewise.
29794 * malloc/memusage.sh: Likewise.
29795 * malloc/mtrace.pl: Likewise.
29796 * nscd/nscd.c (print_version): Likewise.
29797 * nss/getent.c: Likewise.
29798
a77e8cbc
UD
29799 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29800 PF_CAIF, and PF_ALG.
29801 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29802
77e8bddf
AS
298032011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29804
1f20b93a
AS
29805 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29806 (modules-names): Use them.
29807 (ifunc-test-modules, ifunc-pie-tests): Define.
29808 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29809 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29810 (test-extras): Likewise.
29811 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29812 $(compile-command.c).
29813 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29814 (all-built-dso): Define.
29815 (check-textrel.out, check-execstack.out): Depend on it.
29816
77e8bddf
AS
29817 * configure.in: Don't override --enable-multi-arch.
29818
bc425b33
UD
298192011-01-15 Ulrich Drepper <drepper@gmail.com>
29820
29821 [BZ #6812]
29822 * nscd/hstcache.c (tryagain): Define.
29823 (cache_addhst): Return tryagain not notfound for temporary errors.
29824 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29825 failed.
29826
794c3ad3
UD
298272011-01-14 Ulrich Drepper <drepper@gmail.com>
29828
70181fdd
UD
29829 [BZ #10563]
29830 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29831 to make the syscall.
29832 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29833
794c3ad3
UD
29834 [BZ #12378]
29835 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29836 and fall back to matching as normal character if the string ends before
29837 the matching ']' is found. This is what POSIX requires.
29838 * posix/testfnm.c: Adjust test result.
29839 * posix/globtest.sh: Adjust test result. Add new test.
29840 * posix/tst-fnmatch.input: Likewise.
29841 * posix/tst-fnmatch2.c: Add new test.
29842
68dc9497
AS
298432010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29844
29845 * elf/Makefile (check-execstack): Revert last change. Depend on
29846 check-execstack.h.
29847 (check-execstack.h): New target.
29848 (generated): Add check-execstack.h.
29849 * elf/check-execstack.c: Include "check-execstack.h".
29850 (main): Revert last change.
29851 (handle_file): Return zero if GNU_STACK is absent and
29852 DEFAULT_STACK_PERMS doesn't include PF_X.
29853
451f001b
UD
298542011-01-13 Ulrich Drepper <drepper@gmail.com>
29855
cfa28e56
UD
29856 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29857 in child fails because the descriptor is already closed.
8cf8ce17
UD
29858 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29859 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29860 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 29861
1086d70d
UD
29862 [BZ #12397]
29863 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29864 syscall.
29865
451f001b
UD
29866 [BZ #10484]
29867 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29868 temporary buffer used to handle multi lookups locally.
a85b5cb4 29869 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 29870
08769175
UD
298712011-01-12 Ulrich Drepper <drepper@gmail.com>
29872
29873 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29874 loader is ld.so.
29875
5e49c52e
UD
298762011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29877
29878 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29879 alignment for SSE2.
29880
60522a5f
UD
298812011-01-12 Ulrich Drepper <drepper@gmail.com>
29882
29883 [BZ #12394]
29884 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29885 characters. When rounding increased number of integer digits recompute
29886 number of groups.
29887 * stdio-common/tst-grouping.c: New file.
29888 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29889
f257bbd7
UD
298902011-01-09 Ulrich Drepper <drepper@gmail.com>
29891
29892 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29893 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29894
29895 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29896 void.
29897 * bits/select.h: Likewise.
29898
fa9c15cb
UD
298992011-01-08 Ulrich Drepper <drepper@gmail.com>
29900
29901 * po/ja.po: Update from translation team.
29902
16c2895f
DM
299032011-01-04 David S. Miller <davem@sunset.davemloft.net>
29904
29905 [BZ #11155]
29906 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29907 implementation just like for lxstat, fxstatat, et al.
29908
2543fef2
JM
299092010-12-27 Jim Meyering <meyering@redhat.com>
29910
29911 [BZ #12348]
29912 * posix/regexec.c (build_trtable): Return failure indication upon
29913 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29914
98727dbe
UD
299152010-12-25 Ulrich Drepper <drepper@gmail.com>
29916
5bd6dc5c
UD
29917 [BZ #12201]
29918 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29919 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29920 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29921 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29922
97983464
UD
29923 [BZ #12207]
29924 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29925
98727dbe
UD
29926 [BZ #12204]
29927 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29928 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29929
4a531bb0
L
299302010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29931
29932 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29933 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29934 script has SORT_BY_INIT_PRIORITY.
29935 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29936 NO_CTORS_DTORS_SECTIONS is defined.
29937 * elf/soinit.c: Likewise.
29938 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29939 NO_CTORS_DTORS_SECTIONS is defined.
29940 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29941 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29942 * sysdeps/sh/init-first.c: Likewise.
29943 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29944
07eb4b71
UD
299452010-12-24 Ulrich Drepper <drepper@gmail.com>
29946
29947 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29948 always use the slow path.
29949
30950a5f
RA
299502010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29951
29952 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29953 similar rule which adds the sysdep directories to the header search in
29954 order to pick up the correct platform stackinfo.h.
29955 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29956 perform test if it is, otherwise return successfully without testing.
29957 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29958 DEFAULT_STACK_PERMS define in stackinfo.h.
29959 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29960 defined in stackinfo.h.
29961 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29962 DEFAULT_STACK_PERMS defined in stackinfo.h.
29963 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29964 * sysdeps/ia64/stackinfo.h: Likewise.
29965 * sysdeps/s390/stackinfo.h: Likewise.
29966 * sysdeps/sh/stackinfo.h: Likewise.
29967 * sysdeps/sparc/stackinfo.h: Likewise.
29968 * sysdeps/x86_64/stackinfo.h: Likewise.
29969 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29970 PF_X for powerpc64. Retain PF_X for powerpc32.
29971
db753e2c
UD
299722010-12-19 Ulrich Drepper <drepper@gmail.com>
29973
14b697f7
UD
29974 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29975 accurately.
db753e2c
UD
29976 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29977 GETDENTS_64BIT_ALIGNED.
29978
28300719
UD
299792010-12-14 Ulrich Drepper <dreper@gmail.com>
29980
14b697f7 29981 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 29982
4f197237
AS
299832010-12-10 Andreas Schwab <schwab@redhat.com>
29984
dbb0472f
AS
29985 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29986 _GNU_SOURCE.
29987
4f197237
AS
29988 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29989 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29990 Remove __restrict.
29991 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29992 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29993
fb88ac72
UD
299942010-12-09 Ulrich Drepper <drepper@gmail.com>
29995
29996 [BZ #11655]
29997 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29998 are initialized.
29999
42acbb92
JJ
300002010-12-09 Jakub Jelinek <jakub@redhat.com>
30001
30002 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30003
c038d98d
UD
300042010-12-03 Ulrich Drepper <drepper@gmail.com>
30005
30006 * po/it.po: Update from translation team.
30007
3a4a2499
L
300082010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30009
30010 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30011 unused codes.
30012
1e24cf6e
UD
300132010-11-30 Ulrich Drepper <drepper@gmail.com>
30014
30015 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30016
a7690819
AS
300172010-11-24 Andreas Schwab <schwab@redhat.com>
30018
30019 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30020 specially.
30021 (gaih_getanswer_slice): Likewise.
30022
3bf8d1b1
JJ
300232010-10-20 Jakub Jelinek <jakub@redhat.com>
30024
30025 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30026
6db52fbb
PB
300272010-05-31 Petr Baudis <pasky@suse.cz>
30028
30029 [BZ #11149]
30030 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30031 silently even in the chroot mode.
30032
eaca7569
UD
300332010-11-22 Ulrich Drepper <drepper@gmail.com>
30034
30035 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30036 last patch a bit. Pretty printing
30037
3056dcdb
UD
300382010-05-31 Petr Baudis <pasky@suse.cz>
30039
30040 [BZ #10085]
30041 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30042 initialization of skip_initgroups_dyn.
30043
cf7c9078
UD
300442010-11-19 Ulrich Drepper <drepper@gmail.com>
30045
30046 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30047 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30048
a1fb5e3e
UD
300492010-11-16 Ulrich Drepper <drepper@gmail.com>
30050
30051 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30052
3540d66b
AS
300532010-11-11 Andreas Schwab <schwab@redhat.com>
30054
30055 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30056 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30057 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30058 ($(objpfx)tst-fnmatch-mem): New rule.
30059 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30060 * posix/tst-fnmatch.c (main): Call mtrace.
30061
13b69574
L
300622010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30063
30064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30065 Support Intel processor model 6 and model 0x2c.
30066
da93d214
LM
300672010-11-10 Luis Machado <luisgpm@br.ibm.com>
30068
30069 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30070 signed comparison.
30071
8ca52c6e
L
300722010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30073
30074 [BZ #12205]
30075 * string/test-strncasecmp.c (check_result): New function.
30076 (do_one_test): Use it.
30077 (check1): New function.
30078 (test_main): Use it.
30079 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30080 Support strcasecmp and strncasecmp.
30081
69da074d
UD
300822010-11-08 Ulrich Drepper <drepper@gmail.com>
30083
30084 [BZ #12194]
30085 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30086 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30087
ff02d528
L
300882010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30089
30090 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30091 IFUNC support.
30092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30093 memset-x86-64.
30094 * sysdeps/x86_64/multiarch/bzero.S: New file.
30095 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30096 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30097 * sysdeps/x86_64/multiarch/memset.S: New file.
30098 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30100 Set bit_Prefer_SSE_for_memop for Intel processors.
30101 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30102 Define.
30103 (index_Prefer_SSE_for_memop): Define.
30104 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30105
344d0b54
LM
301062010-11-04 Luis Machado <luisgpm@br.ibm.com>
30107
30108 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30109 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30110
c0dde15b
UD
301112010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30112
30113 [BZ #12191]
30114 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30115 (__x86_64_raw_data_cache_size_half): Likewise.
30116 (__x86_64_raw_shared_cache_size): Likewise.
30117 (__x86_64_raw_shared_cache_size_half): Likewise.
30118
30119 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30120 (__x86_64_raw_data_cache_size_half): Likewise.
30121 (__x86_64_raw_shared_cache_size): Likewise.
30122 (__x86_64_raw_shared_cache_size_half): Likewise.
30123 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30124 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30125 and __x86_64_raw_shared_cache_size_half. Round
30126 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30127 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30128 to multiple of 256 bytes.
30129
0e516e0e
MS
301302010-11-03 Ulrich Drepper <drepper@gmail.com>
30131
30132 [BZ #12167]
30133 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30134 of inacessible symlinks. Verify result of symlink before returning it.
30135 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30136 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30137
0e012e87
ER
301382010-10-28 Erich Ritz <erichritz@gmail.com>
30139
30140 * math/math.h (isinf): Fix typo in comment.
30141
de0ff7bc
UD
301422010-11-01 Ulrich Drepper <drepper@gmail.com>
30143
30144 * po/da.po: Update from translation team.
30145
fa41c84d
UD
301462010-10-26 Ulrich Drepper <drepper@gmail.com>
30147
30148 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30149 is added to the list.
30150
f0967738
AK
301512010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30152 Ulrich Drepper <drepper@gmail.com>
30153
30154 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30155 the global list here. Move code to...
30156 (_dl_add_to_namespace_list): ...here. New function.
30157 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30158 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30159 * elf/dl-load.c (lose): Don't remove the element from the list.
30160 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30161 (_dl_map_object): Likewise.
30162
301632010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30164
30165 [BZ #12159]
30166 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30167 into all bytes of SSE register.
30168 Patch by Richard Li <richardpku@gmail.com>.
30169
f0967738 301702010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30171
30172 [BZ #12140]
30173 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30174 perturbing.
30175
d0b9e94f
MB
301762010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30177
30178 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30179 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30180 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30181 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30183 submachine.
30184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30185
8e9f92e9
AS
301862010-10-22 Andreas Schwab <schwab@redhat.com>
30187
30188 * include/dlfcn.h (__RTLD_SECURE): Define.
30189 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30190 mode & __RTLD_SECURE instead.
30191 (open_path): Rename preloaded parameter to secure.
30192 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30193 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30194 * elf/dl-deps.c (openaux): Likewise.
30195 * elf/rtld.c (struct map_args): Remove is_preloaded.
30196 (map_doit): Don't use it.
30197 (dl_main): Likewise.
30198 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30199 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30200
bc96fbda
AS
302012010-09-09 Andreas Schwab <schwab@redhat.com>
30202
30203 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30204 (sysd-rules-targets): Remove duplicates.
30205 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30206 rtld-%.$o dependency.
30207
22cd1c9b
AS
302082010-10-18 Andreas Schwab <schwab@redhat.com>
30209
30210 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30211 _dl_map_object do it.
30212
18edac48
UD
302132010-10-19 Ulrich Drepper <drepper@gmail.com>
30214
30215 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30216 fast fma builtins, define the macros in the C99 standard.
30217 (FP_FAST_FMAF): Likewise.
30218 (FP_FAST_FMAL): Likewise.
30219 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30220
30221 * bits/mathdef.h: Update copyright year.
30222 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30223
d2050124
MM
302242010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30225
30226 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30227 builtins, define the macros in the C99 standard.
30228 (FP_FAST_FMAF): Likewise.
30229 (FP_FAST_FMAL): Likewise.
30230 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30231 multiply/add.
30232 (FP_FAST_FMAF): Likewise.
30233
475facd1
JJ
302342010-10-15 Jakub Jelinek <jakub@redhat.com>
30235
30236 [BZ #3268]
30237 * math/libm-test.inc (fma_test): Some new testcases.
30238 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30239 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30240 y and infinite z. Do multiplication by C already in long double.
30241 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30243 y and infinite z. Do bitwise or of inexact bit into u.d.
30244 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30245 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30246 * sysdeps/i386/fpu/s_fma.S: Removed.
30247 * sysdeps/i386/fpu/s_fmal.S: Removed.
30248
7c08a05c
JJ
302492010-10-16 Jakub Jelinek <jakub@redhat.com>
30250
30251 [BZ #3268]
30252 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30253 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30254 computation is not scheduled after fetestexcept. Fix value
30255 of minimum denormal long double.
30256
f3f7372d
JJ
302572010-10-14 Jakub Jelinek <jakub@redhat.com>
30258
30259 [BZ #3268]
30260 * math/libm-test.inc (fma_test): Add some more tests.
30261 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30262 correctly.
30263
14d43591
AS
302642010-10-15 Andreas Schwab <schwab@redhat.com>
30265
30266 * scripts/data/localplt-s390-linux-gnu.data: New file.
30267 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30268
5e908464
JJ
302692010-10-13 Jakub Jelinek <jakub@redhat.com>
30270
30271 [BZ #3268]
30272 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30273 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30274 instead of dbl-64.
30275 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30276 inlines.
30277 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30279 if one of x and y is very large and the other is subnormal.
30280 * sysdeps/s390/fpu/s_fmaf.c: New file.
30281 * sysdeps/s390/fpu/s_fma.c: New file.
30282 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30283 * sysdeps/powerpc/fpu/s_fma.S: New file.
30284 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30285 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30286 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30287
302882010-10-12 Jakub Jelinek <jakub@redhat.com>
30289
30290 [BZ #3268]
30291 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30292 fma tests.
30293 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30294 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30295 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30296 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30297 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30298 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30299 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30300
b833d51f
UD
303012010-10-12 Ulrich Drepper <drepper@redhat.com>
30302
30303 [BZ #12078]
30304 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30305 * posix/bug-regex31.input: Add test case.
30306
1751705d
UD
303072010-10-11 Ulrich Drepper <drepper@gmail.com>
30308
e9b9cbf5
UD
30309 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30310 * posix/bug-regex31.input: New file.
30311
30312 [BZ #12078]
30313 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30314 (parse_sub_exp): Fix last change, use postorder.
30315
ef06edbe
UD
30316 * posix/bug-regex31.c: New file.
30317 * posix/Makefile: Add rules to build and run bug-regex31.
30318
a129c80d
UD
30319 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30320
30321 [BZ #12078]
30322 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30323
b76b818e
UD
30324 [BZ #12108]
30325 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30326 to have entries in sys_siglist.
30327
1751705d
UD
30328 [BZ #12093]
30329 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30330 be NULL.
30331
9ff8d36f
JJ
303322010-10-07 Jakub Jelinek <jakub@redhat.com>
30333
30334 [BZ #3268]
30335 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30336 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30337 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30338 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30339 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30340 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30341 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30342 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30343 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30344 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30345 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30346 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30347 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30348 * math/ftestexcept.c (fetestexcept): Likewise.
30349 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30350 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30351 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30352 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30353 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30354 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30355 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30356
af325969
UD
303572010-10-11 Ulrich Drepper <drepper@gmail.com>
30358
c579b202 30359 [BZ #12107]
af325969
UD
30360 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30361 newline.
30362
67a67b95
UD
303632010-10-06 Ulrich Drepper <drepper@gmail.com>
30364
30365 * string/bug-strstr1.c: New file.
30366 * string/Makefile: Add rules to build and run bug-strstr1.
30367
5fb308bc
EB
303682010-10-05 Eric Blake <eblake@redhat.com>
30369
30370 [BZ #12092]
30371 * string/str-two-way.h (two_way_long_needle): Always clear memory
30372 when skipping input due to the shift table.
30373
45db99c7
UD
303742010-10-03 Ulrich Drepper <drepper@gmail.com>
30375
3b111893
UD
30376 [BZ #12005]
30377 * malloc/mcheck.c: Handle large requests.
30378
45db99c7
UD
30379 [BZ #12077]
30380 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30381 for strncmp and strncasecmp.
30382 * string/stratcliff.c: Add tests for strcmp and strncmp.
30383 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30384
cf7a1eb8
NI
303852010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30386
30387 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30388 __set_fpscr.
30389
6484ba5e
AJ
303902010-09-30 Andreas Jaeger <aj@suse.de>
30391
30392 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30393 (CGROUP_SUPER_MAGIC): Define.
30394 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30395 Handle btrfs and cgroup file systems.
30396 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30397 Likewise.
30398
91c42559
LM
303992010-09-27 Luis Machado <luisgpm@br.ibm.com>
30400
30401 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30402 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30403
87a97932
AK
304042010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30405
30406 [BZ #12067]
30407 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30408 trying to locate the ELF header.
30409
c21cc9bc
AS
304102010-09-27 Andreas Schwab <schwab@redhat.com>
30411
30412 [BZ #11611]
30413 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30414 Mask out sign-bit copies when constructing f_fsid.
30415
315970f6
PB
304162010-09-24 Petr Baudis <pasky@suse.cz>
30417
30418 * debug/stack_chk_fail_local.c: Add missing licence exception.
30419 * debug/warning-nop.c: Likewise.
30420
1ac7a2c7
JM
304212010-09-15 Joseph Myers <joseph@codesourcery.com>
30422
30423 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30424 implementing getdents64 using getdents syscall, set d_type if
30425 __ASSUME_GETDENTS32_D_TYPE.
30426
56801c50
AS
304272010-09-16 Andreas Schwab <schwab@redhat.com>
30428
30429 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30430 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30431
dda51327
UD
304322010-09-21 Ulrich Drepper <drepper@redhat.com>
30433
30434 [BZ #12037]
30435 * posix/unistd.h: Undo change of feature selection for ftruncate from
30436 2010-01-11.
30437
8ffcee4a
UD
304382010-09-20 Ulrich Drepper <drepper@redhat.com>
30439
a545ecd9 30440 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30441 detection.
30442
e24f0a8b
AS
304432010-09-20 Andreas Schwab <schwab@redhat.com>
30444
30445 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30446 fanotify_mark.
30447 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30448
7291c56f
AS
304492010-09-14 Andreas Schwab <schwab@redhat.com>
30450
30451 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30452 variables after CHECK_SP call.
30453 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30454
bc5fb037
AS
304552010-09-13 Andreas Schwab <schwab@redhat.com>
30456 Ulrich Drepper <drepper@redhat.com>
30457
30458 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30459 re-relocationg ld.so.
30460 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30461 _dl_init_paths call.
30462 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30463 here anymore.
30464
e66e7419
UD
304652010-09-14 Ulrich Drepper <drepper@redhat.com>
30466
30467 * resolv/res_init.c (__res_vinit): Count the default server we added.
30468
c044aa75
CLT
304692010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30470 Ulrich Drepper <drepper@redhat.com>
30471
30472 [BZ #11968]
30473 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30474 (____longjmp_chk): Use %ebx for saving value across system call.
30475 Add unwind info.
30476
32cf4069
AS
304772010-09-06 Andreas Schwab <schwab@redhat.com>
30478
30479 * manual/Makefile: Don't mix pattern rules with normal rules.
30480
817328ee
AS
304812010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30482
30483 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30484 operation.
30485 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30486 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30487 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30488 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30489 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30490 Likewise.
30491
29fddf61
UD
304922010-09-04 Ulrich Drepper <drepper@redhat.com>
30493
30494 [BZ #11979]
30495 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30496 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30497
0959ffc9
UD
304982010-09-02 Ulrich Drepper <drepper@redhat.com>
30499
30500 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30501 * sysdeps/x86_64/addmul_1.S: Likewise.
30502 * sysdeps/x86_64/lshift.S: Likewise.
30503 * sysdeps/x86_64/mul_1.S: Likewise.
30504 * sysdeps/x86_64/rshift.S: Likewise.
30505 * sysdeps/x86_64/sub_n.S: Likewise.
30506 * sysdeps/x86_64/submul_1.S: Likewise.
30507
ece29840
ST
305082010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30509
0959ffc9
UD
30510 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30511 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30512 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30513 * bits/sched.h [__need_schedparam]
ece29840 30514 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30515 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30516 (__defined_schedparam): Define to 1.
ece29840
ST
30517 (__sched_param): New structure, identical to sched_param.
30518 (__need_schedparam): Undefine.
30519
e53a31fe
MF
305202010-08-31 Mike Frysinger <vapier@gentoo.org>
30521
fdc0c10d
MF
30522 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30523 (epoll_create1): Declare.
30524
e53a31fe
MF
30525 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30526
a726d796
AS
305272010-08-31 Andreas Schwab <schwab@redhat.com>
30528
30529 [BZ #7066]
30530 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30531 shifting retval into place.
30532
2f3e3dc7
UD
305332010-09-01 Ulrich Drepper <drepper@redhat.com>
30534
f2933da9
UD
30535 * nis/rpcsvc/nis.h: Update copyright notice.
30536 * nis/rpcsvc/nis.x: Likewise.
30537 * nis/rpcsvc/nis_callback.h: Likewise.
30538 * nis/rpcsvc/nis_callback.x: Likewise.
30539 * nis/rpcsvc/nis_object.x: Likewise.
30540 * nis/rpcsvc/nis_tags.h: Likewise.
30541 * nis/rpcsvc/yp.h: Likewise.
30542 * nis/rpcsvc/yp.x: Likewise.
30543 * nis/rpcsvc/ypupd.h: Likewise.
30544 * nis/yp_xdr.c: Likewise.
30545 * nis/ypupdate_xdr.c: Likewise.
30546
2f3e3dc7
UD
30547 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30548 mainly the body of pmap_getport. Add parameters to specify timeouts.
30549 (pmap_getport): Use __libc_rpc_getport.
30550 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30551 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30552 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30553
f3dcc2f9
AS
305542010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30555
30556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30557 fanotify_mark.
30558
6d34eb5b
RM
305592010-08-27 Roland McGrath <roland@redhat.com>
30560
30561 * sysdeps/i386/i686/multiarch/Makefile
30562 (CFLAGS-varshift.c): New variable.
30563
9ea3de11
UD
305642010-08-27 Ulrich Drepper <drepper@redhat.com>
30565
c96d23fc
UD
30566 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30567 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30568
9ea3de11
UD
30569 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30570
30571 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30572
623aac7f
L
305732010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30574
30575 * sysdeps/x86_64/strlen.S: Unroll the loop.
30576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30577 strlen-sse2 strlen-sse2-bsf.
30578 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30579 __strlen_no_bsf if bit_Slow_BSF is set.
30580 (__strlen_sse42): Removed.
30581 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30582 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30583
8b2b7715
RM
305842010-08-25 Roland McGrath <roland@redhat.com>
30585
30586 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30587 * sysdeps/x86_64/multiarch/varshift.c: New file.
30588 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30589 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30590 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30591 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30592
e73015f2
L
305932010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30594
30595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30596 strlen-sse2 strlen-sse2-bsf.
30597 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30598 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30599 (__strlen_sse2): Removed.
30600 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30601 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30603 bit_Slow_BSF for Atom.
30604 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30605 (index_Slow_BSF): Define.
30606 (HAS_SLOW_BSF): Define.
30607
df24a73e
UD
306082010-08-25 Ulrich Drepper <drepper@redhat.com>
30609
30610 [BZ #10851]
30611 * resolv/res_init.c (__res_vinit): When no server address at all
30612 is given default to loopback.
30613
f2ac4868
RM
306142010-08-24 Roland McGrath <roland@redhat.com>
30615
09055553
RM
30616 * configure.in: Remove config-name.h generation.
30617 * configure: Regenerated.
30618 * config-name.in: File removed.
30619 * scripts/config-uname.sh: New file.
30620 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30621 ($(objdir)config-name.h): New target.
30622
f2ac4868
RM
30623 * sunrpc/rpc_parse.h: Avoid nested comment.
30624
73f27d5e
RH
306252010-08-24 Richard Henderson <rth@redhat.com>
30626 Ulrich Drepper <drepper@redhat.com>
30627 H.J. Lu <hongjiu.lu@intel.com>
30628
30629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30631 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30632 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30633 _mm_alignr_epi8 with _mm_loadu_si128.
30634 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30635 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30636 (__m128i_shift_right): Removed.
30637 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30638 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30639 * sysdeps/x86_64/multiarch/varshift.h: New file.
30640 * sysdeps/x86_64/multiarch/varshift.S: New file.
30641
84b9230c
MF
306422010-08-21 Mike Frysinger <vapier@gentoo.org>
30643
30644 * configure.in: Move assembler checks to before sysdep dir checking.
30645
9bbd0ddc
PB
306462010-08-20 Petr Baudis <pasky@suse.cz>
30647
30648 * LICENSES: Sync the sunrpc license.
30649
9da4bb31
UD
306502010-08-19 Ulrich Drepper <drepper@redhat.com>
30651
a7ab6ec8
UD
30652 * sunrpc/auth_des.c: Update copyright notice once again.
30653 * sunrpc/auth_none.c: Likewise.
30654 * sunrpc/auth_unix.c: Likewise.
30655 * sunrpc/authdes_prot.c: Likewise.
30656 * sunrpc/authuxprot.c: Likewise.
30657 * sunrpc/bindrsvprt.c: Likewise.
30658 * sunrpc/clnt_gen.c: Likewise.
30659 * sunrpc/clnt_perr.c: Likewise.
30660 * sunrpc/clnt_raw.c: Likewise.
30661 * sunrpc/clnt_simp.c: Likewise.
30662 * sunrpc/clnt_tcp.c: Likewise.
30663 * sunrpc/clnt_udp.c: Likewise.
30664 * sunrpc/clnt_unix.c: Likewise.
30665 * sunrpc/des_crypt.c: Likewise.
30666 * sunrpc/des_soft.c: Likewise.
30667 * sunrpc/get_myaddr.c: Likewise.
30668 * sunrpc/getrpcport.c: Likewise.
30669 * sunrpc/key_call.c: Likewise.
30670 * sunrpc/key_prot.c: Likewise.
30671 * sunrpc/openchild.c: Likewise.
30672 * sunrpc/pm_getmaps.c: Likewise.
30673 * sunrpc/pm_getport.c: Likewise.
30674 * sunrpc/pmap_clnt.c: Likewise.
30675 * sunrpc/pmap_prot.c: Likewise.
30676 * sunrpc/pmap_prot2.c: Likewise.
30677 * sunrpc/pmap_rmt.c: Likewise.
30678 * sunrpc/rpc/auth.h: Likewise.
30679 * sunrpc/rpc/auth_unix.h: Likewise.
30680 * sunrpc/rpc/clnt.h: Likewise.
30681 * sunrpc/rpc/des_crypt.h: Likewise.
30682 * sunrpc/rpc/key_prot.h: Likewise.
30683 * sunrpc/rpc/netdb.h: Likewise.
30684 * sunrpc/rpc/pmap_clnt.h: Likewise.
30685 * sunrpc/rpc/pmap_prot.h: Likewise.
30686 * sunrpc/rpc/pmap_rmt.h: Likewise.
30687 * sunrpc/rpc/rpc.h: Likewise.
30688 * sunrpc/rpc/rpc_des.h: Likewise.
30689 * sunrpc/rpc/rpc_msg.h: Likewise.
30690 * sunrpc/rpc/svc.h: Likewise.
30691 * sunrpc/rpc/svc_auth.h: Likewise.
30692 * sunrpc/rpc/types.h: Likewise.
30693 * sunrpc/rpc/xdr.h: Likewise.
30694 * sunrpc/rpc_clntout.c: Likewise.
30695 * sunrpc/rpc_cmsg.c: Likewise.
30696 * sunrpc/rpc_common.c: Likewise.
30697 * sunrpc/rpc_cout.c: Likewise.
30698 * sunrpc/rpc_dtable.c: Likewise.
30699 * sunrpc/rpc_hout.c: Likewise.
30700 * sunrpc/rpc_main.c: Likewise.
30701 * sunrpc/rpc_parse.c: Likewise.
30702 * sunrpc/rpc_parse.h: Likewise.
30703 * sunrpc/rpc_prot.c: Likewise.
30704 * sunrpc/rpc_sample.c: Likewise.
30705 * sunrpc/rpc_scan.c: Likewise.
30706 * sunrpc/rpc_scan.h: Likewise.
30707 * sunrpc/rpc_svcout.c: Likewise.
30708 * sunrpc/rpc_tblout.c: Likewise.
30709 * sunrpc/rpc_util.c: Likewise.
30710 * sunrpc/rpc_util.h: Likewise.
30711 * sunrpc/rpcinfo.c: Likewise.
30712 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30713 * sunrpc/rpcsvc/key_prot.x: Likewise.
30714 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30715 * sunrpc/rpcsvc/mount.x: Likewise.
30716 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30717 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30718 * sunrpc/rpcsvc/rex.x: Likewise.
30719 * sunrpc/rpcsvc/rstat.x: Likewise.
30720 * sunrpc/rpcsvc/rusers.x: Likewise.
30721 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30722 * sunrpc/rpcsvc/spray.x: Likewise.
30723 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30724 * sunrpc/rtime.c: Likewise.
30725 * sunrpc/svc.c: Likewise.
30726 * sunrpc/svc_auth.c: Likewise.
30727 * sunrpc/svc_authux.c: Likewise.
30728 * sunrpc/svc_raw.c: Likewise.
30729 * sunrpc/svc_run.c: Likewise.
30730 * sunrpc/svc_simple.c: Likewise.
30731 * sunrpc/svc_tcp.c: Likewise.
30732 * sunrpc/svc_udp.c: Likewise.
30733 * sunrpc/svc_unix.c: Likewise.
30734 * sunrpc/svcauth_des.c: Likewise.
30735 * sunrpc/xcrypt.c: Likewise.
30736 * sunrpc/xdr.c: Likewise.
30737 * sunrpc/xdr_array.c: Likewise.
30738 * sunrpc/xdr_float.c: Likewise.
30739 * sunrpc/xdr_mem.c: Likewise.
30740 * sunrpc/xdr_rec.c: Likewise.
30741 * sunrpc/xdr_ref.c: Likewise.
30742 * sunrpc/xdr_sizeof.c: Likewise.
30743 * sunrpc/xdr_stdio.c: Likewise.
30744
9da4bb31
UD
30745 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30746 handling.
30747
bdaa77bc
AS
307482010-08-19 Andreas Schwab <schwab@redhat.com>
30749
30750 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30751
fe2f79db
LM
307522010-08-19 Luis Machado <luisgpm@br.ibm.com>
30753
30754 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30755 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30756 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30757 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30758 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30759 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30760 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30761 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30762 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30763 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30764 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30765 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30766 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30767 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30768
b9b42ee0
AB
307692010-07-26 Anton Blanchard <anton@samba.org>
30770
30771 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30772 * malloc/arena.c (heap_trim): Likewise.
30773
1c06ba31
UD
307742010-08-16 Ulrich Drepper <drepper@redhat.com>
30775
30776 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30777 here. Not...
30778 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30779 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30780
f8392f40
L
307812010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30782
30783 * sysdeps/i386/elf/Makefile: New file.
30784
3162f12e
AS
307852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30786
30787 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30788 from fanotify_init.
30789 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30790 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30791
28c90b2c
UD
307922010-08-15 Ulrich Drepper <drepper@redhat.com>
30793
30794 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30795 of strncasecmp_l.
1feccb6c 30796 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 30797
ca6bb004
UD
307982010-08-14 Ulrich Drepper <drepper@redhat.com>
30799
e9f82e0d
UD
30800 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30801 strncase_l-nonascii.
30802 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30803 Add strncase_l-ssse3.
30804 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30805 * sysdeps/x86_64/strcmp.S: Likewise.
30806 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30807 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30808 * sysdeps/x86_64/strncase.S: New file.
30809 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30810 * sysdeps/x86_64/strncase_l.S: New file.
30811 * string/Makefile (strop-tests): Add strncasecmp.
30812 * string/test-strncasecmp.c: New file.
30813
30814 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30815 warning.
30816
ca6bb004
UD
30817 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30818 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30819
052fa7b3
AS
308202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30821
30822 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30823
962dba78
UD
308242010-08-12 Ulrich Drepper <drepper@redhat.com>
30825
30826 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30827 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30828 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30829
bebff237
AM
308302010-05-01 Alan Modra <amodra@gmail.com>
30831
30832 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30833 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30834 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30835 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30836 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30837 tidying. Don't tail-call __sigjmp_save for static lib.
30838 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30839 save location.
30840 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30841 (CALL_MCOUNT): Add eh info, and nop after bl.
30842 (TAIL_CALL_SYSCALL_ERROR): New macro.
30843 (PSEUDO_RET): Use it.
30844 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30845 Correct save location of integer regs and cr.
30846 (_dl_profile_resolve): Correct cr save location. Delete nops
30847 after bl when SHARED. Reduce cfi size a little by better
30848 placement of cfi directives.
30849 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30850 make a stack frame. Instead use parm save area as a temp.
30851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30852 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30854 Don't make a stack frame for parent, use parm save area.
30855 Increase child stack frame to 112 bytes. Don't save unused reg,
30856 and adjust reg usage. Set up cfi on error recovery and
30857 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30859 (__makecontext): Add dummy nop after jump to exit.
30860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30861 Use correct parm save area and cr save, reduce stack frame.
30862 Correct cfi for possible PSEUDO_RET frame setup.
30863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30864 Branch to local label emitted by PSEUDO_RET rather than
30865 __syscall_error.
30866
02637374
AS
308672010-08-12 Andreas Schwab <schwab@redhat.com>
30868
30869 [BZ #11904]
30870 * locale/programs/locale.c (print_assignment): New function.
30871 (show_locale_vars): Use it.
30872
c3e2f19b
UD
308732010-08-11 Ulrich Drepper <drepper@redhat.com>
30874
3cdaa6ad
UD
30875 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30876 field.
30877 (struct statfs64): Likewise.
30878 (_STATFS_F_FLAGS): Define.
30879 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30880 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30881 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30882 (ST_VALID): Define locally.
30883 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30884 __statvfs_getflags, use the provided value.
30885 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30886 __ASSUME_STATFS_F_FLAGS.
30887
754f7da3
UD
30888 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30889
10b3bedc
UD
30890 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30891 Add sys/fanotify.h.
30892 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30893 fanotify_mask for GLIBC_2.13.
30894 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30895 fanotify_init and fanotify_mark.
30896 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30897 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30898
c08fb0d7
UD
30899 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30900 Add prlimit.
30901 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30902 prlimit64 for GLIBC_2.13.
30903 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30904 prlimit64.
30905 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30906 syscall.
30907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30908 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30909 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30910 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30911 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30912 add prlimit alias.
30913 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30914
15bac72b
UD
30915 [BZ #11903]
30916 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30917 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30918
c3e2f19b
UD
30919 * nss/Makefile: Add rules to build and run tst-nss-test1.
30920 * shlib-versions: Add entry for libnss_test1.
30921 * nss/nss_test1.c: New file.
30922 * nss/tst-nss-test1.c: New file.
30923
30924 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30925 (__nss_configure_lookup): Set appropriate entry in
30926 __nss_configure_lookup to true.
30927 * nss/nsswitch.h: Define enum with indeces of databases in
30928 databases and __nss_database_custom arrays. Declare
30929 __nss_database_custom.
30930 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30931 to avoid using nscd when custom rules are installed.
30932 * nss/getXXbyYY_r.c: Likewise.
30933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30934
30935 * nss/nss_files/files-parse.c: Whitespace fixes.
30936
f15ce4d8
UD
309372010-08-09 Ulrich Drepper <drepper@redhat.com>
30938
30939 [BZ #11883]
30940 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30941 * posix/fnmatch_loop.c: Likewise.
30942
d22e4cc9
AK
309432010-07-17 Andi Kleen <ak@linux.intel.com>
30944
30945 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30946 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30947 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30948 * Versions.def [GLIBC_2.13]: Add.
30949
805bc17d
UD
309502010-08-06 Ulrich Drepper <drepper@redhat.com>
30951
30952 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30953 Also fail if tpwd after pwuid call is NULL.
30954
5a42321d
ST
309552010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30956
30957 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30958 when converting to ms.
30959
fd3ebeda
ST
309602010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30961
30962 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30963 EOPNOTSUPP errors with ENOTTY.
30964 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30965 EOPNOTSUPP errors with ENOTTY.
30966
73507d3a
UD
309672010-07-31 Ulrich Drepper <drepper@redhat.com>
30968
30969 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30970 Add strcasecmp_l-ssse3.
30971 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30972 strcasecmp.
30973 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30974 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30975 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30976
fe36dd02
UD
309772010-07-30 Ulrich Drepper <drepper@redhat.com>
30978
66f6765a
UD
30979 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30980
42e08a54
UD
30981 * string/Makefile (strop-tests): Add strcasecmp.
30982 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30983 strcasecmp_l-nonascii.
30984 (gen-as-const-headers): Add locale-defines.sym.
30985 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30986 * sysdeps/x86_64/strcasecmp.S: New file.
30987 * sysdeps/x86_64/strcasecmp_l.S: New file.
30988 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30989 * sysdeps/x86_64/locale-defines.sym: New file.
30990 * string/test-strcasecmp.c: New file.
30991
fe36dd02
UD
30992 * string/test-strcasestr.c: Test both ends of the range of characters.
30993 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30994
48cbc0d6
RM
309952010-07-29 Roland McGrath <roland@redhat.com>
30996
76e6d6bc 30997 [BZ #11856]
48cbc0d6
RM
30998 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30999
880113d9
UD
310002010-07-27 Ulrich Drepper <drepper@redhat.com>
31001
31002 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31003 for ld.so.
31004
deb9cabb
AS
310052010-07-27 Andreas Schwab <schwab@redhat.com>
31006
31007 * manual/memory.texi (Malloc Tunable Parameters): Document
31008 M_PERTURB.
31009
1c7570ff
RM
310102010-07-26 Roland McGrath <roland@redhat.com>
31011
31012 [BZ #11840]
31013 * configure.in (-fgnu89-inline check): Set and substitute
31014 gnu89_inline, not libc_cv_gnu89_inline.
31015 * configure: Regenerated.
31016 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31017
24fb0f88
UD
310182010-07-26 Ulrich Drepper <drepper@redhat.com>
31019
31020 * string/test-strnlen.c: New file.
31021 * string/Makefile (strop-tests): Add strnlen.
31022 * string/tester.c (test_strnlen): Add a few more test cases.
31023 * string/tst-strlen.c: Better error reporting.
31024
31025 * sysdeps/x86_64/strnlen.S: New file.
31026
8e96b93a
UD
310272010-07-24 Ulrich Drepper <drepper@redhat.com>
31028
31029 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31030 lower-latency instructions.
31031
dbc676d4
UD
310322010-07-23 Ulrich Drepper <drepper@redhat.com>
31033
31034 * string/test-strcasestr.c: New file.
31035 * string/test-strstr.c: New file.
31036 * string/Makefile (strop-tests): Add strstr and strcasestr.
31037 * string/str-two-way.h: Don't undefine MAX.
31038 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31039
f6a31e0e
AS
310402010-07-21 Andreas Schwab <schwab@redhat.com>
31041
31042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31043 strcasestr-nonascii.
31044 (CFLAGS-strcasestr-nonascii.c): Define.
31045 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31046 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31047 Remove unused attribute.
31048
5dbc3b6c
RM
310492010-07-20 Roland McGrath <roland@redhat.com>
31050
31051 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31052 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31053 ld.so.cache was broken. With it, there is no way to disable dsocaps
31054 like LD_HWCAP_MASK can disable hwcaps.
31055
23d101d8
EPM
310562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31057
31058 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31059
cc9f2e47
UD
310602010-07-16 Ulrich Drepper <drepper@redhat.com>
31061
31062 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31063 call in strcasestr.
31064 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31065 __strcasestr_sse42_nonascii.
31066 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31067 strcasestr-nonascii.c.
31068 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31069
77c1b069
LM
310702010-06-15 Luis Machado <luisgpm@br.ibm.com>
31071
31072 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31073 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31074 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31075 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31076
440566c3
UD
310772010-07-09 Ulrich Drepper <drepper@redhat.com>
31078
31079 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31080 fcntl.
31081
5be9d05d
AS
310822010-07-06 Andreas Schwab <schwab@redhat.com>
31083
c30b7ee2 31084 [BZ #11577]
5be9d05d
AS
31085 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31086 dl_signal_cerror.
31087
8a492a67
UD
310882010-07-06 Ulrich Drepper <drepper@redhat.com>
31089
31090 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31091 _PC_PIPE_BUF using F_GETPIPE_SZ.
31092
713df3d5
RM
310932010-07-05 Roland McGrath <roland@redhat.com>
31094
31095 * manual/arith.texi (Rounding Functions): Fix rint description
31096 implicit in round description.
31097
702e8f14
UD
310982010-07-02 Ulrich Drepper <drepper@redhat.com>
31099
31100 * elf/Makefile: Fix linking for a few tests to make recent linker
31101 happy.
31102
52ed8be9
AS
311032010-06-30 Andreas Schwab <schwab@redhat.com>
31104
31105 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31106 $(common-objpfx)libc_nonshared.a.
31107
f47c9a11
LM
311082010-06-21 Luis Machado <luisgpm@br.ibm.com>
31109
31110 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31111 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31112 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31113 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31114 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31115 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31116 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31117 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31132 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31133 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31134 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31135 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31136 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31137 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31138 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31139 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31140 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31141 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31142 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31143 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31158
6fb8cbcb
L
311592010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31160
31161 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31162 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31163 * string/memmove.c (memmove): Renamed to ...
31164 (MEMMOVE): ...this. Default to memmove.
31165 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31166 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31167 (END_CHK): Define.
31168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31169 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31170 mempcpy-ssse3-back memmove-ssse3-back.
31171 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31172 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31173 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31174 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31175 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31176 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31177 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31178 * sysdeps/x86_64/multiarch/memmove.c: New file.
31179 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31180 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31181 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31182 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31183 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31184 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31185 Define.
31186 (index_Fast_Copy_Backward): Define.
31187 (HAS_ARCH_FEATURE): Define.
31188 (HAS_FAST_REP_STRING): Define.
31189 (HAS_FAST_COPY_BACKWARD): Define.
31190
4e733bac 311912010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31192
31193 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31194 Restore proper fallback handling.
31195
63c4ed22
UD
311962010-06-19 Ulrich Drepper <drepper@redhat.com>
31197
ac2b484c
UD
31198 [BZ #11701]
31199 * posix/group_member.c (__group_member): Correct checking loop.
31200
63c4ed22
UD
31201 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31202 OOM in getpwuid_r correctly. Return error number when the caller
31203 should return, otherwise -1.
31204 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31205 call returning > 0 value.
31206 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31207
765ade4b
AS
312082010-06-07 Andreas Schwab <schwab@redhat.com>
31209
31210 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31211 libc_nonshared.a from targets in modules-names.
31212
80da2e09
KS
312132010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31214
31215 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31216 requires it.
31217
158db122
LM
312182010-06-10 Luis Machado <luisgpm@br.ibm.com>
31219
31220 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31221 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31222 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31223 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31224
caa78cf8
AS
312252010-06-02 Andreas Schwab <schwab@redhat.com>
31226
31227 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31228
b2ef2c01
UD
312292010-06-14 Ulrich Drepper <drepper@redhat.com>
31230
31231 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31232 and F_GETPIPE_SZ.
31233 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31234 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31235 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31237 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31238 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31239
fbd643b6
RM
312402010-06-14 Roland McGrath <roland@redhat.com>
31241
31242 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31243
f32f2869
JJ
312442010-06-07 Jakub Jelinek <jakub@redhat.com>
31245
31246 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31247 __REDIRECT followed by __THROW.
31248 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31249 * posix/getopt.h (getopt): Likewise.
31250
2a50c078
EPM
312512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31252
31253 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31254 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31255 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31256 in AT_FLAGS.
31257 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31258 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31259
eb5ad2eb
LM
312602010-05-28 Luis Machado <luisgpm@br.ibm.com>
31261
31262 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31263
3c88fe1e
L
312642010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31265
31266 [BZ #11640]
31267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31268 Properly check family and model.
31269
d2f73151
TY
312702010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31271
31272 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31273
ebd2e13d
LM
312742010-05-24 Luis Machado <luisgpm@br.ibm.com>
31275
31276 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31277
b32b8b45
UD
312782010-05-21 Ulrich Drepper <drepper@redhat.com>
31279
31280 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31281 symbol reference.
31282
9acbe24d
AS
312832010-05-19 Andreas Schwab <schwab@redhat.com>
31284
31285 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31286 symbol reference.
31287
f0ccf6ea
AS
312882010-05-21 Andreas Schwab <schwab@redhat.com>
31289
3d04ff3a
AS
31290 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31291 and internal_recvmmsg.
31292 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31293 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31294 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31295 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31296
f0ccf6ea
AS
31297 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31298 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31299 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31300
5b08ac57
AS
313012010-05-20 Andreas Schwab <schwab@redhat.com>
31302
31303 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31304
4828935d
LM
313052010-05-17 Luis Machado <luisgpm@br.ibm.com>
31306
31307 POWER7 optimizations.
31308 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31309 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31310
373d545e
UD
313112010-05-19 Ulrich Drepper <drepper@redhat.com>
31312
31313 * version.h: Update for 2.13 development version.
31314
21a2b1ae
AS
313152010-05-12 Andrew Stubbs <ams@codesourcery.com>
31316
31317 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31318 exceptions. Return 0.
31319
3f7dcb2b
RM
313202010-05-07 Roland McGrath <roland@redhat.com>
31321
31322 * elf/ldconfig.c (main): Add a const.
31323
5f24d53a 313242010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31325
a160f8d8
UD
31326 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31327 (args_options): Add no-idn option.
31328 (ahosts_keys_int): Add idn_flags to ai_flags.
31329 (parse_option): Handle 'i' option to clear idn_flags.
31330
5f24d53a
UD
31331 * malloc/malloc.c (_int_free): Possible race in the most recently
31332 added check. Only act on the data if no current modification
31333 happened.
265bb1ce
UD
31334
31335See ChangeLog.17 for earlier changes.