]> sourceware.org Git - glibc.git/blame - ChangeLog
Avoid use of "register" as optimization hint.
[glibc.git] / ChangeLog
CommitLineData
2e09a79a
JM
12013-06-07 Joseph Myers <joseph@codesourcery.com>
2
3 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4 (__bswap_32): Do not use "register".
5 * crypt/crypt.c (_ufc_doit_r): Likewise.
6 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8 * gmon/gmon.c (__monstartup): Likewise.
9 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10 * hurd/hurdmalloc.c (more_memory): Likewise.
11 (malloc): Likewise.
12 (free): Likewise.
13 (realloc): Likewise.
14 (malloc_fork_prepare): Likewise.
15 (malloc_fork_parent): Likewise.
16 (malloc_fork_child): Likewise.
17 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18 (_svcauth_des): Likewise.
19 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20 * inet/inet_net.c (inet_network): Likewise.
21 * inet/inet_netof.c (inet_netof): Likewise.
22 * inet/rcmd.c (__validuser2_sa): Likewise.
23 * io/fts.c (fts_open): Likewise.
24 (fts_load): Likewise.
25 (fts_close): Likewise.
26 (fts_read): Likewise.
27 (fts_children): Likewise.
28 (fts_build): Likewise.
29 (fts_stat): Likewise.
30 (fts_sort): Likewise.
31 (fts_alloc): Likewise.
32 (fts_lfree): Likewise.
33 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34 (_IO_file_xsgetn): Likewise.
35 (_IO_file_xsgetn_mmap): Likewise.
36 * libio/iofopncook.c (_IO_cookie_read): Likewise.
37 (_IO_cookie_write): Likewise.
38 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
39 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
40 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
41 * malloc/obstack.c (_obstack_begin): Likewise.
42 (_obstack_begin_1): Likewise.
43 (_obstack_newchunk): Likewise.
44 (_obstack_allocated_p): Likewise.
45 (obstack_free): Likewise.
46 (_obstack_memory_used): Likewise.
47 * misc/getttyent.c (getttynam): Likewise.
48 (getttyent): Likewise.
49 (skip): Likewise.
50 (value): Likewise.
51 * misc/getusershell.c (initshells): Likewise.
52 * misc/syslog.c (__vsyslog_chk): Likewise.
53 * misc/ttyslot.c (ttyslot): Likewise.
54 * nis/nis_hash.c (__nis_hash): Likewise.
55 * posix/fnmatch_loop.c (FCT): Likewise.
56 * posix/getconf.c (print_all): Likewise.
57 (main): Likewise.
58 * posix/getopt.c (exchange): Likewise.
59 * posix/glob.c (globfree): Likewise.
60 (prefix_array): Likewise.
61 (__glob_pattern_type): Likewise.
62 * resolv/arpa/nameser.h (NS_GET16): Likewise.
63 (NS_GET32): Likewise.
64 (NS_PUT16): Likewise.
65 (NS_PUT32): Likewise.
66 * resolv/gethnamaddr.c (getanswer): Likewise.
67 (gethostbyname2): Likewise.
68 (gethostbyaddr): Likewise.
69 (_gethtent): Likewise.
70 (_gethtbyname2): Likewise.
71 (_gethtbyaddr): Likewise.
72 * resolv/ns_print.c (dst_s_get_int16): Likewise.
73 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
74 * resolv/res_init.c (__res_vinit): Likewise.
75 (net_mask): Likewise.
76 * resolv/res_mkquery.c (outchar): Likewise.
77 (PRINT): Likewise.
78 * stdio-common/printf_fp.c (outchar): Likewise.
79 (PRINT): Likewise.
80 * stdio-common/printf_fphex.c (outchar): Likewise.
81 (PRINT): Likewise.
82 * stdio-common/printf_size.c (outchar): Likewise.
83 (PRINT): Likewise.
84 * stdio-common/test_rdwr.c (main): Likewise.
85 * stdio-common/tfformat.c (matches): Likewise.
86 * stdio-common/vfprintf.c (outchar): Likewise.
87 (printf_unknown): Likewise.
88 (buffered_vfprintf): Likewise.
89 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
90 * stdio-common/xbug.c (AppendToBuffer): Likewise.
91 (ReadFile): Likewise.
92 * stdlib/qsort.c (SWAP): Likewise.
93 (_quicksort): Likewise.
94 * stdlib/setenv.c (__add_to_environ): Likewise.
95 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
96 * stdlib/strtol_l.c (__strtol_l): Likewise.
97 * stdlib/tst-strtod.c (main): Likewise.
98 * stdlib/tst-strtol.c (main): Likewise.
99 * stdlib/tst-strtoll.c (main): Likewise.
100 * string/bits/string2.h (__strcmp_cc): Likewise.
101 (__strcmp_cg): Likewise.
102 (__strcspn_c1): Likewise.
103 (__strcspn_c2): Likewise.
104 (__strcspn_c3): Likewise.
105 (__strspn_c1): Likewise.
106 (__strspn_c2): Likewise.
107 (__strspn_c3): Likewise.
108 (__strsep_1c): Likewise.
109 (__strsep_2c): Likewise.
110 (__strsep_3c): Likewise.
111 * string/memccpy.c (__memccpy): Likewise.
112 * string/stpcpy.c (__stpcpy): Likewise.
113 * string/strcmp.c (strcmp): Likewise.
114 * string/strrchr.c (strrchr): Likewise.
115 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
116 Likewise.
117 * sysdeps/mach/hurd/getcwd.c
118 (_hurd_canonicalize_directory_name_internal): Likewise.
119 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
120 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
121 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
122 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
123 Likewise, in both definitions.
124 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
125 definitions.
126 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
127 64] (__bswap_64): Likewise.
128 * time/test_time.c (main): Likewise.
129 * time/tzfile.c (__tzfile_read): Likewise.
130 (__tzfile_compute): Likewise.
131 * time/tzset.c (__tzset_parse_tz): Likewise.
132 (tzset_internal): Likewise.
133 (compute_change): Likewise.
134 * wcsmbs/wcscat.c (__wcscat): Likewise.
135 * wcsmbs/wcschr.c (wcschr): Likewise.
136 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
137 * wcsmbs/wcscspn.c (wcscspn): Likewise.
138 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
139 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
140 * wcsmbs/wcsspn.c (wcsspn): Likewise.
141 * wcsmbs/wcsstr.c (wcsstr): Likewise.
142 * wcsmbs/wmemchr.c (wmemchr): Likewise.
143 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
144 * wcsmbs/wmemset.c (wmemset): Likewise.
145
9e54314b
JM
1462013-06-06 Joseph Myers <joseph@codesourcery.com>
147
148 * scripts/config.guess: Update to version 2013-05-16.
149 * scripts/config.sub: Update to version 2013-04-24.
150 * scripts/install-sh: Update to version 2011-11-20.07.
151 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
152 * scripts/move-if-change: Update to version 2012-01-06 07:23.
153
350635a5
OB
1542013-06-06 Ondřej Bílka <neleai@seznam.cz>
155
156 * debug/fgetws_u_chk.c: Fix leading whitespaces.
157 * elf/sln.c: Likewise.
158 * hurd/hurd/ioctl.h: Likewise.
159 * hurd/hurdmalloc.c: Likewise.
160 * hurd/xattr.c: Likewise.
161 * include/shlib-compat.h: Likewise.
162 * inet/ruserpass.c: Likewise.
163 * libio/iofgets_u.c: Likewise.
164 * libio/iofgetws_u.c: Likewise.
165 * locale/programs/ld-identification.c: Likewise.
166 * locale/programs/ld-time.c: Likewise.
167 * mach/msg-destroy.c: Likewise.
168 * nss/nss_files/files-netgrp.c: Likewise.
169 * resolv/res_data.c: Likewise.
170 * soft-fp/op-1.h: Likewise.
171 * soft-fp/op-2.h: Likewise.
172 * soft-fp/op-4.h: Likewise.
173 * soft-fp/op-common.h: Likewise.
174 * stdio-common/printf_fphex.c: Likewise.
175 * stdlib/strtod_l.c: Likewise.
176 * sunrpc/rpc/clnt.h: Likewise.
177 * sysdeps/generic/framestate.c: Likewise.
178 * sysdeps/i386/bsd-_setjmp.S: Likewise.
179 * sysdeps/i386/bsd-setjmp.S: Likewise.
180 * sysdeps/i386/__longjmp.S: Likewise.
181 * sysdeps/i386/setjmp.S: Likewise.
182 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
183 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
184 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
185 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
186 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
187 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
188 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
189 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
190 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
191 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
192 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
193 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
194 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
195 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
196 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
197 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
198 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
199 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
200 * sysdeps/ieee754/support.c: Likewise.
201 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
202 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
203 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
204 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
205 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
206 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
207 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
208 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
209 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
210 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
211 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
212 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
213 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
214 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
215 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
216 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
217 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
219
44a988af
OB
2202013-06-05 Ondřej Bílka <neleai@seznam.cz>
221
25506f09 222 * posix/transbug.c: Remove executable mode.
44a988af 223
9c84384c
JM
2242013-06-05 Joseph Myers <joseph@codesourcery.com>
225
226 * crypt/speeds.c: Remove trailing whitespace.
227 * dlfcn/default.c: Likewise.
228 * elf/ifuncdep2.c: Likewise.
229 * elf/ifuncmain1.c: Likewise.
230 * elf/ifuncmain1vis.c: Likewise.
231 * elf/testobj.h: Likewise.
232 * elf/tst-stackguard1.c: Likewise.
233 * gmon/sys/gmon.h: Likewise.
234 * hurd/hurdmsg.c: Likewise.
235 * hurd/new-fd.c: Likewise.
236 * hurd/ports-get.c: Likewise.
237 * iconvdata/ibm1008_420.c: Likewise.
238 * inet/tst-getni1.c: Likewise.
239 * inet/tst-getni2.c: Likewise.
240 * libio/ioungetc.c: Likewise.
241 * libio/wfiledoalloc.c: Likewise.
242 * manual/libm-err-tab.pl: Likewise.
243 * math/w_dremf.c: Likewise.
244 * misc/ftruncate.c: Likewise.
245 * posix/bug-glob2.c: Likewise.
246 * posix/tst-pcre.c: Likewise.
247 * posix/wait4.c: Likewise.
248 * resolv/README: Likewise.
249 * resolv/res_debug.h: Likewise.
250 * resolv/tst-inet_ntop.c: Likewise.
251 * setjmp/bug269-setjmp.c: Likewise.
252 * soft-fp/extended.h: Likewise.
253 * soft-fp/op-1.h: Likewise.
254 * soft-fp/op-2.h: Likewise.
255 * soft-fp/op-4.h: Likewise.
256 * soft-fp/op-8.h: Likewise.
257 * soft-fp/testit.c: Likewise.
258 * stdio-common/bug16.c: Likewise.
259 * stdlib/random.c: Likewise.
260 * sunrpc/rpcsvc/rquota.x: Likewise.
261 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
262 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
263 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
264 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
265 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
266 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
267 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
268 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
269 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
270 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
271 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
272 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
273 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
274 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
275 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
276 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
277 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
278 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
279 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
280 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
281 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
282 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
283 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
284 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
285 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
286 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
287 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
288 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
289 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
290 * sysdeps/ieee754/s_lib_version.c: Likewise.
291 * sysdeps/mach/hurd/check_fds.c: Likewise.
292 * sysdeps/mach/hurd/getsockname.c: Likewise.
293 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
294 * sysdeps/mach/hurd/recvfrom.c: Likewise.
295 * sysdeps/powerpc/bits/link.h: Likewise.
296 * sysdeps/powerpc/dl-procinfo.c: Likewise.
297 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
298 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
299 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
300 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
301 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
302 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
303 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
304 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
305 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
306 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
307 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
308 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
309 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
310 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
311 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
312 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
313 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
314 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
315 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
316 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
317 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
318 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
319 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
320 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
321 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
322 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
323 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
324 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
325 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
326 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
327 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
328 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
329 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
330 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
331 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
332 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
333 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
334 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
335 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
336 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
337 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
338 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
339 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
340 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
341 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
342 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
343 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
344 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
345 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
346 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
347 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
348 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
349 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
350 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
351 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
352 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
353 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
354 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
355 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
356 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
357 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
358 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
359 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
360 * sysdeps/powerpc/sysdep.h: Likewise.
361 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
362 * sysdeps/s390/s390-64/sub_n.S: Likewise.
363 * sysdeps/sh/dl-trampoline.S: Likewise.
364 * sysdeps/sh/memset.S: Likewise.
365 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
366 * sysdeps/sh/strlen.S: Likewise.
367 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
368 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
369 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
370 * sysdeps/sparc/sparc32/rem.S: Likewise.
371 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
372 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
373 * sysdeps/sparc/sparc32/strchr.S: Likewise.
374 * sysdeps/sparc/sparc32/udiv.S: Likewise.
375 * sysdeps/sparc/sparc32/urem.S: Likewise.
376 * sysdeps/sparc/sparc64/add_n.S: Likewise.
377 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
378 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
379 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
380 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
381 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
382 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
383 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
384 * sysdeps/unix/bsd/times.c: Likewise.
385 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
386 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
390 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
391 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
392 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
393 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
394 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
395 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
396 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
397 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
398 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
399 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
400 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
401 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
402 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
403 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
404 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
405 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
406 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
407 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
408 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
409 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
410 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
411 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
412 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
413 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
414 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
415 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
416 * sysdeps/x86_64/strcspn.S: Likewise.
417
869378a5
RA
4182013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
419
420 * locale/C-translit.h: Revert #include <stdint.h> because this is a
421 generated file. Regenerate properly from gen-translit.pl.
422 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
423 locale/C-translit.h.
424
840e2943
AS
4252013-06-05 Andreas Schwab <schwab@suse.de>
426
427 [BZ #15100]
428 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
429 week as 6 instead of -1.
430 * time/tst-strptime.c (day_tests): Add test case.
431
4c60cb0c
SP
4322013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
433
434 * sysdeps/generic/math_private.h
435 (libc_feholdexcept_setround_53bit): Replace with
436 libc_feholdsetround_53bit.
437 (libc_feupdateenv_53bit): Replace with
438 libc_feresetround_53bit.
439 (SET_RESTORE_ROUND_53BIT): Adjust.
440
d180203e
SP
4412013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
442
96df079a
SP
443 * string/test-strchrnul.c: Add copyright header.
444
d180203e
SP
445 * posix/tst-getaddrinfo4.c: Increase test timeout.
446
8b0ccb2d
CD
4472013-06-03 Carlos O'Donell <carlos@redhat.com>
448
449 [BZ #15536]
450 * math/libm-test.inc (MAX_EXP): Remove
451 (MIN_EXP): Define.
452 (ulp): Use MIN_EXP - MANT_DIG.
453 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
454
3b3c4d40
CD
4552013-05-31 Carlos O'Donell <carlos@redhat.com>
456
457 * po/be.po: Revert last change.
458 * po/zh_CN.po: Likewise.
459 * po/header.pot: Likewise.
460
fab7ce3f
JM
4612013-05-31 Joseph Myers <joseph@codesourcery.com>
462
463 * Makefile ($(common-objpfx)linkobj/libc.so): Define
464 link-libc-deps to empty as target-specific variable.
465 * Makerules (link-libc-args): New variable.
466 (libc-for-link): Likewise.
467 (link-libc-deps): Likewise.
468 (lib%.so): Depend on $(link-libc-deps). Link with
469 $(link-libc-args).
470 (build-module): Link with $(link-libc-args).
471 (build-module-asneeded): Likewise.
472 (build-module-helper-objlist): Filter out $(link-libc-deps) from
473 list of objects.
474 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
475 target-specific variable.
476 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
477 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
478 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
479 libc.
480 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
481 libc and ld.so.
482 ($(objpfx)libpcprofile.so): Likewise.
483 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
484 libc_nonshared.a.
485 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
486 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
487 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
488 $(link-libc-deps).
489 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
490 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
491 * login/Makefile ($(objpfx)libutil.so): Likewise.
492 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
493 * math/Makefile ($(objpfx)libm.so): Likewise.
494 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
495 $(objpfx)libnsl.so): Define libc-for-link as target-specific
496 variable instead of depending directly on libc.
497 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
498 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
499 $(link-libc-deps).
500 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
501 libc.
502 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
503 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
504 ($(objpfx)libanl.so): Likewise.
505 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
506 ld.so.
507 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
508 $(link-libc-deps).
509 * sysdeps/i386/fpu/Makefile: Remove file.
510 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
511 ($(objpfx)libm.so): Remove dependency on ld.so.
512
eca5920c
PF
5132013-05-30 Patsy Franklin <pfrankli@redhat.com>
514
515 [BZ # 15553]
516 * nis/yp_xdr.c (XDRMAXNAME): Define.
517 (XDRMAXRECORD): Define.
518 (xdr_domainname): Use XDRMAXNAME.
519 (xdr_mapname): Likewise.
520 (xdr_peername): Likewise.
521 (xdr_keydat): Use XDRMAXRECORD.
522 (xdr_valdat): Likewise.
523
5242013-05-30 Jeff Law <law@redhat.com>
96945714
JL
525
526 [BZ #14256]
527 * manual/errno.texi (ESTALE): Update to account for more than
528 just NFS file systems.
529 * sysdeps/gnu/errlist.c: Regenerated.
530
b9375348
SP
5312013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
532
533 [BZ #15465]
534 * elf/Makefile (tests): Add tst-null-argv.
535 (modules-names): Add tst-null-argv-lib.
536 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
537 (tst-null-argv-ENV): Set environment for tst-null-argv.
538 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
539 (RTLD_PROGNAME): New macro.
540 * elf/tst-null-argv.c: New test case.
541 * elf/tst-null-argv-lib.c: Library for test case.
542 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
543 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
544 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
545 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
546 * elf/dl-init.c (call_init): Likewise.
547 (_dl_init): Likewise.
548 * elf/dl-load.c (print_search_path): Likewise.
549 (_dl_map_object): Likewise.
550 * elf/dl-lookup.c (do_lookup_x): Likewise.
551 (add_dependency): Likewise.
552 (_dl_lookup_symbol_x): Likewise.
553 (_dl_debug_bindings): Likewise.
554 * elf/dl-open.c (_dl_show_scope): Likewise.
555 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
556 * elf/dl-version.c (match_symbol): Likewise.
557 (_dl_check_map_versions): Likewise.
558 * elf/rtld.c (dl_main): Likewise.
559 (print_unresolved): Use RTLD_PROGNAME.
560 (print_missing_version): Likewise.
561 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
562 (elf_machine_rela): Likewise.
563 * sysdeps/powerpc/powerpc32/dl-machine.c
564 (__process_machine_rela): Likewise.
565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
566 Likewise.
567 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
568 Likewise.
569 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
570 Likewise.
571 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
572 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
573 Likewise.
574 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
575 Likewise.
576 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
577
8a9f20c8
CD
5782013-05-28 Carlos O'Donell <carlos@redhat.com>
579
580 * po/be.po: Add descriptive title.
581 * po/zh_CN.po: Likewise.
582 * po/header.pot: Likewise.
583
0e60d68e
MF
5842013-05-28 Mike Frysinger <vapier@gentoo.org>
585
586 * locale/programs/locarchive.c (create_archive): Inlucde fname in
587 error message.
588 (enlarge_archive): Likewise.
589
56b672e9
BN
5902013-05-28 Ben North <ben@redfrontdoor.org>
591
592 * manual/arith.texi (frexp): It is the magnitude of the return
593 value which lies in [0.5, 1), not the return value itself.
594
5e056687
AZ
5952013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
596
597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
598
2b66ef5d
TS
5992013-05-26 Thomas Schwinge <thomas@codesourcery.com>
600
528c2405
TS
601 * stdio-common/bug26.c (main): Correct fscanf template.
602
07b4c13d
TS
603 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
604 declare _dl_skip_args.
605
ec9dd97c
TS
606 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
607 Don't declare.
608
2b66ef5d
TS
609 * manual/platform.texi: Add missing @end deftypefun.
610
4f8dfe27
JM
6112013-05-24 Joseph Myers <joseph@codesourcery.com>
612
0323d086
JM
613 [BZ #15529]
614 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
615 bit of mantissa of 2^16382.
616 * math/libm-test.inc (hypot_test_data): Add more tests.
617
dd4259b9
JM
618 * math/libm-test.inc: Add drem and pow10 to list of tested
619 functions.
620 (pow10_test): New function.
621 (drem_test): Likewise.
622 (drem_test_tonearest): Likewise.
623 (drem_test_towardzero): Likewise.
624 (drem_test_downward): Likewise.
625 (drem_test_upward): Likewise.
626 (main): Call the new functions.
627
4f8dfe27
JM
628 * math/libm-test.inc (finite_test_data): Remove.
629 (finite_test): Run tests from isfinite_test_data.
630 (gamma_test_data): Remove.
631 (gamma_test): Run tests from lgamma_test_data.
632 * sysdeps/i386/fpu/libm-test-ulps: Update.
633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
634
d116b7c4
AZ
6352013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
636
637 * manual/platform.texi: Add PowerPC PPR function set documentation.
638 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
639 implementation.
640
e96e3767
CD
6412013-05-24 Carlos O'Donell <carlos@redhat.com>
642
643 * math/libm-test.inc (MAX_EXP): Define.
644 (ULPDIFF): Define.
645 (ulp): New function.
646 (check_float_internal): Use ULPDIFF.
647 (cpow_test): Disable failing test.
648 (check_ulp): Test ulp() implemetnation.
649 (main): Call check_ulp before starting tests.
650
b679a606
JM
6512013-05-24 Joseph Myers <joseph@codesourcery.com>
652
e8bdba36
JM
653 * math/gen-libm-test.pl (generate_testfile): Do not handle
654 START_DATA and END_DATA.
655 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
656 END_DATA.
657 (acos_tonearest_test_data): Likewise.
658 (acos_towardzero_test_data): Likewise.
659 (acos_downward_test_data): Likewise.
660 (acos_upward_test_data): Likewise.
661 (acosh_test_data): Likewise.
662 (asin_test_data): Likewise.
663 (asin_tonearest_test_data): Likewise.
664 (asin_towardzero_test_data): Likewise.
665 (asin_downward_test_data): Likewise.
666 (asin_upward_test_data): Likewise.
667 (asinh_test_data): Likewise.
668 (atan_test_data): Likewise.
669 (atanh_test_data): Likewise.
670 (atan2_test_data): Likewise.
671 (cabs_test_data): Likewise.
672 (cacos_test_data): Likewise.
673 (cacosh_test_data): Likewise.
674 (carg_test_data): Likewise.
675 (casin_test_data): Likewise.
676 (casinh_test_data): Likewise.
677 (catan_test_data): Likewise.
678 (catanh_test_data): Likewise.
679 (cbrt_test_data): Likewise.
680 (ccos_test_data): Likewise.
681 (ccosh_test_data): Likewise.
682 (ceil_test_data): Likewise.
683 (cexp_test_data): Likewise.
684 (cimag_test_data): Likewise.
685 (clog_test_data): Likewise.
686 (clog10_test_data): Likewise.
687 (conj_test_data): Likewise.
688 (copysign_test_data): Likewise.
689 (cos_test_data): Likewise.
690 (cos_tonearest_test_data): Likewise.
691 (cos_towardzero_test_data): Likewise.
692 (cos_downward_test_data): Likewise.
693 (cos_upward_test_data): Likewise.
694 (cosh_test_data): Likewise.
695 (cosh_tonearest_test_data): Likewise.
696 (cosh_towardzero_test_data): Likewise.
697 (cosh_downward_test_data): Likewise.
698 (cosh_upward_test_data): Likewise.
699 (cpow_test_data): Likewise.
700 (cproj_test_data): Likewise.
701 (creal_test_data): Likewise.
702 (csin_test_data): Likewise.
703 (csinh_test_data): Likewise.
704 (csqrt_test_data): Likewise.
705 (ctan_test_data): Likewise.
706 (ctan_tonearest_test_data): Likewise.
707 (ctan_towardzero_test_data): Likewise.
708 (ctan_downward_test_data): Likewise.
709 (ctan_upward_test_data): Likewise.
710 (ctanh_test_data): Likewise.
711 (ctanh_tonearest_test_data): Likewise.
712 (ctanh_towardzero_test_data): Likewise.
713 (ctanh_downward_test_data): Likewise.
714 (ctanh_upward_test_data): Likewise.
715 (erf_test_data): Likewise.
716 (erfc_test_data): Likewise.
717 (exp_test_data): Likewise.
718 (exp_tonearest_test_data): Likewise.
719 (exp_towardzero_test_data): Likewise.
720 (exp_downward_test_data): Likewise.
721 (exp_upward_test_data): Likewise.
722 (exp10_test_data): Likewise.
723 (exp2_test_data): Likewise.
724 (expm1_test_data): Likewise.
725 (fabs_test_data): Likewise.
726 (fdim_test_data): Likewise.
727 (finite_test_data): Likewise.
728 (floor_test_data): Likewise.
729 (fma_test_data): Likewise.
730 (fma_towardzero_test_data): Likewise.
731 (fma_downward_test_data): Likewise.
732 (fma_upward_test_data): Likewise.
733 (fmax_test_data): Likewise.
734 (fmin_test_data): Likewise.
735 (fmod_test_data): Likewise.
736 (fpclassify_test_data): Likewise.
737 (frexp_test_data): Likewise.
738 (gamma_test_data): Likewise.
739 (hypot_test_data): Likewise.
740 (ilogb_test_data): Likewise.
741 (isfinite_test_data): Likewise.
742 (isgreater_test_data): Likewise.
743 (isgreaterequal_test_data): Likewise.
744 (isinf_test_data): Likewise.
745 (isless_test_data): Likewise.
746 (islessequal_test_data): Likewise.
747 (islessgreater_test_data): Likewise.
748 (isnan_test_data): Likewise.
749 (isnormal_test_data): Likewise.
750 (issignaling_test_data): Likewise.
751 (isunordered_test_data): Likewise.
752 (j0_test_data): Likewise.
753 (j1_test_data): Likewise.
754 (jn_test_data): Likewise.
755 (ldexp_test_data): Likewise.
756 (lgamma_test_data): Likewise.
757 (lrint_test_data): Likewise.
758 (lrint_tonearest_test_data): Likewise.
759 (lrint_towardzero_test_data): Likewise.
760 (lrint_downward_test_data): Likewise.
761 (lrint_upward_test_data): Likewise.
762 (llrint_test_data): Likewise.
763 (llrint_tonearest_test_data): Likewise.
764 (llrint_towardzero_test_data): Likewise.
765 (llrint_downward_test_data): Likewise.
766 (llrint_upward_test_data): Likewise.
767 (log_test_data): Likewise.
768 (log10_test_data): Likewise.
769 (log1p_test_data): Likewise.
770 (log2_test_data): Likewise.
771 (logb_test_data): Likewise.
772 (logb_downward_test_data): Likewise.
773 (lround_test_data): Likewise.
774 (llround_test_data): Likewise.
775 (modf_test_data): Likewise.
776 (nearbyint_test_data): Likewise.
777 (nextafter_test_data): Likewise.
778 (nexttoward_test_data): Likewise.
779 (pow_test_data): Likewise.
780 (pow_tonearest_test_data): Likewise.
781 (pow_towardzero_test_data): Likewise.
782 (pow_downward_test_data): Likewise.
783 (pow_upward_test_data): Likewise.
784 (remainder_test_data): Likewise.
785 (remainder_tonearest_test_data): Likewise.
786 (remainder_towardzero_test_data): Likewise.
787 (remainder_downward_test_data): Likewise.
788 (remainder_upward_test_data): Likewise.
789 (remquo_test_data): Likewise.
790 (rint_test_data): Likewise.
791 (rint_tonearest_test_data): Likewise.
792 (rint_towardzero_test_data): Likewise.
793 (rint_downward_test_data): Likewise.
794 (rint_upward_test_data): Likewise.
795 (round_test_data): Likewise.
796 (scalb_test_data): Likewise.
797 (scalbn_test_data): Likewise.
798 (scalbln_test_data): Likewise.
799 (signbit_test_data): Likewise.
800 (sin_test_data): Likewise.
801 (sin_tonearest_test_data): Likewise.
802 (sin_towardzero_test_data): Likewise.
803 (sin_downward_test_data): Likewise.
804 (sin_upward_test_data): Likewise.
805 (sincos_test_data): Likewise.
806 (sinh_test_data): Likewise.
807 (sinh_tonearest_test_data): Likewise.
808 (sinh_towardzero_test_data): Likewise.
809 (sinh_downward_test_data): Likewise.
810 (sinh_upward_test_data): Likewise.
811 (sqrt_test_data): Likewise.
812 (tan_test_data): Likewise.
813 (tan_tonearest_test_data): Likewise.
814 (tan_towardzero_test_data): Likewise.
815 (tan_downward_test_data): Likewise.
816 (tan_upward_test_data): Likewise.
817 (tanh_test_data): Likewise.
818 (tgamma_test_data): Likewise.
819 (trunc_test_data): Likewise.
820 (y0_test_data): Likewise.
821 (y1_test_data): Likewise.
822 (yn_test_data): Likewise.
823 (significand_test_data): Likewise.
824
b679a606
JM
825 * math/gen-libm-test.pl (@functions): Remove variable.
826 (generate_testfile): Don't handle START and END lines.
827 * math/libm-test.inc (START): New macro.
828 (END): Likewise.
829 (END_COMPLEX): Likewise.
830 (acos_test): Use END macro without arguments.
831 (acos_test_tonearest): Likewise.
832 (acos_test_towardzero): Likewise.
833 (acos_test_downward): Likewise.
834 (acos_test_upward): Likewise.
835 (acosh_test): Likewise.
836 (asin_test): Likewise.
837 (asin_test_tonearest): Likewise.
838 (asin_test_towardzero): Likewise.
839 (asin_test_downward): Likewise.
840 (asin_test_upward): Likewise.
841 (asinh_test): Likewise.
842 (atan_test): Likewise.
843 (atanh_test): Likewise.
844 (atan2_test): Likewise.
845 (cabs_test): Likewise.
846 (cacos_test): Use END_COMPLEX macro without arguments.
847 (cacosh_test): Likewise.
848 (carg_test): Use END macro without arguments.
849 (casin_test): Use END_COMPLEX macro without arguments.
850 (casinh_test): Likewise.
851 (catan_test): Likewise.
852 (catanh_test): Likewise.
853 (cbrt_test): Use END macro without arguments.
854 (ccos_test): Use END_COMPLEX macro without arguments.
855 (ccosh_test): Likewise.
856 (ceil_test): Use END macro without arguments.
857 (cexp_test): Use END_COMPLEX macro without arguments.
858 (cimag_test): Use END macro without arguments.
859 (clog_test): Use END_COMPLEX macro without arguments.
860 (clog10_test): Likewise.
861 (conj_test): Likewise.
862 (copysign_test): Use END macro without arguments.
863 (cos_test): Likewise.
864 (cos_test_tonearest): Likewise.
865 (cos_test_towardzero): Likewise.
866 (cos_test_downward): Likewise.
867 (cos_test_upward): Likewise.
868 (cosh_test): Likewise.
869 (cosh_test_tonearest): Likewise.
870 (cosh_test_towardzero): Likewise.
871 (cosh_test_downward): Likewise.
872 (cosh_test_upward): Likewise.
873 (cpow_test): Use END_COMPLEX macro without arguments.
874 (cproj_test): Likewise.
875 (creal_test): Use END macro without arguments.
876 (csin_test): Use END_COMPLEX macro without arguments.
877 (csinh_test): Likewise.
878 (csqrt_test): Likewise.
879 (ctan_test): Likewise.
880 (ctan_test_tonearest): Likewise.
881 (ctan_test_towardzero): Likewise.
882 (ctan_test_downward): Likewise.
883 (ctan_test_upward): Likewise.
884 (ctanh_test): Likewise.
885 (ctanh_test_tonearest): Likewise.
886 (ctanh_test_towardzero): Likewise.
887 (ctanh_test_downward): Likewise.
888 (ctanh_test_upward): Likewise.
889 (erf_test): Use END macro without arguments.
890 (erfc_test): Likewise.
891 (exp_test): Likewise.
892 (exp_test_tonearest): Likewise.
893 (exp_test_towardzero): Likewise.
894 (exp_test_downward): Likewise.
895 (exp_test_upward): Likewise.
896 (exp10_test): Likewise.
897 (exp2_test): Likewise.
898 (expm1_test): Likewise.
899 (fabs_test): Likewise.
900 (fdim_test): Likewise.
901 (finite_test): Likewise.
902 (floor_test): Likewise.
903 (fma_test): Likewise.
904 (fma_test_towardzero): Likewise.
905 (fma_test_downward): Likewise.
906 (fma_test_upward): Likewise.
907 (fmax_test): Likewise.
908 (fmin_test): Likewise.
909 (fmod_test): Likewise.
910 (fpclassify_test): Likewise.
911 (frexp_test): Likewise.
912 (gamma_test): Likewise.
913 (hypot_test): Likewise.
914 (ilogb_test): Likewise.
915 (isfinite_test): Likewise.
916 (isgreater_test): Likewise.
917 (isgreaterequal_test): Likewise.
918 (isinf_test): Likewise.
919 (isless_test): Likewise.
920 (islessequal_test): Likewise.
921 (islessgreater_test): Likewise.
922 (isnan_test): Likewise.
923 (isnormal_test): Likewise.
924 (issignaling_test): Likewise.
925 (isunordered_test): Likewise.
926 (j0_test): Likewise.
927 (j1_test): Likewise.
928 (jn_test): Likewise.
929 (ldexp_test): Likewise.
930 (lgamma_test): Likewise.
931 (lrint_test): Likewise.
932 (lrint_test_tonearest): Likewise.
933 (lrint_test_towardzero): Likewise.
934 (lrint_test_downward): Likewise.
935 (lrint_test_upward): Likewise.
936 (llrint_test): Likewise.
937 (llrint_test_tonearest): Likewise.
938 (llrint_test_towardzero): Likewise.
939 (llrint_test_downward): Likewise.
940 (llrint_test_upward): Likewise.
941 (log_test): Likewise.
942 (log10_test): Likewise.
943 (log1p_test): Likewise.
944 (log2_test): Likewise.
945 (logb_test): Likewise.
946 (logb_test_downward): Likewise.
947 (lround_test): Likewise.
948 (llround_test): Likewise.
949 (modf_test): Likewise.
950 (nearbyint_test): Likewise.
951 (nextafter_test): Likewise.
952 (nexttoward_test): Likewise.
953 (pow_test): Likewise.
954 (pow_test_tonearest): Likewise.
955 (pow_test_towardzero): Likewise.
956 (pow_test_downward): Likewise.
957 (pow_test_upward): Likewise.
958 (remainder_test): Likewise.
959 (remainder_test_tonearest): Likewise.
960 (remainder_test_towardzero): Likewise.
961 (remainder_test_downward): Likewise.
962 (remainder_test_upward): Likewise.
963 (remquo_test): Likewise.
964 (rint_test): Likewise.
965 (rint_test_tonearest): Likewise.
966 (rint_test_towardzero): Likewise.
967 (rint_test_downward): Likewise.
968 (rint_test_upward): Likewise.
969 (round_test): Likewise.
970 (scalb_test): Likewise.
971 (scalbn_test): Likewise.
972 (scalbln_test): Likewise.
973 (signbit_test): Likewise.
974 (sin_test): Likewise.
975 (sin_test_tonearest): Likewise.
976 (sin_test_towardzero): Likewise.
977 (sin_test_downward): Likewise.
978 (sin_test_upward): Likewise.
979 (sincos_test): Likewise.
980 (sinh_test): Likewise.
981 (sinh_test_tonearest): Likewise.
982 (sinh_test_towardzero): Likewise.
983 (sinh_test_downward): Likewise.
984 (sinh_test_upward): Likewise.
985 (sqrt_test): Likewise.
986 (tan_test): Likewise.
987 (tan_test_tonearest): Likewise.
988 (tan_test_towardzero): Likewise.
989 (tan_test_downward): Likewise.
990 (tan_test_upward): Likewise.
991 (tanh_test): Likewise.
992 (tgamma_test): Likewise.
993 (trunc_test): Likewise.
994 (y0_test): Likewise.
995 (y1_test): Likewise.
996 (yn_test): Likewise.
997 (significand_test): Likewise.
998
bae143d2
OB
9992013-05-24 Ondřej Bílka <neleai@seznam.cz>
1000
1001 [BZ #15381]
1002 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1003
9323d39b
EM
10042013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1005
d4ea44a0 1006 [BZ #14894]
9323d39b
EM
1007 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1008 __ppc_mdoio and __ppc_mdoom.
1009 * manual/platform.texi: Document new functions __ppc_yield,
1010 __ppc_mdoio and __ppc_mdoom.
1011
13e23af7
CD
10122013-05-22 Carlos O'Donell <carlos@redhat.com>
1013
1014 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1015 (main): Mention "tls" pseudo-hwcap is legacy.
1016 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1017
351fe550
JM
10182013-05-22 Joseph Myers <joseph@codesourcery.com>
1019
1020 * math/gen-libm-test.pl (parse_args): Output only string of
1021 arguments as text for test name, not full call or descriptions of
1022 tests for extra outputs.
1023 (generate_testfile): Do not pass function name to parse_args.
1024 Generate this_func variable from START.
1025 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1026 field to arg_str.
1027 (struct test_ff_f_data): Likewise.
1028 (test_ff_f_data_nexttoward): Likewise.
1029 (struct test_fi_f_data): Likewise.
1030 (struct test_fl_f_data): Likewise.
1031 (struct test_if_f_data): Likewise.
1032 (struct test_fff_f_data): Likewise.
1033 (struct test_c_f_data): Likewise.
1034 (struct test_f_f1_data): Likewise. Remove field extra_name.
1035 (struct test_fF_f1_data): Likewise.
1036 (struct test_ffI_f1_data): Likewise.
1037 (struct test_c_c_data): Rename test_name field to arg_str.
1038 (struct test_cc_c_data): Likewise.
1039 (struct test_f_i_data): Likewise.
1040 (struct test_ff_i_data): Likewise.
1041 (struct test_f_l_data): Likewise.
1042 (struct test_f_L_data): Likewise.
1043 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1044 and extra2_name.
1045 (COMMON_TEST_SETUP): New macro.
1046 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1047 (COMMON_TEST_CLEANUP): Likewise.
1048 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1049 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1050 macros.
1051 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1052 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1053 macros.
1054 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1055 (RUN_TEST_fff_f): Take argument string. Call new setup and
1056 cleanup macros.
1057 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1058 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1059 macros.
1060 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1061 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1062 macros.
1063 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1064 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1065 cleanup macros.
1066 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1067 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1068 cleanup macros.
1069 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1070 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1071 cleanup macros.
1072 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1073 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1074 macros.
1075 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1076 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1077 macros.
1078 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1079 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1080 macros.
1081 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1082 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1083 cleanup macros.
1084 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1085 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1086 cleanup macros.
1087 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1088 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1089 macros.
1090 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1091 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1092 cleanup macros.
1093 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1094 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1095 macros.
1096 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1097 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1098 macros.
1099 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1100 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1101 cleanup macros.
1102 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1103
85118d4d
EBM
11042013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1105
1106 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1107 to _sifields.sigfault.
1108 (si_addr_lsb): Define new macro.
1109 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1110 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1111 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1112
7a44c18f
CD
11132013-05-03 Carlos O'Donell <carlos at redhat.com>
1114
1115 [BZ #15441]
1116 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1117 returns -1.
1118 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1119 null return -1.
1120 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1121 loading the domain.
1122
b50a7181
JM
11232013-05-22 Joseph Myers <joseph@codesourcery.com>
1124
1125 * math/gen-libm-test.pl (parse_args): Do not include expected
1126 result in test name.
1127 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1128 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1129 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1130 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1131 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1133
051063c8
SP
11342013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1135
3ce9e010
SP
1136 * benchtests/Makefile: Sort function entries.
1137
051063c8
SP
1138 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1139 tanh, asinh, acosh, atanh.
1140 * benchtests/acos-inputs: New file.
1141 * benchtests/acosh-inputs: New file.
1142 * benchtests/asin-inputs: New file.
1143 * benchtests/asinh-inputs: New file.
1144 * benchtests/atanh-inputs: New file.
1145 * benchtests/cosh-inputs: New file.
1146 * benchtests/log-inputs: New file.
1147 * benchtests/sinh-inputs: New file.
1148 * benchtests/tanh-inputs: New file.
1149
47c22455
DL
11502013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1151
1152 [BZ #15339]
1153 * posix/tst-getaddrinfo4.c: New test.
1154 * posix/Makefile (tests): Add it.
1155
3d04f5db
SP
11562013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1157
1158 [BZ #15339]
1159 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1160 when no services were used.
1161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1162 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1163
d5dd6189
AS
11642013-05-21 Andreas Schwab <schwab@suse.de>
1165
1166 [BZ #15014]
1167 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1168 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1169 successful.
1170 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1171 redundant variable declarations and reallocation of buffer when
1172 parsing as IPv6 address. Always set NSS status when called from
1173 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1174 buffer too small. Correct computation of needed size.
1175 * nss/Makefile (tests): Add test-digits-dots.
1176 * nss/test-digits-dots.c: New test.
1177
fef94eab
SP
11782013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1179
1180 * benchtests/Makefile: Remove instructions for adding
1181 benchmark tests.
1182 * benchtests/README: New file to explain how to execute and
1183 enhance the benchmark tests.
1184
e39adf43
AS
11852013-05-21 Andreas Schwab <schwab@suse.de>
1186
1187 [BZ #15493]
1188 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1189 * setjmp/tst-sigsetjmp.c: New test.
1190
b2b671b6
OB
11912013-05-20 Ondřej Bílka <neleai@seznam.cz>
1192
1193 * sysdeps/x86_64/memset.S (memset): New implementation.
1194 (__bzero): Likewise.
1195 (__memset_tail): New function.
1196
2d48b41c
OB
11972013-05-20 Ondřej Bílka <neleai@seznam.cz>
1198
1199 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1200 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1201 __memcpy_sse2_unaligned ifunc selection.
1202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1203 Add memcpy-sse2-unaligned.S.
1204 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1205 Add: __memcpy_sse2_unaligned.
1206
f16cc3eb
JM
12072013-05-19 Joseph Myers <joseph@codesourcery.com>
1208
3e694268
JM
1209 [BZ #15490]
1210 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1211 math_force_eval before restoring floating-point envrionment.
1212 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1213 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1214 Likewise.
1215 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1216 <math_private.h>.
1217 (__nearbyintl): Use math_force_eval before restoring
1218 floating-point environment.
1219 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1220
db62a907
JM
1221 * math/gen-libm-test.pl (special_functions): Remove.
1222 (parse_args): Don't handle TEST_extra. Handle functions with no
1223 return value.
1224 * math/libm-test.inc (struct test_sincos_data): Replace with
1225 struct test_fFF_11_data.
1226 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1227 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1228 (sincos_test_data): Change element type to struct
1229 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1230 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1231 RUN_TEST_LOOP_sincos.
1232 * math/README.libm-test: Don't mention special handling of
1233 individual functions.
1234 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1235 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1236 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1237 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1238 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1240
f16cc3eb
JM
1241 * math/gen-libm-test.pl (get_variable): Remove function.
1242 (parse_args): Don't show pointer parameters to call in test
1243 names. Use "extra output N" in test names for extra outputs
1244 rather than naming variables.
1245
3779b5b6
JM
12462013-05-18 Joseph Myers <joseph@codesourcery.com>
1247
2ee094ff
JM
1248 [BZ #15488]
1249 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1250 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1251 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1252 double tests.
1253 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1254 disable.
1255 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1256 check_long_double.
1257
3779b5b6
JM
1258 * math/gen-libm-test.pl (@tests): Remove variable.
1259 ($count): Likewise.
1260 (new_test): Remove function.
1261 (show_exceptions): New function.
1262 (special_functions): Use show_exceptions instead of new_test.
1263 (parse_args): Likewise.
1264 (generate_testfile): Pass only function name in generated call to
1265 print_max_error or print_complex_max_error.
1266 (get_ulps): Do not handle complex tests specially.
1267 (output_test): Rename to ...
1268 (get_all_ulps_for_test): ... this. Return a string rather than
1269 printing to a file. Require ulps to be present.
1270 (output_ulps): Generate arrays rather than #defines.
1271 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1272 (struct ulp_data): New type.
1273 (BUILD_COMPLEX_ULP): Remove macro.
1274 (compare_ulp_data): New function.
1275 (find_ulps): Likewise.
1276 (find_test_ulps): Likewise.
1277 (find_function_ulps): Likewise.
1278 (find_complex_function_ulps): Likewise.
1279 (print_max_error): Determine allowed ulps using
1280 find_function_ulps.
1281 (print_complex_max_error): Determine allowed ulps using
1282 find_complex_function_ulps.
1283 (check_float_internal): Determine max ulps using find_test_ulps.
1284 (check_float): Do not take max_ulp parameter. Update call to
1285 check_float_internal.
1286 (check_complex): Likewise.
1287 (check_int): Do not take max_ulp parameter.
1288 (check_long): Likewise.
1289 (check_bool): Likewise.
1290 (check_longlong): Likewise.
1291 (struct test_f_f_data): Remove max_ulp field.
1292 (struct test_ff_f_data): Likewise.
1293 (struct test_ff_f_data_nexttoward): Likewise.
1294 (struct test_fi_f_data): Likewise.
1295 (struct test_fl_f_data): Likewise.
1296 (struct test_if_f_data): Likewise.
1297 (struct test_fff_f_data): Likewise.
1298 (struct test_c_f_data): Likewise.
1299 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1300 (struct test_fF_f1_data): Likewise.
1301 (struct test_ffI_f1_data): Likewise.
1302 (struct test_c_c_data): Remove max_ulp field.
1303 (struct test_cc_c_data): Likewise.
1304 (struct test_f_i_data): Likewise.
1305 (struct test_ff_i_data): Likewise.
1306 (struct test_f_l_data): Likewise.
1307 (struct test_f_L_data): Likewise.
1308 (struct test_sincos_data): Likewise.
1309 (RUN_TEST_f_f): Do not handle ulps.
1310 (RUN_TEST_LOOP_f_f): Likewise.
1311 (RUN_TEST_2_f): Likewise.
1312 (RUN_TEST_LOOP_2_f): Likewise.
1313 (RUN_TEST_fff_f): Likewise.
1314 (RUN_TEST_LOOP_fff_f): Likewise.
1315 (RUN_TEST_c_f): Likewise.
1316 (RUN_TEST_LOOP_c_f): Likewise.
1317 (RUN_TEST_f_f1): Likewise.
1318 (RUN_TEST_LOOP_f_f1): Likewise.
1319 (RUN_TEST_fF_f1): Likewise.
1320 (RUN_TEST_LOOP_fF_f1): Likewise.
1321 (RUN_TEST_fI_f1): Likewise.
1322 (RUN_TEST_LOOP_fI_f1): Likewise.
1323 (RUN_TEST_ffI_f1): Likewise.
1324 (RUN_TEST_LOOP_ffI_f1): Likewise.
1325 (RUN_TEST_c_c): Likewise.
1326 (RUN_TEST_LOOP_c_c): Likewise.
1327 (RUN_TEST_cc_c): Likewise.
1328 (RUN_TEST_LOOP_cc_c): Likewise.
1329 (RUN_TEST_f_i): Likewise.
1330 (RUN_TEST_LOOP_f_i): Likewise.
1331 (RUN_TEST_f_i_tg): Likewise.
1332 (RUN_TEST_LOOP_f_i_tg): Likewise.
1333 (RUN_TEST_ff_i_tg): Likewise.
1334 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1335 (RUN_TEST_f_b): Likewise.
1336 (RUN_TEST_LOOP_f_b): Likewise.
1337 (RUN_TEST_f_b_tg): Likewise.
1338 (RUN_TEST_LOOP_f_b_tg): Likewise.
1339 (RUN_TEST_f_l): Likewise.
1340 (RUN_TEST_LOOP_f_l): Likewise.
1341 (RUN_TEST_f_L): Likewise.
1342 (RUN_TEST_LOOP_f_L): Likewise.
1343 (RUN_TEST_sincos): Likewise.
1344 (RUN_TEST_LOOP_sincos): Likewise.
1345
8269107f
JM
13462013-05-17 Joseph Myers <joseph@codesourcery.com>
1347
bb38759d
JM
1348 [BZ #15480]
1349 [BZ #15485]
1350 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1351 main case of finite arguments, set rounding mode to FE_TONEAREST
1352 and discard exceptions.
1353 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1354 exceptions.
1355 (remainder_tonearest_test_data): New variable.
1356 (remainder_test_tonearest): New function.
1357 (remainder_towardzero_test_data): New variable.
1358 (remainder_test_towardzero): New function.
1359 (remainder_downward_test_data): New variable.
1360 (remainder_test_downward): New function.
1361 (remainder_upward_test_data): New variable.
1362 (remainder_test_upward): New function.
1363 (main): Call the new test functions.
1364
a00bdcf0
JM
1365 * math/libm-test.inc (struct test_f_f1_data): Remove field
1366 extra_init.
1367 (struct test_fF_f1_data): Likewise.
1368 (struct test_ffI_f1_data): Likewise.
1369 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1370 based on value of EXTRA_EXPECTED.
1371 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1372 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1373 EXTRA_VAR based on value of EXTRA_EXPECTED.
1374 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1375 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1376 EXTRA_VAR based on value of EXTRA_EXPECTED.
1377 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1378 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1379 EXTRA_VAR based on value of EXTRA_EXPECTED.
1380 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1381 * math/gen-libm-test.pl (parse_args): Don't output initializers
1382 for extra output values.
1383
de407f79
JM
1384 * math/libm-test.inc (check_int): Expect result to be exactly
1385 equal to expected value and do not handle ulps.
1386 (check_long): Likewise.
1387 (check_longlong): Likewise.
1388
8269107f
JM
1389 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1390 exceptions.
1391 (cimag_test_data): Likewise.
1392 (conj_test_data): Likewise.
1393 (copysign_test_data): Likewise.
1394 (cproj_test_data): Likewise.
1395 (creal_test_data): Likewise.
1396 (fabs_test_data): Likewise.
1397 (fdim_test_data): Likewise.
1398 (finite_test_data): Likewise.
1399 (floor_test_data): Likewise.
1400 (fmax_test_data): Likewise.
1401 (fmin_test_data): Likewise.
1402 (fmod_test_data): Likewise.
1403 (fpclassify_test_data): Likewise.
1404 (frexp_test_data): Likewise.
1405 (ilogb_test_data): Likewise.
1406 (isfinite_test_data): Likewise.
1407 (isgreater_test_data): Likewise.
1408 (isgreaterequal_test_data): Likewise.
1409 (isinf_test_data): Likewise.
1410 (isless_test_data): Likewise.
1411 (islessequal_test_data): Likewise.
1412 (islessgreater_test_data): Likewise.
1413 (isnan_test_data): Likewise.
1414 (isnormal_test_data): Likewise.
1415 (issignaling_test_data): Likewise.
1416 (isunordered_test_data): Likewise.
1417 (ldexp_test_data): Likewise.
1418 (lrint_test_data): Likewise.
1419 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1420 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1421 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1422 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1423 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1424 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1425 test input.
1426 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1427 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1428 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1429 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1430 that test input.
1431 (lrint_downward_test_data): Test for "inexact" exceptions.
1432 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1433 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1434 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1435 test input.
1436 (lrint_upward_test_data): Test for "inexact" exceptions.
1437 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1438 test input.
1439 (llrint_test_data): Test for "inexact" exceptions.
1440 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1441 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1442 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1443 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1444 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1445 (llrint_downward_test_data): Test for "inexact" exceptions.
1446 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1447 (llrint_upward_test_data): Test for "inexact" exceptions.
1448 (logb_test_data): Likewise.
1449 (logb_downward_test_data): Likewise.
1450 (nextafter_test_data): Likewise.
1451 (nexttoward_test_data): Likewise.
1452 (remainder_test_data): Likewise.
1453 (remquo_test_data): Likewise.
1454 (scalbn_test_data): Likewise.
1455 (scalbln_test_data): Likewise.
1456 (signbit_test_data): Likewise.
1457 (sqrt_test_data): Likewise.
1458 (significand_test_data): Likewise.
1459
48a18de1
SP
14602013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1461
1462 [BZ #15424]
1463 * benchtests/bench-modf.c (struct args): Mark arg0 as
1464 volatile.
1465 * scripts/bench.pl: Mark members of struct args as volatile.
1466
13d3b41a
AZ
14672013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1468
68191c1d 1469 [BZ # 15497]
13d3b41a
AZ
1470 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1471 negative infinity on POWER6 or lower.
1472 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1473
2848b105
MR
14742013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1475
1476 [BZ #15442]
1477 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1478 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1479 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1480 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1481 (_FP_SETQNAN): New macro.
1482 (_FP_SETQNAN_SEMIRAW): Likewise.
1483 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1484 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1485 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1486 (FP_EXTEND): Use _FP_FRAC_SNANP.
1487 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1488 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1489 into account.
1490 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1491 New macro.
1492 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1493 Likewise.
1494
323e5cb7
JM
14952013-05-16 Joseph Myers <joseph@codesourcery.com>
1496
c58b274f
JM
1497 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1498 with DIVIDE_BY_ZERO_EXCEPTION.
1499 (gamma_test_data): Likewise.
1500 (lgamma_test_data): Likewise.
1501 (log_test_data): Likewise.
1502 (log10_test_data): Likewise.
1503 (log2_test_data): Likewise.
1504 (tgamma_test_data): Likewise.
1505
0ab34904
JM
1506 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1507 (acos_test_tonearest): Likewise.
1508 (acos_test_towardzero): Likewise.
1509 (acos_test_downward): Likewise.
1510 (acos_test_upward): Likewise.
1511 (acosh_test): Likewise.
1512 (asin_test): Likewise.
1513 (asin_test_tonearest): Likewise.
1514 (asin_test_towardzero): Likewise.
1515 (asin_test_downward): Likewise.
1516 (asin_test_upward): Likewise.
1517 (asinh_test): Likewise.
1518 (atan_test): Likewise.
1519 (atanh_test): Likewise.
1520 (atan2_test): Likewise.
1521 (cabs_test): Likewise.
1522 (cacos_test): Likewise.
1523 (cacosh_test): Likewise.
1524 (casin_test): Likewise.
1525 (casinh_test): Likewise.
1526 (catan_test): Likewise.
1527 (catanh_test): Likewise.
1528 (cbrt_test): Likewise.
1529 (ccos_test): Likewise.
1530 (ccosh_test): Likewise.
1531 (cexp_test): Likewise.
1532 (clog_test): Likewise.
1533 (clog10_test): Likewise.
1534 (cos_test): Likewise.
1535 (cos_test_tonearest): Likewise.
1536 (cos_test_towardzero): Likewise.
1537 (cos_test_downward): Likewise.
1538 (cos_test_upward): Likewise.
1539 (cosh_test): Likewise.
1540 (cosh_test_tonearest): Likewise.
1541 (cosh_test_towardzero): Likewise.
1542 (cosh_test_downward): Likewise.
1543 (cosh_test_upward): Likewise.
1544 (cpow_test): Likewise.
1545 (csin_test): Likewise.
1546 (csinh_test): Likewise.
1547 (csqrt_test): Likewise.
1548 (ctan_test): Likewise.
1549 (ctan_test_tonearest): Likewise.
1550 (ctan_test_towardzero): Likewise.
1551 (ctan_test_downward): Likewise.
1552 (ctan_test_upward): Likewise.
1553 (ctanh_test): Likewise.
1554 (ctanh_test_tonearest): Likewise.
1555 (ctanh_test_towardzero): Likewise.
1556 (ctanh_test_downward): Likewise.
1557 (ctanh_test_upward): Likewise.
1558 (erf_test): Likewise.
1559 (erfc_test): Likewise.
1560 (exp_test): Likewise.
1561 (exp_test_tonearest): Likewise.
1562 (exp_test_towardzero): Likewise.
1563 (exp_test_downward): Likewise.
1564 (exp_test_upward): Likewise.
1565 (exp10_test): Likewise.
1566 (exp2_test): Likewise.
1567 (expm1_test): Likewise.
1568 (fmod_test): Likewise.
1569 (gamma_test): Likewise.
1570 (hypot_test): Likewise.
1571 (j0_test): Likewise.
1572 (j1_test): Likewise.
1573 (jn_test): Likewise.
1574 (lgamma_test): Likewise.
1575 (log_test): Likewise.
1576 (log10_test): Likewise.
1577 (log1p_test): Likewise.
1578 (log2_test): Likewise.
1579 (logb_test_downward): Likewise.
1580 (pow_test): Likewise.
1581 (pow_test_tonearest): Likewise.
1582 (pow_test_towardzero): Likewise.
1583 (pow_test_downward): Likewise.
1584 (pow_test_upward): Likewise.
1585 (remainder_test): Likewise.
1586 (remquo_test): Likewise.
1587 (sin_test): Likewise.
1588 (sin_test_tonearest): Likewise.
1589 (sin_test_towardzero): Likewise.
1590 (sin_test_downward): Likewise.
1591 (sin_test_upward): Likewise.
1592 (sincos_test): Likewise.
1593 (sinh_test): Likewise.
1594 (sinh_test_tonearest): Likewise.
1595 (sinh_test_towardzero): Likewise.
1596 (sinh_test_downward): Likewise.
1597 (sinh_test_upward): Likewise.
1598 (sqrt_test): Likewise.
1599 (tan_test): Likewise.
1600 (tan_test_tonearest): Likewise.
1601 (tan_test_towardzero): Likewise.
1602 (tan_test_downward): Likewise.
1603 (tan_test_upward): Likewise.
1604 (tanh_test): Likewise.
1605 (tgamma_test): Likewise.
1606 (y0_test): Likewise.
1607 (y1_test): Likewise.
1608 (yn_test): Likewise.
1609
323e5cb7
JM
1610 * math/gen-libm-test.pl (adjust_arg): Remove function.
1611 (special_function): Remove argument $in_func. Only handle
1612 generating output for tables of tests, not inside functions.
1613 (parse_args): Likewise.
1614 (generate_testfile): Remove variable $in_func. Update call to
1615 parse_args.
1616 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1617 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1618 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1619 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1620 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1621 (MAX_VALUE_INIT): Rename macro to max_value.
1622 (MIN_VALUE_INIT): Rename macro to min_value.
1623 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1624 (plus_zero): Remove variable.
1625 (minus_zero): Likewise.
1626 (plus_infty): Likewise.
1627 (minus_infty): Likewise.
1628 (qnan_value): Likewise.
1629 (max_value): Likewise.
1630 (min_value): Likewise.
1631 (min_subnorm_value): Likewise.
1632
e054f494
RA
16332013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1634
1635 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1636 uint64_t or uint32_t usage.
1637 * crypt/sha256-block.c: Likewise.
1638 * crypt/sha256-crypt.c: Likewise.
1639 * crypt/sha256.c: Likewise.
1640 * crypt/sha512-block.c: Likewise.
1641 * crypt/sha512-crypt.c: Likewise.
1642 * crypt/sha512.c: Likewise.
1643 * debug/backtrace-tst.c: Likewise.
1644 * debug/pcprofiledump.c: Likewise.
1645 * elf/cache.c: Likewise.
1646 * elf/dl-cache.c: Likewise.
1647 * elf/dl-misc.c: Likewise.
1648 * elf/dl-profile.c: Likewise.
1649 * elf/dl-support.c: Likewise.
1650 * elf/ldconfig.c: Likewise.
1651 * elf/sprof.c: Likewise.
1652 * iconv/dummy-repertoire.c: Likewise.
1653 * iconv/iconv_charmap.c: Likewise.
1654 * iconv/skeleton.c: Likewise.
1655 * iconvdata/8bit-generic.c: Likewise.
1656 * iconvdata/cp737.h: Likewise.
1657 * iconvdata/cp775.h: Likewise.
1658 * iconvdata/ibm1008.h: Likewise.
1659 * iconvdata/ibm1025.h: Likewise.
1660 * iconvdata/ibm1046.h: Likewise.
1661 * iconvdata/ibm1097.h: Likewise.
1662 * iconvdata/ibm1112.h: Likewise.
1663 * iconvdata/ibm1122.h: Likewise.
1664 * iconvdata/ibm1123.h: Likewise.
1665 * iconvdata/ibm1124.h: Likewise.
1666 * iconvdata/ibm1129.h: Likewise.
1667 * iconvdata/ibm1130.h: Likewise.
1668 * iconvdata/ibm1132.h: Likewise.
1669 * iconvdata/ibm1133.h: Likewise.
1670 * iconvdata/ibm1137.h: Likewise.
1671 * iconvdata/ibm1140.h: Likewise.
1672 * iconvdata/ibm1141.h: Likewise.
1673 * iconvdata/ibm1142.h: Likewise.
1674 * iconvdata/ibm1143.h: Likewise.
1675 * iconvdata/ibm1144.h: Likewise.
1676 * iconvdata/ibm1145.h: Likewise.
1677 * iconvdata/ibm1146.h: Likewise.
1678 * iconvdata/ibm1147.h: Likewise.
1679 * iconvdata/ibm1148.h: Likewise.
1680 * iconvdata/ibm1149.h: Likewise.
1681 * iconvdata/ibm1153.h: Likewise.
1682 * iconvdata/ibm1154.h: Likewise.
1683 * iconvdata/ibm1155.h: Likewise.
1684 * iconvdata/ibm1156.h: Likewise.
1685 * iconvdata/ibm1157.h: Likewise.
1686 * iconvdata/ibm1158.h: Likewise.
1687 * iconvdata/ibm1160.h: Likewise.
1688 * iconvdata/ibm1161.h: Likewise.
1689 * iconvdata/ibm1162.h: Likewise.
1690 * iconvdata/ibm1163.h: Likewise.
1691 * iconvdata/ibm1164.h: Likewise.
1692 * iconvdata/ibm1166.h: Likewise.
1693 * iconvdata/ibm1167.h: Likewise.
1694 * iconvdata/ibm12712.h: Likewise.
1695 * iconvdata/ibm1390.h: Likewise.
1696 * iconvdata/ibm1399.h: Likewise.
1697 * iconvdata/ibm16804.h: Likewise.
1698 * iconvdata/ibm4517.h: Likewise.
1699 * iconvdata/ibm4899.h: Likewise.
1700 * iconvdata/ibm4909.h: Likewise.
1701 * iconvdata/ibm4971.h: Likewise.
1702 * iconvdata/ibm5347.h: Likewise.
1703 * iconvdata/ibm803.h: Likewise.
1704 * iconvdata/ibm856.h: Likewise.
1705 * iconvdata/ibm901.h: Likewise.
1706 * iconvdata/ibm902.h: Likewise.
1707 * iconvdata/ibm9030.h: Likewise.
1708 * iconvdata/ibm9066.h: Likewise.
1709 * iconvdata/ibm921.h: Likewise.
1710 * iconvdata/ibm922.h: Likewise.
1711 * iconvdata/ibm9448.h: Likewise.
1712 * iconvdata/isiri-3342.h: Likewise.
1713 * iconvdata/jis0201.h: Likewise.
1714 * include/link.h: Likewise.
1715 * include/netdb.h: Likewise.
1716 * inet/check_native.c: Likewise.
1717 * inet/check_pf.c: Likewise.
1718 * inet/getipv4sourcefilter.c: Likewise.
1719 * inet/getnameinfo.c: Likewise.
1720 * inet/getsourcefilter.c: Likewise.
1721 * inet/htonl.c: Likewise.
1722 * inet/setipv4sourcefilter.c: Likewise.
1723 * inet/setsourcefilter.c: Likewise.
1724 * inet/test-inet6_opt.c: Likewise.
1725 * inet/tst-network.c: Likewise.
1726 * locale/C-collate.c: Likewise.
1727 * locale/C-ctype.c: Likewise.
1728 * locale/C-time.c: Likewise.
1729 * locale/C-translit.h: Likewise.
1730 * locale/loadarchive.c: Likewise.
1731 * locale/programs/3level.h: Likewise.
1732 * locale/programs/charmap.c: Likewise.
1733 * locale/programs/charmap.h: Likewise.
1734 * locale/programs/ld-address.c: Likewise.
1735 * locale/programs/ld-collate.c: Likewise.
1736 * locale/programs/ld-ctype.c: Likewise.
1737 * locale/programs/ld-identification.c: Likewise.
1738 * locale/programs/ld-measurement.c: Likewise.
1739 * locale/programs/ld-messages.c: Likewise.
1740 * locale/programs/ld-monetary.c: Likewise.
1741 * locale/programs/ld-name.c: Likewise.
1742 * locale/programs/ld-numeric.c: Likewise.
1743 * locale/programs/ld-paper.c: Likewise.
1744 * locale/programs/ld-telephone.c: Likewise.
1745 * locale/programs/ld-time.c: Likewise.
1746 * locale/programs/linereader.c: Likewise.
1747 * locale/programs/locale.c: Likewise.
1748 * locale/programs/locarchive.c: Likewise.
1749 * locale/programs/locfile.h: Likewise.
1750 * locale/programs/repertoire.c: Likewise.
1751 * locale/programs/simple-hash.c: Likewise.
1752 * locale/programs/simple-hash.h: Likewise.
1753 * malloc/memusage.c: Likewise.
1754 * malloc/memusagestat.c: Likewise.
1755 * nis/nis_defaults.c: Likewise.
1756 * nis/nis_hash.c: Likewise.
1757 * nis/nis_print.c: Likewise.
1758 * nis/nis_xdr.c: Likewise.
1759 * nscd/connections.c: Likewise.
1760 * nscd/hstcache.c: Likewise.
1761 * nscd/nscd_gethst_r.c: Likewise.
1762 * nscd/nscd_getserv_r.c: Likewise.
1763 * nscd/nscd_helper.c: Likewise.
1764 * nscd/servicescache.c: Likewise.
1765 * nss/makedb.c: Likewise.
1766 * nss/nss_db/db-XXX.c: Likewise.
1767 * nss/nss_db/db-initgroups.c: Likewise.
1768 * nss/nss_db/db-netgrp.c: Likewise.
1769 * nss/nss_files/files-network.c: Likewise.
1770 * nss/nss_files/files-parse.c: Likewise.
1771 * posix/bug-regex5.c: Likewise.
1772 * posix/fnmatch_loop.c: Likewise.
1773 * posix/regcomp.c: Likewise.
1774 * posix/regexec.c: Likewise.
1775 * posix/tst-rfc3484-2.c: Likewise.
1776 * posix/tst-rfc3484-3.c: Likewise.
1777 * posix/tst-rfc3484.c: Likewise.
1778 * resolv/nss_dns/dns-canon.c: Likewise.
1779 * resolv/nss_dns/dns-network.c: Likewise.
1780 * resolv/res_init.c: Likewise.
1781 * resolv/res_mkquery.c: Likewise.
1782 * resolv/tst-aton.c: Likewise.
1783 * stdlib/cxa_atexit.c: Likewise.
1784 * stdlib/cxa_finalize.c: Likewise.
1785 * stdlib/gen-fpioconst.c: Likewise.
1786 * stdlib/strtol_l.c: Likewise.
1787 * string/tst-endian.c: Likewise.
1788 * sunrpc/auth_des.c: Likewise.
1789 * sunrpc/clnt_udp.c: Likewise.
1790 * sunrpc/rtime.c: Likewise.
1791 * sunrpc/svcauth_des.c: Likewise.
1792 * sunrpc/xdr.c: Likewise.
1793 * sunrpc/xdr_intXX_t.c: Likewise.
1794 * sunrpc/xdr_rec.c: Likewise.
1795 * sysdeps/generic/ldconfig.h: Likewise.
1796 * sysdeps/generic/ldsodefs.h: Likewise.
1797 * sysdeps/generic/memusage.h: Likewise.
1798 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1799 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1800 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1801 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1802 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1803 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1804 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1805 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1806 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1807 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1808 * sysdeps/posix/getaddrinfo.c: Likewise.
1809 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1810 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1811 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1812 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1813 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1814 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1815 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1816 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1817 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1818 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1819 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1820 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1821 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1822 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1823 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1824 * sysdeps/x86_64/dl-tls.h: Likewise.
1825 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1826 * time/alt_digit.c: Likewise.
1827 * time/era.c: Likewise.
1828 * wcsmbs/tst-c16c32-1.c: Likewise.
1829
8c75f674
JM
18302013-05-16 Joseph Myers <joseph@codesourcery.com>
1831
1832 * math/libm-test.inc (struct test_sincos_data): New type.
1833 (RUN_TEST_LOOP_sincos): New macro.
1834 (sincos_test_data): New variable.
1835 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1836
e6e49e59
RH
18372013-05-16 Richard Henderson <rth@redhat.com>
1838
1839 * math/atest-exp2.c (LIMB64): New macro.
1840 (CONSTSZ): New macro.
1841 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1842 (hexdig): Move ...
1843 (print_mpn_fp): ... to function scope.
1844 (read_mpn_hex): Remove.
1845 (get_log2): Remove.
1846 (exp2_mpn): Use mp_log2.
1847 (main): Use mp_exp1.
1848
15c7c18d
JM
18492013-05-16 Joseph Myers <joseph@codesourcery.com>
1850
105a07df
JM
1851 * math/libm-test.inc: Remove comment about not testing "inexact"
1852 exceptions.
1853 (INEXACT_EXCEPTION): New macro.
1854 (NO_INEXACT_EXCEPTION): Likewise.
1855 (INVALID_EXCEPTION_OK): Update value.
1856 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1857 (OVERFLOW_EXCEPTION_OK): Likewise.
1858 (UNDERFLOW_EXCEPTION_OK): Likewise.
1859 (IGNORE_ZERO_INF_SIGN): Likewise.
1860 (ERRNO_UNCHANGED): Likewise.
1861 (ERRNO_EDOM): Likewise.
1862 (ERRNO_ERANGE): Likewise.
1863 (test_exceptions): Handle testing "inexact" exceptions.
1864 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1865 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1866 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1867 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1868 INEXACT_EXCEPTION.
1869 (rint_towardzero_test_data): Likewise.
1870 (rint_downward_test_data): Likewise.
1871 (rint_upward_test_data): Likewise.
1872
e9eee333
JM
1873 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1874 with OVERFLOW_EXCEPTION.
1875 (exp10_test_data): Likewise.
1876 (exp2_test_data): Likewise.
1877 (expm1_test_data): Likewise.
1878 (lgamma_test_data): Likewise.
1879 (pow_test_data): Likewise.
1880 (tgamma_test_data): Likewise.
1881 (yn_test_data): Remove duplicate test of overflow.
1882
1c38ff73
JM
1883 * math/libm-test.inc (struct test_cc_c_data): New type.
1884 (RUN_TEST_LOOP_cc_c): New macro.
1885 (cpow_test_data): New variable.
1886 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1887
15c7c18d
JM
1888 * math/libm-test.inc (struct test_f_L_data): New type.
1889 (RUN_TEST_LOOP_f_L): New macro.
1890 (llrint_test_data): New variable.
1891 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1892 (llrint_tonearest_test_data): New variable.
1893 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1894 (llrint_towardzero_test_data): New variable.
1895 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1896 (llrint_downward_test_data): New variable.
1897 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1898 (llrint_upward_test_data): New variable.
1899 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1900 (llround_test_data): New variable.
1901 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1902
f137ff13
PC
19032013-05-13 Peter Collingbourne <pcc@google.com>
1904
1905 * math/atest-exp2.c (get_log2): Remove const attribute.
1906
3608cb24
JM
19072013-05-15 Joseph Myers <joseph@codesourcery.com>
1908
1909 * math/libm-test.inc (struct test_f_l_data): New type.
1910 (RUN_TEST_LOOP_f_l): New macro.
1911 (lrint_test_data): New variable.
1912 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1913 (lrint_tonearest_test_data): New variable.
1914 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1915 (lrint_towardzero_test_data): New variable.
1916 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1917 (lrint_downward_test_data): New variable.
1918 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1919 (lrint_upward_test_data): New variable.
1920 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1921 (lround_test_data): New variable.
1922 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1923
39b1f617
PC
19242013-05-15 Peter Collingbourne <pcc@google.com>
1925
1deff3dc
PC
1926 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1927 (EXTRACT_WORDS64) Use where appropriate.
1928 (INSERT_WORDS64) Likewise.
1929
791f3ba0
PC
1930 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1931 constraints with x constraints.
1932 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1933
39b1f617
PC
1934 * malloc/obstack.c (_obstack_compat): Add initializer.
1935
12fba011
EM
19362013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1937
1938 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1939 si_trapno and add si_addr_lsb to _sifields.sigfault.
1940 (si_trapno): Remove macro.
1941 (si_addr_lsb): Define new macro.
1942 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1943
d369f531
JM
19442013-05-15 Joseph Myers <joseph@codesourcery.com>
1945
b861c6c4
JM
1946 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1947 instead of TEST_f_l.
1948 (llrint_test_tonearest): Likewise.
1949 (llrint_test_towardzero): Likewise.
1950 (llrint_test_downward): Likewise.
1951 (llrint_test_upward): Likewise.
1952 (llround_test): Likewise.
1953
7abeee12
JM
1954 * math/libm-test.inc (struct test_f_i_data): Add comment.
1955 (RUN_TEST_LOOP_f_b): New macro.
1956 (RUN_TEST_LOOP_f_b_tg): Likewise.
1957 (finite_test_data): New variable.
1958 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1959 (isfinite_test_data): New variable.
1960 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1961 (isinf_test_data): New variable.
1962 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1963 (isnan_test_data): New variable.
1964 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1965 (isnormal_test_data): New variable.
1966 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1967 (issignaling_test_data): New variable.
1968 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1969 (signbit_test_data): New variable.
1970 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1971
cbe8c4d3
JM
1972 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1973 with INVALID_EXCEPTION.
1974 (acosh_test_data): Likewise.
1975 (asin_test_data): Likewise.
1976 (atanh_test_data): Likewise.
1977 (fmod_test_data): Likewise.
1978 (log_test_data): Likewise.
1979 (log10_test_data): Likewise.
1980 (log2_test_data): Likewise.
1981 (pow_test_data): Likewise.
1982 (sqrt_test_data): Likewise.
1983 (y0_test_data): Likewise.
1984 (y1_test_data): Likewise.
1985 (yn_test_data): Likewise.
1986
5575c0e5
JM
1987 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1988 function contents.
1989
d369f531
JM
1990 * math/libm-test.inc (struct test_ff_i_data): New type.
1991 (RUN_TEST_LOOP_ff_i_tg): New macro.
1992 (isgreater_test_data): New variable.
1993 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1994 (isgreaterequal_test_data): New variable.
1995 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1996 (isless_test_data): New variable.
1997 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1998 (islessequal_test_data): New variable.
1999 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2000 (islessgreater_test_data): New variable.
2001 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2002 (isunordered_test_data): New variable.
2003 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2004
781fd748
DM
20052013-05-14 David S. Miller <davem@davemloft.net>
2006
2007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2008
87aa21df
JM
20092013-05-14 Joseph Myers <joseph@codesourcery.com>
2010
5e908270
JM
2011 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2012
f71172e5
JM
2013 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2014 extra_test to int.
2015 (struct test_f_i_data): Change type of max_ulp to int.
2016
8cfa635a
JM
2017 * math/libm-test.inc (test_ffI_f1_data): New type.
2018 (RUN_TEST_LOOP_ffI_f1): New macro.
2019 (remquo_test_data): New variable.
2020 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2021
2bcb36b2
JM
2022 * setjmp/tst-setjmp-fp.c: New file.
2023 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2024 (link-libm): New variable.
2025 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2026
acbd839a
JM
2027 * math/libm-test.inc (struct test_f_i_data): New type.
2028 (RUN_TEST_LOOP_f_i): New macro.
2029 (RUN_TEST_LOOP_f_i_tg): Likewise.
2030 (fpclassify_test_data): New variable.
2031 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2032 (ilogb_test_data): New variable.
2033 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2034
e414d745
JM
2035 * math/libm-test.inc (scalbln_test): Correct function name in END
2036 call.
2037
d9c2a0fd
JM
2038 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2039 (RUN_TEST_LOOP_fI_f1): New macro.
2040 (frexp_test_data): New variable.
2041 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2042
9dc9095d
JM
2043 * math/libm-test.inc (struct test_fF_f1_data): New type.
2044 (RUN_TEST_LOOP_fF_f1): New macro.
2045 (modf_test_data): New variable.
2046 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2047
87aa21df
JM
2048 * math/libm-test.inc (struct test_f_f1_data): New type.
2049 (RUN_TEST_LOOP_f_f1): New macro.
2050 (gamma_test_data): New variable.
2051 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2052 (lgamma_test_data): New variable.
2053 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2054
141af660
CD
20552013-05-13 Carlos O'Donell <carlos@redhat.com>
2056
2057 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2058 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2059 (main): Comment "tls" pseudo-hwcap.
2060
6d33265c
JM
20612013-05-13 Joseph Myers <joseph@codesourcery.com>
2062
68fc074c
JM
2063 * math/libm-test.inc (struct test_fl_f_data): New type.
2064 (RUN_TEST_LOOP_fl_f): New variable.
2065 (scalbln_test_data): New variable.
2066 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2067
243216e1
JM
2068 * math/libm-test.inc (struct test_fi_f_data): New type.
2069 (RUN_TEST_LOOP_fi_f): New macro.
2070 (ldexp_test_data): New variable.
2071 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2072 (scalbn_test_data): New variable.
2073 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2074
6a1992e2
JM
2075 * math/libm-test.inc (struct test_c_f_data): New type.
2076 (RUN_TEST_LOOP_c_f): New macro.
2077 (cabs_test_data): New variable.
2078 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2079 (carg_test_data): New variable.
2080 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2081 (cimag_test_data): New variable.
2082 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2083 (creal_test_data): New variable.
2084 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2085
0e400df5
JM
2086 * math/libm-test.inc (struct test_if_f_data): New type.
2087 (RUN_TEST_LOOP_if_f): New macro.
2088 (jn_test_data): New variable.
2089 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2090 (yn_test_data): New variable.
2091 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2092
6d33265c
JM
2093 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2094
f98ece5f
AZ
20952013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2096
2097 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2098 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2099
0f7d347b
SP
21002013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2101
43fe811b
SP
2102 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2103 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2104 (bench-deps): Add bench-timing.h.
2105 * benchtests-bench-skeleton.c: Include bench-timing.h.
2106 (main): Use TIMING_* macros instead of clock_gettime.
2107 * benchtests/bench-timing.h: New file.
2108
0f7d347b
SP
2109 [BZ #14582]
2110 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2111 Renamed from _LIB_VERSION.
2112 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2113
601a3a5f
JM
21142013-05-12 Joseph Myers <joseph@codesourcery.com>
2115
4f184d30
JM
2116 * math/libm-test.inc (struct test_fff_f_data): New type.
2117 (RUN_TEST_LOOP_fff_f): New macro.
2118 (fma_test_data): New variable.
2119 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2120 (fma_towardzero_test_data): New variable.
2121 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2122 (fma_downward_test_data): New variable.
2123 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2124 (fma_upward_test_data): New variable.
2125 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2126
08198877
JM
2127 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2128 (struct test_c_c_data): New type.
2129 (RUN_TEST_LOOP_c_c): New macro.
2130 (cacos_test_data): New variable.
2131 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2132 (cacosh_test_data): New variable.
2133 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2134 (casin_test_data): New variable.
2135 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2136 (casinh_test_data): New variable.
2137 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2138 (catan_test_data): New variable.
2139 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2140 (catanh_test_data): New variable.
2141 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2142 (ccos_test_data): New variable.
2143 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2144 (ccosh_test_data): New variable.
2145 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2146 (cexp_test_data): New variable.
2147 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2148 (clog_test_data): New variable.
2149 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2150 (clog10_test_data): New variable.
2151 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2152 (conj_test_data): New variable.
2153 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2154 (cproj_test_data): New variable.
2155 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2156 (csin_test_data): New variable.
2157 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2158 (csinh_test_data): New variable.
2159 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2160 (csqrt_test_data): New variable.
2161 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2162 (ctan_test_data): New variable.
2163 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2164 (ctan_tonearest_test_data): New variable.
2165 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2166 (ctan_towardzero_test_data): New variable.
2167 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2168 (ctan_downward_test_data): New variable.
2169 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2170 (ctan_upward_test_data): New variable.
2171 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2172 (ctanh_test_data): New variable.
2173 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2174 (ctanh_tonearest_test_data): New variable.
2175 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2176 (ctanh_towardzero_test_data): New variable.
2177 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2178 (ctanh_downward_test_data): New variable.
2179 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2180 (ctanh_upward_test_data): New variable.
2181 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2182 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2183 of BUILD_COMPLEX.
2184
601a3a5f
JM
2185 * math/libm-test.inc (struct test_ff_f_data): New type.
2186 (struct test_ff_f_data_nexttoward): Likewise.
2187 (RUN_TEST_LOOP_2_f): New macro.
2188 (RUN_TEST_LOOP_ff_f): Likewise.
2189 (atan2_test_data): New variable.
2190 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2191 (copysign_test_data): New variable.
2192 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2193 (fdim_test_data): New variable.
2194 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2195 (fmax_test_data): New variable.
2196 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2197 (fmin_test_data): New variable.
2198 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2199 (fmod_test_data): New variable.
2200 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2201 (hypot_test_data): New variable.
2202 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2203 (nextafter_test_data): New variable.
2204 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2205 (nexttoward_test_data): New variable.
2206 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2207 (pow_test_data): New variable.
2208 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2209 (pow_tonearest_test_data): New variable.
2210 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2211 (pow_towardzero_test_data): New variable.
2212 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2213 (pow_downward_test_data): New variable.
2214 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2215 (pow_upward_test_data): New variable.
2216 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2217 (remainder_test_data): New variable.
2218 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2219 (scalb_test_data): New variable.
2220 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2221 * sysdeps/i386/fpu/libm-test-ulps: Update.
2222
74c57478
JM
22232013-05-11 Joseph Myers <joseph@codesourcery.com>
2224
8329e4da
JM
2225 * math/libm-test.inc (fma_test): Use max_value instead of local
2226 variable fltmax.
2227 (nextafter_test): Likewise.
2228
74c57478
JM
2229 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2230 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2231 (acos_downward_test_data): New variable.
2232 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2233 (acos_upward_test_data): New variable.
2234 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2235 (acosh_test_data): New variable.
2236 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2237 (asin_test_data): New variable.
2238 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2239 (asin_tonearest_test_data): New variable.
2240 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2241 (asin_towardzero_test_data): New variable.
2242 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2243 (asin_downward_test_data): New variable.
2244 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2245 (asin_upward_test_data): New variable.
2246 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2247 (asinh_test_data): New variable.
2248 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2249 (atan_test_data): New variable.
2250 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2251 (atanh_test_data): New variable.
2252 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2253 (cbrt_test_data): New variable.
2254 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2255 (ceil_test_data): New variable.
2256 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2257 (cos_test_data): New variable.
2258 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2259 (cos_tonearest_test_data): New variable.
2260 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2261 (cos_towardzero_test_data): New variable.
2262 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2263 (cos_downward_test_data): New variable.
2264 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2265 (cos_upward_test_data): New variable.
2266 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2267 (cosh_test_data): New variable.
2268 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2269 (cosh_tonearest_test_data): New variable.
2270 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2271 (cosh_towardzero_test_data): New variable.
2272 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2273 (cosh_downward_test_data): New variable.
2274 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2275 (cosh_upward_test_data): New variable.
2276 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2277 (erf_test_data): New variable.
2278 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2279 (erfc_test_data): New variable.
2280 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2281 (exp_test_data): New variable.
2282 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2283 (exp_tonearest_test_data): New variable.
2284 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2285 (exp_towardzero_test_data): New variable.
2286 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2287 (exp_downward_test_data): New variable.
2288 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2289 (exp_upward_test_data): New variable.
2290 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2291 (exp10_test_data): New variable.
2292 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2293 (exp2_test_data): New variable.
2294 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2295 (expm1_test_data): New variable.
2296 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2297 (fabs_test_data): New variable.
2298 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2299 (floor_test_data): New variable.
2300 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2301 (j0_test_data): New variable.
2302 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2303 (j1_test_data): New variable.
2304 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2305 (log_test_data): New variable.
2306 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2307 (log10_test_data): New variable.
2308 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2309 (log1p_test_data): New variable.
2310 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2311 (log2_test_data): New variable.
2312 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2313 (logb_test_data): New variable.
2314 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2315 (logb_downward_test_data): New variable.
2316 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2317 (nearbyint_test_data): New variable.
2318 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2319 (rint_test_data): New variable.
2320 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2321 (rint_tonearest_test_data): New variable.
2322 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2323 (rint_towardzero_test_data): New variable.
2324 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2325 (rint_downward_test_data): New variable.
2326 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2327 (rint_upward_test_data): New variable.
2328 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2329 (round_test_data): New variable.
2330 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2331 (sin_test_data): New variable.
2332 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2333 (sin_tonearest_test_data): New variable.
2334 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2335 (sin_towardzero_test_data): New variable.
2336 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2337 (sin_downward_test_data): New variable.
2338 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2339 (sin_upward_test_data): New variable.
2340 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2341 (sinh_test_data): New variable.
2342 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2343 (sinh_tonearest_test_data): New variable.
2344 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2345 (sinh_towardzero_test_data): New variable.
2346 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2347 (sinh_downward_test_data): New variable.
2348 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2349 (sinh_upward_test_data): New variable.
2350 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2351 (sqrt_test_data): New variable.
2352 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2353 (tan_test_data): New variable.
2354 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2355 (tan_tonearest_test_data): New variable.
2356 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2357 (tan_towardzero_test_data): New variable.
2358 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2359 (tan_downward_test_data): New variable.
2360 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2361 (tan_upward_test_data): New variable.
2362 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2363 (tanh_test_data): New variable.
2364 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2365 (tgamma_test_data): New variable.
2366 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2367 (trunc_test_data): New variable.
2368 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2369 (y0_test_data): New variable.
2370 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2371 (y1_test_data): New variable.
2372 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2373 (significand_test_data): New variable.
2374 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2375
7187d844
CG
23762013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2377
2378 [BZ #12387]
2379 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2380
f63fae73
PT
23812013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2382
2383 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2384
8a67a4b3
AJ
23852013-05-10 Andreas Jaeger <aj@suse.de>
2386
2387 [BZ #15448]
2388 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2389 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2390
51df539d
JM
23912013-05-10 Joseph Myers <joseph@codesourcery.com>
2392
2393 * math/gen-libm-test.pl (adjust_arg): New function.
2394 (special_functions): Handle generating output in both functions
2395 and arrays.
2396 (parse_args): Likewise.
2397 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2398 $in_func argument to parse_args.
2399 * math/libm-test.inc (struct test_f_f_data): New type.
2400 (IF_ROUND_INIT_): New macro.
2401 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2402 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2403 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2404 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2405 (ROUND_RESTORE_): Likewise.
2406 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2407 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2408 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2409 (ROUND_RESTORE_FE_UPWARD): Likewise.
2410 (RUN_TEST_LOOP_f_f): New macro.
2411 (acos_test_data): New variable.
2412 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2413 (acos_tonearest_test_data): New variable.
2414 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2415
5c637fe5
SP
24162013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2417
2418 * benchtests/bench-skeleton.c (startup): Fix coding style.
2419
ab2b9461
JM
24202013-05-10 Joseph Myers <joseph@codesourcery.com>
2421
2422 [BZ #6809]
2423 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2424 negative infinity argument.
2425 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2426 negative infinity argument.
2427 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2428 negative infinity argument.
2429 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2430 domain errors.
2431
4c0fe6fe
FW
24322013-05-10 Florian Weimer <fweimer@redhat.com>
2433
2434 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2435 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2436 * iconv/iconv_prog.c (main): Likewise.
2437 * locale/programs/charmap-dir.c (charmap_readdir)
2438 (fopen_uncompressed): Likewise.
2439 * locale/programs/locfile.c (siblings_uncached)
2440 (write_locale_data): Use lstat64 instead of lstat.
2441 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2442 stat.
2443
a3375d29
AJ
24442013-05-10 Andreas Jaeger <aj@suse.de>
2445
2446 [BZ #15395]
2447 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2448 localization.
2449 Include <locale.h>.
2450
36129722
CD
24512013-05-09 Carlos O'Donell <carlos@redhat.com>
2452
2453 * elf/dl-close.c (_dl_close_worker): Add comments.
2454
faa7f811
JM
24552013-05-09 Joseph Myers <joseph@codesourcery.com>
2456
ed41ffef
JM
2457 [BZ #15359]
2458 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2459 high part of pi/2.
2460 (__ieee754_rem_pio2l): Update comments.
2461
d0213cd0
JM
2462 [BZ #15429]
2463 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2464 high part of pi/2.
2465 (__ieee754_rem_pio2l): Update comments.
2466
0d3e777a
JM
2467 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2468 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2469
24f56066
JM
2470 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2471 M_PI_4l.
2472
faa7f811
JM
2473 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2474 (M_PI_34_LOG10El): Likewise.
2475 (M_PI2_LOG10El): Likewise.
2476 (M_PI4_LOG10El): Likewise.
2477 (M_PI_LOG10El): Likewise.
2478
e9a5e0fd
AZ
24792013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2480
2481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2482
d8cd06db
JM
24832013-05-08 Joseph Myers <joseph@codesourcery.com>
2484
a0d9f9d7
JM
2485 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2486 (MINUS_ZERO_INIT): Likewise.
2487 (PLUS_INFTY_INIT): Likewise.
2488 (MINUS_INFTY_INIT): Likewise.
2489 (QNAN_VALUE_INIT): Likewise.
2490 (MAX_VALUE_INIT): Likewise.
2491 (MIN_VALUE_INIT): Likewise.
2492 (MIN_SUBNORM_VALUE_INIT): Likewise.
2493 (plus_zero): Initialize with PLUS_ZERO_INIT.
2494 (minus_zero): Initialize with MINUS_ZERO_INIT.
2495 (plus_infty): Initialize with PLUS_INFTY_INIT.
2496 (minus_infty): Initialize with MINUS_INFTY_INIT.
2497 (qnan_value): Initialize with QNAN_VALUE_INIT.
2498 (max_value): Initialize with MAX_VALUE_INIT.
2499 (min_value): Initialize with MIN_VALUE_INIT.
2500 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2501
ae08db3b
JM
2502 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2503 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2504 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2505 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2506
f44bf14a
JM
2507 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2508 (RUN_TEST_2_f): Likewise.
2509 (RUN_TEST_ff_f): Likewise.
2510 (RUN_TEST_fi_f): Likewise.
2511 (RUN_TEST_fl_f): Likewise.
2512 (RUN_TEST_fff_f): Likewise.
2513 (RUN_TEST_c_f): Likewise.
2514 (RUN_TEST_f_f1): Likewise.
2515 (RUN_TEST_fF_f1): Likewise.
2516 (RUN_TEST_fI_f1): Likewise.
2517 (RUN_TEST_ffI_f1): Likewise.
2518 (RUN_TEST_c_c): Likewise.
2519 (RUN_TEST_cc_c): Likewise.
2520 (RUN_TEST_f_i): Likewise.
2521 (RUN_TEST_f_i_tg): Likewise.
2522 (RUN_TEST_ff_i_tg): Likewise.
2523 (RUN_TEST_f_b): Likewise.
2524 (RUN_TEST_f_b_tg): Likewise.
2525 (RUN_TEST_f_l): Likewise.
2526 (RUN_TEST_f_L): Likewise.
2527 (RUN_TEST_sincos): Likewise.
2528 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2529 whether to show exceptions. Do not include ");\n" in return
2530 value.
2531 (special_functions): Output call to RUN_TEST_sincos instead of
2532 check_float calls. Update calls to new_test.
2533 (parse_args): Output call to single RUN_TEST_* macro instead of
2534 check_* calls and other assignments. Update calls to new_test.
2535
d8cd06db
JM
2536 [BZ #2546]
2537 [BZ #2560]
2538 [BZ #5159]
2539 [BZ #15426]
2540 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2541 input to result for tgamma overflow.
2542 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2543 (gamma_coeff): New variable.
2544 (NCOEFF): New macro.
2545 (gamma_positive): New function.
2546 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2547 underflow here. Use gamma_positive instead of exp (lgamma) for
2548 other arguments.
2549 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2550 (gamma_coeff): New variable.
2551 (NCOEFF): New macro.
2552 (gammaf_positive): New function.
2553 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2554 underflow here. Use gamma_positive instead of exp (lgamma) for
2555 other arguments.
2556 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2557 (gamma_coeff): New variable.
2558 (NCOEFF): New macro.
2559 (gammal_positive): New function.
2560 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2561 underflow here. Use gamma_positive instead of exp (lgamma) for
2562 other arguments.
2563 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2564 (gamma_coeff): New variable.
2565 (NCOEFF): New macro.
2566 (gammal_positive): New function.
2567 (__ieee754_gammal_r): Handle positive infinity, overflow and
2568 underflow here. Handle NaN the same as positive infinity. Remove
2569 check x < 0xffffffff for negative integers. Use gamma_positive
2570 instead of exp (lgamma) for other arguments.
2571 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2572 (gamma_coeff): New variable.
2573 (NCOEFF): New macro.
2574 (gammal_positive): New function.
2575 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2576 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2577 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2578 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2579 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2580 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2581 * sysdeps/generic/math_private.h (__gamma_productf): New
2582 prototype.
2583 (__gamma_product): Likewise.
2584 (__gamma_productl): Likewise.
2585 * math/Makefile (libm-calls): Add gamma_product.
2586 * math/libm-test.inc (tgamma_test): Add more tests.
2587 * sysdeps/i386/fpu/libm-test-ulps: Update.
2588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2589
bb7cf681
OB
25902013-05-08 Ondřej Bílka <neleai@seznam.cz>
2591
2592 * benchtests/bench-skeleton.c (main): Preheat CPU.
2593
ba853947
AJ
25942013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2595
2596 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2597
8347c74c
RM
25982013-05-07 Roland McGrath <roland@hack.frob.com>
2599
2600 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2601 and _dl_skip_args_internal.
2602
e8dd4791
CD
26032013-05-07 Carlos O'Donell <carlos@redhat.com>
2604
2605 * manual/message.texi (Message Translation): Talk about users.
2606 Message to key mapping impacts design.
2607
c7405830
RM
26082013-05-06 Roland McGrath <roland@hack.frob.com>
2609
a9173057
RM
2610 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2611
976e2f03
RM
2612 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2613
9723ffc5
RM
2614 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2615 * sysdeps/wordsize-64/glob64.c: ... here.
2616
962e6658
RM
2617 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2618 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2619 New macros.
2620
ee586a6d
RM
2621 * debug/getlogin_r_chk.c: Moved to ...
2622 * login/getlogin_r_chk.c: ... here.
2623 * debug/Makefile (routines): Move getlogin_r_chk to ...
2624 * login/Makefile (routines): ... here.
2625 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2626 * login/Versions (libc: GLIBC_2.4): ... here.
2627
355f9165
RM
2628 * io/poll.c (__poll): Renamed from poll.
2629 Add libc_hidden_def.
2630 (poll): Define as weak alias.
2631
bd9ffde6
RM
2632 * debug/ptsname_r_chk.c: Moved to ...
2633 * login/ptsname_r_chk.c: ... here.
2634 * debug/Makefile (routines): Move ptsname_r_chk to ...
2635 * login/Makefile (routines): ... here.
2636 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2637 * login/Versions (libc: GLIBC_2.4): ... here.
2638
8fb16a04
RM
2639 * posix/getlogin.c: Moved to ...
2640 * login/getlogin.c: ... here.
2641 * posix/getlogin_r.c: Moved to ...
2642 * login/getlogin_r.c: ... here.
2643 * posix/getlogin_r.c: Moved to ...
2644 * login/getlogin_r.c: ... here.
2645 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2646 * login/Makefile (routines): ... here.
2647 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2648 * login/Versions (libc: GLIBC_2.0): ... here.
2649
b99b892f
RM
2650 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2651 (setrlimit): Define as weak alias.
2652
c7405830
RM
2653 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2654 Call __ names for open, ftruncate, and close.
2655 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2656 (truncate): Define as weak alias.
2657
5bf96de5
JM
26582013-05-06 Joseph Myers <joseph@codesourcery.com>
2659
9ea3513c
JM
2660 * math/gen-libm-test.pl (parse_args): Initialize x before each
2661 test of frexp, modf and remquo.
2662
5bf96de5
JM
2663 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2664 test signgam value.
2665
16e616a7
AZ
26662013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2667
2668 [BZ #15418]
2669 [BZ #15419]
2670 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2671 internal tests.
2672 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2673
d5e82754
RM
26742013-05-06 Roland McGrath <roland@hack.frob.com>
2675
2676 * elf/dl-writev.h: New file.
2677 * elf/dl-misc.c: Include it.
2678 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2679 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2680
a7548d41
JM
26812013-05-04 Joseph Myers <joseph@codesourcery.com>
2682
b7dab1e4
JM
2683 * math/libm-test.inc (noXFails): Remove variable.
2684 (noXPasses): Likewise.
2685 (BUILD_COMPLEX_INT): Remove macro.
2686 (print_screen): Remove xfail argument.
2687 (print_screen_max_error): Likewise.
2688 (update_stats): Likewise.
2689 (print_max_error): Likewise. Update calls to other affected
2690 functions.
2691 (print_complex_max_error): Likewise.
2692 (test_single_exception): Update calls to print_screen.
2693 (test_single_errno): Likewise.
2694 (check_float_internal): Remove xfail argument. Update calls to
2695 other affected functions.
2696 (check_float): Likewise.
2697 (check_complex): Likewise.
2698 (check_int): Likewise.
2699 (check_long): Likewise.
2700 (check_bool): Likewise.
2701 (check_longlong): Likewise.
2702 (main): Don't print noXFails and noXPasses.
2703 * math/gen-libm-test.pl (top level): Don't mention expected
2704 failure handling in comment.
2705 (new_test): Don't handle expected failures.
2706 (parse_args): Don't mention expected failure handling in comment.
2707 (generate_testfile): Don't handle expected failures.
2708 (parse_ulps): Likewise.
2709 (print_ulps_file): Likewise.
2710 (get_failure): Remove function.
2711 (output_test): Don't handle expected failures.
2712 * make/README.libm-test: Don't mention expected failure handling.
2713
a7548d41
JM
2714 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2715 (minus_zero): Likewise.
2716 (plus_infty): Likewise.
2717 (minus_infty): Likewise.
2718 (qnan_value): Likewise.
2719 (max_value): Likewise.
2720 (min_value): Likewise.
2721 (min_subnorm_value): Likewise.
2722 (initialize): Do not initialize those variables dynamically.
2723
60bfd54c
RM
27242013-05-03 Roland McGrath <roland@hack.frob.com>
2725
cc0e6ed8
RM
2726 * io/open.c (__open_2): Moved to ...
2727 * io/open_2.c: ... this new file.
2728 * io/open64.c (__open64_2): Moved to ...
2729 * io/open64_2.c: ... this new file.
2730 * io/openat.c (__openat_2): Moved to ...
2731 * io/openat_2.c: ... this new file.
2732 * io/openat64.c (__openat64_2): Moved to ...
2733 * io/openat64_2.c: ... this new file.
2734 * io/Makefile (routines): Add them.
2735 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2736 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2737 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2738 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2739 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2740 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2741 (__openat64): Add hidden_ver.
2742 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2743 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2744
60bfd54c
RM
2745 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2746 Separately conditionalize setting of GLRO(dl_sysinfo) so
2747 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2748 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2749
83e7640f
AZ
27502013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2751
2752 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2753 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2754 definition.
2755 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2756 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2757 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2758 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2759 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2760
d5dc2af3
JM
27612013-05-03 Joseph Myers <joseph@codesourcery.com>
2762
c31a5b1e
JM
2763 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2764 test signgam value.
2765
d5dc2af3
JM
2766 * math/libm-test.inc (hypot_test): Do not use
2767 IGNORE_ZERO_INF_SIGN.
2768
164fd39d
AJ
27692013-05-03 Andreas Jaeger <aj@suse.de>
2770
2771 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2772 Linux 3.9.
2773 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2774 (PF_MAX): Adjust for VSOCK change.
2775
8237f48c
AZ
27762013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2777
2778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2779
9df02941
CD
27802013-05-02 Carlos O'Donell <carlos@redhat.com>
2781
2782 [BZ #15264]
2783 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2784 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2785 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2786
d422395e
DM
27872013-05-02 David S. Miller <davem@davemloft.net>
2788
2789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2790
a07c5731
OB
27912013-05-01 Ondřej Bílka <neleai@seznam.cz>
2792
2793 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2794
1324e37f
RM
27952013-05-01 Roland McGrath <roland@hack.frob.com>
2796
2797 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2798
0695940b
RS
27992013-05-01 Richard Smith <richard@metafoo.co.uk>
2800
bb5f27ad 2801 [BZ #14952]
0695940b
RS
2802 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2803 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2804 Use __attribute__ ((__gnu_inline__)).
2805 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2806 Don't use __attribute__ ((__gnu_inline__)).
2807
10de07f5
JM
28082013-05-01 Joseph Myers <joseph@codesourcery.com>
2809
2810 [BZ #15423]
2811 * math/s_catan.c (__catan): Handle small real or imaginary part of
2812 input specially to avoid spurious underflow.
2813 * math/s_catanf.c (__catanf): Likewise.
2814 * math/s_catanh.c (__catanh): Likewise.
2815 * math/s_catanhf.c (__catanhf): Likewise.
2816 * math/s_catanhl.c (__catanhl): Likewise.
2817 * math/s_catanl.c (__catanl): Likewise.
2818 * math/libm-test.inc (catan_test): Add more tests.
2819 (catanh_test): Likewise.
2820 * sysdeps/i386/fpu/libm-test-ulps: Update.
2821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2822
cb4d5414
AZ
28232013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2824
2825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2826
caf84319
JM
28272013-04-30 Joseph Myers <joseph@codesourcery.com>
2828
2829 [BZ #15416]
2830 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2831 accurately for denominator in atan2.
2832 * math/s_catanf.c (__catanf): Likewise.
2833 * math/s_catanh.c (__catanh): Likewise.
2834 * math/s_catanhf.c (__catanhf): Likewise.
2835 * math/s_catanhl.c (__catanhl): Likewise.
2836 * math/s_catanl.c (__catanl): Likewise.
2837 * math/libm-test.inc (catan_test): Add more tests.
2838 (catanh_test): Likewise.
2839 * sysdeps/i386/fpu/libm-test-ulps: Update.
2840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2841
d569c6ee
SP
28422013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2843
6dbe713d
SP
2844 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2845
f0ee064b
SP
2846 * benchtests/Makefile (bench): Remove slow benchmarks.
2847 * benchtests/atan-inputs: Add slow benchmark inputs.
2848 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2849 (BENCH_FUNC): Accept variant offset.
2850 (VARIANT): Define.
2851 * benchtests/bench-skeleton.c (main): Run benchmark for each
2852 variant.
2853 * benchtests/cos-inputs: Add slow benchmark inputs.
2854 * benchtests/exp-inputs: Likewise.
2855 * benchtests/pow-inputs: Likewise.
2856 * benchtests/sin-inputs: Likewise.
2857 * benchtests/slowatan-inputs: Remove.
2858 * benchtests/slowatan.c: Remove.
2859 * benchtests/slowcos-inputs: Remove.
2860 * benchtests/slowcos.c: Remove.
2861 * benchtests/slowexp-inputs: Remove.
2862 * benchtests/slowexp.c: Remove.
2863 * benchtests/slowpow-inputs: Remove.
2864 * benchtests/slowpow.c: Remove.
2865 * benchtests/slowsin-inputs: Remove.
2866 * benchtests/slowsin.c: Remove.
2867 * benchtests/slowtan-inputs: Remove.
2868 * benchtests/slowtan.c: Remove.
2869 * benchtests/tan-inputs: Add slow benchmark inputs.
2870 * scripts/bench.pl: Parse comments and directives.
2871
d569c6ee
SP
2872 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2873 in CPPFLAGS.
2874 ($(objpfx)bench-%.c): Remove *-ITER.
2875 * benchtests/bench-modf.c: Remove definition of ITER.
2876 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2877 (main): Loop for DURATION seconds instead of fixed number of
2878 iterations.
2879 * scripts/bench.pl: Don't expect iterations in parameters.
2880
a6a242fe
RM
28812013-04-29 Roland McGrath <roland@hack.frob.com>
2882
2883 * io/fchdir.c (__fchdir): Renamed from fchdir.
2884 (fchdir): Define as weak alias.
2885
f2da7793
JM
28862013-04-29 Joseph Myers <joseph@codesourcery.com>
2887
2888 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2889 (ERRNO_EDOM): Likewise.
2890 (ERRNO_ERANGE): Likewise.
2891 (noErrnoTests): New variable.
2892 (init_max_error): Set errno to 0.
2893 (test_single_errno): New function.
2894 (test_errno): Likewise.
2895 (check_float_internal): Call test_errno. Set errno to 0.
2896 (check_complex): Refer to errno tests in comment.
2897 (check_int): Call test_errno. Set errno to 0.
2898 (check_long): Likewise.
2899 (check_bool): Likewise.
2900 (check_longlong): Likewise.
2901 (cos_test): Use ERRNO_* flags for errno tests instead of
2902 check_int.
2903 (expm1_test): Likewise.
2904 (fmod_test): Likewise.
2905 (ilogb_test): Likewise.
2906 (lgamma_test): Likewise.
2907 (pow_test): Likewise.
2908 (remainder_test): Likewise.
2909 (sin_test): Likewise.
2910 (tan_test): Likewise.
2911 (yn_test): Likewise.
2912 (initialize): Set errno to 0.
2913 (main): Print number of errno tests.
2914 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2915
b1a36ceb
AJ
29162013-04-29 Andreas Jaeger <aj@suse.de>
2917
c3ed8088
AJ
2918 [BZ #15084]
2919 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2920 and RES_USEVC.
2921
f1a24198
AJ
2922 [BZ #15085]
2923 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2924 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2925 unimplemented.
2926
9ce3b2cb
AJ
2927 [BZ #15380]
2928 * stdlib/random.c (__initstate): Return NULL if
2929 __initstate fails.
2930
f1a24198 2931 [BZ #15086]
b1a36ceb
AJ
2932 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2933 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2934 RES_SNGLKUPREOP.
2935
7e7b6f36
AZ
29362013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2937
2938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2939
4d14f449
JM
29402013-04-29 Joseph Myers <joseph@codesourcery.com>
2941
2942 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2943 of individual tests.
2944 (casin_test): Likewise.
2945 (casinh_test): Likewise.
2946
5b4217d7
JM
29472013-04-27 Joseph Myers <joseph@codesourcery.com>
2948
2949 [BZ #15409]
2950 * math/s_catan.c (__catan): Handle arguments with large real or
2951 imaginary part separately without squaring.
2952 * math/s_catanf.c (__catanf): Likewise.
2953 * math/s_catanh.c (__catanh): Likewise.
2954 * math/s_catanhf.c (__catanhf): Likewise.
2955 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2956 and redefine.
2957 (__catanhl): Handle arguments with large real or imaginary part
2958 separately without squaring.
2959 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2960 and redefine.
2961 (__catanl): Handle arguments with large real or imaginary part
2962 separately without squaring.
2963 * math/libm-test.inc (catan_test): Add more tests.
2964 (catanh_test): Likewise.
2965 * sysdeps/i386/fpu/libm-test-ulps: Update.
2966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2967
4220c3ef
AJ
29682013-04-27 Andreas Jaeger <aj@suse.de>
2969
2970 [BZ #15007]
2971 * stdlib/stdlib.h: Update guards for qecvt.
2972 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2973 <stdlib.h>.
2974
4721b2d1
AM
29752013-04-27 Allan McRae <allan@archlinux.org>
2976
2977 * sysdeps/i386/fpu/libm-test-ulps: Update.
2978
f0302940
JM
29792013-04-26 Joseph Myers <joseph@codesourcery.com>
2980
9457fd95
JM
2981 [BZ #15406]
2982 * math/s_catan.c: Include <float.h>.
2983 (__catan): Ensure underflow exception occurs for underflowed
2984 result.
2985 * math/s_catanf.c: Include <float.h>.
2986 (__catanf): Ensure underflow exception occurs for underflowed
2987 result.
2988 * math/s_catanh.c: Include <float.h>.
2989 (__catanh): Ensure underflow exception occurs for underflowed
2990 result.
2991 * math/s_catanhf.c: Include <float.h>.
2992 (__catanhf): Ensure underflow exception occurs for underflowed
2993 result.
2994 * math/s_catanhl.c: Include <float.h>.
2995 (__catanhl): Ensure underflow exception occurs for underflowed
2996 result.
2997 * math/s_catanl.c: Include <float.h>.
2998 (__catanl): Ensure underflow exception occurs for underflowed
2999 result.
3000 * math/libm-test.inc (catan_test): Add more tests.
3001 (catanh_test): Likewise.
3002
f0302940
JM
3003 [BZ #15405]
3004 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3005 underflowed result.
3006 * math/s_ccoshf.c (__ccoshf): Likewise.
3007 * math/s_ccoshl.c (__ccoshl): Likewise.
3008 * math/s_csin.c (__csin): Likewise.
3009 * math/s_csinf.c (__csinf): Likewise.
3010 * math/s_csinh.c (__csinh): Likewise.
3011 * math/s_csinhf.c (__csinhf): Likewise.
3012 * math/s_csinhl.c (__csinhl): Likewise.
3013 * math/s_csinl.c (__csinl): Likewise.
3014 * math/libm-test.inc (ccos_test): Add more tests.
3015 (ccosh_test): Likewise.
3016 (csin_test): Likewise.
3017 (csinh_test): Likewise.
3018
aa630f59
AZ
30192013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3020
3021 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3022 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3023 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3024 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3025 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3026 powerpc/power5+/fpu folders.
3027 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3028
3029
1b835983
MT
30302013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3031
3032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3033
73709b26
JM
30342013-04-25 Joseph Myers <joseph@codesourcery.com>
3035
3036 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3037 additions to variable.
3038 [$(config-machine) = x86_64] (modules-names): Likewise.
3039 ($(objpfx)tst-audit3): Remove dependency.
3040 ($(objpfx)tst-audit3.out): Likewise.
3041 ($(objpfx)tst-audit4): Likewise.
3042 ($(objpfx)tst-audit4.out): Likewise.
3043 ($(objpfx)tst-audit5): Likewise.
3044 ($(objpfx)tst-audit5.out): Likewise.
3045 ($(objpfx)tst-audit6): Likewise.
3046 ($(objpfx)tst-audit6.out): Likewise.
3047 ($(objpfx)tst-audit7): Likewise.
3048 ($(objpfx)tst-audit7.out): Likewise.
3049 (tst-audit3-ENV): Remove variable.
3050 (tst-audit4-ENV): Likewise.
3051 (tst-audit5-ENV): Likewise.
3052 (tst-audit6-ENV): Likewise.
3053 (tst-audit7-ENV): Likewise.
3054 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3055 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3056 addition to variable.
3057 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3058 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3059 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3060 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3061 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3062 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3063 tst-audit3, tst-audit4 and tst-audit5.
3064 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3065 tst-audit6 and tst-audit7.
3066 [$(subdir) = elf] (modules-names): Add audit modules for those
3067 tests.
3068 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3069 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3070 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3071 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3072 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3073 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3074 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3075 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3076 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3077 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3078 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3079 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3080 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3081 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3082 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3083 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3084 Likewise.
3085 [$(subdir) = elf && $(config-cflags-avx) = yes]
3086 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3087 [$(subdir) = elf && $(config-cflags-avx) = yes]
3088 (CFLAGS-tst-auditmod4a.c): Likewise.
3089 [$(subdir) = elf && $(config-cflags-avx) = yes]
3090 (CFLAGS-tst-auditmod4b.c): Likewise.
3091 [$(subdir) = elf && $(config-cflags-avx) = yes]
3092 (CFLAGS-tst-auditmod6b.c): Likewise.
3093 [$(subdir) = elf && $(config-cflags-avx) = yes]
3094 (CFLAGS-tst-auditmod6c.c): Likewise.
3095 [$(subdir) = elf && $(config-cflags-avx) = yes]
3096 (CFLAGS-tst-auditmod7b.c): Likewise.
3097 * elf/tst-audit3.c: Move to ...
3098 * sysdeps/x86_64/tst-audit3.c: ... here.
3099 * elf/tst-audit4.c: Move to ...
3100 * sysdeps/x86_64/tst-audit4.c: ... here.
3101 * elf/tst-audit5.c: Move to ...
3102 * sysdeps/x86_64/tst-audit5.c: ... here.
3103 * elf/tst-audit6.c: Move to ...
3104 * sysdeps/x86_64/tst-audit6.c: ... here.
3105 * elf/tst-audit7.c: Move to ...
3106 * sysdeps/x86_64/tst-audit7.c: ... here.
3107 * elf/tst-auditmod3a.c: Move to ...
3108 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3109 * elf/tst-auditmod3b.c: Move to ...
3110 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3111 * elf/tst-auditmod4a.c: Move to ...
3112 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3113 * elf/tst-auditmod4b.c: Move to ...
3114 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3115 * elf/tst-auditmod5a.c: Move to ...
3116 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3117 * elf/tst-auditmod5b.c: Move to ...
3118 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3119 * elf/tst-auditmod6a.c: Move to ...
3120 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3121 * elf/tst-auditmod6b.c: Move to ...
3122 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3123 * elf/tst-auditmod6c.c: Move to ...
3124 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3125 * elf/tst-auditmod7a.c: Move to ...
3126 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3127 * elf/tst-auditmod7b.c: Move to ...
3128 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3129
1ef74943
PP
31302013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3131
3132 [BZ #15366]
3133 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3134 define unconditionally.
3135 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3136 define unconditionally.
3137 (INT8_C, INT16_C, etc.): Likewise.
3138
93fd48c5
MR
31392013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3140
ae9552cf
MR
3141 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3142 __ehdr_start with hidden visibility.
3143
93fd48c5
MR
3144 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3145
418601aa
CD
31462013-04-24 Carlos O'Donell <carlos@redhat.com>
3147
3148 * math/libm-test.inc (cos_test): Use accurate hex constants.
3149 (sincost_test): Likewise.
3150
2f38fbfe
JM
31512013-04-24 Joseph Myers <joseph@codesourcery.com>
3152
5e221800
JM
3153 * math/libm-test.inc (catan_test): Add more tests.
3154 (catanh_test): Likewise.
3155
77f143fd
JM
3156 * math/s_catanf.c (__catanf): Use suffixed floating-point
3157 constants.
3158 * math/s_catanhf.c (__catanhf): Likewise.
3159 * math/s_catanhl.c (__catanhl): Likewise.
3160 * math/s_catanl.c (__catanl): Likewise.
3161
2f38fbfe
JM
3162 [BZ #15394]
3163 * math/s_catan.c (__catan): Calculate imaginary part of result
3164 with log1p not log unless computing log of number close to 0.
3165 * math/s_catanf.c (__catanf): Likewise.
3166 * math/s_catanl.c (__catanl): Likewise.
3167 * math/s_catanh.c (__catanh): Calculate real part of result with
3168 log1p not log unless computing log of number close to 0.
3169 * math/s_catanhf.c (__catanhf): Likewise.
3170 * math/s_catanhl.c (__catanhl): Likewise.
3171 * math/libm-test.inc (catan_test): Add more tests.
3172 (catanh_test): Likewise.
3173 * sysdeps/i386/fpu/libm-test-ulps: Update.
3174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3175
45d69176
SP
31762013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3177
3178 * benchtests/Makefile: Mention files in which fast and slow
3179 paths of math functions are implemented.
3180
87f51853
RM
31812013-04-23 Roland McGrath <roland@hack.frob.com>
3182
3183 * sysdeps/posix/timespec_get.c: New file.
3184
3c026539
AZ
31852013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3186
3187 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3188 POWER.
3189 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3190 for POWER.
3191 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3192 powerpc/power5/fpu folders.
3193 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3194 * benchtests/Makefile: Add modf testcase.
3195 * benchtests/bench-modf.c: New file: Benchmark test for mo
3196
ff491d14
SP
31972013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3198
3199 [BZ #14888]
3200 * time/Makefile (tests): Add tst-strptime-whitespace.
3201 * time/strptime_l.c (get_number): Use ISSPACE.
3202 (__strptime_internal): Likewise.
3203 * time/tst-strptime-whitespace.c: New test case.
3204
7ed3f4e8
AS
32052013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3206
3207 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3208 member.
3209 (_nss_files_init): Set it here.
3210
5c95f7b6
HC
32112013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3212
3213 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3214 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3215 unsigned.
3216
d34c9158
JBG
32172013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3218
3219 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3220
2169712d
SP
32212013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3222
3223 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3224 size just once.
3225
29c5de99
DM
32262013-04-21 David S. Miller <davem@davemloft.net>
3227
3228 * po/ru.po: Update Russion translation from translation project.
3229
ccdad15d
AC
32302013-04-17 Adam Conrad <adconrad@0c3.net>
3231
3232 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3233 and setfsgid.
3234
0f122b8d
CD
32352013-04-17 Carlos O'Donell <carlos@redhat.com>
3236
5c5b07da 3237 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3238 * configure: Regenerate.
5c5b07da 3239 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3240 Add example to error message.
3241 * sysdeps/i386/configure: Regenerate.
3242
037714dd
SP
32432013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3244
3245 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3246 slowtan.
3247 * benchtests/cos-inputs: New file.
3248 * benchtests/slowcos-inputs: New file.
3249 * benchtests/slowcos.c: New file.
3250 * benchtests/slowtan-inputs: New file.
3251 * benchtests/slowtan.c: New file.
3252 * benchtests/tan-inputs: New file.
3253
e913141d
RM
32542013-04-16 Roland McGrath <roland@hack.frob.com>
3255
3256 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3257 considered kosher.
3258
a2964074
SP
32592013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3260
4856bcd2
SP
3261 * benchtests/Makefile: Include cppflags-iterator.mk to add
3262 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3263
a2964074
SP
3264 * Makefile.in (bench-clean): New target.
3265 * benchtests/Makefile (bench-clean): Likewise.
3266
9fbf9aca
DH
32672013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3268
3269 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3270
207d1e2a
TS
32712013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3272
3273 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3274
306dfba9
AS
32752013-04-15 Andreas Schwab <schwab@suse.de>
3276
3277 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3278 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3279 * nscd/pwdcache.c (cache_addpw): Likewise.
3280 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3281 more than recsize.
3282
206a6699
SP
32832013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3284
3285 * benchtests/Makefile (bench): Write all output to
3286 bench-out.tmp together.
3287
0582f6b3
AS
32882013-04-15 Andreas Schwab <schwab@suse.de>
3289
3290 * nscd/nscd.c (main): Don't fork again after closing files.
3291
acb4325f
SP
32922013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3293
5cb26d0a
SP
3294 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3295
acb4325f
SP
3296 * benchtests/Rules (bench-deps): Collect dependencies into a
3297 single variable. Add Makefile to dependencies.
3298 ($(objpfx)bench-%.c): Depend on bench-deps.
3299
47792506
RM
33002013-04-12 Roland McGrath <roland@hack.frob.com>
3301 Xavier Roche <roche+kml2@exalead.com>
3302
3303 [BZ #15361]
3304 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3305 just that it's a file descriptor.
3306 * manual/llio.texi (Synchronizing AIO Operations): Update description
3307 for EBADF error from aio_fsync.
3308
8fc1bee5
SP
33092013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3310
3311 * Rules (bench): Move target definition...
3312 * benchtests/Makefile: ... here.
3313
aba5e333
CD
33142013-04-11 Carlos O'Donell <carlos@redhat.com>
3315
3316 * math/libm-test.inc (cos_test): Fix PI/2 test.
3317 (sincos_test): Likewise.
3318 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3319 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3320
273cdee8
AS
33212013-04-11 Andreas Schwab <schwab@suse.de>
3322
6ecec3b6
AS
3323 [BZ #13988]
3324 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3325 accept exponent character only when digits were seen.
3326 * stdio-common/Makefile (tests): Add bug26.
3327 * stdio-common/bug26.c: New file.
3328
273cdee8
AS
3329 [BZ #14293]
3330 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3331 non-freeable.
3332
8da491f5
SP
33332013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3334
01dc6df9
SP
3335 * Makeconfig (rtld-prefix): Define built linker prefix.
3336 * Rules (run-bench): Use it.
3337 * math/Makefile (run-regen-ulps): Likewise.
3338
8da491f5
SP
3339 * Rules (bench): Remove eval.
3340
abe7f530
SP
33412013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3342 Roland McGrath <roland@hack.frob.com>
3343 Ondrej Bilka <neleai@seznam.cz>
3344
3345 [BZ #15346]
3346 * time/getdate.c: Include ctype.h and alloca.h.
3347 (__getdate_r): Trim leading and trailing spaces of input.
3348 * time/tst-getdate.c (tests): Add tests with leading and
3349 trailing spaces.
3350
61c23e62
RM
33512013-04-08 Roland McGrath <roland@hack.frob.com>
3352
3353 [BZ #14280]
3354 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3355 when computing value.
3356
7208a313
CD
33572013-04-06 Carlos O'Donell <carlos@redhat.com>
3358
085b2d41
CD
3359 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3360 Use testrun.sh to run libm tests.
3361
7208a313
CD
3362 [BZ #15309]
3363 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3364
872c0acd
MM
33652013-04-06 Marko Myllynen <myllynen@redhat.com>
3366
3367 [BZ #15264]
3368 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3369
26510bdd
CD
33702013-04-06 Carlos O'Donell <carlos@redhat.com>
3371
3372 * Makefile.in (regen-ulps): New target.
3373 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3374 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3375 [ifneq (no,$(PERL)] (regen-ulps): New target.
3376 [ifeq (no,$(PERL)] (regen-ulps): New target.
3377 * math/libm-test.inc (ulps_file_name): Define.
3378 (output_dir): New variable.
3379 (options): Add "output-dir" option.
3380 (parse_opt): Handle 'o' case.
3381 (main): If output_dir is non-NULL use it as a prefix
3382 otherwise use "".
3383 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3384
a01f19c8
CD
33852013-04-06 Carlos O'Donell <carlos@redhat.com>
3386
3387 [BZ #10060, #10062]
3388 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3389 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3390 fail configure if __sync_val_compare_and_swap is not inlined.
3391 * sysdeps/i386/configure: Regenerate.
3392 * configure.in: Build for i686 when configured for i386.
3393 * configure: Regenerate.
3394 * README: Remove i386 reference.
3395
b7a329a5
CD
33962013-04-06 Carlos O'Donell <carlos@redhat.com>
3397
3398 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3399 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3400
bf0f50df
TS
34012013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3402
ee091edf
TS
3403 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3404 (lmsnanval): New variables.
3405 (F): Add conversion tests.
3406 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3407 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3408
a8b792d6
TS
3409 * stdio-common/tstdiomisc.c (F): Properly collect individual
3410 tests' results.
3411
a1cbf437
TS
3412 [BZ #14686, #15336]
3413 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3414 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3415 Instead, use input NaN values or generate a qNaN by arithmetic
3416 operation. Also fix bugs to comply with the standard.
3417 * math/libm-test.inc (remainder_test): Add more tests.
3418
8b43a0c9
TS
3419 [BZ #15335, #15342]
3420 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3421 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3422 input NaN values or generate a qNaN by arithmetic operation.
3423
d91da4ce
TS
3424 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3425 unreachable code.
3426
bf0f50df
TS
3427 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3428 definitions.
3429
05e166c8
JM
34302013-04-03 Joseph Myers <joseph@codesourcery.com>
3431
3432 [BZ #14478]
3433 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3434 underflowed result.
3435 * math/s_cexpf.c (__cexpf): Likewise.
3436 * math/s_cexpl.c (__cexpl): Likewise.
3437 * math/libm-test.inc (cexp_test): Add more tests.
3438
1cef1b19
AS
34392013-04-03 Andreas Schwab <schwab@suse.de>
3440
3441 [BZ #15330]
3442 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3443 order arrays from heap if bigger than alloca cutoff.
3444
74d87055
TS
34452013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3446
3447 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3448 (SNAN_TESTS_double): Refer to GCC PR56831.
3449 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3450 GCC PR56828.
3451
d755bba4
SP
34522013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3453
90d5d5bb
SP
3454 * Rules (bench): Move bench.out after the run is complete.
3455
73e0cd5d
SP
3456 * Rules (bench): Echo currently running benchmark.
3457
64aabd4b
SP
3458 * benchtests/Makefile (bench): Add atan and slowatan.
3459 * benchtests/atan-inputs: New file.
3460 * benchtests/slowatan-inputs: New file.
3461 * benchtests/slowatan.c: New file.
3462
c871eccd
SP
3463 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3464 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3465 its value.
3466
d755bba4
SP
3467 [BZ #15305]
3468 * sysdeps/unix/sysv/linux/kernel-features.h
3469 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3470 __ASSUME_XFS_RESTRICTED_CHOWN.
3471 * sysdeps/unix/sysv/linux/pathconf.c
3472 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3473 Save and restore errno.
3474
52ce4860
JM
34752013-04-02 Joseph Myers <joseph@codesourcery.com>
3476
3477 [BZ #15327]
3478 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3479 arguments using __kernel_casinh.
3480 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3481 arguments using __kernel_casinhf.
3482 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3483 arguments using __kernel_casinhl.
3484 * math/libm-test.inc (cacosh_test): Add more tests.
3485 * sysdeps/i386/fpu/libm-test-ulps: Update.
3486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3487
81f311c2
SP
34882013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3489
e7906a47
SP
3490 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3492
92e3664b
SP
3493 * bench/Makefile (bench): Add sin and slowsin.
3494 * benchtests/sin-inputs: New file.
3495 * benchtests/slowsin-inputs: New file.
3496 * benchtests/slowsin.c: New file.
3497
81f311c2
SP
3498 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3499 (bench): Add slowexp and slowpow.
3500 (exp-ITER): Increase iterations.
3501 (pow-ITER): Likewise.
3502 * benchtests/exp-inputs: Change input.
3503 * benchtests/pow-inputs: Likewise.
3504 * benchtests/slowexp-inputs: New file.
3505 * benchtests/slowexp.c: New file.
3506 * benchtests/slowpow-inputs: New file.
3507 * benchtests/slowpow.c: New file.
3508
ab0f1aa9
AZ
35092013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3510
3511 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3512 instructions.
3513 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3514 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3515 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3516 * benchtests/Makefile: Add rint benchtest.
3517 * benchtests/rint-inputs: Input for rint benchtest.
3518
57267616
TS
35192013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3520
3521 * Versions.def (libm): Add GLIBC_2.18.
3522 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3523 hidden libm prototypes.
3524 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3525 * math/Makefile (libm-calls): Add s_issignaling.
3526 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3527 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3528 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3529 declaration.
3530 * math/math.h [__USE_GNU] (issignaling): New macro.
3531 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3532 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3533 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3534 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3535 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3536 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3537 * manual/arith.texi (issignaling): New section.
3538 * manual/libm-err-tab.pl (@all_functions): Update comment.
3539 * math/gen-libm-test.pl (parse_args): Apply special handling for
3540 issignaling.
3541 * math/libm-test.inc (print_float, issignaling_test): New
3542 functions.
3543 (check_float_internal): Add issignaling checks.
3544 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3545 default definition.
3546 * sysdeps/powerpc/math-tests.h: New file.
3547 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3548 tests.
3549 * math/test-snan.c (TEST_FUNC): Likewise.
3550
6142896d
DM
35512013-03-30 David S. Miller <davem@davemloft.net>
3552
3553 * po/de.po: Update from translation team.
3554
ccc8cadf
JM
35552013-03-30 Joseph Myers <joseph@codesourcery.com>
3556
3557 [BZ #10357]
3558 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3559 imaginary part less than 1.0 and real part less than 0.5
3560 specially.
3561 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3562 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3563 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3564 (cacos_test): Add more tests.
3565 (casin_test): Likewise.
3566 (casinh_test): Likewise.
3567 * sysdeps/i386/fpu/libm-test-ulps: Update.
3568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3569
0f6a8d4b
SP
35702013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3571
0d1029de
SP
3572 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3573 ONE with its value.
3574
c2d94018
SP
3575 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3576 (__pow_mp): Replace ONE and MONE with their values.
3577 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3578 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3579 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3580 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3581 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3582 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3583
27ec37f1
SP
3584 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3585
a64d7e0e
SP
3586 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3587 (__pow_mp): Replace ZERO and MZERO with their values.
3588 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3589 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3590 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3591 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3592 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3593 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3594 (__sqr): Likewise.
3595
d26dd3eb
SP
3596 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3597
0f6a8d4b
SP
3598 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3599
e57b0c61
RM
36002013-03-28 Roland McGrath <roland@hack.frob.com>
3601
3602 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3603 Declare with __attribute__ ((weak)).
3604 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3605 Call __call_tls_dtors only if it's not NULL.
3606
356b3480
RM
36072013-03-28 Roland McGrath <roland@hack.frob.com>
3608
288f7d79
RM
3609 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3610 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3611 magic __ehdr_start linker symbol if it's defined.
3612 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3613 them up here if it was already done.
3614
dc0a0263
RM
3615 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3616 (_dl_aux_init): Use const in cast when setting it.
3617 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3618 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3619 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3620
3d3436ae
RM
3621 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3622 Declare them here.
3623 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3624 * csu/libc-tls.c: Nor here.
3625 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3626
356b3480
RM
3627 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3628 (__libc_message): Never call vsyslog.
3629
b0f1246a
AM
36302013-03-28 Alan Modra <amodra@gmail.com>
3631
3632 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3633 Define as empty.
3634 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3635 Likewise.
3636
fbbe2b9a
AZ
36372013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3638
3639 [BZ #15214]
3640 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3641 underflow.
3642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3643
1728ab37
SP
36442013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3645
7a86be6e
SP
3646 [BZ #15304]
3647 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3648 Don't add gid passed as argument.
3649
1728ab37
SP
3650 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3651
3a7182a1
JM
36522013-03-27 Joseph Myers <joseph@codesourcery.com>
3653
3654 [BZ #15307]
3655 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3656 imaginary part between 1.0 and 1.5 and real part less than 0.5
3657 specially.
3658 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3659 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3660 * math/libm-test.inc (cacos_test): Add more tests.
3661 (casin_test): Likewise.
3662 (casinh_test): Likewise.
3663 * sysdeps/i386/fpu/libm-test-ulps: Update.
3664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3665
6f2e90e7
SP
36662013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3667
5739f705
SP
3668 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3669 constants.
3670 (norm): Likewise.
3671 (denorm): Likewise.
3672 (__dbl_mp): Likewise.
3673 (add_magnitudes): Likewise.
3674 (sub_magnitudes): Likewise.
3675 (__add): Likewise.
3676 (__sub): Likewise.
3677 (__mul): Likewise.
3678 (__sqr): Likewise.
3679 (__inv): Likewise.
3680 (__dvd): Likewise.
3681
e375e83d
SP
3682 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3683 commented code.
3684 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3685 (__dubcos): Likewise.
3686 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3687 (__ieee754_acos): Likewise.
3688 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3689 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3690 (__exp1): Likewise.
3691 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3692 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3693 (log1): Likewise.
3694 (my_log2): Likewise.
3695 (checkint): Likewise.
3696 * sysdeps/ieee754/dbl-64/e_remainder.c
3697 (__ieee754_remainder): Likewise.
3698 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3699 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3700 (bsloww): Likewise.
3701 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3702
6f2e90e7
SP
3703 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3704 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3705 MANTISSA_STORE_T to store computations on mantissa. Use
3706 macros for rounding and division.
3707 (denorm): Likewise.
3708 (__dbl_mp): Likewise.
3709 (add_magnitudes): Likewise.
3710 (sub_magnitudes): Likewise.
3711 (__mul): Likewise.
3712 (__sqr): Likewise.
3713 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3714 powers of two in terms of TWOPOW macro.
3715 (mp_no): Make type of mantissa as MANTISSA_T.
3716 [!RADIXI]: Define RADIXI.
3717 [!TWO52]: Define TWO52.
3718 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3719
fce14d4e
AZ
37202013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3721
3722 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3723 llroundl symbol when building for PPC32.
3724
9ad027fb
MW
37252013-03-24 Mark H Weaver <mhw@netris.org>
3726
3727 * manual/arith.texi (Normalization Functions): Fix prototypes for
3728 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3729
e42a38dd
AZ
37302013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3731
3732 [BZ #13889]
3733 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3734 high value to check if expl overflow.
3735 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3736 to check for underflow and overflow.
3737 * math/libm-test.inc: Add exp test.
3738
2e0fb521
DL
37392013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3740
3741 [BZ #11120]
3742 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3743 with NOT_IN_libc.
3744
b5784d95
AZ
37452013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3746
3747 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3748 symbol.
3749
5aa4a1a1
TS
37502013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3751
bdef0be7
TS
3752 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3753 wrap blocks consisting of several statements.
3754
5aa4a1a1
TS
3755 * sysdeps/generic/math-tests.h: New file.
3756 * sysdeps/i386/fpu/math-tests.h: Likewise.
3757 * math/test-snan.c: Include it.
3758 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3759
98c48fe5
JM
37602013-03-21 Joseph Myers <joseph@codesourcery.com>
3761
3762 [BZ #15285]
3763 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3764 (__ieee754_j0l): Do not improve calculations using cos of twice
3765 input for inputs above LDBL_MAX / 2.0L.
3766 (__ieee754_y0l): Likewise.
3767 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3768 (__ieee754_j1l): Do not improve calculations using cos of twice
3769 input for inputs above LDBL_MAX / 2.0L.
3770 (__ieee754_y1l): Likewise.
3771 * math/libm-test.inc (j0_test): Add another test.
3772 (j1_test): Likewise.
3773 (y0_test): Likewise.
3774 (y1_test): Likewise.
3775 * sysdeps/i386/fpu/libm-test-ulps: Update.
3776
3775a8bc
SP
37772013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3778
3779 * Rules ($(objpfx)bench-%.c): Include code from a C source
3780 file.
3781
0a1b2ae6
JM
37822013-03-21 Joseph Myers <joseph@codesourcery.com>
3783
3784 [BZ #15287]
3785 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3786 imaginary part 1.0 and real part less than 0.5 specially.
3787 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3788 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3789 * math/libm-test.inc (cacos_test): Add more tests.
3790 (casin_test): Likewise.
3791 (casinh_test): Likewise.
3792 * sysdeps/i386/fpu/libm-test-ulps: Update.
3793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3794
b33d4ce4
SP
37952013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3796
3797 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3798 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3799
bef0b507
JM
38002013-03-20 Joseph Myers <joseph@codesourcery.com>
3801
3802 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3803 * config.make.in (config-cflags-sse4): Remove variable.
3804 (config-cflags-avx): Likewise.
3805 (config-cflags-sse2avx): Likewise.
3806 (config-cflags-novzeroupper): Likewise.
3807 (config-asflags-i686): Likewise.
3808 (have-mfma4): Likewise.
3809 (have-as-vis3): Likewise.
3810 (MIG): Likewise.
3811 * configure.in (MIG): Do not AC_SUBST.
3812 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3813 (libc_cv_cc_sse4): Do not AC_SUBST.
3814 (libc_cv_cc_avx): Likewise.
3815 (libc_cv_cc_sse2avx): Likewise.
3816 (libc_cv_cc_novzeroupper): Likewise.
3817 (libc_cv_cc_fma4): Likewise.
3818 (libc_cv_as_i686): Likewise.
3819 (libc_cv_sparc_as_vis3): Likewise.
3820 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3821 LIBC_CONFIG_VAR.
3822 (config-asflags-i686): Likewise.
3823 (config-cflags-avx): Likewise.
3824 (config-cflags-sse2avx): Likewise.
3825 (have-mfma4): Likewise.
3826 (config-cflags-novzeroupper): Likewise.
3827 * sysdeps/mach/configure.in (MIG): Likewise.
3828 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3829 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3830 LIBC_CONFIG_VAR.
3831 (config-cflags-avx): Likewise.
3832 (config-cflags-sse2avx): Likewise.
3833 (have-mfma4): Likewise.
3834 (config-cflags-novzeroupper): Likewise.
3835 * configure: Regenerated.
3836 * sysdeps/i386/configure: Likewise.
3837 * sysdeps/mach/configure: Likewise.
3838 * sysdeps/sparc/configure: Likewise.
3839 * sysdeps/x86_64/configure: Likewise.
3840
912cc4b3
RM
38412013-03-20 Roland McGrath <roland@hack.frob.com>
3842
3843 [BZ #14812]
3844 * locale/programs/localedef.c (options): Put N_ translation marker
3845 on argument names, not just descriptions.
3846
04eed2b0
MS
38472013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3848
3849 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3850
a065ceff
OB
38512013-03-20 Ondřej Bílka <neleai@seznam.cz>
3852
9bb2a810 3853 [BZ #14176]
a065ceff
OB
3854 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3855
a600e5ce
RM
38562013-03-19 Roland McGrath <roland@hack.frob.com>
3857
3858 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3859 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3860 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3861 [!BEFORE_ABORT] (before_abort): New function.
3862 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3863 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3864 (writev_for_fatal): New function.
3865 (WRITEV_FOR_FATAL): New macro; call that.
3866 (backtrace_and_maps): New function.
3867 (BEFORE_ABORT): New macro; call that.
3868 (struct str_list): Type removed.
3869 (__libc_message, __libc_fatal): Functions removed.
3870 Include <sysdeps/posix/libc_fatal.c> instead.
3871
6b18bea6
JM
38722013-03-19 Joseph Myers <joseph@codesourcery.com>
3873
3874 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3875 constants.
3876 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3877 double constants.
3878
aaa8cb4b
AS
38792013-03-19 Andreas Schwab <schwab@suse.de>
3880
44673770
AS
3881 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3882 * sysdeps/gnu/configure: Regenerate.
3883
aaa8cb4b
AS
3884 * configure.in: Substitute libc_cv_rtlddir.
3885 * configure: Regenerate.
3886 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3887 * Makeconfig (rtlddir, inst_rtlddir): New variables.
3888 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3889 * elf/Makefile (install-others, CFLAGS-interp.c)
3890 (ldso_install, common-ldd-rewrite): Likewise.
3891 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3892 $(inst_slibdir)/$(rtld-installed-name).
3893 * scripts/rellns-sh: Add -p option.
3894 * Makerules (make-shlib-link): Use rellns-sh to get relative name
3895 for source.
3896
d3cfc668
SP
38972013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3898
3899 * manual/nptl.texi: Renamed to ...
3900 * manual/threads.texi: ... this.
3901 * manual/Makefile (chapters): Update.
3902
0e2b9cdd
RM
39032013-03-18 Roland McGrath <roland@hack.frob.com>
3904
3905 [BZ #14812]
3906 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3907 on argument names, not just descriptions.
0e2b9cdd
RM
3908 * malloc/memusagestat.c (options): Likewise.
3909 * nss/getent.c (options): Likewise.
63270c24
RM
3910
39112013-03-18 Benno Schulenberg <bensberg@justemail.net>
3912
3913 [BZ #14812]
3914 * iconv/iconv_prog.c (options): Put N_ translation marker
3915 on argument names, not just descriptions.
3916 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 3917
b2e1393c
OB
39182013-03-18 Ondrej Bilka <neleai@seznam.cz>
3919
3920 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3921 implementation which is faster on all x86_64 architectures.
3922 Tested on AMD, Intel Nehalem, SNB, IVB.
3923 * sysdeps/x86_64/strnlen.S: Likewise.
3924
3925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3926 Remove all multiarch strlen and strnlen versions.
3927 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3928 Remove strlen and strnlen related parts.
3929
3930 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3931 Inline strlen part.
3932 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3933
3934 * sysdeps/x86_64/multiarch/strlen.S: Remove.
3935 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3936 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3937 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3938 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3939 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3940
ec4ff04d
CD
39412013-03-17 Carlos O'Donell <carlos@redhat.com>
3942
3943 * manual/memory.texi (Malloc Tunable Parameters):
3944 Sort parameters alphabetically. Add comments for missing entries.
3945
cd18e90a
DM
39462013-03-17 David S. Miller <davem@davemloft.net>
3947
3948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3949
2a185d32
JM
39502013-03-16 Joseph Myers <joseph@codesourcery.com>
3951
d2f9799e
JM
3952 [BZ #15283]
3953 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3954 for arguments at most half maximum finite value.
3955 * math/libm-test.inc (j0_test): Add more tests.
3956 (j1_test): Likewise.
3957 (y0_test): Likewise.
3958 (y1_test): Likewise.
3959 * sysdeps/i386/fpu/libm-test-ulps: Update.
3960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3961
2a185d32
JM
3962 [BZ #14155]
3963 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3964 1 / x and functions P and Q for arguments above 0x1p256L.
3965 (__ieee754_y0l): Likewise.
3966 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3967 (__ieee754_y1l): Likewise.
3968 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3969 (j1_test): Likewise.
3970 (y0_test): Likewise.
3971 (y1_test): Likewise.
3972
6cbec759
TS
39732013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3974
3975 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3976 variable.
3977
bc16e260
RM
39782013-03-15 Roland McGrath <roland@hack.frob.com>
3979
aefc9b8c
RM
3980 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3981 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3982 zero since it's initialized to EXEC_PAGESIZE.
3983
bc16e260
RM
3984 * sysdeps/unix/sysv/linux/ldsodefs.h
3985 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3986 * sysdeps/generic/ldsodefs.h: ... here.
3987
a57da955
TS
39882013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3989
af00a34d
TS
3990 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3991
495ded2c
TS
3992 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3993 math/test-snan.c.
3994 * math/test-snan.c: Renamed from
3995 sysdeps/powerpc/fpu/test-powerpc-snan.c.
3996 * math/Makefile (tests): Add test-snan.
3997 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3998 test-powerpc-snan.
3999
777b0332
TS
4000 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4001 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4002 functions.
4003 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4004 __builtin_nan family of functions.
4005 * math/libm-test.inc (initialize): Initialize qnan_value with
4006 __builtin_nan family of functions.
4007 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4008 Remove variables.
4009 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4010 Remove functions.
4011 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4012 storage class. Initialize qNaN_var and sNaN_var with
4013 __builtin_nan and __builtin_nans families of functions,
4014 respectively.
4015
64d063b8
TS
4016 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4017 (sqrt_test): Remove duplicate test with qNaN input.
4018 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4019 (round_test, signbit_test, significand_test): Note missing +/-Inf
4020 as well as qNaN tests.
4021
67e971f1
TS
4022 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4023 qNaN_var. Fix a few strings, too.
4024 * math/libm-test.inc (nan_value): Rename to qnan_value.
4025 * math/gen-libm-test.pl (%beautify): Adjust to that.
4026 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4027 * math/test-misc.c (main): Likewise.
4028 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4029 to __qnan_bytes, and __qnan_union, respectively.
4030 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4031 Likewise.
4032 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4033 and lqnanval, respectively.
4034 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4035 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4036 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4037 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4038
64487e12
TS
4039 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4040 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4041 doubles.
4042
e015e27b
TS
4043 * math/test-misc.c (main): Fix copy'n'pastos.
4044 * misc/tst-efgcvt.c (special): Likewise.
4045
a57da955
TS
4046 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4047 Remove declarations.
4048
1e380345
SP
40492013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4050
4051 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4052 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4053 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4054 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4055
ef26eece
AZ
40562013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4057
4058 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4059 macro to return vdso values correctly in IFUNC implementations.
4060 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4061 Optimization by using IFUNC.
4062
8cfdb7e0
SP
40632013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4064 Richard Henderson <rth@redhat.com>
4065 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4066
4067 * Makefile.in (bench): New target.
4068 * NEWS: Mention the benchmark framework.
4069 * Rules (bench): Likewise.
4070 (binaries-bench): Generate binaries for functions to
4071 benchmark.
4072 * benchtests/Makefile: New makefile for benchmark tests.
4073 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4074 programs.
4075 * benchtests/exp-inputs: New input file for EXP function.
4076 * benchtests/pow-inputs: New input file for POW function.
4077 * scripts/bench.pl: New script to generate source files for
4078 benchmark programs.
4079
bcda9880
SP
40802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4081
d22ca8cd
SP
4082 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4083 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4084 computations on mantissa. Use macros for rounding and
4085 division.
4086 (denorm): Likewise.
4087 (__dbl_mp): Likewise.
4088 (add_magnitudes): Likewise.
4089 (sub_magnitudes): Likewise.
4090 (__mul): Likewise.
4091 (__sqr): Likewise.
4092 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4093 powers of two in terms of TWOPOW macro.
4094 (mp_no): Make type of mantissa as MANTISSA_T.
4095 [!RADIXI]: Define RADIXI.
4096 [!TWO52]: Define TWO52.
4097 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4098
bcda9880
SP
4099 * manual/nptl.texi (cindex): Modify threads to pthreads.
4100
06d5adfb
JM
41012013-03-15 Joseph Myers <joseph@codesourcery.com>
4102
4103 * sysdeps/x86_64/preconfigure: Regenerated.
4104
41c7328e
JM
41052013-03-14 Joseph Myers <joseph@codesourcery.com>
4106
4107 [BZ #14155]
4108 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4109 0x1p28 and above.
4110 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4111 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4112 0x1p28 and above.
4113 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4114 * math/libm-test.inc (j0_test): Do not allow one spurious
4115 underflow exception.
4116 (y1_test): Likewise.
4117
e25cfa60
SP
41182013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4119
0409959c
SP
4120 * manual/Makefile (chapters): Add nptl.
4121 * manual/debug.texi (Debugging Support): Add link to Threads
4122 chapter.
4123 * manual/nptl.texi: New file.
4124
e25cfa60
SP
4125 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4126
58a1335e
PB
41272013-03-14 Petr Baudis <pasky@ucw.cz>
4128
4129 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4130 for non-NULL pointer before the memory validity test. Pointed
4131 out by Holger Brunck <holger.brunck@keymile.com>.
4132
9dc7c64f
AS
41332013-03-13 Andreas Schwab <schwab@suse.de>
4134
4135 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4136 instead of .os.
4137
54206aa6
JM
41382013-03-13 Joseph Myers <joseph@codesourcery.com>
4139
4140 * timezone/zic.c: Update from tzcode 2013b.
4141
e98cdb38
CD
41422013-03-12 Carlos O'Donell <carlos@redhat.com>
4143
4144 * manual/install.texi (Configuring and compiling):
4145 Mention i686 and i586.
4146 * INSTALL: Regenerate.
4147
9967e003
RM
41482013-03-12 Roland McGrath <roland@hack.frob.com>
4149
4150 * sysdeps/init_array/elf-init.c: New file.
4151 * csu/elf-init.c
4152 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4153 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4154
4155 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4156 __gmon_start__ as global, but as static with a .preinit_array pointer.
4157 * sysdeps/init_array/gmon-start.c: New file. Use that.
4158 * sysdeps/init_array/crti.S: New file, empty except for comments.
4159 * sysdeps/init_array/crtn.S: Likewise.
4160
e6b5a293 41612013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4162
4163 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4164 definining bcopy.
80f844c9
OB
4165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4166 Remove Prefer_SSE_for_memop.
4167 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4168 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4169 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4171 memset-x86-64.
80f844c9 4172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4173 Remove bzero, memset ifunc support.
80f844c9
OB
4174 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4175 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4176 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4177 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4178
fb6b0fcb
AS
41792013-03-11 Andreas Schwab <schwab@suse.de>
4180
4181 [BZ #15234]
4182 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4183 by SHLIB_COMPAT.
4184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4185 (GLIBC_2.16): Remove pthread_atfork.
4186
3e6bd4b1
PP
41872013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4188
4189 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4190 (ptestcases.h): Likewise.
4191
222d7f00
RM
41922013-03-08 Roland McGrath <roland@hack.frob.com>
4193
4194 * Makeconfig ($(common-objpfx)config.status): Depend on
4195 sysdeps/*/preconfigure{,.in} too.
4196
1ba4f030
JM
41972013-03-08 Joseph Myers <joseph@codesourcery.com>
4198
a222d91a
JM
4199 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4200 (__free_hook): Use void * instead of __malloc_ptr_t.
4201 (__malloc_hook): Likewise.
4202 (__realloc_hook): Likewise.
4203 (__memalign_hook): Likewise.
4204 (__after_morecore_hook): Likewise.
4205 * malloc/arena.c (save_malloc_hook): Likewise.
4206 (save_free_hook): Likewise.
4207 * malloc/hooks.c (malloc_hook_ini): Likewise.
4208 (realloc_hook_ini): Likewise.
4209 (memalign_hook_ini): Likewise.
4210 * malloc/malloc.c (malloc_hook_ini): Likewise.
4211 (realloc_hook_ini): Likewise.
4212 (memalign_hook_ini): Likewise.
4213 (__free_hook): Likewise.
4214 (__malloc_hook): Likewise.
4215 (__realloc_hook): Likewise.
4216 (__memalign_hook): Likewise.
4217 (__libc_malloc): Likewise.
4218 (__libc_free): Likewise.
4219 (__libc_realloc): Likewise.
4220 (__libc_memalign): Likewise.
4221 (__libc_valloc): Likewise.
4222 (__libc_pvalloc): Likewise.
4223 (__libc_calloc): Likewise.
4224 (__posix_memalign): Likewise.
4225 * malloc/morecore.c (__sbrk): Likewise.
4226 (__default_morecore): Likewise.
4227
5cc45e10
JM
4228 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4229
dd54b864
JM
4230 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4231 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4232 __malloc_ptrdiff_t.
4233
1ba4f030
JM
4234 * malloc/malloc.h (__malloc_size_t): Remove macro.
4235 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4236 __malloc_size_t.
4237 (old_memalign_hook): Likewise.
4238 (old_realloc_hook): Likewise.
4239 (struct hdr): Likewise.
4240 (flood): Likewise.
4241 (mallochook): Likewise.
4242 (memalignhook): Likewise.
4243 (reallochook): Likewise.
4244 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4245 (tr_old_realloc_hook): Likewise.
4246 (tr_old_memalign_hook): Likewise.
4247 (tr_mallochook): Likewise.
4248 (tr_reallochook): Likewise.
4249 (tr_memalignhook): Likewise.
4250
edf66e57
AZ
42512013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4252
4253 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4254 default_ldbl_pack and using as default implementation.
4255 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4256 implementation.
4257 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4258 redundant definition.
4259 (ldbl_insert_mantissa): Likewise.
4260 (ldbl_canonicalize): Likewise.
4261 (ldbl_nearbyint): Likewise.
4262 (ldbl_pack): Rename to ldbl_pack_ppc.
4263 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4264 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4265 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4266
6d9145d8
SP
42672013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4268
4269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4270 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4271 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4272 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4274 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4275 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4276 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4277
4dd4e157
AJ
42782013-03-07 Andreas Jaeger <aj@suse.de>
4279
4280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4281 bits/mman-linux.h.
4282
adbb8027
SP
42832013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4284
ce544b5b
SP
4285 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4286 Include mpa.h and declare __MPEXP.
4287 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4288 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4289 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4290 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4291 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4292 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4293 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4294
4cc149fd
SP
4295 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4296 (__slowpow): Use long double EXPL and LOGL functions to
4297 compute POW.
4298 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4299 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4300 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4301 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4302 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4303 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4304
e6ebd4a7
SP
4305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4306 intermediate variable to calculate exponent.
4307 (__sqr): Likewise.
4308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4309 Likewise.
4310 (__sqr): Likewise.
4311
82a9811d
SP
4312 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4313 [!NO__SQR]: Define __sqr.
4314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4315 and NO__SQR. Remove all code except __mul and __sqr. Include
4316 sysdeps/ieee754/dbl-64/mpa.c.
4317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4318
adbb8027
SP
4319 [BZ #12723]
4320 * posix/Makefile (tests): Add tst-pathconf.
4321 * posix/tst-pathconf.c: New test case.
4322 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4323 _PC_PIPE_BUF.
4324 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4325
39120df9
PF
43262013-03-06 Patsy Franklin <pfrankli@redhat.com>
4327
4328 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4329
67525cb8
AJ
43302013-03-06 Andreas Jaeger <aj@suse.de>
4331
664a9ce4
AJ
4332 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4333 definition via __MAP_ANONYMOUS.
4334
8e39047d
AJ
4335 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4336 it's not part of Linux headers.
4337
67525cb8
AJ
4338 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4339 (MAP_HUGE_MASK): Define.
4340
4341 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4342 Define.
4343 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4344 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4345 Define.
4346 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4347 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4348 Define.
4349 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4350 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4351 Define.
4352 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4353
4354 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4355 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4356 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4357 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4358 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4359 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4360
4361 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4362 Handle f2fs.
4363
4364 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4365 Handle f2fs and efivarfs.
4366
4367 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4368 f2fs.
4369
4370 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4371 (EFIVARFS_MAGIC): Add.
4372 (F2FS_LINK_MAX): Add.
4373
e1b42695
PP
43742013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4375
4376 * stdio-common/vfprintf.c: Replace __builtin_expect with
4377 __glibc_unlikely.
4378
2d67d91a
JM
43792013-03-06 Joseph Myers <joseph@codesourcery.com>
4380
4381 [BZ #13550]
4382 * sysdeps/generic/bp-sym.h: Remove file.
4383 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4384 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4385 <bp-sym.h> and <bp-asm.h>.
4386 (__longjmp): Don't use BP_SYM.
4387 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4388 and <bp-asm.h>.
4389 (memcpy): Don't use BP_SYM.
4390 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4391 <bp-sym.h> and <bp-asm.h>.
4392 (memcpy): Don't use BP_SYM.
4393 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4394 <bp-asm.h>.
4395 (memcpy): Don't use BP_SYM.
4396 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4397 <bp-asm.h>.
4398 (memset): Don't use BP_SYM.
4399 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4400 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4401 (__bzero): Don't use BP_SYM.
4402 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4403 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4404 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4405 <bp-sym.h> and <bp-asm.h>.
4406 (memcmp): Don't use BP_SYM. Remove comment about bounded
4407 pointers.
4408 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4409 <bp-sym.h> and <bp-asm.h>.
4410 (memcpy): Don't use BP_SYM.
4411 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4412 <bp-sym.h> and <bp-asm.h>.
4413 (memset): Don't use BP_SYM.
4414 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4415 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4416 (__bzero): Don't use BP_SYM.
4417 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4418 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4419 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4420 <bp-sym.h> and <bp-asm.h>.
4421 (strncmp): Don't use BP_SYM. Remove comment about bounded
4422 pointers.
4423 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4424 <bp-sym.h> and <bp-asm.h>.
4425 (memcpy): Don't use BP_SYM.
4426 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4427 <bp-sym.h> and <bp-asm.h>.
4428 (memset): Don't use BP_SYM.
4429 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4430 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4431 (__bzero): Don't use BP_SYM.
4432 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4433 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4434 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4435 <bp-sym.h> and <bp-asm.h>.
4436 (__memchr): Don't use BP_SYM.
4437 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4438 <bp-sym.h> and <bp-asm.h>.
4439 (memcmp): Don't use BP_SYM. Remove comment about bounded
4440 pointers.
4441 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4442 <bp-sym.h> and <bp-asm.h>.
4443 (memcpy): Don't use BP_SYM.
4444 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4445 <bp-sym.h> and <bp-asm.h>.
4446 (__mempcpy): Don't use BP_SYM.
4447 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4448 <bp-sym.h> and <bp-asm.h>.
4449 (__memrchr): Don't use BP_SYM.
4450 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4451 <bp-sym.h> and <bp-asm.h>.
4452 (memset): Don't use BP_SYM.
4453 (__bzero): Likewise.
4454 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4455 <bp-sym.h> and <bp-asm.h>.
4456 (__rawmemchr): Don't use BP_SYM.
4457 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4458 <bp-sym.h> and <bp-asm.h>.
4459 (__STRCMP): Don't use BP_SYM.
4460 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4461 <bp-sym.h> and <bp-asm.h>.
4462 (strchr): Don't use BP_SYM.
4463 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4464 <bp-sym.h> and <bp-asm.h>.
4465 (__strchrnul): Don't use BP_SYM.
4466 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4467 <bp-sym.h> and <bp-asm.h>.
4468 (strlen): Don't use BP_SYM.
4469 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4470 <bp-sym.h> and <bp-asm.h>.
4471 (strncmp): Don't use BP_SYM. Remove comment about bounded
4472 pointers.
4473 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4474 <bp-sym.h> and <bp-asm.h>.
4475 (__strnlen): Don't use BP_SYM.
4476 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4477 <bp-sym.h> and <bp-asm.h>.
4478 (__GI__setjmp): Don't use BP_SYM.
4479 (_setjmp): Likewise.
4480 (__sigsetjmp): Likewise.
4481 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4482 (L(start_addresses)): Don't use BP_SYM.
4483 (_start): Likewise.
4484 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4485 <bp-asm.h>.
4486 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4487 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4488 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4489 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4490 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4491 <bp-asm.h>.
4492 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4493 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4494 about bounded pointers.
4495 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4496 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4497 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4498 <bp-asm.h>.
4499 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4500 about bounded pointers. Remove GKM FIXME comments.
4501 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4502 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4503 <bp-asm.h>.
4504 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4505 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4506 Remove GKM FIXME comments.
4507 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4508 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4509 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4510 <bp-asm.h>.
4511 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4512 about bounded pointers. Remove GKM FIXME comment.
4513 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4514 and <bp-asm.h>.
4515 (strncmp): Don't use BP_SYM. Remove comment about bounded
4516 pointers.
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4518 <bp-sym.h> and <bp-asm.h>.
4519 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4521 <bp-sym.h> and <bp-asm.h>.
4522 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4523 comment.
4524
cdcf361f
PP
45252013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4526
4527 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4528 call free(NULL).
4529
3c4a2b15
DM
45302013-03-05 David S. Miller <davem@davemloft.net>
4531
4532 * po/es.po: Update from translation team.
4533
cdcf361f 45342013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
4535
4536 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4537 <bits/mman-linux.h>.
4538 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4539 is fine.
4540 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4541 <bits/mman-linux.h> to end of file.
4542 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4543 is fine.
4544 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4545 <bits/mman-linux.h> to end of file.
4546 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4547 is fine.
4548 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4549 <bits/mman-linux.h> to end of file.
4550
4551 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4552 (MCL_CURRENT, MCL_FUTURE): Define here.
4553
5f67c04f
AK
45542013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4555
8a4473cc 4556 [BZ #15232]
5f67c04f
AK
4557 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4558 attribute_hidden.
4559 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4560
c3e94a95
AK
45612013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4562
4563 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4564 fourth parameter needed for rt_sigprocmask syscall.
4565 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4566 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4567 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4568 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4569 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4570 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4571
cfb6382a
JM
45722013-03-04 Joseph Myers <joseph@codesourcery.com>
4573
4574 [BZ #13550]
4575 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4576 comment about bounded pointers.
4577 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4578 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4579
539d8e01
AJ
45802013-03-04 Andreas Jaeger <aj@suse.de>
4581
4582 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4583 common definitions.
4584
4585 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4586 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4587 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4588 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4589 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
4590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4591
2e167a70 45922013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
4593
4594 [BZ #15055]
4595 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4596 __ieee754_sqrl instead of __sqrl.
4597
68508633
JM
45982013-03-01 Joseph Myers <joseph@codesourcery.com>
4599
4600 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4601 * sysdeps/powerpc/fpu_control.h: ... here.
4602 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4603 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4604 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4605 * sysdeps/powerpc/bits/mathinline.h: ... here.
4606
7775448e
RM
46072013-03-01 Roland McGrath <roland@hack.frob.com>
4608
4609 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4610 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4611 to just [NEED_DL_SYSINFO_DSO].
4612 * elf/dl-support.c: Likewise.
4613 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4614 * elf/rtld.c (dl_main): Likewise.
4615 * elf/setup-vdso.h (setup_vdso): Likewise.
4616 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4617 * sysdeps/unix/sysv/linux/dl-sysdep.c
4618 (_dl_discover_osversion): Likewise.
4619
4e9b5995
CD
46202013-03-01 Carlos O'Donell <carlos@redhat.com>
4621
4622 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4623 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4624
e23872c8
SP
46252013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4626
e5c74c63
SP
4627 * NEWS: Mention libm performance improvements and non-x86 PI
4628 futex support.
4629
e23872c8
SP
4630 * csu/libc-start.c (__pthread_initialize_minimal): Change
4631 function arguments.
4632 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4633
b5510883
JM
46342013-02-28 Joseph Myers <joseph@codesourcery.com>
4635
4636 [BZ #13550]
4637 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4638 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4639 <bp-sym.h> and <bp-asm.h>.
4640 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4641 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4642 and <bp-asm.h>.
4643 (memcpy): Don't use BP_SYM.
4644 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4645 <bp-asm.h>.
4646 (__mpn_add_n): Don't use BP_SYM.
4647 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4648 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4649 and <bp-asm.h>.
4650 (__mpn_addmul_1): Don't use BP_SYM.
4651 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4652 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4653 <bp-sym.h>.
4654 (_setjmp): Don't use BP_SYM.
4655 (__novmx_setjmp): Likewise.
4656 (__GI__setjmp): Likewise.
4657 (__vmx_setjmp): Likewise.
4658 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4659 <bp-sym.h>.
4660 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4661 (__bzero): Don't use BP_SYM.
4662 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4663 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4664 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4665 <bp-sym.h> and <bp-asm.h>.
4666 (memcpy): Don't use BP_SYM.
4667 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4668 <bp-sym.h> and <bp-asm.h>.
4669 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4670 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4671 <bp-sym.h> and <bp-asm.h>.
4672 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4673 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4674 <bp-asm.h>.
4675 (__mpn_lshift): Don't use BP_SYM.
4676 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4677 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4678 <bp-asm.h>.
4679 (memset): Don't use BP_SYM.
4680 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4681 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4682 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4683 <bp-asm.h>.
4684 (__mpn_mul_1): Don't use BP_SYM.
4685 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4686 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4687 <bp-sym.h> and <bp-asm.h>.
4688 (memcmp): Don't use BP_SYM.
4689 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4690 <bp-sym.h> and <bp-asm.h>.
4691 (memcpy): Don't use BP_SYM.
4692 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4693 <bp-sym.h> and <bp-asm.h>.
4694 (memset): Don't use BP_SYM.
4695 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4696 <bp-sym.h> and <bp-asm.h>.
4697 (strncmp): Don't use BP_SYM.
4698 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4699 <bp-sym.h> and <bp-asm.h>.
4700 (memcpy): Don't use BP_SYM.
4701 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4702 <bp-sym.h> and <bp-asm.h>.
4703 (memset): Don't use BP_SYM.
4704 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4705 <bp-sym.h> and <bp-asm.h>.
4706 (__memchr): Don't use BP_SYM.
4707 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4708 <bp-sym.h> and <bp-asm.h>.
4709 (memcmp): Don't use BP_SYM.
4710 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4711 <bp-sym.h> and <bp-asm.h>.
4712 (memcpy): Don't use BP_SYM.
4713 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4714 <bp-sym.h> and <bp-asm.h>.
4715 (__mempcpy): Don't use BP_SYM.
4716 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4717 <bp-sym.h> and <bp-asm.h>.
4718 (__memrchr): Don't use BP_SYM.
4719 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4720 <bp-sym.h> and <bp-asm.h>.
4721 (memset): Don't use BP_SYM.
4722 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4723 <bp-sym.h> and <bp-asm.h>.
4724 (__rawmemchr): Don't use BP_SYM.
4725 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4726 <bp-sym.h> and <bp-asm.h>.
4727 (__STRCMP): Don't use BP_SYM.
4728 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4729 <bp-sym.h> and <bp-asm.h>.
4730 (strchr): Don't use BP_SYM.
4731 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4732 <bp-sym.h> and <bp-asm.h>.
4733 (__strchrnul): Don't use BP_SYM.
4734 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4735 <bp-sym.h> and <bp-asm.h>.
4736 (strlen): Don't use BP_SYM.
4737 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4738 <bp-sym.h> and <bp-asm.h>.
4739 (strncmp): Don't use BP_SYM.
4740 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4741 <bp-sym.h> and <bp-asm.h>.
4742 (__strnlen): Don't use BP_SYM.
4743 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4744 <bp-asm.h>.
4745 (__mpn_rshift): Don't use BP_SYM.
4746 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4747 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4748 <bp-sym.h> and <bp-asm.h>.
4749 (__sigsetjmp): Don't use BP_SYM.
4750 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4751 (L(start_addresses)): Don't use BP_SYM.
4752 (_start): Likewise.
4753 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4754 <bp-asm.h>.
4755 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4756 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4757 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4758 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4759 <bp-asm.h>.
4760 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4761 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4762 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4763 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4764 <bp-asm.h>.
4765 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4766 comments.
4767 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4768 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4769 <bp-asm.h>.
4770 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4771 FIXME comments.
4772 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4773 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4774 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4775 <bp-asm.h>.
4776 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4777 comment.
4778 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4779 and <bp-asm.h>.
4780 (strncmp): Don't use BP_SYM,
4781 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4782 <bp-asm.h>.
4783 (__mpn_sub_n): Don't use BP_SYM.
4784 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4785 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4786 and <bp-asm.h>.
4787 (__mpn_submul_1): Don't use BP_SYM.
4788 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4790 <bp-sym.h> and <bp-asm.h>.
4791 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4793 <bp-sym.h> and <bp-asm.h>.
4794 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4795 comment.
4796
8d19fe64
SP
47972013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4798
4799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4800 Use ZK to minimize writes to Z.
4801 (sub_magnitudes): Simplify code a bit.
4802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4803 Use ZK to minimize writes to Z.
4804 (sub_magnitudes): Simplify code a bit.
4805
85bd816a
RM
48062013-02-27 Roland McGrath <roland@hack.frob.com>
4807
4808 * csu/gmon-start.c: Add special exception to license text.
4809
b5977bf2
RH
48102013-02-27 Richard Henderson <rth@redhat.com>
4811
4812 * scripts/config.guess: Update from config.git.
4813 * scripts/config.sub: Likewise.
4814
11d6e2f2
SP
48152013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4816
09c14ed2
SP
4817 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4818
a688864e
SP
4819 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4820
6295157a
SP
4821 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4822
b8de2202
SP
4823 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4824
11d6e2f2
SP
4825 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4826
7e80ddb8
RM
48272013-02-26 Roland McGrath <roland@hack.frob.com>
4828
4829 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4830 [$(build-shared = yes].
7e80ddb8 4831
7da6d9ed
SP
48322013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4833
45f05884
SP
4834 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4835 (__mul): Reduce iterations for calculating mantissa.
4836
2236d359
SP
4837 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4838 MPTWO.
4839 (__mpranred): Likewise.
4840
7da6d9ed
SP
4841 [BZ #15160]
4842 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4843 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4844
b7688c42
PE
48452013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4846
4847 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4848 Define __attribute__.
4849
53a5c423
SP
48502013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4851
4852 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4853 unused.
4854 * posix/regex_internal.h (__attribute): Remove.
4855 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4856 (re_string_context_at): Likewise.
4857 (bitset_not): Use __attribute__ and mark function as possibly
4858 unused.
4859 (bitset_merge): Likewise.
4860 (bitset_mask): Likewise.
4861 (re_string_char_size_at): Likewise.
4862 (re_string_wchar_at): Likewise.
4863 (re_string_elem_size_at): Likewise.
4864
60f5a8b5
SP
48652013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4866
2a983a2e
SP
4867 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4868 code.
4869 (cc32): Likewise.
4870
e69804d1
SP
4871 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4872 (__acr): Likewise.
4873 (__cpy): Likewise.
4874 (norm): Likewise.
4875 (denorm): Likewise.
4876 (__dbl_mp): Likewise.
4877 (add_magnitudes): Likewise.
4878 (sub_magnitudes): Likewise.
4879 (__mul): Likewise.
4880 (__inv): Likewise.
4881
2f22a1e8
SP
4882 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4883 style.
4884
8930ddc7
SP
4885 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4886 style.
4887
dc60cb11
SP
4888 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4889 code.
4890
60f5a8b5
SP
4891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4892 up changes with default code.
4893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4894 Likewise.
4895
b4d1fd33
AM
48962013-02-24 Allan McRae <allan@archlinux.org>
4897
faf6f8bc
AM
4898 * manual/socket.texi (The Internet Namespace): Order menu items
4899 to match that in the file.
4900
b4d1fd33
AM
4901 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4902 node listing of the info page menu.
4903
2366713d
JM
49042013-02-21 Joseph Myers <joseph@codesourcery.com>
4905
4906 [BZ #13550]
4907 * sysdeps/i386/bp-asm.h: Remove file.
4908 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4909 (PARMS): Do not use macros from bp-asm.h.
4910 (S1): Likewise.
4911 (S2): Likewise.
4912 (SIZE): Likewise.
4913 (__mpn_add_n): Do not use BP_SYM
4914 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4915 "bp-asm.h".
4916 (PARMS): Do not use macros from bp-asm.h.
4917 (S1): Likewise.
4918 (SIZE): Likewise.
4919 (__mpn_addmul_1): Do not use BP_SYM
4920 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4921 "bp-asm.h".
4922 (PARMS): Do not use macros from bp-asm.h.
4923 (SIGMSK): Likewise.
4924 (_setjmp): Likewise. Do not use BP_SYM.
4925 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4926 "bp-asm.h".
4927 (PARMS): Do not use macros from bp-asm.h.
4928 (SIGMSK): Likewise.
4929 (setjmp): Likewise. Do not use BP_SYM.
4930 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4931 "bp-asm.h".
4932 (PARMS): Do not use macros from bp-asm.h.
4933 (__frexp): Do not use BP_SYM.
4934 (frexp): Likewise.
4935 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4936 "bp-asm.h".
4937 (PARMS): Do not use macros from bp-asm.h.
4938 (__frexpf): Do not use BP_SYM.
4939 (frexpf): Likewise.
4940 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4941 "bp-asm.h".
4942 (PARMS): Do not use macros from bp-asm.h.
4943 (__frexpl): Do not use BP_SYM.
4944 (frexpl): Likewise.
4945 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4946 "bp-asm.h".
4947 (PARMS): Do not use macros from bp-asm.h.
4948 (__remquo): Do not use BP_SYM.
4949 (remquo): Likewise.
4950 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4951 "bp-asm.h".
4952 (PARMS): Do not use macros from bp-asm.h.
4953 (__remquof): Do not use BP_SYM.
4954 (remquof): Likewise.
4955 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4956 "bp-asm.h".
4957 (PARMS): Do not use macros from bp-asm.h.
4958 (__remquol): Do not use BP_SYM.
4959 (remquol): Likewise.
4960 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4961 "bp-asm.h".
4962 (PARMS): Do not use macros from bp-asm.h.
4963 (DEST): Likewise.
4964 (SRC): Likewise.
4965 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4966 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4967 "bp-asm.h".
4968 (PARMS): Do not use macros from bp-asm.h.
4969 (strlen): Do not use BP_SYM.
4970 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4971 "bp-asm.h".
4972 (PARMS): Do not use macros from bp-asm.h.
4973 (S1): Likewise.
4974 (S2): Likewise.
4975 (SIZE): Likewise.
4976 (__mpn_add_n): Do not use BP_SYM.
4977 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4978 "bp-asm.h".
4979 (PARMS): Do not use macros from bp-asm.h.
4980 (S1): Likewise.
4981 (SIZE): Likewise.
4982 (__mpn_addmul_1): Do not use BP_SYM.
4983 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4984 weak_alias.
4985 (bzero): Likewise.
4986 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4987 "bp-asm.h".
4988 (PARMS): Do not use macros from bp-asm.h.
4989 (S): Likewise.
4990 (SIZE): Likewise.
4991 (__mpn_lshift): Do not use BP_SYM.
4992 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4993 "bp-asm.h".
4994 (PARMS): Do not use macros from bp-asm.h.
4995 (DEST): Likewise.
4996 (SRC): Likewise.
4997 (LEN): Likewise.
4998 (memcpy): Likewise. Do not use BP_SYM.
4999 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5000 libc_hidden_def and weak_alias.
5001 (mempcpy): Do not use BP_SYM in weak_alias.
5002 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5003 "bp-asm.h".
5004 (PARMS): Do not use macros from bp-asm.h.
5005 (DEST): Likewise.
5006 (LEN): Likewise.
5007 [!BZERO_P] (CHR): Likewise.
5008 (memset): Likewise. Do not use BP_SYM.
5009 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5010 "bp-asm.h".
5011 (PARMS): Do not use macros from bp-asm.h.
5012 (S1): Likewise.
5013 (SIZE): Likewise.
5014 (__mpn_mul_1): Do not use BP_SYM.
5015 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5016 "bp-asm.h".
5017 (PARMS): Do not use macros from bp-asm.h.
5018 (S): Likewise.
5019 (SIZE): Likewise.
5020 (__mpn_rshift): Do not use BP_SYM.
5021 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5022 "bp-asm.h".
5023 (PARMS): Do not use macros from bp-asm.h.
5024 (STR): Likewise.
5025 (CHR): Likewise.
5026 (strchr): Likewise. Do not use BP_SYM.
5027 (index): Do not use BP_SYM in weak_alias.
5028 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5029 "bp-asm.h".
5030 (PARMS): Do not use macros from bp-asm.h.
5031 (DEST): Likewise.
5032 (SRC): Likewise.
5033 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5034 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5035 "bp-asm.h".
5036 (PARMS): Do not use macros from bp-asm.h.
5037 (strlen): Do not use BP_SYM.
5038 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5039 "bp-asm.h".
5040 (PARMS): Do not use macros from bp-asm.h.
5041 (S1): Likewise.
5042 (S2): Likewise.
5043 (SIZE): Likewise.
5044 (__mpn_sub_n): Do not use BP_SYM.
5045 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5046 "bp-asm.h".
5047 (PARMS): Do not use macros from bp-asm.h.
5048 (S1): Likewise.
5049 (SIZE): Likewise.
5050 (__mpn_submul_1): Do not use BP_SYM.
5051 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5052 "bp-asm.h".
5053 (PARMS): Do not use macros from bp-asm.h.
5054 (S1): Likewise.
5055 (S2): Likewise.
5056 (SIZE): Likewise.
5057 (__mpn_add_n): Do not use BP_SYM.
5058 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5059 weak_alias.
5060 (bzero): Likewise.
5061 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5062 "bp-asm.h".
5063 (PARMS): Do not use macros from bp-asm.h.
5064 (BLK2): Likewise.
5065 (LEN): Likewise.
5066 (memcmp): Do not use BP_SYM.
5067 (bcmp): Do not use BP_SYM in weak_alias.
5068 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5069 "bp-asm.h".
5070 (PARMS): Do not use macros from bp-asm.h.
5071 (DEST): Likewise.
5072 (SRC): Likewise.
5073 (LEN): Likewise.
5074 (memcpy): Likewise. Do not use BP_SYM.
5075 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5076 "bp-asm.h".
5077 (PARMS): Do not use macros from bp-asm.h.
5078 (DEST): Likewise.
5079 (SRC): Likewise.
5080 (LEN): Likewise.
5081 (memmove): Likewise. Do not use BP_SYM.
5082 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5083 "bp-asm.h".
5084 (PARMS): Do not use macros from bp-asm.h.
5085 (DEST): Likewise.
5086 (SRC): Likewise.
5087 (LEN): Likewise.
5088 (__mempcpy): Likewise. Do not use BP_SYM.
5089 (mempcpy): Do not use BP_SYM in weak_alias.
5090 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5091 "bp-asm.h".
5092 (PARMS): Do not use macros from bp-asm.h.
5093 (DEST): Likewise.
5094 (LEN): Likewise.
5095 [!BZERO_P] (CHR): Likewise.
5096 (memset): Likewise. Do not use BP_SYM.
5097 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5098 "bp-asm.h".
5099 (PARMS): Do not use macros from bp-asm.h.
5100 (STR2): Likewise.
5101 (strcmp): Do not use BP_SYM.
5102 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5103 "bp-asm.h".
5104 (PARMS): Do not use macros from bp-asm.h.
5105 (STR): Likewise.
5106 (DELIM): Likewise.
5107 [USE_AS_STRTOK_R] (SAVE): Likewise.
5108 (FUNCTION): Likewise. Do not use BP_SYM.
5109 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5110 aliases.
5111 (strtok_r): Likewise.
5112 (__GI___strtok_r): Likewise.
5113 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5114 (PARMS): Do not use macros from bp-asm.h.
5115 (S): Likewise.
5116 (SIZE): Likewise.
5117 (__mpn_lshift): Do not use BP_SYM.
5118 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5119 (PARMS): Do not use macros from bp-asm.h.
5120 (STR): Likewise.
5121 (CHR): Likewise.
5122 (__memchr): Do not use BP_SYM.
5123 (memchr): Do not use BP_SYM in weak_alias.
5124 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5125 (PARMS): Do not use macros from bp-asm.h.
5126 (BLK2): Likewise.
5127 (LEN): Likewise.
5128 (memcmp): Do not use BP_SYM.
5129 (bcmp): Do not use BP_SYM in weak_alias.
5130 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5131 (PARMS): Do not use macros from bp-asm.h.
5132 (S1): Likewise.
5133 (SIZE): Likewise.
5134 (__mpn_mul_1): Do not use BP_SYM.
5135 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5136 "bp-asm.h".
5137 (PARMS): Do not use macros from bp-asm.h.
5138 (STR): Likewise.
5139 (CHR): Likewise.
5140 (__rawmemchr): Do not use BP_SYM.
5141 (rawmemchr): Do not use BP_SYM in weak_alias.
5142 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5143 (PARMS): Do not use macros from bp-asm.h.
5144 (S): Likewise.
5145 (SIZE): Likewise.
5146 (__mpn_rshift): Do not use BP_SYM.
5147 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5148 (PARMS): Do not use macros from bp-asm.h.
5149 (SIGMSK): Likewise.
5150 (__sigsetjmp): Likewise. Do not use BP_SYM.
5151 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5152 (_start): Do not use BP_SYM.
5153 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5154 (PARMS): Do not use macros from bp-asm.h.
5155 (DEST): Likewise.
5156 (SRC): Likewise.
5157 (__stpcpy): Likewise. Do not use BP_SYM.
5158 (stpcpy): Do not use BP_SYM in weak_alias.
5159 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5160 "bp-asm.h".
5161 (PARMS): Do not use macros from bp-asm.h.
5162 (DEST): Likewise.
5163 (SRC): Likewise.
5164 (LEN): Likewise.
5165 (__stpncpy): Likewise. Do not use BP_SYM.
5166 (stpncpy): Do not use BP_SYM in weak_alias.
5167 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5168 (PARMS): Do not use macros from bp-asm.h.
5169 (STR): Likewise.
5170 (CHR): Likewise.
5171 (strchr): Likewise. Do not use BP_SYM.
5172 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5173 "bp-asm.h".
5174 (PARMS): Do not use macros from bp-asm.h.
5175 (STR): Likewise.
5176 (CHR): Likewise.
5177 (__strchrnul): Likewise. Do not use BP_SYM.
5178 (strchrnul): Do not use BP_SYM in weak_alias.
5179 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5180 "bp-asm.h".
5181 (PARMS): Do not use macros from bp-asm.h.
5182 (STOP): Likewise.
5183 (strcspn): Do not use BP_SYM.
5184 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5185 "bp-asm.h".
5186 (PARMS): Do not use macros from bp-asm.h.
5187 (STR): Likewise.
5188 (STOP): Likewise.
5189 (strpbrk): Likewise. Do not use BP_SYM.
5190 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5191 "bp-asm.h".
5192 (PARMS): Do not use macros from bp-asm.h.
5193 (STR): Likewise.
5194 (CHR): Likewise.
5195 (strrchr): Likewise. Do not use BP_SYM.
5196 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5197 (PARMS): Do not use macros from bp-asm.h.
5198 (SKIP): Likewise.
5199 (strspn): Do not use BP_SYM.
5200 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5201 (PARMS): Do not use macros from bp-asm.h.
5202 (STR): Likewise.
5203 (DELIM): Likewise.
5204 (SAVE): Likewise.
5205 (FUNCTION): Likewise. Do not use BP_SYM.
5206 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5207 aliases.
5208 (strtok_r): Likewise.
5209 (__GI___strtok_r): Likewise.
5210 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5211 (PARMS): Do not use macros from bp-asm.h.
5212 (S1): Likewise.
5213 (S2): Likewise.
5214 (SIZE): Likewise.
5215 (__mpn_sub_n): Do not use BP_SYM.
5216 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5217 "bp-asm.h".
5218 (PARMS): Do not use macros from bp-asm.h.
5219 (S1): Likewise.
5220 (SIZE): Likewise.
5221 (__mpn_submul_1): Do not use BP_SYM.
5222 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5223 <bp-sym.h>.
5224 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5225 and <bp-asm.h>.
5226 (PARMS): Do not use macros from bp-asm.h.
5227 (FLAGS): Likewise.
5228 (PTID): Likewise.
5229 (TLS): Likewise.
5230 (CTID): Likewise.
5231 (__clone): Do not use BP_SYM.
5232 (clone): Do not use BP_SYM in weak_alias.
5233 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5234 and <bp-asm.h>.
5235 (PARMS): Do not use macros from bp-asm.h.
5236 (LEN): Likewise.
5237 (__mmap64): Do not use BP_SYM.
5238 (mmap64): Do not use BP_SYM in weak_alias.
5239 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5240 <bp-sym.h> and <bp-asm.h>.
5241 (PARMS): Do not use macros from bp-asm.h.
5242 (__posix_fadvise64_l64): Do not use BP_SYM.
5243 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5244 (PARMS): Do not use macros from bp-asm.h.
5245 (NSOPS): Likewise.
5246 (semtimedop): Do not use BP_SYM.
5247 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5248 and <bp-asm.h>.
5249
582a3cff
AM
52502013-02-21 Allan McRae <allan@archlinux.org>
5251
5252 * manual/message.texi (Charset conversion in gettext):
5253 Move @end statement to beginning of line.
5254
bab8a695
SP
52552013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5256
80945231
SP
5257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5258 static.
5259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5260 Likewise.
5261
bab8a695
SP
5262 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5263 (denorm): Likewise.
5264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5266
e21d7aa7
AK
52672013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5268
5269 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5270 tail-call to the resolved function if pltexit isn't needed.
5271
4c7a4263
SP
52722013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5273
5274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5275 or Y being zero as being unlikely.
5276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5277 Likewise.
5278
41f49342
CD
52792013-02-20 Carlos O'Donell <carlos@redhat.com>
5280
5281 * manual/nss.texi (System Databases and Name Service Switch):
5282 Remove frobnicate @pxref.
5283
50022a93
TS
52842013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5285
5286 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5287 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5288
08cbd996
PM
52892013-02-20 Petr Machata <pmachata@redhat.com>
5290
5291 * elf/elf.h (R_ARM_TARGET1): New macro.
5292 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5293 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5294 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5295 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5296 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5297 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5298 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5299 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5300 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5301 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5302 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5303 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5304 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5305 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5306 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5307 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5308 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5309 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5310 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5311 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5312 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5313 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5314 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5315 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5316 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5317 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5318 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5319 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5320 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5321 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5322 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5323 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5324 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5325 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5326 (R_ARM_THM_GOT_BREL12): Likewise.
5327 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5328 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5329 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5330 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5331 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5332 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5333 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5334 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5335 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5336
c7b275d6
TS
53372013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5338
5339 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5340 __attribute_used__ to __attribute__ ((unused)).
5341
20cd7fb3
SP
53422013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5343
5344 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5345 powerpc mpa.c.
5346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5347 comment formatting.
5348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5349
92945b52
JM
53502013-02-19 Joseph Myers <joseph@codesourcery.com>
5351
5352 [BZ #13550]
5353 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5354 Remove macro.
5355 (ENTER): Remove both macro definitions.
5356 (LEAVE): Likewise.
5357 (CHECK_BOUNDS_LOW): Likewise.
5358 (CHECK_BOUNDS_HIGH): Likewise.
5359 (CHECK_BOUNDS_BOTH): Likewise.
5360 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5361 (RETURN_BOUNDED_POINTER): Likewise.
5362 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5363 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5364 (POP_ERRNO_LOCATION_RETURN): Likewise.
5365 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5366 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5367 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5368 macros.
5369 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5370 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5371 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5372 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5373 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5374 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5375 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5376 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5377 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5378 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5379 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5380 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5381 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5382 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5383 removed macros.
5384 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5385 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5386 macros.
5387 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5388 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5389 * sysdeps/i386/i586/memset.S (memset): Likewise.
5390 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5391 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5392 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5393 macros.
5394 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5395 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5396 Change uses of L(2) to L(out).
5397 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5398 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5399 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5400 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5401 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5402 removed macros.
5403 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5404 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5405 macros.
5406 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5407 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5408 (RETURN): Do not use macro LEAVE.
5409 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5410 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5411 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5412 * sysdeps/i386/i686/memset.S (memset): Likewise.
5413 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5414 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5415 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5416 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5417 Likewise.
5418 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5419 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5420 L(1_2) and L(1_3) into L(1).
5421 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5422 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5423 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5424 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5425 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5426 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5427 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5428 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5429 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5430 macros.
5431 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5432 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5433 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5434 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5435 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5436 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5437 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5438 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5439 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5440 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5441 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5442 * sysdeps/i386/strspn.S (strspn): Likewise.
5443 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5444 conditional code.
5445 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5446 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5447 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5448 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5449 L(1_3) into L(1_1).
5450 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5451 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5452 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5453 macros.
5454 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5455
2389741a
JJ
54562013-02-19 Jakub Jelinek <jakub@redhat.com>
5457
5458 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5459 macro.
5460
2016b3cd
SP
54612013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5462
e4f22324
SP
5463 * math/atest-exp.c (exp_mpn): Remove ROUND.
5464 * math/atest-exp2.c (exp_mpn): Likewise.
5465 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5466
2016b3cd
SP
5467 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5468 * stdlib/tst-tls-atexit-lib.c: Likewise.
5469 * stdlib/tst-tls-atexit.c: Likewise.
5470
4be9b544
MF
54712013-02-18 Mike Frysinger <vapier@gentoo.org>
5472
5473 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5474 and __attribute_alloc_size__.
5475
2f62b9ee
MF
54762013-02-18 Mike Frysinger <vapier@gentoo.org>
5477
5478 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5479 __attribute_alloc_size__.
5480 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5481 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5482
6ff444c4
MF
54832013-02-18 Mike Frysinger <vapier@gentoo.org>
5484
5485 * include/programs/xmalloc.h: New file.
5486 * catgets/gencat.c: Include it.
5487 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5488 * elf/pldd.c: Likewise.
5489 * iconv/iconv_charmap.c: Likewise.
5490 * iconv/iconvconfig.c: Likewise.
5491 * iconv/strtab.c: Likewise.
5492 * locale/programs/locale.c: Likewise.
5493 * locale/programs/localedef.h: Likewise.
5494 * locale/programs/simple-hash.c: Likewise.
5495 * nscd/nscd.h: Likewise.
5496 * nss/makedb.c: Likewise.
5497 * sysdeps/generic/ldconfig.h: Likewise.
5498
be179c8a
SP
54992013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5500
ba384f6e
SP
5501 * Versions.def: Add GLIBC_2.18.
5502 * include/link.h (struct link_map): New member l_tls_dtor_count.
5503 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5504 (__call_tls_dtors): Likewise.
5505 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5506 __cxa_thread_atexit_impl.
5507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5508 Likewise.
5509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5510 Likewise.
5511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5512 Likewise.
5513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5514 Likewise.
5515 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5517 Likewise.
5518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5519 Likewise.
5520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5522 Likewise.
5523 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5524 (tests): Add test case tst-tls-atexit.
5525 (modules-names): Add shared library for tst-tls-atexit.
5526 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5527 (GLIBC_PRIVATE): Add __call_tls_dtors.
5528 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5529 for libstdc++.
5530 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5531 * stdlib/tst-tls-atexit.c: New test case.
5532 * stdlib/tst-tls-atexit-lib.c: New test case.
5533
ffaa74cf 5534 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 5535
be179c8a
SP
5536 * elf/Versions (ld): Add _dl_find_dso_for_object.
5537 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5538 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5539 (dl_open_worker): Use _dl_find_dso_for_object.
5540 * elf/dl-sym.c (do_sym): Likewise.
5541 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5542
f78b5caa
AK
55432013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5544
5545 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5546 Syntactic changes only.
5547 (_dl_runtime_profile): Do a tail-call to the resolved function.
5548
29691210
JM
55492013-02-17 Joseph Myers <joseph@codesourcery.com>
5550
5551 [BZ #13550]
5552 * sysdeps/x86_64/bp-asm.h: Remove file.
5553 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5554 <bp-sym.h> and <bp-asm.h>.
5555 (__clone): Do not use BP_SYM.
5556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5557 <bp-sym.h> and <bp-asm.h>.
5558 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5559 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5560 "bp-asm.h".
5561 (_setjmp): Do not use BP_SYM.
5562 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5563 "bp-asm.h".
5564 (setjmp): Do not use BP_SYM.
5565 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5566 libc_hidden_def.
5567 (mempcpy): Do not use BP_SYM in weak_alias.
5568 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5569 "bp-asm.h".
5570 (strchr): Do not use BP_SYM.
5571 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5572 "bp-asm.h".
5573 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5574 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5575 (_start): Do not use BP_SYM.
5576 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5577 "bp-asm.h".
5578 (strcat): Do not use BP_SYM.
5579 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5580 "bp-asm.h".
5581 (STRCMP): Do not use BP_SYM.
5582 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5583 "bp-asm.h".
5584 (STRCPY): Do not use BP_SYM.
5585 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5586 "bp-asm.h".
5587 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5588 "bp-asm.h".
5589 (FUNCTION): Do not use BP_SYM.
5590 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5591 weak_alias.
5592 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5593
f238fd19
AJ
55942013-02-17 Andreas Jaeger <aj@suse.de>
5595
5596 * time/Versions: Sort entries.
5597 * string/Versions: Likewise.
5598 * resolv/Versions: Likewise.
5599 * posix/Versions: Likewise.
5600 * iconv/Versions: Likewise.
5601 * elf/Versions: Likewise.
5602 * wcsmbs/Versions: Likewise.
5603
bd07f23c 56042013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 5605
22af19f9
SP
5606 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5607 loop termination condition.
5608
4709fe76
SP
5609 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5610 variable to calculate EZ.
5611 (__sqr): Likewise.
2d0e0f29
SP
5612
5613 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5614 the lower precision input.
5615
daaa7713
JM
56162013-02-15 Joseph Myers <joseph@codesourcery.com>
5617
5618 [BZ #13550]
5619 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5620 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5621 (run-via-rtld-prefix): Do not handle %-bp tests.
5622 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5623 (all-object-suffixes): Remove .ob.
5624 (bppfx): Remove variable.
5625 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5626 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5627 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5628 [$(build-bounded) = yes] (libtype.ob): Likewise.
5629 * Makerules (elide-routines.ob): Remove variable.
5630 (do-tests-clean): Do not handle *-bp.out.
5631 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5632 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5633 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5634 (tests): Do not include $(tests-bp.out).
5635 (xtests): Do not include $(xtests-bp.out).
5636 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5637 [$(build-bounded) = yes] ($(addprefix
5638 $(objpfx),$(binaries-bounded))): Remove rule.
5639 ($(objpfx)%-bp.out): Remove rule.
5640 * config.make.in (build-bounded): Remove variable.
5641 * crypt/Makefile [$(build-bounded) = yes]
5642 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5643 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5644 append to variable.
5645 [$(build-bounded) = yes] (install-lib): Likewise.
5646 [$(build-bounded) = yes] (generated): Likewise.
5647 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5648 Remove rule.
5649 * intl/Makefile [$(build-bounded) = yes]
5650 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5651 * math/Makefile [$(build-bounded) = yes]
5652 ($(tests:%=$(objpfx)%-bp): Likewise.
5653 * misc/Makefile [$(build-bounded) = yes]
5654 ($(objpfx)tst-tsearch-bp): Likewise.
5655 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5656 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5657 Remove dependency.
5658 * string/Makefile (o-objects.ob): Remove variable.
5659 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5660 (CFLAGS-.ob): Remove variable.
5661 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5662 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5663 both definitions of variable.
5664 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5665 (ASFLAGS-.ob): Remove variable.
5666
e97ed6dd
JM
56672013-02-14 Joseph Myers <joseph@codesourcery.com>
5668
2bdd4ca6
JM
5669 [BZ #13550]
5670 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5671 Remove __BOUNDED_POINTERS__ from condition.
5672 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5673 * string/bits/string2.h [!__NO_STRING_INLINES &&
5674 !__BOUNDED_POINTERS__]: Likewise.
5675 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5676 Likewise.
5677 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5678 Remove conditional code.
5679 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5680 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5681 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5682 condition.
5683
e97ed6dd
JM
5684 [BZ #13550]
5685 * csu/libc-start.c: Do not include <bp-sym.h>.
5686 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5687 * elf/dl-open.c: Do not include <bp-sym.h>.
5688 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5689 * math/fegetenv.c: Do not include <bp-sym.h>.
5690 (fegetenv): Do not use BP_SYM in versioned symbols.
5691 * nptl/sysdeps/pthread/bits/libc-lockP.h
5692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5693 <bp-sym.h>.
5694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5695 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5697 (__pthread_mutex_destroy): Likewise.
5698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5699 (__pthread_mutex_lock): Likewise.
5700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5701 (__pthread_mutex_trylock): Likewise.
5702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5703 (__pthread_mutex_unlock): Likewise.
5704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5705 (__pthread_mutexattr_init): Likewise.
5706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5707 (__pthread_mutexattr_destroy): Likewise.
5708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5709 (__pthread_mutexattr_settype): Likewise.
5710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5711 (__pthread_rwlock_init): Likewise.
5712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5713 (__pthread_rwlock_destroy): Likewise.
5714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5715 (__pthread_rwlock_rdlock): Likewise.
5716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5717 (__pthread_rwlock_tryrdlock): Likewise.
5718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5719 (__pthread_rwlock_wrlock): Likewise.
5720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5721 (__pthread_rwlock_trywrlock): Likewise.
5722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5723 (__pthread_rwlock_unlock): Likewise.
5724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5725 (__pthread_key_create): Likewise.
5726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5727 (__pthread_setspecific): Likewise.
5728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5729 (__pthread_getspecific): Likewise.
5730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5731 Likewise.
5732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5733 (_pthread_cleanup_push_defer): Likewise.
5734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5735 (_pthread_cleanup_pop_restore): Likewise.
5736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5737 (pthread_setcancelstate): Likewise.
5738 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5739 <bp-sym.h>.
5740 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5741 (memchr): Do not use BP_SYM in weak_alias.
5742 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5743 (fegetenv): Do not use BP_SYM in versioned symbols.
5744 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5745 (fesetenv): Do not use BP_SYM in versioned symbols.
5746 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5747 (feupdateenv): Do not use BP_SYM in versioned symbols.
5748 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5749 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5750 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5751 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5752 (open64): Do not use BP_SYM in weak_alias.
5753 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5754 (fegetenv): Do not use BP_SYM in versioned symbols.
5755 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5756 (fesetenv): Do not use BP_SYM in versioned symbols.
5757 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5758 (feupdateenv): Do not use BP_SYM in versioned symbols.
5759 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5760 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5761 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5762 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5763 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5764 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5765 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5766 <bp-sym.h>.
5767 (__libc_start_main): Do not use BP_SYM.
5768
d6752ccd
SP
57692013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5770
cb57ce60
SP
5771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5772 redundant return line.
5773 (norm): Likewise.
5774 (denorm): Likewise.
5775 (dbl_mp): Likewise.
5776 (sub_magnitudes): Likewise.
5777 (__add): Likewise.
5778 (__sub): Likewise.
5779 (__mul): Likewise.
5780 (__inv): Likewise.
5781 (__dvd): Likewise.
5782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5783 (norm): Likewise.
5784 (denorm): Likewise.
5785 (dbl_mp): Likewise.
5786 (sub_magnitudes): Likewise.
5787 (__add): Likewise.
5788 (__sub): Likewise.
5789 (__mul): Likewise.
5790 (__inv): Likewise.
5791 (__dvd): Likewise.
5792
f414520d
SP
5793 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5794 instead of __mul.
5795 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5796 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5797 (cc32): Likewise.
5798
d6752ccd
SP
5799 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5800 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5801 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5802 of __mul for squares.
5803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5804 function
5805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5806 Likewise.
5807 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5808 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5809
70d9946a
JM
58102013-02-13 Joseph Myers <joseph@codesourcery.com>
5811
5812 [BZ #13550]
5813 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5814 code.
5815 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5816 prototype or function definition. Rename ubp_* variables and
5817 parameters. Remove argv definitions conditional on
5818 [__BOUNDED_POINTERS__].
5819 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5820 * elf/dl-runtime.c (_dl_fixup): Likewise.
5821 * include/set-hooks.h (RUN_HOOK): Likewise.
5822 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5823 definition.
5824 * string/strcpy.c (strcpy): Do not use __unbounded.
5825 * sysdeps/generic/frame.h (struct layout): Likewise.
5826 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5827 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5828 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5829 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5830 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5831 (__backtrace): Likewise.
5832 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5833 use __ptrvalue.
5834 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5835 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5836 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5837 Likewise.
5838 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5839 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5840 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5841 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5842 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5843 Do not use __unbounded.
5844 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5845 Rename __unboundedrlimits parameter to rlimits in prototype.
5846 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5847 Do not use __unbounded.
5848 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5849 not use __ptrvalue.
5850 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5851 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5852 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5853 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5854 __ptrvalue or __unbounded.
5855 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5856 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5857 use __unbounded.
5858 (__new_msgctl): Do not use __ptrvalue.
5859 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5860 __unbounded.
5861 (__libc_msgrcv): Do not use __ptrvalue.
5862 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5863 startup_info): Do not use __unbounded.
5864 (__libc_start_main): Likewise. Rename ubp_* variables and
5865 parameters. Remove argv definitions conditional on
5866 [__BOUNDED_POINTERS__].
5867 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5868 __ptrvalue.
5869 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5870 use __unbounded.
5871 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5872 or __ptrvalue.
5873 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5874 use __unbounded.
5875 (__new_shmctl): Do not use __ptrvalue.
5876 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5877 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5878 Likewise.
5879 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5880 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5881 (__libc_sigaction): Likewise.
5882 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5883 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5884 Likewise.
5885 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5886
cc7834d6
OB
58872013-02-13 Ondřej Bílka <neleai@seznam.cz>
5888
ffb1ec7b 5889 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
5890
5891 * string/mempcpy.c: Implement by calling memcpy.
5892
bdf02814
SP
58932013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5894
c2af38aa
SP
5895 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5896
4e92d59e
SP
5897 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5898 evaluation.
5899
909279a5
SP
5900 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5901 values in the mantissa.
5902
bdf02814
SP
5903 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5904 minimize writes to Z.
5905 (sub_magnitudes): Simplify code a bit.
5906
cd525923
RM
59072013-02-12 Roland McGrath <roland@hack.frob.com>
5908
5909 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5910 from the message. The linker prefixes all warnings with that already.
5911
7e2f0d2d
AS
59122013-02-12 Andreas Schwab <schwab@suse.de>
5913
a445af0b
AS
5914 [BZ #15078]
5915 * posix/regexec.c (extend_buffers): Add parameter min_len.
5916 (check_matching): Pass minimum needed length.
5917 (clean_state_log_if_needed): Likewise.
5918 (get_subexp): Likewise.
5919 * posix/Makefile (tests): Add bug-regex34.
5920 (bug-regex34-ENV): Define.
5921 * posix/bug-regex34.c: New file.
5922
7e2f0d2d
AS
5923 [BZ #11561]
5924 * posix/regcomp.c (parse_bracket_exp): When looking up collating
5925 elements compare against the byte sequence of it, not its name.
5926 * posix/Makefile (tests): Add bug-regex35.
5927 (bug-regex35-ENV): Define.
5928 * posix/bug-regex35.c: New file.
5929
a175b684
TV
59302013-02-11 Tom de Vries <tom@codesourcery.com>
5931
5932 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5933 comment.
5934 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5935 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5936 (CHECK_EOL): Add undef.
5937
310998fe 59382013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
5939
5940 * bits/stdlib-bsearch.h: New file.
5941 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 5942 * stdlib/stdlib.h: Likewise.
41eda41d 5943
8ded91fb
RM
59442013-02-11 Roland McGrath <roland@hack.frob.com>
5945
5946 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5947 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5948 declaration.
5949 * manual/search.texi (Array Search Function): Add missing const in
5950 lfind prototype.
5951 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5952 declaration to use rlim_t.
5953 (Basic Scheduling Functions): Remove erroneous const from
5954 sched_getparam prototype. Remove erroneous * from
5955 sched_get_priority_max and sched_get_priority_min prototypes.
5956 (Resource Usage): Fix summary @comment on vtimes to refer to
5957 sys/vtimes.h rather than vtimes.h.
5958 Add missing *s in vtimes prototype.
5959 (Limits on Resources): Fix ulimit prototype to return long int.
5960 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5961 prototypes to use long int rather than double.
5962 (BSD Random): Fix initstate and setstate to use char *, not void *.
5963 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5964 prototype to make second argument 'struct aiocb64 *const[]'.
5965 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5966 (Status of AIO Operations): Remove erroneous const in aio_return and
5967 aio_return64 prototypes.
5968 (Synchronizing I/O): Fix sync prototype to return void.
5969 * manual/startup.texi (Suboptions): Remove an erroneous const in
5970 getsubopt prototype.
5971 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5972 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5973 use size_t rather than int.
5974 (Scanning All Users): Likewise for getpwent_r.
5975 (Setting Groups): Add missing const to setgroups prototype.
5976 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5977 * manual/socket.texi (Host Names): Fix gethostbyaddr and
5978 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5979 'const void *' rather than 'const char *'.
5980 (Host Address Functions): Likewise for inet_ntop.
5981 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5982 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5983 ssize_t for return value.
5984 (Sending Data): Likewise for send, sendto, sendmsg.
5985 (Socket Option Functions): Add a missing const in setsockopt prototype.
5986 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5987 use wchar_t for the argument.
5988 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5989 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5990 take no arguments.
5991 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5992 double/float/long double for second argument.
5993 Fix return types of significand, significandf, significandl.
5994 * manual/filesys.texi (Setting Permissions): Use mode_t for second
5995 argument in fchmod prototype.
5996 (File Owner): Use uid_t and gid_t in fchown prototype.
5997 (File Times): Add const to utimes, futimes, and lutimes prototypes.
5998 (Making Special Files): Use mode_t and dev_t in mknod prototype.
5999 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6000 use 'const struct dirent **' as argument types to CMP function pointer
6001 argument.
6002 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6003 (File Times): Fix summary magic @comment for struct utimbuf and utime
6004 to refer to utime.h, not time.h.
6005 * manual/string.texi (Argz Functions): Add missing const in
6006 argz_extract and argz_next prototypes.
6007 (Finding Tokens in a String): Likewise for basename.
6008 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6009 (Copying and Concatenation): Fix typo in wmemmove prototype.
6010 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6011 (Signal Stack): Remove erroneous const in sigstack prototype.
6012 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6013 prototype.
6014 (Simple Calendar Time): Likewise for stime.
6015 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6016 prototype.
6017 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6018 say sys/sysctl.h instead.
6019 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6020 and vsyslog prototypes.
6021
fe77fe6d
TV
60222013-02-11 Tom de Vries <tom@codesourcery.com>
6023
6024 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6025 Remove.
6026
3a09b620
RM
60272013-02-11 Roland McGrath <roland@hack.frob.com>
6028
6029 * misc/sys/mman.h: Fix typo in mremap comment.
6030
550a0b89
RM
60312013-02-08 Roland McGrath <roland@hack.frob.com>
6032
6033 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6034 the '\0' terminator.
6035
a2da1673
JM
60362013-02-08 Joseph Myers <joseph@codesourcery.com>
6037
6038 [BZ #13550]
6039 * debug/segfault.c: Don't include <bp-checks.h>.
6040 * sysdeps/generic/bp-checks.h: Remove file.
6041 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6042 (__GETDENTS): Don't use CHECK_N.
6043 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6044 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6045 (__getgroups): Don't use CHECK_N.
6046 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6047 (setgroups): Don't use CHECK_N.
6048 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6049 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6050 (__libc_msgrcv): Don't use CHECK_N.
6051 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6052 (__libc_msgsnd): Don't use CHECK_N.
6053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6054 <bp-checks.h>.
6055 (__libc_pread): Don't use CHECK_N.
6056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6057 include <bp-checks.h>.
6058 (__libc_pread64): Don't use CHECK_N.
6059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6060 include <bp-checks.h>.
6061 (__libc_pwrite): Don't use CHECK_N.
6062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6063 include <bp-checks.h>.
6064 (__libc_pwrite64): Don't use CHECK_N.
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6066 <bp-checks.h>.
6067 (__libc_pread): Don't use CHECK_N.
6068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6069 include <bp-checks.h>.
6070 (__libc_pread64): Don't use CHECK_N.
6071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6072 include <bp-checks.h>.
6073 (__libc_pwrite): Don't use CHECK_N.
6074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6075 include <bp-checks.h>.
6076 (__libc_pwrite64): Don't use CHECK_N.
6077 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6078 (do_pread): Don't use CHECK_N.
6079 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6080 (do_pread64): Don't use CHECK_N.
6081 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6082 (do_pwrite): Don't use CHECK_N.
6083 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6084 (do_pwrite64): Don't use CHECK_N.
6085 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6086 (__libc_readv): Don't use CHECK_N.
6087 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6088 (semop): Don't use CHECK_N.
6089 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6090 <bp-checks.h>.
6091 (semtimedop): Don't use CHECK_N.
6092 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6093 (__libc_pread): Don't use CHECK_N.
6094 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6095 <bp-checks.h>.
6096 (__libc_pread64): Don't use CHECK_N.
6097 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6098 <bp-checks.h>.
6099 (__libc_pwrite): Don't use CHECK_N.
6100 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6101 <bp-checks.h>.
6102 (__libc_pwrite64): Don't use CHECK_N.
6103 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6104 <bp-checks.h>.
6105 (__libc_msgrcv): Don't use CHECK_N.
6106 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6107 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6108 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6109 (__libc_writev): Don't use CHECK_N.
6110
b84660a8
RM
61112013-02-08 Roland McGrath <roland@hack.frob.com>
6112
7f3e75f8
RM
6113 * string/strcpy.c: Removed unused variable.
6114
b84660a8
RM
6115 * Makeconfig (+sysdep-includes): Define with := rather than =.
6116 Use an existing include/ subdir of each sysdeps dir before it.
6117
471514d3
CD
61182013-02-08 Carlos O'Donell <carlos@redhat.com>
6119
6120 * nscd/connection.c (register_traced_file): Comment function.
6121 [HAVE_INOTIFY] (union __inev): Define.
6122 [HAVE_INOTIFY] (inotify_check_files): New function.
6123 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6124 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6125 clear_db_cache.
6126 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6127
b2d3c3be
CD
61282013-02-08 Carlos O'Donell <carlos@redhat.com>
6129
6130 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6131 loaded if not already and that a failure is permanent.
6132
b39949d2
CD
61332013-02-08 Carlos O'Donell <carlos@redhat.com>
6134
ddacd1db 6135 [BZ #15006]
b39949d2
CD
6136 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6137 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6138
b2c9eff4
JM
61392013-02-08 Joseph Myers <joseph@codesourcery.com>
6140
f3aae3f3
JM
6141 [BZ #13550]
6142 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6143 (CHECK_1_NULL_OK): Likewise.
6144 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6145 (__fxstat): Do not use CHECK_1.
6146 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6147 <bp-checks.h>.
6148 (___fxstat64): Do not use CHECK_1.
6149 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6150 <bp-checks.h>.
6151 (__fxstatat): Do not use CHECK_1.
6152 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6153 <bp-checks.h>.
6154 (__fxstatat64): Do not use CHECK_1.
6155 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6156 <bp-checks.h>.
6157 (__fxstat): Do not use CHECK_1.
6158 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6159 <bp-checks.h>.
6160 (__fxstatat): Do not use CHECK_1.
6161 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6162 <bp-checks.h>.
6163 (__getresgid): Do not use CHECK_1.
6164 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6165 <bp-checks.h>.
6166 (__getresuid): Do not use CHECK_1.
6167 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6168 <bp-checks.h>.
6169 (__lxstat): Do not use CHECK_1.
6170 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6171 <bp-checks.h>.
6172 (__old_msgctl): Do not use CHECK_1.
6173 (__new_msgctl): Likewise.
6174 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6175 <bp-checks.h>.
6176 (__new_setrlimit): Do not use CHECK_1.
6177 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6178 <bp-checks.h>.
6179 (__old_shmctl): Do not use CHECK_1.
6180 (__new_shmctl): Likewise.
6181 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6182 <bp-checks.h>.
6183 (__xstat): Do not use CHECK_1.
6184 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6185 (__lxstat): Do not use CHECK_1.
6186 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6187 <bp-checks.h>.
6188 (___lxstat64): Do not use CHECK_1.
6189 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6190 (__old_msgctl): Do not use CHECK_1.
6191 (__new_msgctl): Likewise.
6192 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6193 <bp-checks.h>.
6194 (__gettimeofday): Do not use CHECK_1.
6195 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6196 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6197 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6198 <bp-checks.h>.
6199 (__gettimeofday): Do not use CHECK_1.
6200 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6201 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6202 (__new_shmctl): Do not use CHECK_1.
6203 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6204 <bp-checks.h>.
6205 (do_sigtimedwait): Do not use CHECK_1.
6206 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6207 <bp-checks.h>.
6208 (do_sigwaitinfo): Do not use CHECK_1.
6209 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6210 <bp-checks.h>.
6211 (msgctl): Do not use CHECK_1.
6212 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6213 <bp-checks.h>.
6214 (shmctl): Do not use CHECK_1.
6215 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6216 (ustat): Do not use CHECK_1.
6217 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6218 <bp-checks.h>.
6219 (__fxstat): Do not use CHECK_1.
6220 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6221 <bp-checks.h>.
6222 (__fxstatat): Do not use CHECK_1.
6223 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6224 <bp-checks.h>.
6225 (__lxstat): Do not use CHECK_1.
6226 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6227 <bp-checks.h>.
6228 (__xstat): Do not use CHECK_1.
6229 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6230 (__xstat): Do not use CHECK_1.
6231 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6232 (___xstat64): Do not use CHECK_1.
6233
b2c9eff4
JM
6234 [BZ #13550]
6235 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6236 definitions.
6237 (CHECK_BOUNDS_HIGH): Likewise.
6238 * string/strcpy.c: Do not include <bp-checks.h>.
6239 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6240
f1d70dad
RM
62412013-02-07 Roland McGrath <roland@hack.frob.com>
6242
6243 * nscd/nscd-client.h (__nscd_drop_map_ref):
6244 Add __attribute__ ((unused)).
6245 * nis/nss-nisplus.h (niserr2nss): Likewise.
6246
6247 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6248 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6249
6250 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6251 Remove inline keyword.
6252 * include/rounding-mode.h (round_away): Likewise.
6253 * libio/wfileops.c (adjust_wide_data): Likewise.
6254 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6255 (__m128i_strloadu_tolower): Likewise.
6256 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6257 (__m128i_strloadu_tolower): Likewise.
6258 * time/mktime.c (ydhms_diff): Likewise.
6259 * locale/elem-hash.h (elem_hash): Likewise.
6260 * locale/setlocale.c (setdata): Likewise.
6261 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6262 (re_string_wchar_at): Likewise.
6263 (bitset_not, bitset_merge, bitset_mask): Likewise.
6264 [!(__GNUC__ > 3)] (inline): Remove macro.
6265 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6266 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6267 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6268 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6269 * string/memcmp.c (memcmp_bytes): Likewise.
6270 * locale/programs/locarchive.c (compute_hashval): Likewise.
6271 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6272 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6273 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6274 * nss/getent.c (print_rpc, print_protocols): Likewise.
6275 (print_passwd, print_group, print_aliases): Likewise.
6276 * nis/nss-nisplus.h (niserr2nss): Likewise.
6277 * nscd/connections.c (restart_p): Likewise.
6278 Change return type to bool.
6279
eab55bfb
RM
62802013-02-05 Roland McGrath <roland@hack.frob.com>
6281
7bd642f5
RM
6282 * Makeconfig (all-Depend-files): Add existing
6283 $(sorted-subdirs:=/Depend) files.
6284 (all-subdirs): Remove nss.
6285 * sysdeps/unix/inet/Subdirs: Add it here instead.
6286 * hesiod/Depend: New file.
6287
573c29b2
RM
6288 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6289 instead of calling alloca.
6290
b2e25af0
RM
6291 * io/lseek.c (__lseek): Rename to __libc_lseek.
6292 Define __lseek as an alias.
6293
eab55bfb
RM
6294 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6295
9a0d1941
CD
62962013-02-04 Carlos O'Donell <carlos@redhat.com>
6297
6298 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6299 else clause and remove check for non-standard endianness.
6300
b83bbec4
DM
63012013-02-04 David S. Miller <davem@davemloft.net>
6302
6303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6304
6277fdab
JM
63052013-02-04 Joseph Myers <joseph@codesourcery.com>
6306
6307 [BZ #13550]
6308 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6309 (__ubp_memchr): Remove prototype.
6310 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6311 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6312 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6313 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6314 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6315 Remove alias.
6316 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6317 (__ubp_memchr): Likewise.
6318 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6319 (__ubp_memchr): Likewise.
6320 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6321 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6322 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6323 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6324 CHECK_STRING.
6325 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6326 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6327 (__getcwd): Do not use CHECK_STRING.
6328 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6329 <bp-checks.h>.
6330 (__real_chown): Do not use CHECK_STRING.
6331 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6332 <bp-checks.h>.
6333 (fchownat): Do not use CHECK_STRING.
6334 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6335 CHECK_STRING.
6336 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6337 <bp-checks.h>.
6338 (__lchown): Do not use CHECK_STRING.
6339 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6340 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6341 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6342 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6344 include <bp-checks.h>.
6345 (truncate64): Do not use CHECK_STRING.
6346 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6347 <bp-checks.h>.
6348 (__real_chown): Do not use CHECK_STRING.
6349 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6350 <bp-checks.h>.
6351 (__lchown): Do not use CHECK_STRING.
6352 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6353 <bp-checks.h>.
6354 (__chown): Do not use CHECK_STRING.
6355 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6356 <bp-checks.h>.
6357 (truncate64): Do not use CHECK_STRING.
6358 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6359 Likewise.
6360 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6361 (__xmknod): Do not use CHECK_STRING.
6362 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6363 <bp-checks.h>.
6364 (__xmknodat): Do not use CHECK_STRING.
6365 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6366 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6367
903ae060
AS
63682013-02-04 Andreas Schwab <schwab@suse.de>
6369
6370 [BZ #14142]
6371 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6372 * include/netdb.h: Likewise for h_errno.
6373 * elf/tst-stackguard1.c: Include <tls.h>.
6374
542f9466
JK
63752013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6376
6377 * elf/link.h (struct link_map): Extend the l_addr comment.
6378 * include/link.h (struct link_map): Likewise.
6379
e782a927
JM
63802013-02-01 Joseph Myers <joseph@codesourcery.com>
6381
6382 [BZ #13550]
6383 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6384 (BOUNDED_1): Remove macro.
6385 * debug/backtrace.c: Don't include <bp-checks.h>.
6386 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6387 (__backtrace): Likewise.
6388 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6389 <bp-checks.h>.
6390 (__backtrace): Don't use BOUNDED_1.
6391 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6392 <bp-checks.h>.
6393 (__backtrace): Don't use BOUNDED_1.
6394 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6395 (__backtrace): Don't use BOUNDED_1.
6396 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6397 (shmat): Don't use BOUNDED_N.
6398
8cf28c5e
JM
63992013-01-31 Joseph Myers <joseph@codesourcery.com>
6400
3a7ac8a0
JM
6401 [BZ #13550]
6402 * sysdeps/generic/bp-start.h: Remove file.
6403 * csu/libc-start.c: Don't include <bp-start.h>.
6404 (LIBC_START_MAIN): Set up __environ directly instead of using
6405 INIT_ARGV_and_ENVIRON.
6406 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6407 <bp-start.h>.
6408
f3499f95
JM
6409 [BZ #13550]
6410 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6411 definitions.
6412 (CHECK_FCNTL): Likewise.
6413 (CHECK_N_PAGES): Likewise.
6414
32a45bea
JM
6415 [BZ #13550]
6416 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6417 definitions.
6418 (CHECK_SIGSET_NULL_OK): Likewise.
6419 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6420 <bp-checks.h>.
6421 (sigpending): Don't use CHECK_SIGSET.
6422 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6423 <bp-checks.h>.
6424 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6425 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6426 <bp-checks.h>.
6427 (do_sigsuspend): Don't use CHECK_SIGSET.
6428 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6429 use CHECK_SIGSET.
6430 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6431 (do_sigwait): Don't use CHECK_SIGSET.
6432 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6433 use CHECK_SIGSET.
6434 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6435 include <bp-checks.h>.
6436 (sigpending): Don't use CHECK_SIGSET.
6437 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6438 include <bp-checks.h>.
6439 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6440 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6441 <bp-checks.h>.
6442 (sigpending): Don't use CHECK_SIGSET.
6443 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6444 <bp-checks.h>.
6445 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6446
2e8a5c8c
JM
6447 [BZ #13550]
6448 * sysdeps/generic/bp-semctl.h: Remove file.
6449 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6450 <bp-checks.h> and <bp-semctl.h>.
6451 (__old_semctl): Don't use CHECK_SEMCTL.
6452 (__new_semctl): Likewise.
6453 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6454 and <bp-semctl.h>.
6455 (__old_semctl): Don't use CHECK_SEMCTL.
6456 (__new_semctl): Likewise.
6457 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6458 <bp-checks.h> and <bp-semctl.h>.
6459 (__old_semctl): Don't use CHECK_SEMCTL.
6460 (__new_semctl): Likewise.
6461 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6462 <bp-checks.h> and <bp-semctl.h>.
6463 (semctl): Don't use CHECK_SEMCTL.
6464
c2d54929
JM
6465 [BZ #13550]
6466 * Makerules (elide-bp-thunks): Remove variable.
6467 (elide-routines.oS): Don't use $(elide-bp-thunks).
6468 (elide-routines.os): Likewise.
6469 (elide-routines.o): Likewise.
6470 (elide-routines.op): Likewise.
6471 (elide-routines.og): Likewise.
6472 (objects): Don't use $(bp-thunks).
6473 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6474 include.
6475 (common-generated): Do not add s-proto-bp.d.
6476 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6477 (int): Likewise.
6478 (typ): Likewise.
6479 Do not generate makefile rules for bounded-pointer thunks.
6480 * sysdeps/generic/bp-thunks.h: Remove file.
6481 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6482 * sysdeps/unix/s-proto-bp.S: Likewise.
6483
8cf28c5e
JM
6484 [BZ #15062]
6485 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6486 parts of result separately when argument is not close to line from
6487 -i to i and one part of argument is small.
6488 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6489 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6490 * math/libm-test.inc (cacos_test): Add more tests.
6491 (casin_test): Likewise.
6492 (casinh_test): Likewise.
6493 * sysdeps/i386/fpu/libm-test-ulps: Update.
6494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6495
c4e33b8d
DM
64962013-01-31 David S. Miller <davem@davemloft.net>
6497
6498 * po/de.po: Update from translation team.
6499
3b60b421
MK
65002013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6501
6502 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6503
bb931195
TS
65042013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6505
b5a5da23
TS
6506 * configure.in (_AC_PROG_CC_C89): New definition.
6507 * configure: Regenerate.
6508
bb931195
TS
6509 * configure.in (AC_PROG_CPP): New definition.
6510 * configure: Regenerate.
6511
8c53a12c
JM
65122013-01-23 Joseph Myers <joseph@codesourcery.com>
6513
6514 * debug/tst-backtrace.h: New file.
6515 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6516 (ret): Remove variable.
6517 (x): Likewise.
6518 (FAIL): Remove macro.
6519 (NO_INLINE): Likewise.
6520 (fn1): Use match function instead of strstr.
6521 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6522 (ret): Remove variable.
6523 (x): Likewise.
6524 (FAIL): Remove macro.
6525 (NO_INLINE): Likewise.
6526 (fn): Use match function instead of strstr.
6527 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6528 (ret): Remove variable.
6529 (x): Likewise.
6530 (FAIL): Remove macro.
6531 (NO_INLINE): Likewise.
6532 (handle_signal): Use match function instead of strstr.
6533 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6534 (ret): Remove variable.
6535 (x): Likewise.
6536 (FAIL): Remove macro.
6537 (NO_INLINE): Likewise.
6538 (handle_signal): Use match function instead of strstr.
6539
4858fa2a
RM
65402013-01-23 Roland McGrath <roland@hack.frob.com>
6541
6542 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6543
bae8e7f5
DM
65442013-01-23 David S. Miller <davem@davemloft.net>
6545
6546 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6547 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6548 argument of CAS if possible.
6549 * sysdeps/sparc/sparc64/bits/atomic.h
6550 (__arch_compare_and_exchange_val_32_acq): Likewise.
6551 (__arch_compare_and_exchange_val_64_acq): Likewise.
6552
9cbbc4ae
PT
65532013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6554
6555 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6556 * sysdeps/posix/ulimit.c: ... this.
92a601b8 6557 Include <limits.h>.
67b3f58c 6558 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 6559
5655a0b5
AC
65602013-01-23 Adam Conrad <adconrad@0c3.net>
6561
6562 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6563 (LDFLAGS-tst-array5): Likewise.
6564
052aff95
JM
65652013-01-23 Joseph Myers <joseph@codesourcery.com>
6566
6567 [BZ #15036]
6568 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6569 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6570 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6571 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6572
7c1e01aa
DM
65732013-01-21 David S. Miller <davem@davemloft.net>
6574
6575 * sysdeps/sparc/backtrace.c: New file.
6576 * sysdeps/sparc/sparc32/backtrace.h: New file.
6577 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6578 * sysdeps/sparc/sparc64/backtrace.h: New file.
6579 * sysdeps/sparc/sparc64/backtrace.c: Delete.
6580 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6581 -funwind-tables.
6582
ab087e0a
AS
65832013-01-21 Andreas Schwab <schwab@suse.de>
6584
6585 [BZ #15020]
6586 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6587 closed its stdout.
6588
ed689c2f
AS
65892013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6590
6591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6592 "mpa2.h".
6593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6594
31d470ac
JM
65952013-01-18 Joseph Myers <joseph@codesourcery.com>
6596 Mark Mitchell <mark@codesourcery.com>
6597 Tom de Vries <tom@codesourcery.com>
6598 Paul Pluzhnikov <ppluzhnikov@google.com>
6599
6600 * debug/tst-backtrace2.c: New file.
6601 * debug/tst-backtrace3.c: Likewise.
6602 * debug/tst-backtrace4.c: Likewise.
6603 * debug/tst-backtrace5.c: Likewise.
6604 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6605 (CFLAGS-tst-backtrace3.c): Likewise.
6606 (CFLAGS-tst-backtrace4.c): Likewise.
6607 (CFLAGS-tst-backtrace5.c): Likewise.
6608 (LDFLAGS-tst-backtrace2): Likewise.
6609 (LDFLAGS-tst-backtrace3): Likewise.
6610 (LDFLAGS-tst-backtrace4): Likewise.
6611 (LDFLAGS-tst-backtrace5): Likewise.
6612 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6613 tst-backtrace4 and tst-backtrace5.
6614
90567f30 66152013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
6616 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6617
6618 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6619 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6620 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6621 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6623 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6624 "+r" and remove output regs list as redundant. Add explicit inline
6625 asm to specify register of return val to work around compiler codegen
6626 bug. Remove (int) cast on return value. Add return type parameter to
6627 use in macro so that this macro does not truncate return value for
6628 64-bit values.
6629 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6630 pass to INTERNAL_VSYSCALL_NCS.
6631 (INLINE_VSYSCALL): Add 'long int' as return type to
6632 INTERNAL_VSYSCALL_NCS macro invocation.
6633 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6634 INTERNAL_VSYSCALL_NCS macro invocation.
6635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6636
d3b9ea61
SP
66372013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6638
0b57daeb
SP
6639 [BZ #14496]
6640 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6641 Fix application of SIMD FP exception mask.
6642
caa99d06
SP
6643 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6644 mp_no from a power of two.
6645 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6646 __mpexp_twomm1. Use __pow_mp.
6647
d3b9ea61
SP
6648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6649 multiplication.
6650
1dbaee3c
DM
66512013-01-17 David S. Miller <davem@davemloft.net>
6652
6653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6654
728d7b43
JM
66552013-01-17 Joseph Myers <joseph@codesourcery.com>
6656
6657 [BZ #15023]
6658 * include/complex.h: Condition contents on [!_COMPLEX_H].
6659 (__kernel_casinhf): New prototype.
6660 (__kernel_casinh): Likewise.
6661 (__kernel_casinhl): Likewise.
6662 * math/Makefile (libm_calls): Add k_casinh.
6663 * math/k_casinh.c: New file.
6664 * math/k_casinhf.c: Likewise.
6665 * math/k_casinhl.c: Likewise.
6666 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6667 finite nonzero arguments.
6668 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6669 finite nonzero arguments.
6670 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6671 finite nonzero arguments.
6672 * math/s_casinh.c: Do not include <float.h>.
6673 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6674 * math/s_casinhf.c: Do not include <float.h>.
6675 (__casinhf): Move code for finite nonzero arguments to
6676 k_casinhf.c.
6677 * math/s_casinhl.c: Do not include <float.h>.
6678 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6679 redefine.
6680 (__casinhl): Move code for finite nonzero arguments to
6681 k_casinhl.c.
6682 * math/libm-test.inc (cacos_test): Add more tests.
6683 * sysdeps/i386/fpu/libm-test-ulps: Update.
6684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6685
2a26ef3a
PT
66862013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6687
6688 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6689 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6690 [!HAVE_MREMAP]: Remove [defined linux] case.
6691 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6692
a897655d
SP
66932013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6694
6695 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6696
881ebe89 66972013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
6698
6699 * elf/elf.h (R_386_SIZE32): New relocation.
6700 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6701 R_386_SIZE32.
6702 (elf_machine_rela): Likewise.
6703 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6704 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6705
59981e9b
JM
67062013-01-17 Joseph Myers <joseph@codesourcery.com>
6707
6708 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6709 (FP_FAST_FMA): Do not define.
6710 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6711 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6712 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6713 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6714 !_SOFT_FLOAT]: Likewise.
6715 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6716 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6717 value.
6718 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6719 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6720 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6721 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6722 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6723 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6724 file.
6725
cfa8054f
AS
67262013-01-16 Andreas Schwab <schwab@suse.de>
6727
6728 [BZ #14327]
6729 * include/stdlib.h (__mktemp): Add declaration.
6730 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6731 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6732
dd930cc5
SP
67332013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6734
881ebe89
SP
6735 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6736 definitions.
6737 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6738 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6739 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6740 definitions here.
6741 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6742 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6743 definitions.
6744 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6745 and ONE.
6746 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6747 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6748 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6749 definitions.
6750 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6751 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6752 definitions.
6753 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 6754
dd930cc5
SP
6755 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6756
c19a9f89
DM
67572013-01-15 David S. Miller <davem@davemloft.net>
6758
1aa61767
DM
6759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6760 trunc{,f} to libm-sysdep_routes.
6761 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6763 file.
6764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6766 file.
6767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6768 file.
6769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6771 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6772 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6773 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6774 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6775 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6776 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6777
c42d5e98
DM
6778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6779 nearbyint{,f} to libm-sysdep_routes.
6780 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6782 New file.
6783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6784 file.
6785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6786 New file.
6787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6788 file.
6789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6791 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6792 file.
6793 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6794 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6795 file.
6796 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6797 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6798 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6799
c19a9f89
DM
6800 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6801 libc_feholdexcept and libc_fesetenv.
6802
357679d2
MF
68032013-01-15 Mike Frysinger <vapier@gentoo.org>
6804
6805 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6806
65a82e3d
DM
68072013-01-14 David S. Miller <davem@davemloft.net>
6808
8b954ab9
DM
6809 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6810 (SPARC_ASM_VIS2_IFUNC): Likewise.
6811 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6813 use of 'siam' instruction.
6814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6815 Likewise.
6816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6817 Likewise.
6818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6819 Likewise.
6820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6822 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6825 file.
6826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6827 file.
6828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6829 file.
6830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6831 file.
6832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6837 new VIS2 routines.
6838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6841 Likewise.
6842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6847 routines to libm-sysdep_routines.
6848 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6849
65a82e3d
DM
6850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6851 fdim/fdimf to libm-sysdep_routines.
6852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6853 file.
6854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6856 file.
6857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6860 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6861 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6862 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6863 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6864
e34ab705
SP
68652013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6866
2a91b573
SP
6867 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6868 to optimize copies.
6869
1066a534
SP
6870 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6872 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6873
e34ab705
SP
6874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6875 local variable MPTWO.
6876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6877 Likewise.
6878
aba5e596
MF
68792013-01-13 Mike Frysinger <vapier@gentoo.org>
6880
6881 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6882 GLOB_NOESCAPE.
6883
e557e9e5
MF
68842013-01-13 Mike Frysinger <vapier@gentoo.org>
6885
6886 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6887
0428cec9
MF
68882013-01-13 Mike Frysinger <vapier@gentoo.org>
6889
6890 * manual/pattern.texi (glob_t): Document gl_flags.
6891 (glob64_t): Likewise.
6892
8794a964
DM
68932013-01-11 David S. Miller <davem@davemloft.net>
6894
66438c3f
RM
6895 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6896 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6897 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
6898 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6899 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6900 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6901 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6902 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6903 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6904 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6905 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6906 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6907 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6908
4ae4244d
DM
6909 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6910 sparc V9 rather than using V8 code.
6911 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6912 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6913
8794a964
DM
6914 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6915 Move to...
6916 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6917 Here.
6918
6270516e
RM
69192013-01-11 Roland McGrath <roland@hack.frob.com>
6920
6921 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6922 not in the main loop.
6923 * configure: Regenerated.
6924
6a57d931
JM
69252013-01-11 Joseph Myers <joseph@codesourcery.com>
6926
6927 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6928 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6929 to just #else.
6930 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
6931 [!__GLIBC_HAVE_LONG_LONG] case.
6932 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6933 condition to just #else.
6934 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6935 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6936 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6937 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6938 unconditional.
6939 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6940 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6941 #elif condition to just #else.
6942 * sysdeps/unix/sysv/linux/sys/sysmacros.h
6943 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6944 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6945 #elif condition to just #else.
6946
0e8529e9
SE
69472013-01-11 Steve Ellcey <sellcey@mips.com>
6948
6949 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6950 (EF_MIPS_ARCH_64): Fix value.
6951 (EF_MIPS_ARCH_32R2): New.
6952 (EF_MIPS_ARCH_64R2): New.
6953
740b3dbe
L
69542013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6955
6956 * Makeconfig (+link-pie-before-libc): New.
6957 (+link-pie-after-libc): Likewise.
6958 (+link-pie-tests): Likewise.
6959 (+link-pie): Rewritten.
6960 (link-before-libc): Remove $(config-LDFLAGS).
6961 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6962 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6963 (config-LDFLAGS): Renamed to ...
6964 (rtld-LDFLAGS): This.
6965 (rtld-tests-LDFLAGS): New macro.
6966 (link-libc-rpath-link): Likewise.
6967 (link-libc-tests-rpath-link): Likewise.
6968 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6969 (link-libc): Prepand $(link-libc-rpath-link).
6970 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6971 (test-program-prefix): New macro.
6972 (test-via-rtld-prefix): Likewise.
6973 (test-program-cmd): Likewise.
6974 (host-test-program-cmd): Likewise.
6975 * Makefile ($(common-objpfx)testrun.sh): Replace
6976 $(run-program-prefix) with $(test-program-prefix).
6977 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6978 $(rtld-LDFLAGS).
6979 ($(common-objpfx)shlib.lds): Likewise.
6980 (build-module-helper): Likewise.
6981 ($(common-objpfx)format.lds): Likewise.
6982 * Rules (binaries-pie-tests): New.
6983 (binaries-pie-notests): Likewise.
6984 (binaries-pie): Rewritten.
6985 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6986 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6987 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6988 (make-test-out): Replace $(host-built-program-cmd) with
6989 $(host-test-program-cmd).
6990 * config.make.in (build-hardcoded-path-in-tests): New variable.
6991 * configure.in (--enable-hardcoded-path-in-tests): New configure
6992 option.
6993 (hardcoded_path_in_tests): New AC_SUBST.
6994 * configure: Regenerated.
6995 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6996 $(built-program-cmd) with $(test-program-cmd).
6997 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6998 (test_program_cmd): This.
6999 * elf/Makefile ($(objpfx)order.out): Run test with
7000 $(test-program-prefix).
7001 ($(objpfx)order2.out): Likewise.
7002 ($(objpfx)tst-initorder.out): Likewise.
7003 ($(objpfx)tst-initorder2.out): Likewise.
7004 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7005 $(test-program-cmd).
7006 ($(objpfx)tst-array1-static.out): Likewise.
7007 ($(objpfx)tst-array2.out): Likewise.
7008 ($(objpfx)tst-array3.out): Likewise.
7009 ($(objpfx)tst-array4.out): Likewise.
7010 ($(objpfx)tst-array5.out): Likewise.
7011 ($(objpfx)tst-array5-static.out): Likewise.
7012 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7013 $(test-program-cmd).
7014 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7015 $(run-program-prefix) with $(test-program-prefix).
7016 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7017 (test_program_prefix): This.
7018 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7019 $(run-program-prefix) with $(test-program-prefix).
7020 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7021 (test_program_prefix): This.
7022 * iconvdata/tst-tables.sh: Likewise.
7023 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7024 $(run-program-prefix) with $(test-program-prefix).
7025 ($(objpfx)tst-translit.out): Likewise.
7026 ($(objpfx)tst-gettext2.out): Likewise.
7027 ($(objpfx)tst-gettext4.out): Likewise.
7028 ($(objpfx)tst-gettext6.out): Likewise.
7029 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7030 (test_program_prefix): This.
7031 * intl/tst-gettext2.sh: Likewise.
7032 * intl/tst-gettext4.sh Likewise.
7033 * intl/tst-gettext6.sh: Likewise.
7034 * intl/tst-translit.sh: Likewise.
7035 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7036 with $(test-program-cmd).
7037 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7038 $(run-program-prefix) with $(test-program-prefix).
7039 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7040 (test_program_prefix): This.
7041 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7042 $(run-program-prefix) with $(test-program-prefix).
7043 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7044 (test_program_prefix): This.
7045 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7046 * posix/Makefile ($(objpfx)globtest.out): Replace
7047 $(run-via-rtld-prefix) and $(test-wrapper) with
7048 $(test-program-prefix) and $(test-via-rtld-prefix).
7049 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7050 $(test-program-prefix).
7051 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7052 $(host-test-program-cmd).
7053 (tst-spawn-ARGS): Likewise.
7054 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7055 $(test-program-prefix).
7056 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7057 (test_via_rtld_prefix): This.
7058 (test_wrapper): Renamed to ...
7059 (test_program_prefix): This.
7060 (run_program_prefix): Replaced by test_program_prefix.
7061 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7062 (test_program_prefix): This.
7063 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7064 with $(host-test-program-cmd).
7065 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7066 $(run-program-prefix) with $(test-program-prefix).
7067 ($(objpfx)tst-printf.out): Likewise.
7068 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7069 $(test-program-cmd).
7070 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7071 (test_program_prefix): This.
7072 * stdio-common/tst-unbputc.sh: Likewise.
7073 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7074 $(run-program-prefix) with $(test-program-prefix).
7075 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7076 (test_program_prefix): This.
7077 * string/Makefile ($(objpfx)tst-svc.out): Replace
7078 $(built-program-cmd) with $(test-program-cmd).
7079
c6fe55cf
AJ
70802013-01-11 Andreas Jaeger <aj@suse.de>
7081
7082 [BZ #15003]
7083 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7084 value. Sync with Linux 3.7.
7085
9e6919c8
DM
70862013-01-10 David S. Miller <davem@davemloft.net>
7087
7088 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7089 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7090 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7091
1c9f1a02
RM
70922013-01-10 Roland McGrath <roland@hack.frob.com>
7093
7094 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7095 never set.
7096 * configure: Regenerated.
7097
b9de2dde
DM
70982013-01-10 David S. Miller <davem@davemloft.net>
7099
7100 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7101 sparc V9 rather than using V8 code.
7102 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7103 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7104
e7f68ef4
RM
71052013-01-10 Roland McGrath <roland@hack.frob.com>
7106
7107 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7108 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7109 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7110 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7111 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7112 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7113 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7114 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7115 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7116 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7117 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7118 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7119 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7120 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7121 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7122 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7123 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7124 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7125 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7126 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7127 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7128 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7129 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7130 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7131 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7132 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7133 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7134
5a47cc9c
DM
71352013-01-10 David S. Miller <davem@davemloft.net>
7136
7137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7138
4cf8f209
L
71392013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7140
7141 * posix/Makefile (tests-static): New variable.
7142 (tests): Add $(tests-static).
7143 (tst-exec-static-ARGS): New variable.
7144 (tst-spawn-static-ARGS): Likewise.
7145 * posix/tst-exec-static.c: New file.
7146 * posix/tst-spawn-static.c: Likewise.
7147 * posix/tst-exec.c: Support run directly.
7148 * posix/tst-spawn.c: Likewise.
7149
fed0faa1
JM
71502013-01-10 Joseph Myers <joseph@codesourcery.com>
7151
828beb13
JM
7152 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7153 long.
7154 * math/bits/mathcalls.h (llrint): Likewise.
7155 (llround): Likewise.
7156 * stdlib/stdlib.h (struct drand48_data): Likewise.
7157 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7158 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7159 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7160 Likewise.
7161 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7162 Likewise.
7163 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7164 (elf_greg_t): Likewise.
7165 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7166 (__jmp_buf): Likewise.
7167 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7168 definitions.
7169 (llrint): Likewise, for all definitions.
7170 (llrintl): Likewise.
7171
fed0faa1
JM
7172 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7173 Remove [__GNUC__] condition.
7174 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7175 condition to just [__USE_ISOC99].
7176 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7177
1a20cb20
L
71782013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7179
7180 [BZ #14200]
7181 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7182 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7183 defined.
7184 (_POSIX_V6_ILP32_OFF32): Likewise.
7185 (_XBS5_ILP32_OFF32): Likewise.
7186 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7187 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7188
751b85f7
SP
71892013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7190
7490eb81
SP
7191 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7192
751b85f7
SP
7193 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7194 doubles __mpexp_twomm1. Adjust usage.
7195 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7196 Remove.
7197
988197f0
AS
71982013-01-10 Andreas Schwab <schwab@suse.de>
7199
7200 [BZ #14964]
7201 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7202 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7203
e83d7298
DM
72042013-01-09 David S. Miller <davem@davemloft.net>
7205
034ed64b 7206 [BZ #15003]
e83d7298
DM
7207 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7208 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7209 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7210 TCP_FASTOPEN): Define.
7211 (tcp_repair_opt): New structure.
7212 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7213 enum values.
7214 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7215 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7216 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7217 (tcp_cookie_transactions): New structure.
7218
d5e0b9bd
AB
72192013-01-09 Anton Blanchard <anton@samba.org>
7220
7221 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7222 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7223 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7224 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7225
0c07e3ea
JM
72262013-01-09 Joseph Myers <joseph@codesourcery.com>
7227
7228 * include/features.h (__USE_ANSI): Remove.
7229
232f7002
RM
72302013-01-09 Roland McGrath <roland@hack.frob.com>
7231
ad98e30c
RM
7232 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7233
232f7002
RM
7234 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7235
950c99ca
SP
72362013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7237
b5792741
SP
7238 * sysdeps/s390/fpu/libm-test-ulps: Update.
7239
47cf2278
SP
7240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7241
950c99ca
SP
7242 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7243 (__acr): Likewise.
7244 (__cpy): Likewise.
7245 (norm): Likewise.
7246 (denorm): Likewise.
7247 (__mp_dbl): Likewise.
7248 (__dbl_mp): Likewise.
7249 (add_magnitudes): Likewise.
7250 (sub_magnitudes): Likewise.
7251 (__add): Likewise.
7252 (__sub): Likewise.
7253 (__mul): Likewise.
7254 (__inv): Likewise.
7255 (__dvd): Likewise.
7256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7257 (__acr): Likewise.
7258 (__cpy): Likewise.
7259 (norm): Likewise.
7260 (denorm): Likewise.
7261 (__mp_dbl): Likewise.
7262 (__dbl_mp): Likewise.
7263 (add_magnitudes): Likewise.
7264 (sub_magnitudes): Likewise.
7265 (__add): Likewise.
7266 (__sub): Likewise.
7267 (__mul): Likewise.
7268 (__inv): Likewise.
7269 (__dvd): Likewise.
7270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7271 (__acr): Likewise.
7272 (__cpy): Likewise.
7273 (norm): Likewise.
7274 (denorm): Likewise.
7275 (__mp_dbl): Likewise.
7276 (__dbl_mp): Likewise.
7277 (add_magnitudes): Likewise.
7278 (sub_magnitudes): Likewise.
7279 (__add): Likewise.
7280 (__sub): Likewise.
7281 (__mul): Likewise.
7282 (__inv): Likewise.
7283 (__dvd): Likewise.
7284
eede9df9
JM
72852013-01-08 Joseph Myers <joseph@codesourcery.com>
7286
7287 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7288 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7289 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7290 2 && __USE_EXTERN_INLINES]: Likewise.
7291
c40ea3d9
AJ
72922013-01-08 Andreas Jaeger <aj@suse.de>
7293
7294 [BZ# 14985]
7295 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7296 Remove.
7297 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7298 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7299
2ccdea26
AB
73002013-01-07 Anton Blanchard <anton@samba.org>
7301
7302 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7303 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7304 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7305 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7306 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7307 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7308 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7309 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7311 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7312 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7313 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7314 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7315 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7316 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7317 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7318 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7319 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7320 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7321 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7322 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7323 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7324 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7325 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7326 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7327 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7328 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7329 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7330 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7331 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7332 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7334 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7335 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7336 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7337 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7338 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7339 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7340 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7341 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7342 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7343 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7344 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7345
a9708fed
JM
73462013-01-07 Joseph Myers <joseph@codesourcery.com>
7347
375607b9
JM
7348 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7349 (__MALLOC_PMT): Likewise.
7350 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7351 [__GNUC__], only on [_LIBC].
7352 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7353 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7354 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7355 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7356 forward declaration.
7357 (realloc_hook_ini): Likewise.
7358 (memalign_hook_ini): Likewise.
7359 (__libc_memalign): Do not use __MALLOC_PMT in variable
7360 declaration.
7361 (__libc_valloc): Likewise.
7362 (__libc_pvalloc): Likewise.
7363 (__libc_calloc): Likewise.
7364 (__posix_memalign): Likewise.
7365
a9708fed
JM
7366 [BZ #14996]
7367 * math/s_casinh.c: Include <float.h>.
7368 (__casinh): Do not do computation with squaring and square root
7369 for large arguments.
7370 * math/s_casinhf.c: Include <float.h>.
7371 (__casinhf): Do not do computation with squaring and square root
7372 for large arguments.
7373 * math/s_casinhl.c: Include <float.h>.
7374 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7375 (__casinhl): Do not do computation with squaring and square root
7376 for large arguments.
7377 * math/libm-test.inc (casin_test): Add more tests.
7378 (casinh_test): Likewise.
7379 * sysdeps/i386/fpu/libm-test-ulps: Update.
7380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7381
afec409a
L
73822013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7383
7384 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7385 (__x86_64_raw_data_cache_size): Likewise.
7386 (__x86_64_data_cache_size_half): Likewise.
7387 (__x86_64_raw_data_cache_size_half): Likewise.
7388 (__x86_64_shared_cache_size): Likewise.
7389 (__x86_64_raw_shared_cache_size): Likewise.
7390 (__x86_64_shared_cache_size_half): Likewise.
7391 (__x86_64_raw_shared_cache_size_half): Likewise.
7392 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7393 to ...
7394 (__x86_data_cache_size): This.
7395 (__x86_64_raw_data_cache_size): Renamed to ...
7396 (__x86_raw_data_cache_size): This.
7397 (__x86_64_data_cache_size_half): Renamed to ...
7398 (__x86_data_cache_size_half): This.
7399 (__x86_64_raw_data_cache_size_half): Renamed to ...
7400 (__x86_raw_data_cache_size_half): This.
7401 (__x86_64_shared_cache_size): Renamed to ...
7402 (__x86_shared_cache_size): This.
7403 (__x86_64_raw_shared_cache_size): Renamed to ...
7404 (__x86_raw_shared_cache_size): This.
7405 (__x86_64_shared_cache_size_half): Renamed to ...
7406 (__x86_shared_cache_size_half): This.
7407 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7408 (__x86_raw_shared_cache_size_half): This.
7409 * sysdeps/x86_64/memcpy.S: Updated.
7410 * sysdeps/x86_64/memset.S: Likewise.
7411 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7412 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7413 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7414
0b3986d0
DM
74152013-01-04 David S. Miller <davem@davemloft.net>
7416
7417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7418
e47686e9
AS
74192013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7420
d643bac1
AS
7421 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7422 1 to avoid redefinition warning.
7423 (__USE_GNU): Don't define.
7424 (init_signaling_nan): Protoize.
7425
e47686e9
AS
7426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7427
b18decba
SP
74282013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7429
fffb407f
SP
7430 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7432 (__cpymn): Likewise.
7433 (norm): Remove commented code.
7434 (denorm): Likewise.
7435 (__mp_dbl): Likewise.
7436 (__inv): Likewise.
7437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7438 (__cpymn): Likewise.
7439 (norm): Remove commented code.
7440 (denorm): Likewise.
7441 (__mp_dbl): Likewise.
7442 (__inv): Likewise.
7443
b18decba
SP
7444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7445 mp_no value for 1.0 and 2.0.
7446 (norm): Use RADIXI instead of radixi.d.
7447 (denorm): Likewise.
7448 (__mul): Use 0.0 instead of zero.d.
7449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7450 mp_no value for 1.0 and 2.0.
7451 (norm): Use RADIXI instead of radixi.d.
7452 (denorm): Likewise.
7453 (__mul): Use 0.0 instead of zero.d.
7454
cdc1c96f
JM
74552013-01-04 Joseph Myers <joseph@codesourcery.com>
7456
7457 [BZ #14994]
7458 * math/s_casinh.c (__casinh): Reduce finite argument to first
7459 quadrant then set signs of results at the end.
7460 * math/s_casinhf.c (__casinhf): Likewise.
7461 * math/s_casinhl.c (__casinhl): Likewise.
7462 * math/libm-test.inc (casin_test): Add more tests.
7463 (casinh_test): Likewise.
7464 * sysdeps/i386/fpu/libm-test-ulps: Update.
7465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7466
302913e1
SP
74672013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7468
6420d207
SP
7469 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7470
a9e48ab4
SP
7471 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7472
b7837264
SP
7473 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7474 declarations.
7475 (denorm): Likewise.
7476 (__mp_dbl): Likewise.
7477 (__inv): Likewise.
7478
f8af25d2
SP
7479 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7480 and adjust the header comment.
7481
302913e1
SP
7482 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7483 variable name from declaration.
7484
5d7dd1ca
L
74852013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7486
7487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7488 Initialize COMMON_CPUID_INDEX_7 element.
7489 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7490 (CPUID_RTM): Likewise.
7491 (HAS_RTM): Likewise.
7492 (COMMON_CPUID_INDEX_7): New enum.
7493
2f5f40f4
AS
74942013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7495
7496 [BZ #14981]
7497 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7498 size is zero, record memory as freed.
7499
4056f4a0
AJ
75002013-01-03 Andreas Jaeger <aj@suse.de>
7501
7502 * po/ia.po: Add new Interlingua translation.
7503
ab15736f 75042012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
7505
7506 * locale/programs/localedef.c: Fix description of '--posix' flag.
7507
568035b7
JM
75082013-01-02 Joseph Myers <joseph@codesourcery.com>
7509
e6898b8d
JM
7510 * NEWS: Update dates in second copyright notice.
7511 * README: Update copyright dates in example.
7512 * manual/libc.texinfo: Update copyright dates.
7513 * scripts/test-installation.pl: Update copyright date in --version
7514 output.
7515
0e2f9562
JM
7516 * hurd/ctty-input.c: Fix copyright notice formatting.
7517 * hurd/ctty-output.c: Likewise.
7518 * hurd/dtable.c: Likewise.
7519 * hurd/hurd-raise.c: Likewise.
7520 * hurd/hurdprio.c: Likewise.
7521 * hurd/msgportdemux.c: Likewise.
7522 * misc/sys/file.h: Likewise.
7523 * misc/sys/ioctl.h: Likewise.
7524 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7525 * sysdeps/mach/hurd/chdir.c: Likewise.
7526 * sysdeps/mach/hurd/fchdir.c: Likewise.
7527 * sysdeps/mach/hurd/rename.c: Likewise.
7528 * sysdeps/mach/hurd/rmdir.c: Likewise.
7529 * sysdeps/mach/hurd/seekdir.c: Likewise.
7530 * sysdeps/mach/hurd/setsid.c: Likewise.
7531 * sysdeps/posix/wait3.c: Likewise.
7532
568035b7
JM
7533 * All files with FSF copyright notices: Update copyright dates
7534 using scripts/update-copyrights.
7535 * intl/plural.c: Regenerated.
7536 * locale/programs/charmap-kw.h: Likewise.
7537 * locale/programs/locfile-kw.h: Likewise.
7538
da08f647
SP
75392013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7540
0f5477af
SP
7541 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7542 four values.
7543
44e0d4c2
SP
7544 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7545 calculation loop and add branch prediction.
7546
4d55b4e5
SP
7547 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7548 check access beyond bounds of m1np.
7549
da08f647
SP
7550 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7551 MPTWO.
7552 (__inv): Remove local variable MPTWO to use the global
7553 constant.
7554 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7555 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7556 variable MPTWO.
7557 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7558 MP3HALFS static const.
7559
8e051029
DM
75602013-01-01 David S. Miller <davem@davemloft.net>
7561
7562 * po/ca.po: Update from translation team.
7563
f4cf5f2d
JM
75642013-01-01 Joseph Myers <joseph@codesourcery.com>
7565
7566 * scripts/update-copyrights: New file.
7567 * Makeconfig: Reformat copyright notice.
7568 * ctype/ctype.h: Likewise.
7569 * debug/swprintf_chk.c: Likewise.
7570 * elf/dl-cache.c: Likewise.
7571 * elf/dl-debug.c: Likewise.
7572 * elf/dl-object.c: Likewise.
7573 * grp/initgroups.c: Likewise.
7574 * hurd/Makefile: Likewise.
7575 * hurd/hurd/signal.h: Likewise.
7576 * hurd/hurdfault.c: Likewise.
7577 * hurd/hurdioctl.c: Likewise.
7578 * hurd/hurdlookup.c: Likewise.
7579 * hurd/intr-msg.c: Likewise.
7580 * iconv/gconv_open.c: Likewise.
7581 * libio/swprintf.c: Likewise.
7582 * locale/lc-ctype.c: Likewise.
7583 * locale/nl_langinfo.c: Likewise.
7584 * mach/Machrules: Likewise.
7585 * mach/Makefile: Likewise.
7586 * malloc/obstack.h: Likewise.
7587 * manual/Makefile: Likewise.
7588 * manual/tsort.awk: Likewise.
7589 * misc/bits/stab.def: Likewise.
7590 * nis/nis_print_group_entry.c: Likewise.
7591 * nis/nis_table.c: Likewise.
7592 * nis/nss_compat/compat-pwd.c: Likewise.
7593 * nis/nss_compat/compat-spwd.c: Likewise.
7594 * po/Makefile: Likewise.
7595 * posix/fnmatch.c: Likewise.
7596 * posix/regex.h: Likewise.
7597 * resolv/Makefile: Likewise.
7598 * resolv/nss_dns/dns-network.c: Likewise.
7599 * resolv/res_hconf.c: Likewise.
7600 * scripts/gen-sorted.awk: Likewise.
7601 * soft-fp/soft-fp.h: Likewise.
7602 * stdio-common/printf.h: Likewise.
7603 * stdlib/monetary.h: Likewise.
7604 * stdlib/random.c: Likewise.
7605 * stdlib/random_r.c: Likewise.
7606 * sysdeps/generic/Makefile: Likewise.
7607 * sysdeps/gnu/Makefile: Likewise.
7608 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7609 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7610 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7612 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7615 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7616 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7617 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7618 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7619 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7620 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7621 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7622 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7623 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7624 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7625 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7626 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7627 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7628 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7629 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7630 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7631 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7632 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7633 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7634 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7635 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7636 * sysdeps/mach/hurd/errnos.awk: Likewise.
7637 * sysdeps/mach/hurd/fork.c: Likewise.
7638 * sysdeps/mach/hurd/getcwd.c: Likewise.
7639 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7640 * sysdeps/mach/hurd/mmap.c: Likewise.
7641 * sysdeps/mach/hurd/utimes.c: Likewise.
7642 * sysdeps/mach/hurd/xmknod.c: Likewise.
7643 * sysdeps/posix/profil.c: Likewise.
7644 * sysdeps/posix/readdir_r.c: Likewise.
7645 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7646 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7647 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7648 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7650 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7651 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7652 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7654 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7655 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7656 * sysdeps/pthread/lio_listio.c: Likewise.
7657 * sysdeps/sparc/dl-procinfo.h: Likewise.
7658 * sysdeps/unix/i386/sysdep.S: Likewise.
7659 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7660 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7661 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7662 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7664 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7665 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7666 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7667 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7668 * sysdeps/wordsize-32/divdi3.c: Likewise.
7669 * time/sys/time.h: Likewise.
7670 * wcsmbs/Makefile: Likewise.
7671
0549fbba
DM
76722013-01-01 David S. Miller <davem@davemloft.net>
7673
a141f1a7
DM
7674 * po/fr.po: Update from translation team.
7675
0549fbba
DM
7676 * catgets/gencat.c: Update copyright year.
7677 * csu/version.c: Likewise.
7678 * debug/catchsegv.sh: Likewise.
7679 * debug/pcprofiledump.c: Likewise.
7680 * debug/xtrace.sh: Likewise.
7681 * elf/ldconfig.c: Likewise.
7682 * elf/ldd.bash.in: Likewise.
7683 * elf/pldd.c: Likewise.
7684 * elf/sotruss.ksh: Likewise.
7685 * elf/sprof.c: Likewise.
7686 * iconv/iconv_prog.c: Likewise.
7687 * iconv/iconvconfig.c: Likewise.
7688 * locale/programs/locale.c: Likewise.
7689 * locale/programs/localedef.c: Likewise.
7690 * login/programs/pt_chown.c: Likewise.
7691 * malloc/memusage.sh: Likewise.
7692 * malloc/memusagestat.c: Likewise.
7693 * malloc/mtrace.pl: Likewise.
7694 * nscd/nscd.c: Likewise.
7695 * nss/getent.c: Likewise.
7696 * nss/makedb.c: Likewise.
7697 * posix/getconf.c: Likewise.
7698
18ea052c
SP
76992012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7700
7701 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7702 numbers.
7703
9c89fca6
MF
77042012-12-30 Mike Frysinger <vapier@gentoo.org>
7705
7706 * math/bits/mathcalls.h (modf): Use __nonnull.
7707
085ec079
SP
77082012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7709
7710 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7711 (split): Use macro CN instead of the bare value.
7712 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7713 could be used.
7714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7715 instead of the bare value.
7716 (power1): Likewise.
7717
6d9f97e1
SP
77182012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7719
d63f73be
SP
7720 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7721 __ATAN_TWOM.
7722 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7723
6d9f97e1
SP
7724 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7725 their values.
7726 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7727 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7728 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7729 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7730
4c4febf5
AJ
77312012-12-28 Andreas Jaeger <aj@suse.de>
7732
af5843ef
AJ
7733 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7734 values are from Linux 3.7.
7735
4c4febf5
AJ
7736 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7737 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7738
99136f82
SP
77392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7740
2f216c3c 7741 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
7742 TRUE case.
7743
99136f82
SP
7744 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7745 (norm): Likewise.
7746 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7747 variables with preprocessor constants.
7748 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7749 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7750 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7751
7fffbdff
BH
77522012-12-27 Bruno Haible <bruno@clisp.org>
7753
7754 [BZ #14317]
7755 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7756 only if needed.
7757
b76eb5f0
SP
77582012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7759
31a7fe5c
SP
7760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7761 and use variable directly.
7762 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7763
b76eb5f0
SP
7764 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7765 MPONE.
7766 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7767 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7768 variable MPONE.
7769 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7770 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7771 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7772 include directive. Remove local variable MPONE.
7773 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7774 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7775 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7776
2c8bfe7d
DM
77772012-12-25 David S. Miller <davem@davemloft.net>
7778
7779 * version.h (RELEASE): Set to "development".
7780 (VERSION): Set to "2.17.90".
7781 * NEWS: Add 2.18 section.
7782
147d03b0
DM
77832012-12-21 David S. Miller <davem@davemloft.net>
7784
7785 * po/hr.po: Update from translation team.
7786
a8ebb2b9
AK
77872012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7788
7789 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7790
95b4f1b6
SE
77912012-12-19 Steve Ellcey <sellcey@mips.com>
7792
b2d94007 7793 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 7794
cedb2a90
MS
77952012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7796
7797 * manual/contrib.texi (Contributors): Spelling correction.
7798
bbf527d6
DM
77992012-12-15 David S. Miller <davem@davemloft.net>
7800
7801 * po/ru.po: Update from translation team.
7802
bc38c906
DM
78032012-12-13 David S. Miller <davem@davemloft.net>
7804
85429b1a
DM
7805 * NEWS: Mention IFUNC testsuite enhancements.
7806
d283e353
DM
7807 * po/pl.po: Update from translation team.
7808 * po/bg.po: Likewise.
7809
bc38c906
DM
7810 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7811 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7812
a181b0d7
DM
78132012-12-11 David S. Miller <davem@davemloft.net>
7814
4641d57e
DM
7815 * po/sv.po: Update from translation team.
7816
f7bc6495
DM
7817 * po/vi.po: Update from translation team.
7818
6fc9048f
DM
7819 * po/cs.po: Update from translation team.
7820
a181b0d7
DM
7821 * po/de.po: Update from translation team.
7822 * po/eo.po: Likewise.
7823 * po/nl.po: Likewise.
7824
f70bfe80
SP
78252012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7826
3c8b4190
SP
7827 [BZ #14246]
7828 * manual/argp.texi (Argp Helper Functions): Move node to follow
7829 Argp Parsing State.
7830
f70bfe80
SP
7831 [BZ #14872]
7832 * manual/conf.texi (Limits on File System Capacity): Mention if
7833 terminating null is included in the max size.
7834
188f0adf
AJ
78352012-12-10 Andreas Jaeger <aj@suse.de>
7836
7837 * po/cs.po: Update from translation team.
7838
56e7d3ad
SP
78392012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7840
7841 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7842 void pointer and cast to uintptr_t.
7843 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7844 path.
7845 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7846 * sysdeps/s390/s390-64/memset.S: Likewise.
7847
76f2d2ea 78482012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
7849
7850 [BZ #14833]
7851 * menual/message.texi (Message Translation): Fix typos.
7852 (Helper programs for gettext): Likewise.
7853
67cbf9a2
AS
78542012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7855
7856 [BZ #14898]
7857 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7858 Change to -1.
7859
682d0e9a
DM
78602012-12-07 David S. Miller <davem@davemloft.net>
7861
7862 * po/libc.pot: Update.
7863
573cd484
RH
78642012-12-07 Richard Henderson <rth@redhat.com>
7865
7e9da188 7866 [BZ #10114]
573cd484
RH
7867 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7868 normal/normal case to before the switch.
7869 (_FP_DIV): Likewise.
7870
e933a943
MF
78712012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7872 Mike Frysinger <vapier@gentoo.org>
7873
7874 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7875 check for __NR_fadvise64_64.
7876
82123268
CM
78772012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7878
7879 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7880 0, not just to plain "0" as a statement.
7881 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7882 with cw.
7883
d9814526
JM
78842012-12-06 Joseph Myers <joseph@codesourcery.com>
7885
7886 * NEWS: Use sourceware.org in Bugzilla URL.
7887
7728c574
SP
78882012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7889
f16946dd
SP
7890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7891 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7892
5704bbcb
SP
7893 * stdio-common/tst-put-error.c (do_test): Add newline to the
7894 padded test to ensure flush.
7895
17aa0516
JL
78962012-12-05 Jeff Law <law@redhat.com>
7897
7898 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7899
363313b5
JM
79002012-12-05 Joseph Myers <joseph@codesourcery.com>
7901
effbd42a
JM
7902 * README: Don't refer to ports add-on as distributed separately.
7903 Mention AArch64 in list of systems supported in the ports add-on.
7904
87600365
JM
7905 * LICENSES: Add more non-FSF copyright and license notices.
7906
a0d7066a
JM
7907 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7908 ((unused)).
7909
66ca5a5b
JM
7910 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7911
363313b5
JM
7912 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7913 10000 as width of padded output.
7914
b37984ad
JM
79152012-12-04 Joseph Myers <joseph@codesourcery.com>
7916
9003570a
JM
7917 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7918
b37984ad
JM
7919 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7920 variable LX with __attribute__ ((unused)).
7921 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7922 Likewise.
7923 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7924 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7925 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7926 with __attribute__ ((unused)).
7927
c8df52ec
DM
79282012-12-04 David S. Miller <davem@abraco.davemloft.net>
7929
7930 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7931
b3b099af
JM
79322012-12-04 Joseph Myers <joseph@codesourcery.com>
7933
c33aa6e3
JM
7934 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7935 (CFLAGS-nldbl-acos.c): New variable.
7936 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7937 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7938 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7939 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7940 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7941 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7942 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7943 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7944 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7945 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7946 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7947 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7948 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7949 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7950 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7951 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7952 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7953 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7954 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7955 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7956 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7957 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7958 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7959 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7960 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7961 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7962 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7963 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7964 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7965 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7966 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7967 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7968 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7969 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7970 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7971 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7972 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7973 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7974 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7975 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7976 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7977 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7978 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7979 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7980 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7981 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7982 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7983 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7984 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7985 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7986 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7987 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7988 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7989 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7990 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7991 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7992 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7993 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7994 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7995 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7996 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7997 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7998 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7999 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8000 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8001 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8002 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8003 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8004 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8005 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8006 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8007 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8008 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8009 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8010 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8011 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8012 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8013 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8014 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8015 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8016 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8017 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8018 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8019 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8020 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8021 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8022 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8023 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8024 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8025 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8026 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8027 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8028 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8029 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8030 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8031 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8032 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8033
20f0018d
JM
8034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8035 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8036
b3b099af
JM
8037 [BZ #14914]
8038 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8039 whole low double instead of just low 47 bits when splitting values
8040 into two parts.
8041
029264d1
AM
80422012-12-03 Allan McRae <allan@archlinux.org>
8043
8044 * manual/stdio.texi (Predefined Printf Handlers): Remove
8045 @hsep and @vsep usage.
8046
c9d6789e
MF
80472012-12-03 Mike Frysinger <vapier@gentoo.org>
8048
8049 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8050 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8051
4b7634a5
JL
80522012-12-03 Jeff Law <law@redhat.com>
8053
8054 * time/sys/time.h (settimeofday): Do not mark TV argument
8055 as __nonnull.
8056
eb6cbd24
MF
80572012-12-01 Mike Frysinger <vapier@gentoo.org>
8058
8059 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8060 when currently writing and seek to current position when not.
8061 * libio/Makefile (tests): Remove bug-fclose1.
8062 * libio/bug-fclose1.c: Delete.
8063
f638872a
JM
80642012-12-01 Joseph Myers <joseph@codesourcery.com>
8065
8066 * manual/arith.texi (feenableexcept): Fix typo.
8067 (fedisableexcept): Likewise.
8068
48085d14
RM
80692012-11-30 Roland McGrath <roland@hack.frob.com>
8070
8071 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8072 second, differently-typed declaration, rather than a cast.
8073
1a538b9f
SP
80742012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8075
8076 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8077 * include/rpc/svc.h: ... here.
8078
d07f2ff1 80792012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8080
8081 [BZ #13013]
8082 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8083 depending n and resplen2 to catch cases where answer
8084 equals answerp2.
8085
c93ec1f0
CD
80862012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8087
8088 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8089 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8090
37db69de
MF
80912012-11-29 Mike Frysinger <vapier@gentoo.org>
8092
8093 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8094
e10c4e4f
RM
80952012-11-29 Roland McGrath <roland@hack.frob.com>
8096
8097 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8098
2af1b328
JL
80992012-11-28 Jeff Law <law@redhat.com>
8100
8101 [BZ #13761]
8102 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8103 dataset_temporary. Track alloca usage into alloca_used.
8104 If dataset is large allocate and release it via malloc/free.
8105
111db5b1
FW
81062012-06-04 Florian Weimer <fweimer@redhat.com>
8107
f06cc227 8108 [BZ #14197]
111db5b1
FW
8109 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8110
dd694abd
DM
81112012-11-28 David S. Miller <davem@davemloft.net>
8112
8113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8114
9984dd01
JM
81152012-11-28 Joseph Myers <joseph@codesourcery.com>
8116
8117 [BZ #14803]
8118 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8119 of pi/2 rounded to nearest to 64 bits.
8120 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8121 nearest to 64 bits.
8122 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8123 bits.
8124
14bc93a9
JL
81252012-11-28 Jeff Law <law@redhat.com>
8126 Martin Osvald <mosvald@redhat.com>
8127
8128 [BZ #14889]
8129 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8130 * sunrpc/svc.c: Include time.h.
8131 (__svc_accept_failed): New function.
8132 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8133 any reason other than EINTR, call __svc_accept_failed.
8134 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8135 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8136
e3c6aa3a
AS
81372012-11-28 Andreas Schwab <schwab@suse.de>
8138
8139 * scripts/abilist.awk: Also handle indirect functions in .opd
8140 section.
8141
1bead169
JM
81422012-11-28 Joseph Myers <joseph@codesourcery.com>
8143
8144 [BZ #13881]
8145 * sysdeps/x86/fpu/powl_helper.c: New file.
8146 * sysdeps/x86/fpu/Makefile: Likewise.
8147 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8148 (p3): New object.
8149 (__ieee754_powl): Use __powl_helper for finite arguments except
8150 integer exponents below 8.
8151 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8152 (p3): New object.
8153 (__ieee754_powl): Use __powl_helper for finite arguments except
8154 integer exponents below 8.
8155 * math/libm-test.inc (pow_test): Add more tests and enable some
8156 previously disabled tests.
8157 * sysdeps/i386/fpu/libm-test-ulps: Update.
8158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8159
0817d63d
SP
81602012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8161 Carlos O'Donell <carlos_odonell@mentor.com>
8162
8163 * nss/makedb.c (is_prime): Assert that input is odd and greater
8164 than 4. Note that fact in a comment too.
8165 (next_prime): Add 4 to input.
8166
de2fd463
SP
81672012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8168
8169 [BZ #11741]
8170 * libio/Makefile (tests): Add test case tst-fwrite-error.
8171 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8172 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8173 * libio/tst-fwrite-error.c: New test case.
8174
c515fb51
L
81752012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8176
8177 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8178 before casting to void *.
8179 * include/libc-internal.h (__pointer_type): New macro.
8180 (__integer_if_pointer_type_sub): Likewise.
8181 (__integer_if_pointer_type): Likewise.
8182 (cast_to_integer): Likewise.
8183 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8184 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8185 before casting to atomic64_t.
8186 (atomic_exchange_acq): Likewise.
8187 (__arch_exchange_and_add_body): Likewise.
8188 (__arch_add_body): Likewise.
8189 (atomic_add_negative): Likewise.
8190 (atomic_add_zero): Likewise.
8191
4cf77aa9
JM
81922012-11-26 Joseph Myers <joseph@codesourcery.com>
8193
8194 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8195 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8196 (add_fdes): Likewise.
8197 (linear_search_fdes): Likewise.
8198 (binary_search_unencoded_fdes): Likewise.
8199
d260b3b4
AS
82002012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8201
8202 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8203
67060746
AC
82042012-11-24 Adam Conrad <adconrad@0c3.net>
8205
8206 * configure.in: Autodetect C++ header directories.
8207 * configure: Regenerated.
8208
800938a1
MF
82092012-11-23 Mike Frysinger <vapier@gentoo.org>
8210
8211 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8212
4e6e34e6
AS
82132012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8214
8215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8216
7c7feb47
JM
82172012-11-22 Joseph Myers <joseph@codesourcery.com>
8218
7184dcdf
JM
8219 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8220 LDBL_MANT_DIG == 106]: Disable some tests.
8221 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8222 Likewise.
8223 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8224 Likewise.
8225
0a42601f
JM
8226 [BZ #14871]
8227 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8228 input for small inputs. Return +/- pi/2 for large inputs.
8229 * math/libm-test.inc (atan_test): Add more tests.
8230
79c9b9fe
JM
8231 * sysdeps/generic/unwind-dw2-fde-glibc.c
8232 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8233 __attribute__ ((unused)).
8234
c60d3bf2
JM
8235 [BZ #14645]
8236 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8237 x * y if x and y are nonzero and z is zero.
8238
ef1e0867
JM
8239 [BZ #14811]
8240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8241 nonzero exponents with absolute value below 0x1p-117 to +/-
8242 0x1p-117.
8243
1468ded3
JM
8244 [BZ #14869]
8245 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8246 up arguments below 2**-450, not just those below 2**-500.
8247 * math/libm-test.inc (hypot_test): Add another test.
8248
8e27e3cc
JM
8249 [BZ #14868]
8250 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8251 Return a+b for ratio over 2**120, not 2**60.
8252 * math/libm-test.inc (hypot_test): Add another test.
8253
c9c0279b
JM
8254 * math/libm-test.inc (clog_test): Use
8255 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8256 (clog10_test): Likewise.
8257
7c7feb47
JM
8258 [BZ #6778]
8259 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8260
fff1530e
AS
82612012-11-22 Andreas Schwab <schwab@suse.de>
8262
8263 * sysdeps/i386/fpu/libm-test-ulps: Update.
8264
94558d30
PT
82652012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8266
8267 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8268 printf output with newline.
8269
7e1be741
L
82702012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8271
6bfea974
L
8272 [BZ #14865]
8273 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8274 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8275 -z nodlopen, -z initfirst and -z execstack support.
8276 * configure: Regenerated.
8277
7e1be741
L
8278 * elf/elf.h (DF_1_NODIRECT): New macro.
8279 (DF_1_IGNMULDEF): Likewise.
8280 (DF_1_NOKSYMS): Likewise.
8281 (DF_1_NOHDR): Likewise.
8282 (DF_1_EDITED): Likewise.
8283 (DF_1_NORELOC): Likewise.
8284 (DF_1_SYMINTPOSE): Likewise.
8285 (DF_1_GLOBAUDIT): Likewise.
8286 (DF_1_SINGLETON): Likewise.
8287 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8288 DT_1_SUPPORTED_MASK bits.
8289 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8290
105ce2ce
CD
82912012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8292
8293 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8294
123be9de
TS
82952012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8296
d072f3f7
TS
8297 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8298 macro.
8299
123be9de
TS
8300 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8301 (sendmmsg): Move declarations...
8302 * socket/sys/socket.h: ... here.
8303 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8304 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8305 include it from...
8306 * socket/recvmmsg.c: ... this new file.
8307 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8308 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8309 definition of __sendmmsg hidden.
8310 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8311 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8312 Move ENOSYS stub into and include it from...
8313 * socket/sendmmsg.c: ... this new file.
8314 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8315 (sysdep_routines): Move recvmmsg and sendmmsg...
8316 * socket/Makefile (routines): ... here.
8317 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8318 (GLIBC_PRIVATE): Add __sendmmsg.
8319 * include/sys/socket.h (__sendmmsg): Add declarations.
8320 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8321 sendmmsg.
8322
cf9a5d18
JM
83232012-11-20 Joseph Myers <joseph@codesourcery.com>
8324
8325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8326 variable I1 with __attribute__ ((unused)).
8327 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8328
ecd4caf9
JM
83292012-11-19 Joseph Myers <joseph@codesourcery.com>
8330
be14d48f
JM
8331 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8332 DUMMY variables with __attribute__ ((unused)).
8333
ecd4caf9
JM
8334 * bits/byteswap.h: Include <bits/types.h>.
8335 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8336
986cab95
PT
83372012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8338
8339 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8340 string_t. Do not manually set errno.
8341 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8342 length with __strnlen. Make sure to both set errno and return it on
8343 failure.
8344
6d33cc9d
DM
83452012-11-19 David S. Miller <davem@davemloft.net>
8346
8347 With help from Joseph Myers.
8348 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8349 very large arguments properly.
8350 * math/libm-test.inc (atan_test): New tests.
8351 (atan2_test): New tests.
8352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8354
ee663277
JM
83552012-11-19 Joseph Myers <joseph@codesourcery.com>
8356
877f2d8e
JM
8357 [BZ #14856]
8358 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8359 Define to 3.
8360
116fc08a
JM
8361 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8362 [POSIX] (EADDRNOTAVAIL): Likewise.
8363 [POSIX] (EAFNOSUPPORT): Likewise.
8364 [POSIX] (EALREADY): Likewise.
8365 [POSIX] (ECONNABORTED): Likewise.
8366 [POSIX] (ECONNREFUSED): Likewise.
8367 [POSIX] (ECONNRESET): Likewise.
8368 [POSIX] (EDESTADDRREQ): Likewise.
8369 [POSIX] (EDQUOT): Likewise.
8370 [POSIX] (EHOSTUNREACH): Likewise.
8371 [POSIX] (EIDRM): Likewise.
8372 [POSIX] (EISCONN): Likewise.
8373 [POSIX] (ELOOP): Likewise.
8374 [POSIX] (EMULTIHOP): Likewise.
8375 [POSIX] (ENETDOWN): Likewise.
8376 [POSIX] (ENETUNREACH): Likewise.
8377 [POSIX] (ENOBUFS): Likewise.
8378 [POSIX] (ENODATA): Likewise.
8379 [POSIX] (ENOLINK): Likewise.
8380 [POSIX] (ENOMSG): Likewise.
8381 [POSIX] (ENOPROTOOPT): Likewise.
8382 [POSIX] (ENOSR): Likewise.
8383 [POSIX] (ENOSTR): Likewise.
8384 [POSIX] (ENOTCONN): Likewise.
8385 [POSIX] (ENOTSOCK): Likewise.
8386 [POSIX] (EOPNOTSUPP): Likewise.
8387 [POSIX] (EOVERFLOW): Likewise.
8388 [POSIX] (EPROTO): Likewise.
8389 [POSIX] (EPROTONOSUPPORT): Likewise.
8390 [POSIX] (EPROTOTYPE): Likewise.
8391 [POSIX] (ESTALE): Likewise.
8392 [POSIX] (ETIME): Likewise.
8393 [POSIX] (ETXTBSY): Likewise.
8394 [POSIX] (EWOULDBLOCK): Likewise.
8395 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8396 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8397 [POSIX] (SEEK_CUR): Likewise.
8398 [POSIX] (SEEK_END): Likewise.
8399 [POSIX || UNIX98] (mode_t): Do not require.
8400 [POSIX] (off_t): Likewise.
8401 [POSIX] (pid_t): Likewise.
8402 [POSIX] (sys/stat.h): Do not allow header.
8403 [POSIX] (unistd.h): Likewise.
8404 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8405 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8406 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8407 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8408 require.
8409 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8410 sigevent): Specify elements.
8411 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8412 entry.
8413 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8414 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8415
a483863f
JM
8416 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8417 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8418 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8419 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8420 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8421 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8422 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8423 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8424 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8425 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8426 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8427 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8428 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8429 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8430 Likewise.
8431 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8432 Likewise.
8433 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8434 Likewise.
8435 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8436 Likewise.
8437 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8438 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8439 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8440 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8441 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8442 Specify lower bound on value.
8443 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8444 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8445 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8446 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8447 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8448 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8449 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8450 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8451 value.
8452 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8453 as optional.
8454 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8455 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8456 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8457 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8458 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8459 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8460 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8461 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8462 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8463 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8464 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8465 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8466 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8467 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8468 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8469 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8470 entry.
8471 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8472 optional.
8473 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8474 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8475 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8476 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8477 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8478 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8479 Likewise.
8480 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8481 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8482 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8483 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8484 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8485 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8486 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8487 as optional.
8488 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8489 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8490 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8491 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8492 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8493 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8494 specify as optional.
8495 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8496 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8497 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8498 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8499 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8500 [XPG3] (NL_LANGMAX): Likewise.
8501 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8502 [POSIX || XPG3] (NL_NMAX): Likewise.
8503 [POSIX || XPG3] (NL_SETMAX): Likewise.
8504 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8505 [XPG3] (NZERO): Likewise.
8506 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8507 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8508 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8509 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8510 (REG_ERANGE): Expect.
8511 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8512 optional-constant.
8513 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8514 Use (void) in prototype.
8515 [POSIX] (*_t): Allow.
8516 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8517 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8518 (WRDE_BADVAL): Expect.
8519
5ba924e3
JM
8520 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8521 expect.
8522 [XPG3 || XPG4] (O_RSYNC): Likewise.
8523 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8524 Likewise.
8525 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8526 [XPG3 || XPG4] (sigqueue): Likewise.
8527 [XPG3 || XPG4] (sigtimedwait): Likewise.
8528 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8529 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8530 [XPG3 || XPG4] (vsnprintf): Likewise.
8531 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8532 Likewise.
8533 [XPG3 || XPG4] (blksize_t): Likewise.
8534 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8535 Likewise.
8536 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8537 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8538 [XPG3 || XPG4] (struct itimerspec): Likewise.
8539 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8540 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8541 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8542 [XPG3 || XPG4] (clockid_t): Likewise.
8543 [XPG3 || XPG4] (timer_t): Likewise.
8544 [XPG3 || XPG4] (clock_getres): Likewise.
8545 [XPG3 || XPG4] (clock_gettime): Likewise.
8546 [XPG3 || XPG4] (clock_settime): Likewise.
8547 [XPG3 || XPG4] (nanosleep): Likewise.
8548 [XPG3 || XPG4] (timer_create): Likewise.
8549 [XPG3 || XPG4] (timer_delete): Likewise.
8550 [XPG3 || XPG4] (timer_gettime): Likewise.
8551 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8552 [XPG3 || XPG4] (timer_settime): Likewise.
8553 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8554 [XPG3 || XPG4] (getlogin_r): Likewise.
8555 [XPG3 || XPG4] (pread): Likewise.
8556 [XPG3 || XPG4] (pthread_atfork): Likewise.
8557 [XPG3 || XPG4] (pwrite): Likewise.
8558
ee663277
JM
8559 [BZ #14835]
8560 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8561 <bits/siginfo.h>.
8562
942caa16
PT
85632012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8564
e19af380
PT
8565 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8566 finalizing MALLSTREAM.
8567
942caa16
PT
8568 * sysdeps/mach/hurd/syncfs.c: New file.
8569
cfde9b46
SP
85702012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8571
8572 [BZ #14719]
8573 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8574 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8575 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8576 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8577 (_nss_dns_gethostbyname4_r): Likewise.
8578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8579 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8580
f6da27e5
PH
85812012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8582
8583 [BZ #13763]
8584 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8585
6665d4a2
SM
85862012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8587
1f51ee92
SM
8588 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8589 * elf/cache.c (print_entry): Print ",AArch64" for
8590 FLAG_AARCH64_LIB64
8591
6665d4a2
SM
8592 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8593 * elf/cache.c (print_entry): Print ",hard-float" for
8594 FLAG_ARM_LIBHF.
8595
05b227bd
DM
85962012-11-18 David S. Miller <davem@davemloft.net>
8597
8598 With help from Joseph Myers.
8599 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8600 cutoff to 2**-13.
8601 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8602 cutoff to 2**-25.
8603 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8604 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8605 small.
8606 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8607 * math/libm-test.inc (y0_test): New tests.
8608 (y1_test): New tests.
8609 * sysdeps/i386/fpu/libm-test-ulps: Update.
8610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8612
786b0b67
AS
86132012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8614
8615 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8616 64-bit targets.
8617 * configure: Regenerated.
8618
8e18b86d
DM
86192012-11-17 David S. Miller <davem@davemloft.net>
8620
8621 [BZ #14811]
8622 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8623 nonzero exponents with absolute value below 0x1p-128 to +/-
8624 0x1p-128.
8625
531f1ae0
JM
86262012-11-17 Joseph Myers <joseph@codesourcery.com>
8627
12df29e2
JM
8628 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8629
150dc1a0
JM
8630 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8631
531f1ae0
JM
8632 * posix/getconf-speclist.c: New file.
8633 * posix/posix-envs.def: Likewise.
8634 * posix/confstr.c (START_ENV_GROUP): New macro.
8635 (END_ENV_GROUP): Likewise.
8636 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8637 (KNOWN_PRESENT_ENV_STRING): Likewise.
8638 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8639 (UNKNOWN_ENVIRONMENT): Likewise.
8640 (confstr): Include posix-envs.def instead of handling
8641 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8642 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8643 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8644 (END_ENV_GROUP): Likewise.
8645 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8646 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8647 (UNKNOWN_ENVIRONMENT): Likewise.
8648 (__sysconf): Include posix-envs.def instead of handling associated
8649 cases directly here.
8650 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8651 preprocessing getconf-speclist.c rather than running getconf or
8652 generating empty file.
8653
a93f9cbc
PT
86542012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8655
8656 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8657
d64d9f87
AL
86582012-11-16 Andrej Lajovic <natrij@gmail.com>
8659
8660 [BZ #14672]
8661 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8662
447885eb
DM
86632012-11-16 David S. Miller <davem@davemloft.net>
8664
8665 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8666 smaller than LDBL_EPSILON/2.0L, just return xm1.
8667
bcbf9830
L
86682012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8669
8670 * elf/tst-array1.c (init): Set constructor priority to 1000.
8671 (fini): Set destructor priority to 1000.
8672 * elf/tst-array2dep.c: Likewise.
8673
2b766585
SP
86742012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8675
8676 [BZ #11741]
8677 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8678 (_IO_new_file_xsputn): Also return EOF if none of the input
8679 data was written when overflow failed.
8680 * libio/iopadn.c (_IO_padn): Likewise.
8681 * libio/iowpadn.c (_IO_wpadn): Likewise.
8682 * stdio-common/tst-put-error.c: Add copyright notice.
8683 (do_test): Add case for printing padded string.
8684 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8685 _IO_padn returned error.
8686 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8687 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8688 return EOF.
8689
b1848fde
SP
86902012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8691
8692 * libio/libioP.h: Add comment note that the references to C++
8693 bits are now obsolete.
8694
2fd89785
MS
86952012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8696
8697 * math/libm-test.inc (check_complex): Use asprintf.
8698
e3ea5409
JM
86992012-11-14 Joseph Myers <joseph@codesourcery.com>
8700
8701 * debug/pcprofiledump.c (print_version): Update copyright year.
8702 * malloc/memusagestat.c (print_version): Likewise.
8703
2e64d265
L
87042012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8705
8706 [BZ #14831]
8707 * elf/Makefile (tests): Add tst-audit8.
8708 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8709 ($(objpfx)tst-audit8.out): New target.
8710 (tst-audit8-ENV): New variable.
8711 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8712 audit if l_reloc_result is NULL.
8713 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8714 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8715 * elf/tst-audit8.c: New file.
8716
c485e4d2
MS
87172012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8718
8719 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8720 * misc/Makefile (CFLAGS-select.c): Define.
8721 * posix/Makefile (CFLAGS-pause.c): Define.
8722
3a0d900a
DM
87232012-11-13 David S. Miller <davem@davemloft.net>
8724
8725 * crypt/Makefile: Move test targets after toplevel Rules
8726 inclusion. Grab any necessary sysdep routines when linking.
8727 * crypt/md5.c (md5_process_block): Remove define, we will always
8728 name it __md5_process_block.
8729 (md5_finish_ctx): Update md5_process_block call.
8730 (md5_stream): Likewise.
8731 (md5_process_bytes): Likewise.
8732 (md5_process_block): Rename to __md5_process_block and move to ...
8733 * crypt/md5-block.c: ... here.
8734 * crypt/sha256.c (sha256_process_block): Move to ...
8735 * crypt/sha256-block.c: ... here.
8736 * crypt/sha512.c (sha512_process_block): Move to ...
8737 * crypt/sha512-block.c: ... here.
8738 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8739 path.
8740 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8741 * sysdeps/sparc/sparc64/multiarch/Makefile
8742 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8743 crypt subdir.
8744 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8745 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8746 multiarch changes.
8747 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8748 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8749 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8750 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8751 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8752 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8753 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8754 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8755 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8756 file.
8757 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8758 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8759 file.
8760 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8761
8ca89318
JM
87622012-11-13 Joseph Myers <joseph@codesourcery.com>
8763
e27d476a
JM
8764 * timezone/tzselect.ksh: Update from tzcode git revision
8765 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8766 * timezone/zdump.c: Likewise.
8767 * timezone/zic.c: Likewise.
8768 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8769 in TZVERSION setting, not $(PKGVERSION).
8770 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8771 REPORT_BUGS_TO settings.
8772
8ca89318
JM
8773 [BZ #14838]
8774 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8775 macro.
8776
47594329
MS
87772012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8778
8779 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8780 detection to immediately after _FP_ROUND().
8781 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8782 bits are 0.
8783
640ac3f1
DM
87842012-11-11 David S. Miller <davem@davemloft.net>
8785
8786 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8787 inttypes.h
8788 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8789 __close rather than their public counterparts.
8790
3d2577bb
JM
87912012-11-10 Joseph Myers <joseph@codesourcery.com>
8792
8793 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8794 file.
8795 [UNIX98] (sem_timedwait): Do not expect.
8796 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8797 [XPG4 || UNIX98] (sockatmark): Do not expect.
8798 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8799 (clock_getcpuclockid): Do not expect.
8800 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8801 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8802 Do not expect.
8803 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8804 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8805 [UNIX98] (vwscanf): Likewise.
8806 [UNIX98] (vswscanf): Likewise.
8807
fb1ae1ee
JM
88082012-11-09 Joseph Myers <joseph@codesourcery.com>
8809
9ec6f8bd
JM
8810 * timezone/version.h: Remove file.
8811 * timezone/README: Do not refer to version.h.
8812 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8813 $(objpfx)version.h.
8814 ($(objpfx)zdump.o): Likewise.
c3f81911 8815 ($(objpfx)version.h): New target.
9ec6f8bd 8816
0aa8f8a1
JM
8817 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8818 2012i.
8819 * timezone/README: Don't mention modification to tzselect.ksh.
8820 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8821 work on unmodified tzselect.ksh. Substitute version numbers in
8822 tzselect.ksh.
8823
4e87147f
JM
8824 * Makefile (format-me): Remove.
8825 (INSTALL): Adjust indentation. Use commands directly instead of
8826 using $(format-me).
8827
8b748aed
JM
8828 * aclocal.m4 (ACX_PKGVERSION): New macro.
8829 (ACX_BUGURL): Likewise.
8830 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8831 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8832 (REPORT_BUGS_TO): Likewise.
8833 * configure: Regenerated.
8834 * config.h.in (PKGVERSION): New macro.
8835 (REPORT_BUGS_TO): Likewise.
8836 * config.make.in (PKGVERSION): New variable.
8837 (PKGVERSION_TEXI): Likewise.
8838 (REPORT_BUGS_TO): Likewise.
8839 (REPORT_BUGS_TEXI): Likewise.
8840 * Makefile (format-me): Use -I$(common-objpfx)manual.
8841 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8842 ($(common-objpfx)manual/%): New target.
8843 (manual/%): Remove target.
8844 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8845 (print_version): Use PKGVERSION.
8846 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8847 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8848 and REPORT_BUGS_TO.
8849 ($(objpfx)xtrace): Likewise.
8850 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8851 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8852 (print_version): Use PKGVERSION.
8853 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8854 (do_version): Use PKGVERSION.
8855 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8856 REPORT_BUGS_TO.
8857 (common-ldd-rewrite): Likewise.
8858 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8859 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8860 (print_version): Use PKGVERSION.
8861 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8862 * elf/pldd.c (argp_program_bug_address): Remove variable.
8863 (more_help): New function.
8864 (argp): Use more_help.
8865 (print_version): Use PKGVERSION.
8866 * elf/sln.c (main): Use PKGVERSION.
8867 (usage): Use REPORT_BUGS_TO.
8868 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8869 (top level): Use PKGVERSION.
8870 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8871 (print_version): Use PKGVERSION.
8872 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8873 (print_version): Use PKGVERSION.
8874 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8875 (print_version): Use PKGVERSION.
8876 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8877 (print_version): Use PKGVERSION.
8878 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8879 (print_version): Use PKGVERSION.
8880 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8881 (print_version): Use PKGVERSION.
8882 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8883 and BUGURL.
8884 ($(objpfx)memusage): Likewise.
8885 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8886 (do_version): Use PKGVERSION.
8887 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8888 (print_version): Use PKGVERSION.
8889 * malloc/mtrace.pl ($PACKAGE): Remove variable.
8890 ($PKGVERSION): New variable.
8891 ($REPORT_BUGS_TO): Likewise.
8892 (usage): Use $REPORT_BUGS_TO.
8893 (top level): Use $PKGVERSION.
8894 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8895 ($(objpfx)pkgvers.texi): New rule.
8896 ($(objpfx)stamp-pkgvers): Likewise.
8897 * manual/install.texi: Include pkgvers.texi.
8898 (--with-pkgversion): Document new configure option.
8899 (--with-bugurl): Likewise.
8900 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8901 than necessarily for this particular distribution. Use
8902 REPORT_BUGS_TO for where to report bugs.
8903 * INSTALL: Regenerated.
8904 * manual/libc.texinfo: Include pkgvers.texi.
8905 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8906 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8907 (print_version): Use PKGVERSION.
8908 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8909 (print_version): Use PKGVERSION.
8910 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8911 (print_version): Use PKGVERSION.
8912 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8913 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8914 macro.
8915 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8916 (print_version): Use PKGVERSION.
8917 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8918 (print_version): Use PKGVERSION.
8919 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8920 and PKGVERSION.
8921
92e4b6a9
JM
8922 * timezone/checktab.awk: Update from tzcode 2012i.
8923 * timezone/ialloc.c: Likewise.
8924 * timezone/private.h: Likewise.
8925 * timezone/scheck.c: Likewise.
8926 * timezone/tzfile.h: Likewise.
8927 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8928 (TZVERSION): Hardcode tzcode version number.
8929 * timezone/zdump.c: Update from tzcode 2012i.
8930 * timezone/zic.c: Likewise.
8931 * timezone/version.h: New file.
8932 * timezone/README: Describe version.h. Update upstream location.
8933
9bde902c
JM
8934 [BZ #14824]
8935 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8936 (mktemp): Enable declaration.
8937 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8938 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8939 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8940 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8941 Likewise.
8942 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8943 Likewise.
8944 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8945 Likewise.
8946 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8947 Likewise.
8948 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8949 Likewise.
8950 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8951 Likewise.
8952
fb1ae1ee
JM
8953 [BZ #14821]
8954 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8955 offset in buffer as u_int32_t not u_long. Consistently use memcpy
8956 for copies of such integer values.
8957 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8958 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8959
2c1adbcb
AJ
89602012-11-09 Andreas Jaeger <aj@suse.de>
8961
8962 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8963 definitions and declarations that are provided by
8964 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8965
d0f8457e
AK
89662012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8967
3a235abb 8968 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
8969 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8970 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8971 definition.
8972
57241e26
MS
89732012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8974
8975 * elf/elf.h: Update comment before AArch64 relocations.
8976
60e8270d
DM
89772012-11-07 David S. Miller <davem@davemloft.net>
8978
8979 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8980 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8981 (__start_context): Declare.
8982 (__makecontext_ret): Delete.
8983 (__makecontext): Hook up __start_context instead of
8984 __makecontext_ret.
8985 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8986 (sysdep_routines): Add __start_context when in stdlib.
8987
0fbb0fbc
JM
89882012-11-07 Joseph Myers <joseph@codesourcery.com>
8989
8990 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8991 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8992 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
8993 hardcoded "nm".
8994 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8995 (READELF): New variable. Use it instead of hardcoded "readelf".
8996
eb48db7e
L
89972012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8998
8999 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9000 * sysdeps/x86/Makefile: Here.
9001 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9002 * sysdeps/x86/tst-xmmymm.sh: This.
9003
05bcf62a
JM
90042012-11-07 Joseph Myers <joseph@codesourcery.com>
9005
c4b6cf53
JM
9006 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9007 expectations.
9008 [UNIX98] (pthread_barrier_t): Do not expect.
9009 [UNIX98] (pthread_barrierattr_t): Likewise.
9010 [UNIX98] (pthread_spinlock_t): Likewise.
9011 [UNIX98] (pthread_barrier_destroy): Likewise.
9012 [UNIX98] (pthread_barrier_init): Likewise.
9013 [UNIX98] (pthread_barrier_wait): Likewise.
9014 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9015 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9016 [UNIX98] (pthread_barrierattr_init): Likewise.
9017 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9018 [UNIX98] (pthread_getcpuclockid): Likewise.
9019 [UNIX98] (pthread_mutex_timedlock): Likewise.
9020 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9021 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9022 [UNIX98] (pthread_sigmask): Likewise.
9023 [UNIX98] (pthread_spin_destroy): Likewise.
9024 [UNIX98] (pthread_spin_init): Likewise.
9025 [UNIX98] (pthread_spin_lock): Likewise.
9026 [UNIX98] (pthread_spin_trylock): Likewise.
9027 [UNIX98] (pthread_spin_unlock): Likewise.
9028 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9029 Do not expect.
9030 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9031 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9032 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9033 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9034 [XPG3 || XPG4] (pthread_key_t): Likewise.
9035 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9036 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9037 [XPG3 || XPG4] (pthread_once_t): Likewise.
9038 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9039 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9040 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9041 [XPG3 || XPG4] (pthread_t): Likewise.
9042
cbe6e120
JM
9043 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9044 not expect.
9045 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9046
1b126443
JM
9047 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9048 Change function return type to int.
9049
b961a573
JM
9050 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9051 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9052 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9053 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9054 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9055 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9056 [!POSIX] (posix_madvise): Likewise.
9057 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9058 && !UNIX98].
9059 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9060 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9061 (mode_t): Likewise.
9062 (posix_mem_offset): Likewise.
9063 (posix_typed_mem_get_info): Likewise.
9064 (posix_typed_mem_open): Likewise.
9065
9e188909
JM
9066 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9067 Change condition to [XOPEN2K8].
9068
05bcf62a
JM
9069 * conform/conformtest.pl: Preprocess allow-header data with -x c
9070 instead of from stdin.
9071 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9072 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9073 [C99-based standards] (cerfc): Likewise.
9074 [C99-based standards] (cexp2): Likewise.
9075 [C99-based standards] (cexpm1): Likewise.
9076 [C99-based standards] (clog10): Likewise.
9077 [C99-based standards] (clog1p): Likewise.
9078 [C99-based standards] (clog2): Likewise.
9079 [C99-based standards] (clgamma): Likewise.
9080 [C99-based standards] (ctgamma): Likewise.
9081 [C99-based standards] (cerff): Likewise.
9082 [C99-based standards] (cerfcf): Likewise.
9083 [C99-based standards] (cexp2f): Likewise.
9084 [C99-based standards] (cexpm1f): Likewise.
9085 [C99-based standards] (clog10f): Likewise.
9086 [C99-based standards] (clog1pf): Likewise.
9087 [C99-based standards] (clog2f): Likewise.
9088 [C99-based standards] (clgammaf): Likewise.
9089 [C99-based standards] (ctgammaf): Likewise.
9090 [C99-based standards] (cerfl): Likewise.
9091 [C99-based standards] (cerfcl): Likewise.
9092 [C99-based standards] (cexp2l): Likewise.
9093 [C99-based standards] (cexpm1l): Likewise.
9094 [C99-based standards] (clog10l): Likewise.
9095 [C99-based standards] (clog1pl): Likewise.
9096 [C99-based standards] (clog2l): Likewise.
9097 [C99-based standards] (clgammal): Likewise.
9098 [C99-based standards] (ctgammal): Likewise.
9099 * conform/data/inttypes.h-data [C99-based standards]: Include
9100 stdint.h-data. Remove all expectations for stdint.h contents.
9101 [C99-based standards] (PRI*): Do not allow.
9102 [C99-based standards] (SCN*): Likewise.
9103 [C99-based standards] (*_t): Likewise.
9104 [C99-based-standards] (PRId8): Expect macro.
9105 [C99-based-standards] (PRIi8): Likewise.
9106 [C99-based-standards] (PRIo8): Likewise.
9107 [C99-based-standards] (PRIu8): Likewise.
9108 [C99-based-standards] (PRIx8): Likewise.
9109 [C99-based-standards] (PRIX8): Likewise.
9110 [C99-based-standards] (SCNd8): Likewise.
9111 [C99-based-standards] (SCNi8): Likewise.
9112 [C99-based-standards] (SCNo8): Likewise.
9113 [C99-based-standards] (SCNu8): Likewise.
9114 [C99-based-standards] (SCNx8): Likewise.
9115 [C99-based-standards] (PRIdLEAST8): Likewise.
9116 [C99-based-standards] (PRIiLEAST8): Likewise.
9117 [C99-based-standards] (PRIoLEAST8): Likewise.
9118 [C99-based-standards] (PRIuLEAST8): Likewise.
9119 [C99-based-standards] (PRIxLEAST8): Likewise.
9120 [C99-based-standards] (PRIXLEAST8): Likewise.
9121 [C99-based-standards] (SCNdLEAST8): Likewise.
9122 [C99-based-standards] (SCNiLEAST8): Likewise.
9123 [C99-based-standards] (SCNoLEAST8): Likewise.
9124 [C99-based-standards] (SCNuLEAST8): Likewise.
9125 [C99-based-standards] (SCNxLEAST8): Likewise.
9126 [C99-based-standards] (PRIdFAST8): Likewise.
9127 [C99-based-standards] (PRIiFAST8): Likewise.
9128 [C99-based-standards] (PRIoFAST8): Likewise.
9129 [C99-based-standards] (PRIuFAST8): Likewise.
9130 [C99-based-standards] (PRIxFAST8): Likewise.
9131 [C99-based-standards] (PRIXFAST8): Likewise.
9132 [C99-based-standards] (SCNdFAST8): Likewise.
9133 [C99-based-standards] (SCNiFAST8): Likewise.
9134 [C99-based-standards] (SCNoFAST8): Likewise.
9135 [C99-based-standards] (SCNuFAST8): Likewise.
9136 [C99-based-standards] (SCNxFAST8): Likewise.
9137 [C99-based-standards] (PRId16): Likewise.
9138 [C99-based-standards] (PRIi16): Likewise.
9139 [C99-based-standards] (PRIo16): Likewise.
9140 [C99-based-standards] (PRIu16): Likewise.
9141 [C99-based-standards] (PRIx16): Likewise.
9142 [C99-based-standards] (PRIX16): Likewise.
9143 [C99-based-standards] (SCNd16): Likewise.
9144 [C99-based-standards] (SCNi16): Likewise.
9145 [C99-based-standards] (SCNo16): Likewise.
9146 [C99-based-standards] (SCNu16): Likewise.
9147 [C99-based-standards] (SCNx16): Likewise.
9148 [C99-based-standards] (PRIdLEAST16): Likewise.
9149 [C99-based-standards] (PRIiLEAST16): Likewise.
9150 [C99-based-standards] (PRIoLEAST16): Likewise.
9151 [C99-based-standards] (PRIuLEAST16): Likewise.
9152 [C99-based-standards] (PRIxLEAST16): Likewise.
9153 [C99-based-standards] (PRIXLEAST16): Likewise.
9154 [C99-based-standards] (SCNdLEAST16): Likewise.
9155 [C99-based-standards] (SCNiLEAST16): Likewise.
9156 [C99-based-standards] (SCNoLEAST16): Likewise.
9157 [C99-based-standards] (SCNuLEAST16): Likewise.
9158 [C99-based-standards] (SCNxLEAST16): Likewise.
9159 [C99-based-standards] (PRIdFAST16): Likewise.
9160 [C99-based-standards] (PRIiFAST16): Likewise.
9161 [C99-based-standards] (PRIoFAST16): Likewise.
9162 [C99-based-standards] (PRIuFAST16): Likewise.
9163 [C99-based-standards] (PRIxFAST16): Likewise.
9164 [C99-based-standards] (PRIXFAST16): Likewise.
9165 [C99-based-standards] (SCNdFAST16): Likewise.
9166 [C99-based-standards] (SCNiFAST16): Likewise.
9167 [C99-based-standards] (SCNoFAST16): Likewise.
9168 [C99-based-standards] (SCNuFAST16): Likewise.
9169 [C99-based-standards] (SCNxFAST16): Likewise.
9170 [C99-based-standards] (PRId32): Likewise.
9171 [C99-based-standards] (PRIi32): Likewise.
9172 [C99-based-standards] (PRIo32): Likewise.
9173 [C99-based-standards] (PRIu32): Likewise.
9174 [C99-based-standards] (PRIx32): Likewise.
9175 [C99-based-standards] (PRIX32): Likewise.
9176 [C99-based-standards] (SCNd32): Likewise.
9177 [C99-based-standards] (SCNi32): Likewise.
9178 [C99-based-standards] (SCNo32): Likewise.
9179 [C99-based-standards] (SCNu32): Likewise.
9180 [C99-based-standards] (SCNx32): Likewise.
9181 [C99-based-standards] (PRIdLEAST32): Likewise.
9182 [C99-based-standards] (PRIiLEAST32): Likewise.
9183 [C99-based-standards] (PRIoLEAST32): Likewise.
9184 [C99-based-standards] (PRIuLEAST32): Likewise.
9185 [C99-based-standards] (PRIxLEAST32): Likewise.
9186 [C99-based-standards] (PRIXLEAST32): Likewise.
9187 [C99-based-standards] (SCNdLEAST32): Likewise.
9188 [C99-based-standards] (SCNiLEAST32): Likewise.
9189 [C99-based-standards] (SCNoLEAST32): Likewise.
9190 [C99-based-standards] (SCNuLEAST32): Likewise.
9191 [C99-based-standards] (SCNxLEAST32): Likewise.
9192 [C99-based-standards] (PRIdFAST32): Likewise.
9193 [C99-based-standards] (PRIiFAST32): Likewise.
9194 [C99-based-standards] (PRIoFAST32): Likewise.
9195 [C99-based-standards] (PRIuFAST32): Likewise.
9196 [C99-based-standards] (PRIxFAST32): Likewise.
9197 [C99-based-standards] (PRIXFAST32): Likewise.
9198 [C99-based-standards] (SCNdFAST32): Likewise.
9199 [C99-based-standards] (SCNiFAST32): Likewise.
9200 [C99-based-standards] (SCNoFAST32): Likewise.
9201 [C99-based-standards] (SCNuFAST32): Likewise.
9202 [C99-based-standards] (SCNxFAST32): Likewise.
9203 [C99-based-standards] (PRId64): Likewise.
9204 [C99-based-standards] (PRIi64): Likewise.
9205 [C99-based-standards] (PRIo64): Likewise.
9206 [C99-based-standards] (PRIu64): Likewise.
9207 [C99-based-standards] (PRIx64): Likewise.
9208 [C99-based-standards] (PRIX64): Likewise.
9209 [C99-based-standards] (SCNd64): Likewise.
9210 [C99-based-standards] (SCNi64): Likewise.
9211 [C99-based-standards] (SCNo64): Likewise.
9212 [C99-based-standards] (SCNu64): Likewise.
9213 [C99-based-standards] (SCNx64): Likewise.
9214 [C99-based-standards] (PRIdLEAST64): Likewise.
9215 [C99-based-standards] (PRIiLEAST64): Likewise.
9216 [C99-based-standards] (PRIoLEAST64): Likewise.
9217 [C99-based-standards] (PRIuLEAST64): Likewise.
9218 [C99-based-standards] (PRIxLEAST64): Likewise.
9219 [C99-based-standards] (PRIXLEAST64): Likewise.
9220 [C99-based-standards] (SCNdLEAST64): Likewise.
9221 [C99-based-standards] (SCNiLEAST64): Likewise.
9222 [C99-based-standards] (SCNoLEAST64): Likewise.
9223 [C99-based-standards] (SCNuLEAST64): Likewise.
9224 [C99-based-standards] (SCNxLEAST64): Likewise.
9225 [C99-based-standards] (PRIdFAST64): Likewise.
9226 [C99-based-standards] (PRIiFAST64): Likewise.
9227 [C99-based-standards] (PRIoFAST64): Likewise.
9228 [C99-based-standards] (PRIuFAST64): Likewise.
9229 [C99-based-standards] (PRIxFAST64): Likewise.
9230 [C99-based-standards] (PRIXFAST64): Likewise.
9231 [C99-based-standards] (SCNdFAST64): Likewise.
9232 [C99-based-standards] (SCNiFAST64): Likewise.
9233 [C99-based-standards] (SCNoFAST64): Likewise.
9234 [C99-based-standards] (SCNuFAST64): Likewise.
9235 [C99-based-standards] (SCNxFAST64): Likewise.
9236 [C99-based-standards] (PRIdMAX): Likewise.
9237 [C99-based-standards] (PRIiMAX): Likewise.
9238 [C99-based-standards] (PRIoMAX): Likewise.
9239 [C99-based-standards] (PRIuMAX): Likewise.
9240 [C99-based-standards] (PRIxMAX): Likewise.
9241 [C99-based-standards] (PRIXMAX): Likewise.
9242 [C99-based-standards] (SCNdMAX): Likewise.
9243 [C99-based-standards] (SCNiMAX): Likewise.
9244 [C99-based-standards] (SCNoMAX): Likewise.
9245 [C99-based-standards] (SCNuMAX): Likewise.
9246 [C99-based-standards] (SCNxMAX): Likewise.
9247 [C99-based-standards] (PRIdPTR): Likewise.
9248 [C99-based-standards] (PRIiPTR): Likewise.
9249 [C99-based-standards] (PRIoPTR): Likewise.
9250 [C99-based-standards] (PRIuPTR): Likewise.
9251 [C99-based-standards] (PRIxPTR): Likewise.
9252 [C99-based-standards] (PRIXPTR): Likewise.
9253 [C99-based-standards] (SCNdPTR): Likewise.
9254 [C99-based-standards] (SCNiPTR): Likewise.
9255 [C99-based-standards] (SCNoPTR): Likewise.
9256 [C99-based-standards] (SCNuPTR): Likewise.
9257 [C99-based-standards] (SCNxPTR): Likewise.
9258 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9259 allow.
9260 * conform/data/stdint.h-data: Update comments to clarify
9261 requirements.
9262 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9263 type.
9264 [C99-based standards] (INT8_MAX): Likewise.
9265 [C99-based standards] (INT16_MIN): Likewise.
9266 [C99-based standards] (INT16_MAX): Likewise.
9267 [C99-based standards] (INT32_MIN): Likewise.
9268 [C99-based standards] (INT32_MAX): Likewise.
9269 [C99-based standards] (INT64_MIN): Likewise.
9270 [C99-based standards] (INT64_MAX): Likewise.
9271 [C99-based standards] (UINT8_MAX): Likewise.
9272 [C99-based standards] (UINT16_MAX): Likewise.
9273 [C99-based standards] (UINT32_MAX): Likewise.
9274 [C99-based standards] (UINT64_MAX): Likewise.
9275 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9276 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9277 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9278 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9279 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9280 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9281 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9282 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9283 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9284 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9285 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9286 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9287 [C99-based standards] (INT_FAST8_MIN): Likewise.
9288 [C99-based standards] (INT_FAST8_MAX): Likewise.
9289 [C99-based standards] (INT_FAST16_MIN): Likewise.
9290 [C99-based standards] (INT_FAST16_MAX): Likewise.
9291 [C99-based standards] (INT_FAST32_MIN): Likewise.
9292 [C99-based standards] (INT_FAST32_MAX): Likewise.
9293 [C99-based standards] (INT_FAST64_MIN): Likewise.
9294 [C99-based standards] (INT_FAST64_MAX): Likewise.
9295 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9296 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9297 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9298 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9299 [C99-based standards] (INTPTR_MIN): Likewise.
9300 [C99-based standards] (INTPTR_MAX): Likewise.
9301 [C99-based standards] (UINTPTR_MAX): Likewise.
9302 [C99-based standards] (INTMAX_MIN): Likewise.
9303 [C99-based standards] (INTMAX_MAX): Likewise.
9304 [C99-based standards] (UINTMAX_MAX): Likewise.
9305 [C99-based standards] (PTRDIFF_MIN): Likewise.
9306 [C99-based standards] (PTRDIFF_MAX): Likewise.
9307 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9308 [C99-based standards] (SIZE_MAX): Likewise.
9309 [C99-based standards] (WCHAR_MAX): Likewise.
9310 [C99-based standards] (WINT_MAX): Likewise.
9311 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9312 constraint on value.
9313 [C99-based standards] (WCHAR_MIN): Likewise.
9314 [C99-based standards] (WINT_MIN): Likewise.
9315 [C99-based standards] (*_t): Allow.
9316 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9317 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9318 Include math.h-data and complex.h-data. Remove all expectations
9319 of math.h and complex.h contents.
9320 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9321 at end of line.
9322 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9323 (struct tm): Expect tag.
9324 [C99-based-standards] (wcstof): Expect function.
9325 [C99-based-standards] (wcstold): Likewise.
9326 [C99-based-standards] (wcstoll): Likewise.
9327 [C99-based-standards] (wcstoull): Likewise.
9328 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9329 macro-int-constant. Specify type.
9330 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9331 constraint on value.
9332 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9333 Specify type.
9334 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9335 Specify value.
9336 [ISO C standards]: Do not allow headers.
9337 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9338 wcs[abcdefghijklmnopqrstuvwxyz]*.
9339 [ISO C standards] (*_t): Do not allow.
9340 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9341 Expect function.
9342 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9343 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9344 Specify type.
9345 [ISO C standards]: Do not allow headers.
9346 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9347 is[abcdefghijklmnopqrstuvwxyz]*.
9348 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9349 to[abcdefghijklmnopqrstuvwxyz]*.
9350 [ISO C standards] (*_t): Do not allow.
9351 * conform/data/stdalign.h-data: New file.
9352 * conform/data/stdbool.h-data: Likewise.
9353 * conform/data/stdnoreturn.h-data: Likewise.
9354
7514feb8
RM
93552012-11-07 Roland McGrath <roland@hack.frob.com>
9356
9357 [BZ #14815]
9358 * manual/filesys.texi (Directory Entries): Typo fix.
9359 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9360
19b2ecfc
MS
93612012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9362
9363 * elf/elf.h (EM_AARCH64): New macro.
9364 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9365 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9366 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9367 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9368 (R_AARCH64_TLSDESC): Likewise.
9369 (NT_ARM_TLS): Likewise.
9370 (NT_ARM_HW_BREAK): Likewise.
9371 (NT_ARM_HW_WATCH): Likewise.
9372
60e235ee
JM
93732012-11-07 Joseph Myers <joseph@codesourcery.com>
9374
9375 [BZ #14811]
9376 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9377 (__ieee754_powl): Saturate nonzero exponents with absolute value
9378 below 0x1p-79 to +/- 0x1p-79.
9379 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9380 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9381 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9382 nonzero exponents with absolute value below 0x1p-32 to +/-
9383 0x1p-32.
9384 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9385 (__ieee754_powl): Saturate nonzero exponents with absolute value
9386 below 0x1p-79 to +/- 0x1p-79.
9387 * math/libm-test.inc (pow_test): Add more tests.
9388
0ab234b7
AK
93892012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9390
9391 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9392 _dl_s390_cap_flags with kernel. Increase string length.
9393 (_dl_s390_platforms): Add z196 and zEC12.
9394
45832f74
JM
93952012-11-07 Joseph Myers <joseph@codesourcery.com>
9396
9397 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9398 Change XOPEN21K to XOPEN2K.
9399
19218757
MK
94002012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9401
9402 * string/memmove.c: Use memcpy when possible.
9403
c5f45721
AJ
94042012-11-06 Andreas Jaeger <aj@suse.de>
9405
9406 * po/eo.po: Update from translation team.
9407
82477c28
JM
94082012-11-06 Joseph Myers <joseph@codesourcery.com>
9409
9410 [BZ #14793]
9411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9412 exponent and small x and y exponents, scale x or y up. Increase
9413 by 2 the exponent used in scaling up.
9414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9415 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9416 * math/libm-test.inc (fma_test): Add more tests.
9417 (fma_test_towardzero): Likewise.
9418 (fma_test_downward): Likewise.
9419 (fma_test_upward): Likewise.
9420
99252c8c
JM
94212012-11-05 Joseph Myers <joseph@codesourcery.com>
9422
acfa885f
JM
9423 [BZ #14805]
9424 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9425 fenv_t *.
9426
99252c8c
JM
9427 [BZ #14801]
9428 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9429 namespace for names of struct fields.
9430 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9431 fenv_t fields.
9432 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9433 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9434
d6d98dea
ST
94352012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9436
9437 [BZ #3665]
9438 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9439
e10bb107
TS
94402012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9441
9442 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9443 PTR_DEMANGLE.
9444
9445 [BZ #5246]
9446 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9447 PTR_DEMANGLE.
9448
a0c2940d
JM
94492012-11-04 Joseph Myers <joseph@codesourcery.com>
9450
9451 [BZ #14797]
9452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9453 definitely overflow as x * y not x * y + z.
9454 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9455 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9456 * math/libm-test.inc (fma_test): Add more tests.
9457 (fma_test_towardzero): Likewise.
9458 (fma_test_downward): Likewise.
9459 (fma_test_upward): Likewise.
9460
b830319d
TS
94612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9462
9463 [BZ #157]
9464
9465 * include/stub-tag.h: Remove file.
9466 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9467 '#include' of it.
9468 * manual/maint.texi (Porting): Don't reference it.
9469 * Makerules ($(objpfx)stubs): Likewise.
9470 * dirent/closedir.c: Don't include <stub-tag.h>.
9471 * dirent/dirfd.c: Likewise.
9472 * dirent/fdopendir.c: Likewise.
9473 * dirent/getdents.c: Likewise.
9474 * dirent/getdents64.c: Likewise.
9475 * dirent/opendir.c: Likewise.
9476 * dirent/readdir.c: Likewise.
9477 * dirent/readdir64.c: Likewise.
9478 * dirent/readdir64_r.c: Likewise.
9479 * dirent/readdir_r.c: Likewise.
9480 * dirent/rewinddir.c: Likewise.
9481 * dirent/seekdir.c: Likewise.
9482 * dirent/telldir.c: Likewise.
9483 * gmon/profil.c: Likewise.
9484 * grp/setgroups.c: Likewise.
9485 * inet/if_index.c: Likewise.
9486 * io/access.c: Likewise.
9487 * io/chdir.c: Likewise.
9488 * io/chmod.c: Likewise.
9489 * io/chown.c: Likewise.
9490 * io/close.c: Likewise.
9491 * io/dup.c: Likewise.
9492 * io/dup2.c: Likewise.
9493 * io/dup3.c: Likewise.
9494 * io/euidaccess.c: Likewise.
9495 * io/faccessat.c: Likewise.
9496 * io/fchdir.c: Likewise.
9497 * io/fchmod.c: Likewise.
9498 * io/fchmodat.c: Likewise.
9499 * io/fchown.c: Likewise.
9500 * io/fchownat.c: Likewise.
9501 * io/fcntl.c: Likewise.
9502 * io/flock.c: Likewise.
9503 * io/fstatfs.c: Likewise.
9504 * io/fstatfs64.c: Likewise.
9505 * io/fstatvfs.c: Likewise.
9506 * io/fstatvfs64.c: Likewise.
9507 * io/futimens.c: Likewise.
9508 * io/fxstat.c: Likewise.
9509 * io/fxstat64.c: Likewise.
9510 * io/fxstatat.c: Likewise.
9511 * io/fxstatat64.c: Likewise.
9512 * io/getcwd.c: Likewise.
9513 * io/isatty.c: Likewise.
9514 * io/lchmod.c: Likewise.
9515 * io/lchown.c: Likewise.
9516 * io/link.c: Likewise.
9517 * io/linkat.c: Likewise.
9518 * io/lseek.c: Likewise.
9519 * io/lseek64.c: Likewise.
9520 * io/lxstat64.c: Likewise.
9521 * io/mkdir.c: Likewise.
9522 * io/mkdirat.c: Likewise.
9523 * io/mkfifo.c: Likewise.
9524 * io/mkfifoat.c: Likewise.
9525 * io/open.c: Likewise.
9526 * io/open64.c: Likewise.
9527 * io/openat.c: Likewise.
9528 * io/openat64.c: Likewise.
9529 * io/pipe.c: Likewise.
9530 * io/pipe2.c: Likewise.
9531 * io/poll.c: Likewise.
9532 * io/posix_fadvise.c: Likewise.
9533 * io/posix_fadvise64.c: Likewise.
9534 * io/posix_fallocate.c: Likewise.
9535 * io/posix_fallocate64.c: Likewise.
9536 * io/read.c: Likewise.
9537 * io/readlink.c: Likewise.
9538 * io/readlinkat.c: Likewise.
9539 * io/rmdir.c: Likewise.
9540 * io/sendfile.c: Likewise.
9541 * io/sendfile64.c: Likewise.
9542 * io/statfs.c: Likewise.
9543 * io/statfs64.c: Likewise.
9544 * io/statvfs.c: Likewise.
9545 * io/statvfs64.c: Likewise.
9546 * io/symlink.c: Likewise.
9547 * io/symlinkat.c: Likewise.
9548 * io/ttyname.c: Likewise.
9549 * io/ttyname_r.c: Likewise.
9550 * io/umask.c: Likewise.
9551 * io/unlink.c: Likewise.
9552 * io/unlinkat.c: Likewise.
9553 * io/utime.c: Likewise.
9554 * io/utimensat.c: Likewise.
9555 * io/write.c: Likewise.
9556 * io/xmknod.c: Likewise.
9557 * io/xmknodat.c: Likewise.
9558 * io/xstat.c: Likewise.
9559 * io/xstat64.c: Likewise.
9560 * login/getpt.c: Likewise.
9561 * login/grantpt.c: Likewise.
9562 * login/unlockpt.c: Likewise.
9563 * math/e_acoshl.c: Likewise.
9564 * math/e_acosl.c: Likewise.
9565 * math/e_asinl.c: Likewise.
9566 * math/e_atan2l.c: Likewise.
9567 * math/e_atanhl.c: Likewise.
9568 * math/e_coshl.c: Likewise.
9569 * math/e_expl.c: Likewise.
9570 * math/e_fmodl.c: Likewise.
9571 * math/e_gammal_r.c: Likewise.
9572 * math/e_hypotl.c: Likewise.
9573 * math/e_j0l.c: Likewise.
9574 * math/e_j1l.c: Likewise.
9575 * math/e_jnl.c: Likewise.
9576 * math/e_lgammal_r.c: Likewise.
9577 * math/e_log10l.c: Likewise.
9578 * math/e_log2l.c: Likewise.
9579 * math/e_logl.c: Likewise.
9580 * math/e_powl.c: Likewise.
9581 * math/e_rem_pio2l.c: Likewise.
9582 * math/e_sinhl.c: Likewise.
9583 * math/e_sqrtl.c: Likewise.
9584 * math/fclrexcpt.c: Likewise.
9585 * math/fedisblxcpt.c: Likewise.
9586 * math/feenablxcpt.c: Likewise.
9587 * math/fegetenv.c: Likewise.
9588 * math/fegetexcept.c: Likewise.
9589 * math/fegetround.c: Likewise.
9590 * math/feholdexcpt.c: Likewise.
9591 * math/fesetenv.c: Likewise.
9592 * math/fesetround.c: Likewise.
9593 * math/feupdateenv.c: Likewise.
9594 * math/fgetexcptflg.c: Likewise.
9595 * math/fraiseexcpt.c: Likewise.
9596 * math/fsetexcptflg.c: Likewise.
9597 * math/ftestexcept.c: Likewise.
9598 * math/k_cosl.c: Likewise.
9599 * math/k_rem_pio2l.c: Likewise.
9600 * math/k_sinl.c: Likewise.
9601 * math/k_tanl.c: Likewise.
9602 * math/s_asinhl.c: Likewise.
9603 * math/s_atanl.c: Likewise.
9604 * math/s_cbrtl.c: Likewise.
9605 * math/s_erfl.c: Likewise.
9606 * math/s_expm1l.c: Likewise.
9607 * math/s_log1pl.c: Likewise.
9608 * math/s_tanhl.c: Likewise.
9609 * misc/acct.c: Likewise.
9610 * misc/brk.c: Likewise.
9611 * misc/chflags.c: Likewise.
9612 * misc/chroot.c: Likewise.
9613 * misc/fchflags.c: Likewise.
9614 * misc/fgetxattr.c: Likewise.
9615 * misc/flistxattr.c: Likewise.
9616 * misc/fremovexattr.c: Likewise.
9617 * misc/fsetxattr.c: Likewise.
9618 * misc/fsync.c: Likewise.
9619 * misc/ftruncate.c: Likewise.
9620 * misc/futimes.c: Likewise.
9621 * misc/futimesat.c: Likewise.
9622 * misc/getdomain.c: Likewise.
9623 * misc/getdtsz.c: Likewise.
9624 * misc/gethostid.c: Likewise.
9625 * misc/gethostname.c: Likewise.
9626 * misc/getloadavg.c: Likewise.
9627 * misc/getpagesize.c: Likewise.
9628 * misc/getsysstats.c: Likewise.
9629 * misc/getxattr.c: Likewise.
9630 * misc/gtty.c: Likewise.
9631 * misc/ioctl.c: Likewise.
9632 * misc/lgetxattr.c: Likewise.
9633 * misc/listxattr.c: Likewise.
9634 * misc/llistxattr.c: Likewise.
9635 * misc/lremovexattr.c: Likewise.
9636 * misc/lsetxattr.c: Likewise.
9637 * misc/lutimes.c: Likewise.
9638 * misc/madvise.c: Likewise.
9639 * misc/mincore.c: Likewise.
9640 * misc/mlock.c: Likewise.
9641 * misc/mlockall.c: Likewise.
9642 * misc/mmap.c: Likewise.
9643 * misc/mprotect.c: Likewise.
9644 * misc/msync.c: Likewise.
9645 * misc/munlock.c: Likewise.
9646 * misc/munlockall.c: Likewise.
9647 * misc/munmap.c: Likewise.
9648 * misc/preadv.c: Likewise.
9649 * misc/preadv64.c: Likewise.
9650 * misc/ptrace.c: Likewise.
9651 * misc/pwritev.c: Likewise.
9652 * misc/pwritev64.c: Likewise.
9653 * misc/readv.c: Likewise.
9654 * misc/reboot.c: Likewise.
9655 * misc/remap_file_pages.c: Likewise.
9656 * misc/removexattr.c: Likewise.
9657 * misc/revoke.c: Likewise.
9658 * misc/select.c: Likewise.
9659 * misc/setdomain.c: Likewise.
9660 * misc/setegid.c: Likewise.
9661 * misc/seteuid.c: Likewise.
9662 * misc/sethostid.c: Likewise.
9663 * misc/sethostname.c: Likewise.
9664 * misc/setregid.c: Likewise.
9665 * misc/setreuid.c: Likewise.
9666 * misc/setxattr.c: Likewise.
9667 * misc/sstk.c: Likewise.
9668 * misc/stty.c: Likewise.
9669 * misc/swapoff.c: Likewise.
9670 * misc/swapon.c: Likewise.
9671 * misc/sync.c: Likewise.
9672 * misc/syncfs.c: Likewise.
9673 * misc/syscall.c: Likewise.
9674 * misc/truncate.c: Likewise.
9675 * misc/ualarm.c: Likewise.
9676 * misc/usleep.c: Likewise.
9677 * misc/ustat.c: Likewise.
9678 * misc/utimes.c: Likewise.
9679 * misc/vhangup.c: Likewise.
9680 * misc/writev.c: Likewise.
9681 * posix/_exit.c: Likewise.
9682 * posix/alarm.c: Likewise.
9683 * posix/execve.c: Likewise.
9684 * posix/fexecve.c: Likewise.
9685 * posix/fork.c: Likewise.
9686 * posix/fpathconf.c: Likewise.
9687 * posix/getaddrinfo.c: Likewise.
9688 * posix/getegid.c: Likewise.
9689 * posix/geteuid.c: Likewise.
9690 * posix/getgid.c: Likewise.
9691 * posix/getgroups.c: Likewise.
9692 * posix/getlogin.c: Likewise.
9693 * posix/getlogin_r.c: Likewise.
9694 * posix/getpgid.c: Likewise.
9695 * posix/getpid.c: Likewise.
9696 * posix/getppid.c: Likewise.
9697 * posix/getresgid.c: Likewise.
9698 * posix/getresuid.c: Likewise.
9699 * posix/getsid.c: Likewise.
9700 * posix/getuid.c: Likewise.
9701 * posix/glob64.c: Likewise.
9702 * posix/nanosleep.c: Likewise.
9703 * posix/pathconf.c: Likewise.
9704 * posix/pause.c: Likewise.
9705 * posix/posix_madvise.c: Likewise.
9706 * posix/pread.c: Likewise.
9707 * posix/pread64.c: Likewise.
9708 * posix/pwrite.c: Likewise.
9709 * posix/pwrite64.c: Likewise.
9710 * posix/sched_getaffinity.c: Likewise.
9711 * posix/sched_getp.c: Likewise.
9712 * posix/sched_gets.c: Likewise.
9713 * posix/sched_primax.c: Likewise.
9714 * posix/sched_primin.c: Likewise.
9715 * posix/sched_rr_gi.c: Likewise.
9716 * posix/sched_setaffinity.c: Likewise.
9717 * posix/sched_setp.c: Likewise.
9718 * posix/sched_sets.c: Likewise.
9719 * posix/sched_yield.c: Likewise.
9720 * posix/setgid.c: Likewise.
9721 * posix/setlogin.c: Likewise.
9722 * posix/setpgid.c: Likewise.
9723 * posix/setresgid.c: Likewise.
9724 * posix/setresuid.c: Likewise.
9725 * posix/setsid.c: Likewise.
9726 * posix/setuid.c: Likewise.
9727 * posix/sleep.c: Likewise.
9728 * posix/spawni.c: Likewise.
9729 * posix/sysconf.c: Likewise.
9730 * posix/times.c: Likewise.
9731 * posix/wait.c: Likewise.
9732 * posix/wait3.c: Likewise.
9733 * posix/wait4.c: Likewise.
9734 * posix/waitpid.c: Likewise.
9735 * resolv/gai_sigqueue.c: Likewise.
9736 * resource/getpriority.c: Likewise.
9737 * resource/getrlimit.c: Likewise.
9738 * resource/getrusage.c: Likewise.
9739 * resource/nice.c: Likewise.
9740 * resource/setpriority.c: Likewise.
9741 * resource/setrlimit.c: Likewise.
9742 * resource/ulimit.c: Likewise.
9743 * rt/aio_cancel.c: Likewise.
9744 * rt/aio_fsync.c: Likewise.
9745 * rt/aio_read.c: Likewise.
9746 * rt/aio_sigqueue.c: Likewise.
9747 * rt/aio_suspend.c: Likewise.
9748 * rt/aio_write.c: Likewise.
9749 * rt/clock_getres.c: Likewise.
9750 * rt/clock_gettime.c: Likewise.
9751 * rt/clock_nanosleep.c: Likewise.
9752 * rt/clock_settime.c: Likewise.
9753 * rt/lio_listio.c: Likewise.
9754 * rt/mq_close.c: Likewise.
9755 * rt/mq_getattr.c: Likewise.
9756 * rt/mq_notify.c: Likewise.
9757 * rt/mq_open.c: Likewise.
9758 * rt/mq_receive.c: Likewise.
9759 * rt/mq_send.c: Likewise.
9760 * rt/mq_setattr.c: Likewise.
9761 * rt/mq_timedreceive.c: Likewise.
9762 * rt/mq_timedsend.c: Likewise.
9763 * rt/mq_unlink.c: Likewise.
9764 * rt/shm_open.c: Likewise.
9765 * rt/shm_unlink.c: Likewise.
9766 * rt/timer_create.c: Likewise.
9767 * rt/timer_delete.c: Likewise.
9768 * rt/timer_getoverr.c: Likewise.
9769 * rt/timer_gettime.c: Likewise.
9770 * rt/timer_settime.c: Likewise.
9771 * setjmp/__longjmp.c: Likewise.
9772 * setjmp/setjmp.c: Likewise.
9773 * signal/kill.c: Likewise.
9774 * signal/killpg.c: Likewise.
9775 * signal/raise.c: Likewise.
9776 * signal/sigaction.c: Likewise.
9777 * signal/sigaltstack.c: Likewise.
9778 * signal/sigblock.c: Likewise.
9779 * signal/sigignore.c: Likewise.
9780 * signal/sigintr.c: Likewise.
9781 * signal/signal.c: Likewise.
9782 * signal/sigpause.c: Likewise.
9783 * signal/sigpending.c: Likewise.
9784 * signal/sigqueue.c: Likewise.
9785 * signal/sigreturn.c: Likewise.
9786 * signal/sigset.c: Likewise.
9787 * signal/sigsetmask.c: Likewise.
9788 * signal/sigstack.c: Likewise.
9789 * signal/sigsuspend.c: Likewise.
9790 * signal/sigtimedwait.c: Likewise.
9791 * signal/sigvec.c: Likewise.
9792 * signal/sigwait.c: Likewise.
9793 * signal/sigwaitinfo.c: Likewise.
9794 * signal/sysv_signal.c: Likewise.
9795 * socket/accept.c: Likewise.
9796 * socket/accept4.c: Likewise.
9797 * socket/bind.c: Likewise.
9798 * socket/connect.c: Likewise.
9799 * socket/getpeername.c: Likewise.
9800 * socket/getsockname.c: Likewise.
9801 * socket/getsockopt.c: Likewise.
9802 * socket/isfdtype.c: Likewise.
9803 * socket/listen.c: Likewise.
9804 * socket/recv.c: Likewise.
9805 * socket/recvfrom.c: Likewise.
9806 * socket/recvmsg.c: Likewise.
9807 * socket/send.c: Likewise.
9808 * socket/sendmsg.c: Likewise.
9809 * socket/sendto.c: Likewise.
9810 * socket/setsockopt.c: Likewise.
9811 * socket/shutdown.c: Likewise.
9812 * socket/sockatmark.c: Likewise.
9813 * socket/socket.c: Likewise.
9814 * socket/socketpair.c: Likewise.
9815 * stdio-common/ctermid.c: Likewise.
9816 * stdio-common/cuserid.c: Likewise.
9817 * stdio-common/remove.c: Likewise.
9818 * stdio-common/rename.c: Likewise.
9819 * stdio-common/renameat.c: Likewise.
9820 * stdio-common/tempname.c: Likewise.
9821 * stdlib/getcontext.c: Likewise.
9822 * stdlib/makecontext.c: Likewise.
9823 * stdlib/setcontext.c: Likewise.
9824 * stdlib/swapcontext.c: Likewise.
9825 * stdlib/system.c: Likewise.
9826 * streams/fattach.c: Likewise.
9827 * streams/fdetach.c: Likewise.
9828 * streams/getmsg.c: Likewise.
9829 * streams/getpmsg.c: Likewise.
9830 * streams/putmsg.c: Likewise.
9831 * streams/putpmsg.c: Likewise.
9832 * sysdeps/unix/bsd/getpt.c: Likewise.
9833 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9834 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9835 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9837 Likewise.
9838 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9839 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9840 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9841 * sysvipc/msgctl.c: Likewise.
9842 * sysvipc/msgget.c: Likewise.
9843 * sysvipc/msgrcv.c: Likewise.
9844 * sysvipc/msgsnd.c: Likewise.
9845 * sysvipc/semctl.c: Likewise.
9846 * sysvipc/semget.c: Likewise.
9847 * sysvipc/semop.c: Likewise.
9848 * sysvipc/semtimedop.c: Likewise.
9849 * sysvipc/shmat.c: Likewise.
9850 * sysvipc/shmctl.c: Likewise.
9851 * sysvipc/shmdt.c: Likewise.
9852 * sysvipc/shmget.c: Likewise.
9853 * termios/tcdrain.c: Likewise.
9854 * termios/tcflow.c: Likewise.
9855 * termios/tcflush.c: Likewise.
9856 * termios/tcgetattr.c: Likewise.
9857 * termios/tcgetpgrp.c: Likewise.
9858 * termios/tcsendbrk.c: Likewise.
9859 * termios/tcsetattr.c: Likewise.
9860 * termios/tcsetpgrp.c: Likewise.
9861 * time/adjtime.c: Likewise.
9862 * time/clock.c: Likewise.
9863 * time/getitimer.c: Likewise.
9864 * time/gettimeofday.c: Likewise.
9865 * time/setitimer.c: Likewise.
9866 * time/settimeofday.c: Likewise.
9867 * time/stime.c: Likewise.
9868 * time/time.c: Likewise.
9869
98702012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 9871
a20492cf
PT
9872 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9873 /usr/old/bin.
9874
72e182e3
PT
9875 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9876 instead of spaces.
9877 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9878
fbeafede
JM
98792012-11-03 Joseph Myers <joseph@codesourcery.com>
9880
5b5b04d6
JM
9881 [BZ #14796]
9882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9883 FE_TONEAREST before applying Dekker multiplication and Knuth
9884 addition. Clear inexact exceptions and check for exact zero
9885 results afterwards.
9886 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9887 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9888 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9889 * math/libm-test.inc (fma_test): Add more tests.
9890 (fma_test_towardzero): Likewise.
9891 (fma_test_downward): Likewise.
9892 (fma_test_upward): Likewise.
9893 * sysdeps/generic/math_private.h (default_libc_fesetround): New
9894 function.
9895 (libc_fesetround): New macro.
9896 (libc_fesetroundf): Likewise.
9897 (libc_fesetroundl): Likewise.
9898 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9899 function.
9900 (libc_fesetround_387): Likewise.
9901 (libc_fesetroundf): New macro.
9902 (libc_fesetround): Likewise.
9903 (libc_fesetroundl): Likewise.
9904 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9905 function.
9906 (libc_fesetroundf): New macro.
9907 (libc_fesetround): Likewise.
9908 (libc_fesetroundl): Likewise.
9909 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9910 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9911 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9912 libm_hidden_ver.
9913 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9914 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9915 libm_hidden_def.
9916 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9917 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9918 libm_hidden_ver.
9919 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9920 libm_hidden_def.
9921
fbeafede
JM
9922 [BZ #3439]
9923 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9924 integer constant usable in #if and use that to give value to enum
9925 constant.
9926 (FE_DIVBYZERO): Likewise.
9927 (FE_UNDERFLOW): Likewise.
9928 (FE_OVERFLOW): Likewise.
9929 (FE_INVALID): Likewise.
9930 (FE_INVALID_SNAN): Likewise.
9931 (FE_INVALID_ISI): Likewise.
9932 (FE_INVALID_IDI): Likewise.
9933 (FE_INVALID_ZDZ): Likewise.
9934 (FE_INVALID_IMZ): Likewise.
9935 (FE_INVALID_COMPARE): Likewise.
9936 (FE_INVALID_SOFTWARE): Likewise.
9937 (FE_INVALID_SQRT): Likewise.
9938 (FE_INVALID_INTEGER_CONVERSION): Likewise.
9939 (FE_TONEAREST): Likewise.
9940 (FE_TOWARDZERO): Likewise.
9941 (FE_UPWARD): Likewise.
9942 (FE_DOWNWARD): Likewise.
9943 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9944 (FE_DIVBYZERO): Likewise.
9945 (FE_OVERFLOW): Likewise.
9946 (FE_UNDERFLOW): Likewise.
9947 (FE_INEXACT): Likewise.
9948 (FE_TONEAREST): Likewise.
9949 (FE_DOWNWARD): Likewise.
9950 (FE_UPWARD): Likewise.
9951 (FE_TOWARDZERO): Likewise.
9952 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9953 (FE_UNDERFLOW): Likewise.
9954 (FE_OVERFLOW): Likewise.
9955 (FE_DIVBYZERO): Likewise.
9956 (FE_INVALID): Likewise.
9957 (FE_TONEAREST): Likewise.
9958 (FE_TOWARDZERO): Likewise.
9959 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9960 (FE_OVERFLOW): Likewise.
9961 (FE_UNDERFLOW): Likewise.
9962 (FE_DIVBYZERO): Likewise.
9963 (FE_INEXACT): Likewise.
9964 (FE_TONEAREST): Likewise.
9965 (FE_TOWARDZERO): Likewise.
9966 (FE_UPWARD): Likewise.
9967 (FE_DOWNWARD): Likewise.
9968 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9969 (FE_DIVBYZERO): Likewise.
9970 (FE_OVERFLOW): Likewise.
9971 (FE_UNDERFLOW): Likewise.
9972 (FE_INEXACT): Likewise.
9973 (FE_TONEAREST): Likewise.
9974 (FE_DOWNWARD): Likewise.
9975 (FE_UPWARD): Likewise.
9976 (FE_TOWARDZERO): Likewise.
9977
105ca950
CM
99782012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9979
9980 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9981
a542b389
AS
99822012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9983
9984 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9985 commands. Quote $PWD.
9986 (blacklist_exports): Don't use remove_newlines. Replace "declare
9987 -x" by "export".
9988 (remove_newlines): Remove.
9989
f62c8abc
L
99902012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9991
9992 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9993 * stdlib/stdlib.h (atof): Moved to ...
9994 * include/bits/stdlib-float.h: Here. New file.
9995 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9996 * stdlib/bits/stdlib-float.h: New file.
9997 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9998 -mno-sse -mno-mmx.
9999 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10000 <xmmintrin.h>.
10001
0155d5b2
JM
100022012-11-02 Joseph Myers <joseph@codesourcery.com>
10003
a68d0680
JM
10004 * conform/conformtest.pl (@headers): Add fenv.h.
10005 * conform/data/fenv.h-data: New file.
10006 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10007 include of <math/fenv.h>.
10008
caf7f573
JM
10009 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10010 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10011 && !UNIX98]. Enables tests for XOPEN2K8.
10012 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10013 POSIX2008]: Likewise.
10014
6c073ad6
JM
10015 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10016 (struct rusage): Do not expect type or its members.
10017
0155d5b2
JM
10018 [BZ #3439]
10019 * math/math.h (FP_NAN): Define macro to integer constant usable in
10020 #if and use that to give value to enum constant.
10021 (FP_INFINITE): Likewise.
10022 (FP_ZERO): Likewise.
10023 (FP_SUBNORMAL): Likewise.
10024 (FP_NORMAL): Likewise.
10025
b5dcacb4
AS
100262012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10027
10028 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10029 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10030 arguments.
10031
f7934be8
RM
100322012-11-02 Roland McGrath <roland@hack.frob.com>
10033
10034 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10035 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10036 autoconf-time if not.
10037 * configure.in: Remove AC_PREREQ.
10038
d7d08bde
TMQMF
100392012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10040
10041 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10042 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10043 of the internal implementation.
10044
dcdae19a
JM
100452012-11-02 Joseph Myers <joseph@codesourcery.com>
10046
10047 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10048 except include of <misc/sys/syslog.h>.
10049
d6cffd3e
AS
100502012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10051
10052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10053 function returns with a NULL context exit with zero.
10054
b3563932
TMQMF
100552012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10056
10057 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10058
b288a93d
L
100592012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10060
10061 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10062 (run_program_cmd): This.
10063 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10064 (tst_langinfo): New variable. Use it.
10065
a2421a68
SAS
100662012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10067
10068 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10069 floating point opcodes.
10070
6f796e1b
TS
100712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10072
7402596b
TS
10073 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10074 variable.
10075
d0d4f868
TS
10076 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10077
6f796e1b
TS
10078 * sysdeps/mach/hurd/powerpc: Remove directory.
10079 * sysdeps/mach/powerpc: Likewise.
10080
4da224a2
AS
100812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10082
10083 * scripts/check-local-headers.sh: Ignore c++ headers.
10084
341dd673
TS
100852012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10086
10087 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10088 __libc_cleanup_region_start argument.
10089
473611b2
JM
100902012-11-01 Joseph Myers <joseph@codesourcery.com>
10091
10092 [BZ #14784]
10093 [BZ #14785]
10094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10095 x * y using scaling, not as x * y + z.
10096 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10097 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10098 * math/libm-test.inc (fma_test): Add more tests.
10099 (fma_test_towardzero): Likewise.
10100 (fma_test_downward): Likewise.
10101 (fma_test_upward): Likewise.
10102
4078da3d
TS
101032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10104
10105 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10106
903252aa
JM
101072012-10-31 Joseph Myers <joseph@codesourcery.com>
10108
10109 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10110 New variable.
10111
cbc818d0
TS
101122012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10113
10114 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10115
5a03cb1e
AS
101162012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10117
10118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10119 Fix sort order.
10120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10121 Likewise.
10122
90aff2ff
TMQMF
101232012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10124
10125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10126 Fix the order of the list for glibc 2.17.
10127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10128 Likewise.
10129
1818fcb7
AS
101302012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10131
10132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10133
ef82f4da
JM
101342012-10-31 Joseph Myers <joseph@codesourcery.com>
10135
16a0e2ec
JM
10136 [BZ #14610]
10137 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10138 for low part of x being zero before using __atanl (y).
10139 * math/libm-test.inc (atan2_test): Add another test.
10140
0eb69512
JM
10141 * manual/install.texi (Configuring and compiling): Document
10142 general use of test-wrapper and test-wrapper-env.
10143 * INSTALL: Regenerated.
10144
ef82f4da
JM
10145 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10146 (__fma): Do not extract and scale down low bits on after-rounding
10147 systems when result rounded to normal precision would have normal
10148 exponent.
10149 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10150 (__fmal): Do not extract and scale down low bits on after-rounding
10151 systems when result rounded to normal precision would have normal
10152 exponent.
10153 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10154 (__fmal): Do not extract and scale down low bits on after-rounding
10155 systems when result rounded to normal precision would have normal
10156 exponent.
10157 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10158 macro.
10159 (fma_test): Add more tests.
10160 (fma_test_towardzero): Likewise.
10161 (fma_test_downward): Likewise.
10162 (fma_test_upward): Likewise.
10163
954ef0d9
L
101642012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10165
10166 * sysdeps/i386/tininess.h: Renamed to ...
10167 * sysdeps/x86/tininess.h: This.
10168 * sysdeps/x86_64/tininess.h: Removed.
10169
df61ffb2
JM
101702012-10-30 Joseph Myers <joseph@codesourcery.com>
10171
10172 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10173 input. Use $(build-program-cmd).
10174 ($(objpfx)tst-array1-static.out): Likewise.
10175 ($(objpfx)tst-array2.out): Likewise.
10176 ($(objpfx)tst-array3.out): Likewise.
10177 ($(objpfx)tst-array4.out): Likewise.
10178 ($(objpfx)tst-array5.out): Likewise.
10179 ($(objpfx)tst-array5-static.out): Likewise.
10180
01767843
CM
101812012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10182
47cc1490
CM
10183 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10184 if defined.
10185
01767843
CM
10186 * nss/nsswitch.h (nss_interface_function): Provide new
10187 macro for use with NSS functions.
10188 * grp/initgroups.c: Use new macro.
10189 * nss/getXXbyYY.c: Likewise.
10190 * nss/getXXbyYY_r.c: Likewise.
10191 * nss/getXXent.c: Likewise.
10192 * nss/getXXent_r.c: Likewise.
10193 * sysdeps/posix/getaddrinfo.c: Likewise.
10194
8321aa97
AJ
101952012-10-30 Andreas Jaeger <aj@suse.de>
10196
10197 * po/ru.po: Update Russion translation from translation project.
10198
2a27fd6d
JM
101992012-10-30 Joseph Myers <joseph@codesourcery.com>
10200
8627a232
JM
10201 [BZ #14152]
10202 [BZ #14783]
10203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10204 result and shift together with sticky bit instead of replicating
10205 round-to-nearest rounding.
10206 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10207 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10208 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10209 missing underflow exceptions.
10210 (fma_test_towardzero): Add more tests.
10211 (fma_test_downward): Likewise.
10212 (fma_test_upward): Likewise.
10213
2a27fd6d
JM
10214 [BZ #14047]
10215 * sysdeps/generic/tininess.h: New file.
10216 * sysdeps/i386/tininess.h: Likewise.
10217 * sysdeps/sh/tininess.h: Likewise.
10218 * sysdeps/x86_64/tininess.h: Likewise.
10219 * stdlib/tst-strtod-underflow.c: Likewise.
10220 * stdlib/tst-tininess.c: Likewise.
10221 * stdlib/strtod_l.c: Include <tininess.h>.
10222 (round_and_return): Do not set errno for exact underflow cases.
10223 Force an underflow exception when setting errno for underflow.
10224 Determine underflow based on rounding to normal precision if
10225 TININESS_AFTER_ROUNDING.
10226 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10227 ERANGE for exact underflow cases.
10228 * stdlib/Makefile (tests): Add tst-tininess and
10229 tst-strtod-underflow.
10230 ($(objpfx)tst-tininess): Use $(link-libm).
10231 ($(objpfx)tst-strtod-underflow): Likewise.
10232
e7170363
AJ
102332012-10-30 Andreas Jaeger <aj@suse.de>
10234
e5088dc6
AJ
10235 [BZ#14767]
10236 * elf/Makefile (tests): Remove conditional for have-initfini-array
10237 since this is now always required and the variable does not exist
10238 anymore.
10239 (tests-static): Likewise.
10240 (modules-names): Likewise.
10241
e7170363 10242 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10243
10244 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10245 merged with constructor/destructor.
10246 (init_array): Likewise.
10247 * elf/tst-array2dep.c (fini_array): Likewise.
10248 (init_array): Likewise.
10249
60457d8a
MF
102502012-10-29 Mike Frysinger <vapier@gentoo.org>
10251
10252 * manual/message.texi: Delete @cartouche tags.
10253
8bece752
PT
102542012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10255
94ce799f
PT
10256 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10257 EOPNOTSUPP.
10258 * sysdeps/mach/hurd/fsync.c: Likewise.
10259
8bece752
PT
10260 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10261 [_POSIX_REALTIME_SIGNALS]: Change condition to
10262 [_POSIX_REALTIME_SIGNALS > 0].
10263
86ebe6b1
AJ
102642012-10-27 Andreas Jaeger <aj@suse.de>
10265
10266 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10267 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10268 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10269 [__WORDSIZE != 64]: Likewise.
10270
54399c08
L
102712012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10272
10273 * iconvdata/tst-table.sh: Remove ${SHELL}.
10274 * iconvdata/tst-tables.sh: Likewise.
10275
e2211bed
DM
102762012-10-25 David S. Miller <davem@davemloft.net>
10277
10278 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10279 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10280 of strtoull.
10281
f303f97c
DM
10282 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10283 ifunc-impl-list.c
10284 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10285 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10286 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10287 file.
10288
1e9d84cd
RM
102892012-10-25 Roland McGrath <roland@hack.frob.com>
10290
10291 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10292 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10293 __getdirentries.
10294
df381762
JM
102952012-10-25 Joseph Myers <joseph@codesourcery.com>
10296 Jim Blandy <jimb@codesourcery.com>
10297
10298 * scripts/cross-test-ssh.sh: New file.
10299 * manual/install.texi (Configuring and compiling): Document use of
10300 cross-test-ssh.sh.
10301 * INSTALL: Regenerated.
10302
bff64913
PT
103032012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10304
10305 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10306 EOPNOTSUPP.
10307
25fe8932
JM
103082012-10-25 Joseph Myers <joseph@codesourcery.com>
10309
10310 * Makeconfig (run-program-prefix): Fix comment.
10311
cc1290d0
JM
103122012-10-24 Joseph Myers <joseph@codesourcery.com>
10313 Jim Blandy <jimb@codesourcery.com>
10314
10315 * Makeconfig (test-wrapper): New variable,
10316 (test-wrapper-env): Likewise.
10317 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10318 (run-built-tests): Define to yes.
10319 (run-program-prefix): Use $(test-wrapper).
10320 (built-program-cmd): Likewise.
10321 * Rules (make-test-out): Use $(test-wrapper-env) and
10322 $(host-built-program-cmd).
10323 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10324 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10325 tst-pathopt.sh.
10326 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10327 $(test-wrapper-env) to tst-rtld-load-self.sh.
10328 ($(objpfx)order2.out): Use $(test-wrapper).
10329 ($(objpfx)tst-initorder.out): Likewise.
10330 ($(objpfx)tst-initorder2.out): Likewise.
10331 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10332 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10333 (test_wrapper_env): New variable. Use it to run ld.so.
10334 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10335 Use it to run ld.so.
10336 (test_wrapper_env): Likewise.
10337 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10338 $(test-wrapper) to run-iconv-test.sh.
10339 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10340 (ICONV): Use $test_wrapper.
10341 * posix/Makefile ($(objpfx)globtest.out): Pass
10342 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10343 globtest.sh, not $(run-program-prefix).
10344 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10345 (test_wrapper): Likewise.
10346 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10347 set together with run_via_rtld_prefix.
10348 (run_program_prefix): Define in terms of test_wrapper and
10349 run_via_rtld_prefix.
10350
6e6249d0
RM
103512012-10-24 Roland McGrath <roland@hack.frob.com>
10352
10353 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10354 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10355 Targets removed.
10356
10357 [BZ #14743]
10358 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10359 Declare __clock_getres, __clock_gettime, __clock_settime,
10360 __clock_nanosleep, and __clock_getcpuclockid.
10361 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10362 Remove librt_hidden_def (clock_gettime).
10363 * sysdeps/unix/clock_gettime.c: Likewise.
10364 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10365 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10366 * rt/clock_getres.c: Define __clock_getres as an alias.
10367 * sysdeps/posix/clock_getres.c: Likewise.
10368 * rt/clock_settime.c: Define __clock_settime as an alias.
10369 * sysdeps/unix/clock_settime.c: Likewise.
10370 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10371 * sysdeps/unix/clock_nanosleep.c: Likewise.
10372 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10373 * rt/clock-compat.c: New file.
10374 * rt/Makefile (librt-routines): Add clock-compat and move
10375 $(clock-routines) to ...
10376 (routines): ... here, new variable.
10377 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10378 Don't add get_clockfreq here.
10379 * rt/Versions (libc: GLIBC_2.17): New version set.
10380 Add clock_* symbols here.
10381 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10382 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10383 (GLIBC_2.17): Add clock_* symbols.
10384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10386 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10388 Likewise.
10389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10390 Likewise.
10391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10395 * NEWS: Mention the move.
10396
10397 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10398 Use __open, __read, __close rather than their public counterparts.
10399 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10400 (__get_clockfreq_via_cpuinfo): Likewise.
10401 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10402 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10403
10404 * config.h.in (HAVE_IFUNC): New #undef.
10405 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10406 was successful.
10407 * configure: Regenerated.
10408
0cae3f4b
MF
104092012-10-24 Mike Frysinger <vapier@gentoo.org>
10410
10411 * configure.in: Move READELF check to start of file.
10412 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10413 libc_cv_asm_gnu_indirect_function in the process.
10414 * configure: Regenerated.
10415
8175a253
MF
104162012-10-24 Mike Frysinger <vapier@gentoo.org>
10417
10418 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10419 send the output to /dev/null.
10420 (libc_cv_cc_with_libunwind): Likewise.
10421 (libc_cv_as_noexecstack): Likewise.
10422 * configure: Regenerate.
10423
0708a7d1
JM
104242012-10-24 Joseph Myers <joseph@codesourcery.com>
10425
10b40d85
JM
10426 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10427
0708a7d1
JM
10428 * posix/globtest.sh (TMPDIR): Do not set.
10429 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10430 (testout): Likewise.
10431
9fddec1a
AJ
104322012-10-24 Andreas Jaeger <aj@suse.de>
10433
3a8db22f
AJ
10434 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10435 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10436 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10437 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10438 posix_fadvise64, posix_fallocate64.
10439
9fddec1a
AJ
10440 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10441 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10442 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10443 Likewise.
10444 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10445 Likewise.
10446 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10447
10448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10449 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10450 <bits/fcntl-linux.h>.
10451 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10452
10453 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10454 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10455 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10456 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10457 [__WORDSIZE != 64]: Likewise.
10458
ebfd1bbd
JM
104592012-10-23 Joseph Myers <joseph@codesourcery.com>
10460
03ac099f
JM
10461 * Makeconfig (run-built-tests): New variable.
10462 * Rules [$(cross-compiling) = yes]: Change condition to
10463 [$(run-built-tests) = no].
10464 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10465 to [$(run-built-tests) = yes].
10466 * elf/Makefile [$(cross-compiling) = no]: Likewise
10467 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10468 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10469 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10470 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10471 * io/Makefile [$(cross-compiling) = no]: Likewise.
10472 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10473 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10474 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10475 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10476 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10477 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10478 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10479 * string/Makefile [$(cross-compiling) = no]: Likewise.
10480
ebfd1bbd
JM
10481 * posix/Makefile ($(objpfx)globtest.out): Pass
10482 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10483 $(rtld-installed-name).
10484 * posix/globtest.sh (elf_objpfx): Remove variable.
10485 (rtld_installed_name): Likewise.
10486 (library_path): Likewise.
10487 (run_program_prefix): New variable. Use for running globtest
10488 binary.
10489
166bca24
JB
104902012-10-23 Jim Blandy <jimb@codesourcery.com>
10491 Joseph Myers <joseph@codesourcery.com>
10492
10493 * Makeconfig (host-built-program-cmd): New variable.
10494 * elf/Makefile (tst-stackguard1-ARGS): Use
10495 $(host-built-program-cmd).
10496 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10497 (tst-spawn-ARGS): Likewise.
10498 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10499
88866099
JM
105002012-10-23 Joseph Myers <joseph@codesourcery.com>
10501 Jim Blandy <jimb@codesourcery.com>
10502
10503 * Makeconfig (run-via-rtld-prefix): New variable.
10504 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10505 (built-program-cmd): Likewise.
10506
b4b4c296
AJ
105072012-10-22 Andreas Jaeger <aj@suse.de>
10508
10509 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10510 __O_RSYNC if it exists, otherwise to O_SYNC.
10511
6fb54a22
JB
105122012-10-22 Jim Blandy <jimb@codesourcery.com>
10513 Joseph Myers <joseph@codesourcery.com>
10514
10515 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10516 /dev/null.
10517 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10518 from /dev/null
10519 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10520 /dev/null.
10521
481b90b9
AJ
105222012-10-22 Andreas Jaeger <aj@suse.de>
10523
2a0e2669
AJ
10524 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10525 Define always.
10526 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10527
76e38f9a
AJ
10528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10529 bits/fcntl-linux.h.
10530
7cd37b43
AJ
10531 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10532 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10533
481b90b9
AJ
10534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10535 to __O_LARGEFILE.
10536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10537 to __O_LARGEFILE.
10538
aba75984
JB
105392012-10-21 Jim Blandy <jimb@codesourcery.com>
10540 Joseph Myers <joseph@codesourcery.com>
10541
10542 * config.make.in (NM): New variable.
10543
88d4247f
AJ
105442012-10-21 Andreas Jaeger <aj@suse.de>
10545
10546 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10547 definitions and declarations that are provided by
10548 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10549
f2eed205
L
105502012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10551
10552 [BZ #14683]
10553 * elf/Makefile (tests-static): Add tst-leaks1-static.
10554 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10555 ($(objpfx)tst-leaks1-static): New rule.
10556 ($(objpfx)tst-leaks1-static-mem): Likewise.
10557 (tst-leaks1-static-ENV): New macro.
10558 * elf/dl-open.c (dl_open_worker): Check the main application
10559 only if SHARED is defined.
10560 * elf/tst-leaks1-static.c: New file.
10561
335e6931
AJ
105622012-10-20 Andreas Jaeger <aj@suse.de>
10563
10564 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10565 generic values for Linux.
10566 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10567 and declarations that are provided by <bits/fcntl-linux.h> and
10568 include <bits/fcntl-linux.h>.
10569 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10570 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10571
ac5c94d3
RM
105722012-10-20 Roland McGrath <roland@hack.frob.com>
10573
10574 * io/fcntl.h: Move include of <bits/types.h> to the top and
10575 include it unconditionally.
10576
de54b33a
L
105772012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10578
228cfb01
L
10579 * wcsmbs/Makefile (tests-ifunc): New variable.
10580 (tests): Add $(tests-ifunc).
10581 * wcsmbs/test-wcschr-ifunc.c: New file.
10582 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10583 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10584 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10585 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10586 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10587
69f07e5f
L
10588 * string/Makefile (tests-ifunc): New variable.
10589 (tests): Add $(tests-ifunc).
10590 * string/test-memccpy.c (TEST_NAME): New macro.
10591 * string/test-memchr.c (TEST_NAME): Likewise.
10592 * string/test-memcmp.c (TEST_NAME): Likewise.
10593 * string/test-memcpy.c (TEST_NAME): Likewise.
10594 * string/test-memmem.c (TEST_NAME): Likewise.
10595 * string/test-memmove.c (TEST_NAME): Likewise.
10596 * string/test-memset.c (TEST_NAME): Likewise.
10597 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10598 * string/test-stpcpy.c (TEST_NAME): Likewise.
10599 * string/test-stpncpy.c (TEST_NAME): Likewise.
10600 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10601 * string/test-strcasestr.c (TEST_NAME): Likewise.
10602 * string/test-strcat.c (TEST_NAME): Likewise.
10603 * string/test-strchr.c (TEST_NAME): Likewise.
10604 * string/test-strcmp.c(TEST_NAME): Likewise.
10605 * string/test-strcpy.c (TEST_NAME): Likewise.
10606 * string/test-strcspn.c (TEST_NAME): Likewise.
10607 * string/test-strlen.c (TEST_NAME): Likewise.
10608 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10609 * string/test-strncmp.c (TEST_NAME): Likewise.
10610 * string/test-strncpy.c (TEST_NAME): Likewise.
10611 * string/test-strnlen.c (TEST_NAME): Likewise.
10612 * string/test-strpbrk.c (TEST_NAME): Likewise.
10613 * string/test-strrchr.c (TEST_NAME): Likewise.
10614 * string/test-strspn.c (TEST_NAME): Likewise.
10615 * string/test-strstr.c (TEST_NAME): Likewise.
10616 * string/test-bcopy-ifunc.c: New file.
10617 * string/test-bzero-ifunc.c: Likewise.
10618 * string/test-memccpy-ifunc.c: Likewise.
10619 * string/test-memchr-ifunc.c: Likewise.
10620 * string/test-memcmp-ifunc.c: Likewise.
10621 * string/test-memcpy-ifunc.c: Likewise.
10622 * string/test-memmem-ifunc.c: Likewise.
10623 * string/test-memmove-ifunc.c: Likewise.
10624 * string/test-mempcpy-ifunc.c: Likewise.
10625 * string/test-memset-ifunc.c: Likewise.
10626 * string/test-rawmemchr-ifunc.c: Likewise.
10627 * string/test-stpcpy-ifunc.c: Likewise.
10628 * string/test-stpncpy-ifunc.c: Likewise.
10629 * string/test-strcasecmp-ifunc.c: Likewise.
10630 * string/test-strcasestr-ifunc.c: Likewise.
10631 * string/test-strcat-ifunc.c: Likewise.
10632 * string/test-strchr-ifunc.c: Likewise.
10633 * string/test-strchrnul-ifunc.c: Likewise.
10634 * string/test-strcmp-ifunc.c: Likewise.
10635 * string/test-strcpy-ifunc.c: Likewise.
10636 * string/test-strcspn-ifunc.c: Likewise.
10637 * string/test-strlen-ifunc.c: Likewise.
10638 * string/test-strncasecmp-ifunc.c: Likewise.
10639 * string/test-strncat-ifunc.c: Likewise.
10640 * string/test-strncmp-ifunc.c: Likewise.
10641 * string/test-strncpy-ifunc.c: Likewise.
10642 * string/test-strnlen-ifunc.c: Likewise.
10643 * string/test-strpbrk-ifunc.c: Likewise.
10644 * string/test-strrchr-ifunc.c: Likewise.
10645 * string/test-strspn-ifunc.c: Likewise.
10646 * string/test-strstr-ifunc.c: Likewise.
10647
de54b33a
L
10648 * debug/Makefile (tests-ifunc): New variable.
10649 (tests): Add $(tests-ifunc).
10650 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10651 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10652 * debug/test-stpcpy_chk-ifunc.c: New file.
10653 * debug/test-strcpy_chk-ifunc.c: Likewise.
10654
88481c16
SP
106552012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10656
10657 [BZ #13601]
10658 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10659 header is not read in.
10660
135948bd
JM
106612012-10-19 Joseph Myers <joseph@codesourcery.com>
10662
89f1c388
JM
10663 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10664 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10665 directly. Pass built executable to script as
10666 $(built-program-cmd).
10667 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10668 $testprogram without using LD_LIBRARY_PATH and $ldso.
10669
e40a0d21
JM
10670 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10671 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10672 $(rtld-installed-name).
10673 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10674 (rtld_installed_name): Likewise.
10675 (library_path): Likewise.
10676 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10677 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10678 $(run-program-prefix) to tst-tables.sh.
10679 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10680 it to run tst-table-from and tst-table-to.
10681 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10682 Pass it to tst-table.sh.
10683 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10684 $(run-program-prefix) to tst-gettext.sh.
10685 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10686 tst-translit.sh.
10687 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10688 tst-gettext2.sh.
10689 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10690 to run tst-gettext.
10691 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10692 to run tst-gettext2.
10693 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10694 to run tst-translit.
10695 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10696 $(run-program-prefix) to tst-mtrace.sh.
10697 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10698 to run tst-mtrace.
10699 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10700 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10701 $(rtld-installed-name).
10702 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10703 (rtld_installed_name): Likewise.
10704 (run_program_prefix): New variable. Use it to run wordexp-test.
10705
728e272a
JM
10706 * Makeconfig (ARCH): Remove all definitions.
10707 (machine): Likewise.
10708 [ARCH]: Remove conditional code.
10709 [!objdir]: Give error.
10710 [!objdir] (objpfx): Remove.
10711 [!objdir] (common-objpfx): Likewise.
10712 [!objdir] (common-objdir): Likewise.
10713 * configure.in (config_makefile): Remove. Hardcode Makefile in
10714 AC_CONFIG_FILES call.
10715 * configure: Regenerated.
10716
d528cdcf
JM
10717 [BZ #13888]
10718 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10719 or TMPDIR.
10720 (testout): Likewise.
10721
135948bd
JM
10722 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10723 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10724 $(rtld-installed-name).
10725 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10726 (rtld_installed_name): Likwise.
10727 (runit): Remove function.
10728 (run_getconf): New variable, Use it for running getconf binary.
10729
38c78296
L
107302012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10731
10732 [BZ #14716]
10733 * string/test-memmem.c (check_result): New function.
10734 (do_one_test): Use it.
10735 (check1): New function.
10736 (test_main): Use it.
10737
d077f65f
MT
107382012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10739
10740 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10741
ced52c71
JM
107422012-10-18 Joseph Myers <joseph@codesourcery.com>
10743
10744 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10745 (_G_LSEEK64): Likewise.
10746 (_G_MMAP64): Likewise.
10747 (_G_FSTAT64): Likewise.
10748 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10749 (_G_LSEEK64): Likewise.
10750 (_G_MMAP64): Likewise.
10751 (_G_FSTAT64): Likewise.
10752 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10753 unconditional. Call __mmap64 directly.
10754 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10755 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10756 __lseek64 directly.
10757 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10758 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10759 __mmap64 directly.
10760 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10761 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10762 __lseek64 directly.
10763 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10764 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10765 __lseek64 directly.
10766 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10767 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10768 __lseek64 directly.
10769 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10770 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10771 __fxstat64 directly.
10772 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10773 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10774 unconditional.
10775 (freopen64) [!_G_OPEN64]: Remove conditional code.
10776 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10777 unconditional.
10778 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10779 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10780 unconditional.
10781 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10782 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10783 unconditional.
10784 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10785 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10786 unconditional.
10787 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10788 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10789 unconditional.
10790 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10791 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10792 unconditional.
10793 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10794 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10795 unconditional.
10796 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10797
b741de23
SP
107982012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10799
10800 [BZ #12140]
10801 * manual/memory.texi (Malloc Tunable Parameters): Add note
10802 about free list pointers overwriting some perturb bytes.
10803 Wording suggested by Roland McGrath.
10804
f9b9d9c9
JM
108052012-10-17 Joseph Myers <joseph@codesourcery.com>
10806
10807 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10808 (lgamma_test): Likewise.
10809 (tgamma_test): Likewise.
10810
172a631a
FW
108112012-10-16 Florian Weimer <fweimer@redhat.com>
10812
10813 [BZ #14700]
10814 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10815 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10816
e9f37252
MK
108172012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10818
10819 * NEWS: Mention BZ #14716.
10820 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10821 when removing AVAILABLE1_USES_J macro.
10822
d394eb74
L
108232012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10824
10825 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10826 (__bswap_64): __uint64_t for unsigned 64-bit int.
10827
ca38dc17
AS
108282012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10829
10830 * include/string.h (memmem): Declare libc hidden alias.
10831 * string/memmem.c (memmem): Define libc hidden alias.
10832 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10833 __read, __close instead of open, read, close.
10834
9a387d1f
L
108352012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10836
ac49ecaf
L
10837 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10838 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10839 global and hidden.
10840 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10841 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10842 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10843 Likewise.
10844 (__rawmemchr_sse2): Likewise.
10845 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10846 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10847 (__strchr_sse2): Likewise.
10848 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10849 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10850 (__strcasecmp_sse2): Likewise.
10851 (__strncasecmp_sse2): Likewise.
10852 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10853 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10854 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10855 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10856 (__strrchr_sse2): Likewise.
10857 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10858 ifunc-impl-list.c.
10859 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10860 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10861 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10862 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10863 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10864 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10865 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10866 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10867 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10868 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10869 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10870 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10871 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10872 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10873 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10874 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10875 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10876 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10877 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10878 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10879 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10880 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10881 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10882 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10883 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10884 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10885 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10886 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10887 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10888 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10889
b090e8ea
L
10890 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10891 global and hidden.
10892 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10893 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10894 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10895 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10896 Likewise.
10897 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10898 Likewise.
10899 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10900 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10901 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10902 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10903 ifunc-impl-list.c.
10904 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10905 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10906 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10907 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10908 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10909 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10910 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10911 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10912 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10913 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10914 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10915 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10916 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10917 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10918 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10919 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10920 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10921 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10922 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10923 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10924 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10925 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10926 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10927 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10928 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10929 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10930 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10931 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10932 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10933 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10934 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10935 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10936 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10937 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10938 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10939 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10940 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10941 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10942 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10943 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10944 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10945
11dd4af6
L
10946 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10947 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10948 * include/ifunc-impl-list.h: New file.
10949 * misc/ifunc-impl-list.c: Likewise.
10950 * misc/Makefile (routines): Add ifunc-impl-list.
10951 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10952 * string/test-string.h: Include <ifunc-impl-list.h>.
10953 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10954 impl_array): New variables.
10955 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10956 are defined.
10957 (test_init): Call __libc_ifunc_impl_list to initialize
10958 func_list if TEST_IFUNC and TEST_NAME are defined.
10959
9a387d1f
L
10960 * string/Makefile (strop-tests): Add bcopy and bzero.
10961 * string/test-bcopy.c: New file.
10962 * string/test-bzero.c: Likewise.
10963 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10964 defined.
10965 * string/test-memset.c: Support bzero test if TEST_BZERO is
10966 defined.
10967 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10968 __libc_memmove.
10969 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10970 __libc_memset.
10971 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10972 of memset.
10973
472371b9
JM
109742012-10-10 Joseph Myers <joseph@codesourcery.com>
10975
1e4a9536
JM
10976 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10977 * configure: Regenerated.
10978
d173d12e
JM
10979 * Makeconfig (+link-static-before-libc): Don't include
10980 $(link-static-libc).
10981
472371b9
JM
10982 * libio/libio.h (_IO_pos_t): Remove.
10983
89a3ad0b
AO
109842012-10-10 Alexandre Oliva <aoliva@redhat.com>
10985
10986 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10987 McGrath.
10988
e7451425
AO
109892012-10-10 Alexandre Oliva <aoliva@redhat.com>
10990
10991 * crypt/crypt-entry.c: Include fips-private.h.
10992 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10993 * crypt/md5c-test.c (main): Tolerate disabled MD5.
10994 * sysdeps/unix/sysv/linux/fips-private.h: New file.
10995 * sysdeps/generic/fips-private.h: New file, dummy fallback.
10996
4ba74a35
AO
109972012-10-10 Alexandre Oliva <aoliva@redhat.com>
10998
10999 * crypt/crypt-private.h: Include stdbool.h.
11000 (_ufc_setup_salt_r): Return bool.
11001 * crypt/crypt-entry.c: Include errno.h.
11002 (__crypt_r): Return NULL with EINVAL for bad salt.
11003 * crypt/crypt_util.c (bad_for_salt): New.
11004 (_ufc_setup_salt_r): Check that salt is long enough and within
11005 the specified alphabet.
11006 * crypt/badsalttest.c: New file.
11007 * crypt/Makefile (tests): Add it.
11008 ($(objpfx)badsalttest): New.
11009
f96f1242
MK
110102012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11011
11012 * NEWS: Add entry for BZ #14602.
11013
0e8e0c1c
JM
110142012-10-09 Joseph Myers <joseph@codesourcery.com>
11015
11016 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11017 type-generic.
11018 * math/libm-test.inc: Update comment listing what functions and
11019 macros are tested.
11020 (isgreater_test): New function.
11021 (isgreaterequal_test): Likewise.
11022 (isless_test): Likewise.
11023 (islessequal_test): Likewise.
11024 (islessgreater_test): Likewise.
11025 (isunordered_test): Likewise.
11026 (main): Call the new functions.
11027
273edc5e
RM
110282012-10-09 Roland McGrath <roland@hack.frob.com>
11029
b8493de0
RM
11030 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11031 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11032 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11033 * sysdeps/i386/configure: Regenerated.
11034 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11035 * sysdeps/mach/configure: Regenerated.
11036 * sysdeps/mach/hurd/configure: Regenerated.
11037 * sysdeps/powerpc/configure: Regenerated.
11038 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11039 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11040 * sysdeps/s390/s390-32/configure: Regenerated.
11041 * sysdeps/s390/s390-64/configure: Regenerated.
11042 * sysdeps/sh/configure: Regenerated.
11043 * sysdeps/sparc/configure: Regenerated.
11044 * sysdeps/unix/sysv/linux/configure: Regenerated.
11045 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11046 * sysdeps/x86_64/configure: Regenerated.
11047
273edc5e
RM
11048 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11049 defined. Don't check if MAP is NULL.
11050
c8450f70
JM
110512012-10-09 Joseph Myers <joseph@codesourcery.com>
11052
11053 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11054 (_G_stat64): Likewise.
11055 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11056 (_G_stat64): Likewise.
11057 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11058 instead of struct _G_stat64.
11059 * libio/fileops.c (mmap_remap_check): Likewise.
11060 (decide_maybe_mmap): Likewise.
11061 (_IO_new_file_seekoff): Likewise.
11062 (_IO_file_stat): Likewise.
11063 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11064 _G_off64_t.
11065 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11066 instead of struct _G_stat64.
11067 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11068
57e605ba
MK
110692012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11070
11071 [BZ #14602]
11072 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11073 Replace with ...
11074 (CHECK_EOL): New macro.
11075 (two_way_short_needle): Check beginning of haystack for EOL. Use
11076 CHECK_EOL.
11077 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11078 Replace with CHECK_EOL.
11079 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11080 Replace with CHECK_EOL.
11081
ef1bb361
JM
110822012-10-08 Joseph Myers <joseph@codesourcery.com>
11083
11084 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11085 type-generic.
11086 * math/libm-test.inc: Update comment listing what functions and
11087 macros are tested.
11088 (finite_test): New function.
11089 (isinf_test): Likewise.
11090 (isnan_test): Likewise.
11091 (fpclassify_test): Test subnormal input.
11092 (isfinite_test): Likewise.
11093 (isnormal_test): Likewise.
11094 (main): Call the new functions.
11095
55f11534
JN
110962012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11097
11098 [BZ #14660]
11099 * Makerules (%.dynsym): Force C locale when running
11100 $(OBJDUMP) --dynamic-syms.
11101
1ab29350
AS
111022012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11103
11104 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11105 <stdint.h>.
11106
f1ecb7ef
DM
111072012-10-06 David S. Miller <davem@davemloft.net>
11108
11109 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11110 upper 32-bits of the length value in %o2 since we use branch-on-register
11111 tests which consider the entire 64-bit register.
11112
5d41d91a
L
111132012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11114
11115 * string/test-strstr.c (check2): Add a test for page boundary.
11116
3baddb72
DM
111172012-10-05 David S. Miller <davem@davemloft.net>
11118
11119 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11120 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11121 file.
11122 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11123 sysdep_routines.
11124 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11125 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11126 and bzero when HWCAP_SPARC_CRYPTO is present.
11127
9cee5585
L
111282012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11129
d7e0dab9
L
11130 [BZ #14602]
11131 * string/test-strstr.c (check2): New function.
11132 (test_main): Call check2.
11133
03759f47
L
11134 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11135 and bug-strchr1.
11136 * string/bug-strcasestr1.c (do_test): Moved to ...
11137 * string/test-strcasestr.c (check1): Here. New function.
11138 (do_one_test): Break out result checking code into ...
11139 (check_result): This. New function.
11140 (do_one_test): Call check_result.
11141 (test_main): Call check1.
11142 * string/bug-strchr1.c (do_test): Moved to ...
11143 * string/test-strchr.c (check1): Here. New function.
11144 (do_one_test): Break out result checking code into ...
11145 (check_result): This. New function.
11146 (do_one_test): Call check_result.
11147 (test_main): Call check1.
11148 * string/bug-strstr1.c (main): Moved to ...
046f153e 11149 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11150 (do_one_test): Break out result checking code into ...
11151 (check_result): This. New function.
11152 (do_one_test): Call check_result.
11153 (test_main): Call check1.
11154 * string/bug-strcasestr1.c: Removed.
11155 * string/bug-strchr1.c: Likewise.
11156 * string/bug-strstr1.c: Likewise.
11157
53cea63e
L
11158 * elf/Makefile (dl-routines): Add hwcaps.
11159 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11160 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11161 (_dl_important_hwcaps): Moved to ...
11162 * elf/dl-hwcaps.c: Here. New file.
11163 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11164
9cee5585 11165 [BZ #14557]
bb859b06
L
11166 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11167 if IS_IN_rtld isn't defined.
11168
9cee5585
L
11169 * elf/dl-support.c (_dl_sysinfo_map): New.
11170 Include "get-dynamic-info.h" and "setup-vdso.h".
11171 (_dl_non_dynamic_init): Call setup_vdso.
11172 * elf/dynamic-link.h: Don't include <assert.h>.
11173 (elf_get_dynamic_info): Moved to ...
11174 * elf/get-dynamic-info.h: Here. New file.
11175 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11176 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11177 * elf/setup-vdso.h: Here. New file.
11178 * elf/rtld.c: Include "setup-vdso.h".
11179 (dl_main): Call setup_vdso.
11180
23c31b76
JM
111812012-10-05 Joseph Myers <joseph@codesourcery.com>
11182
28234b07
JM
11183 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11184 creal in comment listing functions tested. List finite, isinf,
11185 isnan, isless, islessequal, isgreater, isgreaterequal,
11186 islessgreater, isunordered, lgamma_r and pow10 as functions and
11187 macros not tested. Mention which functions not tested are aliases
11188 for other functions. Fix typo. Note that signs of NaNs are not
11189 tested.
11190
23c31b76
JM
11191 * scripts/config.guess: Update from config.git.
11192 * scripts/config.sub: Likewise.
11193
9043e228
RM
111942012-10-04 Roland McGrath <roland@hack.frob.com>
11195
11196 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11197 * misc/madvise.c (madvise): Renamed to __madvise.
11198 Make madvise a weak alias.
11199 * include/sys/mman.h: Declare __madvise.
11200 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11201 * sysdeps/unix/syscalls.list
11202 (madvise): Make __madvise the strong name, and madvise a weak alias.
11203 * sysdeps/unix/sysv/linux/syscalls.list
11204 (madvise, mmap): Remove redundant entries.
11205 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11206 * malloc/malloc.c (mtrim): Likewise.
11207 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11208
f57f8055
RM
112092012-10-03 Roland McGrath <roland@hack.frob.com>
11210
11211 * sysdeps/mach/hurd/dl-cache.c: File removed.
11212 * config.h.in (USE_LDCONFIG): New #undef.
11213 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11214 * configure: Regenerated.
11215 * elf/Makefile (dl-routines): Add dl-cache only under
11216 [$(use-ldconfig) = yes].
11217 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11218 cache on [USE_LDCONFIG].
11219 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11220 [USE_LDCONFIG].
11221 * elf/rtld.c (dl_main): Likewise.
11222
5bb0c10a
PT
112232012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11224
11225 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11226 _SC_LEVEL4_CACHE_LINESIZE.
11227
010188c6
RM
112282012-10-03 Roland McGrath <roland@hack.frob.com>
11229
11230 * sysdeps/unix/bsd/confstr.h: File removed.
11231
b6c5ec07
AO
112322012-10-02 Alexandre Oliva <aoliva@redhat.com>
11233
11234 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11235 sys/sdt-config.h.
11236
408223d4
RM
112372012-10-02 Roland McGrath <roland@hack.frob.com>
11238
11239 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11240 Make 'mapoff' field ElfW(Off) rather than off_t.
11241
bb9510dc
DL
112422012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11243
fc997c6e
DL
11244 * nscd/Makefile: Remove nscd-cflags and all its users.
11245 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11246 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11247
bb9510dc
DL
11248 [BZ #10631]
11249 * malloc.c (malloc_printerr): Clarify error message.
11250
05699367
L
112512012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11252
11253 [BZ #14648]
11254 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11255 Set bit_FMA_Usable if FMA is supported.
11256 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11257 macro.
11258 (bit_FMA4_Usable): Updated.
11259 (index_FMA_Usable): New macro.
11260 (CPUID_FMA): Likewise
11261 (HAS_FMA): Defined with bit_FMA_Usable.
11262
51367701
RM
112632012-10-01 Roland McGrath <roland@hack.frob.com>
11264
11265 * bits/types.h (__swblk_t): Type removed.
11266 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11267 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11269 (__SWBLK_T_TYPE): Likewise.
11270 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11271 (__SWBLK_T_TYPE): Likewise.
11272 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11273 (__SWBLK_T_TYPE): Likewise.
11274 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11275 (__SWBLK_T_TYPE): Likewise.
11276
4d57bf63 112772012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11278 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11279
11280 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11281 (xdr_mapname): Use YPMAXMAP as maxsize.
11282 (xdr_peername): Use YPMAXPEER as maxsize.
11283 (xdr_keydat): Use YPAXRECORD as maxsize.
11284 (xdr_valdat): Use YPMAXRECORD as maxsize.
11285
93c65d43
RM
112862012-10-01 Roland McGrath <roland@hack.frob.com>
11287
497a03d6
RM
11288 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11289
93c65d43
RM
11290 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11291 * csu/init-first.c: ... here.
11292 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11293 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11294 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11295 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11296 * sysdeps/i386/init-first.c: File removed.
11297 * sysdeps/sh/init-first.c: File removed.
11298
bec749fd
JM
112992012-10-01 Joseph Myers <joseph@codesourcery.com>
11300
11301 [BZ #14645]
11302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11303 if x * y might underflow to zero and z is zero.
11304 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11305 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11306 * math/libm-test.inc (min_subnorm_value): New variable.
11307 (fma_test): Add more tests.
11308 (fma_test_towardzero): Likewise.
11309 (fma_test_downward): Likewise
11310 (fma_test_upward): Likewise.
11311 (initialize): Set min_subnorm_value.
11312
8ec5b013
JM
113132012-09-29 Joseph Myers <joseph@codesourcery.com>
11314
11315 [BZ #14638]
11316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11317 0 + 0.
11318 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11319 mode for addition resulting in exact zero.
11320 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11321 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11322 exact 0 + 0.
11323 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11324 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11325 * math/libm-test.inc (fma_test): Add more tests.
11326 (fma_test_towardzero): New function.
11327 (fma_test_downward): Likewise.
11328 (fma_test_upward): Likewise.
11329 (main): Call the new functions.
11330
b1fa802e
DM
113312012-09-28 David S. Miller <davem@davemloft.net>
11332
11333 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11334
d3b9fd9e
RM
113352012-09-28 Roland McGrath <roland@hack.frob.com>
11336
ea4d37b3
RM
11337 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11338 instead of SIGALRM.
11339
ac51c949
RM
11340 * sysdeps/gnu/_G_config.h: Moved to ...
11341 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11342 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11343 * sysdeps/generic/_G_config.h: ... here.
11344
28c195f7
RM
11345 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11346
848917f9
RM
11347 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11348
6bacf05b
RM
11349 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11350 Conditionalize target on [libnss_test1.so-version].
11351
91363dbb
RM
11352 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11353
cc87f7d8
RM
11354 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11355 (elfobjdir): Move out of conditionals.
11356
b1c608fe
RM
11357 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11358 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11359 (__nss_lookup_function): Conditionalize label remove_from_tree on
11360 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11361
1d9a6d96
DM
113622012-09-28 David S. Miller <davem@davemloft.net>
11363
11364 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11365 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-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/memcpy.S: Use Niagara-4 memcpy
11371 when HWCAP_SPARC_CRYPTO is present.
11372
72581615
PT
113732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11374
11375 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11376
715a900c
JL
113772012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11378
11379 [BZ #6530]
11380 * stdio-common/vfprintf.c (process_string_arg): Revert
11381 2000-07-22 change.
11382
113832011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11384
11385 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11386 for testcase.
11387 * stdio-common/tst-sprintf.c: Include <locale.h>
11388 (main): Test sprintf's handling of incomplete multibyte
11389 characters.
11390
9bac1d86
L
113912012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11392
11393 * elf/dl-runtime.c (VERSYMIDX): Removed.
11394 * elf/dl-version.c (VERSYMIDX): Likewise.
11395 * elf/do-rel.h (VERSYMIDX): Likewise.
11396 (VALIDX): Likewise.
11397 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11398 * elf/rtld.c (VALIDX): Likewise.
11399 (ADDRIDX): Likewise.
9bac1d86
L
11400 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11401 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11402 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
11403 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11404 (VALIDX): Likewise.
11405 (ADDRIDX): Likewise.
9bac1d86 11406
b31606c0
PT
114072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11408
11409 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11410
11541177
JL
114112012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11412
11413 [BZ #11438]
11414 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11415 to global scope.
11416 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11417 addresses are in the same scope as 192.0.2/24.
11418 * posix/gai.conf: Document new scope table defaults.
11419
adb26fae
SP
114202012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11421
11422 [BZ #5298]
11423 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11424 for ftell. Compute offsets from write pointers instead.
11425 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11426
4573c6b0
SP
114272012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11428
11429 [BZ #14543]
11430 * libio/Makefile (tests): New test case tst-fseek.
11431 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11432 combination works in wide mode.
11433 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11434 state when the external buffer state changes.
11435
aa9bbfe6
DM
114362012-09-27 David S. Miller <davem@davemloft.net>
11437
11438 [BZ #14376]
11439 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11440 pass reloc->r_addend in as the 'high' argument to
11441 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11442
784421e7
DM
11443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11444
c39bc8b8
PT
114452012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11446
11447 * rt/tst-aio2.c: Include <pthread.h>.
11448 * rt/tst-aio3.c: Likewise.
11449
1ccc2399
SE
114502012-09-27 Steve Ellcey <sellcey@mips.com>
11451
11452 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11453
31ed4153
L
114542012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11455
25f5f885
L
11456 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11457 contents on [SHARED].
31ed4153 11458
b7bfe116
MP
114592012-09-26 Marek Polacek <polacek@redhat.com>
11460
11461 [BZ #14530]
11462 [BZ #13741]
11463 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11464 for C++ and GCC <4.3 as well as for non GCC compilers.
11465
43c4edba
MT
114662012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11467
11468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11469
6a1bf82f
RM
114702012-09-25 Roland McGrath <roland@hack.frob.com>
11471
11472 * Makefile.in (all, install): Declare with .PHONY.
11473 Reported by Michael Hope <michael.hope@linaro.org>.
11474
8ad11b9a
TMQMF
114752012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11476
11477 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11478 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11479 system header.
11480 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11481 Likewise.
11482 (sydep_routines): Add the new and the internal functions.
11483 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11484 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11486 (GLIBC_2.17): Add the new function.
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11488 (GLIBC_2.17): Likewise.
11489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11490 (GLIBC_2.17): Likewise.
11491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11492 (GLIBC_2.17): Likewise.
11493 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11494
7e2fca8d
AM
114952012-09-25 Alan Modra <amodra@gmail.com>
11496
11497 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11498 Add release barrier before setting once_control to say
11499 initialisation is done. Add hints on lwarx. Use macro in
11500 place of isync.
11501 (clear_once_control): Add release barrier.
11502
b87c4b24
JM
115032012-09-25 Joseph Myers <joseph@codesourcery.com>
11504
d032e0d2
JM
11505 [BZ #13629]
11506 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11507 specially.
11508 * math/s_clog10.c (__clog10): Likewise.
11509 * math/s_clog10f.c (__clog10f): Likewise.
11510 * math/s_clog10l.c (__clog10l): Likewise.
11511 * math/s_clogf.c (__clogf): Likewise.
11512 * math/s_clogl.c (__clogl): Likewise.
11513 * math/Makefile (libm-calls): Add x2y2m1.
11514 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11515 (__x2y2m1): Likewise.
11516 (__x2y2m1l): Likewise.
11517 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11518 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11521 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11522 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11523 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11524 * sysdeps/i386/fpu/libm-test-ulps: Update.
11525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11526
b87c4b24
JM
11527 [BZ #14621]
11528 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11529 int as type of variable DEPTH.
11530 (glob): Use size_t instead of int as type of variables NEWCOUNT
11531 and OLD_PATHC.
11532
6d3bf199
LD
115332012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11534
22bf5c17
LD
11535 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11536 Add s_sincosf-sse2.
11537 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11538 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11539 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11540 macros for using routine as __sincosf_ia32.
11541 Use macro for function declaration and weak_alias.
11542 * sysdeps/i386/fpu/libm-test-ulps: Update.
11543
11544 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11546
11547 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
11548 subnormal argument.
11549 * math/s_cexpf.c (__cexpf): Likewise.
11550 * math/s_csinf.c (__csinf): Likewise.
11551 * math/s_csinhf.c (__csinhf): Likewise.
11552 * math/s_ctanf.c (__ctanf): Likewise.
11553 * math/s_ctanhf.c (__ctanhf): Likewise.
11554 * math/s_ccosh.c (__ccoshf): Likewise.
11555 * math/s_cexp.c (__cexpl): Likewise.
11556 * math/s_csin.c (__csin): Likewise.
11557 * math/s_csinh.c (__csinh): Likewise.
11558 * math/s_ctan.c (__ctan): Likewise.
11559 * math/s_ctanh.c (ctanh): Likewise.
11560 * math/s_ccoshl.c (__ccoshl): Likewise.
11561 * math/s_cexpl.c (__cexpl): Likewise.
11562 * math/s_csinl.c (__csinl): Likewise.
11563 * math/s_csinhl.c (__csinhl): Likewise.
11564 * math/s_ctanl.c (__ctanl): Likewise.
11565 * math/s_ctanhl.c (__ctanhl): Likewise.
11566
203e5603
JM
115672012-09-25 Joseph Myers <joseph@codesourcery.com>
11568
11569 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11570 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11571 (_IO_off_t): Define to __off_t, not _G_off_t.
11572 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11573 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11574 (_IO_wint_t): Define to wint_t, not _G_wint_t.
11575 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11576 type of __dummy and __dummy2 fields.
11577 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11578 (_G_ssize_t): Likewise.
11579 (_G_off_t): Likewise.
11580 (_G_pid_t): Likewise.
11581 (_G_uid_t): Likewise.
11582 (_G_wchar_t): Likewise.
11583 (_G_wint_t): Likewise.
11584 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11585 (_G_ssize_t): Likewise.
11586 (_G_off_t): Likewise.
11587 (_G_pid_t): Likewise.
11588 (_G_uid_t): Likewise.
11589 (_G_wchar_t): Likewise.
11590 (_G_wint_t): Likewise.
11591 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11592 (_G_ssize_t): Likewise.
11593 (_G_off_t): Likewise.
11594 (_G_pid_t): Likewise.
11595 (_G_uid_t): Likewise.
11596 (_G_wchar_t): Likewise.
11597 (_G_wint_t): Likewise.
11598
9fab36eb
SP
115992012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11600
11601 * malloc/arena.c: Include malloc-sysdep.h.
11602 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11603 is sufficient to shrink the heap or an unmap is needed.
11604 * sysdeps/generic/malloc-sysdep.h: New file. Define
11605 new function check_may_shrink_heap.
11606 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11607 new function check_may_shrink_heap.
11608
2b4f00d1
SP
116092012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11610
11611 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11612 comments.
11613
9a9028b1
DL
116142012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11615
57c69bef
DL
11616 * catgets/test-gencat.sh: Add "set -e".
11617 * elf/tst-pathopt.sh: Likewise.
11618 * grp/tst_fgetgrent.sh: Likewise.
11619 * iconvdata/run-iconv-test.sh: Likewise.
11620 * intl/tst-gettext.sh: Likewise.
11621 * intl/tst-gettext2.sh: Likewise.
11622 * intl/tst-gettext4.sh: Likewise.
11623 * intl/tst-gettext6.sh: Likewise.
11624 * intl/tst-translit.sh: Likewise.
11625 * io/ftwtest-sh: Likewise.
11626 * libio/test-freopen.sh: Likewise.
11627 * malloc/tst-mtrace.sh: Likewise.
11628 * posix/globtest.sh: Likewise.
11629 * posix/tst-getconf.sh: Likewise.
11630 * posix/wordexp-tst.sh: Likewise.
11631 * stdio-common/tst-printf.sh: Likewise.
11632 * stdio-common/tst-unbputc.sh: Likewise.
11633 * stdlib/tst-fmtmsg.sh: Likewise.
11634 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11635 * catgets/Makefile: Do not specify -e option when running
11636 testsuite shell scripts.
11637 * elf/Makefile: Likewise.
11638 * grp/Makefile: Likewise.
11639 * iconvdata/Makefile: Likewise.
11640 * intl/Makefile: Likewise.
11641 * io/Makefile: Likewise.
11642 * libio/Makefile: Likewise.
11643 * malloc/Makefile: Likewise.
11644 * posix/Makefile: Likewise.
11645 * stdio-common/Makefile: Likewise.
11646 * stdlib/Makefile: Likewise.
11647 * sysdeps/x86_64/Makefile: Likewise.
11648
9a9028b1
DL
11649 * io/ftwtest-sh: Add copyright header.
11650 * posix/globtest.sh: Likewise.
11651 * posix/tst-getconf.sh: Likewise.
11652 * posix/wordexp-tst.sh: Likewise.
11653 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11654
ced6f16e
L
116552012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11656
94b32c39
L
11657 [BZ #13679]
11658 * Makeconfig (+link): Defined as $(+link-static) if
11659 $(build-shared) isn't yes.
11660 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11661 isn't yes.
11662 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11663
189e935b
L
11664 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11665
ced6f16e
L
11666 [BZ #14562]
11667 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11668 new chunk size with MALLOC_ALIGN_MASK.
11669
a9f8e53a
JM
116702012-09-24 Joseph Myers <joseph@codesourcery.com>
11671
11672 [BZ #5044]
11673 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11674 <rounding-mode.h>.
11675 (__printf_fphex): Determine rounding using get_rounding_mode and
11676 round_away.
11677 * stdio-common/tst-printf-round.c (struct hex_test): New
11678 structure.
11679 (hex_tests): New variable.
11680 (test_hex_in_one_mode): New function.
11681 (do_test): Also run tests for hex float output.
11682
43153109
JM
116832012-09-21 Joseph Myers <joseph@codesourcery.com>
11684
11685 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11686 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11687 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11688 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11689 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11690 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11691 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11692 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11693
8a26625d
JM
116942012-09-20 Joseph Myers <joseph@codesourcery.com>
11695
11696 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11697 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11698 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11699 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11700
f3fd569c
DL
117012012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11702
11703 [BZ #14579]
11704 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11705 mode only.
11706 * elf/tst-rtld-load-self.sh: New test.
11707 * elf/Makefile: Run it.
11708
63bbedd4
JM
117092012-09-18 Joseph Myers <joseph@codesourcery.com>
11710
11711 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11712 (tst-writev-ENV): Remove.
11713 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11714
626f8b6a
CM
117152012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11716
11717 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11718
b7aaa4d6
JM
117192012-09-17 Joseph Myers <joseph@codesourcery.com>
11720
11721 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11722 unconditional.
11723 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11724 Likewise.
11725 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11726 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11727 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11728 Likewise.
11729
65513990
L
117302012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11731
11732 [BZ #14587]
11733 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11734 * config.make.in (have-cpp-asm-debuginfo): Removed.
11735 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11736 * configure: Regenerated.
11737
784761be
JM
117382012-09-14 Joseph Myers <joseph@codesourcery.com>
11739
11740 [BZ #5044]
11741 * stdio-common/printf_fp.c: Include <stdbool.h> and
11742 <rounding-mode.h>.
11743 (___printf_fp): Determine rounding using get_rounding_mode and
11744 round_away.
11745 * stdio-common/tst-printf-round.c: New file.
11746 * stdio-common/Makefile (tests): Add tst-printf-round.
11747 (link-libm): New variable.
11748 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11749
9503345f
L
117502012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11751
11752 [BZ #14576]
11753 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11754 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11755 Likewise.
11756 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11757 Likewise.
11758
ad35fc00
JM
117592012-09-13 Joseph Myers <joseph@codesourcery.com>
11760
11761 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11762 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11763 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11764 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11765
6c9b0f68
JM
117662012-09-12 Joseph Myers <joseph@codesourcery.com>
11767
11768 [BZ #14518]
11769 * include/rounding-mode.h: New file.
11770 * sysdeps/generic/get-rounding-mode.h: Likewise.
11771 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11772 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11773 (MAX_VALUE): New macro.
11774 (MIN_VALUE): Likewise.
11775 (overflow_value): New function.
11776 (underflow_value): Likewise.
11777 (round_and_return): Use overflow_value and underflow_value to
11778 determine return values in overflow and underflow cases. Use
11779 round_away to determine rounding depending on rounding mode.
11780 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11781 determine return values in overflow and underflow cases.
11782 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11783 (struct test_results): New structure.
11784 (struct test): Use struct test_results to store expected results
11785 for all rounding modes.
11786 (TEST): Include expected results for all rounding modes.
11787 (test_in_one_mode): New function.
11788 (do_test): Use test_in_one_mode to compute and check results.
11789 Check results for all rounding modes.
11790 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11791 $(link-libm).
11792
19fcedd5
AM
117932012-12-09 Allan McRae <allan@archlinux.org>
11794
1e9d84cd 11795 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 11796
8bbfd2f1
JM
117972012-09-11 Joseph Myers <joseph@codesourcery.com>
11798
11799 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11800 (_G_int32_t): Likewise.
11801 (_G_uint16_t): Likewise.
11802 (_G_uint32_t): Likewise.
11803 (_G_HAVE_BOOL): Likewise.
11804 (_G_HAVE_ATEXIT): Likewise.
11805 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11806 (_G_HAVE_IO_FILE_OPEN): Likewise.
11807 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11808 (_G_int32_t): Likewise.
11809 (_G_uint16_t): Likewise.
11810 (_G_uint32_t): Likewise.
11811 (_G_HAVE_BOOL): Likewise.
11812 (_G_HAVE_ATEXIT): Likewise.
11813 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11814 (_G_HAVE_IO_FILE_OPEN): Likewise.
11815 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11816 (_G_int32_t): Likewise.
11817 (_G_uint16_t): Likewise.
11818 (_G_uint32_t): Likewise.
11819 (_G_HAVE_BOOL): Likewise.
11820 (_G_HAVE_ATEXIT): Likewise.
11821 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11822 (_G_HAVE_IO_FILE_OPEN): Likewise.
11823
b1dc5912
L
118242012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11825
11826 * csu/libc-tls.c: Update copyright years.
11827
0e886ef9
JM
118282012-09-10 Joseph Myers <joseph@codesourcery.com>
11829
28361c5e
JM
11830 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11831 [!_G_USING_THUNKS]: Remove conditional code.
11832 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11833 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11834
0e886ef9
JM
11835 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11836 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11837 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11838 (_G_VTABLE_LABEL_PREFIX): Likewise.
11839 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11840 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11841 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11842 (_G_VTABLE_LABEL_PREFIX): Likewise.
11843 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11844 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11845 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11846 (_G_VTABLE_LABEL_PREFIX): Likewise.
11847 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11848
bcba7aa2
L
118492012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11850
11851 * libio/Makefile: Include ../Makeconfig before tests.
11852 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11853 only if $(build-shared) is yes.
11854
06585ee8
L
11855 * iconv/gconv_db.c: Update copyright years.
11856
80ccd52c
LD
118572012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11858
11859 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11860 unwind info if defined PIC. Fix special cases description.
11861 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11862
11863 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11864 DP_HI_MASK entry.
11865 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11866
691bc9c1
L
118672012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11868
3d9b46b3
L
11869 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11870
de2139a9
L
11871 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11872 is NULL.
11873
5ca78dd0
L
11874 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11875 (LDLIBS-tst-chk4): This.
11876 (LDFLAGS-tst-chk5): Renamed to ...
11877 (LDLIBS-tst-chk5): This.
11878 (LDFLAGS-tst-chk6): Renamed to ...
11879 (LDLIBS-tst-chk6): This.
11880 (LDFLAGS-tst-lfschk4): Renamed to ...
11881 (LDLIBS-tst-lfschk4): This.
11882 (LDFLAGS-tst-lfschk5): Renamed to ...
11883 (LDLIBS-tst-lfschk5): This.
11884 (LDFLAGS-tst-lfschk6): Renamed to ...
11885 (LDLIBS-tst-lfschk6): This.
11886
691bc9c1
L
11887 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11888 on $(common-objpfx)soversions.mk.
11889
65cafb1c
JM
118902012-09-07 Joseph Myers <joseph@codesourcery.com>
11891
11892 [BZ #10014]
11893 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11894 example host name.
11895
c78ab094
SP
118962012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11897
11898 * malloc/arena.c (arena_get_retry): New function that gets
11899 another arena for the caller to try its request on.
11900 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11901 current arena cannot fulfill the request.
11902 (__libc_memalign): Likewise.
11903 (__libc_memalign): Likewise.
11904 (__libc_pvalloc): Likewise.
11905 (__libc_calloc): Likewise.
11906
01f49f59
JT
119072012-09-05 John Tobey <john.tobey@gmail.com>
11908
11909 [BZ #13542]
11910 * manual/arith.texi (Operations on Complex): Fix description
11911 of carg branch cut.
11912
4c23fed5
JM
119132012-09-06 Joseph Myers <joseph@codesourcery.com>
11914
1d3c8572
JM
11915 [BZ #10014]
11916 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11917 host name.
11918
4c23fed5
JM
11919 [BZ #10038]
11920 * manual/memory.texi (Memory): Make order of menu items match
11921 order of sections.
11922
04570aaa
L
119232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11924
11925 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11926 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
11927 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11928
b80af2f4
L
119292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11930
11931 * csu/libc-tls.c (static_dtv): Renamed to ...
11932 (_dl_static_dtv): This. Make it global.
11933 (_dl_initial_dtv): Removed.
11934 (__libc_setup_tls): Updated.
11935 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11936 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11937 DL_INITIAL_DTV.
11938
2abe9f15
PM
119392012-09-06 Petr Machata <pmachata@redhat.com>
11940
11941 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11942 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11943 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11944 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11945
0948c3af
L
119462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11947
11948 [BZ #14545]
11949 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11950 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11951 freeing dtv[-1].
11952
a5055ad1
L
119532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11954
11955 [BZ #14544]
11956 * Makeconfig (link-static-before-libc): Replace $(+prector)
11957 with $(+prectorT).
11958 (link-static-after-libc): Replace $(+postctor) with
11959 $(+postctorT).
11960 (link-bounded): Replace $(+prector)/$(+postctor) with
11961 $(+prectorT)/$(+postctorT).
11962 (+prectorT): New macro.
11963 (+postctorT): Likewise.
11964
ed8c2ecd
JM
119652012-09-06 Joseph Myers <joseph@codesourcery.com>
11966
11967 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11968 (round_str): Handle values above the maximum for IBM long double
11969 as inexact.
11970 * stdlib/tst-strtod-round.c (tests): Regenerated.
11971
14c996c8
AK
119722012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11973
11974 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11975 assembler flag.
11976 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11977 zarch_nohighgprs around the zarch optimized routines.
11978 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11979 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11980 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11981 for zarch.
11982
430d6ce6
DM
119832012-09-05 David S. Miller <davem@davemloft.net>
11984
11985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11986
ff04dda4
DM
11987 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11988 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11989 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11990 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11991 entries.
11992
24d4e01b
AO
119932012-09-05 Alexandre Oliva <aoliva@redhat.com>
11994
11995 * malloc/arena.c: Fold copyright years.
11996 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11997
61d58174
AO
119982012-09-05 Alexandre Oliva <aoliva@redhat.com>
11999
12000 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12001
20196a5e
AO
120022012-09-05 Alexandre Oliva <aoliva@redhat.com>
12003
12004 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12005
5c447383
AO
120062012-09-05 Alexandre Oliva <aoliva@redhat.com>
12007
12008 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12009 change internal state upon failure.
12010
fad64255
AO
120112012-09-05 Alexandre Oliva <aoliva@redhat.com>
12012
12013 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12014 * malloc/memusage.c (mmap): Likewise.
12015 (mmap64, mremap): Likewise. Adjust name in comment.
12016
1ffb8c90
SP
120172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12018
12019 * libio/fileops.c: Fix typos in comments.
12020 * libio/oldfileops.c: Likewise.
12021 * libio/wfileops.c: Likewise.
12022
6ef9cc37
SP
120232012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12024
12025 [BZ #1349]
12026 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12027 (tst-malloc-usable-ENV): Set environment for test case.
12028 * malloc/hooks.c (malloc_check_get_size): New function to get
12029 requested size.
12030 * malloc/malloc.c (musable): Use malloc_check_get_size.
12031 * malloc/tst-malloc-usable.c: New test case.
12032
4d038ae3
AS
120332012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12034
12035 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12036
c4e85184
AM
120372012-09-05 Allan McRae <allan@archlinux.org>
12038
b9dafc56 12039 [BZ #13966]
c4e85184
AM
12040 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12041 determine header location.
12042 * configure: Regenerated.
12043
e1343020
AS
120442012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12045
12046 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12047 float format.
12048 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12049 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12050 format.
e1343020
AS
12051 (test): Regenerate.
12052
0a9f1987
DM
120532012-09-04 David S. Miller <davem@davemloft.net>
12054
12055 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12056 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12057 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12058
29237804
FW
120592012-09-04 Florian Weimer <fweimer@redhat.com>
12060
12061 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12062 failures.
12063
edb3cb88
FW
12064 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12065
60160d83
JM
120662012-09-04 Joseph Myers <joseph@codesourcery.com>
12067
12068 [BZ #9914]
12069 * libio/iogetdelim.c: Include <limits.h>.
12070 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12071 + len + 1 would overflow.
12072
bcd6c8dc
AJ
120732012-09-03 Andreas Jaeger <aj@suse.de>
12074
12075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12076 * sysdeps/i386/fpu/libm-test-ulps: Update.
12077
4ffffbd2
LD
120782012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12079
12080 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12081 Add s_sinf-sse2, s_conf-sse2.
12082
12083 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12084 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12085 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12086 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12087
12088 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12089 for using routine as __sinf_ia32.
12090 Use macro for function declaration and weak_alias.
12091 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12092 for using routine as __cosf_ia32.
12093 Use macro for function declaration and weak_alias.
12094
12095 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12096 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12097
12098 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12099 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12101
12102 * math/libm-test.inc (cos_test): Add more test cases.
12103 (sin_test): Likewise.
12104 (sincos_test): Likewise.
12105
511fa286
AK
121062012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12107
12108 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12109 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12110 hidden.
12111 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12112
5f30cfec
L
121132012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12114
12115 [BZ #14538]
12116 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12117 first element of the GOT.
12118 (elf_machine_load_address): Return the difference between
12119 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12120
0786794f
AM
121212012-09-01 Allan McRae <allan@archlinux.org>
12122
5f30cfec
L
12123 [BZ #13412]
12124 * configure.in (AWK): Require gawk version 3.0 or later.
12125 * configure: Regenerated.
0786794f 12126
26889eac
JM
121272012-09-01 Joseph Myers <joseph@codesourcery.com>
12128
12129 * sysdeps/unix/sysv/linux/kernel-features.h
12130 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12131 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12132 [__NR_clock_getres]: Make code unconditional.
12133 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12134 (clock_getcpuclockid): Remove code left unreachable by removal of
12135 conditionals.
12136 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12137 code unconditional.
12138 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12139 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12140 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12141 Make code unconditional.
12142 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12143 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12144 * sysdeps/unix/sysv/linux/clock_settime.c
12145 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12146 conditional code.
12147 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12148 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12149
d22e28b0
L
121502012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12151
12152 [BZ #14476]
12153 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12154 scripts/test-installation.pl.
12155
12156 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12157 and $ld_so_version if it is set.
12158
050af9c4
SP
121592012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12160
12161 [BZ #14516]
12162 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12163 failure if reading from procfs failed.
12164 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12165
ad845c0b
JM
121662012-08-27 Joseph Myers <joseph@codesourcery.com>
12167
12168 * sysdeps/unix/sysv/linux/kernel-features.h
12169 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12170 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12171 Remove conditional code.
12172 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12173 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12174 Remove conditional code.
12175 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12176 * sysdeps/unix/sysv/linux/i386/fxstat.c
12177 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12178 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12179 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12180 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12181 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12182 * sysdeps/unix/sysv/linux/i386/lxstat.c
12183 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12184 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12185 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12186 Remove conditional code.
12187 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12188 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12189 Remove conditional code.
12190 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12191 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12192 <kernel-features.h>.
12193 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12194 Remove.
12195 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12196 Remove conditional code.
12197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12198 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12199 Remove conditional.
12200
5dbf56af
MF
122012012-08-27 Mike Frysinger <vapier@gentoo.org>
12202
12203 [BZ #5400]
12204 * NEWS: Add fixed bug number.
12205
d6e70f43
JM
122062012-08-27 Joseph Myers <joseph@codesourcery.com>
12207
7efb4737
JM
12208 [BZ #14519]
12209 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12210 underflowing exponent in case of negative sign.
12211 * stdlib/tst-strtod-round-data: Add more tests.
12212 * stdlib/tst-strtod-round.c (tests): Regenerated.
12213
af92131a
JM
12214 [BZ #3479]
12215 * stdlib/strtod_l.c (NDIG): Remove.
12216 (HEXNDIG): Likewise.
12217 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12218 smallest representable value.
12219 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12220 lie within an exact representation of 1/2 ulp of the result.
12221 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12222 unconditionally.
12223 (TENS_P9_IDX): Define unconditionally.
12224 (TENS_P9_SIZE): Likewise.
12225 (TENS_P10_IDX): Likewise.
12226 (TENS_P10_SIZE): Likewise.
12227 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12228 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12229 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12230 entries for 10^2^13 and 10^2^14.
12231 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12232 (TENS_P13_IDX): Define.
12233 (TENS_P13_SIZE): Likewise.
12234 (TENS_P14_IDX): Likewise.
12235 (TENS_P14_SIZE): Likewise.
12236 (_fpioconst_pow10): Change array size to
12237 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12238 unconditional.
12239 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12240 1024]: Add entries for 10^2^13 and 10^2^14.
12241 [LAST_POW10 > _LAST_POW10]: Remove #error.
12242 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12243 (_fpioconst_pow10): Change array size to
12244 FPIOCONST_POW10_ARRAY_SIZE.
12245 * stdlib/gen-fpioconst.c: New file.
12246 * stdlib/gen-tst-strtod-round.c: Likewise.
12247 * stdlib/tst-strtod-round-data: Likewise.
12248 * stdlib/tst-strtod-round.c: Likewise.
12249 * stdlib/Makefile (tests): Add tst-strtod-round.
12250
d6e70f43
JM
12251 [BZ #14459]
12252 * stdlib/strtod_l.c: Include <stdint.h>.
12253 (NDEBUG): Do not define.
12254 (round_and_return): Change EXPONENT parameter to type intmax_t.
12255 Rearrange calculations to avoid internal overflow possibilities.
12256 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12257 Rearrange calculations to avoid internal overflow possibilities.
12258 Assert that number fits inside MPNSIZE limbs.
12259 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12260 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12261 calculations and add assertions to avoid internal overflow
12262 possibilities. Add casts to avoid signed/unsigned operations.
12263 * stdlib/tst-strtod-overflow.c: New file.
12264 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12265
1f529f7d
MP
122662012-08-25 Marek Polacek <polacek@redhat.com>
12267
12268 * time/time.h: Fix some typos in comments.
12269
59a629f1
RM
122702012-08-23 Roland McGrath <roland@hack.frob.com>
12271
12272 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12273 * posix/tst-rfc3484-2.c: Likewise.
12274 * posix/tst-rfc3484-3.c: Likewise.
12275
d3bafbc9
SM
122762012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12277
12278 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12279 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12280
4efcc022
JM
122812012-08-23 Joseph Myers <joseph@codesourcery.com>
12282
12283 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12284 #include of fxstatat64.c.
12285
3cc3ef96
RM
122862012-08-22 Roland McGrath <roland@hack.frob.com>
12287
f04e2132
RM
12288 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12289 * shadow/getspent_r.c: Likewise.
12290 * shadow/getspnam.c: Likewise.
12291 * shadow/getspnam_r.c: Likewise.
12292 * gshadow/getsgent.c: Likewise.
12293 * gshadow/getsgent_r.c: Likewise.
12294 * gshadow/getsgnam.c: Likewise.
12295 * gshadow/getsgnam_r.c: Likewise.
12296 * inet/getnetbyad.c: Likewise.
12297 * inet/getnetbyad_r.c: Likewise.
12298 * inet/getnetbynm.c: Likewise.
12299 * inet/getnetbynm_r.c: Likewise.
12300 * inet/getnetent.c: Likewise.
12301 * inet/getnetent_r.c: Likewise.
12302 * inet/getproto.c: Likewise.
12303 * inet/getproto_r.c: Likewise.
12304 * inet/getprtent.c: Likewise.
12305 * inet/getprtent_r.c: Likewise.
12306 * inet/getprtname.c: Likewise.
12307 * inet/getprtname_r.c: Likewise.
12308 * inet/getrpcbyname.c: Likewise.
12309 * inet/getrpcbyname_r.c: Likewise.
12310 * inet/getrpcbynumber.c: Likewise.
12311 * inet/getrpcbynumber_r.c: Likewise.
12312 * inet/getrpcent.c: Likewise.
12313 * inet/getrpcent_r.c: Likewise.
12314 * inet/getaliasent.c: Likewise.
12315 * inet/getaliasent_r.c: Likewise.
12316 * inet/getaliasname.c: Likewise.
12317 * inet/getaliasname_r.c: Likewise.
12318 * nscd/getgrgid_r.c: Likewise.
12319 * nscd/getgrnam_r.c: Likewise.
12320 * nscd/gethstbyad_r.c: Likewise.
12321 * nscd/gethstbynm3_r.c: Likewise.
12322 * nscd/getpwnam_r.c: Likewise.
12323 * nscd/getpwuid_r.c: Likewise.
12324 * nscd/getsrvbynm_r.c: Likewise.
12325 * nscd/getsrvbypt_r.c: Likewise.
12326 * nscd/gai.c: Likewise.
12327
c53d909c
RM
12328 * configure.in (build_nscd): New substituted variable, set
12329 by --disable-build-nscd and defaults to $use_nscd.
12330 * configure: Regenerated.
12331 * config.make.in (build-nscd): New substituted variable.
12332 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12333 Change conditional to require [$(build-nscd) = yes] as well.
12334 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12335
3cc3ef96
RM
12336 [BZ# 13696]
12337 * configure.in (use_nscd): New substituted variable, set by
12338 --disable-nscd. If enabled, define USE_NSCD.
12339 * configure: Regenerated.
12340 * config.h.in: Add USE_NSCD.
12341 * config.make.in (use-nscd): New substituted variable.
12342 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12343 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12344 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12345 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12346 (CFLAGS-getgrnam_r.c): Likewise.
12347 (CFLAGS-initgroups.c): Likewise.
12348 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12349 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12350 Variables removed.
12351 * inet/getnetgrent_r.c
12352 (nscd_setnetgrent): New function, broken out of ...
12353 (setnetgrent): ... here. Call it.
12354 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12355 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12356 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12357 * nscd/Makefile (routines, aux): Move definitions after include of
12358 Makeconfig. Conditionalize on [$(use-nscd) != no].
12359 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12360 Conditionalize on [USE_NSCD].
12361 (is_nscd, nscd_init_cb): Likewise.
12362 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12363 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12364 * nss/nss_db/db-init.c: Likewise.
12365 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12366 [USE_NSCD].
12367 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12368 (make_request): Use it.
12369 (cache_valid_p): New function.
12370 (__check_pf): Use it.
12371 * NEWS: Add item for --disable-nscd.
12372
07e51550
DL
123732012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12374
12375 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12376 to support sed >= 4.2.1-20-ga9bf076.
12377 * configure: Regenerated.
12378
35a5b08b
RM
123792012-08-22 Roland McGrath <roland@hack.frob.com>
12380
12381 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12382 Conditionalize whole body on [IREL].
12383
8479f23a
JL
123842012-08-22 Jeff Law <law@redhat.com>
12385
12386 [BZ #14505]
12387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12388 if the family is PF_UNSPEC.
12389
48da0b21
MF
123902012-08-22 Mike Frysinger <vapier@gentoo.org>
12391
12392 * Makerules (lib-version): Rename from V.
12393 (install-lib-nosubdir): Change V to lib-version.
12394
15d0da8c
WS
123952012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12396
12397 [BZ #14252]
12398 * powerpc32/power6/wcschr.c: New file.
12399 * powerpc32/power6/wcscpy.c: New file.
12400 * powerpc32/power6/wcsrchr.c: New file.
12401 * powerpc64/power6/wcschr.c: New file.
12402 * powerpc64/power6/wcscpy.c: New file.
12403 * powerpc64/power6/wcsrchr.c: New file.
12404
bcca0895
MK
124052012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12406
12407 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12408 (two_way_short_needle): Use it.
5a4aaa33
RM
12409 * string/strstr.c (AVAILABLE1_USES_J): Define.
12410 * string/strcasestr.c: Likewise.
99677e57
MK
12411
12412 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12413 array references.
12414 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12415
400726de
MK
12416 [BZ #11607]
12417 * NEWS: Add an entry.
12418 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12419 define their defaults.
12420 (two_way_short_needle): Detect end-of-string on-the-fly.
12421 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12422 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12423 * string/bug-strcasestr1.c: New test.
12424 * string/Makefile: Run it.
12425
20a71f2c
MK
124262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12427
12428 [BZ #11607]
12429 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12430 the first character.
12431
21ad0558
RM
124322012-08-21 Roland McGrath <roland@hack.frob.com>
12433
12434 * csu/elf-init.c (__libc_csu_irel): Function removed.
12435 * csu/libc-start.c (apply_irel): New function.
12436 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12437
0e1d9911
JM
124382012-08-21 Joseph Myers <joseph@codesourcery.com>
12439
12440 * sysdeps/unix/sysv/linux/kernel-features.h
12441 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12442 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12443 <kernel-features.h>.
12444 [__NR_fadvise64_64]: Make code unconditional.
12445 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12446 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12447 !__NR_fadvise64_64)]: Likewise.
12448 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12449 !__NR_fadvise64_64))]: Likewise.
12450 [__NR_fadvise64]: Make code unconditional.
12451 [!__NR_fadvise64]: Remove conditional code.
12452 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12453 <kernel-features.h>.
12454 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12455 unconditional.
12456 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12457 conditional code.
12458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12459 not include <kernel-features.h>.
12460 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12461 unconditional.
12462 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12463 conditional code.
12464 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12465 include <kernel-features.h>.
12466 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12467 unconditional.
12468 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12469 conditional code.
12470
14a50c9d
WS
124712012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12472
12473 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12474 slight instruction rearrangements per scrollpipe analysis.
12475 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12476
c0f4faf0
RM
124772012-08-20 Roland McGrath <roland@hack.frob.com>
12478
696da859
RM
12479 * manual/syslog.texi (syslog; vsyslog, closelog):
12480 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12481 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12482
c0f4faf0
RM
12483 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12484 DSOCAPS to match condition on defining it.
12485
348363b2
JM
124862012-08-20 Joseph Myers <joseph@codesourcery.com>
12487
a35cbf28
JM
12488 * sysdeps/unix/sysv/linux/kernel-features.h
12489 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12491 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12492 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12494 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12495 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12497 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12498 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12499
445f7ecd
JM
12500 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12501 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12502
348363b2
JM
12503 * sysdeps/unix/sysv/linux/kernel-features.h
12504 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12505 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12506 unconditional.
12507 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12508 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12509 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12510 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12511 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12512 Make code unconditional.
12513 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12514 (__mmap64) [!__NR_mmap2]: Likewise.
12515 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12516 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12517 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12518 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12519 [__NR_mmap2]: Make code unconditional.
12520 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12521 (__mmap64) [!__NR_mmap2]: Likewise.
12522
bc5bc0e5
AK
125232012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12524
12525 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12526
88d506de
AJ
125272012-08-18 Andreas Jaeger <aj@suse.de>
12528
12529 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12530
493387d2
MF
125312012-08-18 Mike Frysinger <vapier@gentoo.org>
12532
12533 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12534 * include/unistd.h (__have_sock_cloexec): Likewise.
12535 (__have_pipe2): Likewise.
12536 (__have_dup3): Likewise.
12537
a277af22
MF
125382012-08-18 Mike Frysinger <vapier@gentoo.org>
12539
12540 [BZ #9685]
12541 * include/unistd.h (__have_pipe2): Change define into an extern int.
12542 (__have_dup3): Likewise.
12543 * socket/have_sock_cloexec.c: Include fcntl.h.
12544 (__have_pipe2): New variable.
12545 (__have_dup3): Likewise.
12546
fdab8fd3
MF
125472012-08-17 Mike Frysinger <vapier@gentoo.org>
12548
12549 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12550
31035e80
MP
125512012-08-17 Marek Polacek <polacek@redhat.com>
12552
12553 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12554 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12555
3bd9e993
RM
125562012-08-17 Roland McGrath <roland@hack.frob.com>
12557
c91c505f
RM
12558 * configure.in: Add AC_SUBST for sysheaders.
12559 * configure: Regenerated.
12560 * config.make.in (sysheaders): New substituted variable.
12561
7c6f9d53
RM
12562 * sysdeps/unix/mkfifo.c: Moved ...
12563 * sysdeps/posix/mkfifo.c: ... here.
12564 * sysdeps/unix/mkfifoat.c: Moved ...
12565 * sysdeps/posix/mkfifoat.c: ... here.
12566
12567 * sysdeps/unix/utime.c: Moved ...
12568 * sysdeps/posix/utime.c: ... here.
12569
12570 * sysdeps/unix/time.c: Moved ...
12571 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
12572 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12573 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
12574
12575 * sysdeps/unix/nice.c: Moved ...
12576 * sysdeps/posix/nice.c: ... here.
12577
12578 * sysdeps/unix/alarm.c: Moved ...
12579 * sysdeps/posix/alarm.c: ... here.
12580
3bd9e993
RM
12581 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12582
d1f09384
JL
125832012-08-17 Jeff Law <law@redhat.com>
12584
12585 * intl/Makefile (codeset_mo): New variable.
12586 ($(codeset_mo)): New target.
12587 (tst-codeset.out): Depend on that. Remove explicit rule.
12588 (tst-gettext3.out, tst-gettext5.out): Likewise.
12589 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12590 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12591 * intl/tst-codeset.sh: Remove.
12592 * intl/tst-gettext3.sh: Likewise.
12593 * intl/tst-gettext5.sh: Likewise.
12594
2ae1ae5c
RM
125952012-08-17 Roland McGrath <roland@hack.frob.com>
12596
c31fdb83
RM
12597 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12598 * sysdeps/unix/syscalls.list: ... here.
12599
a0844057
RM
12600 * sysdeps/posix/getaddrinfo.c
12601 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12602 (gaiconf_init, gaiconf_reload): Use them.
12603 [!_STATBUF_ST_NSEC]
12604 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12605 Define using time_t rather than struct timespec.
12606
750c1f2a
RM
12607 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12608 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12609 Macros removed.
12610 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12611 [!NO_THREADS].
12612 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12613 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12614 Likewise.
12615
2ae1ae5c
RM
12616 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12617 __libc_cleanup_push argument.
12618
e66a42f5
RM
12619 * bits/param.h: New file.
12620 * misc/sys/param.h: New file.
12621 * include/sys/param.h: New file.
12622 * misc/Makefile (headers): Add bits/param.h.
12623 * sysdeps/generic/sys/param.h: File removed.
12624 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12625 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12626 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 12627 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 12628
b7c08a66
RM
12629 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12630 last change.
12631
b2e1c562
RM
12632 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12633 [_IO_MTSAFE_IO].
12634 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12635 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12636 New macros.
12637
c75ccd4c
RM
12638 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12639 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12640 rather than -D_IO_MTSAFE_IO conditionally.
12641 * stdio-common/Makefile (CPPFLAGS): Likewise.
12642 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12643 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12644 Use $(libio-mtsafe).
12645 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12646 of -D_IO_MTSAFE_IO.
12647 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12648 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12649 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12650 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12651 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12652 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12653 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12654 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12655 (CFLAGS-fread_u_chk.c): Likewise.
12656 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12657 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12658 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12659 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12660 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12661 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12662 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12663 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12664 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12665
12666 * libio/Makefile: Test [$(libc-reentrant) = yes]
12667 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12668
12669 * Makeconfig
12670 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12671 * sysdeps/pthread/configure: File removed.
12672 * sysdeps/pthread/Makeconfig: New file.
12673 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12674 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12675
d9195db8
GB
126762012-08-16 Gary Benson <gbenson@redhat.com>
12677
12678 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12679 unmapping the first object in a namespace.
12680
86466cd9
RM
126812012-08-16 Roland McGrath <roland@hack.frob.com>
12682
12683 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12684 (__internal_setnetgrent): ... this. Add internal_function to
12685 definition. Add libc_hidden_def.
12686 (setnetgrent): Update caller.
12687 (internal_endnetgrent): Renamed to ...
12688 (__internal_endnetgrent): ... this. Add internal_function to
12689 definition. Add libc_hidden_def.
12690 (endnetgrent): Update caller.
12691 (internal_getnetgrent_r): Renamed to ...
12692 (__internal_getnetgrent_r): ... this. Add internal_function to
12693 definition. Add libc_hidden_def.
12694 (__getnetgrent_r): Update caller.
12695 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12696
c3c8283c
JM
126972012-08-16 Joseph Myers <joseph@codesourcery.com>
12698
12699 * stdlib/longlong.h: Update from GCC.
12700
db1ee0a8
RM
127012012-08-16 Roland McGrath <roland@hack.frob.com>
12702
12703 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12704 on _QL, which is set by umul_ppmm but never used.
12705 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12706 variables, which are set by GMP macros but never used.
12707 * stdio-common/_itowa.c (_itowa): Likewise.
12708 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12709 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12710
30f69637
CD
127112012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12712
12713 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12714 struct La_sh_regs is not constant.
12715 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12716 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12717 and struct La_sparc64_regs are not constant.
12718
93a78ac4
JM
127192012-08-16 Joseph Myers <joseph@codesourcery.com>
12720
12721 * sysdeps/unix/sysv/linux/kernel-features.h
12722 (__ASSUME_POSIX_TIMERS): Remove.
12723 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12724 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12725 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12726 Make code unconditional.
12727 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12728 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12729 Make code unconditional.
12730 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12731 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12732 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12733 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12734 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12735 Make code unconditional.
12736 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12737 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12738 (__libc_missing_posix_timers): Remove.
12739
dd924cd7
RM
127402012-08-15 Roland McGrath <roland@hack.frob.com>
12741
4b4f2771
RM
12742 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12743 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12744
601c888b
RM
12745 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12746
176790a7
RM
12747 * elf/dl-sym.c: Include <stdlib.h>.
12748
329bc018
RM
12749 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12750 constants, which avoids warnings in 32-bit builds.
12751
e04e272d
RM
12752 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12753 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12754
952bf94a
RM
12755 * misc/lseek.c: File moved to ...
12756 * io/lseek.c: ... here.
12757
7c99b50a
RM
12758 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12759
dd924cd7
RM
12760 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12761 shifting LEN more than 31 bits at once.
12762
b3f479a8
LD
127632012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12764
12765 [BZ #14195]
8c4ae0d4
RM
12766 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12767 segmentation fault for a case of two empty input strings.
b3f479a8
LD
12768 * string/test-strncasecmp.c (check1): Renamed to...
12769 (bz12205): ...this.
12770 (bz14195): Add new testcase for two empty input strings and N > 0.
12771 (test_main): Call new testcase, adapt for renamed function.
12772
9c55864e
AJ
127732012-08-15 Andreas Jaeger <aj@suse.de>
12774
12775 [BZ #14090]
12776 * crypt/md5test2.c: New test, based on test supplied by Serge
12777 Belyshev <belyshev@depni.sinp.msu.ru>.
12778 * crypt/Makefile (xtests): Add md5test-giant..
12779 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12780
02dcb6c5
PE
127812012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12782
12783 [BZ #14090]
12784 * crypt/md5.c (md5_process_block): Don't assume the buffer
12785 length is less than 2**32.
12786 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12787 length is less than 2**64.
12788
a3f95dcc
RM
127892012-08-15 Roland McGrath <roland@hack.frob.com>
12790
be75d758
RM
12791 * string/str-two-way.h: Include <sys/param.h>.
12792 (MAX): Macro removed.
12793
7312ca90
RM
12794 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12795 Move #define and #undef of memmove to just before and after
12796 including <string.h>.
12797
9a0a5486
RM
12798 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12799 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12800 and after including <string.h>. Move declarations of
12801 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12802 to before #include "string/memmove.c".
12803
67cc348d
RM
12804 * include/dirent.h: Declare __getdirentries.
12805
a3f95dcc
RM
12806 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12807 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12808
ca98e171
MF
128092012-08-14 Mike Frysinger <vapier@gentoo.org>
12810
12811 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12812 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12813 * sysdeps/i386/configure: Regenerated.
12814 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12815 STABS_CURRENT_FILE, and STABS_FUN.
12816 (END): Remove call to STABS_FUN_END.
12817 (STABS_CURRENT_FILE1): Delete.
12818 (STABS_CURRENT_FILE): Likewise.
12819 (STABS_FUN): Likewise.
12820 (STABS_FUN_END): Likewise.
12821 (STABS_FUN2): Likewise.
12822 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12823 * sysdeps/x86_64/configure: Regenerated.
12824
5908bf46
RM
128252012-08-14 Roland McGrath <roland@hack.frob.com>
12826
12827 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 12828 * elf/dl-lookup.c: Likewise.
5908bf46 12829
f2c05b9e
JM
128302012-08-14 Joseph Myers <joseph@codesourcery.com>
12831
12832 * sysdeps/unix/sysv/linux/kernel-features.h
12833 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12834 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12835 unconditionally.
12836 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12837 unconditionally.
12838 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12839 condition on __ASSUME_CLONE_THREAD_FLAGS.
12840
e11f5155
AJ
128412012-08-14 Andreas Jaeger <aj@suse.de>
12842
12843 * sysdeps/i386/fpu/libm-test-ulps: Update.
12844
51a9ba86
MK
128452012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12846
2fdd4f78
AJ
12847 * include/atomic.h (atomic_exchange_and_add): Split into ...
12848 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12849 New atomic macros.
51a9ba86 12850
ba6cba9e
MT
128512012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12852
12853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12854
42443a47
JL
128552012-08-13 Jeff Law <law@redhat.com>
12856
12857 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12858 null byte in the output string.
12859
121dce05
JM
128602012-08-10 Joseph Myers <joseph@codesourcery.com>
12861
12862 * sysdeps/unix/sysv/linux/kernel-features.h
12863 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12864 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12865 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12866 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12867 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12868 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12869 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12870
bf51f568
JL
128712012-08-09 Jeff Law <law@redhat.com>
12872
12873 [BZ #13939]
12874 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12875 When avoid_arena is set, don't retry in the that arena. Pick the
12876 next one, whatever it might be.
12877 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12878 (arena_lock): Pass in new parameter to arena_get2.
12879 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12880 arena_get2.
12881 (__libc_malloc): Unify retrying after main arena failure with
12882 __libc_memalign version.
12883 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12884
f85fa270
L
128852012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12886
12887 [BZ #14166]
12888 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12889 to __redirect_strstr.
12890 (__strstr_sse42): Use typeof __redirect_strstr.
12891 (__strstr_ia32): Likewise.
12892 (__libc_strstr): New prototype.
12893 (strstr): Renamed to ...
12894 (__libc_strstr): This.
12895 (strstr): New strong alias of __libc_strstr.
12896 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12897 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12898 __redirect_time.
12899 Include <time.h>.
12900 (__libc_time): New prototype.
12901 (time_ifunc): Replace time with __libc_time.
12902 (time): New strong alias and hidden definition of __libc_time.
12903 (__GI_time): Remove strong alias.
12904 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12905 Include <stddef.h>.
12906 (memmove): Redefined to __redirect_memmove.
12907 (__memmove_sse2): Use typeof __redirect_memmove.
12908 (__memmove_ssse3): Likewise.
12909 (__memmove_ssse3_back): Likewise.
12910 (__libc_memmove): New prototype.
12911 (memmove): Renamed to ...
12912 (__libc_memmove): This.
12913 (memmove): New strong alias of __libc_memmove.
12914
33b4a91e
MS
129152012-08-08 Mark Salter <msalter@redhat.com>
12916
12917 * elf/elf.h
12918 (R_MN10300_TLS_GD): Define.
12919 (R_MN10300_TLS_LD): Likewise.
12920 (R_MN10300_TLS_LDO): Likewise.
12921 (R_MN10300_TLS_GOTIE): Likewise.
12922 (R_MN10300_TLS_IE): Likewise.
12923 (R_MN10300_TLS_LE): Likewise.
12924 (R_MN10300_TLS_DTPMOD): Likewise.
12925 (R_MN10300_TLS_DTPOFF): Likewise.
12926 (R_MN10300_TLS_TPOFF): Likewise.
12927 (R_MN10300_SYM_DIFF): Likewise.
12928 (R_MN10300_ALIGN): Likewise.
12929 (R_MN10300_NUM): Update.
12930
b36137f1
JM
129312012-08-08 Joseph Myers <joseph@codesourcery.com>
12932
12933 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12934 Remove.
12935
cdd915fd
RM
129362012-08-08 Roland McGrath <roland@hack.frob.com>
12937
a2433aac
RM
12938 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12939
cdd915fd
RM
12940 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12941 sysdeps/unix -> sysdeps/posix move.
12942 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12943
bf9b740a
AM
129442012-08-07 Allan McRae <allan@archlinux.org>
12945
12946 [BZ #14303]
12947 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12948 (SUNOS_CPP): Likewise.
12949 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12950 not found.
12951 (open_input): Call CPP using execvp.
12952
93df14ee
JM
129532012-08-07 Joseph Myers <joseph@codesourcery.com>
12954
12955 * sysdeps/unix/sysv/linux/kernel-features.h
12956 (__ASSUME_PROT_GROWSUPDOWN): Remove.
12957 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12958 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12959 (__ASSUME_WAITID_SYSCALL): Likewise.
12960 * sysdeps/unix/sysv/linux/dl-execstack.c
12961 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12962 code unconditional.
12963 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12964 conditional code.
12965 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12966 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12967 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12968 code.
12969 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12970 unconditional.
12971 [__ASSUME_WAITID_SYSCALL]: Likewise.
12972 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12973
d34689de
RM
129742012-08-07 Roland McGrath <roland@hack.frob.com>
12975
a281decc
RM
12976 * sysdeps/unix/closedir.c: Renamed to ...
12977 * sysdeps/posix/closedir.c: ... here.
12978 * sysdeps/unix/dirfd.c: Renamed to ...
12979 * sysdeps/posix/dirfd.c: ... here.
12980 * sysdeps/unix/dirstream.h: Renamed to ...
12981 * sysdeps/posix/dirstream.h: ... here.
12982 * sysdeps/unix/fdopendir.c: Renamed to ...
12983 * sysdeps/posix/fdopendir.c: ... here.
12984 * sysdeps/unix/opendir.c: Renamed to ...
12985 * sysdeps/posix/opendir.c: ... here.
12986 * sysdeps/unix/readdir.c: Renamed to ...
12987 * sysdeps/posix/readdir.c: ... here.
12988 * sysdeps/unix/readdir_r.c: Renamed to ...
12989 * sysdeps/posix/readdir_r.c: ... here.
12990 * sysdeps/unix/rewinddir.c: Renamed to ...
12991 * sysdeps/posix/rewinddir.c: ... here.
12992 * sysdeps/unix/seekdir.c: Renamed to ...
12993 * sysdeps/posix/seekdir.c: ... here.
12994 * sysdeps/unix/telldir.c: Renamed to ...
12995 * sysdeps/posix/telldir.c: ... here.
12996 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12997 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12998 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12999 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13000
22895b47
RM
13001 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13002 * bits/fcntl.h: ... here.
13003
707a53b6
RM
13004 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13005 not 0.
13006 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13007 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13008 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13009 (struct flock): Move l_start, l_len to the beginning.
13010 Use __pid_t for l_pid.
13011 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13012 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13013 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13014 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13015 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13016 [__USE_LARGEFILE64] (struct flock64): New type.
13017 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13018
f0bd3e25
RM
13019 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13020 * bits/dirent.h: ... here.
13021
d34689de
RM
13022 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13023 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13024
6dad2c06
JM
130252012-08-07 Joseph Myers <joseph@codesourcery.com>
13026
13027 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13028 Change from 2.6.0 to 2.6.16.
13029 * sysdeps/unix/sysv/linux/configure: Regenerated.
13030 * sysdeps/unix/sysv/linux/kernel-features.h
13031 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13032 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13033 version.
13034 (__ASSUME_UTIMES): Likewise.
13035 (__ASSUME_CLONE_STOPPED): Remove.
13036 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13037 architectures, not kernel version.
13038 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13039 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13040 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13041 (__ASSUME_WAITID_SYSCALL): Likewise.
13042 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13043 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13044 * README: State 2.6.16 as minimum Linux kernel version. Do not
13045 refer to older versions.
13046
03af9520
RM
130472012-08-06 Roland McGrath <roland@hack.frob.com>
13048
8e49df1d
RM
13049 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13050 Define alphasort64 as an alias.
13051 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13052 Define versionsort64 as an alias.
13053 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13054 Define scandir64 as an alias.
13055 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13056 Define scandirat64 as an alias.
13057 * dirent/alphasort64.c (alphasort64):
13058 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13059 * dirent/versionsort64.c: Likewise.
13060 * dirent/scandir64.c: Likewise.
13061 * dirent/scandirat64.c: Likewise.
13062 * sysdeps/wordsize-64/alphasort.c: File removed.
13063 * sysdeps/wordsize-64/alphasort64.c: File removed.
13064 * sysdeps/wordsize-64/scandir.c: File removed.
13065 * sysdeps/wordsize-64/scandir64.c: File removed.
13066 * sysdeps/wordsize-64/scandirat.c: File removed.
13067 * sysdeps/wordsize-64/scandirat64.c: File removed.
13068 * sysdeps/wordsize-64/versionsort.c: File removed.
13069 * sysdeps/wordsize-64/versionsort64.c: File removed.
13070 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13071 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13072 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13073 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13074 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13075 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13076 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13077 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13078
13079 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13080 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13081 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13082 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13083 [defined __arch64__ || defined __sparcv9]
13084 (__INO_T_MATCHES_INO64_T): New macro.
13085 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13086 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13087 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13088 * sysdeps/unix/sysv/linux/bits/dirent.h
13089 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13090 (_DIRENT_MATCHES_DIRENT64): New macro.
13091
03af9520
RM
13092 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13093 Define lockf64 as an alias.
13094 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13095 Define fseeko64 as an alias.
13096 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13097 Define ftello64 as an alias.
13098 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13099 Define _IO_fgetpos64 and fgetpos64 as aliases.
13100 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13101 Define _IO_fsetpos64 and fsetpos64 as aliases.
13102 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13103 Conditionalize body on this.
13104 * libio/fseeko64.c: Likewise.
13105 * libio/ftello64.c: Likewise.
13106 * libio/iofgetpos64.c: Likewise.
13107 * libio/iofsetpos64.c: Likewise.
13108 * sysdeps/wordsize-64/lockf.c: File removed.
13109 * sysdeps/wordsize-64/lockf64.c: File removed.
13110 * sysdeps/wordsize-64/fseeko.c: File removed.
13111 * sysdeps/wordsize-64/fseeko64.c: File removed.
13112 * sysdeps/wordsize-64/ftello.c: File removed.
13113 * sysdeps/wordsize-64/ftello64.c: File removed.
13114 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13115 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13116 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13117 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13118 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13119 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13120 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13121 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13122 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13123 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13124 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13125 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13126 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13127 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13128
13129 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13130 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13131 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13132 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13133 [defined __arch64__ || defined __sparcv9]
13134 (__OFF_T_MATCHES_OFF64_T): New macro.
13135 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13136 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13137 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13138 (__OFF_T_MATCHES_OFF64_T): New macro.
13139
c5757acd
L
131402012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13141
13142 * stdlib/secure-getenv.c (__secure_getenv): Replace
13143 GLIBC_2_16 with GLIBC_2_17.
13144
3a31811e
L
131452012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13146
13147 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13148 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13149
faa2bccb
DM
131502012-08-03 David S. Miller <davem@davemloft.net>
13151
13152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13153
85fe1997
JM
131542012-08-03 Joseph Myers <joseph@codesourcery.com>
13155
13156 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13157 Remove.
13158 (__ASSUME_CORRECT_SI_PID): Likewise.
13159 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13160 (__ASSUME_TMPFS_NAME): Likewise.
13161 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13162 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13163 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13164 (HAVE_AUX_SECURE): Make definition unconditional.
13165 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13166 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13167
4f75b7a0
RM
131682012-08-03 Roland McGrath <roland@hack.frob.com>
13169
13170 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13171 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13172 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13173 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13174 __eloop_threshold instead of SYMLOOP_MAX.
13175
13176 * sysdeps/generic/eloop-threshold.h: New file.
13177 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13178 of MAXSYMLINKS.
13179 * elf/chroot_canon.c (chroot_canon): Likewise.
13180
7aab07e4
JM
131812012-08-03 Joseph Myers <joseph@codesourcery.com>
13182
13183 [BZ #13717]
13184 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13185 Change to 2.6.0 everywhere.
13186 * sysdeps/unix/sysv/linux/configure: Regenerated.
13187 * sysdeps/unix/sysv/linux/kernel-features.h
13188 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13189 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13190 kernel versions.
13191 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13192 (__ASSUME_FUTEX_REQUEUE): Remove.
13193 (__ASSUME_STATFS64): Define unconditionally.
13194 (__ASSUME_AT_SECURE): Likewise.
13195 (__ASSUME_CORRECT_SI_PID): Likewise.
13196 (__ASSUME_TGKILL): Define without depending on kernel version for
13197 i386.
13198 (__ASSUME_UTIMES): Likewise.
13199 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13200 kernel version.
13201 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13202 (__ASSUME_TMPFS_NAME): Likewise.
13203 * README: Update reference to Linux kernel versions.
13204
b67e9372
MP
132052012-08-02 Marek Polacek <polacek@redhat.com>
13206
1f529f7d 13207 [BZ# 14150]
b67e9372
MP
13208 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13209 libc_cv_asm_type_prefix with %.
13210 * configure: Regenerated.
d2441631
RM
13211 * include/libc-symbols.h: Remove comment about
13212 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13213 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13214 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13215 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13216 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13217 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13218 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13219 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13220 * elf/tst-unique2mod1.c: Likewise.
13221 * elf/tst-unique1mod2.c: Likewise.
13222 * elf/tst-unique1mod1.c: Likewise.
13223 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13224 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13225 Replace ASM_TYPE_DIRECTIVE with .type.
13226 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13227 * sysdeps/i386/sysdep.h: Likewise.
13228 * sysdeps/x86_64/sysdep.h: Likewise.
13229 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13231 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13232 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13233 * sysdeps/powerpc/powerpc32/sysdep.h:
13234 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13235 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13236 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13237 * sysdeps/i386/fpu/e_powf.S: Likewise.
13238 * sysdeps/i386/fpu/e_expl.S: Likewise.
13239 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13240 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13241 * sysdeps/i386/fpu/e_pow.S: Likewise.
13242 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13243 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13244 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13245 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13246 * sysdeps/i386/fpu/e_log2.S: Likewise.
13247 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13248 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13249 * sysdeps/i386/fpu/e_powl.S: Likewise.
13250 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13251 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13252 * sysdeps/i386/fpu/e_logl.S: Likewise.
13253 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13254 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13255 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13256 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13257 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13258 * sysdeps/i386/fpu/e_log.S: Likewise.
13259 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13260 * sysdeps/i386/fpu/e_logf.S: Likewise.
13261 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13262 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13263 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13264 * sysdeps/i386/fpu/e_log10.S: Likewise.
13265 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13266 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13267 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13268 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13269 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13270 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13271 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13272 * sysdeps/i386/i686/strtok.S: Likewise.
13273 * sysdeps/i386/i386-mcount.S: Likewise.
13274 * sysdeps/i386/strtok.S: Likewise.
13275 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13276 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13277 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13278 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13279 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13280 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13281 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13282 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13283 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13284 * sysdeps/x86_64/_mcount.S: Likewise.
13285 * sysdeps/x86_64/strtok.S: Likewise.
13286 * sysdeps/sh/_mcount.S: Likewise.
13287
2747bf9a
RM
132882012-08-01 Roland McGrath <roland@hack.frob.com>
13289
13290 * libio/iofopen.c: Include <fcntl.h>.
13291 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13292 (_IO_fopen64, fopen64): Define as aliases.
13293 * libio/iofopen64.c: Include <fcntl.h>.
13294 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13295 Conditionalize body on this.
13296 * sysdeps/wordsize-64/iofopen.c: File removed.
13297 * sysdeps/wordsize-64/iofopen64.c: File removed.
13298
3fb791b8
MP
132992012-08-01 Marek Polacek <polacek@redhat.com>
13300
13301 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13302 Use dlfcn directly instead of a variable.
13303 (binfmt-subdir): Do not define.
13304 (dlfcn): Likewise.
13305
a9f1039f
JM
133062012-08-01 Joseph Myers <joseph@codesourcery.com>
13307
23bddc06
JM
13308 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13309 Remove all definitions.
13310 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13311 <kernel-features.h>.
13312 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13313 (miss_F_GETOWN_EX): Remove all definitions.
13314 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13315 macro definition.
13316 [!__ASSUME_FCNTL64]: Remove conditional code.
13317 [__ASSUME_FCNTL64]: Make code unconditional.
13318 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13319 <kernel-features.h>.
13320 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13321 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13322 (lockf64) [__NR_fcntl64]: Make code unconditional.
13323 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13324
a9f1039f
JM
13325 * sysdeps/unix/sysv/linux/kernel-features.h
13326 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13327 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13328 Make code unconditional.
13329 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13330 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13332 [__NR_vfork]: Make code unconditional.
13333 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13334 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13336 [__NR_vfork]: Make code unconditional.
13337 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13338 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13339
09c0ee5f
RM
133402012-08-01 Roland McGrath <roland@hack.frob.com>
13341
48aec5b9
RM
13342 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13343 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13344
cd97c966
RM
13345 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13346 Define mkstemp64 as an alias.
3f55550c
RM
13347 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13348 Define mkstemps64 as an alias.
cd97c966
RM
13349 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13350 Define mkostemp64 as an alias.
b8625cfc
RM
13351 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13352 Define mkostemps64 as an alias.
cd97c966
RM
13353 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13354 Conditionalize body on this.
13355 * misc/mkostemp64.c: Likewise.
b8625cfc 13356 * misc/mkostemps64.c: Likewise.
3f55550c 13357 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13358 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13359 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13360 * sysdeps/wordsize-64/mkostemp.c: File removed.
13361 * sysdeps/wordsize-64/mkstemp.c: File removed.
13362 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13363 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13364 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13365 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13366
09c0ee5f
RM
13367 [BZ #14138]
13368 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13369 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13370 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13371 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13372
13373 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13374 compat_symbol macros from <shlib-compat.h> rather than the underlying
13375 default_symbol_version and symbol_version macros, so that DEFAULT
13376 lines in shlib-versions are respected.
13377 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13378
7e66ee51
FW
133792012-08-01 Florian Weimer <fweimer@redhat.com>
13380
13381 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13382 Declare with warn_unused_result.
13383 (setgid, setregid, setegid, setresgid): Likewise.
13384 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13385 Likewise.
13386 * WUR-REPORT: Remove set*id functions.
13387
d2a54255
PT
133882012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13389
13390 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13391
7ecdb005
RM
133922012-07-31 Roland McGrath <roland@hack.frob.com>
13393
b4180a5e 13394 [BZ #10191]
789bd351
RM
13395 * include/sys/socket.h (__libc_accept, __libc_accept4):
13396 Add attribute_hidden.
13397 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13398
40ce302d
RM
13399 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13400 use of PTR_MANGLE.
13401 * inet/getnetgrent_r.c (setup): Likewise.
13402
7ecdb005
RM
13403 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13404
e2eabb2c
DM
134052012-07-31 David S. Miller <davem@davemloft.net>
13406
13407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13408
d0419dbf
JM
134092012-07-31 Joseph Myers <joseph@codesourcery.com>
13410
13411 [BZ #13629]
13412 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13413 value between 1.0 and 2.0 and smaller part has absolute value less
13414 than 1.0.
13415 * math/s_clog10.c (__clog10): Likewise.
13416 * math/s_clog10f.c (__clog10f): Likewise.
13417 * math/s_clog10l.c (__clog10l): Likewise.
13418 * math/s_clogf.c (__clogf): Likewise.
13419 * math/s_clogl.c (__clogl): Likewise.
13420 * math/libm-test.inc (clog_test): Add more tests.
13421 (clog10_test): Likewise.
13422 * sysdeps/i386/fpu/libm-test-ulps: Update.
13423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13424
2bc13872
FW
134252012-07-31 Florian Weimer <fweimer@redhat.com>
13426
13427 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13428 Exit with zero in case no suitable GID is found, and write a
13429 message to standard error.
13430
bea9b193
RM
134312012-07-30 Roland McGrath <roland@hack.frob.com>
13432
13433 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13434 rather than to 1.
13435 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13436 (MAXPATHLEN): Removed.
13437 (NOGROUP, NODEV): New macros.
13438 (setbit, clrbit, isset, isclr): New macros.
13439 (howmany, roundup, powerof2): New macros.
13440 (DEV_BSIZE): New macro.
13441
13442 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13443 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13444
13445 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13446 definition on [!__NO_LONG_DOUBLE_MATH].
13447
13448 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13449 PTR_MANGLE and PTR_DEMANGLE.
13450
13451 * socket/accept4.c (accept4): Rename to __libc_accept4.
13452 Define accept4 as a weak alias.
13453
13454 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13455 on [_DIRENT_HAVE_D_TYPE].
13456 * io/ftw.c (ftw_dir): Likewise.
13457
13458 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13459
13460 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13461
13462 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13463 Use the BSD numbers rather than the arbitrary ones we had.
13464 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13465 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13466 (SIGXCPU, SIGXFSZ): New macros.
13467 (_NSIG): Now 32.
13468
13469 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13470 initializer on [_LIBC_REENTRANT].
13471
13472 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13473 definitions inside [_POSIX_MAPPED_FILES].
13474
13475 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13476
13477 * dirent/opendir.c: Include <fcntl.h>.
13478
13479 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13480 (__libc_getspecific): Likewise.
13481 (__libc_key_create): Likewise.
13482
13483 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13484 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13485 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13486 (tmpfile64): Define as alias.
13487 * sysdeps/wordsize-64/tmpfile.c: File removed.
13488 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13489 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13490 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13491
13492 * stdio-common/vfscanf.c: Include <stdbool.h>.
13493 * nss/makedb.c: Likewise.
13494 * stdio-common/_i18n_number.h: Likewise.
13495 * argp/argp-help.c: Likewise.
13496 * posix/wordexp.c: Likewise.
13497 * sysdeps/posix/spawni.c: Likewise.
13498 * nss/nss_files/files-initgroups.c: Likewise.
13499 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13500 * nss/nss_files/files-initgroups.c: Likewise.
13501 * nss/nss_db/db-netgrp.c: Likewise.
13502 * nss/nss_db/db-initgroups.c: Likewise.
13503 * io/fchmodat.c: Include <sys/stat.h>.
13504
13505 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13506 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13507
13508 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13509 [HAVE_MMAP].
13510
13511 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13512 Add multiple inclusion protection.
13513
e5abc686
DM
135142012-07-27 David S. Miller <davem@davemloft.net>
13515
13516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13517
815e6fa3
GB
135182012-07-27 Gary Benson <gbenson@redhat.com>
13519
13520 [BZ #14298]
13521 * elf/rtld.c: Include <stap-probe.h>.
13522 (dl_main): Added static probes "init_start" and "init_complete".
13523 * elf/dl-load.c: Include <stap-probe.h>.
13524 (lose): Take new parameter "nsid".
13525 Added static probe "map_failed".
13526 (_dl_map_object_from_fd): Pass namespace id to lose.
13527 Added static probe "map_start".
13528 (open_verify): Pass namespace id to lose.
13529 * elf/dl-open.c: Include <stap-probe.h>.
13530 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13531 and "reloc_complete".
13532 * elf/dl-close.c: Include <stap-probe.h>.
13533 (_dl_close_worker): Added static probes "unmap_start" and
13534 "unmap_complete".
13535 * elf/rtld-debugger-interface.txt: New file documenting the above.
13536
9f98c16c
RM
135372012-07-26 Roland McGrath <roland@hack.frob.com>
13538
13539 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13540 rather than a string variable.
13541 * sunrpc/rpc_main.c (h_output): Likewise.
13542 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13543
f3c22df3
PT
135442012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13545
13546 * inet/check_native.c: New file.
13547
3129cfc6
JM
135482012-07-26 Joseph Myers <joseph@codesourcery.com>
13549
da865e95
JM
13550 [BZ #13629]
13551 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13552 if larger part has absolute value 1.0.
13553 * math/s_clog10.c (__clog10): Likewise.
13554 * math/s_clog10f.c (__clog10f): Likewise.
13555 * math/s_clog10l.c (__clog10l): Likewise.
13556 * math/s_clogf.c (__clogf): Likewise.
13557 * math/s_clogl.c (__clogl): Likewise.
13558 * math/libm-test.inc (clog_test): Add more tests.
13559 (clog10_test): Likewise.
13560 * sysdeps/i386/fpu/libm-test-ulps: Update.
13561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13562
3129cfc6
JM
13563 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13564 (pltexit): Likewise.
13565 (La_regs): Likewise.
13566 (La_retval): Likewise.
13567 (int_retval): Likewise.
13568 Update #error for removed macros to refer only to definitions in
13569 tst-audit.h.
13570 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13571 macro.
13572 (pltexit): Likewise.
13573 (La_regs): Likewise.
13574 (La_retval): Likewise.
13575 (int_retval): Likewise.
13576 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13577 macro.
13578 (pltexit): Likewise.
13579 (La_regs): Likewise.
13580 (La_retval): Likewise.
13581 (int_retval): Likewise.
13582 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13583 macro.
13584 (pltexit): Likewise.
13585 (La_regs): Likewise.
13586 (La_retval): Likewise.
13587 (int_retval): Likewise.
13588 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13589 macro.
13590 (pltexit): Likewise.
13591 (La_regs): Likewise.
13592 (La_retval): Likewise.
13593 (int_retval): Likewise.
13594 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13595 macro.
13596 (pltexit): Likewise.
13597 (La_regs): Likewise.
13598 (La_retval): Likewise.
13599 (int_retval): Likewise.
13600 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13601 macro.
13602 (pltexit): Likewise.
13603 (La_regs): Likewise.
13604 (La_retval): Likewise.
13605 (int_retval): Likewise.
13606 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13607 macro definitions in tst-audit.h.
13608 * sysdeps/i386/tst-audit.h: New file.
13609 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13610 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13611 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13612 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13613 * sysdeps/sh/tst-audit.h: Likewise.
13614 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13615 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13616 * sysdeps/x86_64/tst-audit.h: Likewise.
13617
bfc07087
AJ
136182012-07-26 Andreas Jaeger <aj@suse.de>
13619
b1b2aaf8
AJ
13620 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13621 ptrace.
13622
13623 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13624 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13625 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13626 PTRACE_O_MASK.
13627 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13628 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13629 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13630
bfc07087
AJ
13631 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13632 value.
13633
13634 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13635 _sigsys.
13636 (si_call_addr, si_syscall, si_arch): Define new macro.
13637 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13638 _sigsys.
13639 (si_call_addr, si_syscall, si_arch): Define new marcro.
13640 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13641 _sigsys.
13642 (si_call_addr, si_syscall, si_arch): Define new macro.
13643 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13644 _sigsys.
13645 (si_call_addr, si_syscall, si_arch): Define new macro.
13646
89b4b02f
JM
136472012-07-25 Joseph Myers <joseph@codesourcery.com>
13648
13649 [BZ #13717]
13650 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13651 Change to 2.4.21 where previously 2.4.1.
13652 * sysdeps/unix/sysv/linux/configure: Regenerated.
13653 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13654 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13655 Linux kernel version.
13656 (__ASSUME_STD_AUXV): Remove.
13657 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13658 kernel version.
13659 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13660 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13661 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13662 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13663 (__ASSUME_NETLINK_SUPPORT): Likewise.
13664 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13665 (__no_netlink_support): Remove conditional definition.
13666 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13667 Remove.
13668 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13669 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13670 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13671 (if_nameindex_ioctl): Remove.
13672 (if_nameindex_netlink): Do not handle __no_netlink_support.
13673 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13674 code.
13675 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13676 Remove conditional code.
13677 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13678 code.
13679 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13680 unconditional.
13681 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13682 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13683 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13684 Remove.
13685 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13686 [!__ASSUME_STD_AUXV]: Remove conditional code.
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13688 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13689 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13691 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13692 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13693 code.
13694 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13696 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13697 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13698 conditional code.
13699 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13701 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13702 code.
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13704 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13705 conditional code.
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13707 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13708 code unconditional.
13709 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13710 conditional code.
13711 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13712 unconditional.
13713 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13714 conditional code.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13716 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13717 unconditional.
13718 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13719 conditional code.
13720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13721 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13722 code unconditional.
13723 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13724 conditional code.
13725 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13726 unconditional.
13727 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13728 conditional code.
13729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13730 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13731 code unconditional.
13732 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13733 conditional code.
13734 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13735 unconditional.
13736 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13737 conditional code.
13738
842a39cd
AS
137392012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13740
13741 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13742 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13743 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13744 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13745 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13746 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13747 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13748 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13749 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13750 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13751 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13752 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13753 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13754 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13755 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13756 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13757 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13758 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13759 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13760 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13761 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13762 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13763 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13764
84b3fd84
FW
137652012-07-25 Florian Weimer <fweimer@redhat.com>
13766
13767 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
13768 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13769 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13770 Introduce __libc_secure_getenv.
0c7936d5
FW
13771 * stdlib/Versions (2.17): Add secure_getenv
13772 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13773 * stdlib/secure-getenv.c: Rename __secure_getenv to
13774 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13775 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
13776 * stdlib/tst-secure-getenv.c: New.
13777 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
13778 * manual/startup.texi (Environment Access): Document
13779 secure_getenv.
84b3fd84
FW
13780 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13781 __libc_secure_getenv.
13782 * inet/ruserpass.c (ruserpass): Likewise.
13783 * malloc/mtrace.c (mtrace): Likewise.
13784 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 13785 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
13786 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13787 * sysdeps/posix/tempname.c: Likewise. Evaluate
13788 HAVE_SECURE_GETENV.
13789 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 13790 __secure_getenv to __libc_secure_getenv.
84b3fd84 13791 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
13792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13793 Likewise.
13794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13795 Likewise.
13796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13798 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 13803
56e49b71
JM
138042012-07-25 Joseph Myers <joseph@codesourcery.com>
13805
13806 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13807 (struct La_i86_retval): Likewise.
13808 (struct La_x86_64_regs): Likewise.
13809 (struct La_x86_64_retval): Likewise.
13810 (struct La_x32_regs): Likewise.
13811 (struct La_x32_retval): Likewise.
13812 (struct La_ppc32_regs): Likewise.
13813 (struct La_ppc32_retval): Likewise.
13814 (struct La_ppc64_regs): Likewise.
13815 (struct La_ppc64_retval): Likewise.
13816 (struct La_sh_regs): Likewise.
13817 (struct La_sh_retval): Likewise.
13818 (struct La_s390_32_regs): Likewise.
13819 (struct La_s390_32_retval): Likewise.
13820 (struct La_s390_64_regs): Likewise.
13821 (struct La_s390_64_retval): Likewise.
13822 (struct La_sparc32_regs): Likewise.
13823 (struct La_sparc32_retval): Likewise.
13824 (struct La_sparc64_regs): Likewise.
13825 (struct La_sparc64_retval): Likewise.
13826 (struct audit_ifaces): Remove architecture-specific pltenter and
13827 pltexit members.
13828 * sysdeps/i386/ldsodefs.h: New file.
13829 * sysdeps/powerpc/ldsodefs.h: Likewise.
13830 * sysdeps/s390/ldsodefs.h: Likewise.
13831 * sysdeps/sh/ldsodefs.h: Likewise.
13832 * sysdeps/sparc/ldsodefs.h: Likewise.
13833 * sysdeps/x86_64/ldsodefs.h: Likewise.
13834
354691b7
MP
138352012-07-25 Marek Polacek <polacek@redhat.com>
13836
13837 [BZ #6808]
13838 * math/libm-test.inc (yn_test): Add another test.
13839 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13840 to ERANGE when the result is +-Inf.
13841 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13842 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13843 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13844 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13845
bf9e2071
JM
138462012-07-24 Joseph Myers <joseph@codesourcery.com>
13847
13848 * conform/data/time.h-data (NULL): Use macro-constant. Require
13849 equal to 0.
13850 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13851 clock_t.
13852 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13853
57633811
TS
138542012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13855
13856 * configure.in <sysdeps resolving>: Correct printing
13857 Implies_before.
13858 * configure: Regenerate.
13859
c23c33b0
TS
138602012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13861
13862 * math/w_ilogb.c: Include <limits.h>.
13863 * math/w_ilogbl.c: Likewise.
13864
b5982523
JM
138652012-07-20 Joseph Myers <joseph@codesourcery.com>
13866
13867 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13868 va_copy. Document allowing for unavailable va_copy only as
13869 pre-C99 compatibility.
13870 * manual/string.texi (Copying and Concatenation): Use va_copy
13871 instead of __va_copy in concat example.
13872
ac4ea442
PT
138732012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13874
13875 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13876 (__sendto): Use create_address_port. Initialize APORT and deallocate
13877 it if not null.
13878
f98eafbd
PT
13879 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13880 with O_NOLINK passed to __file_name_lookup.
13881
898c7aab
PT
13882 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13883 with O_NOLINK passed to __file_name_lookup.
13884
0ced335a
PT
13885 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13886 negative N or less than NGIDS.
13887
b3404dbd
PT
13888 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13889 type to string_t. Set ERANGE as errno and return it if NAME is not big
13890 enough. Use memcpy instead of strncpy.
13891
0f48659e
JM
138922012-07-20 Joseph Myers <joseph@codesourcery.com>
13893
13894 * elf/Makefile (check-data): Remove.
13895 (localplt.data): New vpath directive.
13896 ($(objpfx)check-localplt.out): Use localplt.data from vpath
13897 instead of $(check-data).
13898 * scripts/data/localplt-generic.data: Move to ...
13899 * sysdeps/generic/localplt.data: ... here.
13900 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13901 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13902 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13904 ... here.
13905 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13907 ... here.
13908 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13910 ... here.
13911 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13913 ... here.
13914 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13916 ... here.
13917 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13919 ... here.
13920
d37cbdaa
AZ
139212012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13922
13923 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13924 PPC32 and PPC64 files.
13925 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13926 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13927
46f85fc2
AK
139282012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13929
13930 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13931 __makecontext_ret to ...
13932 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13933 ... here and call exit if uc_link is NULL. New file.
13934 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13935 __makecontext_ret.S.
13936 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13937 __makecontext_ret to ...
13938 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13939 ... here and call exit if uc_link is NULL. New file.
13940 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13941 __makecontext_ret.S.
13942
08f43f9b
AK
139432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13944
13945 * elf/elf.h (R_390_IRELATIVE): New definition.
13946 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13947 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
13948 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13949 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13950 (elf_machine_lazy_rel): Likewise.
13951 * sysdeps/s390/dl-irel.h: New file.
13952 * sysdeps/s390/s390-64/memcpy.S: New asm code.
13953 * sysdeps/s390/s390-64/memset.S: New asm code.
13954 * sysdeps/s390/s390-64/memcmp.S: New asm code.
13955 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13956 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13957 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13958 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13959 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13960 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13961 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13962 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13963 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13964 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13965 * sysdeps/s390/s390-32/memcpy.S: New asm code.
13966 * sysdeps/s390/s390-32/memset.S: New asm code.
13967 * sysdeps/s390/s390-32/memcmp.S: New asm code.
13968
3b05db33
MP
139692012-07-17 Marek Polacek <polacek@redhat.com>
13970
13971 [BZ #14349]
13972 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13973 * sysdeps/s390/s390-64/configure.in: Likewise.
13974 * sysdeps/sparc/configure.in: Likewise.
13975 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13976 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13977 * sysdeps/i386/configure.in: Likewise.
13978 * sysdeps/x86_64/configure.in: Likewise.
13979 * sysdeps/sh/configure.in: Likewise.
13980 * sysdeps/s390/s390-32/configure: Regenerated.
13981 * sysdeps/s390/s390-64/configure: Likewise.
13982 * sysdeps/x86_64/configure: Likewise.
13983 * sysdeps/sh/configure: Likewise.
13984 * sysdeps/powerpc/powerpc64/configure: Likewise.
13985 * sysdeps/powerpc/powerpc32/configure: Likewise.
13986 * sysdeps/sparc/configure: Likwise.
13987 * sysdeps/i386/configure: Likewise.
13988
a66877c6
MP
13989 * elf/dl-open.c: Comment fixes.
13990
cfc82fd8
JM
139912012-07-17 Joseph Myers <joseph@codesourcery.com>
13992
bd29910a
JM
13993 * Makefile [CXX] (check-data): Remove.
13994 [CXX] (c++-types.data): New vpath directive.
13995 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13996 vpath. Do not allow for C++ type data being missing.
13997 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13998 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13999 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14000 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14001 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14002 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14003 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14005 ... here.
14006 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14008 ... here.
14009 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14011 ... here.
14012 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14014 ... here.
14015 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14017 ... here.
14018 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14020 ... here.
14021 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14023 ... here.
14024 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14026
cfc82fd8
JM
14027 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14028 definitions to architecture-specific files.
14029 (TLS_IE): Likewise.
14030 (TLS_LD): Likewise.
14031 (TLS_GD): Likewise.
14032 * sysdeps/i386/tls-macros.h: New file.
14033 * sysdeps/powerpc/tls-macros.h: Likewise.
14034 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14035 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14036 * sysdeps/sh/tls-macros.h: Likewise.
14037 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14038 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14039 * sysdeps/x86_64/tls-macros.h: Likewise.
14040
f7db3170
TS
140412012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14042
07cbfc23
TS
14043 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14044 zero value for regular exit case.
14045
f7db3170
TS
14046 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14047 (__start_context): Preserve zero value for regular exit case.
14048
dc97c227
TS
140492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14050 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14051
14052 * manual/setjmp.texi (setcontext): Clarify normal process
14053 termination when uc_link is the null pointer.
14054 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14055 exit call.
14056
d0cd7d02
AS
140572012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14058
14059 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14060 preprocessor. Test for each exception mask separately.
14061
dd318934
AJ
140622012-07-16 Andreas Jaeger <aj@suse.de>
14063
14064 * po/ru.po: Update from translation team.
14065
8048311a
JM
140662012-07-15 Joseph Myers <joseph@codesourcery.com>
14067
14068 * conform/data/string.h-data (NULL): Use macro-constant. Require
14069 equal to 0.
14070 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14071 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14072 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14073 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14074 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14075
b637d46e
AJ
140762012-07-13 Andreas Jaeger <aj@suse.de>
14077
14078 * po/fr.po: Update from translation team.
14079
541428fe
MP
140802012-07-12 Marek Polacek <polacek@redhat.com>
14081
14082 [BZ #14173]
14083 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14084 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14085 loop condition.
14086
ec332e94
JM
140872012-07-12 Joseph Myers <joseph@codesourcery.com>
14088
14089 [BZ #13717]
14090 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14091 Change to 2.4.1 where previously 2.4.0.
14092 * sysdeps/unix/sysv/linux/configure: Regenerated.
14093 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14094 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14095 version.
14096 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14097 (__ASSUME_AT_CLKTCK): Remove.
14098 (__ASSUME_AT_PAGESIZE): Likewise.
14099 (__ASSUME_AT_XID): Likewise.
14100 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14101 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14102 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14103 unconditionally.
14104 (HAVE_AUX_PAGESIZE): Likewise.
14105 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14106 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14107 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14108
7b6e99be
JB
141092012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14110
14111 [BZ #14307]
14112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14113 the temporary buffer used to invoke __gethostbyname2_r,
14114 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14115 host_data / struct gaih_addrtuple.
14116 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14117 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14118 header file nss/nsswitch.h.
14119 * nss/nsswitch.h (global scope): Add definition of implementation
14120 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14121 resolv/nss_dns/dns-host.c).
14122
608404eb
AJ
141232012-07-11 Andreas Jaeger <aj@suse.de>
14124
14125 * po/fr.po: Update from translation team.
14126
71220aca
AJ
14127 * po/sv.po: Update from translation team
14128 * po/fr.po: Another update from translation team.
14129
28cfe843
AZ
141302012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14131
14132 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14133 for subnormals or multiply small sinh result by itself.
14134 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14136
6b90f981
DM
141372012-07-11 David S. Miller <davem@davemloft.net>
14138
14139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14140
c6825772
AS
141412012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14142
14143 [BZ #14347]
14144 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14145 (INTERNAL_MARK): Shift it here.
14146
7b8e0d49
MP
141472012-07-10 Marek Polacek <polacek@redhat.com>
14148
14149 [BZ #14151]
14150 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14151 libc_cv_asm_global_directive with .globl.
14152 * configure: Regenerated.
14153 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14154 with .globl.
14155 * sysdeps/i386/configure: Regenerated.
14156 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14157 with .globl.
14158 * sysdeps/x86_64/configure: Regenerated.
14159 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14160 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14161 * elf/tst-unique2mod2.c: Likewise.
14162 * elf/tst-unique2mod1.c: Likewise.
14163 * elf/tst-unique1mod2.c: Likewise.
14164 * elf/tst-unique1mod1.c: Likewise.
14165 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14166 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14167 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14168 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14169 * sysdeps/mach/sysdep.h: Likewise.
14170 * sysdeps/i386/sysdep.h: Likewise.
14171 * sysdeps/i386/i386-mcount.S: Likewise.
14172 * sysdeps/x86_64/_mcount.S: Likewise.
14173 * sysdeps/x86_64/sysdep.h: Likewise.
14174 * sysdeps/sh/_mcount.S: Likewise.
14175 * sysdeps/sh/sysdep.h: Likewise.
14176 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14177 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14178 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14179 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14180 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14181 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14182 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14183 * locale/localeinfo.h: Likewise.
14184 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14185 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14186
6c55cda3
RM
141872012-07-09 Roland McGrath <roland@hack.frob.com>
14188
14189 [BZ #14336]
14190 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14191 system".
14192 * manual/message.texi (The Uniforum approach): Likewise.
14193 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14194 (glibc iconv Implementation): Likewise.
14195
638a572e
JM
141962012-07-09 Joseph Myers <joseph@codesourcery.com>
14197
14198 [BZ #14337]
14199 * math/s_clog.c (__clog): Avoid scaling a value down where that
14200 could result in underflow.
14201 * math/s_clog10.c (__clog10): Likewise.
14202 * math/s_clog10f.c (__clog10f): Likewise.
14203 * math/s_clog10l.c (__clog10l): Likewise.
14204 * math/s_clogf.c (__clogf): Likewise.
14205 * math/s_clogl.c (__clogl): Likewise.
14206 * math/libm-test.inc (clog_test): Add more tests.
14207 (clog10_test): Likewise.
14208 * sysdeps/i386/fpu/libm-test-ulps: Update.
14209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14210
261f4859
AS
142112012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14212
0abaf3e4
AS
14213 [BZ #14283]
14214 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14215 by 7 not 8 to examine high bit of fractional part.
14216
261f4859
AS
14217 [BZ #14042]
14218 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14219 for call to __mcount_internal.
14220 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14221 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14222 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14223
f17ac40d
JM
142242012-07-06 Joseph Myers <joseph@codesourcery.com>
14225
9ad63c23
JM
14226 [BZ #14154]
14227 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14228 approximation for values within 0x1p-13f of an odd multiple of
14229 pi/4.
14230 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14231 exception. Add more tests.
14232 * sysdeps/i386/fpu/libm-test-ulps: Update.
14233
f17ac40d
JM
14234 [BZ #6778]
14235 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14236 inputs and return -1 for them. Do not check for +Inf in case not
14237 reachable for +Inf.
14238 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14239 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14240 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14241 and return -1 for them. Do not check for +Inf in case not
14242 reachable for +Inf.
14243 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14244 define.
14245 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14246 and return -1 for them. Do not check for +Inf in case not
14247 reachable for +Inf.
14248 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14249 spurious underflow.
14250 * sysdeps/i386/fpu/libm-test-ulps: Update.
14251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14252
fb21f89b
MF
142532012-07-06 Mike Frysinger <vapier@gentoo.org>
14254
14255 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14256
cdfe2c5e
JM
142572012-07-05 Joseph Myers <joseph@codesourcery.com>
14258
14259 [BZ #14157]
14260 [BZ #14331]
14261 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14262 could result in spurious underflow. Scale down values above
14263 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14264 * math/s_csqrtf.c (__csqrtf): Likewise.
14265 * math/s_csqrtl.c (__csqrtl): Likewise.
14266 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14267 spurious underflow.
14268 * sysdeps/i386/fpu/libm-test-ulps: Update.
14269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14270
70d35b67
AS
142712012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14272
704bc459
AS
14273 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14274 xopen-msg.sed.
14275 * catgets/xopen-msg.awk: New file.
14276 * catgets/xopen-msg.sed: Removed.
14277
70d35b67
AS
14278 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14279 po2text.sed.
14280 * intl/po2test.awk: New file.
14281 * intl/po2test.sed: Removed.
14282
ca61cf32
JM
142832012-07-04 Joseph Myers <joseph@codesourcery.com>
14284
14285 [BZ #14328]
14286 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14287 or multiply small sinh result by itself.
14288 * math/s_ctanf.c (__ctanf): Likewise.
14289 * math/s_ctanh.c (__ctanh): Likewise.
14290 * math/s_ctanhf.c (__ctanhf): Likewise.
14291 * math/s_ctanhl.c (__ctanhl): Likewise.
14292 * math/s_ctanl.c (__ctanl): Likewise.
14293 * math/libm-test.inc (ctan_test_tonearest): New function.
14294 (ctan_test_towardzero): Likewise.
14295 (ctan_test_downward): Likewise.
14296 (ctan_test_upward): Likewise.
14297 (ctanh_test_tonearest): Likewise.
14298 (ctanh_test_towardzero): Likewise.
14299 (ctanh_test_downward): Likewise.
14300 (ctanh_test_upward): Likewise.
14301 (main): Call these new functions.
14302 * sysdeps/i386/fpu/libm-test-ulps: Update.
14303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14304
ca48a46a
MF
143052012-07-03 Mike Frysinger <vapier@gentoo.org>
14306
14307 * .gitignore: Delete /ports entry.
14308
9d63d37d
AJ
143092012-07-03 Andreas Jaeger <aj@suse.de>
14310
14311 * po/bg.po: Update from translation team.
14312 * po/cs.po: Likewise.
14313 * po/de.po: Likewise.
14314 * po/hr.po: Likewise.
14315 * po/nl.pl: Likewise.
14316 * po/pl.po: Likewise.
14317 * po/vi.po: Likewise.
14318
370ca3d2
JM
143192012-07-03 Joseph Myers <joseph@codesourcery.com>
14320
95f5a9a8
JM
14321 * Makeconfig [!+link] (+link-before-libc): New variable.
14322 [!+link] (+link-after-libc): Likewise.
14323 [!+link] (+link-tests): Likewise.
14324 [!+link] (+link): Define in terms of $(+link-before-libc) and
14325 $(+link-after-libc).
14326 [!+link-static] (+link-static-before-libc): New variable.
14327 [!+link-static] (+link-static-after-libc): Likewise.
14328 [!+link-static] (+link-static-tests): Likewise.
14329 [!+link-static] (+link-static): Define in terms of
14330 $(+link-static-before-libc) and $(+link-static-after-libc).
14331 [build-shared] (link-libc-before-gnulib): New variable.
14332 [build-shared] (link-libc-tests): Likewise.
14333 [build-shared] (link-libc): Define in terms of
14334 $(link-libc-before-gnulib).
14335 [!build-shared] (link-libc-tests): New variable.
14336 (link-libc-static-tests): New variable.
14337 [!gnulib] (gnulib-arch): New variable.
14338 [!gnulib] (gnulib-tests): Likewise.
14339 [!gnulib] (static-gnulib-arch): Likewise.
14340 [!gnulib] (static-gnulib-tests): Likewise.
14341 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14342 Define with "=" instead of ":=".
14343 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14344 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14345 * Rules (binaries-all-notests): New variable.
14346 (binaries-all-tests): Likewise.
14347 (binaries-static-notests): Likewise.
14348 (binaries-static-tests): Likewise.
14349 (binaries-all): Define using $(binaries-all-notests) and
14350 $(binaries-all-tests).
14351 (binaries-static): Define using $(binaries-static-notests) and
14352 $(binaries-static-tests).
14353 (binaries-shared-tests): New variable.
14354 (binaries-shared-notests): Likewise.
14355 (binaries-shared): Remove variable.
14356 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14357 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14358 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14359 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14360 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14361 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14362 * elf/Makefile (sln-modules): New variable.
14363 (extra-objs): Add $(sln-modules:=.o).
14364 (ldconfig-modules): Add static-stubs.
14365 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14366 * elf/static-stubs.c: New file.
14367
7a845b2c
JM
14368 [BZ #14283]
14369 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14370 by 7 not 8 to examine high bit of fractional part. Use volatile
14371 variables when splitting into final array of floats if
14372 __FLT_EVAL_METHOD__ != 0.
14373 * math/libm-test.inc (cos_test): Add another test.
14374 (sin_test): Likewise.
14375 * sysdeps/i386/fpu/libm-test-ulps: Update.
14376
e2283f38
JM
14377 [BZ #14273]
14378 * math/libm-test.inc (cosh_test): Add more tests.
14379
370ca3d2
JM
14380 * version.h (RELEASE): Set to "development".
14381 (VERSION): Set to "2.16.90".
14382
ee9247c3
CD
143832012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14384
14385 * NEWS: Update copyright. Remove last-updated date.
14386 Mention math library bug fixes and timezone data changes.
14387 * README: Mention GNU/Hurd, x32, and HPPA support status.
14388
4648c381
TS
143892012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14390
14391 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14392
aac78a43
AJ
143932012-06-27 Andreas Jaeger <aj@suse.de>
14394
14395 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14396
ed3dbfad
AJ
143972012-06-25 Andreas Jaeger <aj@suse.de>
14398
14399 * sysdeps/s390/fpu/libm-test-ulps: Update.
14400
4d0ee855
AS
144012012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14402 Thomas Schwinge <thomas@codesourcery.com>
14403
14404 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14405 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14406 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14407 fanotify_mark.
14408
af1bce34
TS
144092012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14410
a9fa33ba
TS
14411 * sysdeps/mach/start.c: Remove file.
14412 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14413 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14414 * sysdeps/sh/init-first.c: Likewise.
14415
58f902b8
TS
14416 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14417 registers for frame unwinding purposes, add CFI directives.
14418 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14419 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14420 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14421 Likewise.
14422
1518f58b
TS
14423 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14424 __fortify_fail returning.
14425 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14426
db9b5059
TS
14427 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14428 sysdeps/sh/____longjmp_chk.S.
14429 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14430 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14431 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14432 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14433
967705fe
TS
14434 * sysdeps/sh/abort-instr.h: New file.
14435 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14436 process in case exit returns.
14437
a9def8c4
TS
14438 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14439 initialize the GOT register before use.
14440
2a649725
TS
14441 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14442 calculation of ARGC > 4.
14443
af1bce34
TS
14444 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14445 meaningful names to some local labels.
14446
d230f50a
KK
144472012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14448 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14449
14450 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14451 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14452 (__arch_compare_and_exchange_val_16_acq): Likewise.
14453 (__arch_compare_and_exchange_val_32_acq): Likewise.
14454 (atomic_exchange_and_add): Fix gUSA sequence.
14455 (atomic_add): Likewise.
14456 (atomic_add_negative): Likewise.
14457 (atomic_add_zero): Likewise.
14458 (atomic_bit_test_set): Likewise.
14459
0479b305
AS
144602012-06-22 Andreas Schwab <schwab@redhat.com>
14461
14462 [BZ #13579]
14463 * include/link.h (struct link_map): Add l_free_initfini.
14464 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14465 l_initfini.
14466 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14467 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14468 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14469 set.
14470
0e3933b9
CD
144712012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14472
14473 * configure.in: Use AC_LANG_SOURCE.
14474 * configure: Regenerate.
14475
4248b1b1
RM
144762012-06-22 Roland McGrath <roland@hack.frob.com>
14477
14478 * configure.in (libc_cv_localstatedir): New substituted variable.
14479 * configure: Regenerated.
14480 * config.make.in (localstatedir): New variable, substituted from
14481 libc_cv_localstatedir.
14482 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14483 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14484 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14485 * sysdeps/gnu/configure: Regenerated.
14486
006dd861
JL
144872012-06-21 Jeff Law <law@redhat.com>
14488
14489 [BZ #14277]
14490 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14491 free. Simplify list management for _LIBC case.
14492
79662d42
JM
144932012-06-21 Joseph Myers <joseph@codesourcery.com>
14494
b7abb4bf
JM
14495 [BZ #14273]
14496 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14497 Clear sign bit of 64-bit integer value before comparing against
14498 overflow value.
14499
79662d42
JM
14500 * sysdeps/mach/configure: Regenerated.
14501
1f150908
L
145022012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14503
14504 [BZ #14278]
14505 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14506
28363bbf
JL
145072012-06-21 Jeff Law <law@redhat.com>
14508
14509 [BZ #13882]
14510 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14511 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 14512 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
14513 * elf/dl-open.c (dl_open_worker): Likewise.
14514
09615db4
CD
145152012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14516
14517 * scripts/list-sources.sh: Scan PORTS for translations.
14518 * po/libc.pot: Regenerated.
14519
2174c6dd
AJ
145202012-06-21 Andreas Jaeger <aj@suse.de>
14521
14522 [BZ #12194]
14523 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14524 warning.
14525 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14526 * bits/byteswap-16.h (__bswap_16): Likewise.
14527 * bits/byteswap.h (__bswap_constant_16): Likewise.
14528
3ee947b1
L
145292012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14530
14531 [BZ #14117]
a2f34833
L
14532 * sysdeps/i386/fpu_control.h: Removed.
14533 * sysdeps/x86_64/fpu_control.h: Moved to ...
14534 * sysdeps/x86/fpu_control.h: Here.
14535
3ee947b1
L
14536 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14537 (_FPU_SETCW): Likewise.
14538
ed1825f8
L
145392012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14540
25f1282a
L
14541 [BZ #14117]
14542 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14543 * sysdeps/x86/fpu/bits/mathinline.h: This.
14544 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14545
ed1825f8
L
14546 [BZ #14050]
14547 [BZ #14117]
14548 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14549 functions if __x86_64__ is defined.
14550
36d54b74
CLT
145512012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14552
14553 * string/endian.h: Add !__ASSEMBLER__ condition for including
14554 conversion interfaces.
14555
10285c21
JM
145562012-06-15 Joseph Myers <joseph@codesourcery.com>
14557
14558 [BZ #14241]
14559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14560 of ABS(x) in calculating zero to negative powers other than odd
14561 integers.
14562 * math/libm-test.inc (pow_test): Add more tests.
14563
06c5abbd
AJ
145642012-06-15 Andreas Jaeger <aj@suse.de>
14565
14566 * manual/contrib.texi (Contributors): Update entry of Liubov
14567 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14568 Machado Filho.
14569
a3aeac40
CH
145702012-06-15 Cyril Hrubis <metan@ucw.cz>
14571
14572 * string/string.h: Add __wur to GNU version of strerror_r.
14573
49bdf4c1
L
145742012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14575
14576 [BZ #14229]
14577 * string/Makefile (tests): Add tst-strtok_r.
14578 * string/tst-strtok_r.c: New file.
14579 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14580 RAX_LP/RDX_LP on SAVE_PTR.
14581
834f9b8d
RM
145822012-06-14 Roland McGrath <roland@hack.frob.com>
14583
14584 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14585
75fa1921
JM
145862012-06-14 Joseph Myers <joseph@codesourcery.com>
14587
14588 * libm_test.inc (csqrt_test): Allow more spurious underflow
14589 exceptions.
14590 (j0_test): Likewise.
14591 (j1_test): Likewise.
14592 (y0_test): Likewise.
14593 (y1_test): Likewise.
14594
771766df
CD
145952012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14596
14597 * po/Makefile (libc.pot): Use UTF-8 charset.
14598
ceb9e56b
PP
145992012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14600
14601 [BZ #14210]
14602 Suppress sign-conversion warning from FD_SET.
14603 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14604 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14605 not unsigned long int.
14606 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14607
ddb28975
L
146082012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14609
14610 [BZ #14050]
14611 [BZ #14117]
14612 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14613 __extern_always_inline instead of __extern_inline.
14614 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14615 (__signbit): Likewise.
14616 (__signbitl): Support C++ namespace.
14617 (lrintf): New inline function.
14618 (lrint): Likewise.
14619 (llrintf): Likewise.
14620 (llrint): Likewise.
14621 (fmaxf): Likewise.
14622 (fmax): Likewise.
14623 (fminf): Likewise.
14624 (fmin): Likewise.
14625 (rint): Likewise.
14626 (rintf): Likewise.
14627 (ceil): Likewise.
14628 (ceilf): Likewise.
14629 (floor): Likewise.
14630 (floorf): Likewise.
14631 (nearbyint): Likewise.
14632 (nearbyintf): Likewise.
14633
d7b4fb26
TS
146342012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14635
14636 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14637 non-default versions.
14638
eb55f5c2
RM
146392012-06-11 Roland McGrath <roland@hack.frob.com>
14640
14641 [BZ #14218]
14642 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14643
366af02c
TS
146442012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14645
99ff6e5c
TS
14646 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14647 (FE_UPWARD, FE_DOWNWARD): Don't define.
14648 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14649 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14650
366af02c
TS
14651 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14652 reading it.
14653 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14654 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14655
793ea851
KK
146562012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14657
14658 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14659 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14660 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14661 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14662
a728a38f
L
146632012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14664
14665 [BZ #14117]
c08010c7
L
14666 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14667 * sysdeps/i386/fpu/Implies: New file.
14668 * sysdeps/x86_64/fpu/Implies: Likewise.
14669 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14670 * sysdeps/x86/fpu/bits/fenv.h: This.
14671
a728a38f
L
14672 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14673 __SSE_MATH__.
14674
6e230d11
SP
146752012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14676
14677 [BZ #14134]
14678 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14679 character 0xffff that matches the last element of the
14680 conversion table.
14681
1b671feb
AZ
146822012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14683
14684 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14685 fmodl commit.
14686
6043738b
AZ
146872012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14688
14689 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14690 values higher than 25.6283.
14691
34ae0b32
AZ
146922012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14693
14694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14695 subnormal exponent extraction and add some __builtin_expect.
14696 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14697 Fix for subnormal mantissa calculation.
14698
1214ec8f
MF
146992012-06-04 Mike Frysinger <vapier@gentoo.org>
14700
14701 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14702 cpu2 is -1 and errno is not ENOSYS.
14703
f3d1f93c
L
147042012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14705
14706 [BZ #14117]
0e4a3cd7
L
14707 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14708 * sysdeps/x86/bits/string.h: This.
14709 * sysdeps/x86_64/bits/string.h: Removed.
14710
6704c645
L
14711 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14712 if not compiling for x86-64, but compiling for >= i486.
14713
48495318
L
14714 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14715 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14716
14adcbfc
L
14717 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14718 New macro from Linux kernel 3.4.0.
14719 (FP_XSTATE_MAGIC2): Likewise.
14720 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14721 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14722 (struct _fpx_sw_bytes): New struct.
14723 (struct _xsave_hdr): Likewise.
14724 (struct _ymmh_state): Likewise.
14725 (struct _xstate): Likewise.
14726
68e408ab
L
14727 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14728 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14729 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14730 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14731 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14732 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14733
f3d1f93c
L
14734 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14735 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14736 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14737 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14738 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14739 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14740
d9dc34cd
TMQMF
147412012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14742
14743 [BZ #13743]
14744 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14745 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14746 (sysdep_headers): Include sys/platform/ppc.h.
14747 * sysdeps/powerpc/test-gettimebase.c: Test for
14748 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14749 * manual/Makefile (appendices): Include platform.texi.
14750 * manual/contrib.texi (Contributors): Update @node pointers.
14751 * manual/maint.texi (Maintenance): Likewise.
14752 (Platform): New node.
14753 * manual/platform.texi: New file. Document the new features.
14754
4af3879c
SP
147552012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14756 Jakub Jelinek <jakub@redhat.com>
14757
14758 [BZ #14188]
14759 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14760 where __builtin_expect is unavailable.
14761
2fd6ff13
DM
147622012-06-03 David S. Miller <davem@davemloft.net>
14763
14764 * stdlib/longlong.h: Updated from GCC.
14765
173f7220
AS
147662012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14767
14768 [BZ #14042]
14769 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14770 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14771 __mcount_internal.
14772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14773 (GLIBC_2.16): Likewise.
14774
f34a1c6f
L
147752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14776
14777 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14778
88a4576f
JM
147792012-06-01 Joseph Myers <joseph@codesourcery.com>
14780
ea32bcdd
JM
14781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14782 (default-abi): New variable.
14783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14784 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14785 variable.
14786 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14787 Likewise.
14788 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14789 Likewise.
14790 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14791 Likewise.
14792
88a4576f
JM
14793 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14794 definition. Document in comment.
14795
402fe938
DM
147962012-06-01 David S. Miller <davem@davemloft.net>
14797
14798 * stdlib/longlong.h: Updated from GCC.
14799
3553723f
L
148002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14801
14802 [BZ #14117]
3bd872c4
L
14803 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14804 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14805 sys/debugreg.h sys/io.h here.
14806 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14807 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14808 sys/io.h.
14809 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14810 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14811 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14812 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14813 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14814 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14815
3553723f
L
14816 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14817 Define only if __x86_64__ is defined.
14818
4842e4fe
JM
148192012-06-01 Joseph Myers <joseph@codesourcery.com>
14820
c5bfe3d5
JM
14821 [BZ #14048]
14822 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14823 Use int64_t for variable i.
14824 * math/libm-test.inc (fmod_test): Add more tests.
14825
4842e4fe
JM
14826 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14827 z computation is not scheduled after fetestexcept.
14828 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14829 Use math_force_eval instead of asm to ensure calculation scheduled
14830 before exception test.
14831 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14832 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14833
efb73488
AJ
148342012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14835
14836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14837 computation is not scheduled after fetestexcept.
14838
29bcce7c
L
148392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14840
14841 [BZ #14117]
14842 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14843 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14844
73a68f94
AZ
148452012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14846
14847 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14848 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14849
67b6df78
L
148502012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14851
edf2933a 14852 [BZ #14117]
ebc64a18
L
14853 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14854 <bits/wordsize.h>.
14855 (__WCHAR_MIN): Support __WORDSIZE == 64.
14856 (__WCHAR_MAX): Likewise.
14857
edf2933a
L
14858 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14859 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14860
57c6cf40
L
14861 [BZ #14183]
14862 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14863 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14864
67b6df78 14865 [BZ #14117]
8eb6281e
L
14866 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14867 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14868
aac639f4
L
14869 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14870 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14871
67b6df78
L
14872 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14873 Defined to 1 if __x86_64__ isn't defined.
14874 (_STAT_VER_LINUX_OLD): New.
14875 (st_atime): Remove duplicate.
14876 (st_mtime): Likewise.
14877 (st_ctime): Likewise.
14878
1c2cfe81
DM
148792012-05-31 David S. Miller <davem@davemloft.net>
14880
14881 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14882 entries.
14883
5be8418c
AS
148842012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14885
e7725326
AS
14886 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14887 gen-libm-test.pl.
14888
5be8418c
AS
14889 [BZ #14132]
14890 * elf/dl-reloc.c: Include <_itoa.h>.
14891 (_dl_reloc_bad_type): Remove use of INTUSE.
14892 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14893 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14894 * stdio-common/psiginfo.c (psiginfo): Likewise.
14895 * stdio-common/psignal.c (psignal): Likewise.
14896 * string/strsignal.c (strsignal): Likewise.
14897 * include/signal.h (_sys_siglist): Declare hidden proto.
14898 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
14899 INTVARDEF with libc_hidden_data_def.
14900 * stdio-common/itoa-udigits.c: Likewise.
14901 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14902 (_itoa_lower_digits_internal): Remove declaration.
14903 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14904 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14905 (_sys_sigabbrev_internal): Remove aliases.
14906 (_sys_siglist): Define hidden alias.
14907
507352f1
MT
149082012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14909
14910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14911 bits/sysctl.h.
14912
42bbb1c3
L
149132012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14914
14915 [BZ #14117]
6bd784b6
L
14916 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14917 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14918
8bca20f0
L
14919 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14920 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14921 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14922 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14923 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14924 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14925
f9e890a9
L
14926 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14927 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14928 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14929
471101a1
L
14930 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14931 with __addr.
14932 (insw): Likewise.
14933 (insl): Likewise.
14934 (outsb): Likewise.
14935 (outsw): Likewise.
14936 (outsl): Likewise.
14937
6451c862
L
14938 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14939 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14940 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14941
a254b8c9
L
14942 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14943 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14944 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14945 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14946 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14947 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14948
b8dfdd92
L
14949 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14950 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14951
578cd270
L
14952 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14953 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14954
de662f5f
L
14955 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14956 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14957 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14958
25653439
L
14959 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14960 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14961 to ...
14962 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14963
6bad24a0
L
14964 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14965 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14966 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14967
42bbb1c3
L
14968 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14969 for x86-64.
14970 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14971
2d10d547
JM
149722012-05-31 Joseph Myers <joseph@codesourcery.com>
14973
14974 * math/math.h (M_El): Use two more decimal places.
14975 (M_LOG2El): Likewise.
14976 (M_LOG10El): Likewise.
14977 (M_LN2l): Likewise.
14978 (M_LN10l): Likewise.
14979 (M_PIl): Likewise.
14980 (M_PI_2l): Likewise.
14981 (M_PI_4l): Likewise.
14982 (M_1_PIl): Likewise.
14983 (M_2_PIl): Likewise.
14984 (M_2_SQRTPIl): Likewise.
14985 (M_SQRT2l): Likewise.
14986 (M_SQRT1_2l): Likewise.
14987
f230c29b
DM
149882012-05-31 David S. Miller <davem@davemloft.net>
14989
14990 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14991 values between float registers.
14992 * sysdeps/sparc/sparc64/memset.S: Likewise.
14993 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14994
fed806c3
MF
149952012-05-31 Mike Frysinger <vapier@gentoo.org>
14996
14997 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14998 -D_FORTIFY_SOURCE=1.
14999 (CPPFLAGS-tst-longjmp_chk.c): Define.
15000 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15001 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15002 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15003 CFLAGS-tst-wchar-h.c.
15004
30917259
MP
150052012-05-31 Marek Polacek <polacek@redhat.com>
15006
15007 [BZ #14132]
15008 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15009 __endmntent_internal): Remove declaration.
15010 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15011 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15012 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15013
1c58d5dc
DM
150142012-05-30 David S. Miller <davem@davemloft.net>
15015
15016 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15017 (___Q_simulate_exceptions): Use real FP ops rather than writing
15018 into the %fsr.
15019 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15020 Likewise.
15021
7dc00e0d
L
150222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15023
15024 [BZ #14117]
0bd53985
L
15025 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15026 * sysdeps/x86/bits/xtitypes.h: This.
15027
3a257e66
L
15028 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15029 * sysdeps/x86/bits/wordsize.h: This.
15030
62f62904
L
15031 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15032 * sysdeps/x86/bits/huge_vall.h: This.
15033
404fe9d9
L
15034 * sysdeps/i386/bits/select.h: Removed.
15035 * sysdeps/x86_64/bits/select.h: Renamed to ...
15036 * sysdeps/x86/bits/select.h: This.
15037
d48d0446
L
15038 * sysdeps/i386/bits/setjmp.h: Removed.
15039 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15040 * sysdeps/x86/bits/setjmp.h: This.
15041
7dc00e0d
L
15042 * sysdeps/i386/bits/mathdef.h: Removed.
15043 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15044 * sysdeps/x86/bits/mathdef.h: This.
15045
03277f8f
AS
150462012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15047
15048 [BZ #14132]
15049 * include/sys/socket.h (__connect_internal)
15050 (__libc_sa_len_internal): Remove declaration.
15051 (__connect, __libc_sa_len): Declare hidden_proto.
15052 (SA_LEN): Remove use of INTUSE.
15053 * socket/connect.c: Add libc_hidden_def.
15054 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15055 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15056 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15057 alias.
15058 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15059 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15060 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15061 of adding _internal alias.
15062
13764867
L
150632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15064
15065 [BZ #14117]
6bd97696
L
15066 * sysdeps/i386/bits/link.h: Removed.
15067 * sysdeps/i386/bits/linkmap.h: Likewise.
15068 * sysdeps/x86_64/bits/link.h: Renamed to ...
15069 * sysdeps/x86/bits/link.h: This.
15070 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15071 * sysdeps/x86/bits/linkmap.h: This.
15072
f726f0bb
L
15073 * sysdeps/i386/bits/endian.h: Removed.
15074 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15075 * sysdeps/x86/bits/endian.h: This.
15076
13764867
L
15077 * sysdeps/i386/bits/byteswap.h: Removed.
15078 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15079 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15080 * sysdeps/x86/bits/byteswap.h: This.
15081 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15082 * sysdeps/x86/bits/byteswap-16.h: This.
15083 * sysdeps/i386/Implies: Add x86.
15084 * sysdeps/x86_64/Implies: Likewise.
15085
ae251b0b
DM
150862012-05-30 David S. Miller <davem@davemloft.net>
15087
15088 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15089 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15090 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15091 (FP_TRAPPING_EXCEPTIONS): Define.
15092 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15093 (FP_TRAPPING_EXCEPTIONS): Define.
15094 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15095 subnormals only when inexact has been signalled or underflow
15096 exceptions are enabled.
15097 (_FP_PACK_CANONICAL): Likewise.
15098
d5c90867
L
150992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15100
15101 [BZ #14183]
15102 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15103 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15104
63f1549e
RH
151052012-05-30 Richard Henderson <rth@twiddle.net>
15106
8d8f2279
RH
15107 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15108 with #ifndef NOT_IN_libc.
15109
63f1549e
RH
15110 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15111 marked to avoid plt entry.
15112
0ab0291b
L
151132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15114
15115 [BZ #14112]
15116 * Makeconfig (default-abi): New macro.
15117 (abi-includes): Likewise.
15118 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15119 $(abi-$(default-abi)-lib-soname) for soname if defined.
15120 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15121 abi-variants.
15122 * Makefile (installed-stubs): Likewise.
15123 * include/stubs-biarch.h: Removed.
15124 * scripts/lib-names.awk: Only handle one library at a time.
15125 * scripts/soversions.awk: Remove WORDSIZE support.
15126 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15127 entries.
15128 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15129 Removed.
15130 (syscall-list-default-condition): Likewise.
15131 (syscall-list-default-condition): Likewise.
15132 (syscall-list-includes): Likewise.
15133 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15134 syscall-list-* with abi-*. Handle undefined abi-variants.
15135 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15136 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15137 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15138 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15139 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15140 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15141 Removed.
15142 (syscall-list-32-options): Likewise.
15143 (syscall-list-32-condition): Likewise.
15144 (syscall-list-64-options): Likewise.
15145 (syscall-list-64-condition): Likewise.
15146 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15147 macro.
15148 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15149 Renamed to ...
15150 (abi-*): This.
15151 (abi-64-ld-soname): New macro.
15152 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15153 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15154 Renamed to ...
15155 (abi-*): This.
15156 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15157 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15158
4da0431d
JM
151592012-05-30 Joseph Myers <joseph@codesourcery.com>
15160
3a85279c
JM
15161 * sysdeps/unix/sysv/linux/kernel-features.h
15162 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15163 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15164 include <kernel-features.h>.
15165 [!__NR_ftruncate64]: Remove conditional code.
15166 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15167 [__NR_ftruncate64]: Make code unconditional.
15168 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15169 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15170 include <kernel-features.h>.
15171 [!__NR_ftruncate64]: Remove conditional code.
15172 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15173 [__NR_ftruncate64]: Make code unconditional.
15174 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15176 include <kernel-features.h>.
15177 [!__NR_ftruncate64]: Remove conditional code.
15178 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15179 [__NR_ftruncate64]: Make code unconditional.
15180 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15182 include <kernel-features.h>.
15183 [!__NR_ftruncate64]: Remove conditional code.
15184 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15185 [__NR_ftruncate64]: Make code unconditional.
15186 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15187
4da0431d
JM
15188 * configure.in (libc_cv_fpie): Weaken to a compile test using
15189 LIBC_TRY_CC_OPTION.
15190 * configure: Regenerated.
15191
11ef492c
AK
151922012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15193
15194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15198 Refreshed.
15199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15205 Refreshed.
15206
d66ef399
DM
152072012-05-27 David S. Miller <davem@davemloft.net>
15208
15209 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15210 (___Q_zero): New.
15211 (__Q_simulate_exceptions): Return void. Change to simulate
15212 exceptions by writing into the %fsr.
15213 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15214 (__Qp_handle_exceptions): Likewise.
15215 (numbers): Delete.
15216 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15217 __Qp_handle_exceptions.
15218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15219 __Qp_handle_exceptions.
15220 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15221 as unused and give dummy FP_RND_NEAREST initializer.
15222 (FP_INHIBIT_RESULTS): Define.
15223 (___Q_simulate_exceptions): Update declaration.
15224 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15225 formatting.
15226 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15227 as unused and give dummy FP_RND_NEAREST initializer.
15228 (__Qp_handle_exceptions): Update declaration.
15229 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15230 formatting.
15231
04fb54b5
TS
152322012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15233
15234 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15235 the temporary FPU control word.
15236 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15237 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15238 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15239 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15240 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15241 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15242 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15243 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15244 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15245 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15246 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15247
3f99608f
KK
152482012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15249
15250 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15251 fields.
15252
65a4de4e
CLT
152532012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15254
15255 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15256 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15257 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15258 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15259 Likewise.
15260 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15261 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15262 Likewise.
15263
15749d40
UD
152642012-05-27 Ulrich Drepper <drepper@gmail.com>
15265
15266 * po/h.po: Update from translation team.
15267
25dbcb27
AS
152682012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15269
3d3f8e55
AS
15270 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15271
25dbcb27
AS
15272 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15273 handling of denormals.
15274 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15275 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15276 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15277 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15278 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15281 Likewise.
15282
7ad47a80 152832012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15284
15285 [BZ #14152]
15286 * math/libm-test.inc (fma_test): Don't always expect underflow
15287 exception.
15288
9c6ea9fa
SP
152892012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15290
15291 [BZ #12416]
15292 * elf/tst-execstack.c: Include stackinfo.h.
15293 (do_test): Adjust test case to ensure that pthread_getattr_np
15294 behaviour remains the same after marking stack executable.
15295
a8239222
JM
152962012-05-25 Joseph Myers <joseph@codesourcery.com>
15297
15298 * sysdeps/unix/sysv/linux/kernel-features.h
15299 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15300 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15301 kernel-features.h.
15302 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15303 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15304 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15305 kernel-features.h.
15306 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15307 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15308
918b5606
L
153092012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15310
15311 * configure.in: Define the default includes to being none.
15312 * configure: Regenerated.
15313
3a097cc7
RM
153142012-05-25 Roland McGrath <roland@hack.frob.com>
15315
8422c9a5
RM
15316 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15317 * sysdeps/x86_64/setjmp.S: Likewise.
15318 * sysdeps/i386/bsd-setjmp.S: Likewise.
15319 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15320 * sysdeps/i386/setjmp.S: Likewise.
15321 * sysdeps/i386/__longjmp.S: Likewise.
15322 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15323 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15324
3a097cc7
RM
15325 * include/stap-probe.h: New file.
15326 * configure.in: Handle --enable-systemtap.
15327 * configure: Regenerated.
15328 * config.h.in (USE_STAP_PROBE): New #undef.
15329 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15330 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15331 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15332
21708942
JM
153332012-05-25 Joseph Myers <joseph@codesourcery.com>
15334
15335 [BZ #13717]
15336 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15337 to 2.4.0 where earlier.
15338 * sysdeps/unix/sysv/linux/configure: Regenerated.
15339 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15340 <kernel-features.h>.
15341 [__ASSUME_32BITUIDS]: Make code unconditional.
15342 [!__ASSUME_32BITUIDS]: Remove conditional code.
15343 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15344 <kernel-features.h>.
15345 [__ASSUME_32BITUIDS]: Make code unconditional.
15346 [!__ASSUME_32BITUIDS]: Remove conditional code.
15347 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15348 [__ASSUME_32BITUIDS]: Make code unconditional.
15349 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15350 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15351 <kernel-features.h>.
15352 [__ASSUME_32BITUIDS]: Make code unconditional.
15353 [!__ASSUME_32BITUIDS]: Remove conditional code.
15354 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15355 <kernel-features.h>.
15356 [__ASSUME_32BITUIDS]: Make code unconditional.
15357 [!__ASSUME_32BITUIDS]: Remove conditional code.
15358 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15359 <kernel-features.h>.
15360 [__ASSUME_32BITUIDS]: Make code unconditional.
15361 [!__ASSUME_32BITUIDS]: Remove conditional code.
15362 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15363 <kernel-features.h>.
15364 [__ASSUME_32BITUIDS]: Make code unconditional.
15365 [!__ASSUME_32BITUIDS]: Remove conditional code.
15366 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15367 <kernel-features.h>.
15368 [__ASSUME_32BITUIDS]: Make code unconditional.
15369 [!__ASSUME_32BITUIDS]: Remove conditional code.
15370 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15371 <kernel-features.h>.
15372 [__ASSUME_32BITUIDS]: Make code unconditional.
15373 [!__ASSUME_32BITUIDS]: Remove conditional code.
15374 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15375 <kernel-features.h>.
15376 [__ASSUME_32BITUIDS]: Make code unconditional.
15377 [!__ASSUME_32BITUIDS]: Remove conditional code.
15378 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15379 <kernel-features.h>.
15380 [__ASSUME_32BITUIDS]: Make code unconditional.
15381 [!__ASSUME_32BITUIDS]: Remove conditional code.
15382 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15383 <kernel-features.h>.
15384 [__ASSUME_32BITUIDS]: Make code unconditional.
15385 [!__ASSUME_32BITUIDS]: Remove conditional code.
15386 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15387 <kernel-features.h>.
15388 [__ASSUME_32BITUIDS]: Make code unconditional.
15389 [!__ASSUME_32BITUIDS]: Remove conditional code.
15390 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15391 <kernel-features.h>.
15392 [__NR_setresgid] (__setresgid): Do not declare.
15393 [__ASSUME_32BITUIDS]: Make code unconditional.
15394 [!__ASSUME_32BITUIDS]: Remove conditional code.
15395 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15396 <kernel-features.h>.
15397 [__NR_setresuid] (__setresuid): Do not declare.
15398 [__ASSUME_32BITUIDS]: Make code unconditional.
15399 [!__ASSUME_32BITUIDS]: Remove conditional code.
15400 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15401 <kernel-features.h>.
15402 [__ASSUME_32BITUIDS]: Make code unconditional.
15403 [!__ASSUME_32BITUIDS]: Remove conditional code.
15404 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15405 <kernel-features.h>.
15406 [__ASSUME_32BITUIDS]: Make code unconditional.
15407 [!__ASSUME_32BITUIDS]: Remove conditional code.
15408 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15409 <kernel-features.h>.
15410 [__ASSUME_32BITUIDS]: Make code unconditional.
15411 [!__ASSUME_32BITUIDS]: Remove conditional code.
15412 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15413 <kernel-features.h>.
15414 [__ASSUME_32BITUIDS]: Make code unconditional.
15415 [!__ASSUME_32BITUIDS]: Remove conditional code.
15416 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15417 <kernel-features.h>.
15418 [__ASSUME_32BITUIDS]: Make code unconditional.
15419 [!__ASSUME_32BITUIDS]: Remove conditional code.
15420 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15421 <kernel-features.h>.
15422 [__ASSUME_32BITUIDS]: Make code unconditional.
15423 [!__ASSUME_32BITUIDS]: Remove conditional code.
15424 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15425 <kernel-features.h>.
15426 [__ASSUME_32BITUIDS]: Make code unconditional.
15427 [!__ASSUME_32BITUIDS]: Remove conditional code.
15428 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15429 <kernel-features.h>.
15430 [__ASSUME_32BITUIDS]: Make code unconditional.
15431 [!__ASSUME_32BITUIDS]: Remove conditional code.
15432 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15433 <kernel-features.h>.
15434 [__ASSUME_32BITUIDS]: Make code unconditional.
15435 [!__ASSUME_32BITUIDS]: Remove conditional code.
15436 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15437 <kernel-features.h>.
15438 [__ASSUME_32BITUIDS]: Make code unconditional.
15439 [!__ASSUME_32BITUIDS]: Remove conditional code.
15440 * sysdeps/unix/sysv/linux/kernel-features.h
15441 (__ASSUME_SETRESUID_SYSCALL): Remove.
15442 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15443 (__ASSUME_32BITUIDS): Likewise.
15444 (__ASSUME_LDT_WORKS): Likewise.
15445 (__ASSUME_O_DIRECTORY): Likewise.
15446 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15447 architecture but not kernel version.
15448 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15449 (__ASSUME_MMAP2_SYSCALL): Likewise.
15450 (__ASSUME_STAT64_SYSCALL): Likewise.
15451 (__ASSUME_IPC64): Likewise.
15452 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15453 <kernel-features.h>.
15454 [__ASSUME_32BITUIDS]: Make code unconditional.
15455 [!__ASSUME_32BITUIDS]: Remove conditional code.
15456 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15457 <kernel-features.h>.
15458 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15459 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15460 132096]: Remove conditional code.
15461 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15462 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15463 <kernel-features.h>.
15464 [__ASSUME_32BITUIDS]: Make code unconditional.
15465 [!__ASSUME_32BITUIDS]: Remove conditional code.
15466 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15467 <kernel-features.h>.
15468 [__ASSUME_32BITUIDS]: Make code unconditional.
15469 [!__ASSUME_32BITUIDS]: Remove conditional code.
15470 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15471 <kernel-features.h>.
15472 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15473 unconditional.
15474 (__setresgid): Do not declare.
15475 [__ASSUME_32BITUIDS]: Make code unconditional.
15476 [!__ASSUME_32BITUIDS]: Remove conditional code.
15477 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15478 <kernel-features.h>.
15479 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15480 unconditional.
15481 (__setresuid): Do not declare.
15482 [__ASSUME_32BITUIDS]: Make code unconditional.
15483 [!__ASSUME_32BITUIDS]: Remove conditional code.
15484 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15485 <kernel-features.h>.
15486 [__ASSUME_32BITUIDS]: Make code unconditional.
15487 [!__ASSUME_32BITUIDS]: Remove conditional code.
15488 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15489 <kernel-features.h>.
15490 [__ASSUME_32BITUIDS]: Make code unconditional.
15491 [!__ASSUME_32BITUIDS]: Remove conditional code.
15492
a386f1cc
RH
154932012-05-25 Richard Henderson <rth@twiddle.net>
15494
15495 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15496 dl_hwcap to ifunc resolver.
15497 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15498 elf_ifunc_invoke.
15499 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15500 dl_hwcap to ifunc resolver.
15501 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15502
b6550497
JM
155032012-05-24 Joseph Myers <joseph@codesourcery.com>
15504
15505 [BZ #14153]
15506 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15507 for |x| <= 2**-26, not 2**-57.
15508 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15509 exception.
15510
b0bc23a1
JL
155112012-05-24 Jeff Law <law@redhat.com>
15512
15513 * stdio-common/Makefile (tests): Add bug25.
15514 * stdio-common/bug25.c: New test.
15515
347c92e9
L
155162012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15517
15518 [BZ #13576]
15519 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15520 multiple of MALLOC_ALIGNMENT in size.
15521 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15522
6bcc8b3f
JM
155232012-05-24 Joseph Myers <joseph@codesourcery.com>
15524
15525 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15526 Require >= 256.
15527 (FILENAME_MAX): Use macro-int-constant.
15528 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15529 (_IOFBF): Use macro-int-constant.
15530 (_IOLBF): Likewise.
15531 (_IONBF): Likewise.
15532 (SEEK_CUR): Likewise.
15533 (SEEK_END): Likewise.
15534 (SEEK_SET): Likewise.
15535 (TMP_MAX): Likewise.
15536 (EOF): Use macro-int-constant. Require < 0.
15537 (NULL): Use macro-constant. Require == 0.
15538 (stdin): Require type to be FILE *.
15539 (stdout): Likewise.
15540 (stderr): Likewise.
15541 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15542 macro-int-constant.
15543 (EXIT_SUCCESS): Likewise.
15544 (NULL): Use macro-constant. Require == 0.
15545 (RAND_MAX): Use macro-int-constant.
15546 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15547 [C99-based standards] (strtof): Require function.
15548 [C99-based standards] (strtold): Likewise.
15549 [C99-based standards] (strtoll): Likewise.
15550 [C99-based standards] (strtoull): Likewise.
15551 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15552 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15553 [ISO || ISO99 || ISO11] (math.h): Likewise.
15554 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15555 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15556 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15557
d18ea0c5
AS
155582012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15559
15560 [BZ #14132]
56d25bb8
AS
15561 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15562 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15563 * intl/dgettext.c (DCGETTEXT): Likewise.
15564 * intl/gettext.c (DCGETTEXT): Likewise.
15565 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15566 * posix/regex_internal.h (gettext): Likewise.
15567 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15568 Remove declaration.
15569 * include/argz.h (__argz_count_internal)
15570 (__argz_stringify_internal): Remove declaration.
15571 (__argz_count, __argz_stringify): Declare hidden proto.
15572 * intl/dcgettext.c: Remove use of INTDEF.
15573 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15574 * string/argz-stringify.c: Likewise.
15575 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15576 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15577 Declare hidden proto.
d18ea0c5
AS
15578 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15579 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15580 Declare hidden proto.
15581 * include/stdio.h (__asprintf_internal): Don't declare.
15582 (__asprintf): Don't define as macro. Declare hidden proto.
15583 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15584 (__fsetlocking): Declare hidden proto.
15585 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15586 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15587 hidden proto.
15588 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15589 (_IO_setlinebuf): Remove use of INTUSE.
15590 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15591 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15592 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15593 Remove declaration.
15594 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15595 (_IO_do_flush): Remove use of INTUSE.
15596 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15597 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15598 (_IO_adjust_column, _IO_least_wmarker)
15599 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15600 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15601 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15602 (_IO_default_doallocate, _IO_wdefault_doallocate)
15603 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15604 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15605 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15606 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15607 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15608 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15609 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15610 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15611 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15612 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15613 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15614 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15615 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15616 proto.
15617 (_IO_flush_all_internal, _IO_adjust_column_internal)
15618 (_IO_default_uflow_internal, _IO_default_finish_internal)
15619 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15620 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15621 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15622 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15623 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15624 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15625 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15626 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15627 (_IO_file_close_internal, _IO_file_close_it_internal)
15628 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15629 (_IO_file_init_internal, _IO_file_attach_internal)
15630 (_IO_file_fopen_internal, _IO_file_read_internal)
15631 (_IO_file_sync_internal, _IO_file_seek_internal)
15632 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15633 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15634 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15635 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15636 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15637 (_IO_list_all_internal, _IO_link_in_internal)
15638 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15639 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15640 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15641 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15642 (_IO_do_write_internal, _IO_padn_internal)
15643 (_IO_getline_info_internal, _IO_getline_internal)
15644 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15645 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15646 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15647 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15648 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15649 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15650 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15651 with libc_hidden_ver, remove use of INTUSE.
15652 * libio/genops.c: Likewise.
15653 * libio/freopen.c: Likewise.
15654 * libio/freopen64.c: Likewise.
15655 * libio/iofclose.c: Likewise.
15656 * libio/iofdopen.c: Likewise.
15657 * libio/iofflush.c: Likewise.
15658 * libio/iofflush_u.c: Likewise.
15659 * libio/iofgets.c: Likewise.
15660 * libio/iofgets_u.c: Likewise.
15661 * libio/iofopen.c: Likewise.
15662 * libio/iofopncook.c: Likewise.
15663 * libio/iofread.c: Likewise.
15664 * libio/iofread_u.c: Likewise.
15665 * libio/ioftell.c: Likewise.
15666 * libio/iofwrite.c: Likewise.
15667 * libio/iogetline.c: Likewise.
15668 * libio/iogets.c: Likewise.
15669 * libio/iogetwline.c: Likewise.
15670 * libio/iopadn.c: Likewise.
15671 * libio/iopopen.c: Likewise.
15672 * libio/ioseekoff.c: Likewise.
15673 * libio/ioseekpos.c: Likewise.
15674 * libio/iosetbuffer.c: Likewise.
15675 * libio/iosetvbuf.c: Likewise.
15676 * libio/ioungetc.c: Likewise.
15677 * libio/ioungetwc.c: Likewise.
15678 * libio/iovdprintf.c: Likewise.
15679 * libio/iovsprintf.c: Likewise.
15680 * libio/iovsscanf.c: Likewise.
15681 * libio/memstream.c: Likewise.
15682 * libio/obprintf.c: Likewise.
15683 * libio/oldfileops.c: Likewise.
15684 * libio/oldiofclose.c: Likewise.
15685 * libio/oldiofdopen.c: Likewise.
15686 * libio/oldiofopen.c: Likewise.
15687 * libio/oldiopopen.c: Likewise.
15688 * libio/oldstdfiles.c: Likewise.
15689 * libio/putc.c: Likewise.
15690 * libio/setbuf.c: Likewise.
15691 * libio/setlinebuf.c: Likewise.
15692 * libio/stdfiles.c: Likewise.
15693 * libio/strops.c: Likewise.
15694 * libio/vasprintf.c: Likewise.
15695 * libio/vscanf.c: Likewise.
15696 * libio/vsnprintf.c: Likewise.
15697 * libio/vswprintf.c: Likewise.
15698 * libio/wfiledoalloc.c: Likewise.
15699 * libio/wfileops.c: Likewise.
15700 * libio/wgenops.c: Likewise.
15701 * libio/wmemstream.c: Likewise.
15702 * libio/wstrops.c: Likewise.
15703 * libio/__fpurge.c: Likewise.
15704 * libio/__fsetlocking.c: Likewise.
15705 * assert/assert.c: Likewise.
15706 * debug/fgets_chk.c: Likewise.
15707 * debug/fgets_u_chk.c: Likewise.
15708 * debug/fread_chk.c: Likewise.
15709 * debug/fread_u_chk.c: Likewise.
15710 * debug/gets_chk.c: Likewise.
15711 * debug/obprintf_chk.c: Likewise.
15712 * debug/vasprintf_chk.c: Likewise.
15713 * debug/vdprintf_chk.c: Likewise.
15714 * debug/vsnprintf_chk.c: Likewise.
15715 * debug/vsprintf_chk.c: Likewise.
15716 * malloc/mtrace.c: Likewise.
15717 * misc/error.c: Likewise.
15718 * misc/syslog.c: Likewise.
15719 * stdio-common/asprintf.c: Likewise.
15720 * stdio-common/fxprintf.c: Likewise.
15721 * stdio-common/getw.c: Likewise.
15722 * stdio-common/isoc99_fscanf.c: Likewise.
15723 * stdio-common/isoc99_scanf.c: Likewise.
15724 * stdio-common/isoc99_vfscanf.c: Likewise.
15725 * stdio-common/isoc99_vscanf.c: Likewise.
15726 * stdio-common/isoc99_vsscanf.c: Likewise.
15727 * stdio-common/printf-prs.c: Likewise.
15728 * stdio-common/printf_fp.c: Likewise.
15729 * stdio-common/printf_fphex.c: Likewise.
15730 * stdio-common/printf_size.c: Likewise.
15731 * stdio-common/putw.c: Likewise.
15732 * stdio-common/scanf.c: Likewise.
15733 * stdio-common/sprintf.c: Likewise.
15734 * stdio-common/tmpfile.c: Likewise.
15735 * stdio-common/vfprintf.c: Likewise.
15736 * stdio-common/vfscanf.c: Likewise.
15737 * stdlib/strfmon_l.c: Likewise.
15738 * sunrpc/openchild.c: Likewise.
15739 * sunrpc/xdr_stdio.c: Likewise.
15740 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15741 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15742
d6c33fda
RM
157432012-05-24 Roland McGrath <roland@hack.frob.com>
15744
c1487492
RM
15745 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15746
15747 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15748 in the third column, to generate for the shared library an IFUNC
15749 that uses _dl_vdso_vsym.
15750 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15751 * Makeconfig (object-suffixes-noshared): New variable.
15752
15753 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15754 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15755 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15756 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15757
d6c33fda
RM
15758 [BZ #14132]
15759 * include/sys/time.h (__gettimeofday): Remove macro.
15760 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15761 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15762 Remove INTDEF.
15763 (__gettimeofday): Add libc_hidden_def.
15764 (gettimeofday): Add libc_hidden_weak.
15765 * sysdeps/mach/gettimeofday.c: Likewise.
15766 * sysdeps/posix/gettimeofday.c: Likewise.
15767 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15768 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15769 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15770 (__gettimeofday_internal): Remove strong_alias.
15771 (__gettimeofday): Add libc_hidden_def.
15772 (gettimeofday): Add libc_hidden_weak.
15773 * sysdeps/unix/syscalls.list (gettimeofday):
15774 Remove __gettimeofday_internal alias.
15775
b5a2bbe6
L
157762012-05-24 Daniel Jacobowitz <drow@false.org>
15777 H.J. Lu <hongjiu.lu@intel.com>
15778
15779 [BZ #12495]
15780 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15781 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15782 (largebin_index_32_big): New.
15783 (largebin_index): Use it for 16-byte alignment.
15784 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15785 correction with front_misalign.
15786
cfba4fda
L
157872012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15788
7f907421
L
15789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15791 Likewise.
15792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15793 Likewise.
15794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15795 Likewise.
15796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15797 Likewise.
15798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15799 Likewise.
15800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15801 Likewise.
15802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15803 Likewise.
15804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15805 Likewise.
15806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15807 Likewise.
15808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15809 Likewise.
15810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15811 Likewise.
15812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15813 Likewise.
15814
cfba4fda
L
15815 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15816 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15817
80bad0cc
JM
158182012-05-24 Joseph Myers <joseph@codesourcery.com>
15819
7a25eb06
JM
15820 [BZ #10846]
15821 [BZ #14036]
15822 * math/libm-test.inc (exp_test): Add test from bug 14036.
15823 (pow_test): Add test from bug 10846.
15824
795405f9
JM
15825 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15826 and other flags.
15827 (special_function): Do not include flags in test name.
15828 (parse_args): Likewise.
15829 * sysdeps/i386/fpu/libm-test-ulps: Update.
15830 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15831 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15832 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15834
80bad0cc
JM
15835 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15836 exceptions.
15837 * math/libm-test.inc ("Philosophy"): Update comment about
15838 exception testing.
15839 (UNDERFLOW_EXCEPTION): New macro.
15840 (UNDERFLOW_EXCEPTION_OK): Likewise.
15841 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15842 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15843 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15844 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15845 (INVALID_EXCEPTION_OK): Update value.
15846 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15847 (OVERFLOW_EXCEPTION_OK): Likewise.
15848 (IGNORE_ZERO_INF_SIGN): Likewise.
15849 (test_exceptions): Handle underflow exceptions.
15850 (acos_test): Update for underflow exception expectations.
15851 (cexp_test): Likewise.
15852 (clog_test): Likewise.
15853 (clog10_test): Likewise.
15854 (csqrt_test): Likewise.
15855 (ctan_test): Likewise.
15856 (ctanh_test): Likewise.
15857 (exp_test): Likewise.
15858 (exp10_test): Likewise.
15859 (exp2_test): Likewise.
15860 (expm1_test): Likewise.
15861 (fma_test): Likewise.
15862 (j0_test): Likewise.
15863 (jn_test): Likewise.
15864 (nexttoward_test): Likewise.
15865 (pow_test): Likewise.
15866 (scalbn_test): Likewise.
15867 (scalbln_test): Likewise.
15868 (tan_test): Likewise.
15869 (y1_test): Likewise.
15870 * sysdeps/i386/fpu/libm-test-ulps: Update.
15871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15872
9e0e3d0b
DM
158732012-05-23 David S. Miller <davem@davemloft.net>
15874
15875 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15876 (__libc_sigaction): Remove unused local variables.
15877
ccd0a08f
L
158782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15879
15880 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15881
62bdf9a6
PE
158822012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15883
f8591f80
PE
15884 mktime: avoid signed integer overflow
15885 * time/mktime.c (__mktime_internal): Do not mishandle the case
15886 where diff == INT_MIN.
15887
94c7d826
PE
15888 mktime: simplify computation of average
15889 * time/mktime.c (ranged_convert): Use new time_t_avg function
15890 instead of rolling our own (probably-slower) code.
15891
ce73d683
PE
15892 mktime: do not assume signed right shift propagates sign bit
15893 * time/mktime.c (isdst_differ): New static function.
15894 (__mktime_internal): No need to normalize tm_isdst now.
15895 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15896 tm_isdst values.
15897
72a22e59
PE
15898 mktime: merge another wrapv change from gnulib
15899 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15900 from some compilers.
15901
68605433
PE
15902 mktime: remove incorrect attempt at unusual arithmetics
15903 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15904 The code didn't really work on such machines anyway.
15905 (TYPE_MINIMUM): Assume two's complement.
15906 (twos_complement_arithmetic): Verify that long_int and time_t
15907 are two's complement (or unsigned, in the latter case).
15908
03cf7fe3
PE
15909 mktime: check signed shifts on long_int and time_t, too
15910 * time/mktime.c (SHR): Check that shifts work as desired
15911 on the types long_int and time_t too, as SHR is used on
15912 such types.
15913
f04dfbc2
PE
15914 mktime: do not assume 'long' is wide enough
15915 * time/mktime.c (verify): Move decl up.
15916 (long_int): New type.
15917 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15918 to remove assumption in the code that 'long' is wide enough to
15919 store year values. This assumption is not true on x32 and on
15920 some non-glibc platforms.
15921
62bdf9a6
PE
15922 mktime: merge wrapv change from gnulib
15923 * time/mktime.c (WRAPV): New macro.
15924 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15925 (guess_time_tm, __mktime_internal): Do not assume that signed
15926 integer overflow wraps around; modern compilers generate code
15927 where this assumption is no longer valid.
15928
5e292e4f
L
159292012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15930
15931 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15932 Replace "jmp L(pseudo_end)" with "ret".
15933 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15934 Likewise.
15935
8caf8c87
AJ
159362012-05-23 Andreas Jaeger <aj@suse.de>
15937
15938 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15939 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15940
1a09dc56
AJ
159412012-05-23 Andreas Jaeger <aj@suse.de>
15942 Maximilian Attems <max@stro.at>
15943
15944 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15945 New macros.
15946
1c87aba0
L
159472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15948
15949 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15950 code so that pseudo_end is just ret and the stack pointer is
15951 correct also for static library in error case.
15952
40e45bd5
JM
159532012-05-23 Joseph Myers <joseph@codesourcery.com>
15954
c2670533
JM
15955 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15956 move to syscalls.list.
15957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15961
40e45bd5
JM
15962 * manual/install.texi (Running make install): Do not mention Linux
15963 kernel version for which pt_chown is not needed.
15964 (Linux): Do not mention problems with nscd with 2.0 kernels.
15965 * INSTALL: Regenerated.
15966
be08eda5
AJ
159672012-05-23 Andreas Jaeger <aj@suse.de>
15968
15969 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15970 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15971 macro.
15972 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15973 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15974 * sysdeps/unix/sysv/linux/sh/bits/mman.h
15975 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15976 * sysdeps/unix/sysv/linux/i386/bits/mman.h
15977 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15978 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15979 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15980 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15981 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15982 * sysdeps/unix/sysv/linux/bits/in.h
15983 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15984
a6a056bb
RM
159852012-05-22 Roland McGrath <roland@hack.frob.com>
15986
15987 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15988 (PREPARE_VERSION): Just use assert instead, it will be elided
15989 under [NDEBUG] anyway.
15990
c9009328
L
159912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15992
15993 * sysdeps/unix/sysv/linux/Makefile: Include
15994 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 15995 (sysdep_routines): Remove sysctl.
c9009328
L
15996 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15997 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15998 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15999 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16000 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16001
73338355
AJ
160022012-05-22 Andreas Jaeger <aj@suse.de>
16003
16004 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16005 that pseudo_end is just ret and the stack pointer is correct also
16006 for static library in error case.
16007
d44638b0
PP
160082012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16009
16010 [BZ #14122]
16011 * nss/nsswitch.c (defconfig_entries): New variable.
16012 (__nss_database_lookup): Don't leak defconfig entries.
16013 (nss_parse_service_list): Don't leak on error paths.
16014 (free_database_entries): New function.
16015 (free_defconfig): New function.
16016 (free_mem): Move common code to free_database_entries.
16017
31a39bd8
L
160182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16019
da0331a8
L
16020 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16021 Add arch_prctl.
16022 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16023
31a39bd8
L
16024 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16025 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16027 New macro.
16028 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16029 (INTERNAL_SYSCALL_TYPES): Likewise.
16030 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16031 (LOAD_REGS_TYPES_[1-6]): Likewise.
16032 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16033 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16034
45470df3
AZ
160352012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16036
16037 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16038 copysignl for GLIBC_2_0.
16039 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16040 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16041 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16042 logbl for GLIBC_2_0.
16043 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16044 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16045
98a61bcb
L
160462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16047
a4f6e481
L
16048 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16049 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16050
f63d5db6
L
16051 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16052 Use "neg %eax".
16053
98a61bcb
L
16054 * time/mktime.c: Update copyright years.
16055
95770f14
PE
160562012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16057
6226efbd
PE
16058 mktime: merge comment-quoting-style change from gnulib
16059 * time/mktime.c: Quote 'like this' in comments.
16060 The GNU coding standards suggest that we no longer quote `like this',
16061 as "`" and "'" are typically rendered asymmetrically nowadays.
16062 The typical gnulib style is to quote 'like this' when quoting
16063 code, and "like this" when quoting English.
16064
b99e4f78
PE
16065 * time/mktime.c (compile-command): Add "-I.".
16066
643e01e6
PE
16067 mktime: merge mktime-internal.h change from gnulib
16068 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16069
2554247d
PE
16070 mktime: merge time_r change from gnulib
16071 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16072
826dd0ab
PE
16073 mktime: merge DEBUG change from gnulib
16074 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16075 case system <time.h> has a #define.
16076
bd83aabe
PE
16077 mktime: merge <sys/types.h> change from gnulib
16078 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16079 since <time.t> is now guaranteed to define time_t.
16080
95770f14
PE
16081 mktime: merge HAVE_CONFIG_H change from gnulib
16082 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16083
5e1a27a9
L
160842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16085
0e44a77e
L
16086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16087 Use "neg %eax".
16088
5e1a27a9
L
16089 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16090 __rlim_t cast.
16091 (struct rusage): Use anonymous union to pad each field to
16092 __syscall_slong_t.
16093
46259bec
DM
160942012-05-21 David S. Miller <davem@davemloft.net>
16095
16096 * Makefules (o-iterator): Remove .s cases.
16097 (compile-command.s): Delete.
16098 (COMPILE.s): Delete.
16099 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16100
59f0c22e
JM
161012012-05-21 Joseph Myers <joseph@codesourcery.com>
16102
16103 * configure.in (libc_cv_predef_stack_protector): Only consider
16104 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16105 * configure: Regenerated.
16106
20c07380
L
161072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16108
bbb3154b
L
16109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16110 New macro. Use R*LP on int and pointer.
16111 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16112 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16113 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16114 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16115
20c07380
L
16116 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16117 [__WORDSIZE_TIME64_COMPAT32] instead of
16118 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16119 (struct utmp): Likewise.
16120 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16121 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16122 Renamed to ...
16123 (__WORDSIZE_TIME64_COMPAT32): This.
16124 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16125 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16126 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16127 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16128 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16129 (__WORDSIZE_TIME64_COMPAT32): New macro.
16130
d8d1017e
AJ
161312012-05-21 Andreas Jaeger <aj@suse.de>
16132
16133 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16134 only if [SHARED]. Add prototype for __wcschr_ia32.
16135
6c7fb145
RM
161362012-05-21 Roland McGrath <roland@hack.frob.com>
16137
16138 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16139 of %rbp unmolested in the jmp_buf while mangling the low bits.
16140 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16141 unmolested high bits of %rbp while demangling the low bits.
16142 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16143
66274218
AJ
161442012-05-21 Andreas Jaeger <aj@suse.de>
16145
07c58f8f
AJ
16146 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16147 * sunrpc/svc_simple.c: Use it for registerrpc.
16148 * sunrpc/xcrypt.c: Use it for passwd2des.
16149
66274218
AJ
16150 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16151
61f65140
L
161522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16153
16154 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16155 Don't define if [__SYSCALL_WORDSIZE != 32].
16156 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16157 New macro.
16158
5fefb436
AJ
161592012-05-21 Bruno Haible <bruno@clisp.org>
16160 Andreas Jaeger <aj@suse.de>
16161
16162 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16163 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16164 inptr and inend for must_buffer_ch.
16165 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16166 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16167 * stdio-common/Makefile (tests): Remove bug15.
16168 (bug15-ENV): Remove macro.
16169 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16170 anymore.
16171
d8e272ab
AJ
161722012-05-19 Andreas Jaeger <aj@suse.de>
16173 Roland McGrath <roland@hack.frob.com>
16174
16175 * manual/contrib.texi: Completely rewritten. It contains now an
16176 alphabetical list of contributors and their contributions.
16177
4a56a162
RH
161782012-05-21 Richard Henderson <rth@twiddle.net>
16179
16180 * misc/getauxval.c (__getauxval): Use unsigned long int.
16181 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16182 (getauxval): Use unsigned long int.
16183
d024d23c
L
161842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16185
16186 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16187
cbc00a03
RM
161882012-05-21 Roland McGrath <roland@hack.frob.com>
16189
16190 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16191 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16192 __alignof__ (long double).
16193
478143fa
AZ
161942012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16195
16196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16197
c7683a6d
RH
161982012-05-20 Richard Henderson <rth@twiddle.net>
16199
16200 * misc/getauxval.c: New file.
16201 * misc/sys/auxv.h: New file.
16202 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16203 (routines): Add getauxval.
16204 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16205 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16206 * elf/dl-sysdep.c (_dl_auxv): Remove.
16207 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16208 * elf/dl-support.c (_dl_auxv): New variable.
16209 (_dl_aux_init): Initialize it.
16210 * manual/startup.texi (Auxiliary Vector): New node.
16211 * sysdeps/generic/bits/hwcap.h: New file.
16212 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16213 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16214 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16215 * sysdeps/sparc/sysdep.h: ... here. Include it.
16216 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16217 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16219 Update.
c7683a6d
RH
16220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16223 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16228
a6f1845d
AZ
162292012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16230
16231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16232
cbcbe830
DM
162332012-05-19 David S. Miller <davem@davemloft.net>
16234
16235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16236
e0b16cc2
JM
162372012-05-19 Joseph Myers <joseph@codesourcery.com>
16238
16239 [BZ #14123]
16240 * math/s_ccosh.c: Include <float.h>
16241 (__ccosh): Avoid internal overflow calculating sinh and cosh
16242 values before multiplying by sin and cos values.
16243 * math/s_ccoshf.c: Likewise.
16244 * math/s_ccoshl.c: Likewise.
16245 * math/s_csin.c: Likewise.
16246 * math/s_csinf.c: Likewise.
16247 * math/s_csinl.c: Likewise.
16248 * math/s_csinh.c: Likewise.
16249 * math/s_csinhf.c: Likewise.
16250 * math/s_csinhl.c: Likewise.
16251 * math/libm-test.inc (ccos_test): Add more tests.
16252 (ccosh_test): Likewise.
16253 (csin_test): Likewise.
16254 (csinh_test): Likewise.
16255 * sysdeps/i386/fpu/libm-test-ulps: Update.
16256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16257
6ad13e08
L
162582012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16259
f66f0ce8
L
16260 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16261 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16262
6ad13e08
L
16263 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16264
b1d072a7
JM
162652012-05-19 Joseph Myers <joseph@codesourcery.com>
16266
16267 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16268 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16269 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16270 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16271 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16272 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16273 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16274 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16275 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16276 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16277 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16278 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16279 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16280 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16281 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16282 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16283 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16284 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16285 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16286 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16287 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16288 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16289 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16290 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16291 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16292 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16293 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16294 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16295 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16296 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16297 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16298
9eae47cb
AJ
162992012-05-18 Andreas Jaeger <aj@suse.de>
16300
16301 * csu/.gitignore: Delete.
16302
bb07f69f
L
163032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16304
16305 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16306 (timex): Use __syscall_slong_t.
16307
e6bdb741
AJ
163082012-05-18 Andreas Jaeger <aj@suse.de>
16309 Carlos O'Donell <carlos_odonell@mentor.com>
16310
16311 * manual/install.texi (Configuring and compiling): Update
16312 description about files modified in the source directory.
d6c33fda 16313 * INSTALL: Regenerated.
e6bdb741 16314
1b74487e
L
163152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16316
16317 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16318 value. Use "or" to set return value to -1.
16319 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16320 negate return value.
16321
a88b64b9
TMQMF
163222012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16323
16324 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16325 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16326 failure if the compiler has Graphite support disabled.
16327 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16328 Likewise.
16329 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16330 CFLAGS-memmove.c): Likewise.
16331 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16332 Likewise.
16333
3707636e
L
163342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16335
610b8622
L
16336 * sysdeps/x86_64/x32/_itoa.h: New file.
16337
7cd195df
L
16338 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16339 getdents system call only if kernel and user dirents have the
16340 same d_ino and d_off.
16341
94b07d20
L
16342 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16343 LLONG_MAX != LONG_MAX.
16344 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16345 (_fitoa_word): Likewise.
16346
18298070
L
16347 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16348 years.
16349 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16350 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16351 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16352
553c7ea4
L
16353 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16354 include <bits/wordsize.h>. Check __x86_64__ instead of
16355 __WORDSIZE.
16356 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16357 if __x86_64__ is defined. Use anonymous union on fpstate.
16358
3707636e
L
16359 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16360 anonymous union.
16361
b53ef01a
AS
163622012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16363
37fb1dc0
AS
16364 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16365 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16366 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16367 Refer to _rtld_local_ro instead of _rtld_global_ro.
16368 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16369 Likewise.
16370 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16371 Likewise.
16372 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16373 Likewise.
16374 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16375 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16376 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16377
b53ef01a
AS
16378 * sysdeps/powerpc/powerpc32/dl-machine.c
16379 (__elf_machine_runtime_setup) [PROF]: Don't reference
16380 _dl_prof_resolve.
16381
7a185db2
AJ
163822012-05-18 Andreas Jaeger <aj@suse.de>
16383
16384 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16385 function only available for GCCs before 3.4 since GCC 3.4
16386 introduced a builtin.
16387 (lrint): Likewise.
16388 (llrintf): Likewise.
16389 (llrint): Likewise.
16390 (fmaxf): Likewise.
16391 (fmax): Likewise.
16392 (fminf): Likewise.
16393 (fmin): Likewise.
16394 (rint): Likewise.
16395 (rintf): Likewise.
16396 (nearbyint): Likewise.
16397 (nearbyintf): Likewise.
16398 (ceil): Likewise.
16399 (ceilf): Likewise.
16400 (floor): Likewise.
16401 (floorf): Likewise.
16402
3e5aef87
L
164032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16404
428bd707
L
16405 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16406 on both fields and cast pointer to __syscall_ulong_t.
16407
3e5aef87
L
16408 * bits/types.h (__fsword_t): New type.
16409 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16410 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16411 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16412 (__FSWORD_T_TYPE): Likewise.
16413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16414 (__FSWORD_T_TYPE): Likewise.
16415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16416 (__FSWORD_T_TYPE): Likewise.
16417 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16418 (__FSWORD_T_TYPE): Likewise.
16419 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16420 __SWORD_TYPE with __fsword_t.
16421 (statfs64): Likewise.
16422
1ba7c3dc
DM
164232012-05-17 David S. Miller <davem@davemloft.net>
16424
16425 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16426
59910343
AJ
164272012-05-17 Andreas Jaeger <aj@suse.de>
16428
16429 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16430 warning.
16431
2e4c1e9e
L
164322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16433
16434 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16435
de7f5ce7
AJ
164362012-05-17 Andreas Jaeger <aj@suse.de>
16437
16438 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16439 when it is used.
16440
286abc3d
CM
164412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16442
16443 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16444
477cc68e
L
164452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16446
16447 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16448 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16449
1a0994f5
CD
164502012-05-17 Andreas Jaeger <aj@suse.de>
16451 Carlos O'Donell <carlos_odonell@mentor.com>
16452
16453 [BZ #14059]
16454 * sysdeps/x86_64/multiarch/init-arch.h
16455 (bit_YMM_Usable): Rename to...
16456 (bit_AVX_Usable): ... this.
16457 (bit_FMA4_Usable): New macro.
16458 (bit_XMM_state): New macro.
16459 (bit_YMM_state): New macro.
16460 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16461 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16462 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16463 (CPUID_OSXSAVE): New macro.
16464 (CPUID_AVX): New macro.
16465 (CPUID_FMA4): New macro.
16466 (index_YMM_Usable): Rename to...
16467 (index_AVX_Usable): ... this.
16468 (HAS_AVX): Use HAS_ARCH_FEATURE.
16469 (HAS_FMA4): Likewise.
16470 (HAS_YMM_USABLE): Remove.
16471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16472 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16473 are present.
16474 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16475 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16476 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16477 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16478 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16479
0af797de
CM
164802012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16481
16482 * math/libm-test.c: Support platforms without multiple rounding modes.
16483 * math/bug-nextafter.c: Support platforms without FP exceptions.
16484 * math/bug-nexttoward.c: Likewise.
16485 * math/test-fenv.c: Likewise.
16486 * math/test-misc.c: Likewise.
16487 * stdlib/bug-getcontext.c: Likewise.
16488
e39745ff
AJ
164892012-05-17 Andreas Jaeger <aj@suse.de>
16490
16491 * manual/examples/search.c (critter_cmp): Change signature to
16492 avoid warnings.
16493 * manual/string.texi (Collation Functions): Likewise.
16494
48970aba
L
164952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16496
16497 * bits/types.h: Fold copyright years.
16498 * bits/typesizes.h: Likewise.
16499 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16500 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16502 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16503 * time/time.h: Likewise.
16504
bedee953
PP
165052012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16506
16507 [BZ #208]
16508 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16509 in instead of returning them. Return void.
16510 (__libc_mallinfo): Accumulate over all arenas.
16511 (__malloc_stats): Adjust for change in int_mallinfo interface.
16512
61653dfb
RM
165132012-05-16 Roland McGrath <roland@hack.frob.com>
16514
30b99d79
RM
16515 [BZ #10375]
16516 * configure.in (NM): Add AC_CHECK_TOOL for it.
16517 (libc_extra_cflags): New substituted variable.
16518 Check for -fstack-protector being used implicitly.
16519 * configure: Regenerated.
16520 * config.make.in (config-extra-cflags): New variable,
16521 gets @libc_extra_cflags@.
16522 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16523
61653dfb
RM
16524 [BZ #10375]
16525 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16526 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16527 * configure: Regenerated.
16528 * config.make.in (CPPUNDEFS): New substituted variable.
16529 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16530 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16531 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16532
661768bb
L
165332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16534
16535 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16536 (mq_attr): Use __syscall_slong_t.
16537
d4261567
L
165382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16539
16540 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16541 Check __x86_64__ instead of __WORDSIZE.
16542 (_STAT_VER_LINUX): Likewise.
16543 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16544 __syscall_ulong_t and __syscall_slong_t.
16545 (stat64): Likewise.
16546
cf3ff365
L
165472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16548
16549 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16550
76cf3e4d
L
165512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16552
16553 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16554
a637753a
L
165552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16556
16557 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16558 __syscall_ulong_t.
16559
d5e05119
L
16560 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16561 include <bits/wordsize.h>. Check __x86_64__ instead of
16562 __WORDSIZE.
16563 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16564 defined.
16565 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16566
f62ee380
L
16567 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16568 include <bits/wordsize.h>. Check __x86_64__ instead of
16569 __WORDSIZE.
16570 (user_regs_struct): Use "__extension__ unsigned long long"
16571 instead of "unsigned long" if __x86_64__ is defined.
16572 (user): Likewise. Pad after pointer field if __ILP32__ is
16573 defined.
16574
4e124ced
JM
165752012-05-16 Joseph Myers <joseph@codesourcery.com>
16576
6a3951a0
JM
16577 * configure.in (makeinfo): Require version 4.5 or later. Allow
16578 versions 5 to 9.
16579 * configure: Regenerated.
16580 * manual/install.texi (texinfo): Increase version requirement to
16581 4.5 or later.
16582 * INSTALL: Regenerated.
16583
4e124ced
JM
16584 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16585
953ca31a
L
165862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16587
16588 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16589
617aca05
L
16590 * sysdeps/x86_64/x32/ffs.c: New file.
16591
5762f7ae
L
16592 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16593 __syscall_ulong_t.
16594 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16595 defined. Use __syscall_ulong_t.
16596 (shminfo): Use __syscall_ulong_t.
16597 (shm_info): Likewise.
16598
a26b6856
L
16599 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16600 __syscall_ulong_t.
16601
cb2b9ef7
L
16602 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16603 <bits/wordsize.h>.
16604 (msgqnum_t): Use __syscall_ulong_t.
16605 (msglen_t): Likewise.
16606 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16607 __syscall_ulong_t.
16608
34683bb0
L
16609 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16610 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16611
84a68786
L
16612 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16613
48baa5f1
L
16614 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16615 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16616
180be88b
L
16617 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16618 __syscall_slong_t.
16619
5e90c8ad
L
16620 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16621 include <bits/wordsize.h>. Check __x86_64__ instead of
16622 __WORDSIZE.
16623
23dfb58b
L
16624 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16625 "unsigned long long int" if __x86_64__ is defined.
16626 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16627
ce5d54b0
L
16628 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16629 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16630 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16631
13dc9eac
L
16632 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16633 <stdint.h>.
16634 (GET_PC): Cast to uintptr_t first.
16635 (GET_FRAME): Likewise.
16636 (GET_STACK): Likewise.
16637
a7895d15
L
16638 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16639 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16640 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16641 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16642 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16643 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16644 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16645 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16646 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16647 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16648 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16649 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16650 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16651 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16652 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16653 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16654 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16655 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16656 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16657 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16658 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16659 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16660 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16661 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16662 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16663 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16664 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16665 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16666 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16667
656416c9
AS
166682012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16669
5bd66283
AS
16670 * Makerules (+depfiles): Also collect depfiles from .oS in
16671 $(extra-objs).
16672 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16673 .oS, $(libnldbl-routines)).
16674
656416c9
AS
16675 * Makerules (native-compile-mkdep-flags): Define.
16676 * sunrpc/Makefile (extra-objs): Add $(addprefix
16677 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16678 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16679 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16680 calling $(make-target-directory).
16681
a46f2169
L
166822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16683
16684 * bits/types.h (__snseconds_t): Removed.
16685 * time/time.h (struct timespec): Replace __snseconds_t with
16686 __syscall_slong_t.
16687 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16688 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16689 Likewise.
16690 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16691 (__SNSECONDS_T_TYPE): Likewise.
16692 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16693 (__SNSECONDS_T_TYPE): Likewise.
16694 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16695 (__SNSECONDS_T_TYPE): Likewise.
16696
6af6528b
L
166972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16698
16699 * sysdeps/mach/hurd/bits/typesizes.h
16700 (__SYSCALL_SLONG_TYPE): New macro.
16701 (__SYSCALL_ULONG_TYPE): Likewise.
16702
de986b56
L
167032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16704
16705 * bits/types.h (__syscall_slong_t): New type.
16706 (__syscall_ulong_t): Likewise.
16707
16708 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16709 (__SYSCALL_ULONG_TYPE): Likewise.
16710 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16711 (__SYSCALL_SLONG_TYPE): Likewise.
16712 (__SYSCALL_ULONG_TYPE): Likewise.
16713 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16714 (__SYSCALL_SLONG_TYPE): Likewise.
16715 (__SYSCALL_ULONG_TYPE): Likewise.
16716 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16717 (__SYSCALL_SLONG_TYPE): Likewise.
16718 (__SYSCALL_ULONG_TYPE): Likewise.
16719
85736dc7
L
167202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16721
16722 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16723 Add sigaltstack-offsets.sym.
16724 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16725 <sigaltstack-offsets.h>.
16726 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16727 longjmp_msg pointer.
16728 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16729 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16730 signal stack.
16731 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16732
cc03b296
JM
167332012-05-15 Joseph Myers <joseph@codesourcery.com>
16734
a9538892
JM
16735 * elf/stackguard-macros.h: Remove file.
16736 * sysdeps/generic/stackguard-macros.h: New file.
16737 * sysdeps/i386/stackguard-macros.h: Likewise.
16738 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16739 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16740 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16741 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16742 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16743 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16744 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16745 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16746 <elf/stackguard-macros.h>.
16747
cc03b296
JM
16748 [BZ #14109]
16749 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16750 __aligned__ in attribute.
16751 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16752 (gregset_t): Likewise.
16753
93171016
L
167542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16755
16756 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16757 * sysdeps/x86_64/64/Implies-after: Here. New file.
16758 * sysdeps/x86_64/x32/Implies-after: New file.
16759
d86813a0
L
167602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16761
16762 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16763 and access return value for _dl_profile_fixup. Use R10_LP to
16764 load frame size.
16765
2953ec75
L
167662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16767
16768 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16769
3b550e9e
L
167702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16771
16772 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16773 * sysdeps/x86_64/x32/sysdep.h: New file.
16774
eda41706
L
167752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16776
16777 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16778 * sysdeps/x86_64/setjmp.S: Likewise.
16779
9ea01d93
AZ
167802012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16781
16782 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16783 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16784 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16785 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16786 remove unused global constant.
16787
02a91938
CM
167882012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16789
16790 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16791 include of <not-cancel.h>.
16792
6540185f
RM
167932012-05-15 Roland McGrath <roland@hack.frob.com>
16794
16795 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16796
509072a0
AJ
167972012-05-15 Jeff Law <law@redhat.com>
16798 Andreas Jaeger <aj@suse.de>
16799
16800 [BZ #13594]
16801 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16802 out from...
16803 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16804 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16805 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16806 code changing __hst_map_handle.map.
16807
ba75122d
RM
168082012-05-15 Roland McGrath <roland@hack.frob.com>
16809
16810 * configure.in (sysnames): Look for Implies-before and Implies-after
16811 files.
16812 * configure: Regenerated.
16813
890d8bd8
L
168142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16815
16816 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16817 8-byte data alignment with LP_SIZE alignment.
16818
f6ee6623
L
168192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16820
16821 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16822 into R10_LP.
16823
ea2626f6
L
168242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16825
16826 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16827
085f715e
L
168282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16829
16830 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16831 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16832 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16833 Likewise.
16834 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16835
be8498fc
L
168362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16837
16838 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16839 (stackinfo_sub_sp): Likewise.
16840
70bc83b9
L
168412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16842
16843 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16844 RAX_LP.
16845
9bc0b730
L
168462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16847
16848 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16849 into R*_LP.
16850
6d2850e7
L
168512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16852
16853 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16854 sizes into R*_LP.
16855
3cb84561
L
168562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16857
16858 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16859
54e2ed81
L
168602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16861
16862 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16863 into R11_LP and load __x86_64_shared_cache_size_half into
16864 R8_LP.
16865
8a17f349
L
168662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16867
16868 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16869 R8_LP.
16870
777b1eea
AZ
168712012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16872
16873 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16874 logb for POWER7.
16875 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16876 logbf for POWER7.
16877 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16878 logbl for POWER7.
16879 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16880 powerpc32/power7/fpu/s_logb.c via #include.
16881 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16882 powerpc32/power7/fpu/s_logbf.c via #include.
16883 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16884 powerpc32/power7/fpu/s_logbl.c via #include.
16885
d20d4ac2
JM
168862012-05-15 Joseph Myers <joseph@codesourcery.com>
16887
16888 * README.libm: Remove file.
16889
6cdef1ab
L
168902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16891
16892 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16893 count for x32. Use R*_LP and omit operand-size suffix.
16894
0b254d8f
L
168952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16896
16897 * shlib-versions: Move x86_64-.*-linux.* entries to ...
16898 * sysdeps/x86_64/64/shlib-versions: Here. New file.
16899 * sysdeps/x86_64/x32/shlib-versions: New file.
16900
ceb809dc
RM
169012012-05-14 Roland McGrath <roland@hack.frob.com>
16902
16903 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16904 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16905 Use _dl_fatal_printf instead.
16906
37f1abd4
JM
169072012-05-14 Joseph Myers <joseph@codesourcery.com>
16908
16909 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16910 set if not set by the user. Do not allow for being unset.
16911 * sysdeps/unix/sysv/linux/configure: Regenerated.
16912
11de3a33
L
169132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16914
16915 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16916 the `q' suffix from lea and replace .quad with ASM_ADDR.
16917
e02f153a
L
169182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16919
16920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16921 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16922 instead of $17.
16923 (PTR_DEMANGLE): Likewise.
16924
520ae0fd
L
169252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16926
16927 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16928 (LP_OP): Likewise.
16929 (ASM_ADDR): Likewise.
16930 (RAX_LP): Likewise.
16931 (RBP_LP): Likewise.
16932 (RBX_LP): Likewise.
16933 (RCX_LP): Likewise.
16934 (RDI_LP): Likewise.
16935 (RSI_LP): Likewise.
16936 (RSP_LP): Likewise.
16937 (R8_LP): Likewise.
16938 (R9_LP): Likewise.
16939 (R10_LP): Likewise.
16940 (R10_LP): Likewise.
16941 (R11_LP): Likewise.
16942 (R12_LP): Likewise.
16943 (R13_LP): Likewise.
16944 (R14_LP): Likewise.
16945 (R15_LP): Likewise.
16946
b985be81
L
169472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16948
16949 * sysdeps/x86_64/x32/dl-machine.h: New file.
16950
6a4888ff
AJ
169512012-05-14 Andreas Jaeger <aj@suse.de>
16952
16953 * manual/Makefile (subdir): Remove export of subdir.
16954 (all): Remove target.
16955 (.PHONY): Remove all from list.
16956 (mkinstalldirs): Remove.
16957 (.PHONY): Remove installdirs from list.
16958 ($(inst_infodir)/libc.info): Use make-target-directory.
16959 (installdirs): Remove.
16960 (subdir_%): Remove.
16961 (glibc-targets): Remove.
16962 (lib): Remove.
16963 (stubs): Remove.
16964 ($(objpfx)stubs ../po/manual.pot): Remove.
16965 ($(objpfx)stamp%): Remove.
16966 (make-target-directory): Remove.
16967 (subdir_install): Remove.
16968 (routines): Remove.
16969 (aux): Remove.
16970 (sources): Remove.
16971 (objects): Remove.
16972 (headers): Remove.
16973
16974 [BZ #13750]
16975 * manual/.gitignore: Remove, it's not needed anymore.
16976 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16977 all files in it.
16978 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16979 directory.
16980 (texis): Renamed to $(objpfx)texis.
16981 (texis-path): New, contains path to generated files.
16982 (chapters.%): Use texis-path for complete path, add extra argument
16983 libc-texinfo.sh.
16984 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16985 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16986 (summary,texi, stamp-summary): Use complete path of
16987 files. Generate files in build dir.
16988 (dir-add.texi): Build in build dir.
16989 (libm-err.texi,stamp-libm-err): Likewise.
16990 (version.texi, stamp-version): Likewise.
16991 (.%c.texi): Likewise.
16992 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16993 (mostlyclean): Remove target.
16994 (realclean): Remove target.
16995 (generated): Add new variable with contents from mostlyclean and
16996 realclean, remove entries duplicated in common-mostlyclean, add
16997 stamp-libm-err and stamp-version.
16998 (generated-dirs): Add libc directory.
16999 ($(inst_infodir)/libc.info): Install files from build dir.
17000
17001 * manual/install.texi (Configuring and compiling): Adjust since
17002 the info files are not part of the tar ball anymore.
17003
7ac77294
AJ
170042012-05-14 Andreas Jaeger <aj@suse.de>
17005
17006 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17007 variable.
17008
ffb7875d
JM
170092012-05-14 Joseph Myers <joseph@codesourcery.com>
17010
17011 [BZ #13717]
17012 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17013 to 2.2.0 where earlier.
17014 * sysdeps/unix/sysv/linux/configure: Regenerated.
17015 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17016 Remove conditional code.
17017 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17018 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17019 Remove conditional code.
17020 [!__NR_lchown]: Likewise.
17021 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17022 [__NR_lchown]: Likewise.
17023 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17024 comment referencing __ASSUME_LCHOWN_SYSCALL.
17025 * sysdeps/unix/sysv/linux/i386/sigaction.c
17026 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17027 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17028 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17029 Remove conditional code.
17030 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17031 (__protocol_available): Remove #if 0 code.
17032 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17033 conditional code.
17034 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17035 * sysdeps/unix/sysv/linux/kernel-features.h
17036 (__ASSUME_GETCWD_SYSCALL): Don't define.
17037 (__ASSUME_REALTIME_SIGNALS): Likewise.
17038 (__ASSUME_PREAD_SYSCALL): Likewise.
17039 (__ASSUME_PWRITE_SYSCALL): Likewise.
17040 (__ASSUME_POLL_SYSCALL): Likewise.
17041 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17042 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17043 non-SPARC.
17044 (__ASSUME_SIOCGIFNAME): Don't define.
17045 (__ASSUME_MSG_NOSIGNAL): Likewise.
17046 (__ASSUME_SENDFILE): Define unconditionally.
17047 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17048 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17049 conditional code.
17050 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17051 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17052 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17053 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17054 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17055 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17056 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17058 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17059 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17061 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17062 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17064 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17065 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17067 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17068 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17070 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17071 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17073 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17074 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17076 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17077 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17079 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17080 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17081 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17082 Remove conditional code.
17083 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17084 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17085 Remove conditional code.
17086 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17087 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17088 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17089 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17090 Remove conditional code.
17091 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17092 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17093 Remove conditional code.
17094 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17095 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17096 Remove conditional code.
17097 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17098 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17099 Remove conditional code.
17100 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17101 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17102 Remove conditional code.
17103 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17104 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17105 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17106 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17107 * sysdeps/unix/sysv/linux/sigaction.c
17108 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17109 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17110 * sysdeps/unix/sysv/linux/sigpending.c
17111 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17112 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17113 * sysdeps/unix/sysv/linux/sigprocmask.c
17114 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17115 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17116 * sysdeps/unix/sysv/linux/sigsuspend.c
17117 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17118 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17119 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17120 (__libc_missing_rt_sigs): Remove.
17121 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17122 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17123 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17124 Remove conditional code.
17125 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17126 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17127 return 1.
17128 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17129 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17130 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17131 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17132
1bfb7291
AJ
171332012-05-14 Andreas Jaeger <aj@suse.de>
17134
caae5a81
AJ
17135 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17136 it's not used in glibc.
17137 (__coshm1): Likewise.
17138 (__acosh1p): Likewise.
17139 (__sgn): Likewise.
17140
1bfb7291
AJ
17141 * manual/string.texi (Copying and Concatenation): Add missing
17142 variable in concat example.
17143 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17144
c044d724
L
171452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17146
144c5467 17147 [BZ #14103]
c044d724
L
17148 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17149 __builtin_clzl with __builtin_clzll.
17150
2523c62b
L
171512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17152
17153 [BZ #14104]
17154 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17155 libc_freeres_ptr.
17156
d7bb4c42
LD
171572012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17158
17159 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17160 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17161 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17162 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17163
9dc4e1fb
MF
171642012-05-14 Mike Frysinger <vapier@gentoo.org>
17165
17166 * NEWS: Update ia64 info.
17167
c7df0112
AS
171682012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17169
17170 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17171 used as bcopy.
17172
dc70356c
TS
171732012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17174
17175 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17176 * sysdeps/unix/syscalls.list (dup3): Likewise.
17177 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17178 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17179
9fb1a21f
L
171802012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17181
17182 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17183 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17184
4822a2a5
L
171852012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17186
17187 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17188 thread pointer.
17189 (TLS_IE): Use mov/add instead of movq/addq to load thread
17190 pointer.
17191 (TLS_GD_PREFIX): New.
17192 (TLS_GD): Use it.
17193
842b81d6
DM
171942012-05-11 David S. Miller <davem@davemloft.net>
17195
17196 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17197 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17198 (_FPU_SETCW): Likewise.
17199
1cf463cd
L
172002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17201
17202 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17203 is 32-byte aligned.
17204
60cc4a18
AS
172052012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17206
17207 [BZ #11837]
17208 * iconvdata/gb18030.c: Update tables.
17209 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17210 characters specially.
17211 (BODY for TO_LOOP): Add encoding of missing ranges.
17212
febb44a4
TS
172132012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17214
17215 [BZ #13673]
17216 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17217 * sysdeps/mach/hurd/dup3.c: Likewise.
17218 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17219 * sysdeps/powerpc/memmove.c:: Likewise.
17220
0a10fb9e
L
172212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17222
17223 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17224 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17225
df8a552f
L
172262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17227
17228 * elf/elf.h (R_X86_64_RELATIVE64): New.
17229 (R_X86_64_NUM): Updated.
17230 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17231 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17232 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17233 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17234 tst-quad1pie tst-quad2pie
17235 (modules-names): Add tst-quadmod1 tst-quadmod2.
17236 ($(objpfx)tst-quad1): New dependency.
17237 ($(objpfx)tst-quad2): Likewise.
17238 ($(objpfx)tst-quad1pie): Likewise.
17239 ($(objpfx)tst-quad2pie): Likewise.
17240 * sysdeps/x86_64/tst-quad1.c: New file.
17241 * sysdeps/x86_64/tst-quad1pie.c: New file.
17242 * sysdeps/x86_64/tst-quad2.c: Likewise.
17243 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17244 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17245 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17246 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17247 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17248
f34d6f84
ST
172492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17250
f42d41d1
ST
17251 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17252 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17253 * streams/stropts.h (t_scalar_t): Define type.
17254
3c3571fc
ST
17255 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17256 (_PATH_PRESERVE): Set to "/var/lib".
17257 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17258
61f06bd3
ST
17259 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17260 instead of int.
17261
918d4d71
ST
17262 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17263 if __dir_mkfile succeeded.
17264
f34d6f84
ST
17265 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17266 checking for _hurd_dtablesize. Unlock it right after having
17267 finished _hurd_dtable allocation.
17268
10589b4a
TS
172692012-05-10 Thomas Schwinge <thomas@schwinge.name>
17270
674cdbc7
TS
17271 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17272 * sysdeps/mach/hurd/configure: Regenerated.
17273 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17274 special-casing to...
17275 * sysdeps/gnu/configure.in: ... this new file.
17276 * sysdeps/unix/sysv/linux/configure: Regenerated.
17277 * sysdeps/gnu/configure: New generated file.
17278
8e41b99f
TS
17279 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17280 for Linux: use nsec instead of usec, as well as:
17281 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17282 members of type struct timespec.
17283 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17284 New macros.
17285 (struct stat64): Likewise.
17286 (_STATBUF_ST_NSEC): New macro.
17287 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17288
10589b4a
TS
17289 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17290 __strtoul_internal rather than strtoul.
17291
63643c85
PT
172922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17293
17294 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17295 and reject them.
17296
3faebe6a
ST
172972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17298
17299 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17300 which preserves existing values.
17301 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17302
c6474b07
PT
173032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17304
17305 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17306 TIMEOUT values. Return EINVAL for NFDS values either negative or
17307 greater than FD_SETSIZE.
17308
1043890b
ST
173092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17310
17311 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17312 allocated, call __vm_protect to finish enabling the existing space, and
17313 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17314 allocate the remainder.
17315
37ed8b9b
PT
173162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17317
17318 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17319 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17320
db653660
ST
173212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17322
37ed8b9b
PT
17323 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17324 sysdeps/mach/hurd/readlink.c.
b29d4053 17325
db653660
ST
17326 * posix/tst-sysconf.c (posix_options): Only use
17327 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17328 _POSIX_SYNCHRONIZED_IO when they are defined
17329 * sysdeps/mach/hurd/bits/posix_opt.h:
17330 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17331 (_XOPEN_REALTIME): Undefine macro.
17332 (_XOPEN_REALTIME_THREADS): Undefine macro.
17333 (_XOPEN_SHM): Undefine macro.
17334 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17335 macro to -1.
17336 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17337 macro to -1.
17338 (_POSIX_ASYNC_IO): Undefine macro.
17339 (_POSIX_PRIORITIZED_IO): Undefine macro.
17340 (_POSIX_SPIN_LOCKS): Define macro to -1.
17341
ee16e894
ST
17342 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17343 SA_NODEFER, SA_RESETHAND.
17344 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17345 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17346 F_DUPFD_CLOEXEC.
17347
6103ae3b
TS
173482012-05-10 Thomas Schwinge <thomas@schwinge.name>
17349
17350 * elf/Makefile (pldd-modules): Define unconditionally.
17351
80b4e5f3
TS
173522012-05-10 Thomas Schwinge <thomas@schwinge.name>
17353
17354 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17355
edadcbd6
ST
173562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17357
17358 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17359 Return ENOENT when name is empty.
17360 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17361
80694780
TS
173622012-05-10 Thomas Schwinge <thomas@schwinge.name>
17363
1792c087
TS
17364 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17365
80694780
TS
17366 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17367
6b645f0d
ST
173682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17369
80694780
TS
17370 Fix mlock in all cases except non-readable pages.
17371 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17372 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 17373
6b645f0d
ST
17374 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17375 (__mkdir): When path is `/', just fail with EEXIST.
17376 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17377
e468f8a3
TS
173782012-05-10 Thomas Schwinge <thomas@schwinge.name>
17379
17380 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17381 <sys/uio.h> (for writev).
17382 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17383 and <sys/param.h> (for MIN).
17384
a4186cff
PT
173852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17386
17387 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17388 REQUESTED_TIME. Properly set the remaining time and return EINTR
17389 if interrupted.
17390
510bbf14
TS
173912012-05-10 Thomas Schwinge <thomas@schwinge.name>
17392
17393 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17394 Depend on against $(link-rpcuserlibs).
17395
5d5722e8
ST
173962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17397
a4186cff
PT
17398 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17399 (__libc_stack_end): Do not use attribute_relro.
17400 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17401 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 17402 to libthread-provided value.
a4186cff
PT
17403 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17404 attribute_relro.
5d5722e8 17405
37233df9
TS
174062012-05-10 Thomas Schwinge <thomas@schwinge.name>
17407
be971a2b
TS
17408 [BZ #3748]
17409 * bits/libc-lock.h (__libc_once_get): New macro.
17410 * sysdeps/mach/bits/libc-lock.h: Likewise.
17411 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17412 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17413 instead of using implementation details.
17414
37233df9
TS
17415 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17416 * libio/freopen.c: Likewise.
17417 * libio/freopen64.c: Likewise.
17418 * misc/syslog.c: Likewise.
17419 * nscd/connections.c: Likewise.
17420 * nscd/netgroupcache.c: Likewise.
17421 * sysdeps/posix/getcwd.c: Likewise.
17422
38de94a5
RM
174232012-05-10 Roland McGrath <roland@hack.frob.com>
17424
17425 * math/w_ilogbf.c: Add #include <limits.h>.
17426
67530489
ST
174272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17428
a4186cff 17429 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
17430 path instead of returning without unlocking.
17431
67530489
ST
17432 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17433 immediate-write ioctls.
17434 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17435
5aa3a74a
TS
174362012-05-10 Thomas Schwinge <thomas@schwinge.name>
17437
18bad2ae
TS
17438 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17439 __builtin_frame_address instead of making assumptions about the
17440 location of the return address relative to DATA. Force early load of
17441 the return address.
17442 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17443 __builtin_frame_address.
17444
5aa3a74a
TS
17445 dup3 for GNU Hurd.
17446 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17447 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17448 implement dup3 and do some further code clean-ups.
17449 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17450 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17451
ecd0de9a
ST
174522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17453
cd9fa985
ST
17454 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17455
a4186cff
PT
17456 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17457 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17458 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17459 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17460 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17461 d->port.lock.
802ca5a5 17462
a4186cff
PT
17463 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17464 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17465 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 17466
bcf55240
TS
174672012-05-10 Thomas Schwinge <thomas@schwinge.name>
17468
6960eb42
TS
17469 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17470 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17471 definitions.
17472
eb43375f
TS
17473 accept4 for GNU Hurd.
17474 * include/sys/socket.h (__libc_accept4): New prototype.
17475 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17476 to implement __libc_accept4.
17477 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17478 __libc_accept4.
17479 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17480
bcf55240
TS
17481 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17482 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17483 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17484 signal-defines.sym.
17485
6178c55b
ST
174862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17487
a4186cff 17488 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 17489
6f080c2f
TS
174902012-05-10 Thomas Schwinge <thomas@schwinge.name>
17491
17492 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17493 assertion on O_CLOEXEC flag.
17494 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17495 * hurd/intern-fd.c: Likewise.
17496 * hurd/port2fd.c: Likewise.
17497
bcfe3a54
ST
174982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17499
17500 [BZ #3906]
17501 * bits/in.h (IPV6_PKTINFO): Define new macro.
17502 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17503
89c9aa49
AZ
175042012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17505
17506 [BZ #13954]
17507 [BZ #13955]
17508 [BZ #13956]
17509 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17510 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17511 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17512 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17513 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17514 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17515 * math/libm-test.inc (logb_test) : Additional logb tests.
17516
021db4be
AJ
175172012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17518 Andreas Jaeger <aj@suse.de>
17519
17520 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17521 * configure: Regenerated.
17522 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17523 * config.make.in (link-obsolete-rpc): New substituted variable.
17524 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17525 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17526 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17527 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17528 so that libc.a contains the symbols.
17529 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17530 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17531 * sunrpc/auth_none.c: Likewise.
17532 * sunrpc/auth_unix.c: Likewise.
17533 * sunrpc/authdes_prot.c: Likewise.
17534 * sunrpc/authuxprot.c: Likewise.
17535 * sunrpc/clnt_gen.c: Likewise.
17536 * sunrpc/clnt_perr.c: Likewise.
17537 * sunrpc/clnt_raw.c: Likewise.
17538 * sunrpc/clnt_simp.c: Likewise.
17539 * sunrpc/clnt_tcp.c: Likewise.
17540 * sunrpc/clnt_udp.c: Likewise.
17541 * sunrpc/clnt_unix.c: Likewise.
17542 * sunrpc/des_crypt.c: Likewise.
17543 * sunrpc/des_soft.c: Likewise.
17544 * sunrpc/get_myaddr.c: Likewise.
17545 * sunrpc/key_call.c: Likewise.
17546 * sunrpc/key_prot.c: Likewise.
17547 * sunrpc/netname.c: Likewise.
17548 * sunrpc/pm_getmaps.c: Likewise.
17549 * sunrpc/pm_getport.c: Likewise.
17550 * sunrpc/pmap_clnt.c: Likewise.
17551 * sunrpc/pmap_prot.c: Likewise.
17552 * sunrpc/pmap_prot2.c: Likewise.
17553 * sunrpc/pmap_rmt.c: Likewise.
17554 * sunrpc/publickey.c: Likewise.
17555 * sunrpc/rpc_cmsg.c: Likewise.
17556 * sunrpc/rpc_common.c: Likewise.
17557 * sunrpc/rpc_dtable.c: Likewise.
17558 * sunrpc/rpc_prot.c: Likewise.
17559 * sunrpc/rpc_thread.c: Likewise.
17560 * sunrpc/rtime.c: Likewise.
17561 * sunrpc/svc.c: Likewise.
17562 * sunrpc/svc_auth.c: Likewise.
17563 * sunrpc/svc_raw.c: Likewise.
17564 * sunrpc/svc_run.c: Likewise.
17565 * sunrpc/svc_tcp.c: Likewise.
17566 * sunrpc/svc_udp.c: Likewise.
17567 * sunrpc/svc_unix.c: Likewise.
17568 * sunrpc/svcauth_des.c: Likewise.
17569 * sunrpc/xcrypt.c: Likewise.
17570 * sunrpc/xdr.c: Likewise.
17571 * sunrpc/xdr_array.c: Likewise.
17572 * sunrpc/xdr_float.c: Likewise.
17573 * sunrpc/xdr_intXX_t.c: Likewise.
17574 * sunrpc/xdr_mem.c: Likewise.
17575 * sunrpc/xdr_rec.c: Likewise.
17576 * sunrpc/xdr_ref.c: Likewise.
17577 * sunrpc/xdr_sizeof.c: Likewise.
17578 * sunrpc/xdr_stdio.c: Likewise.
17579
b5c086a2
RM
175802012-05-10 Roland McGrath <roland@hack.frob.com>
17581
17582 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17583 change. Update copyright years.
17584
6d74dd09
JM
175852012-05-10 Joseph Myers <joseph@codesourcery.com>
17586
17587 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17588
28e72501
MK
175892012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17590 Joseph Myers <joseph@codesourcery.com>
17591 Paul Pluzhnikov <ppluzhnikov@google.com>
17592
17593 [BZ #14012]
17594 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17595 requiring rpcgen.
17596 [cross-compiling] (extra-libs): Likewise.
17597 [cross-compiling] (extra-libs-others): Likewise.
17598 [cross-compiling] (librpcsvc-routines): Likewise.
17599 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17600 [cross-compiling] (omit-deps): Likewise.
17601 (sunrpc-CPPFLAGS): New variable.
17602 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17603 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17604 (cross-rpcgen-objs): New variable.
17605 (extra-objs): Append $(cross-rpcgen-objs).
17606 ($(cross-rpcgen-objs)): New rule.
17607 ($(objpfx)cross-rpcgen): Likewise.
17608 (rpcgen-cmd): Define to use $(built-program-file). Expand
17609 comment.
17610 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17611 ($(objpfx)x%.stmp): Likewise.
17612 * sunrpc/proto.h [IS_IN_build] (_): Define.
17613 [IS_IN_build] (_libc_intl_domainname): Likewise.
17614
c8c59454
L
176152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17616
17617 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17618 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17619 and R_X86_64_TPOFF64.
17620
6f27cd16
JM
176212012-05-10 Joseph Myers <joseph@codesourcery.com>
17622
17623 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17624 sysdeps/unix/sysv/syscalls.list.
17625 (stime): Likewise.
17626 (utime): Likewise.
17627 * sysdeps/unix/sysv/syscalls.list: Remove file.
17628
02467e1c
PE
176292012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17630
17631 [BZ #3440]
17632 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17633 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17634 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17635 (__LC_IDENTIFICATION): Make these macros useful in #if
17636 expressions, as required by C99.
17637
da392631
AS
176382012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17639
17640 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17641 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17642 after this.
17643
8115f29b
L
176442012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17645
17646 * stdlib/longlong.h: Updated from GCC.
17647
bdd74070
AJ
176482012-05-09 Andreas Jaeger <aj@suse.de>
17649
edfe0dbe
AJ
17650 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17651 default is first entry.
17652 (run_mode): Set type.
17653 (main): Remove informal message about syslog.
17654 (options): Fix typo.
17655
bcfe3a54
ST
17656 [BZ #14053]
17657 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 17658 to asm.
bcfe3a54
ST
17659 (lrint): Likewise.
17660 (llrintf): Likewise.
17661 (llrint): Likewise.
17662 (rint): Likewise.
17663 (rintf): Likewise.
17664 (nearbyint): Likewise.
17665 (nearbyintf): Likewise.
bdd74070 17666
91d8d69e
AJ
176672012-05-09 Andreas Jaeger <aj@suse.de>
17668 Pedro Alves <palves@redhat.com>
17669
17670 * nscd/nscd.c (run_mode): Use enum.
17671 (main): Cleanup coding style issue.
17672
bb90b80b
AJ
176732012-05-09 Alexandre Oliva <aoliva@redhat.com>
17674 Andreas Jaeger <aj@suse.de>
17675
bcfe3a54
ST
17676 * nscd/nscd.c (go_background): Replaced with...
17677 (run_mode): ... this.
bb90b80b 17678 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
17679 (options): Add -F --foreground.
17680 (main): Implement it.
17681 (parse_opt): Parse it.
bb90b80b 17682
1a4b75a1
AJ
176832012-05-09 Andreas Jaeger <aj@suse.de>
17684
17685 [BZ #14083]
17686 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17687 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17688 -Wconversion warning.
17689 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17690 Likewise.
17691
b1cc2472
JM
176922012-05-09 Joseph Myers <joseph@codesourcery.com>
17693
17694 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17695 == 0.
17696 (LC_ALL): Use macro-int-constant.
17697 (LC_COLLATE): Likewise.
17698 (LC_CTYPE): Likewise.
17699 (LC_MESSAGES): Likewise.
17700 (LC_MONETARY): Likewise.
17701 (LC_NUMERIC): Likewise.
17702 (LC_TIME): Likewise.
17703 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17704 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17705 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17706 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17707 Specify type.
17708 [C99-based standards] (float_t): Expect type.
17709 [C99-based standards] (double_t): Expect type.
17710 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17711 type.
17712 [C99-based standards] (HUGE_VALL): Likewise.
17713 [C99-based standards] (INFINITY): Likewise.
17714 [C99-based standards] (NAN): Likewise.
17715 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17716 [C99-based standards] (FP_NAN): Likewise.
17717 [C99-based standards] (FP_NORMAL): Likewise.
17718 [C99-based standards] (FP_SUBNORMAL): Likewise.
17719 [C99-based standards] (FP_ZERO): Likewise.
17720 [C99-based standards] (FP_FAST_FMA): Use
17721 optional-macro-int-constant. Specify type. Require == 1.
17722 [C99-based standards] (FP_FAST_FMAF): Likewise.
17723 [C99-based standards] (FP_FAST_FMAL): Likewise.
17724 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17725 [C99-based standards] (FP_ILOGBNAN): Likewise.
17726 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17727 Specify type.
17728 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17729 [C99-based standards] (math_errhandling): Specify type.
17730 [ISO99 || ISO11] (signgam): Do not allow.
17731 [non-C99-based standards] (copysignf): Do not allow.
17732 [non-C99-based standards] (exp2f): Likewise.
17733 [non-C99-based standards] (log2f): Likewise.
17734 [non-C99-based standards] (modff): Allow.
17735 [non-C99-based standards] (erff): Do not allow.
17736 [non-C99-based standards] (erfcf): Likewise.
17737 [non-C99-based standards] (gammaf): Likewise.
17738 [non-C99-based standards] (hypotf): Likewise.
17739 [non-C99-based standards] (j0f): Likewise.
17740 [non-C99-based standards] (j1f): Likewise.
17741 [non-C99-based standards] (jnf): Likewise.
17742 [non-C99-based standards] (lgammaf): Likewise.
17743 [non-C99-based standards] (tgammaf): Likewise.
17744 [non-C99-based standards] (y0f): Likewise.
17745 [non-C99-based standards] (y1f): Likewise.
17746 [non-C99-based standards] (ynf): Likewise.
17747 [non-C99-based standards] (isnanf): Likewise.
17748 [non-C99-based standards] (acoshf): Likewise.
17749 [non-C99-based standards] (asinhf): Likewise.
17750 [non-C99-based standards] (atanhf): Likewise.
17751 [non-C99-based standards] (cbrtf): Likewise.
17752 [non-C99-based standards] (expm1f): Likewise.
17753 [non-C99-based standards] (ilogbf): Likewise.
17754 [non-C99-based standards] (log1pf): Likewise.
17755 [non-C99-based standards] (logbf): Likewise.
17756 [non-C99-based standards] (nextafterf): Likewise.
17757 [non-C99-based standards] (remainderf): Likewise.
17758 [non-C99-based standards] (rintf): Likewise.
17759 [non-C99-based standards] (scalbf): Likewise.
17760 [non-C99-based standards] (copysignl): Likewise.
17761 [non-C99-based standards] (exp2l): Likewise.
17762 [non-C99-based standards] (log2l): Likewise.
17763 [non-C99-based standards] (modfl): Allow.
17764 [non-C99-based standards] (erfl): Do not allow.
17765 [non-C99-based standards] (erfcl): Likewise.
17766 [non-C99-based standards] (gammal): Likewise.
17767 [non-C99-based standards] (hypotl): Likewise.
17768 [non-C99-based standards] (j0l): Likewise.
17769 [non-C99-based standards] (j1l): Likewise.
17770 [non-C99-based standards] (jnl): Likewise.
17771 [non-C99-based standards] (lgammal): Likewise.
17772 [non-C99-based standards] (tgammal): Likewise.
17773 [non-C99-based standards] (y0l): Likewise.
17774 [non-C99-based standards] (y1l): Likewise.
17775 [non-C99-based standards] (ynl): Likewise.
17776 [non-C99-based standards] (isnanl): Likewise.
17777 [non-C99-based standards] (acoshl): Likewise.
17778 [non-C99-based standards] (asinhl): Likewise.
17779 [non-C99-based standards] (atanhl): Likewise.
17780 [non-C99-based standards] (cbrtl): Likewise.
17781 [non-C99-based standards] (expm1l): Likewise.
17782 [non-C99-based standards] (ilogbl): Likewise.
17783 [non-C99-based standards] (log1pl): Likewise.
17784 [non-C99-based standards] (logbl): Likewise.
17785 [non-C99-based standards] (nextafterl): Likewise.
17786 [non-C99-based standards] (remainderl): Likewise.
17787 [non-C99-based standards] (rintl): Likewise.
17788 [non-C99-based standards] (scalbl): Likewise.
17789 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17790 [non-C99-based standards] (FP_*): Do not allow.
17791 [C99-based standards] (FP_*): Change to
17792 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17793 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17794 allow.
17795 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17796 (SIG_ERR): Likewise.
17797 [X/Open-based standards] (SIG_HOLD): Likewise.
17798 (SIG_IGN): Likewise.
17799 (SIGABRT): Use macro-int-constant. Specify type. Require
17800 positive value.
17801 (SIGFPE): Likewise.
17802 (SIGILL): Likewise.
17803 (SIGINT): Likewise.
17804 (SIGSEGV): Likewise.
17805 (SIGTER): Likewise.
17806 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17807 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17808 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17809 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17810 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17811 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17812 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17813 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17814 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17815 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17816 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17817 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17818 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17819 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17820 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17821 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17822 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17823 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17824 [X/Open-based standards] (SIGTRAP): Likewise.
17825 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17826 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17827 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17828 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17829 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17830 allow.
17831
b9f1922d
IW
178322012-05-08 Ian Wienand <ianw@vmware.com>
17833
17834 [BZ #14080]
17835 * time/tzset.c (__tzset_parse_tz): Update default rules for
17836 daylight time changes in the Energy Policy Act of 2005.
17837
1db86e88
AJ
178382012-05-09 Andreas Jaeger <aj@suse.de>
17839
17840 [BZ #13983]
17841 * elf/ldconfig.c (parse_conf): Change string to make clear that
17842 ldconfig only issued a warning if ld.so.conf does not exist.
17843
dee4a4e3
DM
178442012-05-08 David S. Miller <davem@davemloft.net>
17845
ee0db190
DM
17846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17847 movxtod instead of popping the value on the stack.
17848
dee4a4e3
DM
17849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17850
6a43ec98
CD
178512012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17852
17853 * config.h.in: Add HAVE_ARM_PCS_VFP.
17854
05c2c961
RMG
178552012-05-08 Roland Mc Grath <roland@hack.frob.com>
17856
bcfe3a54
ST
17857 [BZ #13979]
17858 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17859 checking but the checks are disabled for any reason.
05c2c961 17860
4b30f61a
L
178612012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17862
17863 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17864 and ELF64_R_TYPE with ELFW(R_TYPE).
17865
eee2bc67
JM
178662012-05-08 Joseph Myers <joseph@codesourcery.com>
17867
7ea5391a
JM
17868 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17869 (ulimit): Likewise.
17870
eee2bc67
JM
17871 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17872 (settimeofday): Likewise.
17873
abb66a67
MF
178742012-05-08 Mike Frysinger <vapier@gentoo.org>
17875
17876 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17877 a struct th_u2 inside the union, and move tu_block/tu_code into
17878 a new th_u3 union of tu_block/tu_code inside of that. Move
17879 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17880 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17881 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17882 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17883 (th_stuff): Change to th_u1.tu_stuff.
17884 (th_data): Define.
17885 (th_msg): Change to th_u1.th_u2.tu_data.
17886
7f18b530
DM
178872012-05-07 David S. Miller <davem@davemloft.net>
17888
05760585
DM
17889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17890
7f18b530
DM
17891 [BZ #14074]
17892 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17893 (SETUP_PIC_REG): Use it.
17894 (SETUP_PIC_REG_LEAF): Use it.
17895
495fd99f
JM
178962012-05-07 Joseph Myers <joseph@codesourcery.com>
17897
17898 [BZ #13885]
17899 [BZ #13923]
17900 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17901 USE_AS_EXPM1L.
17902 (EXPL_FINITE): Likewise.
17903 (FLDLOG): Likewise.
17904 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17905 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17906 e_expl.S.
17907 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17908 USE_AS_EXPM1L.
17909 (EXPL_FINITE): Likewise.
17910 (FLDLOG): Likewise.
17911 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17912 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17913 e_expl.S.
17914 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
17915 test of -max_value argument for long double.
17916 * sysdeps/i386/fpu/libm-test-ulps: Update.
17917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17918
6693d694
DM
179192012-05-06 David S. Miller <davem@davemloft.net>
17920
17921 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17922 quad soft-float symbols whose references which are compiler
17923 generated.
17924 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17925
6c23e11c
JM
179262012-05-06 Joseph Myers <joseph@codesourcery.com>
17927
d8b82cad
JM
17928 [BZ #13884]
17929 [BZ #13914]
17930 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17931 USE_AS_EXP10L.
17932 (EXPL_FINITE): Likewise.
17933 (FLDLOG): Likewise.
17934 (c0): Likewise.
17935 (c1): Likewise.
17936 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17937 Adjust comments for base varying.
17938 (__expl_finite): Change alias to EXPL_FINITE.
17939 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17940 e_expl.S.
17941 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17942 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17943 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17944 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17945 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17946 USE_AS_EXP10L.
17947 (EXPL_FINITE): Likewise.
17948 (FLDLOG): Likewise.
17949 (c0): Likewise.
17950 (c1): Likewise.
17951 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17952 Adjust comments for base varying.
17953 (__expl_finite): Change alias to EXPL_FINITE.
17954 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
17955 tests for bugs.
17956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17957
6c23e11c
JM
17958 [BZ #14064]
17959 * math/libm-test.inc (check_float_internal): Correct ulp
17960 calculation for subnormal expected results.
17961
29ba805c
AJ
179622012-05-06 Andreas Jaeger <aj@suse.de>
17963
17964 * Makeconfig (+math-flags): New, set to -frounding-math.
17965 (+cflags): Add +math-flags so that all of glibc gets compiled with
17966 it.
17967
17968 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17969
7b17aeda
JM
179702012-05-05 Joseph Myers <joseph@codesourcery.com>
17971
5779f134
JM
17972 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17973 Disable one test.
17974
41498f4d
JM
17975 [BZ #13787]
17976 [BZ #13922]
17977 [BZ #14036]
17978 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17979 (__ieee754_expl): Allow for and saturate large arguments.
17980 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17981 (u_threshold): Likewise.
17982 (__exp): Call __ieee754_exp before checking for overflow and
17983 underflow.
17984 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17985 (u_threshold): Likewise.
17986 (__expf): Call __ieee754_expf before checking for overflow and
17987 underflow.
17988 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17989 (u_threshold): Likewise.
17990 (__expl): Call __ieee754_expl before checking for overflow and
17991 underflow.
17992 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17993 (__ieee754_expl): Allow for and saturate large arguments.
17994 * math/libm-test.inc (exp_test): Add another test. Do not allow
17995 missing overflow exception on overflow.
17996 (expm1_test): Do not allow missing overflow exception on overflow.
17997
6698b8bf
JM
17998 * sysdeps/i386/fpu/e_expl.c: Move to ...
17999 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18000 rather than using inline asm.
18001 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18002 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18003 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18004
7b17aeda
JM
18005 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18006 (nice): Likewise.
18007 (poll): Likewise.
18008 (signal): Likewise.
18009 (time): Likewise.
18010 (times): Likewise.
18011
f7c85819
JM
180122012-05-04 Joseph Myers <joseph@codesourcery.com>
18013
18014 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18015 sysdeps/unix/common/syscalls.list.
18016 (fchmod): Likewise.
18017 (fchown): Likewise.
18018 (ftruncate): Likewise.
18019 (getrusage): Likewise.
18020 (gettimeofday): Likewise.
18021 (setpgid): Likewise.
18022 (setregid): Likewise.
18023 (setreuid): Likewise.
18024 (sigaction): Likewise.
18025 (truncate): Likewise.
18026 (vhangup): Likewise.
18027 * sysdeps/unix/common/syscalls.list: Remove file.
18028 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18029 * sysdeps/unix/sysv/linux/Implies: Likewise.
18030
336270d0
L
180312012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18032
18033 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18035 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18036 Moved to ...
18037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18038 Here.
18039 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18040 to ...
18041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18042 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18043 to ...
18044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18045 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18046 to ...
18047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18048 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18049 to ...
18050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18051 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18052 to ...
18053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18054 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18055 to ...
18056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18057 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18058 to ...
18059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18060 Here.
18061 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18062 to ...
18063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18064 Here.
18065 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18066 to ...
18067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18068 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18069 Moved to ...
18070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18071 Here.
18072 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18073 to ...
18074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18075
d128e450
JM
180762012-05-04 Joseph Myers <joseph@codesourcery.com>
18077
fa8ee516
JM
18078 * sysdeps/unix/common/bits/dirent.h: Remove file.
18079 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18080
d128e450
JM
18081 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18082 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18083 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18084 * sysdeps/unix/bsd/isatty.c: Likewise.
18085 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18086 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18087 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18088
ff8faaf0 180892012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18090
62881be4 18091 [BZ #13563]
31dc8730
AZ
18092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18093 long double comparison inaccuracies.
18094 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18096
6fef930c
AS
180972012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18098
18099 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18100 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18101
8f203e6c
JM
181022012-05-04 Joseph Myers <joseph@codesourcery.com>
18103
18104 [BZ #14049]
18105 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18106 nonzero digits before rounding a hex value.
18107 * stdlib/tst-strtod.c (tests): Add another test.
18108
5197d9c2
AK
181092012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18110
18111 * sysdeps/s390/fpu/libm-test-ulps: Update.
18112
f0c1dedf
AJ
181132012-05-03 Andreas Jaeger <aj@suse.de>
18114
18115 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18116 does not get optimized out.
18117 (malloc_opt_barrier): New.
18118
a65ef2ae 181192012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18120 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18121
2b942cb7 18122 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18123 intermediate file deletion.
2b942cb7 18124 (generated): Add .symlist files.
a65ef2ae 18125
54b71e02
JM
181262012-05-03 Joseph Myers <joseph@codesourcery.com>
18127
18128 [BZ #13775]
18129 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18130 Redirect under this condition.
18131 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18132 [__USE_GNU] (__dprintf_chk): Not under this condition.
18133 [__USE_GNU] (__vdprintf_chk): Likewise.
18134 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18135 under this condition.
18136 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18137 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18138 [__USE_XOPEN2K8] (vdprintf): Likewise.
18139 [__USE_GNU] (__dprintf_chk): Not under this condition.
18140 [__USE_GNU] (__vdprintf_chk): Likewise.
18141 [__USE_GNU] (dprintf): Likewise.
18142 [__USE_GNU] (vdprintf): Likewise.
18143
d3dfcc41
RM
181442012-05-03 Roland McGrath <roland@hack.frob.com>
18145
18146 * elf/Makefile (common-generated): Set this instead of generated for
18147 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18148 $(all-built-dso)-derived lists.
18149
7ac30cc5
AJ
181502012-05-03 Andreas Jaeger <aj@suse.de>
18151
0c51e550
AJ
18152 * sysdeps/i386/fpu/libm-test-ulps: Update.
18153
7ac30cc5
AJ
18154 * FAQ: Removed.
18155 * FAQ.in: Likewise.
18156 * scripts/gen-FAQ.pl: Likewise.
18157 * manual/install.texi (Installation): Point to online location of
18158 FAQ.
18159 * Makefile (files-for-dist): Remove FAQ.
18160 (FAQ): Remove.
18161
d4c2917f
AM
181622012-05-02 Allan McRae <allan@archlinux.org>
18163
18164 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18165 (LDFLAGS-reldepmod5.so): Likewise.
18166 (LDFLAGS-reldep6mod1.so): Likewise.
18167 (LDFLAGS-reldep6mod4.so): Likewise.
18168 (LDFLAGS-reldep8mod3.so): Likewise.
18169 (LDFLAGS-unload4mod1.so): Likewise.
18170 (LDFLAGS-unload4mod2.so): Likewise.
18171 (LDFLAGS-tst-initorder): Likewise.
18172 (LDFLAGS-tst-initordera2.so): Likewise.
18173 (LDFLAGS-tst-initordera3.so): Likewise.
18174 (LDFLAGS-tst-initordera4.so): Likewise.
18175 (LDFLAGS-tst-initorderb2.so): Likewise.
18176 (LDFLAGS-noload): Likewise.
18177 (LDFLAGS-next): Likewise.
18178 (LDFLAGS-order2mod1.so): Likewise.
18179 (LDFLAGS-order2mod2.so): Likewise.
18180 (LDFLAGS-tst-initorder2): Likewise.
18181 (LDFLAGS-tst-initorder2a.so): Likewise.
18182 (LDFLAGS-tst-initorder2b.so): Likewise.
18183 (LDFLAGS-tst-initorder2c.so): Likewise.
18184 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18185
d77f993f
DM
181862012-05-02 David S. Miller <davem@davemloft.net>
18187
18188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18189
171a70b4
PP
181902012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18191
18192 [BZ #14055]
18193 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18194
0be196ad
AJ
181952012-05-02 Andreas Jaeger <aj@suse.de>
18196
18197 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18198 since we manipulate rounding mode.
18199 (CPPFLAGS-test-idouble.c): Likewise.
18200 (CPPFLAGS-test-ifloat.c): Likewise.
18201 (CFLAGS-test-ldouble.c): Likewise.
18202 (CFLAGS-test-double.c): Likewise.
18203 (CFLAGS-test-float.c): Likewise.
18204 (CFLAGS-test-misc.c): Likewise.
18205 (CFLAGS-test-test-fenv.c): Likewise.
18206
4f9d04aa
AZ
182072012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18208
2b942cb7
RM
18209 [BZ #2550]
18210 [BZ #2570]
18211 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18212 comparisons to determine direction to adjust input.
4f9d04aa 18213
82a79e7d
RM
182142012-05-01 Roland McGrath <roland@hack.frob.com>
18215
f5a01ca9
RM
18216 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18217 output to the target.
18218
90fe4186
RM
18219 * scripts/localplt.awk: New file.
18220 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18221 (check-localplt-CFLAGS): Variable removed.
18222 ($(all-built-dso:=.jmprel)): New static pattern rule.
18223 (generated): Add those targets.
18224 (localplt-built-dso): New variable.
18225 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18226
18227 * elf/check-localplt.c: File removed.
18228
82397ed6
RM
18229 * scripts/check-execstack.awk: New file.
18230 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18231 (check-execstack-CFLAGS): Variable removed.
18232 ($(objpfx)check-execstack.h): Target removed.
18233 ($(objpfx)execstack-default): New target.
18234 (generated): Add that instead of check-execstack.h.
18235 ($(all-built-dso:=.phdr)): New static pattern rule.
18236 (generated): Add those targets.
18237 * elf/check-execstack.c: File removed.
18238
82a79e7d
RM
18239 * scripts/check-textrel.awk: New file.
18240 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18241 (check-textrel-CFLAGS): Variable removed.
18242 (all-built-dso): Use := to define.o
18243 ($(all-built-dso:=.dyn)): New static pattern rule.
18244 (generated): Add those targets.
18245 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18246 * config.make.in (READELF): New substituted variable.
18247 * elf/check-textrel.c: File removed.
18248
62fde54f 182492012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18250
615605c9
JM
18251 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18252 allow.
18253 * conform/data/ctype.h-data [C99-based standards] (isblank):
18254 Expect function.
18255 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18256 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18257 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18258 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18259 Specify type. Require positive value.
18260 (EILSEQ): Likewise.
18261 (ERANGE): Likewise.
18262 [ISO || POSIX] (EILSEQ): Do not expect.
18263 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18264 Specify type. Require positive value.
18265 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18266 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18267 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18268 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18269 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18270 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18271 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18272 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18273 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18274 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18275 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18276 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18277 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18278 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18279 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18280 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18281 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18282 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18283 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18284 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18285 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18286 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18287 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18288 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18289 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18290 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18291 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18292 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18293 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18294 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18295 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18296 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18297 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18298 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18299 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18300 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18301 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18302 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18303 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18304 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18305 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18306 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18307 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18308 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18309 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18310 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18311 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18312 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18313 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18314 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18315 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18316 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18317 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18318 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18319 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18320 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18321 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18322 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18323 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18324 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18325 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18326 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18327 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18328 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18329 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18330 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18331 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18332 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18333 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18334 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18335 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18336 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18337 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18338 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18339 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18340 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18341 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18342 Require >= 2.
18343 (FLT_ROUNDS): Expect as macro, not constant.
18344 (FLT_MANT_DIG): Use macro-int-constant.
18345 (DBL_MANT_DIG): Likewise.
18346 (LDBL_MANT_DIG): Likewise.
18347 (FLT_DIG): Likewise.
18348 (DBL_DIG): Likewise.
18349 (LDBL_DIG): Likewise.
18350 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18351 (DBL_MIN_EXP): Likewise.
18352 (LDBL_MIN_EXP): Likewise.
18353 (FLT_MAX_EXP): Use macro-int-constant.
18354 (DBL_MAX_EXP): Likewise.
18355 (LDBL_MAX_EXP): Likewise.
18356 (FLT_MAX_10_EXP): Likewise.
18357 (DBL_MAX_10_EXP): Likewise.
18358 (LDBL_MAX_10_EXP): Likewise.
18359 (FLT_MAX): Use macro-constant.
18360 (DBL_MAX): Likewise.
18361 (LDBL_MAX): Likewise.
18362 (FLT_EPSILON): Use macro-constant. Give upper bound.
18363 (DBL_EPSILON): Likewise.
18364 (LDBL_EPSILON): Likewise.
18365 (FLT_MIN): Likewise.
18366 (DBL_MIN): Likewise.
18367 (LDBL_MIN): Likewise.
18368 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18369 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18370 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18371 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18372 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18373 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18374 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18375 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18376 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18377 [ISO11] (FLT_TRUE_MIN): Likewise.
18378 [ISO11] (LDBL_TRUE_MIN): Likewise.
18379 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18380 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18381 (SCHAR_MIN): Use macro-int-constant. Specify type.
18382 (SCHAR_MAX): Likewise.
18383 (UCHAR_MAX): Likewise.
18384 (CHAR_MIN): Likewise.
18385 (CHAR_MAX): Likewise.
18386 (MB_LEN_MAX): Use macro-int-constant.
18387 (SHRT_MIN): Use macro-int-constant. Specify type.
18388 (SHRT_MAX): Likewise.
18389 (USHRT_MAX): Likewise.
18390 (INT_MAX): Likewise.
18391 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18392 bound negative.
18393 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18394 bound with "U".
18395 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18396 bound with "L".
18397 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18398 bound negative. Suffix upper bound with "L".
18399 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18400 bound with "UL".
18401 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18402 Specify type.
18403 [C99-based standards] (LLONG_MAX): Likewise.
18404 [C99-based standards] (ULLONG_MAX): Likewise.
18405 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18406 == 0.
18407 [ISO11] (max_align_t): Require type.
18408 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18409
c9140a62
JM
18410 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18411 from $CFLAGS, without defining away __attribute__ calls.
18412 (checknamespace): Use $CFLAGS_namespace.
18413
9af0bf29
JM
18414 * conform/conformtest.pl (@keywords): Only include C99 keywords
18415 for standards based on C99 or C11.
18416
343222a2
JM
18417 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18418 Disable tests.
18419 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18420 UNIX98]: Likewise.
18421
661f8cf0
JM
18422 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18423 usability of symbols in #if.
18424
ee74b9cb
JM
18425 * conform/conformtest.pl: If macro or constant types start
18426 "promoted:", expect the symbol to be of the following type
18427 promoted by the integer promotions.
62fde54f 18428
aafc49b3
JM
18429 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18430 in one place. Also handle "macro-constant".
18431
fefdf574
JM
18432 * conform/conformtest.pl: Only accept expected macro values with
18433 "==". Parse all "macro" lines in one place.
18434 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18435
f2d922fe
JM
18436 * conform/conformtest.pl: Handle braced types on "constant" lines
18437 instead of handling "typed-constant".
18438 * conform/data/signal.h-data: Use "constant" instead of
18439 "typed-constant".
18440
d22956c9
JM
18441 * conform/conformtest.pl: Handle "optional-" at start of lines in
18442 one place rather than duplicating several cases. Handle each
18443 format of "macro" line with initial "optional-".
18444
028e2e38
JM
18445 * conform/conformtest.pl: Only accept expected constant or
18446 optional-constant values with "==". Parse all "constant" lines in
18447 one place. Parse all "optional-constant" lines in one place.
18448 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18449 * conform/data/fmtmsg.h-data: Likewise.
18450 * conform/data/netinet/in.h-data: Likewise.
18451 * conform/data/tar.h-data: Likewise.
18452 * conform/data/limits.h-data: Use "==" form on "constant" and
18453 "optional-constant" lines.
18454
1b8f2850
JM
18455 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18456 Use -std=c99 for XOPEN2K.
18457 (@knownproblems): Remove.
18458 (newtoken): Don't check %isknown.
18459
a05a144b
JM
18460 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18461 Do not expect macro.
18462 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18463 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18464 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18465 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18466 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18467 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18468 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18469 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18470 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18471 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18472 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18473 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18474 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18475 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18476 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18477 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18478 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18479 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18480 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18481 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18482 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18483 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18484 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18485 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18486 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18487 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18488 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18489 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18490 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18491 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18492 [XPG3] (acosh): Likewise.
18493 [XPG3] (asinh): Likewise.
18494 [XPG3] (atanh): Likewise.
18495 [XPG3] (cbrt): Likewise.
18496 [XPG3] (expm1): Likewise.
18497 [XPG3] (ilogb): Likewise.
18498 [XPG3] (log1p): Likewise.
18499 [XPG3] (logb): Likewise.
18500 [XPG3] (nextafter): Likewise.
18501 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18502 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18503 [XPG3] (remainder): Likewise.
18504 [XPG3] (rint): Likewise.
18505 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18506 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18507 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18508 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18509 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18510 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18511 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18512 [UNIX98 || XOPEN2K] (scalb): Expect.
18513 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18514 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18515 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18516 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18517 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18518 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18519 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18520 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18521 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18522 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18523 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18524 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18525 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18526 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18527 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18528 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18529 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18530 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18531 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18532 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18533 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18534 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18535 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18536 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18537 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18538 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18539 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18540 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18541 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18542 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18543 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18544 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18545 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18546 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18547 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18548 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18549 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18550 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18551 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18552 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18553 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18554 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18555 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18556 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18557 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18558 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18559 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18560 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18561 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18562 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18563 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18564 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18565 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18566 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18567 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18568 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18569 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18570 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18571 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18572 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18573 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18574 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18575 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18576 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18577 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18578 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18579 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18580 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18581 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18582 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18583 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18584 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18585 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18586 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18587 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18588 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18589 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18590 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18591 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18592 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18593 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18594 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18595 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18596 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18597 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18598 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18599 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18600 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18601 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18602 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18603 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18604 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18605 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18606 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18607 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18608 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18609 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18610 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18611 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18612 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18613 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18614 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18615 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18616 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18617 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18618 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18619 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18620 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18621 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18622 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18623 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18624 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18625 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18626 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18627 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18628 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18629 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18630 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18631 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18632 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18633 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18634 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18635 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18636 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18637 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18638 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18639 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18640 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18641 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18642 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18643 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18644 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18645 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18646 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18647 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18648 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18649 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18650
73c5ebe3
JM
18651 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18652 _XOPEN_SOURCE_EXTENDED for XPG4.
18653
39c33b6c
JM
18654 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18655
62fde54f
JM
18656 * Makeconfig (localtime): Remove variable.
18657 (inst_localtime-file): Likewise.
18658
0741d64c
AS
186592012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18660
18661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18662 Update.
18663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18664 Update.
18665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18666 Update.
18667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18668 Update.
18669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18670 Update.
18671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18672 Update.
18673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18674 Update.
18675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18676 Update.
18677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18678 Update.
18679
7cb029ee
JM
186802012-05-01 Joseph Myers <joseph@codesourcery.com>
18681
18682 [BZ #2550]
18683 [BZ #2570]
18684 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18685 comparisons to determine direction to adjust input.
18686 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18687 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18688 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18689 Likewise.
18690 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18691 Likewise.
18692 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18693 Likewise.
18694 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18695 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18696 Likewise.
18697 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18698 Likewise.
18699 * math/libm-test.inc (nexttoward_test): Add more tests.
18700
412bd966
AS
187012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18702
18703 [BZ #14040]
18704 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18705 in version GLIBC_2.1, not GLIBC_2.0.
18706 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18707 Likewise.
18708
9568c0c2
JM
187092012-04-30 Joseph Myers <joseph@codesourcery.com>
18710
adfbc8ac
JM
18711 [BZ #13942]
18712 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18713 (1 - x) * (1 + x).
18714 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18715 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18716 * math/libm-test.inc (acos_test): Add more tests.
18717 (asin_test): Likewise.
18718 * sysdeps/i386/fpu/libm-test-ulps: Update.
18719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18720
5ba3cc69
JM
18721 [BZ #14034]
18722 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18723 of square root.
18724 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18725 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18726 * math/libm-test.inc (acos_test_tonearest): New function.
18727 (acos_test_towardzero): Likewise.
18728 (acos_test_downward): Likewise.
18729 (acos_test_upward): Likewise.
18730 (asin_test_tonearest): Likewise.
18731 (asin_test_towardzero): Likewise.
18732 (asin_test_downward): Likewise.
18733 (asin_test_upward): Likewise.
18734 (main): Call the new functions.
18735 * sysdeps/i386/fpu/libm-test-ulps: Update.
18736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18737
9568c0c2
JM
18738 [BZ #13884]
18739 [BZ #13924]
18740 * math/e_exp10.c: Include <float.h>.
18741 (__ieee754_exp10): Handle underflow here rather than multiplying
18742 large negative argument by M_LN10.
18743 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18744 of __ieee754_expf.
18745 * math/e_exp10l.c: Include <float.h>.
18746 (__ieee754_exp10l): Handle underflow here rather than multiplying
18747 large negative argument by M_LN10l.
18748 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18749 spurious overflow exception on underflow.
18750
5ac3ea17
MP
187512012-04-29 Marek Polacek <polacek@redhat.com>
18752
18753 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18754 (__fortify_function): New macro.
18755 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18756 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18757 __extern_always_inline.
18758 * libio/bits/stdio2.h: Likewise.
18759 * libio/bits/stdio.h: Likewise.
18760 * string/string.h: Likewise.
18761 * string/bits/string3.h: Likewise.
18762 * include/stdio.h: Likewise.
18763 * stdlib/bits/stdlib.h: Likewise.
18764 * stdlib/stdlib.h: Likewise.
18765 * rt/bits/mqueue2.h: Likewise.
18766 * rt/mqueue.h: Likewise.
18767 * posix/bits/unistd.h: Likewise.
18768 * posix/unistd.h: Likewise.
18769 * io/bits/poll2.h: Likewise.
18770 * io/bits/fcntl2.h: Likewise.
18771 * io/fcntl.h: Likewise.
18772 * io/sys/poll.h: Likewise.
18773 * misc/bits/syslog.h: Likewise.
18774 * misc/bits/syslog-ldbl.h: Likewise.
18775 * misc/sys/syslog.h: Likewise.
18776 * socket/bits/socket2.h: Likewise.
18777 * socket/sys/socket.h: Likewise.
18778 * debug/tst-chk1.c: Likewise.
18779 * wcsmbs/bits/wchar2.h: Likewise.
18780 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18781 * wcsmbs/wchar.h: Likewise.
18782
ecf0ebfb
AJ
187832012-04-29 Andreas Jaeger <aj@suse.de>
18784
18785 * Makerules (tests): Remove enable-check-abi protection.
18786 (check-abi-warn): Remove.
18787 (check-abi-%): Remove check-abi-warn usage.
18788
18789 * configure.in: Remove check-abi configure option.
18790 * configure: Regenerated.
18791 * config.make.in (enable-check-abi): Remove.
18792
6d5c57fa
AS
187932012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18794
24c5d07e 18795 [BZ #14033]
ded5180a
AS
18796 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18797 double functions to double *_finite functions.
18798
7e0d315d
AS
18799 [BZ #13941]
18800 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18801 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18802 LDBL_MIN_EXP.
18803 * stdio-common/Makefile (tests): Add tst-sprintf3.
18804 * stdio-common/tst-sprintf3.c: New file.
18805
6d5c57fa
AS
18806 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18807 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18808
0749ff8b
JM
188092012-04-28 Joseph Myers <joseph@codesourcery.com>
18810
18811 * conform/conformtest.pl: Remove duplicate typed-constant
18812 handling.
18813
8dbd5d7b
DM
188142012-04-28 David S. Miller <davem@davemloft.net>
18815
18816 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18817 (check-abi-%): Remove AWK script prerequisite and explicit
18818 abilist directory.
18819 (check-abi): Rewrite to just diff the symlist with the abilist.
18820 (config-tls, config-abi-config): Delete, no longer used.
18821 (update-abi-%): Remove AWK script and explicit abilist directory.
18822 (update-abi): Rewrite to simply compare and conditionally copy the
18823 symlist and the sysdep abilist file. Remove update-abi-config
18824 checks.
18825 * abilist/ld.abilist: Remove.
18826 * abilist/libBrokenLocale.abilist: Remove.
18827 * abilist/libanl.abilist: Remove.
18828 * abilist/libcrypt.abilist: Remove.
18829 * abilist/libdl.abilist: Remove.
18830 * abilist/librt.abilist: Remove.
18831 * abilist/libthread_db.abilist: Remove.
18832 * abilist/libutil.abilist: Remove.
18833 * scripts/extract-abilist.awk: Remove.
18834 * scripts/merge-abilist.awk: Remove.
18835 * sysdeps/generic/libcidn.abilist: New file.
18836 * sysdeps/generic/libnss_compat.abilist: New file.
18837 * sysdeps/generic/libnss_db.abilist: New file.
18838 * sysdeps/generic/libnss_dns.abilist: New file.
18839 * sysdeps/generic/libnss_files.abilist: New file.
18840 * sysdeps/generic/libnss_hesiod.abilist: New file.
18841 * sysdeps/generic/libnss_nis.abilist: New file.
18842 * sysdeps/generic/libnss_nisplus.abilist: New file.
18843 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18844 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18845 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18846 file.
18847 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18848 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18849 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18850 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18851 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18852 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18853 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18854 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18855 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18856 file.
18857 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18858 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18859 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18860 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18861 file.
18862 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18863 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18864 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18865 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18866 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18867 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18868 file.
18869 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18870 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18871 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18872 file.
18873 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18875 New file.
18876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18877 New file.
18878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18879 New file.
18880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18881 New file.
18882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18883 New file.
18884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18885 New file.
18886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18887 New file.
18888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18889 New file.
18890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18891 New file.
18892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18893 New file.
18894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18895 New file.
18896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18897 New file.
18898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18899 New file.
18900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18901 file.
18902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18903 New file.
18904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18905 New file.
18906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18907 file.
18908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18909 New file.
18910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18911 New file.
18912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18913 file.
18914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18915 New file.
18916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18917 New file.
18918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18919 New file.
18920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18921 New file.
18922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18923 New file.
18924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18925 New file.
18926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18928 file.
18929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18930 New file.
18931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18932 file.
18933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18934 file.
18935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18936 file.
18937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18938 file.
18939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18940 file.
18941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18942 New file.
18943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18944 file.
18945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18946 file.
18947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18948 New file.
18949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18950 file.
18951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18953 file.
18954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18955 New file.
18956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18957 file.
18958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18959 file.
18960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18961 file.
18962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18963 file.
18964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18965 file.
18966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18967 New file.
18968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18969 file.
18970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18971 file.
18972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18973 New file.
18974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18975 file.
18976 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18977 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18978 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18979 file.
18980 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18981 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18982 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18983 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18984 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18985 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18986 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18987 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18988 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18989 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18992 file.
18993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18994 New file.
18995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18996 file.
18997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18998 file.
18999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19000 file.
19001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19002 file.
19003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19004 file.
19005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19006 New file.
19007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19008 New file.
19009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19010 file.
19011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19012 New file.
19013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19014 file.
19015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19017 file.
19018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19019 New file.
19020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19021 file.
19022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19023 file.
19024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19025 file.
19026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19027 file.
19028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19029 file.
19030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19031 New file.
19032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19033 New file.
19034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19035 file.
19036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19037 New file.
19038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19039 file.
19040
41d73a1b
JM
190412012-04-28 Joseph Myers <joseph@codesourcery.com>
19042
19043 * conform/conformtest.pl: Fix typo in handling typed-constant from
19044 allow-header.
19045
28aeeda4
JM
190462012-04-27 Joseph Myers <joseph@codesourcery.com>
19047
adae8f5e
JM
19048 * README: Cut down references to pre-2.6 Linux kernels and
19049 Linuxthreads. Update lists of configurations in libc and ports
19050 and sort alphabetically. Say "or newer" with Linux kernel version
19051 requirements.
19052
28aeeda4
JM
19053 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19054
a462cb63
RA
190552012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19056
19057 [BZ #887]
19058 * math/libm-test.inc (logb_test_downward): New test to expose
19059 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19060 rounding mode.
19061
6ad3493e
JM
190622012-04-27 Joseph Myers <joseph@codesourcery.com>
19063
19064 [BZ #14027]
19065 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19066 to be done.
19067 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19068 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19069
2ce4f015
JM
190702012-04-26 Joseph Myers <joseph@codesourcery.com>
19071
5aeb141a
JM
19072 * sysdeps/unix/i386/brk.S: Remove file.
19073 * sysdeps/unix/i386/dl-brk.S: Likewise.
19074 * sysdeps/unix/i386/pipe.S: Likewise.
19075 * sysdeps/unix/i386/sigreturn.S: Likewise.
19076 * sysdeps/unix/i386/syscall.S: Likewise.
19077 * sysdeps/unix/i386/vfork.S: Likewise.
19078 * sysdeps/unix/i386/wait.S: Likewise.
19079
7143acae
JM
19080 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19081 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19082
2ce4f015
JM
19083 * configure.in (arm*-none*): Do not allow without
19084 --enable-hacker-mode.
19085 (netbsd*): Remove case setting base_os.
19086 (386bsd*): Likewise.
19087 (freebsd*): Likewise.
19088 (bsdi*): Likewise.
19089 (osf*): Likewise.
19090 (sunos*): Likewise.
19091 (ultrix*): Likewise.
19092 (newsos*): Likewise.
19093 (dynix*): Likewise.
19094 (*bsd*): Likewise.
19095 (sysv*): Likewise.
19096 (isc*): Likewise.
19097 (esix*): Likewise.
19098 (sco*): Likewise.
19099 (minix*): Likewise.
19100 (irix4*): Likewise.
19101 (irix6*): Likewise.
19102 (solaris[2-9]*): Likewise.
19103 (none): Likewise.
19104 * configure: Regenerated.
19105
0ac229c8
AZ
191062012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19107
19108 [BZ #11521]
19109 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19110 overflow or cancellation in calculating denominator.
19111 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19112 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19113 down expression to avoid unexpected rounding in newer GCCs.
19114 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19115
33f244f4
DM
191162012-04-26 David S. Miller <davem@davemloft.net>
19117
19118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19119 long-double compat symbols.
19120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19133
cfa1f3e8
DM
191342012-04-25 David S. Miller <davem@davemloft.net>
19135
19136 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19137 HWCAP_* values only after the memory barriers have been defined.
19138 (atomic_full_barrier): Define.
19139 (atomic_read_barrier): Define.
19140 (atomic_write_barrier): Define.
19141
6e236b92
SP
191422012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19143
19144 * shlib-versions: Add libgcc_s version information.
19145 * sysdeps/generic/libgcc_s.h: Remove.
19146 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19147 libgcc_s.h.
19148 * sysdeps/gnu/unwind-resume.c: Likewise.
19149 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19150
aab39a09
DM
191512012-04-25 David S. Miller <davem@davemloft.net>
19152
19153 * sysdeps/unix/sparc/brk.S: Delete.
19154 * sysdeps/unix/sparc/dl-brk.S: Delete.
19155 * sysdeps/unix/sparc/pipe.S: Delete.
19156 * sysdeps/unix/sparc/sysdep.S: Delete.
19157 * sysdeps/unix/sparc/sysdep.h: Delete.
19158 * sysdeps/unix/sparc/vfork.S: Delete.
19159 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19160 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19161 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19162 ret_ERRVAL, r0, r1, MOVE): Define.
19163 (JUMPTARGET): Remove.
19164 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19165 sysdeps/unix/sparc/sysdep.h
19166 (ENTRY, END): Remove.
19167 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19168
a3cc4f48
JM
191692012-04-25 Joseph Myers <joseph@codesourcery.com>
19170
2ed8cda2
JM
19171 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19172 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19173 -DIS_IN_build.
19174
35d76d59
JM
19175 * timezone/README: Update upstream location and email address for
19176 tzcode and tzdata.
19177 * timezone/zdump.c: Update from tzcode 2012b.
19178 * timezone/zic.c: Likewise.
19179
a3cc4f48
JM
19180 * configure.in (libc_cv_as_needed): Remove test.
19181 * configure: Regenerated.
19182 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19183 conditional definition.
19184 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19185 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19186 * config.make.in (have-as-needed): Remove variable.
19187
ceab42c3
SP
191882012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19189 Paul Pluzhnikov <ppluzhnikov@google.com>
19190
19191 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19192 strings correctly.
19193
3ce2865f
CLT
191942012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19195
19196 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19197 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19198 * sysdeps/sh/strlen.S: Likewise.
19199
f37e0d68
JM
192002012-04-24 Joseph Myers <joseph@codesourcery.com>
19201
ae186e9a
JM
19202 * sysdeps/unix/fork.S: Remove file.
19203 * sysdeps/unix/i386/fork.S: Likewise.
19204 * sysdeps/unix/sparc/fork.S: Likewise.
19205
b96914af
JM
19206 * sysdeps/unix/system.c: Remove file.
19207 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19208
f37e0d68
JM
19209 * sysdeps/unix/getegid.S: Remove file.
19210 * sysdeps/unix/geteuid.S: Likewise.
19211
87ef29ca
RM
192122012-04-24 Roland McGrath <roland@hack.frob.com>
19213
83bcd236
RM
19214 * scripts/check-localplt.awk: New file.
19215 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19216 of diff.
19217 * scripts/data/localplt-generic.data: Add a comment.
19218
87ef29ca
RM
19219 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19220 NODE when __dir_mkfile failed.
19221 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19222 Reported by Ludovic Courtès <ludo@gnu.org>.
19223
e5a6e567
AJ
192242012-04-24 Andreas Jaeger <aj@suse.de>
19225
19226 * Makerules (common-clean): Also remove gen-as-const-headers
19227 files.
19228
c1820385
JM
192292012-04-24 Joseph Myers <joseph@codesourcery.com>
19230
19231 * Makerules (native-compile): Do not change working directory for
19232 build. Use $(OUTPUT_OPTION) in command.
19233 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19234
94e02fc4
AZ
192352012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19236
19237 [BZ #13886]
19238 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19239 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19240 * math/libm-test.inc (floor_test): Add more tests.
19241 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19242
3a533ca3
JM
192432012-04-24 Joseph Myers <joseph@codesourcery.com>
19244
940ab4b3
JM
19245 * sysdeps/unix/getdents.c: Remove file.
19246 * sysdeps/unix/sysv/getdents.c: Likewise.
19247 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19248
90e037bd
JM
19249 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19250 sysdeps/unix/mman/syscalls.list.
19251 (mmap): Likewise.
19252 (mprotect): Likewise.
19253 (msync): Likewise.
19254 (munmap): Likewise.
19255 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19256 * sysdeps/unix/mman/syscalls.list: Remove.
19257 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19258
3a533ca3
JM
19259 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19260 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19261 * configure: Regenerated.
19262 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19263 $(libgcc_s_suffix).
19264 * config.make.in (libgcc_s_suffix): Remove variable.
19265
1ad743de
JM
192662012-04-23 Joseph Myers <joseph@codesourcery.com>
19267
4ad451e2
JM
19268 * sysdeps/unix/sysv/gethostname.c: Move to ...
19269 * sysdeps/posix/gethostname.c: ... here.
19270
5e37ce39
JM
19271 * sysdeps/unix/execve.S: Remove file.
19272
1ad743de
JM
19273 * sysdeps/unix/_exit.S: Remove file.
19274
4e681b5b
AJ
192752012-04-23 Andreas Jaeger <aj@suse.de>
19276
19277 [BZ #13739]
19278 * manual/Makefile: Remove make dist support, there's no
19279 need for a stand-alone documentation tar ball.
19280 (TEXI2DVI): Define always, it's not in Makeconfig.
19281 (dist): Removed.
19282 (tar-it): Removed.
19283 (edition): Removed.
19284 (glibc-doc-$(edition).tar): Removed
19285 (%.Z): Removed.
19286 (%.gz): Removed.
19287 (%.uu): Removed.
19288 (ETAGS): Remove, it's in Makeconfig.
19289 (move-if-change): Remove, it's in Makeconfig.
19290
38686a03 192912012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19292
19293 [BZ #13970]
19294 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19295 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19296 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19297 (strtod_l, strtof_l, strtold_l): Remove __wur.
19298 It is not necessarily an error to ignore strtol's return value.
19299 One can reliably look at the stored endptr to decide whether
19300 the number had valid syntax.
19301
7c0616fa
AJ
193022012-04-21 Andreas Jaeger <aj@suse.de>
19303
803cb6b7 19304 [BZ #13739]
7c0616fa
AJ
19305 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19306
b0fe253f
JM
193072012-04-21 Joseph Myers <joseph@codesourcery.com>
19308
19309 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19310 * sysdeps/unix/sysv/Versions: Remove file.
19311
8280f22d
MT
193122012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19313
19314 [BZ #13927]
19315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19316
75ce411f 193172012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19318
19319 [BZ #7064]
19320 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19321 version from __vm86.
19322
097d59fa
JM
193232012-04-20 Joseph Myers <joseph@codesourcery.com>
19324
a90f3bcb
JM
19325 * sysdeps/unix/common/lxstat.c: Remove file.
19326 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19327
edc7ea78
JM
19328 * sysdeps/unix/sysv/Makefile: Remove file.
19329
cb78c221
JM
19330 * sysdeps/unix/sysv/direct.h: Remove file.
19331
efa6a45f
JM
19332 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19333 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19334 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19335 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19336 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19337 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19338 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19339
9c9f2d0c
JM
19340 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19341
4541c83b
JM
19342 * sysdeps/unix/xmknod.c: Remove file.
19343 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19344
f5d153a0
JM
19345 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19346
aa746595
JM
19347 * sysdeps/unix/sysv/i386/time.S: Remove file.
19348
cce5905e
JM
19349 * sysdeps/unix/fxstat.c: Remove file.
19350 * sysdeps/unix/xstat.c: Likewise.
19351 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19352
37fa3841
JM
19353 * sysdeps/unix/sysv/sigaction.c: Remove file.
19354
ff1962a3
JM
19355 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19356 (sysdep_headers): Remove variable.
19357 [termio.h not in sysdep_headers] (generated): Likewise.
19358 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19359 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19360 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19361 * sysdeps/unix/sysv/tcflow.c: Likewise.
19362 * sysdeps/unix/sysv/tcflush.c: Likewise.
19363 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19364 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19365 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19366 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19367 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19368
e7740d31
JM
19369 * sysdeps/unix/siglist.c: Remove file.
19370
ee06f18b
JM
19371 * sysdeps/unix/getppid.S: Remove file.
19372
097d59fa
JM
19373 * sysdeps/unix/mkdir.c: Remove file.
19374 * sysdeps/unix/rmdir.c: Likewise.
19375
ff3d51ec
AS
193762012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19377
19378 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19379 ERR_MAX value.
19380 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19381 errlist-compat value.
19382
50f81fd7
DM
193832012-04-18 David S. Miller <davem@davemloft.net>
19384
19385 * sysdeps/generic/memcopy.h (reg_char): Delete.
19386 * debug/strcat_chk.c: Use char, not reg_char.
19387 * debug/strcpy_chk.c: Likewise.
19388 * debug/strncat_chk.c: Likewise.
19389 * debug/strncpy_chk.c: Likewise.
19390 * string/memchr.c: Likewise.
19391 * string/memrchr.c: Likewise.
19392 * string/rawmemchr.c: Likewise.
19393 * string/strcat.c: Likewise.
19394 * string/strchr.c: Likewise.
19395 * string/strchrnul.c: Likewise.
19396 * string/strcmp.c: Likewise.
19397 * string/strcpy.c: Likewise.
19398 * string/strncat.c: Likewise.
19399 * string/strncmp.c: Likewise.
19400 * string/strncpy.c: Likewise.
19401
8ff41c46
WS
194022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19403
19404 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19405 __builtin_memcopy is called when src and dest ranges are known to not
19406 overlap.
19407
6b652f46
WS
194082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19409
19410 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19411 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19412 fwd_align_merge macro call.
19413 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19414 bwd_align_merge macro call.
19415 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19416
b282631e
WS
194172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19418
19419 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19420 bwd_align_merge macros.
19421 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19422 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19423 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19424
95aa737c
DM
194252012-04-18 David S. Miller <davem@davemloft.net>
19426
19427 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19428
7a99a614
AJ
194292012-04-18 Andreas Jaeger <aj@suse.de>
19430
19431 [BZ# 6794]
19432 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19433 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19434 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19435
19436 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19437 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19438 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19439
19440 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19441 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19442 Adjust for changed ldbl-128 files.
19443
19444 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19445 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19446 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19447
e5270c23
DM
194482012-04-17 David S. Miller <davem@davemloft.net>
19449
19450 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19451
fb5e92c9
AS
194522012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19453
19454 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19455 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19456 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19457 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19458 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19459 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19460
76da7265
AZ
194612012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19462
19463 [BZ #6794]
19464 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19465 * math/libm-test.inc: Add ilogb errno and exception tests.
19466 * math/w_ilogb.c: New file: ilogb wrapper.
19467 * math/w_ilogbf.c: New file: ilogbf wrapper.
19468 * math/w_ilogbl.c: New file: ilogbl wrapper.
19469 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19470 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19471 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19472 exception being thrown with 0.0 as argument.
19473 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19474 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19475 exception being thrown with 0.0 as argument.
19476 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19477 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19478 exception being thrown with 0.0 as argument.
19479 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19480 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19481 exception being thrown with 0.0 as argument.
19482 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19483 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 19484 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
19485 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19486 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19487 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19488 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19489 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19490 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19491
0396e69d
PB
194922012-04-17 Petr Baudis <pasky@ucw.cz>
19493
19494 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19495 with altivec.
19496
750b5926
MP
194972012-04-16 Marek Polacek <polacek@redhat.com>
19498
19499 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19500
751728a1
MP
195012012-04-16 Marek Polacek <polacek@redhat.com>
19502
19503 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19504 operands of fdivp instruction.
19505
34a27407
L
195062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19507
19508 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19509 * elf/tst-auditmod3b.c: Likewise.
19510 * elf/tst-auditmod4b.c: Likewise.
19511 * elf/tst-auditmod5b.c: Likewise.
19512 * elf/tst-auditmod6b.c: Likewise.
19513 * elf/tst-auditmod6c.c: Likewise.
19514 * elf/tst-auditmod7b.c: Likewise.
19515 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19516 * sysdeps/x86_64/preconfigure.in: Likewise.
19517 * sysdeps/x86_64/preconfigure: Regenerated.
19518
7e73e17d
L
195192012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19520
19521 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19522 __ILP32__.
19523
c7a6ab72
AB
195242012-04-13 Antoine Balestrat <merkil33@gmail.com>
19525
19526 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19527 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19528
a9e8e0e0
CL
195292012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19530
19531 [BZ #13973]
19532 * locale/iso-639.def: Fix gl language name. Spotted by
19533 Yaron Shahrabani.
19534
ec98af7d
RM
195352012-04-12 Roland McGrath <roland@hack.frob.com>
19536
19537 [BZ #2074]
19538 * libio/libio.h (__io_write_fn): Update comment.
19539
247c3ede
PB
195402012-04-12 Petr Baudis <pasky@ucw.cz>
19541
19542 [BZ #2074]
19543 * stdio.texi (Hook Functions): The user provided writer function
19544 is not allowed to return -1.
19545
55939d6d
DM
195462012-04-11 David S. Miller <davem@davemloft.net>
19547
19548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19549
90020f5a
MF
195502012-04-11 Mike Frysinger <vapier@gentoo.org>
19551
19552 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19553 Add a leading slash to rtkaio.
19554
288f9098
JM
195552012-04-11 Jim Meyering <meyering@redhat.com>
19556
90020f5a
MF
19557 [BZ #11959]
19558 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19559 It is not necessarily an error to ignore fwrite's return
19560 value. One can reliably use ferror to test for errors after
19561 the fact.
288f9098 19562
4be2b570
L
195632012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19564
19565 * bits/types.h (__snseconds_t): New type.
19566 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19567
19568 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19569 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19570 (__SNSECONDS_T_TYPE): Likewise.
19571 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19572 (__SNSECONDS_T_TYPE): Likewise.
19573 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19574 (__SNSECONDS_T_TYPE): Likewise.
19575
288f9098 195762012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
19577
19578 [BZ #2636]
19579 * manual/time.texi (Processor Time): Return type of times is
19580 elapsed real time since an arbitrary point in the past.
19581 (CPU Time): Move CLK_TCK from here...
19582 (Processor Time): ...to here. Correct description.
19583 * manual/conf.texi (Constants for Sysconf): Correct description of
19584 _SC_CLK_TCK.
19585
d7dd4413
DM
195862012-04-10 David S. Miller <davem@davemloft.net>
19587
19588 [BZ #13967]
19589 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19590 where the is a gap between DT_REL(A) and DT_JMPREL.
19591
b46068fc
L
195922012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19593
19594 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19595 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19596 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19597
73d65cc3
SP
195982012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19599
19600 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19601 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19602 (dl_main): Handle --inhibit-cache.
19603 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19604 _dl_inhibit_cache.
19605 * elf/dl-load.c (_dl_map_object): Use it.
19606 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19607
bcc8d661
JM
196082012-04-09 Joseph Myers <joseph@codesourcery.com>
19609
8f9a2fae
JM
19610 [BZ #13872]
19611 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19612 (__ieee754_powl): Saturate large exponents rather than testing for
19613 overflow of y*log2(x).
19614 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19615 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19616 exceptions.
19617
bcc8d661
JM
19618 [BZ #11521]
19619 * math/s_ctan.c: Include <float.h>.
19620 (__ctan): Avoid internal overflow or cancellation in calculating
19621 denominator.
19622 * math/s_ctanf.c: Likewise.
19623 * math/s_ctanl.c: Likewise.
19624 * math/s_ctanh.c: Likewise.
19625 * math/s_ctanhf.c: Likewise.
19626 * math/s_ctanhl.c: Likewise.
19627 * math/libm-test.inc (ctan_test): Add more tests.
19628 (ctanh_test): Likewise.
19629 * sysdeps/i386/fpu/libm-test-ulps: Update.
19630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19631
823fbbb4
AJ
196322012-04-09 Andreas Jaeger <aj@suse.de>
19633
03879793
AJ
19634 [BZ #6894]
19635 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19636 is an optional BSD extension.
19637
823fbbb4
AJ
19638 [BZ #10254]
19639 * manual/stdio.texi (Opening Streams): Document additional fopen
19640 parameters.
19641
8de131cb
RM
196422012-04-09 Roland McGrath <roland@hack.frob.com>
19643
19644 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19645 %eax without telling the compiler.
19646
c0ed9d7d
CD
196472012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19648
19649 [BZ # 13963]
19650 * manual/install.texi: Use sourceware.org.
19651
c483f6b4
JM
196522012-04-09 Joseph Myers <joseph@codesourcery.com>
19653
d7dd9453
JM
19654 [BZ #13873]
19655 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19656 (__ieee754_pow): Generate overflow and underflow using huge*huge
19657 and tiny*tiny rather than just returning constant infinity or zero
19658 for large exponents.
19659 * math/libm-test.inc (pow_test): Require overflow exceptions for
19660 applicable cases of large exponents.
19661
c483f6b4
JM
19662 [BZ #706]
19663 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19664 (__ieee754_pow): Use iterative multiplication algorithm only for
19665 integer exponents with absolute value below 1024. Check for odd
19666 integer exponents when using algorithm for real exponents.
19667 * math/libm-test.inc (pow_test): Add more tests.
19668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19669
d2de7579
JM
196702012-04-08 Joseph Myers <joseph@codesourcery.com>
19671
19672 [BZ #13705]
19673 * math/libm-test.inc (exp_test): Do not allow overflow exception
19674 on underflow test.
19675
f77f1232
AJ
196762012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19677
19678 [BZ #13705]
19679 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19680 instead of __kernel_standard_f.
19681
3884932b
MF
196822012-04-08 Mike Frysinger <vapier@gentoo.org>
19683
19684 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19685 * sysdeps/x86_64/memset_chk.S: Likewise.
19686
54472e9c
AJ
196872012-04-08 Andreas Jaeger <aj@suse.de>
19688
6ab0fbfc
AJ
19689 [BZ #10153]
19690 * manual/startup.texi (Environment Access): Describe return value
19691 for putenv and setenv.
19692
61efba8c
AJ
19693 [BZ #6895]
19694 * manual/filesys.texi (Directory Entries): Add description for
19695 DT_LNK.
19696
95c3f29a
AJ
19697 [BZ #6890]
19698 * manual/filesys.texi (Directory Entries): Clarify that it's file
19699 system not operating system in the description of DT_UNKNOWN.
19700
54472e9c
AJ
19701 [BZ #6578]
19702 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19703
624254b1
SC
197042012-04-08 Stephen Compall <s11@member.fsf.org>
19705
19706 [BZ #6649]
19707 * manual/llio.texi (Opening and Closing Files): Add cross
19708 reference to explain mode argument.
19709
1e4920e0
MF
197102012-04-07 Mike Frysinger <vapier@gentoo.org>
19711
19712 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19713 * sysdeps/x86_64/memset_chk.S: Likewise.
19714
5ed848f3
DM
197152012-04-07 David S. Miller <davem@davemloft.net>
19716
19717 * elf/elf.h (R_SPARC_WDISP10): Define.
19718 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19719 R_SPARC_SIZE32.
19720 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19721 R_SPARC_SIZE64 and R_SPARC_H34.
19722
96154cd8
CD
197232012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19724
19725 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19726 conditions and remove no longer applicable assertion.
19727
9904dc47
L
197282012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19729
19730 * bits/byteswap.h: Include <features.h>.
19731 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19732 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19733
f8887d0a
L
197342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19735
19736 * bits/byteswap.h (__bswap_16): Removed.
19737 Include <bits/byteswap-16.h> to get __bswap_16.
19738 * sysdeps/i386/bits/byteswap.h: Likewise.
19739 * sysdeps/s390/bits/byteswap.h: Likewise.
19740 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19741 * bits/byteswap-16.h: New file.
19742 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19743 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19744 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19745 * string/Makefile (headers): Add bits/byteswap-16.h.
19746
62470f60
PP
197472012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19748
19749 [BZ #13895]
19750 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19751 extra indirection.
19752 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19753 * nss/tst-nss-static.c: New.
19754
4dad7bab
RM
197552012-04-06 Robert Millan <rmh@gnu.org>
19756
19757 [BZ #6486]
19758 * manual/llio.texi (File Position Primitive): lseek
19759 refers to WHENCE when it really means OFFSET.
19760
e9142a17
AJ
197612012-04-06 Andreas Jaeger <aj@suse.de>
19762
2c040eff
AJ
19763 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19764 strncmp declarations.
19765
e9142a17
AJ
19766 * abilist/libc.abilist: Add __poll and __ppoll.
19767
ff9f1c5f
DM
197682012-04-05 David S. Miller <davem@davemloft.net>
19769
dcd2ae90
DM
19770 * scripts/check-local-headers.sh: Accept a host triplet in the
19771 path matched by the exclude regexp.
19772
993eb054
DM
19773 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19774 definition.
19775 * sysdeps/powerpc/powerpc32/dl-machine.h
19776 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19777 * sysdeps/s390/s390-32/dl-machine.h
19778 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19779 * sysdeps/sparc/sparc32/dl-machine.h
19780 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19781 * sysdeps/sparc/sparc64/dl-machine.h
19782 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19783
ff9f1c5f
DM
19784 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19785 lazy binding.
48e2e132 19786 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
19787 undefined symbol errors.
19788
48e2e132 19789 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
19790 DT_NEEDED entries.
19791
e80d6f94
MM
197922012-04-05 Michael Matz <matz@suse.de>
19793
19794 [BZ #13592]
19795 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19796
349fa79f
AJ
197972012-04-05 Andreas Jaeger <aj@suse.de>
19798
19799 [BZ #13908]
19800 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19801 comment.
19802
f402708f
KK
198032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19804
19805 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19806 which ROUND is no valid rounding mode.
19807
2ecccfc9
KK
198082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19809
19810 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19811 read again.
19812 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19813
8a53f50f
KK
198142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19815
19816 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19817 an exception using FPU order intentionally.
19818
198192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19820
19821 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19822 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19823 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19824 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19825
d653abb7
SJ
198262012-04-05 Simon Josefsson <simon@josefsson.org>
19827
19828 [BZ #12340]
19829 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19830 EINVAL when BUFLEN is too smal.
19831
c3b1bf7d
TS
198322012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19833
19834 [BZ #13553]
19835 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19836 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19837
b1aa60f3
AJ
198382012-04-03 Andreas Jaeger <aj@suse.de>
19839
c3b1bf7d 19840 [BZ #13938]
67f60a26
AJ
19841 * manual/setjmp.texi (System V contexts): Fix sentence.
19842
b1aa60f3
AJ
19843 [BZ #13926]
19844 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19845 New macro for this case.
19846 [!__GNUC__] (__bswap_64): New inline function for this case.
19847 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19848 * bits/byteswap.h: Likewise.
19849 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19850 ull, guard with __GLIBC_HAVE_LONG_LONG.
19851
19852 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19853 __GLIBC_HAVE_LONG_LONG.
19854
19855 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19856 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19857
39c59c35
TMQMF
198582012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19859
19860 [BZ #13691]
19861 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19862 inptr and inend, rather than using last_ch.
19863
135ffda8
DM
198642012-04-02 David S. Miller <davem@davemloft.net>
19865
19866 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19867 * stdio-common/printf-parse.h (read_int): Change return type to
19868 'int', return -1 on INT_MAX overflow.
19869 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19870 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19871 overflows INT_MAX. Check for overflow of in-format-string precision
19872 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19873 SIZE_MAX not INT_MAX for integer overflow test.
19874 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19875 skip the construct in the format string but do not record anything.
19876 * stdio-common/bug22.c: Adjust to test both width/prevision
19877 INT_MAX overflow as well as total length INT_MAX overflow. Check
19878 explicitly for proper errno values.
19879
228c019e
TS
198802012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19881
302cadd3
TS
19882 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19883 CHAR_MAX.
19884 * string/test-strcmp.c [! WIDE]: Likewise.
19885 * time/tst-mktime2.c: Likewise for INT_MAX.
19886 * string/test-string.h: #include <sys/param.h> for MIN.
19887
228c019e
TS
19888 * csu/init-first.c (__libc_init_first): Call __ctype_init.
19889 * sysdeps/i386/init-first.c (init): Likewise.
19890 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19891 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19892 * sysdeps/sh/init-first.c (init): Likewise.
19893
cfa633f5
UD
198942012-04-01 Ulrich Drepper <drepper@gmail.com>
19895
19896 * po/ru.po: Update from translation team.
d1635ef8 19897 * po/vi.po: Likewise.
cfa633f5 19898
6cd0a5ea
SP
198992012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19900
19901 * resolv/nss_dns/dns-host.c: Merge copyright years.
19902
4b43400f
LD
199032012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19904
19905 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19906 Optimize memcpy with prefetch if
19907 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
19908 src, dst pointers have unequal 16 byte alignments.
19909
48c41d04
SP
199102012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19911
19912 [BZ #13928]
19913 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19914 from a CNAME entry and return the minimum ttl for the query.
19915 (gaih_getanswer_slice): Likewise.
19916
b8dc394d
JL
199172012-03-30 Jeff Law <law@redhat.com>
19918
19919 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19920 due to long keys.
19921 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19922 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19923
2f5a5ed0
JL
19924 * resolv/nss_dns/dns-host.c: Update copyright year.
19925
1d39e359
UD
199262012-03-30 Ulrich Drepper <drepper@gmail.com>
19927
c030f70c 19928 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 19929 requests to save a system call. Fix check that all bytes are sent.
c030f70c 19930
1d39e359
UD
19931 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19932 comments for sendmmsg.
19933
199342012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
19935
19936 [BZ #13691]
19937 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19938 with only 1 character between 0x0041 and 0x01b0.
19939 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19940 * wcsmbs/tst-mbsnrtowcs.c: New file.
19941
20fde227
DM
199422012-03-29 David S. Miller <davem@davemloft.net>
19943
19944 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19945 small copies by hand.
19946
984a4237
JL
199472012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19948
19949 [BZ #13761]
19950 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19951 _nss_compat_initgroups_dyn): Fall back to malloc/free
19952 for large group memberships.
19953
18c9d62b
DM
199542012-03-28 David S. Miller <davem@davemloft.net>
19955
88d85d4f
DM
19956 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19957 that branches into memcpy.
19958 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19959 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19960 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19961 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19962 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19963 bits.
19964 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19965 implementation too.
19966 * sysdeps/sparc/mempcpy.S: New file.
19967
e5aa83e1
DM
19968 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19969 the IFUNC routine in the libc case.
19970 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19971
88570753
DM
19972 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19973 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19974 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19975 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19976 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19977 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19978 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19979 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19980
249d7567
DM
19981 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19982 loop to 256 bytes instead of 64 bytes and fix test signedness.
19983
18c9d62b
DM
19984 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19985 * sysdeps/sparc/sparc32/Makefile: rather than here...
19986 * sysdeps/sparc/sparc64/Makefile: and here.
19987
05f3d1f6
UD
199882012-03-28 Ulrich Drepper <drepper@gmail.com>
19989
19990 * malloc/mallocbug.c: Avoid warnings about unused variables.
19991
86ae07a8
JL
199922012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19993
19994 [BZ #13760]
19995 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19996 in the right place. Discard and retry query if response is
19997 larger than input buffer size.
19998
41bf21a1
JM
199992012-03-28 Joseph Myers <joseph@codesourcery.com>
20000
d6270972
JM
20001 [BZ #369]
20002 [BZ #2678]
20003 [BZ #3866]
20004 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20005 x for large integer exponent.
20006 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20007 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20008 sign of result as needed afterwards.
20009 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20010 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20011 result for underflowing pow the same as for overflow.
20012 (__kernel_standard_l): Handle powl overflow and underflow here
20013 rather than calling __kernel_standard.
20014 * math/libm-test.inc (pow_test): Add more tests.
20015
414fca03 20016 [BZ #3868]
41bf21a1
JM
20017 [BZ #13879]
20018 [BZ #13910]
20019 [BZ #13911]
20020 [BZ #13912]
20021 [BZ #13913]
20022 [BZ #13915]
20023 [BZ #13916]
20024 [BZ #13917]
20025 [BZ #13918]
20026 [BZ #13919]
20027 [BZ #13920]
20028 [BZ #13921]
20029 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20030 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20031 (__kernel_standard_l): New function.
20032 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20033 __kernel_standard.
20034 * math/w_acosl.c (__acosl): Likewise.
20035 * math/w_asinl.c (__asinl): Likewise.
20036 * math/w_atan2l.c (__atan2l): Likewise.
20037 * math/w_atanhl.c (__atanhl): Likewise.
20038 * math/w_coshl.c (__coshl): Likewise.
20039 * math/w_exp10l.c (__exp10l): Likewise.
20040 * math/w_exp2l.c (__exp2l): Likewise.
20041 * math/w_fmodl.c (__fmodl): Likewise.
20042 * math/w_hypotl.c (__hypotl): Likewise.
20043 * math/w_j0l.c (__j0l, __y0l): Likewise.
20044 * math/w_j1l.c (__j1l, __y1l): Likewise.
20045 * math/w_jnl.c (__jnl, __ynl): Likewise.
20046 * math/w_lgammal.c (__lgammal): Likewise.
20047 * math/w_log10l.c (__log10l): Likewise.
20048 * math/w_log2l.c (__log2l): Likewise.
20049 * math/w_logl.c (__logl): Likewise.
20050 * math/w_powl.c (__powl): Likewise.
20051 * math/w_remainderl.c (__remainderl): Likewise.
20052 * math/w_scalbl.c (sysv_scalbl): Likewise.
20053 * math/w_sinhl.c (__sinhl): Likewise.
20054 * math/w_sqrtl.c (__sqrtl): Likewise.
20055 * math/w_tgammal.c (__tgammal): Likewise.
20056 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20057 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20058 * math/libm-test.inc (acos_test): Add more tests.
20059 (acosh_test): Likewise.
20060 (asin_test): Likewise.
20061 (atanh_test): Likewise.
20062 (exp_test): Likewise.
20063 (exp10_test): Likewise.
20064 (exp2_test): Likewise.
20065 (expm1_test): Likewise.
20066 (lgamma_test): Likewise.
20067 (log_test): Likewise.
20068 (log10_test): Likewise.
20069 (log1p_test): Likewise.
20070 (log2_test): Likewise.
20071 (pow_test): Do not allow some spurious overflow exceptions.
20072 (sqrt_test): Add more tests.
20073 (tgamma_test): Likewise.
20074 (y0_test): Likewise.
20075 (y1_test): Likewise.
20076 (yn_test): Likewise.
20077
dd62fda6
AB
200782012-03-27 Anton Blanchard <anton@samba.org>
20079
20080 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20081 MAP_HUGETLB.
20082 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20083 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20084 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20085
1e3cdfda
AJ
200862012-03-27 David S. Miller <davem@davemloft.net>
20087
b855ab85
DM
20088 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20089
1e3cdfda
AJ
20090 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20091 have-as-vis3 check.
20092
200932012-03-27 Andreas Jaeger <aj@suse.de>
20094
20095 * sysdeps/x86_64/elf/configure.in: Moved to ...
20096 * sysdeps/x86_64/configure.in: ... here.
20097 * sysdeps/x86_64/elf/start.S: Moved to ...
20098 * sysdeps/x86_64/start.S: ... here.
20099 * sysdeps/x86_64/elf/configure: Delete.
20100
20101 * sysdeps/x86_64/configure.in: Merge contents from
20102 sysdeps/i386/configure.in (without i686 check).
20103
20104 * sysdeps/i386/elf/Versions: Merge into ...
20105 * sysdeps/i386/Versions: ... this.
20106 * sysdeps/i386/elf/Versions: Delete file.
20107 * sysdeps/i386/elf/start.S: Moved to ...
20108 * sysdeps/i386/start.S: ...here.
20109 * sysdeps/i386/elf/configure.in: Merge into...
20110 * sysdeps/i386/configure.in: ...here.
20111 * sysdeps/i386/elf/configure.in: Delete file.
20112 * sysdeps/i386/elf/configure: Delete file.
20113
20114 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20115 * debug/backtracesyms.c: ... here.
20116 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20117 * debug/backtracesymsfd.c: ... here.
20118 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20119 * sysdeps/generic/ifunc-sel.h: ... here.
20120
20121 * sysdeps/unix/i386/start.c: Delete file.
20122 * sysdeps/unix/sparc/start.c: Delete file.
20123 * sysdeps/unix/start.c: Delete file.
20124
20125 * sysdeps/sh/elf/configure.in: Moved to ...
20126 * sysdeps/sh/configure.in: ... here.
20127 * sysdeps/sh/elf/start.S: Moved to ...
20128 * sysdeps/sh/start.S: ... here.
20129 * sysdeps/sh/elf/configure: Delete file.
20130
20131 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20132 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20133 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20134 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20135 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20136 * sysdeps/powerpc/powerpc64/start.S: here.
20137 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20138 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20139 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20140 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20141 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20142
20143 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20144 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20145 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20146 * sysdeps/powerpc/powerpc32/start.S: ... here.
20147 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20148 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20149 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20150
20151 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20152 * sysdeps/powerpc/ifunc-sel.h: ... here.
20153 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20154 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20155
20156 * sysdeps/sparc/elf/configure.in: Moved to ...
20157 * sysdeps/sparc/configure.in: ... here.
20158 * sysdeps/sparc/elf/configure: Delete file.
20159 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20160 * sysdeps/sparc/sparc32/start.S: ... here.
20161 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20162 * sysdeps/sparc/sparc64/start.S: ... here.
20163 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20164 * sysdeps/sparc/sparc32/Makefile: ... this.
20165 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20166 * sysdeps/sparc/sparc64/Makefile: ... this.
20167
20168 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20169 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20170 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20171 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20172 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20173 * sysdeps/s390/s390-32/setjmp.S: ... here.
20174 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20175 * sysdeps/s390/s390-32/configure.in: ... here.
20176 * sysdeps/s390/s390-32/elf/configure: Delete file.
20177 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20178 * sysdeps/s390/s390-32/start.S: ... here.
20179
20180 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20181 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20182 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20183 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20184 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20185 * sysdeps/s390/s390-64/setjmp.S: ... here.
20186 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20187 * sysdeps/s390/s390-64/configure.in: ... here
20188 * sysdeps/s390/s390-64/elf/configure: Delete file.
20189 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20190 * sysdeps/s390/s390-64/start.S: ... here.
20191 * sysdeps/s390/s390-64/elf/configure: Delete.
20192
20193 * configure.in: Remove support for elf directories in sysdeps.
20194
20195 * configure: Regenerated.
20196 * sysdeps/i386/configure: Regenerated.
20197 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20198 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20199 * sysdeps/s390/s390-32/configure: Regenerated.
20200 * sysdeps/s390/s390-64/configure: Regenerated.
20201 * sysdeps/sh/configure: Regenerated.
20202 * sysdeps/sparc/configure: Regenerated.
20203 * sysdeps/x86_64/configure: Regenerated.
20204
a3f61311
AS
202052012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20206
c876e002
AS
20207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20208
a3f61311
AS
20209 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20210 denormal result into account.
20211
ac4c54f0
RM
202122012-03-25 Roland McGrath <roland@hack.frob.com>
20213
20214 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20215 Reported by Allan McRae <allan@archlinux.org>.
20216
6a9b9c02
JL
202172012-03-23 Jeff Law <law@redhat.com>
20218
20219 * nss/getnssent.c (__nss_getent): Fix typo.
20220
4c42a0c1
DM
202212012-03-23 David S. Miller <davem@davemloft.net>
20222
20223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20224
1532c7ac
L
202252012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20226
20227 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20228 to pad to uint64_t for each field.
20229 (dl_tls_index): Replace unsigned long with uint64_t.
20230
3ff42526
PP
202312012-03-23 Daniel Jacobowitz <dmj@google.com>
20232 Paul Pluzhnikov <ppluzhnikov@google.com>
20233
20234 [BZ #6528]
20235 * grp/Makefile (otherlibs): Don't set it.
20236 * inet/Makefile (otherlibs): Likewise.
20237 * login/Makefile (otherlibs): Likewise.
20238 * nscd/Makefile (otherlibs): Likewise.
20239 * posix/Makefile (otherlibs): Likewise.
20240 * pwd/Makefile (otherlibs): Likewise.
20241 * rt/Makefile (otherlibs): Likewise.
20242 * sunrpc/Makefile (otherlibs): Likewise.
20243 * nss/Makefile (otherlibs): Likewise.
20244 Add libnss_files to routines and static-only-routines.
20245 ($(objpfx)getent): Remove rule.
20246 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20247 static-only-routines.
20248
7c69cd14
JM
202492012-03-22 Joseph Myers <joseph@codesourcery.com>
20250
20251 [BZ #13892]
20252 * math/s_cexp.c: Include <float.h>.
20253 (__cexp): Handle exp result overflowing not necessarily
20254 overflowing both real and imaginary parts of result.
20255 * math/s_cexpf.c: Likewise.
20256 * math/s_cexpl.c: Likewise.
20257 * math/libm-test.inc (cexp_test): Add more tests.
20258 * sysdeps/i386/fpu/libm-test-ulps: Update.
20259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20260
81b035fe
L
202612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20262
20263 * include/link.h (ELFW): New macro.
20264 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20265 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20266
1da7940c
L
202672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20268
20269 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20270 with uint64_t.
20271
b749dbb9
L
202722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20273
20274 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20275 declaration.
20276 (struct La_x32_retval): Likewise.
20277
2ff87f3f
L
202782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20279
20280 * sysdeps/x86_64/preconfigure.in: New file.
20281 * sysdeps/x86_64/preconfigure: New generated file.
20282
c0df8e69
JM
202832012-03-22 Joseph Myers <joseph@codesourcery.com>
20284
48e44791
JM
20285 [BZ #13824]
20286 * math/e_exp2l.c: Include <float.h>.
20287 (__ieee754_exp2l): Handle overflow and underflow cases
20288 separately. Only pass fractional part of argument to
20289 __ieee754_expl.
20290 * math/libm-test.inc (exp2_test): Add more tests.
20291
c0df8e69
JM
20292 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20293 negating x to take absolute value.
20294 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20295 Likewise.
20296 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20297 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20298 Likewise.
20299 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20300 computing low part if x was negated.
20301 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20302
c8e43ba7
L
203032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20304
20305 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20306 la_x32_gnu_pltexit.
20307 (pltexit): Cast int_retval to ptrdiff_t.
20308 * elf/tst-auditmod3b.c: Likewise.
20309 * elf/tst-auditmod4b.c: Likewise.
20310 * elf/tst-auditmod5b.c: Likewise.
20311 * elf/tst-auditmod6b.c: Likewise.
20312 * elf/tst-auditmod6c.c: Likewise.
20313 * elf/tst-auditmod7b.c: Likewise.
20314
20315 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20316 and x32_gnu_pltexit.
20317
20318 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20319 __ELF_NATIVE_CLASS.
20320 (La_x32_regs): New macro.
20321 (La_x32_retval): Likewise.
20322 (la_x32_gnu_pltenter): New function prototype.
20323 (la_x32_gnu_pltexit): Likewise.
20324
7998fa78
AS
203252012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20326
dcb33988
AS
20327 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20328 exponent.
20329
233fc563
AS
20330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20331
7998fa78
AS
20332 * configure.in (libc_cv_cc_nofma): Check for option to disable
20333 generation of FMA instructions.
20334 * configure: Regenerate.
20335 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20336 * sysdeps/ieee754/dbl-64/Makefile: New file.
20337 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20338 Remove brandred-fma4.
20339 (CFLAGS-brandred-fma4.c): Remove.
20340 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20341 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20342 define.
20343 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20344 define.
20345
8e95c99a
L
203462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20347
20348 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20349 LLONG_MAX != LONG_MAX.
20350 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20351 (_fitoa_word): Likewise.
20352 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20353 LLONG_MAX != LONG_MAX.
20354 * stdio-common/_itowa.h: Include <_itoa.h>.
20355 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20356 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20357 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20358 only if not defined.
20359 (_ITOA_WORD_TYPE): Likewise.
20360 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20361 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20362
6f4db457
DM
203632012-03-21 David S. Miller <davem@davemloft.net>
20364
20365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20366
7785fe5a
L
203672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20368
20369 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20370 of x86_64 when setting libc_cv_slibdir, libdir and
20371 libc_cv_localedir.
20372 * sysdeps/unix/sysv/linux/configure: Regenerated.
20373
4535cd55
JM
203742012-03-21 Joseph Myers <joseph@codesourcery.com>
20375
20376 * manual/lang.texi (Old Varargs): Remove section.
20377 (How Variadic): Update menu.
20378 (va_start): Do not mention varargs.h.
20379
17228132
TS
203802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20381 Joseph Myers <joseph@codesourcery.com>
20382
20383 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20384 link test.
20385 * configure: Regenerated.
20386
8149f976
TS
203872012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20388
05f3d1f6
UD
20389 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20390 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20391 conformtest.pl
8149f976 20392
1a4ac776
JM
203932012-03-21 Joseph Myers <joseph@codesourcery.com>
20394
be22ce65
JM
20395 * NOTES: Remove.
20396 * Makefile (files-for-dist): Remove NOTES.
20397 (NOTES): Remove rule.
20398 * README: Don't refer to NOTES.
20399 * manual/creature.texi: Don't include macros.texi.
20400 * manual/intro.texi (creature.texi): Remove comment referring to
20401 NOTES.
20402
40b601fb
JM
20403 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20404 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20405 * configure: Regenerated.
20406 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20407 LIBC_TRY_CC_OPTION.
20408 (libc_cv_as_i686): Likewise.
20409 (libc_cv_cc_avx): Likewise.
20410 (libc_cv_cc_sse2avx): Likewise.
20411 (libc_cv_cc_fma4): Likewise.
20412 (libc_cv_cc_novzeroupper): Likewise.
20413 * sysdeps/i386/configure: Regenerated.
20414
1a4ac776
JM
20415 [BZ #13883]
20416 * sysdeps/i386/fpu/s_cexp.S: Remove.
20417 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20418 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20419 * math/libm-test.inc (cexp_test): Add more tests.
20420 * sysdeps/i386/fpu/libm-test-ulps: Update.
20421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20422
a458e7fe
AM
204232012-03-21 Allan McRae <allan@archlinux.org>
20424
20425 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20426
0cb7efc5
JM
204272012-03-21 Joseph Myers <joseph@codesourcery.com>
20428
20429 [BZ #13871]
20430 * math/w_exp2.c: Do not include <float.h>.
20431 (o_threshold, u_threshold): Remove.
20432 (__exp2): Calculate result before checking finiteness and calling
20433 __kernel_standard.
20434 * math/w_exp2f.c: Likewise.
20435 * math/w_exp2l.c: Likewise.
20436 * math/libm-test.inc (exp2_test): Require overflow exception for
20437 1e6 input.
2460d3aa
JM
20438
20439 [BZ #3866]
20440 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20441 range of signed 64-bit integers before using fistpll. Remove
20442 checks for whether integers fit in mantissa bits.
20443 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20444 the range of signed 32-bit integers before using fistpl. Remove
20445 checks for whether integers fit in mantissa bits.
20446 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20447 (__ieee754_powl): Test for y outside the range of signed 64-bit
20448 integers before using fistpll. Reduce 64-bit values to 63-bit
20449 ones as needed.
20450 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20451 divide-by-zero is raised for zero to large negative powers.
20452 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20453 (__ieee754_powl): Test for y outside the range of signed 64-bit
20454 integers before using fistpll. Reduce 64-bit values to 63-bit
20455 ones as needed.
20456 * math/libm-test.inc (pow_test): Add more tests.
20457
eb96ffb0
L
204582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20459
20460 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20461 <stdio-common/_itoa.h>.
20462 * debug/segfault.c: Likewise.
20463 * elf/dl-cache.c: Likewise.
20464 * elf/dl-minimal.c: Likewise.
20465 * elf/dl-misc.c: Likewise.
20466 * elf/dl-sysdep.c: Likewise.
20467 * elf/dl-version.c: Likewise.
20468 * elf/rtld.c: Likewise.
20469 * hurd/hurdsock.c: Likewise.
20470 * hurd/lookup-retry.c: Likewise.
20471 * malloc/malloc.c: Likewise.
20472 * malloc/mtrace.c: Likewise.
20473 * nscd/nscd_getgr_r.c: Likewise.
20474 * nscd/nscd_getpw_r.c: Likewise.
20475 * nscd/nscd_getserv_r.c: Likewise.
20476 * posix/getopt_init.c: Likewise.
20477 * posix/wordexp.c: Likewise.
20478 * stdio-common/_itoa.c: Likewise.
20479 * stdio-common/printf_fphex.c: Likewise.
20480 * stdio-common/vfprintf.c: Likewise.
20481 * string/_strerror.c: Likewise.
20482 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20483 * sysdeps/i386/i686/hp-timing.h: Likewise.
20484 * sysdeps/mach/_strerror.c: Likewise.
20485 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20486 * sysdeps/mach/hurd/sethostid.c: Likewise.
20487 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20488 * sysdeps/mach/xpg-strerror.c: Likewise.
20489 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20490 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20491 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20492 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20493 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20494 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20495 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20496 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20497 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20498 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20499 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20500 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20501 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20502 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20503 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20504 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20505 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20506 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20507 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20508 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20509 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20510
20511 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20512
20513 * stdio-common/_itoa.h: Moved to ...
20514 * sysdeps/generic/_itoa.h: Here.
20515
20516 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20517
20518 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20519 instead of "_itoa.h" and "_itowa.h".
20520 * stdio-common/vfprintf.: Likewise.
20521
d1af992d
L
205222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20523
20524 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20525 <bits/wordsize.h>.
20526 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20527 (__signbit): Likwise.
20528 (llrintf): Likwise.
20529 (llrint): Likwise.
20530
114883e0
L
205312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20532
20533 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20534 __WORDSIZE != 64.
20535
c135cc1b
JM
205362012-03-20 Joseph Myers <joseph@codesourcery.com>
20537
20538 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20539 OVERFLOW_EXCEPTION_OK.
20540 * math/libm-test.inc ("Philosophy"): Update comment about
20541 exception testing.
20542 (OVERFLOW_EXCEPTION): Define.
20543 (OVERFLOW_EXCEPTION_OK): Likewise.
20544 (INVALID_EXCEPTION_OK): Renumber.
20545 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20546 (IGNORE_ZERO_INF_SIGN): Likewise.
20547 (test_exceptions): Handle FE_OVERFLOW.
20548 (exp10_test): Expect overflow exceptions.
20549 (exp2_test): Likewise.
20550 (expm1_test): Likewise.
20551 (nextafter_test): Likewise.
20552 (pow_test): Likewise.
20553 (scalbn_test): Likewise.
20554 (scalbln_test): Likewise.
20555
95443d88
L
205562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20557
20558 * sysdeps/x86_64/bits/atomic.h
20559 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20560 64bit integer.
20561 (atomic_exchange_acq): Likewise.
20562 (__arch_exchange_and_add_body): Likewise.
20563 (__arch_add_body): Likewise.
20564 (atomic_add_negative): Likewise.
20565 (atomic_add_zero): Likewise.
20566
490df6c4
L
205672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20568
c2722551 20569 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
20570 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20571
5e52b189
L
205722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20573
20574 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20575 Check __x86_64__ instead of __WORDSIZE.
20576
a9879d4c
L
205772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20578
20579 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20580
5df98260
DM
205812012-03-19 David S. Miller <davem@davemloft.net>
20582
e1497744
DM
20583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20584
5df98260
DM
20585 * sysdeps/sparc/fpu/fenv_private.h: New file.
20586 * sysdeps/sparc/fpu/math_private.h: Use it.
20587 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20588 Remove.
20589 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20590 (libc_feholdexcept_setroundl): Remove.
20591 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20592 Remove.
20593 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20594 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20595
b4c35121
L
205962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20597
20598 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20599 int64_t instead of long int.
20600 (INSERT_WORDS64): Likwise.
20601
56965fd7
L
206022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20603
20604 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20605 _Unwind_GetCFA return to _Unwind_Ptr first.
20606
83d1aec8
JM
206072012-03-19 Joseph Myers <joseph@codesourcery.com>
20608
1897ad44
JM
20609 [BZ #13629]
20610 * math/s_clog.c: Include <float.h>.
20611 (__clog): Scale large or subnormal inputs.
20612 * math/s_clogf.c: Likewise.
20613 * math/s_clogl.c: Likewise.
20614 * math/s_clog10.c: Include <float.h>.
20615 (M_LOG10_2): Define.
20616 (__clog10): Scale large or subnormal inputs.
20617 * math/s_clog10f.c: Likewise.
20618 * math/s_clog10l.c: Likewise.
20619 * math/libm-test.inc (clog_test): Add more tests.
20620 (clog10_test): Likewise.
20621 * sysdeps/i386/fpu/libm-test-ulps: Update.
20622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20623
7726d6a9
JM
20624 [BZ #11451]
20625 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20626 x and y.
20627 * math/libm-test.inc (atan2_test): Add another test.
20628
83d1aec8
JM
20629 * Makerules (common-objdir-compile): Remove.
20630 * sysdeps/unix/Makefile (config-generated): Do not add
20631 $(unix-generated) to variable.
20632 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20633 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20634 Remove rule.
20635 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20636 Likewise.
20637 [generic bits/local_lim.h] (before-compile): Do not append to
20638 variable.
20639 [generic bits/local_lim.h] (common-generated): Likewise.
20640 [generic sys/param.h] (before-compile): Do not append to variable.
20641 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20642 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20643 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20644 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20645 include.
20646 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20647 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20648 [generic sys/param.h] ($(addprefix
20649 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20650 [generic sys/param.h] (common-generated): Do not append to
20651 variable.
20652 [generic sys/param.h] (sysdep_headers): Likewise.
20653 [generic bits/errno.h] (before-compile): Do not append to
20654 variable.
20655 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20656 rule.
20657 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20658 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20659 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20660 [generic bits/errno.h] (common-generated): Do not append to
20661 variable.
20662 [generic bits/ioctls.h] (before-compile): Do not append to
20663 variable.
20664 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20665 rule.
20666 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20667 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20668 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20669 rule.
20670 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20671 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20672 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20673 [generic bits/ioctls.h] (common-generated): Do not append to
20674 variable.
20675 [generic sys/syscall.h] (syscall.h): Remove variable.
20676 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20677 rule.
20678 [generic sys/syscall.h] (before-compile): Do not append to
20679 variable.
20680 [generic sys/syscall.h] (common-generated): Likewise.
20681 * sysdeps/unix/errnos-tmpl.c: Remove file.
20682 * sysdeps/unix/errnos.awk: Likewise.
20683 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20684 * sysdeps/unix/ioctls.awk: Likewise.
20685 * sysdeps/unix/mk-local_lim.c: Likewise.
20686 * sysdeps/unix/snarf-ioctls: Likewise.
20687
4851a949
RH
206882012-03-19 Richard Henderson <rth@twiddle.net>
20689
bd37f2ee
RH
20690 * sysdeps/i386/fpu/fenv_private.h: New file.
20691 * sysdeps/i386/fpu/math_private.h: Use it.
20692 (math_opt_barrier, math_force_eval): Remove.
20693 (libc_feholdexcept_setround_53bit): Remove.
20694 (libc_feupdateenv_53bit): Remove.
20695 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20696 (math_opt_barrier, math_force_eval): Remove.
20697 (libc_feholdexcept): Remove.
20698 (libc_feholdexcept_setround): Remove.
20699 (libc_fetestexcept, libc_fesetenv): Remove.
20700 (libc_feupdateenv_test): Remove.
20701 (libc_feupdateenv, libc_feholdsetround): Remove.
20702 (libc_feresetround): Remove.
20703
d0adc922
RH
20704 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20705 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20706
0fe0f1f8
RH
20707 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20708 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20709 (libc_feupdateenv_testl): New.
20710 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20711 (libc_feupdateenv_testf): New.
20712 (libc_feupdateenv): Use libc_feupdateenv_test.
20713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20714 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20715
eb92c487
RH
20716 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20717 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20718 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20719 (libc_feresetround_noex): New.
20720 (libc_feresetround_noexf): New.
20721 (libc_feresetround_noexl): New.
20722 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20723 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20724 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20725 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20726 SET_RESTORE_ROUND.
20727 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20728 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20729 (__cos): Likewise.
20730 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20731 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20732 SET_RESTORE_ROUND_NOEX.
20733 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20734 SET_RESTORE_ROUND_NOEXF.
20735 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20736 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20737 (libc_feholdsetroundf): New.
20738 (libc_feresetround, libc_feresetroundf): New.
20739
7d2e8012
RH
20740 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20741 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20742 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20743
b4dabbb4
RH
20744 * sysdeps/generic/math_private.h: Include <fenv.h>.
20745 (default_libc_feholdexcept): New.
20746 (default_libc_feholdexcept_setround): New.
20747 (default_libc_fesetenv, default_libc_feupdateenv): New.
20748 (libc_feholdexcept): Only define if undefined.
20749 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20750 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20751 (libc_feholdexcept_setroundl): Likewise.
20752 (libc_feholdexcept_setround_53bit): Likewise.
20753 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20754 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20755 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20756 (libc_feupdateenv_53bit): Likewise.
20757 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20758 (libc_feholdexcept): Convert from macro to inline function.
20759 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20760 (libc_fesetenv, libc_feupdateenv): Likewise.
20761
4851a949
RH
20762 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20763 not previously defined.
20764 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20765 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20766 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20767 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20768 * sysdeps/ieee754/flt-32/math_private.h: New file.
20769 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20770 math_private.h below SET_FLOAT_WORD.
20771 (__isnan, __isinf_ns, __finite): Remove.
20772 (__isnanf, __isinf_nsf, __finitef): Remove.
20773
e79d442e
AS
207742012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20775
20776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20777
90b80344
DM
207782012-03-17 David S. Miller <davem@davemloft.net>
20779
20780 [BZ #6471]
20781 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20782 for 2.16.
20783
edc21804
DM
207842012-03-16 David S. Miller <davem@davemloft.net>
20785
77e927af
DM
20786 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20787 warnings.
20788
374976dd
DM
20789 [BZ #6471]
20790 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20791 properly.
20792 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20793 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20794 sysdep_routines when subdir is sysvipc.
20795 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20796 __getshmlba helper.
20797
edc21804
DM
20798 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20799
473c3ef3
L
208002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20801
20802 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20803 [__LP64__].
20804
eb0f39b6
L
208052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20806
20807 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20808 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20809 (__lround): Renamed to ...
20810 (__llround): This. Replace long int with long long int.
20811 Define lround functions as aliases of llround functions.
20812 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20813
6b6cd74b
L
208142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20815
20816 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20817 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20818 adresses to uintptr_t. Replace "long int" and "unsigned long
20819 int" with "greg_t" on va_arg.
20820
f1a77b01
L
208212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20822
20823 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20824 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20825
20826 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20827 Move e_machine check before EI_CLASS check. Handle x32
20828 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20829 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20830 SKIP_EM_IA_64 and include
20831 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20832
20833 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20834 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20835 (add_system_dir): New macro.
20836
20837 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20838 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20839
11b90b9f
JM
208402012-03-16 Joseph Myers <joseph@codesourcery.com>
20841
c36e1d23
JM
20842 [BZ #2551]
20843 [BZ #2552]
20844 [BZ #2553]
20845 [BZ #2554]
20846 [BZ #2562]
20847 [BZ #2563]
20848 [BZ #2565]
20849 [BZ #2566]
20850 [BZ #2576]
20851 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20852 (y0): Likewise.
20853 * math/w_j0f.c (j0f): Likewise.
20854 (y0f): Likewise.
20855 * math/w_j0l.c (__j0l): Likewise.
20856 (__y0l): Likewise.
20857 * math/w_j1.c (j1): Likewise.
20858 (y1): Likewise.
20859 * math/w_j1f.c (j1f): Likewise.
20860 (y1f): Likewise.
20861 * math/w_j1l.c (__j1l): Likewise.
20862 (__y1l): Likewise.
20863 * math/w_jn.c (jn): Likewise.
20864 (yn): Likewise.
20865 * math/w_jnf.c (jnf): Likewise.
20866 (ynf): Likewise.
20867 * math/w_jnl.c (__jnl): Likewise.
20868 (__ynl): Likewise.
20869 * math/libm-test.inc (j0_test): Add more tests.
20870 (j1_test): Likewise.
20871 (jn_test): Likewise. Add trailing semicolon to existing test.
20872 (y0_test): Likewise.
20873 (y1_test): Likewise.
20874 * sysdeps/i386/fpu/libm-test-ulps: Update.
20875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20876
11b90b9f
JM
20877 [BZ #13851]
20878 [BZ #13854]
20879 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20880 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20881 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20882 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20883 (__tanl): Set errno for infinite argument.
20884 * sysdeps/i386/fpu/mptan.c: Remove.
20885 * sysdeps/i386/fpu/s_tan.S: Likewise.
20886 * sysdeps/i386/fpu/s_tanl.S: Likewise.
20887 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20888 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20889 * math/libm-test.inc (tan_test): Add more tests and enable more
20890 tests for double and long double.
20891 * sysdeps/i386/fpu/libm-test-ulps: Update.
20892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20893
6a1bd2a1
JK
208942012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20895
20896 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20897 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20898
10a803e0
RM
208992012-03-16 Roland McGrath <roland@hack.frob.com>
20900
20901 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20902 * configure.in: Use it for both main tree and add-ons.
20903 * configure: Regenerated.
20904
f196c7f7
L
209052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20906
20907 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20908
8848d99d
JM
209092012-03-16 Joseph Myers <joseph@codesourcery.com>
20910
96cbe7f4
JM
20911 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20912 in comment.
20913
8848d99d
JM
20914 [BZ #13851]
20915 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20916 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20917 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20918 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20919 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20920 infinite argument.
20921 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20922 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20923 != 0 for prec == 2.
20924 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20925 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20926 * sysdeps/i386/fpu/s_cosl.S: Likewise.
20927 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20928 * sysdeps/i386/fpu/s_sinl.S: Likewise.
20929 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20930 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20931 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20932 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20933 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20934 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20935 * math/libm-test.inc (cos_test): Add more tests and enable more
20936 tests for long double.
20937 (sin_test): Likewise.
20938 (sincos_test): Likewise.
20939 * sysdeps/i386/fpu/libm-test-ulps: Update.
20940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20941
dd7f4703
DM
209422012-03-16 David S. Miller <davem@davemloft.net>
20943
20944 * sysdeps/sparc/fpu/math_private.h: New file.
20945
006f1daa
DM
209462012-03-15 David S. Miller <davem@davemloft.net>
20947
c0c83bc8
DM
20948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20949 file.
e6a62e18 20950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
20951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20952 file.
e6a62e18
DM
20953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20958 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20959 sysdep routines.
20960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20961
88cb87d9
DM
20962 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20963 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20964
006f1daa 20965 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
20966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20967 sparc-ifunc.h
006f1daa 20968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
20969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20970 Likewise.
20971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20972 Likewise.
006f1daa
DM
20973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
20976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20977 Likewise.
006f1daa
DM
20978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
20982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20983 Likewise.
20984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20985 Likewise.
006f1daa
DM
20986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20992 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20993 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21004 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21005 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21006 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21008 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21009 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21010
11e0098e
AS
210112012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21012
21013 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21014 scaling.
21015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21016
e85b09d0
AJ
210172012-03-15 Andreas Jaeger <aj@suse.de>
21018
21019 [BZ #13852]
21020 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21021 ieee754/flt-32 implementation for sin, cos and sincos.
21022 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21023 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21024 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21025 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21026 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21027 ieee754/flt-32 implementation for tan.
21028
21029 * math/libm-test.inc (cos_test): Enable some large input tests for
21030 float as well
21031 (sin_test): Likewise.
21032 (sincos_test): Likewise.
21033 (tan_test): Add tests for large input.
21034
21035 * sysdeps/i386/fpu/libm-test-ulps: Update.
21036
81c64153
AJ
210372012-03-15 Andreas Jaeger <aj@suse.de>
21038
21039 [BZ #13658]
21040 * math/libm-test.inc (cos_test): Add more test cases.
21041 (sin_test): Likewise.
21042 (sincos_test): Likewise.
21043
7bbfa5c6
AJ
210442012-03-15 Andreas Jaeger <aj@suse.de>
21045
21046 [BZ #13837]
21047 * math/libm-test.inc (cos_test): Add a test case for large input
21048 value.
21049 (sin_test): Likewise.
21050 (sincos_test): Likewise.
21051
210522012-03-15 Andreas Jaeger <aj@suse.de>,
21053 Joseph Myers <joseph@codesourcery.com>
21054
21055 [BZ #13658]
0671f479 21056 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21057 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21058 * sysdeps/i386/fpu/branred.c: Likewise.
21059 * sysdeps/i386/fpu/dosincos.c: Likewise.
21060 * sysdeps/i386/fpu/mpa.c: Likewise.
21061 * sysdeps/i386/fpu/s_cos.S: Likewise.
21062 * sysdeps/i386/fpu/s_sin.S: Likewise.
21063 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21064 * sysdeps/i386/fpu/sincos32.c: Likewise.
21065
21066 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21067 Define.
21068 (libc_feupdateenv_53bit): Define.
21069 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21070 Define.
21071 (libc_feupdateenv_53bit): Define.
21072
21073 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21074 53 bit (without extend i386 double precision).
21075
21076 * math/libm-test.inc (sincos_test): Add tests for large input.
21077 (sin): Likewise.
21078 (cos): Likewise.
21079
21080 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21081
9cad04ea
AS
210822012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21083
21084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21085
f7062b9a
DM
210862012-03-15 David S. Miller <davem@davemloft.net>
21087
21088 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21089 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21090 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21091 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21104 file.
f7062b9a 21105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21107 file.
f7062b9a 21108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21110 file.
f7062b9a 21111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21113 file.
f7062b9a
DM
21114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21115 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21116 fmin/fmax sysdep routines.
21117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21118
7bd951ff
DM
211192012-03-14 David S. Miller <davem@davemloft.net>
21120
559398ab
DM
21121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21125 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21126 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21127 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21128 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21141 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21142 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21143 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21144 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21145 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21146 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21147 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21148 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21149 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21150 routines.
21151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21152 file.
559398ab 21153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21155 file.
559398ab 21156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21158 file.
559398ab 21159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21161 file.
559398ab 21162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21164 file.
559398ab 21165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21167 file.
21168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21169 file.
21170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21171 file.
21172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21173 file.
21174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21175 New file.
21176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21177 file.
21178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21179 file.
559398ab 21180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21182 file.
559398ab 21183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21185 file.
559398ab 21186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21188 file.
559398ab 21189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21191 VIS3 routines.
559398ab
DM
21192
21193 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21194 New file.
21195
5a1c1e32
DM
21196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21197
eae47a36
DM
21198 * sysdeps/sparc/configure.in: New file.
21199 * sysdeps/sparc/configure: Generate.
21200 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21201 * configure: Regenerate.
21202 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21203 * config.make.in (have-as-vis3): New.
21204 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21205 available use -Av9d instead of -Av9a.
21206 * sysdeps/sparc/sparc64/Makefile: Likewise.
21207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21209 New file.
21210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21211 file.
21212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21213 New file.
21214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21215 file.
eae47a36
DM
21216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21217 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21219 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21220 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21221
c0c83bc8
DM
21222 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21223 fzeros/fnegs to load 0x80000000 into a float register instead of
21224 using the stack.
7bd951ff
DM
21225 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21226
bd951ccb
JM
212272012-03-14 Joseph Myers <joseph@codesourcery.com>
21228
21229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21230 bits/syscall.h.
21231 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21232 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21233 ($(inst_includedir)/bits/syscall.h): Remove rule.
21234 ($(objpfx)bits/syscall.d): Include instead of
21235 $(objpfx)syscall-list.d.
21236 (generated): Change syscall-list.h and syscall-list.d to
21237 bits/syscall.h and bits/syscall.d.
21238
bb4e6db2
RM
212392012-03-14 Roland McGrath <roland@hack.frob.com>
21240
21241 [BZ #13846]
21242 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21243
aa4a2ae1
JM
212442012-03-14 Joseph Myers <joseph@codesourcery.com>
21245
e456826d
JM
21246 [BZ #13841]
21247 * math/s_csqrt.c: Include <float.h>.
21248 (__csqrt): Scale large or subnormal inputs.
21249 * math/s_csqrtf.c: Likewise.
21250 * math/s_csqrtl.c: Likewise.
21251 * math/libm-test.inc (csqrt_test): Add more tests.
21252 * sysdeps/i386/fpu/libm-test-ulps: Update.
21253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21254
aa4a2ae1
JM
21255 [BZ #13840]
21256 * math/libm-test.inc (hypot_test): Add more tests.
21257
7c10fd35
DM
212582012-03-13 David S. Miller <davem@davemloft.net>
21259
21260 [BZ #13840]
21261 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21262 double-precision for the calculation instead of scaling.
21263
f453b98b
JM
212642012-03-13 Joseph Myers <joseph@codesourcery.com>
21265
21266 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21267 manipulate bits before adding and subtracting TWO52[sx].
21268 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21269 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21270 Likewise.
21271 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21272
09a3453f
DM
212732012-03-13 David S. Miller <davem@davemloft.net>
21274
8e59da90
DM
21275 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21276 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21277 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21278 rtld-global-offsets.h
21279 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21280
2a8ab7f2
DM
21281 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21282 large parameters.
21283
10f62770
DM
21284 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21285
5f0bdb18
DM
21286 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21287 'err' in the ifdef scope in which it is actually used.
21288
09a3453f
DM
21289 * nss/nss_db/db-init.c: Include string.h
21290
b4b2eb5e
DM
212912012-03-12 David S. Miller <davem@davemloft.net>
21292
98bb2f1c
DM
21293 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21294 masking out of the most significant byte of random value used.
21295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21296 Fix coding style in previous change.
21297
b4b2eb5e
DM
21298 * sysdeps/unix/sysv/linux/kernel-features.h
21299 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21300 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21301 expression.
21302 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21303 later.
21304
6e226b09
DM
213052012-03-11 David S. Miller <davem@davemloft.net>
21306
a1bcbd40
DM
21307 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21308 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21309 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21310 for 'resultvar' otherwise things get truncated on 64-bit.
21311
cb9d6174
DM
21312 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21313 Fix masking out of the most significant byte of random value used.
21314
6e226b09
DM
21315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21316
058c132d
AS
213172012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21318
21319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21320
2d2cd515
DM
213212012-03-09 David S. Miller <davem@davemloft.net>
21322
21323 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21324 variables with appropriate CPP guards.
21325 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21326 frame pointer, not the stack pointer. Correct layout comments. Fix test
21327 on resulting framesize and the management of the outregs buffer for pltexit.
21328 Preserve floating point return values across _dl_call_pltexit call.
21329 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21330 framesize and the management of the outregs buffer for pltexit.
21331 Preserve floating point return values across _dl_call_pltexit
21332 call.
21333 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21334 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21335 (print_exit): Fix format string for return register value.
21336
9a07f9d0
JM
213372012-03-10 Joseph Myers <joseph@codesourcery.com>
21338
21339 * sunrpc/Makefile (others): Add rpcgen.
21340 ($(objpfx)rpcgen): Remove special build rule and dependency on
21341 libc.
21342 * sunrpc/rpcgen.c: New file.
21343
547b5e30
PE
213442012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21345
c524201a
PE
21346 [BZ #13673]
21347 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21348 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21349 * sysdeps/i386/crti.S: Likewise.
21350 * sysdeps/i386/crtn.S: Likewise.
21351 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21352 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21353 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21354 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21355 * sysdeps/sh/crti.S: Likewise.
21356 * sysdeps/sh/crtn.S: Likewise.
21357 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21358
7b6235f2
PE
21359 [BZ #13673]
21360 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21361 with URL.
21362 * locale/programs/locfile-kw.gperf: Likewise.
21363 * locale/programs/charmap-kw.h: Regenerated.
21364 * locale/programs/locfile-kw.h: Likewise.
21365
547b5e30
PE
21366 [BZ #13673]
21367 * intl/plural.y: Replace FSF snail mail address with URL.
21368 * intl/plural.c: Regenerated.
21369
5f0a5dae
RH
213702012-03-09 Richard Henderson <rth@twiddle.net>
21371
21372 * include/math_private.h: Remove file.
21373 * math/math_private.h: Move file ...
21374 * sysdeps/generic/math_private.h: ... here.
21375
b8c03620
RH
21376 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21377 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21378 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21379
4e234f5d 21380 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
21381 and <math_private.h>.
21382 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21383 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21384 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21385 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21386 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21387 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21388 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21389 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21390 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21391 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21392 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21393 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21394 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21395 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21396 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21397 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21398 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21399 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21400 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21401 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21402 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21403 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21404 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21405 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21406 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21407 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21408 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21409 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21410 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21411 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21412 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21413 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21414 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21415 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21416 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21417 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21418 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21419 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21420 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21421 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21422 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21423 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21424 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21425 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21426 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21427 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21428 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21429 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21430 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21431 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21432 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21433 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21434 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21435 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21436 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21437 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21438 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21439 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21440 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21441 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21442 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21443 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21444 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21445 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21446 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21447 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21448 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21449 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21450 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21451 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21452 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21453 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21454 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21455 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21456 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21457 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21458 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21459 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21460 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21461 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21462 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21463 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21464 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21465 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21466 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21467 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21468 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21469 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21470 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21471 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21472 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21473 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21474 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21475 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21476 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21477 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21478 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21479 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21480 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21481 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21482 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21483 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21484 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21485 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21486 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21487 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21488 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21489 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21490 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21491 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21492 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21493 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21494 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21495 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21496 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21497 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21498 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21499 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21500 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21501 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21502 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21503 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21504 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21505 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21506 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21507 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21508 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21509 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21510 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21511 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21512 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21513 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21514 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21515 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21516 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21517 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21518 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21519 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21520 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21521 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21522 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21523 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21524 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21525 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21526 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21527 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21528 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21529 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21530 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21531 * sysdeps/ieee754/k_standard.c: Likewise.
21532 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21533 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21534 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21535 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21536 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21537 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21538 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21539 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21540 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21541 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21542 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21543 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21544 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21545 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21546 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21547 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21548 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21549 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21550 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21551 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21552 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21553 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21554 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21555 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21556 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21557 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21558 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21559 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21560 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21561 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21562 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21563 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21564 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21565 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21566 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21567 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21568 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21569 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21570 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21571 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21572 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21573 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21574 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21575 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21576 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21577 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21578 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21579 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21580 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21581 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21582 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21583 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21584 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21585 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21586 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21587 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21588 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21589 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21590 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21591 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21592 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21593 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21594 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21595 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21596 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21597 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21598 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21599 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21600 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21601 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21602 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21604 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21605 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21606 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21607 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21608 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21609 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21610 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21611 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21612 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21613 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21614 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21615 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21616 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21617 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21618 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21619 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21620 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21621 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21622 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21623 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21624 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21625 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21626 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21627 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21628 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21629 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21630 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21631 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21632 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21633 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21634 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21635 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21636 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21637 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21638 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21639 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21640 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21641 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21642 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21643 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21644 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21645 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21646 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21647 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21648 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21649 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21650 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21651 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21652 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21653 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21654 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21655 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21656 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21657 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21658 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21659 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21660 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21661 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21662 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21663 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21664 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21665 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21666 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21667 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21668 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21669 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21670 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21671 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21672 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21673 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21674 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21675 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21676 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21677 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21678 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21679 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21680 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21681 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21682 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21683 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21684 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21685 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21686 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21687 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21688 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21689 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21690 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21691 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21692 * sysdeps/ieee754/s_lib_version.c: Likewise.
21693 * sysdeps/ieee754/s_matherr.c: Likewise.
21694 * sysdeps/ieee754/s_signgam.c: Likewise.
21695 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21696 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21697 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21698 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21699 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21700 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21701 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21702 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21703 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21704 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21705 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21706 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21707 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21708 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21709 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21710 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21711 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21712 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21713 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21714 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21715 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 21716
1991fa03
JM
217172012-03-09 Joseph Myers <joseph@codesourcery.com>
21718
21719 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21720 * sunrpc/rpc_main.c: Likewise.
21721 * sunrpc/rpc_svcout.c: Likewise.
21722
60d6f5a6
DM
217232012-03-09 David S. Miller <davem@davemloft.net>
21724
21725 * include/math_private.h: New file.
21726
4962050e
JM
217272012-03-09 Joseph Myers <joseph@codesourcery.com>
21728
02a6f887
JM
21729 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21730 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21731 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21732 from <bits/socket_type.h>.
21733 (enum __socket_type): Don't define here.
21734 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21736 bits/socket_type.h.
21737
c6e013c1
JM
21738 [BZ #13566]
21739 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21740 checking __USE_GNU.
21741
4962050e
JM
21742 * Makerules ($(inst_includedir)/%.h): New rule.
21743 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21744 (install-others): Remove variable setting.
21745 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21746
38842f45
RH
217472012-03-08 Richard Henderson <rth@twiddle.net>
21748
67bb6da6
RH
21749 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21750 from macro to inline function; merge with the
21751 !__LIBC_INTERNAL_MATH_INLINES version.
21752 (__ieee754_sqrtf): Likewise.
21753
15194b4b
RH
21754 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21755 to inline function.
21756 (__rintf, __floor, __floorf): Likewise.
21757
64e21ede
RH
21758 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21759 macro to inline function.
21760 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21761
38842f45
RH
21762 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21763 not <math/math_private.h>.
21764
c64bf5fe
DM
217652012-03-08 David S. Miller <davem@davemloft.net>
21766
21767 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21768 copyright year.
21769 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21770
82d86f28
TS
217712012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21772
21773 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21774 normalization.
21775 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21776 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21777
aea5d727
UD
217782012-03-08 Ulrich Drepper <drepper@gmail.com>
21779
21780 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21781 be defined individually, they must be defined as a block. Define
21782 S for printing a string instead of hidint the different by using a
21783 macro for adding the 'l'.
21784 * stdio-common/tst-fphex-wide.c: Adjust.
21785
70bca0a3
MP
217862012-03-07 Marek Polacek <polacek@redhat.com>
21787
21788 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21789
65b81130
MP
217902012-03-08 Marek Polacek <polacek@redhat.com>
21791
21792 [BZ #13806]
21793 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21794 * stdio-common/tst-fphex.c: Define a few macros to make the
21795 test reusable. Use them.
21796 * stdio-common/tst-fphex-wide.c: New file.
21797
07037eeb
JM
217982012-03-08 Joseph Myers <joseph@codesourcery.com>
21799
a7a93d50
JM
21800 [BZ #6911]
21801 * manual/macros.texi (gnusystems): New macro.
21802 (nongnusystems): Likewise.
21803 (gnulinuxhurdsystems): Likewise.
21804 (gnuhurdsystems): Likewise..
21805 (gnulinuxsystems): Likewise.
21806 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21807 variants of the GNU system, not "GNU system".
21808 * manual/conf.texi: Likewise.
21809 * manual/errno.texi: Likewise. Update example of errno macro
21810 expansion.
21811 * manual/filesys.texi: Likewise.
21812 (getumask): Document as specific to GNU/Hurd.
21813 * manual/install.texi: Likewise. Reword some references to
21814 GNU/Linux.
21815 * manual/intro.texi: Likewise.
21816 * manual/io.texi: Likewise.
21817 (File Name Portability): Detail which constraints are inapplicable
21818 to all GNU systems and which are only inapplicable to GNU/Hurd.
21819 * manual/job.texi: Likewise.
21820 * manual/llio.texi: Likewise.
21821 (O_NOCTTY): Document as present on GNU/Linux.
21822 * manual/maint.texi: Likewise.
21823 * manual/memory.texi: Likewise.
21824 * manual/pattern.texi: Likewise.
21825 * manual/pipe.texi: Likewise.
21826 * manual/process.texi: Likewise.
21827 * manual/resource.texi: Likewise.
21828 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21829 child on GNU/Hurd.
21830 * manual/setjmp.texi: Likewise.
21831 * manual/signal.texi: Likewise.
21832 * manual/startup.texi: Likewise.
21833 * manual/stdio.texi: Likewise.
21834 * manual/terminal.texi: Likewise.
21835 (ONLCR): Document as POSIX.
21836 (OXTABS): Document availability on GNU/Linux as XTABS.
21837 (ONOEOT): Document availability separately from other bits.
21838 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21839 * manual/time.texi: Likewise.
21840 * manual/users.texi: Likewise.
21841 * INSTALL: Regenerated.
21842 * sysdeps/gnu/errlist.c: Regenerated.
21843
07037eeb
JM
21844 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21845 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21846 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21847 puts.
21848 * configure: Regenerated.
21849
d1d3431a
JM
218502012-03-07 Joseph Myers <joseph@codesourcery.com>
21851
af6a1e37
JM
21852 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21853 default includes instead of AC_HEADER_CHECK.
21854 * sysdeps/i386/configure: Regenerated.
21855
d1d3431a
JM
21856 [BZ #10716]
21857 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21858 * math/s_cacoshf.c (__cacoshf): Likewise.
21859 * math/s_cacoshl.c (__cacoshl): Likewise.
21860 * math/s_casinh.c (__casinh): Set signs of result from argument.
21861 * math/s_casinhf.c (__casinhf): Likewise.
21862 * math/s_casinhl.c (__casinhl): Likewise.
21863 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21864 (casinh_test): Add more tests.
21865 * sysdeps/i386/fpu/libm-test-ulps: Update.
21866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21867
482ff4da
UD
218682012-03-07 Ulrich Drepper <drepper@gmail.com>
21869
872fda05
UD
21870 * po/zh_TW.po: Update from translation team.
21871
a4300c7a
UD
21872 * login/Makefile (distribute): Remove variable.
21873 * catgets/Makefile: Likewise.
21874 * mach/Makefile: Likewise.
21875 * malloc/Makefile: Likewise.
21876 * misc/Makefile: Likewise.
21877 * iconv/Makefile: Likewise.
21878 * nscd/Makefile: Likewise.
21879 * hurd/Makefile: Likewise.
21880 * manual/Makefile: Likewise.
21881 * locale/Makefile: Likewise.
21882 * intl/Makefile: Likewise.
21883 * conform/Makefile: Likewise.
21884 * nss/Makefile: Likewise.
21885 * time/Makefile: Likewise.
21886 * soft-fp/Makefile: Likewise.
21887 * dirent/Makefile: Likewise.
21888 * gmon/Makefile: Likewise.
21889 * po/Makefile: Likewise.
21890 * rt/Makefile: Likewise.
21891 * socket/Makefile: Likewise.
21892 * math/Makefile: Likewise.
21893 * signal/Makefile: Likewise.
21894 * debug/Makefile: Likewise.
21895 * elf/Makefile: Likewise.
21896 * timezone/Makefile: Likewise.
21897 * stdlib/Makefile: Likewise.
21898 * iconvdata/Makefile: Likewise.
21899 * sunrpc/Makefile: Likewise.
21900 * io/Makefile: Likewise.
21901 * argp/Makefile: Likewise.
21902 * inet/Makefile: Likewise.
21903 * hesiod/Makefile: Likewise.
21904 * grp/Makefile: Likewise.
21905 * csu/Makefile: Likewise.
21906 * wctype/Makefile: Likewise.
21907 * crypt/Makefile: Likewise.
21908 * libio/Makefile: Likewise.
21909 * string/Makefile: Likewise.
21910 * nis/Makefile: Likewise.
21911 * resolv/Makefile: Likewise.
21912 * stdio-common/Makefile: Likewise.
21913 * wcsmbs/Makefile: Likewise.
21914 * dlfcn/Makefile: Likewise.
21915 * posix/Makefile: Likewise.
21916
3b7c4e74 21917 [BZ #6959]
482ff4da
UD
21918 * timezone/Makefile: Don't install timezone files, just the programs
21919 and scripts.
21920
f72ed77d
UD
219212012-03-06 Ulrich Drepper <drepper@gmail.com>
21922
a000466f
UD
21923 * nss/databases.def: Add missing gshadow entry.
21924
f72ed77d
UD
21925 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21926
a53b7a4e
MP
219272012-03-06 Marek Polacek <polacek@redhat.com>
21928
21929 [BZ #13726]
21930 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21931 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21932 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21933 * stdio-common/tst-long-dbl-fphex.c: New file.
21934
e9258400
DM
219352012-03-06 David S. Miller <davem@davemloft.net>
21936
21937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21938 (set_obp_int): New function.
21939 (get_obp_int): New function.
21940 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
21941 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21942 Avoid unused variable warnings on 'val' and use builtin_expect.
21943 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21944 __builtin_expect.
e9258400
DM
21945 (INLINE_CLONE_SYSCALL): Likewise.
21946
3bd2c723
DM
219472012-03-05 David S. Miller <davem@davemloft.net>
21948
21949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21950
bbb78d03
AS
219512012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21952
884c5db4
AS
21953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21954
bbb78d03
AS
21955 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21956 only for |x| >= 40.
21957 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21958
1c9f702a 219592012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
21960
21961 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21962 Replace gettimeofday with __vdso_gettimeofday.
21963
7be16f82
RM
21964 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21965 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21966 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
21967
21968 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21969 time with __vdso_time.
21970
ed58a00f
JM
219712012-03-05 Joseph Myers <joseph@codesourcery.com>
21972
21973 * manual/lang.texi (size_t): Note types to which size_t may be
21974 equivalent with the GNU C Library, but do not describe when
21975 differences between them are significant.
21976
30ee4ced
AJ
219772012-03-05 Andreas Jaeger <aj@suse.de>
21978
21979 * sysdeps/i386/fpu/libm-test-ulps: Update.
21980
b7cd39e8
JM
219812012-03-05 Joseph Myers <joseph@codesourcery.com>
21982
21983 [BZ #3976]
21984 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21985 (__ieee754_pow): Save and restore rounding mode and use
21986 round-to-nearest for main computations.
21987 * math/libm-test.inc (pow_test_tonearest): New function.
21988 (pow_test_towardzero): Likewise.
21989 (pow_test_downward): Likewise.
21990 (pow_test_upward): Likewise.
21991 (main): Call the new functions.
21992 * sysdeps/i386/fpu/libm-test-ulps: Update.
21993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
21994
21995 [BZ #3976]
21996 * math/libm-test.inc (cosh_test_tonearest): New function.
21997 (cosh_test_towardzero): Likewise.
21998 (cosh_test_downward): Likewise.
21999 (cosh_test_upward): Likewise.
22000 (sinh_test_tonearest): Likewise.
22001 (sinh_test_towardzero): Likewise.
22002 (sinh_test_downward): Likewise.
22003 (sinh_test_upward): Likewise.
22004 (main): Call the new functions.
22005 * sysdeps/i386/fpu/libm-test-ulps: Update.
22006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22007
6c6a98c9
TV
220082012-03-05 Tom de Vries <tom@codesourcery.com>
22009
22010 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22011 default stack guard is set in last bytes.
22012 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22013
21bb2d2e 220142012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22015
21bb2d2e 22016 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22017
21bb2d2e
AJ
22018 [BZ #13656]
22019 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22020 possibly allocate from heap instead of stack.
22021 * stdio-common/bug-vfprintf-nargs.c: New file.
22022 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22023
c6922934
AS
220242012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22025
22026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22027
bc957d53
MP
220282012-03-03 Marek Polacek <polacek@redhat.com>
22029
22030 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22031 * math/math_private.h: Likewise.
22032 * stdlib/tst-strtod.c: Likewise.
22033 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22034 * sysdeps/x86_64/bits/atomic.h: Likewise.
22035
6358490d
DM
220362012-03-02 David S. Miller <davem@davemloft.net>
22037
22038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22042 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22043 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22044 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22045 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22046
01ae168d
RM
220472012-03-02 Roland McGrath <roland@hack.frob.com>
22048
d9a17c07
RM
22049 [BZ #13792]
22050 * manual/examples/README: New file, says the example source files
22051 can be used under GPL>=2.
22052 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22053 line containing just "*/".
22054 * manual/examples/add.c: Add copyright header (GPL>=2).
22055 * manual/examples/argp-ex1.c: Likewise.
22056 * manual/examples/argp-ex2.c: Likewise.
22057 * manual/examples/argp-ex3.c: Likewise.
22058 * manual/examples/argp-ex4.c: Likewise.
22059 * manual/examples/atexit.c: Likewise.
22060 * manual/examples/db.c: Likewise.
22061 * manual/examples/dir.c: Likewise.
22062 * manual/examples/dir2.c: Likewise.
22063 * manual/examples/execinfo.c: Likewise.
22064 * manual/examples/filecli.c: Likewise.
22065 * manual/examples/filesrv.c: Likewise.
22066 * manual/examples/fmtmsgexpl.c: Likewise.
22067 * manual/examples/genpass.c: Likewise.
22068 * manual/examples/inetcli.c: Likewise.
22069 * manual/examples/inetsrv.c: Likewise.
22070 * manual/examples/isockad.c: Likewise.
22071 * manual/examples/longopt.c: Likewise.
22072 * manual/examples/memopen.c: Likewise.
22073 * manual/examples/memstrm.c: Likewise.
22074 * manual/examples/mkfsock.c: Likewise.
22075 * manual/examples/mkisock.c: Likewise.
22076 * manual/examples/mygetpass.c: Likewise.
22077 * manual/examples/pipe.c: Likewise.
22078 * manual/examples/popen.c: Likewise.
22079 * manual/examples/rprintf.c: Likewise.
22080 * manual/examples/search.c: Likewise.
22081 * manual/examples/select.c: Likewise.
22082 * manual/examples/setjmp.c: Likewise.
22083 * manual/examples/sigh1.c: Likewise.
22084 * manual/examples/sigusr.c: Likewise.
22085 * manual/examples/stpcpy.c: Likewise.
22086 * manual/examples/strdupa.c: Likewise.
22087 * manual/examples/strftim.c: Likewise.
22088 * manual/examples/strncat.c: Likewise.
22089 * manual/examples/subopt.c: Likewise.
22090 * manual/examples/swapcontext.c: Likewise.
22091 * manual/examples/termios.c: Likewise.
22092 * manual/examples/testopt.c: Likewise.
22093 * manual/examples/testpass.c: Likewise.
22094 * manual/examples/timeval_subtract.c: Likewise.
22095
01ae168d
RM
22096 [BZ #13792]
22097 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22098 function to ...
22099 * manual/timeval_subtract.c.texi: ... here, new file.
22100
49efa33d
DM
221012012-03-02 David S. Miller <davem@davemloft.net>
22102
22103 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22104
28afd92d
JM
221052012-03-02 Joseph Myers <joseph@codesourcery.com>
22106
804360ed
JM
22107 [BZ #3976]
22108 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22109 (__sin): Save and restore rounding mode and use round-to-nearest
22110 for all computations.
22111 (__cos): Save and restore rounding mode and use round-to-nearest
22112 for all computations.
22113 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22114 <fenv.h>.
22115 (tan): Save and restore rounding mode and use round-to-nearest for
22116 all computations.
22117 * math/libm-test.inc (cos_test_tonearest): New function.
22118 (cos_test_towardzero): Likewise.
22119 (cos_test_downward): Likewise.
22120 (cos_test_upward): Likewise.
22121 (sin_test_tonearest): Likewise.
22122 (sin_test_towardzero): Likewise.
22123 (sin_test_downward): Likewise.
22124 (sin_test_upward): Likewise.
22125 (tan_test_tonearest): Likewise.
22126 (tan_test_towardzero): Likewise.
22127 (tan_test_downward): Likewise.
22128 (tan_test_upward): Likewise.
22129 (main): Call the new functions.
22130 * sysdeps/i386/fpu/libm-test-ulps: Update.
22131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22132
a6d06d7b
JM
22133 [BZ #10135]
22134 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22135 small n, then large n, before computing and testing k+n.
22136 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22137 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22138 Likewise.
22139 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22140 Likewise.
22141 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22142 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22143 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22144 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22145 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22146 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22147 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22148 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22149 * math/libm-test.inc (scalbn_test): Add more tests.
22150 (scalbln_test): Likewise.
22151
07e12bb3
JM
22152 * manual/filesys.texi (mode_t): Describe constraints on size and
22153 signedness, not exact equivalence to a particular type.
22154 (ino_t): Likewise.
22155 (ino64_t): Likewise.
22156 (dev_t): Likewise.
22157 (nlink_t): Likewise.
22158 (blkcnt_t): Likewise.
22159 (blkcnt64_t): Likewise.
22160 * manual/llio.texi (off_t): Likewise.
22161
28afd92d
JM
22162 [BZ #3976]
22163 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22164 (__ieee754_exp): Save and restore rounding mode and use
22165 round-to-nearest for all computations.
22166 * math/libm-test.inc (exp_test_tonearest): New function.
22167 (exp_test_towardzero): Likewise.
22168 (exp_test_downward): Likewise.
22169 (exp_test_upward): Likewise.
22170 (main): Call the new functions.
22171 * sysdeps/i386/fpu/libm-test-ulps: Update.
22172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22173
b1eeb65d
CD
221742012-03-01 Chris Demetriou <cgd@google.com>
22175
22176 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22177 have predictable order.
22178
53362a4b
DM
221792012-03-01 David S. Miller <davem@davemloft.net>
22180
3c969083
DM
22181 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22182
759707de
DM
22183 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22184 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22185 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22186 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22187
dfdb8ff2
DM
22188 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22189 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22190 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22192 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22193 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22194 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22195 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22196 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22197
ead89f96
DM
22198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22199
7f66bd07
DM
22200 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22201 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22202 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22203
53362a4b
DM
22204 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22205 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22206 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22207 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22208 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22209 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22210 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22211 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22212 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22213 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22214 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22215 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22216 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22217 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22218 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22219 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22220 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22221 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22222 * sysdeps/sparc/elf/configure: Regenerated.
22223
7b1902cb
JM
222242012-03-01 Joseph Myers <joseph@codesourcery.com>
22225
bec039bc
JM
22226 * configure.in (AS, LD): Require binutils 2.20 or later.
22227 * configure: Regenerated.
22228 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22229 as required minimum version.
22230 * INSTALL: Regenerated.
22231
7b1902cb
JM
22232 [BZ #2541]
22233 [BZ #4108]
22234 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22235 before squaring exponent.
22236 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22237 bottom long double and 27 bits of top long double before squaring
22238 exponent.
22239 * math/libm-test.inc (erfc_test): Add more tests.
22240 * sysdeps/i386/fpu/libm-test-ulps: Update.
22241 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22243
f775c276
KT
222442012-03-01 Kai Tietz <ktietz@redhat.com>
22245
22246 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22247 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22248 containing bit-fields.
22249 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22250 * soft-fp/single.h (_FP_UNION_S): Likewise.
22251 * soft-fp/double.h (_FP_UNION_D): Likewise.
22252
5b8a4d4a
JM
222532012-02-29 Joseph Myers <joseph@codesourcery.com>
22254
0bab47b6
JM
22255 [BZ #13786]
22256 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22257 not include ../strcmp.S.
22258 [USE_AS_STRNCASECMP_L]: Likewise.
22259 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22260 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22261 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22262 (__strncasecmp_l_ia32): Define as alias to
22263 __strncasecmp_l_nonascii.
22264
0fcad3e2
JM
22265 [BZ #5794]
22266 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22267 * sysdeps/i386/fpu/libm-test-ulps: Update.
22268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22269
5b8a4d4a
JM
22270 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22272
8fdceb2e
JL
222732012-02-29 Jeff Law <law@redhat.com>
22274
22275 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22276 out of bounds read.
22277
1f393a11
MP
222782012-02-29 Marek Polacek <polacek@redhat.com>
22279
22280 [BZ #13706]
22281 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22282 * elf/Makefile: Add rules to run tst-unused-dep.out.
22283
8847f037
DM
222842012-02-28 David S. Miller <davem@davemloft.net>
22285
22286 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22287 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22288 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22289 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22290 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22291 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22292
169d7f11
JM
222932012-02-29 Joseph Myers <joseph@codesourcery.com>
22294
22295 * math/libm-test.inc (llround_test): Move one test from
22296 lround_test. Use TEST_f_L in moved test.
22297 (lround_test): Move misplaced test to llround_test. Add testcase
22298 from bug 2561.
22299
39adf059
UD
223002012-02-28 Ulrich Drepper <drepper@gmail.com>
22301
22302 * sysdeps/x86_64/fpu/e_expf.S: New file.
22303 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22304
71b5d1c5
SB
223052012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22306
22307 [BZ #13637]
22308 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22309 of remain_len that may cause incomplete multi-byte character and
22310 false match.
22311 * posix/bug-regex33.c: New file.
22312 * posix/Makefile (tests): Add bug-regex33.
22313
1f77f049
JM
223142012-02-28 Joseph Myers <joseph@codesourcery.com>
22315
22316 * manual/macros.texi: New file.
22317 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22318 * manual/libc.texinfo: Include macros.texi.
22319 * manual/creatute.texi: Likewise.
22320 * manual/install.texi: Likewise.
22321 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22322 @glibcadj{} in references to the GNU C Library.
22323 * manual/charset.texi: Likewise.
22324 * manual/conf.texi: Likewise.
22325 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22326 when not using those macros.
22327 * manual/creature.texi: Likewise.
22328 * manual/crypt.texi: Likewise.
22329 * manual/errno.texi: Likewise.
22330 * manual/filesys.texi: Likewise.
22331 * manual/header.texi: Likewise.
22332 * manual/install.texi: Likewise.
22333 * manual/intro.texi: Likewise.
22334 * manual/io.texi: Likewise.
22335 * manual/job.texi: Likewise.
22336 * manual/lang.texi: Likewise.
22337 * manual/libc.texiinfo: Likewise.
22338 * manual/llio.texi: Likewise.
22339 * manual/locale.texi: Likewise.
22340 * manual/maint.texi: Likewise.
22341 * manual/math.texi: Likewise.
22342 * manual/memory.texi: Likewise.
22343 * manual/message.texi: Likewise.
22344 * manual/nss.texi: Likewise.
22345 * manual/pattern.texi: Likewise.
22346 * manual/process.texi: Likewise.
22347 * manual/resource.texi: Likewise.
22348 * manual/search.texi: Likewise.
22349 * manual/setjmp.texi: Likewise.
22350 * manual/signal.texi: Likewise.
22351 * manual/socket.texi: Likewise.
22352 * manual/startup.texi: Likewise.
22353 * manual/stdio.texi: Likewise.
22354 * manual/string.texi: Likewise.
22355 * manual/sysinfo.texi: Likewise.
22356 * manual/syslog.texi: Likewise.
22357 * manual/terminal.texi: Likewise.
22358 * manual/time.texi: Likewise.
22359 * manual/users.texi: Likewise.
22360 * INSTALL: Regenerated.
22361 * NOTES: Regenerated.
d40c5d54 22362 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22363
450bf206
AS
223642012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22365
22366 * include/dirent.h: Include <dirstream.h> before
22367 <dirent/dirent.h>.
22368
741a235b
DM
223692012-02-28 David S. Miller <davem@davemloft.net>
22370
22371 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22372 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22373 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22374 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22375
d6b5aa58
DM
223762012-02-27 David S. Miller <davem@davemloft.net>
22377
1aff59a3
DM
22378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22380 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22381 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22382
d6b5aa58
DM
22383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22384 frame pointer instead of stack pointer relative arg slot.
22385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22386 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22387 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22388
433f48bf
CD
223892012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22390
22391 [BZ #3992]
22392 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22393
d674b76d
DM
223942012-02-27 David S. Miller <davem@davemloft.net>
22395
22396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22400 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22401 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22402 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22403 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22404
0e7727f7
JM
224052012-02-27 Joseph Myers <joseph@codesourcery.com>
22406
22407 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22408 later. Allow versions 5-9.
43be4ca2 22409 * configure: Regenerated.
0e7727f7
JM
22410 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22411 required minimum version and 4.6 as recommended version. Do not
22412 mention bugs in GCC 2.7 and 2.8.
43be4ca2 22413 * INSTALL: Regenerated.
0e7727f7 22414
a78bc654
DM
224152012-02-27 David S. Miller <davem@davemloft.net>
22416
428d5830
DM
22417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22421 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22422 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22423 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22424 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22425
a78bc654
DM
22426 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22427 manipulate bits before adding and subtracting TWO112[sx].
22428 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22429
4579f81c
RM
224302012-02-27 Roland McGrath <roland@hack.frob.com>
22431
36c8acb4
RM
22432 [BZ #13775]
22433 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22434 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22435 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22436 being in POSIX, because they are in 1003.1-2008.
22437
84ad622b
RM
22438 * rt/tst-aio.c: Include <fcntl.h>.
22439 * rt/tst-aio7.c: Likewise.
22440 * rt/tst-aio64.c: Likewise.
22441
4579f81c
RM
22442 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22443
abd923db
JM
224442012-02-27 Joseph Myers <joseph@codesourcery.com>
22445
22446 * manual/install.texi (--with-headers): Describe headers as
22447 interface headers, not private headers.
22448 (Specific advice for GNU/Linux systems): Describe use of headers
22449 from "make headers_install", not private headers from older
22450 kernels.
43be4ca2 22451 * INSTALL: Regenerated.
abd923db
JM
22452 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22453 Change to 2.6.19.
22454 * sysdeps/unix/sysv/linux/configure: Regenerated.
22455
6664049b
JM
22456 * manual/llio.texi (fclean): Remove documentation.
22457
bb8b6697
JM
22458 * manual/Makefile (libc-texi-generated): New variable. Include
22459 version.texi.
22460 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22461 $(libc-texi-generated), not duplicated list of files.
22462 (version.texi, stamp-version): New rules.
22463 (realclean): Remove $(libc-texi-generated), not individual files
22464 from that list. Do not remove dir-add.texinfo.
22465 * manual/libc.texinfo: Comment out uses of edition numbers and
22466 references to printed manual. Remove last-updated dates.
22467 (EDITION): Comment out.
22468 (ISBN): Likewise.
22469 (VERSION, UPDATED): Remove.
22470 (version.texi): Include.
22471
12e5c3b9
AS
224722012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22473
22474 * sysdeps/posix/spawni.c: Include <signal.h>.
22475 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22476 * sysdeps/pthread/aio_fsync.c: Likewise.
22477
4efeffc1 224782012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 22479
ba63ba08
UD
22480 * conform/Makefile (tests): Run only when not cross-compiling and
22481 when fast-check is not defined.
22482
d94a4670
UD
22483 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22484 * conform/data/limits.h-data: Fixes for POSIX2008.
22485 * conform/run-conformtest.sh: Run all tests.
22486 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22487 headers.
22488 * include/bits/dlfcn.h: Likewise.
22489 * include/langinfo.h: Likewise.
22490 * include/monetary.h: Likewise.
22491 * include/sys/poll.h: Likewise.
22492
22493 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22494 for __USE_GNU.
22495 * posix/spawn.h: Define __need_sigset_t.
22496 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22497 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22498 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22499 to get sigevent_t only.
22500 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22501 only for __USE_GNU.
22502 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22503 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22504 process_vm_writev only for __USE_GNU.
22505 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
22506
22507 * conform/Makefile: For now ignore errors from run-conformtest.
22508 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22509 POSIX to avoid namespace pollution. Don't prepend headers.
22510 * conform/data/aio.h-data: Fixes for POSIX testing.
22511 * conform/data/fcntl.h-data: Likewise.
22512 * conform/data/glob.h-data: Likewise.
22513 * conform/data/grp.h-data: Likewise.
22514 * conform/data/pthread.h-data: Likewise.
22515 * conform/data/pwd.h-data: Likewise.
22516 * conform/data/signal.h-data: Likewise.
22517 * conform/data/spawn.h-data: Likewise.
22518 * conform/data/stdio.h-data: Likewise.
22519 * conform/data/stdlib.h-data: Likewise.
22520 * conform/data/stropts.h-data: Likewise.
22521 * conform/data/sys/mman.h-data: Likewise.
22522 * conform/data/sys/stat.h-data: Likewise.
22523 * conform/data/sys/types.h-data: Likewise.
22524 * conform/data/sys/wait.h-data: Likewise.
22525 * conform/data/time.h-data: Likewise.
22526 * conform/data/unistd.h-data: Likewise.
22527 * conform/data/utime.h-data: Likewise.
22528
22529 * io/sys/stat.h: fchmod was always in POSIX.
22530 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22531 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22532 * rt/aio.h: Define __need_timespec before including <time.h>.
22533 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22534 struct. Add forward declaration of pthread_attr_t and use it in
22535 sigevent.
22536 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22537 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22538 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22539 always remove CLK_TCK definition.
22540
c20105c3
AS
225412012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22542
22543 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22544
7a270350
UD
225452012-02-25 Ulrich Drepper <drepper@gmail.com>
22546
31341567
UD
22547 * conform/run-conformtest.sh: New file.
22548 * conform/Makefile: Run run-conformtest for tests.
22549 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22550 support.
22551
22552 * conform/data/uchar.h-data: New file.
22553 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22554 * conform/data/arpa/inet.h-data: Likewise.
22555 * conform/data/assert.h-data: Likewise.
22556 * conform/data/complex.h-data: Likewise.
22557 * conform/data/cpio.h-data: Likewise.
22558 * conform/data/ctype.h-data: Likewise.
22559 * conform/data/dirent.h-data: Likewise.
22560 * conform/data/dlfcn.h-data: Likewise.
22561 * conform/data/errno.h-data: Likewise.
22562 * conform/data/fcntl.h-data: Likewise.
22563 * conform/data/float.h-data: Likewise.
22564 * conform/data/fmtmsg.h-data: Likewise.
22565 * conform/data/fnmatch.h-data: Likewise.
22566 * conform/data/ftw.h-data: Likewise.
22567 * conform/data/glob.h-data: Likewise.
22568 * conform/data/grp.h-data: Likewise.
22569 * conform/data/iconv.h-data: Likewise.
22570 * conform/data/inttypes.h-data: Likewise.
22571 * conform/data/langinfo.h-data: Likewise.
22572 * conform/data/libgen.h-data: Likewise.
22573 * conform/data/limits.h-data: Likewise.
22574 * conform/data/locale.h-data: Likewise.
22575 * conform/data/math.h-data: Likewise.
22576 * conform/data/monetary.h-data: Likewise.
22577 * conform/data/mqueue.h-data: Likewise.
22578 * conform/data/ndbm.h-data: Likewise.
22579 * conform/data/net/if.h-data: Likewise.
22580 * conform/data/netdb.h-data: Likewise.
22581 * conform/data/netinet/in.h-data: Likewise.
22582 * conform/data/nl_types.h-data: Likewise.
22583 * conform/data/poll.h-data: Likewise.
22584 * conform/data/pthread.h-data: Likewise.
22585 * conform/data/pwd.h-data: Likewise.
22586 * conform/data/regex.h-data: Likewise.
22587 * conform/data/sched.h-data: Likewise.
22588 * conform/data/search.h-data: Likewise.
22589 * conform/data/semaphore.h-data: Likewise.
22590 * conform/data/setjmp.h-data: Likewise.
22591 * conform/data/signal.h-data: Likewise.
22592 * conform/data/spawn.h-data: Likewise.
22593 * conform/data/stdarg.h-data: Likewise.
22594 * conform/data/stdio.h-data: Likewise.
22595 * conform/data/stdlib.h-data: Likewise.
22596 * conform/data/string.h-data: Likewise.
22597 * conform/data/strings.h-data: Likewise.
22598 * conform/data/stropts.h-data: Likewise.
22599 * conform/data/sys/ipc.h-data: Likewise.
22600 * conform/data/sys/mman.h-data: Likewise.
22601 * conform/data/sys/msg.h-data: Likewise.
22602 * conform/data/sys/resource.h-data: Likewise.
22603 * conform/data/sys/select.h-data: Likewise.
22604 * conform/data/sys/sem.h-data: Likewise.
22605 * conform/data/sys/shm.h-data: Likewise.
22606 * conform/data/sys/socket.h-data: Likewise.
22607 * conform/data/sys/stat.h-data: Likewise.
22608 * conform/data/sys/statvfs.h-data: Likewise.
22609 * conform/data/sys/time.h-data: Likewise.
22610 * conform/data/sys/timeb.h-data: Likewise.
22611 * conform/data/sys/times.h-data: Likewise.
22612 * conform/data/sys/types.h-data: Likewise.
22613 * conform/data/sys/uio.h-data: Likewise.
22614 * conform/data/sys/un.h-data: Likewise.
22615 * conform/data/sys/utsname.h-data: Likewise.
22616 * conform/data/sys/wait.h-data: Likewise.
22617 * conform/data/syslog.h-data: Likewise.
22618 * conform/data/tar.h-data: Likewise.
22619 * conform/data/termios.h-data: Likewise.
22620 * conform/data/utime.h-data: Likewise.
22621 * conform/data/utmpx.h-data: Likewise.
22622 * conform/data/varargs.h-data: Likewise.
22623 * conform/data/wchar.h-data: Likewise.
22624 * conform/data/wctype.h-data: Likewise.
22625 * conform/data/wordexp.h-data: Likewise.
22626
22627 * include/stropts.h: New file.
22628 * include/uchar.h: New file.
22629 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22630 * include/assert.h: Likewise.
22631 * include/ctype.h: Likewise.
22632 * include/dirent.h: Likewise.
22633 * include/dlfcn.h: Likewise.
22634 * include/fcntl.h: Likewise.
22635 * include/fnmatch.h: Likewise.
22636 * include/glob.h: Likewise.
22637 * include/grp.h: Likewise.
22638 * include/libio.h: Likewise.
22639 * include/locale.h: Likewise.
22640 * include/math.h: Likewise.
22641 * include/net/if.h: Likewise.
22642 * include/netdb.h: Likewise.
22643 * include/netinet/in.h: Likewise.
22644 * include/pthread.h: Likewise.
22645 * include/pwd.h: Likewise.
22646 * include/regex.h: Likewise.
22647 * include/sched.h: Likewise.
22648 * include/search.h: Likewise.
22649 * include/setjmp.h: Likewise.
22650 * include/signal.h: Likewise.
22651 * include/stdio.h: Likewise.
22652 * include/stdlib.h: Likewise.
22653 * include/string.h: Likewise.
22654 * include/sys/cdefs.h: Likewise.
22655 * include/sys/mman.h: Likewise.
22656 * include/sys/msg.h: Likewise.
22657 * include/sys/resource.h: Likewise.
22658 * include/sys/select.h: Likewise.
22659 * include/sys/socket.h: Likewise.
22660 * include/sys/stat.h: Likewise.
22661 * include/sys/statvfs.h: Likewise.
22662 * include/sys/time.h: Likewise.
22663 * include/sys/times.h: Likewise.
22664 * include/sys/uio.h: Likewise.
22665 * include/sys/utsname.h: Likewise.
22666 * include/sys/wait.h: Likewise.
22667 * include/termios.h: Likewise.
22668 * include/time.h: Likewise.
22669 * include/ulimit.h: Likewise.
22670 * include/unistd.h: Likewise.
22671 * include/utime.h: Likewise.
22672 * include/wchar.h: Likewise.
22673 * include/wctype.h: Likewise.
22674 * include/wordexp.h: Likewise.
22675
22676 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22677
7a270350
UD
22678 * time/time.h: TIME_UTC must be a macro.
22679 Make timespec_get available for ISO C11 only as well.
22680
7724defc
UD
226812012-02-24 Ulrich Drepper <drepper@gmail.com>
22682
22683 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22684 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22685
6b1d1d46
JM
226862012-02-24 Joseph Myers <joseph@codesourcery.com>
22687
22688 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 22689
0f8bbd69
JM
226902012-02-24 Joseph Myers <joseph@codesourcery.com>
22691
22692 * manual/texinfo.tex: Update to version 2012-01-19.16.
22693
66ab80bc
JM
226942012-02-24 Joseph Myers <joseph@codesourcery.com>
22695
22696 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22697
74981cc5
RM
226982012-02-24 Roland McGrath <roland@hack.frob.com>
22699
ee968201
RM
22700 [BZ #13738]
22701 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22702 * manual/fdl-1.3.texi: New file.
22703 * manual/fdl-1.1.texi: File removed.
22704
74981cc5
RM
22705 [BZ #13738]
22706 * manual/libc.texinfo (FDL_VERSION): New @set.
22707 Use it for mention of FDL in cover text.
22708 (Documentation License): Use it in @include file name.
22709
7bb764bc
JM
227102012-02-22 Joseph Myers <joseph@codesourcery.com>
22711 Roland McGrath <roland@hack.frob.com>
22712
22713 [BZ #5461]
22714 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22715 not LONG_LONG_MAX and LONG_LONG_MIN.
22716 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22717 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22718 name.
22719 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22720
6cbeae47
JM
227212012-02-22 Joseph Myers <joseph@codesourcery.com>
22722
22723 [BZ #2547]
22724 [BZ #11365]
22725 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22726 manipulate bits before adding and subtracting TWO23[sx].
22727 * math/libm-test.inc (nearbyint_test): Add more tests.
22728
fe45ce09
JM
227292012-02-22 Joseph Myers <joseph@codesourcery.com>
22730
22731 [BZ #2548]
22732 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22733 bits before adding and subtracting TWO23[sx].
22734 * math/libm-test.inc (rint_test): Add more tests.
22735 (rint_test_tonearest): Likewise.
22736 (rint_test_towardzero): Likewise.
22737 (rint_test_downward): Likewise.
22738 (rint_test_upward: Likewise.
22739
ff3b3d82
JM
227402012-02-22 Joseph Myers <joseph@codesourcery.com>
22741
22742 [BZ #10110]
22743 * include/stdc-predef.h: New file. Extracted from features.h.
22744 * include/features.h: Include stdc-predef.h.
22745 * Makefile (headers): Add stdc-predef.h.
22746 * CONFORMANCE (Compiler limitations): Update.
22747
ef0aab35
JM
227482012-02-22 Joseph Myers <joseph@codesourcery.com>
22749
22750 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22751
58639409
DM
227522012-02-21 David S. Miller <davem@davemloft.net>
22753
22754 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22755 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22756
c0e70b25
DM
227572012-02-20 David S. Miller <davem@davemloft.net>
22758
22759 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22760 using a normal save/restore sequence, rather than allocating a
22761 dummy stack frame just to store a frame pointer and restore.
22762 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22763
fb06851d
JM
227642012-02-21 Joseph Myers <joseph@codesourcery.com>
22765
22766 * manual/install.texi: Fix stray word in line-wrapped comment.
22767
7a8b71c3
DM
227682012-02-20 David S. Miller <davem@davemloft.net>
22769
d510c123
DM
22770 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22771 both binutils and gcc support GOTDATA.
22772
0722d7c2
DM
22773 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22774 "rd %pc" in the PIC register setup sequences.
22775
3d2b3019
DM
22776 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22777 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22778 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22779 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22780 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22782 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22783 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22784 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22785 (SYSCALL_ERROR_HANDLER): Likewise.
22786 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22787 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22788 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22789 (SYSCALL_ERROR_HANDLER): Likewise.
22790
c80098a9
DM
22791 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22792 (HAVE_GCC_GOTDATA): New.
22793 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22794 relocation support in both binutils and gcc.
22795 * sysdeps/sparc/elf/configure: Regenerate.
22796
3a2545a0
DM
22797 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22798 * sysdeps/sparc/sparc32/elf/configure: Delete.
22799 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22800 * sysdeps/sparc/sparc64/elf/configure: Delete.
22801 * sysdeps/sparc/elf/configure.in: New file.
22802 * sysdeps/sparc/elf/configure: Generate.
22803
7a8b71c3
DM
22804 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22805 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22806 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22807 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22808 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22809
f1e86fca
JM
228102012-02-21 Joseph Myers <joseph@codesourcery.com>
22811
22812 * manual/install.texi: Do not mention specific glibc version
22813 numbers.
22814 * manual/libc.texinfo (VERSION, UPDATED): Update.
22815 (@copying): Use @copyright{} and range of years.
22816
0e7dfaef
JM
228172012-02-21 Joseph Myers <joseph@codesourcery.com>
22818
22819 [BZ #13695]
22820 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22821 [crti.S not in sysdirs] (generated): Do not append.
22822 [crti.S not in sysdirs] (omit-deps): Likewise.
22823 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22824 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22825 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22826 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22827 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22828 Likewise.
22829 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22830 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22831 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22832 * csu/defs.awk: Remove file.
22833 * sysdeps/generic/initfini.c: Likewise.
22834 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22835 variable.
22836 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22837 Likewise.
22838
599af3ca
JM
228392012-02-20 Joseph Myers <joseph@codesourcery.com>
22840
22841 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22842 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22843 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22844 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22845 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22846 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22847 <bits/epoll.h>.
22848 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22849 (__EPOLL_PACKED): Define to empty if not defined by
22850 <bits/epoll.h>.
22851 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22853 bits/epoll.h.
22854
0e499750
JM
228552012-02-20 Joseph Myers <joseph@codesourcery.com>
22856
22857 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22858 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22859 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22860 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22861 <bits/timerfd.h>.
22862 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22864 bits/timerfd.h.
22865
5ad91f6e
JM
228662012-02-20 Joseph Myers <joseph@codesourcery.com>
22867
22868 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22869 in C locale.
22870 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22871 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22872 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22874
06b99b02
AJ
228752012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22876
22877 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22878 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22879
7638c0fd
AS
228802012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22881
22882 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22883 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22884 defined.
22885 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22886 Likewise.
22887 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22888 entry for 2.16.
22889
92221550
AJ
228902012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22891
22892 * math/w_acos.c: Use non-signaling floating-point comparisons.
22893 * math/w_acosf.c: Likewise.
22894 * math/w_acosh.c: Likewise.
22895 * math/w_acoshf.c: Likewise.
22896 * math/w_acoshl.c: Likewise.
22897 * math/w_acosl.c: Likewise.
22898 * math/w_asin.c: Likewise.
22899 * math/w_asinf.c: Likewise.
22900 * math/w_asinl.c: Likewise.
22901 * math/w_atanh.c: Likewise.
22902 * math/w_atanhf.c: Likewise.
22903 * math/w_atanhl.c: Likewise.
22904 * math/w_exp2.c: Likewise.
22905 * math/w_exp2f.c: Likewise.
22906 * math/w_exp2l.c: Likewise.
22907 * math/w_j0.c: Likewise.
22908 * math/w_j0f.c: Likewise.
22909 * math/w_j0l.c: Likewise.
22910 * math/w_j1.c: Likewise.
22911 * math/w_j1f.c: Likewise.
22912 * math/w_j1l.c: Likewise.
22913 * math/w_jn.c: Likewise.
22914 * math/w_jnf.c: Likewise.
22915 * math/w_log.c: Likewise.
22916 * math/w_log10.c: Likewise.
22917 * math/w_log10f.c: Likewise.
22918 * math/w_log10l.c: Likewise.
22919 * math/w_log2.c: Likewise.
22920 * math/w_log2f.c: Likewise.
22921 * math/w_log2l.c: Likewise.
22922 * math/w_logf.c: Likewise.
22923 * math/w_logl.c: Likewise.
22924 * math/w_sqrt.c: Likewise.
22925 * math/w_sqrtf.c: Likewise.
22926 * math/w_sqrtl.c: Likewise.
22927 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22928 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22929 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22930 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22931 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22932
ebaf36eb
JM
229332012-02-19 Joseph Myers <joseph@codesourcery.com>
22934
22935 [BZ #9739]
22936 * manual/string.texi (strnlen): Use correct parameter name in
22937 equivalent expression.
22938
71c254a6
JM
229392012-02-19 Joseph Myers <joseph@codesourcery.com>
22940
22941 [BZ #11174]
22942 * manual/users.texi (seteuid): Consistently use neweuid for
22943 argument name.
22944
16d2c631
JM
229452012-02-19 Joseph Myers <joseph@codesourcery.com>
22946
22947 [BZ #13704]
22948 * manual/nss.texi (Services in the NSS configuration): Correct
22949 list of services in example configuration file.
22950
cd837b09
NB
229512012-02-19 Nick Bowler <nbowler@draconx.ca>
22952
22953 [BZ #11322]
22954 * manual/arith.texi: Remove statements about negative zero
22955 behaving identically to zero.
22956
02c4bbad
JM
229572012-02-18 Joseph Myers <joseph@codesourcery.com>
22958
22959 [BZ #5993]
22960 * manual/install.texi: Do not document upgrading from libc5.
22961
366842e7
JM
229622012-02-18 Joseph Myers <joseph@codesourcery.com>
22963
22964 [BZ #4596]
22965 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22966
dd54084d
DM
229672012-02-18 David S. Miller <davem@davemloft.net>
22968
22969 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22970 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22971 %o7 across the call.
22972 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22973 instead.
22974 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22975 SETUP_PIC_REG_LEAF.
22976 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22977 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22978 * sysdeps/sparc/crtn.S: Likewise.
22979
2bcc53a3
UD
229802012-02-17 Ulrich Drepper <drepper@gmail.com>
22981
22982 * aout/Makefile: Remove.
22983
09c093b5
RK
229842012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22985
22986 [BZ #13058]
22987 * manual/examples/argp-ex1.c (main): Format definition in GNU
22988 style.
22989 * manual/examples/argp-ex2.c (main): Likewise.
22990 * manual/examples/argp-ex3.c (main): Likewise.
22991 * manual/examples/argp-ex4.c (main): Likewise.
22992 * manual/examples/longopt.c (main): Use new-style prototype
22993 definition.
22994 * manual/examples/strncat.c (main): Specify return type and use
22995 (void) for arguments.
22996 * manual/examples/subopt.c (main): Use char **argv argument.
22997
2ee633a2
JM
229982012-02-17 Joseph Myers <joseph@codesourcery.com>
22999
23000 [BZ #5077]
23001 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23002 rounding modes.
23003
0520adde
FB
230042012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23005
23006 [BZ #6907]
23007 * manual/string.texi (strchr): Change when strchrnul is
23008 recommended.
23009
3f4081cd
DGM
230102012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23011
23012 [BZ #174]
23013 * manual/locale.texi (setlocale): Document LOCPATH.
23014
d1b10e78
JM
230152012-02-17 Joseph Myers <joseph@codesourcery.com>
23016
23017 [BZ #10210]
23018 * manual/process.texi (execle): Move @dots{} before last argument.
23019
79c6869c
PB
230202012-02-17 Paul Bolle <pebolle@tiscali.nl>
23021
23022 [BZ #12047]
23023 * manual/charset.texi (Generic Charset Conversion): Fix typo
23024 (LC_TYPE -> LC_CTYPE).
23025
cc6e48bc
NB
230262012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23027
23028 [BZ #5805]
23029 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23030 (scalbnf): Likewise.
23031 (scalbnl): Likewise.
23032 (scalbln): Likewise.
23033 (scalblnf): Likewise.
23034 (scalblnl): Likewise.
23035 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23036 (vwarnx): Likewise.
23037 (verr): Likewise.
23038 (verrx): Likewise.
23039 * manual/filesys.texi (telldir): Use braces around return type.
23040 * manual/llio.texi (mmap): Add space after comma.
23041 (mmap64): Likewise.
23042 * manual/math.texi (jn): Use @var{} on parameter names.
23043 (jnf): Likewise.
23044 (jnl): Likewise.
23045 (yn): Likewise.
23046 (ynf): Likewise.
23047 (ynl): Likewise.
23048 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23049 line.
23050 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23051 "...".
23052 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23053 (sched_get_priority_max): Likewise.
23054 * manual/signal.texi (sigvec): Add space after comma.
23055 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23056 names.
23057 (if_indextoname): Likewise.
23058 (if_freenameindex): Likewise.
23059 (sendto): Use ',' instead of '.' in prototype.
23060 * manual/startup.texi (syscall): Use @dots{} instead of literal
23061 "...".
23062 * manual/stdio.texi (__fpending): Separate initial words of
23063 paragraph from @deftypefun line.
23064 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23065 "...".
23066 (vsyslog): Use @var{} on parameter names.
23067 * manual/terminal.texi (stty): Use @var{} on parameter names.
23068 * manual/users.texi (getutmp): Use @var{} on parameter names.
23069 (getutmpx): Likewise.
23070
5b23062f
JM
230712012-02-17 Joseph Myers <joseph@codesourcery.com>
23072
23073 [BZ #6884]
23074 * manual/stdio.texi (fopen): Fix typos in description of
23075 ",ccs=STRING".
23076
8dee4833
AJ
230772012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23078
23079 [BZ #4026]
23080 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23081 get clock_id definition.
23082
9078ce93
TS
230832012-02-17 Thomas Schwinge <thomas@schwinge.name>
23084
23085 [BZ #4822]
23086 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23087 (madvise): Cast every argument to void on its own.
23088
3835c55f
JM
230892012-02-17 Joseph Myers <joseph@codesourcery.com>
23090
23091 [BZ #9902]
23092 * manual/startup.texi (Exit Status): Fix typo.
23093
35c47e37
JM
230942012-02-17 Joseph Myers <joseph@codesourcery.com>
23095
23096 [BZ #10140]
23097 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23098 * manual/examples/argp-ex2.c: Likewise.
23099 * manual/examples/argp-ex3.c: Likewise.
23100
e3b69ca7
RH
231012012-02-16 Richard Henderson <rth@redhat.com>
23102
23103 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23104 * sysdeps/s390/s390-32/initfini.c: Remove.
23105 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23106 * sysdeps/s390/s390-64/initfini.c: Remove.
23107
df83af67
KK
231082012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23109
23110 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23111 compiler output for sysdeps/generic/initfini.c.
23112 * sysdeps/sh/elf/initfini.c: Remove file.
23113
f63f3380
DM
231142012-02-16 David S. Miller <davem@davemloft.net>
23115
fb59b3a4
DM
23116 [BZ #11494]
23117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23118
f63f3380
DM
23119 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23120 * sysdeps/sparc/crti.S: New file.
23121 * sysdeps/sparc/crtn.S: New file.
23122 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23123 * sysdeps/sparc/sparc64/Makefile: Likewise.
23124
df6a4a4a
MF
231252012-02-15 Mike Frysinger <vapier@gentoo.org>
23126
6dd8f3dc 23127 [BZ #3335]
df6a4a4a
MF
23128 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23129
1cac7236
RM
231302012-02-15 Roland McGrath <roland@hack.frob.com>
23131
d2c736f8
RM
23132 [BZ #4822]
23133 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23134
1cac7236
RM
23135 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23136 (write, read, close): Likewise.
23137 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23138
8e475601
JM
231392012-02-15 Joseph Myers <joseph@codesourcery.com>
23140
23141 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23142 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23143 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23144 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23145 <bits/signalfd.h>.
23146 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23148 bits/signalfd.h.
23149
ed656b40
MP
231502012-02-14 Marek Polacek <polacek@redhat.com>
23151
23152 * sysdeps/x86_64/crti.S: New file.
23153 * sysdeps/x86_64/crtn.S: New file.
23154 * sysdeps/x86_64/elf/initfini.c: Remove file.
23155
2a979d3a
JM
231562012-02-13 Joseph Myers <joseph@codesourcery.com>
23157
23158 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23159 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23160 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23161 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23162 <bits/inotify.h>.
23163 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23165 bits/inotify.h.
23166
2a418ac3
JM
231672012-02-13 Joseph Myers <joseph@codesourcery.com>
23168
23169 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23170 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23171 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23172 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23173 <bits/eventfd.h>.
23174 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23176 bits/eventfd.h.
23177
fb779be7
TS
231782012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23179
e19e83c5
RM
23180 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23181 __feraiseexcept instead of feraiseexcept.
7c35ffed 23182
fb779be7
TS
23183 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23184 nanosleep invocations.
23185 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23186 strings, and add error checking for a nanosleep invocations.
23187
59ba27a6
PE
231882012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23189
23190 Replace FSF snail mail address with URLs, as per GNU coding standards.
23191 Most of the snail mail addresses were wrong anyway, and omitting
23192 them makes the source code easier to maintain. Almost all of the
23193 changes are to license notices and to locale LC_IDENTIFICATION
23194 addresses, except for this one:
23195 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23196 not its snail mail address.
23197
57b957eb
RH
231982012-02-09 Richard Henderson <rth@twiddle.net>
23199
af850b1c
RH
23200 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23201 of kernel-features.h.
23202
57b957eb
RH
23203 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23204
6b73181a
MP
232052012-02-08 Marek Polacek <polacek@redhat.com>
23206
23207 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23208 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23209 * sysdeps/gnu/_G_config.h: Likewise.
23210 * sysdeps/generic/_G_config.h: Likewise.
23211
26ecc33a
AS
232122012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23213
6c6dbc63
AS
23214 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23215 tests.
23216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23217
e216c012
AS
23218 * sysdeps/powerpc/powerpc32/crti.S: New file.
23219 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23220 * sysdeps/powerpc/powerpc64/crti.S: New file.
23221 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23222
26ecc33a
AS
23223 * Makeconfig (have-initfini): Don't set.
23224 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23225 * configure.in (nopic_initfini): Don't substitute.
23226 * config.h.in (HAVE_INITFINI): Don't #undef.
23227 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23228 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23229
3add8e13
JM
232302012-02-08 Joseph Myers <joseph@codesourcery.com>
23231
23232 Support crti.S and crtn.S provided directly by architectures.
23233 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23234 [crti.S in sysdirs] (omit-deps): Likewise.
23235 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23236 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23237 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23238 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23239 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23240 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23241 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23242 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23243 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23244 compiler output for sysdeps/generic/initfini.c.
23245 * sysdeps/i386/elf/Makefile: Remove file.
23246 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23247
a22f12b4
MP
232482012-02-07 Marek Polacek <polacek@redhat.com>
23249
23250 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23251 * sysdeps/gnu/_G_config.h: Likewise.
23252 * sysdeps/mach/hurd/_G_config.h: Likewise.
23253
148cf100
MP
232542012-02-07 Marek Polacek <polacek@redhat.com>
23255
23256 * math/Makefile (tests): Add tst-CMPLX2.
23257 * math/tst-CMPLX2.c: New file.
23258
cfdc0dd7
AS
232592012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23260
84ba42c4
AS
23261 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23262
cfdc0dd7
AS
23263 * math/libm-test.inc (jn_test): Add missing L suffix.
23264
622c86f4
MP
232652012-02-06 Marek Polacek <polacek@redhat.com>
23266
23267 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23268 * sysdeps/i386/fpu/e_powf.S: Likewise.
23269 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23270 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23271 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23272 * sysdeps/i386/fpu/e_pow.S: Likewise.
23273 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23274 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23275 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23276 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23277 * sysdeps/i386/fpu/e_log2.S: Likewise.
23278 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23279 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23280 * sysdeps/i386/fpu/e_powl.S: Likewise.
23281 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23282 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23283 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23284 * sysdeps/i386/fpu/e_logl.S: Likewise.
23285 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23286 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23287 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23288 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23289 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23290 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23291 * sysdeps/i386/fpu/e_log.S: Likewise.
23292 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23293 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23294 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23295 * sysdeps/i386/fpu/e_logf.S: Likewise.
23296 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23297 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23298 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23299 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23300 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23301 * sysdeps/i386/fpu/e_log10.S: Likewise.
23302 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23303 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23304 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23305 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23306 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23307 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23308 * sysdeps/i386/asm-syntax.h: Likewise.
23309 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23310 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23311 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23312 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23313 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23314 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23315 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23316 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23317 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23318 * sysdeps/powerpc/sysdep.h: Likewise.
23319 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23320 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23321
d4a54ac6
JM
233222012-02-06 Joseph Myers <joseph@codesourcery.com>
23323
23324 [BZ #411]
23325 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23326
314054ea
JM
233272012-02-06 Joseph Myers <joseph@codesourcery.com>
23328
23329 * sysdeps/i386/sysdep.h: Include <features.h>.
23330 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23331 version.
23332
d8e0ca50
JM
233332012-02-05 Joseph Myers <joseph@codesourcery.com>
23334
23335 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23336 Define.
23337 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23338 LOAD_PIC_REG_STR.
23339
b1da7dd9
JM
233402012-02-03 Joseph Myers <joseph@codesourcery.com>
23341
23342 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23343 (SETUP_PIC_REG): Use GET_PC_THUNK.
23344 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23345 macro.
23346
9a1d9254
JM
233472012-02-03 Joseph Myers <joseph@codesourcery.com>
23348
23349 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23350 for non-PIC compilation.
23351 (SETUP_PIC_REG): Add .p2align directive.
23352 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23353 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23354 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23355 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23356 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23357 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23358 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23359 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23360 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23361 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23362 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23363 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23364 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23365 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23366 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23367 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23368 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23369 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23370 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23371 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23372 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23373 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23374 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23375 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23376 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23377 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23378 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23379 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23380 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23381 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23382 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23383 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23384 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23385 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23386 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23387 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23388 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23389 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23390 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23391 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23392 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23393
65dc3b75
JM
233942012-02-03 Joseph Myers <joseph@codesourcery.com>
23395
23396 * math/tst-CMPLX.c: Include <stdio.h>.
23397
d55bf177
JM
233982012-01-31 Joseph Myers <joseph@codesourcery.com>
23399
23400 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23401 float.
23402 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23403 * sysdeps/sparc/bits/mathdef.h: Likewise.
23404
69db4f8f
MP
234052012-01-31 Marek Polacek <polacek@redhat.com>
23406
23407 * libio/libio.h: Don't define _PARAMS.
23408 * locale/programs/config.h: Don't define PARAMS.
23409 * stdlib/strtol_l.c: Likewise.
23410 (__strtol_l): Remove PARAMS from the prototype.
23411
41b81892
UD
234122012-01-31 Ulrich Drepper <drepper@gmail.com>
23413
3b49edc0
UD
23414 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23415 names. Just use the correct names. Remove unnecessary wrapper
23416 functions.
23417 * malloc/arena.c: Likewise.
23418 * malloc/hooks.c: Likewise.
23419
41b81892
UD
23420 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23421 ARENA_TEST says not to. Simplify test for creation of a new arena.
23422 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23423
27a25b6e
UD
234242012-01-30 Ulrich Drepper <drepper@gmail.com>
23425
23426 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23427 into tail calls.
23428 (update_get_addr): New function.
23429 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23430 GET_ADDR_MODULE parameter.
23431
c8a89e7d
JM
234322012-01-30 Joseph Myers <joseph@codesourcery.com>
23433
23434 * crypt/cert.c: Remove __STDC__ conditionals.
23435 * crypt/crypt-entry.c: Likewise.
23436 * crypt/crypt_util.c: Likewise.
23437 * libio/filedoalloc.c: Likewise.
23438 * libio/fileops.c: Likewise.
23439 * libio/genops.c: Likewise.
23440 * libio/iofclose.c: Likewise.
23441 * libio/iofdopen.c: Likewise.
23442 * libio/iofopen.c: Likewise.
23443 * libio/iofopen64.c: Likewise.
23444 * libio/iogetdelim.c: Likewise.
23445 * libio/iopopen.c: Likewise.
23446 * libio/obprintf.c: Likewise.
23447 * libio/oldfileops.c: Likewise.
23448 * libio/oldiofclose.c: Likewise.
23449 * libio/oldiofdopen.c: Likewise.
23450 * libio/oldiofopen.c: Likewise.
23451 * libio/oldiopopen.c: Likewise.
23452 * libio/wfiledoalloc.c: Likewise.
23453 * libio/wgenops.c: Likewise.
23454 * locale/programs/xmalloc.c: Likewise.
23455 * misc/syslog.c: Likewise.
23456 * stdio-common/xbug.c: Likewise.
23457 * string/memchr.c: Likewise.
23458 * string/memcmp.c: Likewise.
23459 * string/memrchr.c: Likewise.
23460 * string/rawmemchr.c: Likewise.
23461 * sysdeps/posix/getcwd.c: Likewise.
23462 * time/strftime_l.c: Likewise.
23463
3b100462
JM
234642012-01-30 Joseph Myers <joseph@codesourcery.com>
23465
23466 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
23467 * config.make.in (config-cflags-sse2avx): Define.
23468 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23469 Fix typo.
23470
607998af
CM
234712012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23472
23473 * scripts/config.guess: Update from upstream config git repository.
23474 * scripts/config.sub: Likewise.
23475
3601428f
CM
234762012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23477
3ac8b282
CM
23478 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23479 (EM_NUM): Update.
23480 (R_TILEPRO_*, R_TILEGX_*): New macros.
23481
e034841e
CM
23482 * scripts/firstversions.awk: Fix bug in version range handling.
23483
540d7568
CM
23484 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23485
3601428f
CM
23486 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23487
463de862
CM
23488 * include/sys/epoll.h: New file.
23489 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23490 libc_hidden_def.
23491
73139a76
UD
234922012-01-28 Ulrich Drepper <drepper@gmail.com>
23493
96bc5b45
UD
23494 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23495 Avoid unnecessary __WORDSIZE == 64 test.
23496 (fmaxf): Use VEX format if possible.
23497 (fmax): Likewise.
23498 (fminf): Likewise.
23499 (fmin): Likewise.
23500
56f6f6a2
UD
23501 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23502 * math/math_private.h: Remove libc_fegetround* and
23503 libc_fesetround*.
23504 * sysdeps/i386/configure.in: Check for -msse2avx.
23505 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23506 also if SSE2AVX is defined.
23507 Remove libc_fegetround* and libc_fesetround*.
23508 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23509 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23510 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23511 of HAS_YMM_USABLE.
23512 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23513 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23514 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23515 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23516 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23517
73139a76
UD
23518 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23519
d73f93a4
AZ
235202012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23521
23522 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23523 size is not set.
23524 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23525
6ee65ed6
UD
235262012-01-27 Ulrich Drepper <drepper@gmail.com>
23527
23528 [BZ #13618]
23529 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23530 relocation.
23531 * Makeconfig (libm): Define.
23532 * elf/Makefile: Add rules to build and run tst-relsort1.
23533 * elf/tst-relsort1.c: New file.
23534 * elf/tst-relsort1mod1.c: New file.
23535 * elf/tst-relsort1mod2.c: New file.
23536
8db21882
JM
235372012-01-27 Joseph Myers <joseph@codesourcery.com>
23538
23539 * math/s_ldexp.c: Remove __STDC__ conditionals.
23540 * math/s_ldexpf.c: Likewise.
23541 * math/s_ldexpl.c: Likewise.
23542 * math/s_nextafter.c: Likewise.
23543 * math/s_nexttowardf.c: Likewise.
23544 * math/s_significand.c: Likewise.
23545 * math/s_significandf.c: Likewise.
23546 * math/s_significandl.c: Likewise.
23547 * math/w_jnl.c: Likewise.
23548 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23549 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23550 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23551 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23552 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23553 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23554 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23555 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23556 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23557 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23558 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23559 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23560 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23561 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23562 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23563 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23564 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23565 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23567 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23568 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23569 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23570 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23571 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23572 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23573 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23574 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23575 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23576 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23577 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23578 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23579 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23580 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23581 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23582 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23583 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23584 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23585 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23586 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23587 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23588 * sysdeps/ieee754/k_standard.c: Likewise.
23589 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23590 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23591 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23592 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23593 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23594 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23595 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23596 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23597 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23598 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23599 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23600 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23603 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23604 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23606 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23607 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23608 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23609 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23610 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23611 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23612 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23613 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23614 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23615 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23616 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23618 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23619 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23620 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23621 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23622 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23623 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23625 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23629 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23630 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23632 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23633 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23634 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23635 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23636 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23637 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23638 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23639 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23640 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23641 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23642 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23643 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23644 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23645 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23646 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23647 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23648 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23649 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23650 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23651 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23652 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23653 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23654 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23655 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23656 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23657 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23658 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23659 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23660 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23661 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23662 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23663 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23664 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23665 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23666 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23667 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23668 * sysdeps/ieee754/s_matherr.c: Likewise.
23669 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23670 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23671 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23672 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23673
965a54a4
JM
236742012-01-26 Joseph Myers <joseph@codesourcery.com>
23675
23676 * crypt/md5.h: Remove __STDC__ conditionals.
23677 * libio/libioP.h: Likewise.
23678 * locale/programs/config.h: Likewise.
23679 * sysdeps/generic/sysdep.h: Likewise.
23680 * sysdeps/i386/asm-syntax.h: Likewise.
23681 * sysdeps/s390/asm-syntax.h: Likewise.
23682 * sysdeps/unix/sysdep.h: Likewise.
23683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23685
7071ad79
JM
236862012-01-26 Joseph Myers <joseph@codesourcery.com>
23687
23688 * libio/libio.h: Remove __STDC__ conditionals.
23689 * malloc/obstack.h: Likewise.
23690 * math/complex.h: Likewise.
23691 * math/math.h: Likewise.
23692 * sysdeps/generic/_G_config.h: Likewise.
23693 * sysdeps/gnu/_G_config.h: Likewise.
23694 * sysdeps/mach/hurd/_G_config.h: Likewise.
23695 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23696 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23697 * sysdeps/sparc/bits/mathdef.h: Likewise.
23698
afc5ed09
UD
236992012-01-26 Ulrich Drepper <drepper@gmail.com>
23700
23701 [BZ #13583]
23702 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 23703 Clean up HAS_* macros.
afc5ed09 23704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
23705 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23706 possible.
23707 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23708 HAS_AVX.
23709 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23710 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23711 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23712 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23713 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 23714
bdb6de1d
JM
237152012-01-25 Joseph Myers <joseph@codesourcery.com>
23716
23717 * elf/tst-unique3.cc (gets): Remove declaration.
23718 * elf/tst-unique3lib.cc (gets): Likewise.
23719 * elf/tst-unique3lib2.cc (gets): Likewise.
23720 * elf/tst-unique4.cc (gets): Likewise.
23721
b15549e6
UD
237222012-01-24 Ulrich Drepper <drepper@gmail.com>
23723
23724 * include/stdio.h: Add C++ protection. Add gets declarations and
23725 definitions.
23726 * debug/tst-chk1.c: Don't declare gets here.
23727 * stdio-common/tst-gets.c: Likewise.
23728
a037381f
JM
237292012-01-24 Joseph Myers <joseph@codesourcery.com>
23730
23731 * posix/glob: Remove directory.
23732
f1d4aa75
JM
237332012-01-24 Joseph Myers <joseph@codesourcery.com>
23734
23735 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23736
81c0c964
PT
237372012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23738
23739 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23740 of the non-standard EPFNOSUPPORT.
23741
0ea698ae
ST
237422011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23743
23744 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23745 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23746 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23747
d220b117
UD
237482012-01-21 Ulrich Drepper <drepper@gmail.com>
23749
23750 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23751
3e1aa84e
UD
237522012-01-20 Ulrich Drepper <drepper@gmail.com>
23753
23754 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23755 transient errors.
23756 * nscd/grpcache.c (cache_addgr): Likewise.
23757 * nscd/hstcache.c (cache_addhst): Likewise.
23758 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23759 * nscd/pwdcache.c (cache_addpw): Likewise.
23760 * nscd/servicescache.c (cache_addserv): Likewise.
23761
400aa020
UD
237622012-01-16 Ulrich Drepper <drepper@gmail.com>
23763
d77e7869
UD
23764 * malloc/malloc.c: Various cleanups.
23765 * malloc/hooks.c: Likewise.
23766
400aa020
UD
23767 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23768 * stdlib/bug-fmtmsg1.c: New file.
23769
23770 * stdlib/fmtmsg.c (init): Add missing unlock.
23771 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23772
e0a309cf
MP
237732012-01-12 Marek Polacek <polacek@redhat.com>
23774
23775 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23776 and _GNU_SOURCE.
23777
929d11c7
WS
237782012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23779
23780 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23781 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23782 macro to ensure uniqueness of label name.
23783 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23784 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23785
41d0e869
UD
237862012-01-11 Ulrich Drepper <drepper@gmail.com>
23787
0cc5ed3b
UD
23788 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23789
41d0e869
UD
23790 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23791 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23792 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23793 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23794
a47a831a
UD
237952012-01-10 Ulrich Drepper <drepper@gmail.com>
23796
daa891c0
UD
23797 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23798
23799 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23800 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23801 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23802
e58ef0f2
UD
23803 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23804
a47a831a 23805 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
23806 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23807 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 23808 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
23809
23810 * math/bits/math-finite.h: Add ldexp support.
23811
a0bfc9c7
MP
238122012-01-10 Marek Polacek <polacek@redhat.com>
23813
23814 * locale/programs/localedef.h (show_archive_content): Add noreturn
23815 attribute.
23816
d6e97a1d
UD
238172012-01-09 Ulrich Drepper <drepper@gmail.com>
23818
23819 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23820
d5835c26
UD
238212012-01-08 Ulrich Drepper <drepper@gmail.com>
23822
e5f484c6
UD
23823 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23824
d5835c26
UD
23825 * io/Makefile (headers): Add bits/poll2.h.
23826
d1f741e9
WS
238272011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23828
23829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23830 typo #include statement.
23831
ec09c1c4
UD
238322012-01-08 Ulrich Drepper <drepper@gmail.com>
23833
23834 * include/sys/cdefs.h: Define __attribute_alloc_size.
23835 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23836 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23837 * elf/pldd.c: Likewise.
23838 * iconv/iconv_charmap.c: Likewise.
23839 * iconv/iconvconfig.c: Likewise.
23840 * iconv/strtab.c: Likewise.
23841 * locale/programs/locale.c: Likewise.
23842 * locale/programs/localedef.h: Likewise.
23843 * locale/programs/simple-hash.c: Likewise.
23844 * nscd/nscd.h: Likewise.
23845 * nss/makedb.c: Likewise.
23846 * sysdeps/generic/ldconfig.h: Likewise.
23847 * locale/programs/localedef.c: Remove xmalloc prototype.
23848 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23849
20b38e03
PP
238502012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23851
23852 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23853 appropriate.
23854
a0da5fe1
UD
238552012-01-08 Ulrich Drepper <drepper@gmail.com>
23856
1d5a644a 23857 * math/Makefile (tests): Add tst-CMPLX.
669704fd 23858 * math/tst-CMPLX.c: New file.
1d5a644a 23859
8784a6db
UD
23860 * math/complex.h (CMPLXL): Fix typo.
23861
d9a216c0
UD
23862 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23863 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23864 GLIBC_2.16.
23865 * debug/tst-chk1.c: Add poll and ppoll tests.
23866 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23867 * include/sys/poll.h: Add hidden proto for ppoll.
23868 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23869 * sysdeps/mach/hurd/ppoll.c: Likewise.
23870 * io/ppoll.c: Likewise.
23871 * debug/poll_chk.c: New file.
23872 * debug/ppoll_chk.c: New file.
23873 * include/bits/poll2.h: New file.
23874 * io/bits/poll2.h: New file.
23875
ac097f5c
UD
23876 [BZ #1350]
23877 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23878
2119dcfa
UD
23879 * configure.in: static is always set to yes. Remove.
23880 * config.make.in: Don't set build-static.
23881 * Makeconfig: Remove use of build-static.
23882 * dlfcn/Makefile: Likewise.
23883 * elf/Makefile: Likewise.
23884 * math/Makefile: Likewise.
23885 * misc/Makefile: Likewise.
23886 * nptl/Makefile: Likewise.
23887 * sysdeps/mach/hurd/Makefile: Likewise.
23888
121766a9
UD
23889 * configure.in: PWD_P is not used anymore.
23890 * config.make.in: Remove PWD_P entry.
23891
51a1d39c 23892 * configure.in: Remove last remnants of RANLIB.
8720d066 23893 No need to check for signed size_t anymore.
215f4bdc
UD
23894 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23895 and IA-64.
3857022a 23896 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
23897 * aclocal.m4: Likewise.
23898
d3ed7225
UD
23899 * wcsmbs/mbrtoc16.c: Implement using towc function.
23900 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23901 * wcsmbs/wcsmbsload.c: Likewise.
23902 * iconv/gconv_simple.c: Likewise.
23903 * iconv/gconv_int.h: Likewise.
23904 * iconv/gconv_builtin.h: Likewise.
23905 * iconv/iconv_prog.c: Remove CHAR16 handling.
23906
23907 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23908
23909 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23910
a0da5fe1
UD
23911 * configure.in: Remove --with-elf and --enable-bounded options.
23912 Dont set base_machine for ia64. More non-ELF conditions removed.
23913 Remove testing and setting of leading underscore information.
23914 * config.make.in (build-bounded): Set to no.
23915 * config.h.in: Remove NO_UNDERSCORES entry.
23916 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
23917 them.
23918 * csu/start.c: Remove !NO_UNDERSCORE code.
23919 * locale/localeinfo.h: Likewise.
23920 * sysdeps/generic/machine-gmon.h: Likewise.
23921 * sysdeps/generic/sysdep.h: Likewise.
23922 * sysdeps/i386/sysdep.h: Likewise.
23923 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23924 * sysdeps/mach/sysdep.h: Likewise.
23925 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23926 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23927 * sysdeps/sh/sysdep.h: Likewise.
23928 * sysdeps/sparc/sparc32/alloca.S: Likewise.
23929 * sysdeps/unix/i386/sysdep.S: Likewise.
23930 * sysdeps/unix/sparc/start.c: Likewise.
23931 * sysdeps/unix/sparc/sysdep.S: Likewise.
23932 * sysdeps/unix/sparc/sysdep.h: Likewise.
23933 * sysdeps/unix/start.c: Likewise.
23934 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23935 * sysdeps/x86_64/sysdep.h: Likewise.
23936
df78418a
UD
239372012-01-07 Ulrich Drepper <drepper@gmail.com>
23938
a784e502
UD
23939 [BZ #13553]
23940 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23941 for non-gcc.
23942 * argp/argp-fmtstream.h: Use const instead __const.
23943 * argp/argp.h: Likewise.
23944 * assert/assert.h: Likewise.
23945 * bits/fenv.h: Likewise.
23946 * bits/sched.h: Likewise.
23947 * bits/sigset.h: Likewise.
23948 * bits/sigthread.h: Likewise.
23949 * catgets/nl_types.h: Likewise.
23950 * conform/data/pthread.h-data: Likewise.
23951 * crypt/crypt-private.h: Likewise.
23952 * crypt/crypt.h: Likewise.
23953 * crypt/crypt_util.c: Likewise.
23954 * ctype/ctype.h: Likewise.
23955 * debug/execinfo.h: Likewise.
23956 * debug/mbsnrtowcs_chk.c: Likewise.
23957 * debug/mbsrtowcs_chk.c: Likewise.
23958 * debug/wcsnrtombs_chk.c: Likewise.
23959 * debug/wcsrtombs_chk.c: Likewise.
23960 * debug/wcstombs_chk.c: Likewise.
23961 * dirent/dirent.h: Likewise.
23962 * dlfcn/dlfcn.h: Likewise.
23963 * elf/neededtest4.c: Likewise.
23964 * grp/grp.h: Likewise.
23965 * gshadow/gshadow.h: Likewise.
23966 * iconv/gconv.h: Likewise.
23967 * iconv/gconv_int.h: Likewise.
23968 * iconv/gconv_simple.c: Likewise.
23969 * iconv/iconv.h: Likewise.
23970 * iconv/loop.c: Likewise.
23971 * iconv/skeleton.c: Likewise.
23972 * include/aio.h: Likewise.
23973 * include/aliases.h: Likewise.
23974 * include/argz.h: Likewise.
23975 * include/arpa/inet.h: Likewise.
23976 * include/assert.h: Likewise.
23977 * include/dirent.h: Likewise.
23978 * include/dlfcn.h: Likewise.
23979 * include/execinfo.h: Likewise.
23980 * include/fcntl.h: Likewise.
23981 * include/fenv.h: Likewise.
23982 * include/glob.h: Likewise.
23983 * include/grp.h: Likewise.
23984 * include/libintl.h: Likewise.
23985 * include/mntent.h: Likewise.
23986 * include/netdb.h: Likewise.
23987 * include/pwd.h: Likewise.
23988 * include/rpc/netdb.h: Likewise.
23989 * include/sched.h: Likewise.
23990 * include/search.h: Likewise.
23991 * include/shadow.h: Likewise.
23992 * include/signal.h: Likewise.
23993 * include/stdio.h: Likewise.
23994 * include/stdlib.h: Likewise.
23995 * include/string.h: Likewise.
23996 * include/sys/socket.h: Likewise.
23997 * include/sys/stat.h: Likewise.
23998 * include/sys/statfs.h: Likewise.
23999 * include/sys/statvfs.h: Likewise.
24000 * include/sys/syslog.h: Likewise.
24001 * include/sys/time.h: Likewise.
24002 * include/sys/uio.h: Likewise.
24003 * include/time.h: Likewise.
24004 * include/unistd.h: Likewise.
24005 * include/utmp.h: Likewise.
24006 * include/wchar.h: Likewise.
24007 * include/wctype.h: Likewise.
24008 * inet/aliases.h: Likewise.
24009 * inet/arpa/inet.h: Likewise.
24010 * inet/netinet/ether.h: Likewise.
24011 * inet/netinet/in.h: Likewise.
24012 * intl/libintl.h: Likewise.
24013 * io/bits/fcntl2.h: Likewise.
24014 * io/fcntl.h: Likewise.
24015 * io/ftw.h: Likewise.
24016 * io/sys/poll.h: Likewise.
24017 * io/sys/stat.h: Likewise.
24018 * io/sys/statfs.h: Likewise.
24019 * io/sys/statvfs.h: Likewise.
24020 * io/utime.h: Likewise.
24021 * libio/bits/stdio.h: Likewise.
24022 * libio/bits/stdio2.h: Likewise.
24023 * libio/libio.h: Likewise.
24024 * libio/libioP.h: Likewise.
24025 * libio/stdio.h: Likewise.
24026 * locale/lc-ctype.c: Likewise.
24027 * locale/locale.h: Likewise.
24028 * login/utmp.h: Likewise.
24029 * malloc/arena.c: Likewise.
24030 * malloc/malloc.c: Likewise.
24031 * malloc/malloc.h: Likewise.
24032 * malloc/mcheck.c: Likewise.
24033 * malloc/mtrace.c: Likewise.
24034 * math/bits/mathcalls.h: Likewise.
24035 * math/fenv.h: Likewise.
24036 * math/math_private.h: Likewise.
24037 * misc/bits/error.h: Likewise.
24038 * misc/bits/syslog.h: Likewise.
24039 * misc/err.h: Likewise.
24040 * misc/error.h: Likewise.
24041 * misc/fstab.h: Likewise.
24042 * misc/mntent.h: Likewise.
24043 * misc/regexp.h: Likewise.
24044 * misc/search.h: Likewise.
24045 * misc/sgtty.h: Likewise.
24046 * misc/sys/mman.h: Likewise.
24047 * misc/sys/syslog.h: Likewise.
24048 * misc/sys/uio.h: Likewise.
24049 * misc/sys/xattr.h: Likewise.
24050 * misc/ttyent.h: Likewise.
24051 * nis/rpcsvc/ypclnt.h: Likewise.
24052 * nss/nss.h: Likewise.
24053 * posix/bits/unistd.h: Likewise.
24054 * posix/fnmatch.h: Likewise.
24055 * posix/glob.h: Likewise.
24056 * posix/sched.h: Likewise.
24057 * posix/spawn.h: Likewise.
24058 * posix/sys/wait.h: Likewise.
24059 * posix/unistd.h: Likewise.
24060 * posix/wordexp.h: Likewise.
24061 * pwd/pwd.h: Likewise.
24062 * resolv/netdb.h: Likewise.
24063 * resource/sys/resource.h: Likewise.
24064 * rt/aio.h: Likewise.
24065 * rt/bits/mqueue2.h: Likewise.
24066 * rt/mqueue.h: Likewise.
24067 * shadow/shadow.h: Likewise.
24068 * signal/signal.h: Likewise.
24069 * socket/send.c: Likewise.
24070 * socket/sendto.c: Likewise.
24071 * socket/sys/socket.h: Likewise.
24072 * stdio-common/printf.h: Likewise.
24073 * stdlib/bits/stdlib.h: Likewise.
24074 * stdlib/fmtmsg.h: Likewise.
24075 * stdlib/monetary.h: Likewise.
24076 * stdlib/stdlib.h: Likewise.
24077 * stdlib/ucontext.h: Likewise.
24078 * streams/stropts.h: Likewise.
24079 * string/argz.h: Likewise.
24080 * string/bits/string2.h: Likewise.
24081 * string/string.h: Likewise.
24082 * string/strings.h: Likewise.
24083 * sunrpc/rpc/auth.h: Likewise.
24084 * sunrpc/rpc/auth_des.h: Likewise.
24085 * sunrpc/rpc/clnt.h: Likewise.
24086 * sunrpc/rpc/netdb.h: Likewise.
24087 * sunrpc/rpc/pmap_clnt.h: Likewise.
24088 * sunrpc/rpc/xdr.h: Likewise.
24089 * sysdeps/generic/inttypes.h: Likewise.
24090 * sysdeps/generic/net/if.h: Likewise.
24091 * sysdeps/generic/sys/swap.h: Likewise.
24092 * sysdeps/gnu/net/if.h: Likewise.
24093 * sysdeps/gnu/utmpx.h: Likewise.
24094 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24095 * sysdeps/i386/i486/bits/string.h: Likewise.
24096 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24097 * sysdeps/s390/bits/string.h: Likewise.
24098 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24099 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24100 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24101 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24102 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24103 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24104 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24105 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24106 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24107 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24108 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24109 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24110 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24111 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24112 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24113 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24114 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24115 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24116 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24117 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24118 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24119 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24120 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24121 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24122 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24123 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24124 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24125 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24126 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24127 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24128 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24129 * sysvipc/sys/ipc.h: Likewise.
24130 * sysvipc/sys/msg.h: Likewise.
24131 * sysvipc/sys/sem.h: Likewise.
24132 * sysvipc/sys/shm.h: Likewise.
24133 * termios/termios.h: Likewise.
24134 * time/sys/time.h: Likewise.
24135 * time/time.h: Likewise.
24136 * wcsmbs/bits/wchar2.h: Likewise.
24137 * wcsmbs/uchar.h: Likewise.
24138 * wcsmbs/wchar.h: Likewise.
24139 * wctype/wctype.h: Likewise.
24140
0269750c
UD
24141 [BZ #13551]
24142 * Makeconfig: Remove all but ELF support including AIX support.
24143 * Makerules: Likewise.
24144 * config.h.in: Likewise.
24145 * config.make.in: Likewise.
24146 * configure: Likewise.
24147 * configure.in: Likewise.
24148 * csu/Makefile: Likewise.
24149 * csu/version.c: Likewise.
24150 * debug/Makefile: Likewise.
24151 * dlfcn/Makefile: Likewise.
24152 * elf/Makefile: Likewise.
24153 * extra-lib.mk: Likewise.
24154 * iconv/Makefile: Likewise.
24155 * include/libc-symbols.h: Likewise.
24156 * include/shlib-compat.h: Likewise.
24157 * resolv/Makefile: Likewise.
24158 * resolv/res_libc.c: Likewise.
24159 * rt/Makefile: Likewise.
24160 * sysdeps/i386/asm-syntax.h: Likewise.
24161 * sysdeps/i386/sysdep.h: Likewise.
24162 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24163 * sysdeps/mach/sysdep.h: Likewise.
24164 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24165 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24166 * sysdeps/s390/asm-syntax.h: Likewise.
24167 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24168 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24169 * sysdeps/sh/sysdep.h: Likewise.
24170 * sysdeps/unix/sparc/sysdep.h: Likewise.
24171 * sysdeps/wordsize-32/divdi3.c: Likewise.
24172 * sysdeps/x86_64/sysdep.h: Likewise.
24173
00bbd29b
UD
24174 * argp/Versions: Remove _argp_unlock_xxx.
24175
24176 [BZ #13559]
24177 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24178 * abilist/libBrokenLocale.abilist: Likewise.
24179 * abilist/libanl.abilist: Likewise.
24180 * abilist/libc.abilist: Likewise.
24181 * abilist/libcrypt.abilist: Likewise.
24182 * abilist/libdl.abilist: Likewise.
24183 * abilist/libm.abilist: Likewise.
24184 * abilist/libnsl.abilist: Likewise.
24185 * abilist/libpthread.abilist: Likewise.
24186 * abilist/libresolv.abilist: Likewise.
24187 * abilist/librt.abilist: Likewise.
24188 * abilist/libthread_db.abilist: Likewise.
24189 * abilist/libutil.abilist: Likewise.
24190 * abilist/libnss_db.abilist: New file.
24191
24192 * scripts/abilist.awk: Add support for indirect functions.
24193
a2693a0e
UD
24194 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24195
3f05895f
UD
24196 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24197
ecb6fb48
UD
24198 * shlib-versions: Remove entries for ports architectures.
24199
664f8cb9
UD
24200 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24201 files in ports.
24202 * elf/stackguard-macros.h: Remove support for IA-64.
24203 * elf/tst-auditmod1.c: Likewise.
24204 * sysdeps/generic/ldsodefs.h: Likewise.
24205
7ae81d88
UD
24206 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24207 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24208 configure files.
24209
bdeba135
UD
24210 [BZ #13552]
24211 * configure.in: Remove --enable-omitfp support.
24212 * FAQ.in: Adjust.
24213 * config.make.in: Likewise.
24214 * Makeconfig: Likewise.
24215 * manual/install.texi: Likewise.
24216
d75a0a62
UD
24217 In case anyone cares, the IA-64 architecture could move to ports.
24218 * sysdeps/ia64/*: Removed.
24219 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24220 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24221
dcc9756b
UD
24222 [BZ #13555]
24223 * configure.in: Remove entries for unsupported architectures.
24224
d3761ebc 24225 [BZ #13533]
9954432e
UD
24226 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24227 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24228 routines.
24229 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24230 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24231 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24232 fall back to using wcrtomb.
24233 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24234 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24235 renaming.
24236 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24237 * wcsmbs/tst-c16c32-1.c: New file.
24238
24239 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24240 local variable.
24241
c3a87236
UD
24242 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24243
28926a1b
UD
24244 * elf/tst-unique3.cc: Add explicit declaration of gets.
24245 * elf/tst-unique3lib.cc: Likewise.
24246 * elf/tst-unique3lib2.cc: Likewise.
24247 * elf/tst-unique4.cc: Likewise.
24248
df78418a
UD
24249 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24250
8ecd6b2a
JM
242512012-01-06 Joseph Myers <joseph@codesourcery.com>
24252
24253 [BZ #13566]
24254 * assert/assert.h (static_assert): Don't define for C++.
24255 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24256 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24257
9f115170
UD
242582012-01-03 Ulrich Drepper <drepper@gmail.com>
24259
5e0d0300
UD
24260 * iconv/loop.c (single loop): Fix assertion in storing of
24261 remaining bytes.
24262
9f115170
UD
24263 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24264
81fb02b0
UD
242652012-01-01 Ulrich Drepper <drepper@gmail.com>
24266
24267 * posix/getconf.c: Update copyright year.
24268 * nss/getent.c: Likewise.
a316c1f6 24269 * nss/makedb.c: Likewise.
81fb02b0
UD
24270 * iconv/iconvconfig.c: Likewise.
24271 * iconv/iconv_prog.c: Likewise.
24272 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24273 * elf/pldd.c: Likewise.
24274 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24275 * catgets/gencat.c: Likewise.
24276 * csu/version.c: Likewise.
24277 * elf/ldd.bash.in: Likewise.
24278 * elf/sprof.c (print_version): Likewise.
24279 * locale/programs/locale.c: Likewise.
24280 * locale/programs/localedef.c: Likewise.
a316c1f6 24281 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24282 * nscd/nscd.c (print_version): Likewise.
24283 * debug/xtrace.sh: Likewise.
24284 * malloc/memusage.sh: Likewise.
24285 * malloc/mtrace.pl: Likewise.
24286 * debug/catchsegv.sh: Likewise.
24287
2ba92745
JJ
242882011-12-30 Jakub Jelinek <jakub@redhat.com>
24289
24290 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24291 pure attribute.
24292
dadebdae
UD
242932011-12-24 Ulrich Drepper <drepper@gmail.com>
24294
d3761ebc 24295 [BZ #13533]
db6af3eb
UD
24296 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24297 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24298 transformations.
24299 * iconv/gconv_int.h: Likewise.
24300 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24301 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24302 from libc for GLIBC_2.16.
24303 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24304 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24305 * wcsmbs/uchar.h: Really define mbstate_t.
24306 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24307 * wcsmbs/c16rtomb.c: New file.
24308 * wcsmbs/mbrtoc16.c: New file.
24309 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24310 for C/POSIX locale.
24311 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24312 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24313
dadebdae
UD
24314 * wcsmbs/wchar.h: Add missing __restrict.
24315
67371b56
UD
243162011-12-23 Ulrich Drepper <drepper@gmail.com>
24317
74033a25
UD
24318 [BZ #13532]
24319 * time/Makefile (routines): Add timespec_get.
24320 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24321 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24322 timespec for ISO C11.
24323 * time/timespec_get.c: New file.
24324 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24325 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24326
380d7e87
UD
24327 [BZ #13531]
24328 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24329 * stdlib/stdlib.h: Declare aligned_alloc.
24330 * Versions.def: Add GLIBC_2.16 for libc.
24331 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24332
4e9e7a35
UD
24333 [BZ 13527]
24334 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24335 ISO C11.
24336
380d7e87 24337 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24338 code.
24339
03a71829
UD
24340 [BZ #13528]
24341 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24342
839e283e
UD
24343 [BZ #13529]
24344 * assert/assert.h (static_assert): Define.
24345
ce5294e2 24346 * version.h: Update for 2.16 development version.
90fa7312 24347
8d44e150 24348 [BZ #13526]
d7809905
UD
24349 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24350 _ISOC11_SOURCE.
24351
c0da14cd
UD
24352 * version.h (RELEASE): Bump for 2.15 release.
24353 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24354
530a3249
MP
24355 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24356 Patch by Marek Polacek <mpolacek@redhat.com>.
24357
67371b56
UD
24358 * bits/byteswap.h: Protect long long constants with __extension__.
24359 * sysdeps/i386/bits/byteswap.h: Likewise.
24360 * sysdeps/ia64/bits/byteswap.h: Likewise.
24361 * sysdeps/s390/bits/byteswap.h: Likewise.
24362 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24363
15db4de1
LD
243642011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24365
24366 [BZ #13540]
bbe315ea
LD
24367 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24368 destination buffer.
15db4de1
LD
24369 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24370
2b2596b1
MP
243712011-12-23 Marek Polacek <polacek@redhat.com>
24372
24373 * elf/dl-addr.c (determine_info): Add inline keyword.
24374 * elf/tst-auditmod4b.c (check_avx): Likewise.
24375 * elf/tst-auditmod6b.c (check_avx): Likewise.
24376 * elf/tst-auditmod6c.c (check_avx): Likewise.
24377 * elf/tst-auditmod7b.c (check_avx): Likewise.
24378
70c6c246
UD
243792011-12-23 Ulrich Drepper <drepper@gmail.com>
24380
24381 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24382 !__SSE_MATH__.
24383
c044cf14
LD
243842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24385
15db4de1 24386 [BZ #13540]
c044cf14
LD
24387 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24388 processing for last bytes.
24389
6b13d9d9
BH
243902011-08-06 Bruno Haible <bruno@clisp.org>
24391
d455f537
BH
24392 [BZ #13061]
24393 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24394 U+0385, not to U+1FEE.
24395
6b13d9d9
BH
24396 [BZ #13062]
24397 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24398 entry for U+00A5 U+0301.
24399
db910efd
UD
244002011-12-22 Ulrich Drepper <drepper@gmail.com>
24401
27deeafc
UD
24402 [BZ #13166]
24403 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24404 buffer for the output is too small.
24405
aed9d171
UD
24406 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24407 optimization.
24408
db910efd
UD
24409 [BZ #13185]
24410 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24411 SSE flags if possible.
24412
2bd779ae
LD
244132011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24414
e7f9dac3 24415 [BZ #13540]
2bd779ae
LD
24416 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24417 processing for last bytes.
24418
154bfc16
JM
244192011-12-22 Joseph Myers <joseph@codesourcery.com>
24420
24421 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24422 (syscall-list-default-options, syscall-list-default-condition)
24423 (syscall-list-includes): Define.
24424 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24425 list of ABIs and options and #if conditions for each ABI. Do not
24426 handle common syscalls between ABIs specially.
24427 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24428 Remove.
24429 (syscall-list-variants, syscall-list-32bit-options)
24430 (syscall-list-32bit-condition, syscall-list-64bit-options)
24431 (syscall-list-64bit-condition): Define.
24432 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24433 (syscall-list-variants, syscall-list-32bit-options)
24434 (syscall-list-32bit-condition, syscall-list-64bit-options)
24435 (syscall-list-64bit-condition): Define.
24436 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24437 Remove.
24438 (syscall-list-variants, syscall-list-32bit-options)
24439 (syscall-list-32bit-condition, syscall-list-64bit-options)
24440 (syscall-list-64bit-condition): Define.
24441 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24442 Remove.
24443 (syscall-list-variants, syscall-list-32bit-options)
24444 (syscall-list-32bit-condition, syscall-list-64bit-options)
24445 (syscall-list-64bit-condition): Define.
24446
21eaf3a5
UD
244472011-12-22 Ulrich Drepper <drepper@gmail.com>
24448
16c6f992
UD
24449 * locale/iso-639.def: Add brx entry.
24450
41043168
UD
24451 [BZ #13328]
24452 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24453 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24454
21eaf3a5
UD
24455 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24456 __feraiseexcept_renamed.
24457
e3a851a2
UD
244582011-12-21 Ulrich Drepper <drepper@gmail.com>
24459
4920765e
UD
24460 [BZ #13538]
24461 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24462 EPOLLET with unsigned values.
24463 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24464 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24465
e3a851a2
UD
24466 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24467 to large cancellation.
24468 * math/s_cacoshf.c: Likewise.
24469 * math/s_cacoshl.c: Likewise.
24470
b27e24b8
RK
244712011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24472
24473 [BZ #13305]
aebefeee 24474 [BZ #12786]
b27e24b8
RK
24475 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24476 * math/s_cacoshf.c: Likewise.
24477 * math/s_cacoshl.c: Likewise.
24478
ee190f67
UD
244792011-12-21 Ulrich Drepper <drepper@gmail.com>
24480
24481 [BZ #13439]
24482 * iconv/gconv.h: Define __GCONV_SWAP.
24483 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24484 * iconvdata/utf-16.c: Likewise.
24485 * iconvdata/utf-32.c: Likewise.
24486
707f25df
AS
244872011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24488
24489 [BZ #13524]
24490 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24491 numerator after shifting it by one limb.
24492
d2daaa1e
RÁE
244932011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24494
24495 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24496 under [__USE_EXTERN_INLINES].
24497
a4647e72
UD
244982011-12-17 Ulrich Drepper <drepper@gmail.com>
24499
24500 [BZ #13446]
24501 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24502
f0b264f1
AZ
245032011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24504
24505 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24506 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24507 optimized code.
24508 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24509 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24510 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24511 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24512 for strncasecmp/strncasecmp_l compilation.
24513 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24514 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24515
8ef4f244
MP
245162011-12-08 Marek Polacek <mpolacek@redhat.com>
24517
24518 [BZ #13484]
24519 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24520 of __asm__.
24521
97ac2654
UD
245222011-12-17 Ulrich Drepper <drepper@gmail.com>
24523
24524 [BZ #13506]
24525 * time/tzfile.c (__tzfile_read): Check values from file header.
24526
91d2a845
WS
245272011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24528
24529 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24530 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24531 * powerpc/powerpc32/dl-start.S: Likewise.
24532 * powerpc/powerpc32/elf/start.S: Likewise.
24533 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24534 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24535 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24536 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24537 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24538 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24539 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24540 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24541 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24542 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24543 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24544 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24545 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24546 * powerpc/powerpc32/memset.S: Likewise.
24547 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24548 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24549 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24550 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24551 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24552 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24553 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24554 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24555 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24556 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24557 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24558 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24559 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24560
a1267ba1
AZ
245612011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24562
24563 * math/libm-test.inc: Added more nearbyint tests.
24564 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24565 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24566 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24567 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24568
ad8ac1bd
RL
245692011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24570
24571 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24572 FD_CLOEXEC.
24573
1d3e4b61
UD
245742011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24575
24576 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24577 Add wcscpy-ssse3 wcscpy-c.
24578 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24579 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24580 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24581 * sysdeps/x86_64/wcschr.S: New file.
24582 * sysdeps/x86_64/wcsrchr.S: New file.
24583 * string/test-strcmp.c: Remove checking of wcscmp function for
24584 wrong alignments.
24585 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24586 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24587 wcsrchr-sse2 wcsrchr-c.
24588 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24589 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24590 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24591 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24592 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24593 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24594 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24595 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24596 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24597 * wcsmbc/wcschr.c (WCSCHR): New macro.
24598
5b330a2d
UD
245992011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24600
24601 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24602 * wcsmbs/test-wcsrchr.c: New file.
24603 * string/test-strrchr.c: Add wcsrchr support.
24604 (WIDE): New macro.
24605 * wcsmbs/test-wcscpy.c: New file.
24606 * string/test-strcpy.c: Add wcscpy support.
24607 (WIDE): New macro.
26428b7c 24608
f039c043
UD
246092011-12-10 Ulrich Drepper <drepper@gmail.com>
24610
24611 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24612 the inner loop.
24613
850fb039
AS
246142011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24615
24616 [BZ #13472]
24617 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24618
4efbd5cb
UD
246192011-12-04 Ulrich Drepper <drepper@gmail.com>
24620
52ff5dd0 24621 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 24622 Minor optimizations.
52ff5dd0 24623
4efbd5cb
UD
24624 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24625 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24626 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24627
8a426e12
UD
246282011-12-03 Ulrich Drepper <drepper@gmail.com>
24629
aff2453d
UD
24630 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24631 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24632 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24633 for gcc to avoid warnings.
24634 * inet/Makefile (tests): Add tst-checks.
24635 * inet/tst-checks.c: New file.
24636
24637 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24638 warning.
24639
24640 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24641 __wmemcmp_sse2.
24642
24643 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24644 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24645
8a426e12
UD
24646 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24647
9bea3473
UD
246482011-12-02 Ulrich Drepper <drepper@gmail.com>
24649
3a965496
UD
24650 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24651 problem.
24652
9bea3473
UD
24653 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24654
f101631b
UD
246552011-11-29 Joseph Myers <joseph@codesourcery.com>
24656
24657 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24658 conditional on GCC version.
24659 (__arch_compare_and_exchange_val_8_acq)
24660 (__arch_compare_and_exchange_val_16_acq)
24661 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24662 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24663 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24664
a98275aa
UD
246652011-12-02 Joseph Myers <joseph@codesourcery.com>
24666
24667 * sysdeps/sh/backtrace.c: New file.
24668
d4cc29a2
AS
246692011-12-02 Andreas Schwab <schwab@redhat.com>
24670
24671 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24672 parenthesis.
24673
6257af2d
AS
246742011-12-01 Andreas Schwab <schwab@redhat.com>
24675
24676 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24677 falling back to utime.
24678
b5f44c1a
AS
246792011-11-30 Andreas Schwab <schwab@redhat.com>
24680
24681 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24682 expectations for float.
24683
f3a6cc0a
AS
246842011-11-29 Andreas Schwab <schwab@redhat.com>
24685
24686 * locale/weight.h (findidx): Add parameter len.
24687 * locale/weightwc.h (findidx): Likewise.
24688 * posix/fnmatch_loop.c (FCT): Adjust caller.
24689 * posix/regcomp.c (build_equiv_class): Likewise.
24690 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24691 * posix/regexec.c (check_node_accept_bytes): Likewise.
24692 * string/strcoll_l.c (STRCOLL): Likewise.
24693 * string/strxfrm_l.c (STRXFRM): Likewise.
24694
9d65ea3a
UD
246952011-11-17 Ulrich Drepper <drepper@gmail.com>
24696
24697 * Makefile.in: Remove CVSOPT handling.
24698 * configure.in: Remove use of AC_REVISION.
24699 * iconvdata/Makefile (distribute): No need to filter out CVS.
24700 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24701 handling.
24702
5583a086
AS
247032011-11-16 Andreas Schwab <schwab@redhat.com>
24704
24705 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24706 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24707 [USE_AS_STRNCASECMP_L]: Likewise.
24708 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24709 NO_TLS_DIRECT_SEG_REFS.
24710 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24711 Fix argument offsets for non-PIC.
24712 [USE_AS_STRNCASECMP_L]: Likewise.
24713 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24714 NO_TLS_DIRECT_SEG_REFS.
24715
d62a8200
UD
247162011-11-15 Ulrich Drepper <drepper@gmail.com>
24717
9d65ea3a 24718 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
24719 O_CLOEXEC.
24720 * locale/loadlocale.c (_nl_load_locale): Likewise.
24721
09f93bd3
AS
247222011-11-15 Andreas Schwab <schwab@redhat.com>
24723
446514f9
AS
24724 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24725 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24726 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24727 (SYSCALL_GETTIME): Set errno on error.
24728
09f93bd3
AS
24729 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24730 count references to noai6ai_cached.
24731
312be3f9
UD
247322011-11-15 Ulrich Drepper <drepper@gmail.com>
24733
24734 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24735
24736 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24737 FD_CLOEXEC for /proc/self/maps.
24738
24739 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24740 FD_CLOEXEC for /proc/meminfo.
24741
24742 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24743 gai.conf.
24744
24745 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24746 FD_CLOEXEC for given file.
24747
24748 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24749
24750 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24751 FD_CLOEXEC for /etc/hosts.
24752 (_gethtent): Likewise.
24753
24754 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24755
24756 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24757 cancellation and set FD_CLOEXEC for /etc/netgroup.
24758
24759 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24760 reading /etc/publickey.
24761
24762 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24763 allow cancellation when reading /etc/group.
24764
24765 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24766 cancellation.
24767 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24768
24769 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24770 when using data file.
24771
24772 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24773
24774 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24775 (write_nis_obj): Use "c" and "e" in fopen.
24776
24777 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24778
24779 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24780
24781 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24782
24783 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24784
24785 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24786 locale.alias.
24787
24788 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24789
24790 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24791
24792 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24793
24794 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24795 file parsing and set FD_CLOEXEC.
24796
82af0fa8
UD
247972011-11-14 Ulrich Drepper <drepper@gmail.com>
24798
24799 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24800
a5fb313c
AS
248012011-11-14 Andreas Schwab <schwab@redhat.com>
24802
24803 * malloc/arena.c (arena_get2): Don't call reused_arena when
24804 _int_new_arena failed.
24805
6abf3465
UD
248062011-11-14 Ulrich Drepper <drepper@gmail.com>
24807
24808 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24809 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24810 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24811 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24812 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24813 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24814 to compile strcasecmp and strncasecmp.
24815 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24816 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24817
24818 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24819
76e3966e
UD
248202011-11-13 Ulrich Drepper <drepper@gmail.com>
24821
24822 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24823 locale-defines.sym to gen-as-const-headers.
24824 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24825 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24826 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24827 to compile strcasecmp and strncasecmp.
24828 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24829 strcasecmp_l and strncasecmp_l.
24830 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24831 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24832 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24833 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24834 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24835 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24836 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24837 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24838 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24839 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24840 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24841
ab26144e
UD
248422011-11-12 Ulrich Drepper <drepper@gmail.com>
24843
7edb22ef
UD
24844 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24845 result of SYSDEP_GETTIME_CPU to retval.
24846 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24847 parameter list to macro. Remove trailing semicolon. Adjust users.
24848
9694fc44
UD
24849 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24850 variable.
24851
8ad89ef8
UD
24852 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24853 mantissa words.
24854 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24855
0c822ef9
UD
24856 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24857 from unused variable.
24858
874e0564
UD
24859 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24860 DWARF definitions.
24861 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24862 for assembling.
24863
3a2edc79
UD
24864 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24865 over namespaces.
24866
f3c2577f
UD
24867 * sunrpc/rpc_prot.c (rejected): Fix case value.
24868
294ce126
UD
24869 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24870 unsigned long long int to avoid warnings in shift.
24871
5e2b63c6
UD
24872 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24873 of use of trans.
24874 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24875 variable tmp.
24876
e7f4b08e
UD
24877 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24878 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24879 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24880
ab26144e
UD
24881 * nis/nis_table.c (nis_list): Use variable of correct type for
24882 result of __follow_path call.
24883
8a6d5255
AZ
248842011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24885
24886 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24887 of math functions ceil, trunc, floor, round, and sqrt, when
24888 avaliable on the platform.
24889 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24890 name clash.
24891 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24892 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24893 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24894
aaddc98c
MP
248952011-10-30 Marek Polacek <mpolacek@redhat.com>
24896
24897 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24898 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24899
95b7042b
RM
249002011-11-11 Roland McGrath <roland@hack.frob.com>
24901
24902 * include/unistd.h: Fix __readlink return type.
24903 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24904
57769839
UD
249052011-11-11 Ulrich Drepper <drepper@gmail.com>
24906
24907 * stdlib/ucontext.h: Undo last change for makecontext.
24908
edc5984d
AS
249092011-11-11 Andreas Schwab <schwab@redhat.com>
24910
98591e58
AS
24911 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24912
edc5984d
AS
24913 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24914 * setjmp/setjmp.h: Mark functions as non-leaf.
24915 * setjmp/bits/setjmp2.h: Likewise.
24916 * stdlib/ucontext.h: Likewise.
24917
77cdc054
AS
249182011-11-10 Andreas Schwab <schwab@redhat.com>
24919
24920 * malloc/arena.c (_int_new_arena): Don't increment narenas.
24921 (reused_arena): Don't check arena limit.
24922 (arena_get2): Atomically check arena limit.
24923
fe72eebd
UD
249242011-11-08 Ulrich Drepper <drepper@gmail.com>
24925
5f078c32
UD
24926 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24927 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24928
fe72eebd
UD
24929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24930 instructions.
24931
ae1bc2fa
AS
249322011-11-07 Andreas Schwab <schwab@redhat.com>
24933
7583a88d
AS
24934 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24935 handler when locking.
24936
ae1bc2fa
AS
24937 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24938 Fix size of allocated buffer.
24939
10fb0bfa
AS
249402011-11-04 Andreas Schwab <schwab@redhat.com>
24941
998832a4
AS
24942 [BZ #10103]
24943 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24944 declarations for long double functions.
24945 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24946
10fb0bfa
AS
24947 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24948
3d7ba52b
AS
249492011-11-03 Andreas Schwab <schwab@redhat.com>
24950
a9ae54a1
AS
24951 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24952 installed.
24953
3d7ba52b
AS
24954 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24955 is disabled.
24956
bc8db248
ST
249572011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24958
24959 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24960
45b96dd6
AS
249612011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24962
647776f6
AS
24963 * include/alloca.h (stackinfo_alloca_round): Define.
24964 (extend_alloca): Use it.
24965 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24966 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24967 here.
24968
d91a8b93
AS
24969 * scripts/check-local-headers.sh: Ignore libaudit.h.
24970
45b96dd6
AS
24971 * nscd/Makefile (extra-objs): Make recursively expanded.
24972
432d41ce
UD
249732011-11-01 Ulrich Drepper <drepper@gmail.com>
24974
34372fc6
UD
24975 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24976 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24977
fadb59f8
UD
24978 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24979 * posix/tst-rfc3484-2.c: Likewise.
24980 * posix/tst-rfc3484-3.c: Likewise.
24981
78239589
UD
24982 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24983 process_vm_writev.
24984 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24985 process_vm_writev.
24986 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24987 process_vm_writev from libc using GLIBC_2.15 version.
24988
432d41ce
UD
24989 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24990
02f9c6cf
PP
249912011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24992
24993 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24994 stack usage.
24995
3a2c0242
UD
249962011-10-31 Ulrich Drepper <drepper@gmail.com>
24997
f4ec4833
UD
24998 [BZ #13367]
24999 * nss/getent.c (initgroups_keys): Show error message in case no group
25000 names are given.
25001
3a2c0242
UD
25002 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25003 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25004 __bump_nl_timestamp.
25005 * nscd/connections (nscd_init): When host database is served open
25006 netlink socket and request notification about configuration changes.
25007 (main_loop_poll): Track netlink file descriptor and bump timestamp
25008 in case data becomes available.
25009 (main_loop_epoll): Likewise.
25010 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25011 (database_pers_head): Add extra_data fileds.
25012 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25013 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25014 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25015 Adjust caller.
25016 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25017 in6ai data, call __free_in6ai.
25018 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25019 Add -DHAVE_NETLINK.
25020 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25021 interface information. Reuse previous data if netlink timestamp
25022 is not changed.
25023 (__bump_nl_timestamp): New function.
25024 (__free_in6ai): New function.
25025
636064eb
UD
250262011-10-30 Ulrich Drepper <drepper@gmail.com>
25027
25028 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25029 close_not_cancel_no_status here.
25030 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25031
9beb2334
UD
250322011-10-29 Ulrich Drepper <drepper@gmail.com>
25033
6ef76f3b
UD
25034 [BZ #13276]
25035 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25036 return value.
25037
0ffc4f3e 25038 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25039 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25040 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25041
cb95113e
UD
250422011-07-03 Andreas Jaeger <aj@suse.de>
25043
25044 [BZ #10709]
25045 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25046 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25047 * math/libm-test.inc (sin_test): Add test case.
25048
a1b560ff
UD
250492011-10-29 Ulrich Drepper <drepper@gmail.com>
25050
c9aaface
UD
25051 [BZ #13337]
25052 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25053 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25054
d272e7f1
UD
25055 * elf/chroot_canon.c (chroot_canon): Cleanups.
25056
1bc33071
UD
25057 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25058
1760874d
TJ
25059 [BZ #13335]
25060 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25061 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25062
51d91b18
UD
25063 * string/test-strchr.c: Make usable for strchrnul testing.
25064 * string/test-strchrnul.c: New file.
25065 * string/Makefile (strop-tests): Add strchrnul.
25066
a1b560ff 25067 * po/it.po: Update from translation team.
b611fb81 25068 * po/es.po: Likewise.
a1b560ff 25069
a5b81e1f
UD
250702011-10-28 Ulrich Drepper <drepper@gmail.com>
25071
fd52bc6d
UD
25072 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25073 the three constants needed as parameters. Drop the others.
25074 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25075 __m128i_strloadu_tolower.
52e4b9eb
UD
25076 Create and initialize variable zero and use it in all the places
25077 where _mm_setzero_si128 was used.
fd52bc6d 25078
a5b81e1f
UD
25079 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25080 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25081 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25082 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25083 anymore.
25084 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25085 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25086 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25087 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25088 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25089 __mpranred, __mptan.
25090 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25091 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25092 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25093 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25094 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25095 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25096 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25097 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25098 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25099
b4343346
AS
251002011-10-28 Andreas Schwab <schwab@redhat.com>
25101
0c92d8a8
AS
25102 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25103 redefine if SHARED.
25104 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25105
b4343346
AS
25106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25107 wide char related routines to wcsmbs subdir.
25108
3871f58f
AS
251092011-10-27 Andreas Schwab <schwab@redhat.com>
25110
25111 [BZ #13344]
25112 * misc/sys/cdefs.h (__THROWNL): Define.
25113 * posix/unistd.h: Use __THREADNL instead of __THREAD
25114 for memory synchronization functions.
25115
94d44d9f
RM
251162011-10-26 Roland McGrath <roland@hack.frob.com>
25117
21b64b15 25118 [BZ #13349]
94d44d9f
RM
25119 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25120 doesn't exist.
25121 * manual/stdio.texi (Obstack Streams): Node removed.
25122
f6ce9294
AS
251232011-10-26 Andreas Schwab <schwab@redhat.com>
25124
80479147
AS
25125 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25126 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25127 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25128
f6ce9294
AS
25129 * math/math_private.h (math_force_eval): Allow non-addressable
25130 arguments.
25131 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25132
618280a1
UD
251332011-10-25 Ulrich Drepper <drepper@gmail.com>
25134
e0016b11
UD
25135 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25136 file is not needed.
25137
25138 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25139 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25140 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25141 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25142 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25143 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25144 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25145 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25146 Add AVX variants.
25147 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25148 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25149 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25150 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25151 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25152 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25153 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25154 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25155 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25156 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25157 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25158 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25159 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25160 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25161 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25162 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25163 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25164 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25165 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25166
25167 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25168 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25169
618280a1
UD
25170 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25171 place. Use VEX encoding when compiling for AVX.
25172
37822576
AS
251732011-10-25 Andreas Schwab <schwab@redhat.com>
25174
1f1e1947
AS
25175 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25176 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25177
37822576
AS
25178 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25179
31ea014d
UD
251802011-10-25 Ulrich Drepper <drepper@gmail.com>
25181
d7826aa1 25182 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25183 useless if() expression.
d7826aa1
UD
25184 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25185 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25186 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25187 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25188 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25189 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25190 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25191 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25192 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25193 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25194 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25195 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25196 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25197 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25198 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25199 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25200 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25201 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25202 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25203
31ea014d
UD
25204 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25205
16437fec
AS
252062011-10-25 Andreas Schwab <schwab@redhat.com>
25207
25208 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25209 condition.
25210 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25211
31d3cc00
UD
252122011-10-25 Ulrich Drepper <drepper@gmail.com>
25213
25214 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25215 .text section. Avoid duplicate constants.
25216 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25217 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25218 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25219 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25220 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25222 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25223 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25224 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25225 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25226 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25227 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25228 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25229 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25230 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25231 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25232 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25233 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25234 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25235 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25236 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25237 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25238 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25239 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25240 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25241 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25242 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25243 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25244 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25245 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25246 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25247 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25248 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25249 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25250 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25251 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25252 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25253 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25254 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25255 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25256 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25257 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25258 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25259 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25260 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25261
58985aa9
UD
252622011-10-24 Ulrich Drepper <drepper@gmail.com>
25263
202c9deb
UD
25264 * sysdeps/x86_64/dla.h: Move to ...
25265 * sysdeps/x86_64/fpu/dla.h: ...here.
25266 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25267 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25268
af968f62
UD
25269 * config.make.in: Add have-mfma4 entry.
25270 * configure.in: Substitute libc_cv_cc_fma4.
25271 * math/Makefile (dbl-only-routines): Add sincostab.
25272 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25273 Use __sincostab not sincos.
25274 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25275 name is a macro.
25276 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25277 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25278 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25280 using __copysign.
25281 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25282 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25283 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25284 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25285 and __inv.
25286 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25287 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25288 __copysign.
25289 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25290 define aliases when function name is a macro.
25291 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25292 sysdeps/ieee754/dbl-64/sincos.tbl.
25293 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25294 fma4-enabled routines.
25295 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25296 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25297 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25298 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25299 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25300 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25301 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25302 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25303 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25304 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25305 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25306 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25307 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25308 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25309 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25310 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25311 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25312 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25313 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25314 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25315 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25316 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25317 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25318 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25319 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25320 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25321 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25322 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25323 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25324 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25325
58985aa9
UD
25326 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25327 rename.
25328 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25330 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25332 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25333 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25334 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25335 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25336
a201fbcf
AS
253372011-10-24 Andreas Schwab <schwab@redhat.com>
25338
25339 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25340
fc2ee42a
LD
253412011-10-23 Ulrich Drepper <drepper@gmail.com>
25342
bb3129bd
UD
25343 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25344
0275fff8
UD
25345 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25346 prediction.
25347 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25348
2fa2ae85
UD
25349 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25350 Remove unused variable magic_bits.
25351 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25352
fc2ee42a
LD
25353 * string/strnlen.c: Define and use STRNLEN macro.
25354 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25355 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25356 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25357 * wcsmbs/wcslen.c: Define and use WCSLEN.
25358 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25359 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25360 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25361 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25362 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25363 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25364 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25365
ce7dd29f
LD
253662011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25367
25368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25369 strnlen-sse2-no-bsf.
25370 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25371 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25372 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25373 Add strnlen support.
25374 (USE_AS_STRNLEN): New macro.
25375 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25376 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25377 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25378 * sysdeps/x86_64/wcslen.S: New file.
25379
979c70a3
MZ
253802011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25381
25382 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25383 XMM-moves are used for copying on small sizes.
25384
2d09f82f
LD
253852011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25386
25387 * wcsmbs/Makefile (strop-tests): Add wcschr.
25388 * wcsmbs/test-wcschr.c: New file.
25389 * string/test-strchr.c: Update.
25390 Add wcschr support.
25391 (WIDE): New macro.
25392
619fccca
LD
253932011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25394
2d09f82f 25395 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
25396 * wcsmbs/test-wcslen.c: New file.
25397 * string/test-strlen.c: Update.
25398 Add wcslen support.
25399 (WIDE): New macro.
25400
09f699ea
UD
254012011-10-23 Ulrich Drepper <drepper@gmail.com>
25402
25403 * po/it.po: Update from translation team.
25404
95584d3b
LD
254052011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25406
25407 * sysdeps/x86_64/wcscmp.S: Update.
25408 Fix wrong comparison semantics.
25409 wcscmp shall use signed comparison not unsigned.
25410 Don't use substraction to avoid overflow bug.
25411 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25412 * wcsmbc/wcscmp.c: Likewise.
25413 * string/test-strcmp.c: Likewise.
25414 Add new tests to check cases with negative values.
25415
c8b3296b
UD
254162011-10-23 Ulrich Drepper <drepper@gmail.com>
25417
25418 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25419 * sysdeps/x86_64/dla.h: ...here. New file.
25420 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25421 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25422 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25423 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25424 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25425 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25427 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25428 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25429
246ad57a
AS
254302011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25431
25432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25433 __ynl_finite aliases.
25434
a1a87169
UD
254352011-10-22 Ulrich Drepper <drepper@gmail.com>
25436
0d355eb7
UD
25437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25438
a1a87169
UD
25439 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25440 define DLA_FMA.
25441 [DLA_FMA] (EMULV): Use DLA_FMA.
25442 [DLA_FMA] (MUL12): Use EMULV.
25443 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25444 that are not needed.
25445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25446 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25447 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25448 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25449 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25450 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25451 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25452
ee2aafe0
AS
254532011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25454
25455 * math/s_nan.c: Undef __nan.
25456 * math/s_nanf.c: Undef __nanf.
25457 * math/s_nanl.c: Undef __nanl.
25458 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25459 "math_private.h".
25460
bc62c2fb
UD
254612011-10-22 Ulrich Drepper <drepper@gmail.com>
25462
77425c63
UD
25463 * math/s_catan.c: Add branch predictions.
25464 * math/s_catanf.c: Likewise.
25465 * math/s_catanh.c: Likewise.
25466 * math/s_catanhf.c: Likewise.
25467 * math/s_catanhl.c: Likewise.
25468 * math/s_catanl.c: Likewise.
25469 * math/s_cexp.c: Likewise.
25470 * math/s_cexpf.c: Likewise.
25471 * math/s_cexpl.c: Likewise.
25472 * math/s_clog.c: Likewise.
25473 * math/s_clog10.c: Likewise.
25474 * math/s_clog10f.c: Likewise.
25475 * math/s_clog10l.c: Likewise.
25476 * math/s_clogf.c: Likewise.
25477 * math/s_clogl.c: Likewise.
25478 * math/s_csqrt.c: Likewise.
25479 * math/s_csqrtf.c: Likewise.
25480 * math/s_csqrtl.c: Likewise.
25481 * math/s_ctanf.c: Likewise.
25482 * math/s_ctanh.c: Likewise.
25483 * math/s_ctanhf.c: Likewise.
25484 * math/s_ctanhl.c: Likewise.
25485 * math/s_ctanl.c: Likewise.
25486
bc62c2fb
UD
25487 * math/math_private.h: Define __nan, __nanf, __nanl.
25488 * math/s_cacosh.c: Include <math_private.h>.
25489 * math/s_cacoshl.c: Likewise.
25490 * math/s_casinh.c: Likewise.
25491 * math/s_casinhf.c: Likewise.
25492 * math/s_casinhl.c: Likewise.
25493 * math/s_ccos.c: Rely entire on ccosh.
25494 * math/s_ccosf.c: Rely entire on ccoshf.
25495 * math/s_ccosl.c: Rely entirely on ccoshl.
25496 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25497 Remove tests for FE_INVALID.
25498 * math/s_ccoshf.c: Likewise.
25499 * math/s_ccoshl.c: Likewise.
25500 * math/s_csin.c: Likewise.
25501 * math/s_csinf.c: Likewise.
25502 * math/s_csinh.c Likewise.
25503 * math/s_csinhf.c: Likewise.
25504 * math/s_csinhl.c: Likewise.
25505 * math/s_csinl.c: Likewise.
25506 * math/s_ctan.c: Likewise.
25507 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25508 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25509 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25510
8ec250a4
UD
255112011-10-21 Ulrich Drepper <drepper@gmail.com>
25512
c196fed8
UD
25513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25514 compilation problems.
25515
8ec250a4
UD
25516 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25517 __builtin_expect.
25518
8d4f46c6
UD
255192011-10-20 Ulrich Drepper <drepper@gmail.com>
25520
ed72b654
UD
25521 * sysdeps/i386/configure.in: Test for -mfma4 option.
25522 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25523 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25524 COMMON_CPUID_INDEX_80000001.
25525 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25526 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25527 use it if FMA3 is not supported.
25528 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25529
8d4f46c6
UD
25530 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25531 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25532
d45c60c2
AS
255332011-10-20 Andreas Schwab <schwab@redhat.com>
25534
25535 [BZ #12892]
25536 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25537 it would create a cycle with a link time dependency.
25538
d9a4d2ab
UD
255392011-10-19 Ulrich Drepper <drepper@gmail.com>
25540
855d1560
UD
25541 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25542 instruction.
25543 * string/Makefile (strop-tests): Add rawmemchr.
25544 * string/test-rawmemchr.c: New file.
25545
d9a4d2ab
UD
25546 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25547 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25548 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25549 when compiling str{,n}casecmp and when AVX is available. Hook up
25550 new optimized code in initializers.
25551
8f3b1ffe
AS
255522011-10-19 Andreas Schwab <schwab@redhat.com>
25553
25554 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25555 __feraiseexcept instead of feraiseexcept.
25556
d38f1dba
UD
255572011-10-18 Ulrich Drepper <drepper@gmail.com>
25558
d9a8d0ab
UD
25559 * math/math_private.h: Define defaults for libc_fetestexcept and
25560 libc_feupdateenv.
25561 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25562 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25563 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25564 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25565 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25566 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25567 libc_fetestexcept and libc_feupdateenv.
25568
4855e3dd
UD
25569 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25570 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25571 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25572 * sysdeps/x86_64/fpu/math_private.h: Define special version of
25573 libc_feholdexcept_setround.
25574
581d30e3
UD
25575 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25576 Add s_nearbyint-c and s_nearbyintf-c.
25577 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25578 nearbyintf inlines.
25579 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25580 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25581 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25582 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25583
d38f1dba
UD
25584 * math/math_private.h: Define defaults for libc_fegetround,
25585 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25586 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25587 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25588 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25589 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25590 standard functions.
25591 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25592 Remove comments and hacks for old compiler versions.
25593 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25594 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25595 libc_feholdexceptl.
25596
caa6c9d8
AS
255972011-10-18 Andreas Schwab <schwab@redhat.com>
25598
25599 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
25600 (__feraiseexcept_renamed): Add __NTH.
25601 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
25602 namespace violations.
25603
97c066e6
UD
256042011-10-17 Ulrich Drepper <drepper@gmail.com>
25605
99ce7b04
UD
25606 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25607
1004d182
UD
25608 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25609
228a984d
UD
25610 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25611 recently added interfaces.
25612 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25613
c8553a6a
UD
25614 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25615 about macro parameter expansion.
25616
ed22dcf6
UD
25617 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25618 __NO_MATH_INLINES is defined. Cleanups.
25619
25620 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25621 and __floorf is target has SSE4.1.
25622 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25623 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25624 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25625 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25626
b171c137
UD
25627 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25628 name.
25629 (floorf): Likewise.
25630
97c066e6
UD
25631 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25632
629f62ef
AS
256332011-10-17 Andreas Schwab <schwab@redhat.com>
25634
49a43d80
AS
25635 * misc/sys/cdefs.h: Fix last change.
25636
629f62ef
AS
25637 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25638 database lookup.
25639
e453f6cd
UD
256402011-10-16 Ulrich Drepper <drepper@gmail.com>
25641
aa78043a
UD
25642 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25643
ad0f5cad
UD
25644 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25645 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25646 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25647 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25648 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25649 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25650 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25651 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25652 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25653 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25654 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25655 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25656 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25657 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25658 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25659 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25660 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25661 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25662 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25663 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25664 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25665 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25666
25667 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25668 ceil, ceilf, floor, floorf.
25669
25670 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25671 Perform IRELATIVE relocations last.
25672
e453f6cd
UD
25673 * elf/do-rel.h: Add another parameter nrelative, replacing the
25674 local variable with the same name. Change name of the function
25675 to end in Rel or Rela (uppercase).
25676 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25677 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25678 elf_dynamic_do_##reloc function.
25679
fd5bdc09
UD
256802011-10-15 Ulrich Drepper <drepper@gmail.com>
25681
79b195b5
UD
25682 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25683 is sufficient, at least on modern CPUs.
25684
d4a28569
UD
25685 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25686
b61099b5
UD
25687 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25688 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25689
bcf01e6d
UD
25690 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25691 __expl_finite.
25692 * math/bits/math-finite.h: Add entries for exp.
25693 * math/e_expl.c: Add __*_finite alias.
25694 * sysdeps/i386/fpu/e_exp.S: Likewise.
25695 * sysdeps/i386/fpu/e_expf.S: Likewise.
25696 * sysdeps/i386/fpu/e_expl.c: Likewise.
25697 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25698 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25699 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25700 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25701 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25702 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25703 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25704
ba1a0d59
UD
25705 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25706 is sufficient, at least on modern CPUs.
25707
fd5bdc09
UD
25708 * ctype/ctype-info.c (__ctype_init): Define.
25709 * include/ctype.h (__ctype_init): Declare.
25710 (__ctype_b_loc): The variable is always initialized.
25711 (__ctype_toupper_loc): Likewise.
25712 (__ctype_tolower_loc): Likewise.
25713 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25714 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25715
7872cfb0
AS
257162011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25717
b468825a
AS
25718 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25719
7872cfb0
AS
25720 * configure.in: Also look in $cxxmachine/include for C++ system
25721 headers.
25722
be13f7bf
LD
257232011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25724
25725 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25726 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25727 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25728 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25729 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25730 (USE_AS_WMEMCMP): New macro.
25731 Fixing indents.
25732 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25733 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25734 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25735 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25737 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25738 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25739 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25740 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25741 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25742 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25743 (USE_AS_WMEMCMP): New macro.
25744 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25745 * sysdeps/string/test-memcmp.c: Update.
25746 Fix simple_wmemcmp.
25747 Add new tests.
25748 * wcsmbs/wmemcmp.c: Update.
25749 (WMEMCMP): New macro.
25750 Fix overflow bug.
25751
556a2007
AJ
257522011-10-12 Andreas Jaeger <aj@suse.de>
25753
25754 [BZ #13268]
25755 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25756
538faaa7
UD
257572011-10-15 Ulrich Drepper <drepper@gmail.com>
25758
ab6737ff
UD
25759 * libio/iofwide.c (do_length): Avoid warning.
25760
538faaa7
UD
25761 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25762
396a21b1
UD
257632011-10-14 Ulrich Drepper <drepper@gmail.com>
25764
cdf2901f
UD
25765 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25766
38ad40ce
UD
25767 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25768 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25769 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25770 * sysdeps/i386/i686/fpu/e_log.S: New file.
25771 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25772 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25773
396a21b1
UD
25774 * ctype/ctype.h: Add support for inlined isXXX functions when
25775 compiling C++ code.
25776
6b1f68c9
AS
257772011-10-14 Andreas Schwab <schwab@redhat.com>
25778
349290c0
AS
25779 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25780
6b1f68c9
AS
25781 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25782
f2282d42
RM
257832011-10-13 Roland McGrath <roland@hack.frob.com>
25784
25785 [BZ #13291]
25786 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25787
5298ffa8
AS
257882011-10-13 Andreas Schwab <schwab@redhat.com>
25789
714fad23
AS
25790 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25791 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25792 feraiseexcept.
25793
81dcc7fb
AS
25794 * sysdeps/x86_64/memrchr.S: Check for zero size.
25795
5298ffa8
AS
25796 * string/stratcliff.c: Add memrchr tests.
25797
951fbcec
LD
257982011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25799
25800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25801 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25802 rawmemchr-sse2 rawmemchr-sse2-bsf.
25803 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25804 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25805 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25806 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25807 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25808 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25809 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25810 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25811 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25812 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25813 * string/memrchr.c (MEMRCHR): New macro.
25814
0ac5ae23
UD
258152011-10-12 Ulrich Drepper <drepper@gmail.com>
25816
25817 Add integration with gcc's -ffinite-math-only and optimize wrapper
25818 functions in libm.
25819 * Versions.def: Define GLIBC_2.15 version for libm.
25820 * math/Makefile (headers): Add bits/math-finite.h.
25821 * math/bits/math-finite.h: New file.
25822 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25823 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25824 * math/e_acoshl.c: Add __*_finite alias.
25825 * math/e_acosl.c: Likewise.
25826 * math/e_asinl.c: Likewise.
25827 * math/e_atan2l.c: Likewise.
25828 * math/e_atanhl.c: Likewise.
25829 * math/e_coshl.c: Likewise.
25830 * math/e_exp10.c: Likewise.
25831 * math/e_exp10f.c: Likewise.
25832 * math/e_exp10l.c: Likewise.
25833 * math/e_exp2l.c: Likewise.
25834 * math/e_fmodl.c: Likewise.
25835 * math/e_gammal_r.c: Likewise.
25836 * math/e_hypotl.c: Likewise.
25837 * math/e_j0l.c: Likewise.
25838 * math/e_j1l.c: Likewise.
25839 * math/e_jnl.c: Likewise.
25840 * math/e_lgammal_r.c: Likewise.
25841 * math/e_log10l.c: Likewise.
25842 * math/e_log2l.c: Likewise.
25843 * math/e_logl.c: Likewise.
25844 * math/e_powl.c: Likewise.
25845 * math/e_sinhl.c: Likewise.
25846 * math/e_sqrtl.c: Likewise.
25847 * math/e_scalb.c: Completely rewritten and optimized.
25848 * math/e_scalbf.c: Likewise.
25849 * math/e_scalbl.c: Likewise.
25850 * math/w_acos.c: Likewise.
25851 * math/w_acosf.c: Likewise.
25852 * math/w_acosl.c: Likewise.
25853 * math/w_acosh.c: Likewise.
25854 * math/w_acoshf.c: Likewise.
25855 * math/w_acoshl.c: Likewise.
25856 * math/w_asin.c: Likewise.
25857 * math/w_asinf.c: Likewise.
25858 * math/w_asinl.c: Likewise.
25859 * math/w_atan2.c: Likewise.
25860 * math/w_atan2f.c: Likewise.
25861 * math/w_atan2l.c: Likewise.
25862 * math/w_atanh.c: Likewise.
25863 * math/w_atanhf.c: Likewise.
25864 * math/w_atanhl.c: Likewise.
25865 * math/w_exp10.c: Likewise.
25866 * math/w_exp10f.c: Likewise.
25867 * math/w_exp10l.c: Likewise.
25868 * math/w_fmod.c: Likewise.
25869 * math/w_fmodf.c: Likewise.
25870 * math/w_fmodl.c: Likewise.
25871 * math/w_j0.c: Likewise.
25872 * math/w_j0f.c: Likewise.
25873 * math/w_j0l.c: Likewise.
25874 * math/w_j1.c: Likewise.
25875 * math/w_j1f.c: Likewise.
25876 * math/w_j1l.c: Likewise.
25877 * math/w_jn.c: Likewise.
25878 * math/w_jnf.c: Likewise.
25879 * math/w_log.c: Likewise.
25880 * math/w_logf.c: Likewise.
25881 * math/w_logl.c: Likewise.
25882 * math/w_log10.c: Likewise.
25883 * math/w_log10f.c: Likewise.
25884 * math/w_log10l.c: Likewise.
25885 * math/w_log2.c: Likewise.
25886 * math/w_log2f.c: Likewise.
25887 * math/w_log2l.c: Likewise.
25888 * math/w_pow.c: Likewise.
25889 * math/w_powf.c: Likewise.
25890 * math/w_powl.c: Likewise.
25891 * math/w_remainder.c: Likewise.
25892 * math/w_remainderf.c: Likewise.
25893 * math/w_remainderl.c: Likewise.
25894 * math/w_scalb.c: Likewise.
25895 * math/w_scalbf.c: Likewise.
25896 * math/w_scalbl.c: Likewise.
25897 * math/w_sqrt.c: Likewise.
25898 * math/w_sqrtf.c: Likewise.
25899 * math/w_sqrtl.c: Likewise.
25900 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25901 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
25902 used.
25903 * math/math_private.h: Declare __kernel_standard_f.
25904 * math/w_cosh.c: Remove cruft and optimize a bit.
25905 * math/w_coshf.c: Likewise.
25906 * math/w_coshl.c: Likewise.
25907 * math/w_exp2.c: Likewise.
25908 * math/w_exp2f.c: Likewise.
25909 * math/w_exp2l.c: Likewise.
25910 * math/w_hypot.c: Likewise.
25911 * math/w_hypotf.c: Likewise.
25912 * math/w_hypotl.c: Likewise.
25913 * math/w_lgamma.c: Likewise.
25914 * math/w_lgamma_r.c: Likewise.
25915 * math/w_lgammaf.c: Likewise.
25916 * math/w_lgammaf_r.c: Likewise.
25917 * math/w_lgammal.c: Likewise.
25918 * math/w_lgammal_r.c: Likewise.
25919 * math/w_sinh.c: Likewise.
25920 * math/w_sinhf.c: Likewise.
25921 * math/w_sinhl.c: Likewise.
25922 * math/w_tgamma.c: Likewise.
25923 * math/w_tgammaf.c: Likewise.
25924 * math/w_tgammal.c: Likewise.
25925 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25926 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25927 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25928 Minor optimizations. Pretty printing. Remove cruft.
25929 * sysdeps/i386/fpu/e_acosf.S: Likewise.
25930 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25931 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25932 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25933 * sysdeps/i386/fpu/e_acosl.c: Likewise.
25934 * sysdeps/i386/fpu/e_asin.S: Likewise.
25935 * sysdeps/i386/fpu/e_asinf.S: Likewise.
25936 * sysdeps/i386/fpu/e_atan2.S: Likewise.
25937 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25938 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25939 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25940 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25941 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25942 * sysdeps/i386/fpu/e_exp10.S: Likewise.
25943 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25944 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25945 * sysdeps/i386/fpu/e_exp2.S: Likewise.
25946 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25947 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25948 * sysdeps/i386/fpu/e_fmod.S: Likewise.
25949 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25950 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25951 * sysdeps/i386/fpu/e_hypot.S: Likewise.
25952 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25953 * sysdeps/i386/fpu/e_log.S: Likewise.
25954 * sysdeps/i386/fpu/e_log10.S: Likewise.
25955 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25956 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25957 * sysdeps/i386/fpu/e_log2.S: Likewise.
25958 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25959 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25960 * sysdeps/i386/fpu/e_logf.S: Likewise.
25961 * sysdeps/i386/fpu/e_logl.S: Likewise.
25962 * sysdeps/i386/fpu/e_pow.S: Likewise.
25963 * sysdeps/i386/fpu/e_powf.S: Likewise.
25964 * sysdeps/i386/fpu/e_powl.S: Likewise.
25965 * sysdeps/i386/fpu/e_remainder.S: Likewise.
25966 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25967 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25968 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25969 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25970 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25971 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25972 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25973 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25974 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25975 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25977 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25978 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25979 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25980 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25981 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25982 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25983 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25984 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25985 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25987 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25988 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25990 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25991 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25992 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25993 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25994 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25995 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25996 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25997 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25998 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25999 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26000 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26001 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26002 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26003 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26004 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26005 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26006 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26007 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26008 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26009 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26010 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26011 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26012 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26013 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26014 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26015 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26016 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26017 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26018 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26019 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26020 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26021 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26022 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26023 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26024 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26025 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26026 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26027 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26028 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26029 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26030 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26031 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26032 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26033 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26034 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26035 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26036 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26037 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26038 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26039 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26040 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26041 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26042 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26043 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26044 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26045 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26046 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26047 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26048 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26049 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26050 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26051 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26052 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26053 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26054 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26055 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26056 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26057 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26058 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26059 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26060 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26061 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26062 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26063 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26064 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26065 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26066 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26067 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26068 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26069 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26070 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26071 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26072 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26073 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26074 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26075 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26076 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26077 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26078 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26079 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26080 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26081 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26082 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26083 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26084 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26085 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26086 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26087 (__isnanf): Likewise.
26088 (__isinf_ns): Likewise.
26089 (__isinf_nsf): Likewise.
26090 (__finite): Likewise.
26091 (__finitef): Likewise.
26092 (__ieee754_sqrt): Define as macro.
26093 (__ieee754_sqrtf): Define as macro.
26094 (__ieee754_sqrtl): Define as macro.
26095 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26096 inlined copy.
26097 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26098 __FINITE_MATH_ONLY__ consistent.
26099 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26100
12cc2fcd
AS
261012011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26102
a843a204
AS
26103 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26104 of rawmemchr.
26105
12cc2fcd
AS
26106 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26107
c853acd5
UD
261082011-10-09 Ulrich Drepper <drepper@gmail.com>
26109
26110 * po/ja.po: Update from translation team.
26111
c658d255
RM
261122011-10-08 Roland McGrath <roland@hack.frob.com>
26113
110946e4
RM
26114 * locale/programs/locarchive.c (prepare_address_space): New function.
26115 (create_archive, enlarge_archive, open_archive): Use it.
26116
50604220
RM
26117 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26118 inside [SHARED], where it is used.
26119
c658d255
RM
26120 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26121
26122 * nss/getent.c (netgroup_keys): Remove unused variable.
26123 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26124
6a621eb7
UD
261252011-10-08 Ulrich Drepper <drepper@gmail.com>
26126
7edb55ce
UD
26127 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26128 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26129 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26130 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26131 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26132 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26133 * math/Makefile (libm-calls): Add s_isinf_ns.
26134 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26135 * math/multc3.c: Likewise.
26136 * math/s_casin.c: Likewise.
26137 * math/s_casinf.c: Likewise.
26138 * math/s_casinl.c: Likewise.
26139 * math/s_ccos.c: Likewise.
26140 * math/s_ccosf.c: Likewise.
26141 * math/s_ccosl.c: Likewise.
26142 * math/s_ctan.c: Likewise.
26143 * math/s_ctanf.c: Likewise.
26144 * math/s_ctanh.c: Likewise.
26145 * math/s_ctanhf.c: Likewise.
26146 * math/s_ctanhl.c: Likewise.
26147 * math/s_ctanl.c: Likewise.
26148 * math/w_fmod.c: Likewise.
26149 * math/w_fmodf.c: Likewise.
26150 * math/w_fmodl.c: Likewise.
26151 * math/w_remainder.c: Likewise.
26152 * math/w_remainderf.c: Likewise.
26153 * math/w_remainderl.c: Likewise.
26154 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26155 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26156 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26157 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26158 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26159 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26160 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26161 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26162
187da0ae
UD
26163 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26164 of the number.
26165 * stdio-common/printf_fphex.c: Likewise.
26166 * stdio-common/printf_size.c: Likewise.
26167
9277c064
UD
26168 * math/e_exp10.c: Include math_private.h using <...> not "...".
26169 * math/e_exp10f.c: Likewise.
26170 * math/e_exp10l.c: Likewise.
26171 * math/e_exp2l.c: Likewise.
26172 * math/e_j0l.c: Likewise.
26173 * math/e_j1l.c: Likewise.
26174 * math/e_jnl.c: Likewise.
26175 * math/e_lgammal_r.c: Likewise.
26176 * math/e_rem_pio2l.c: Likewise.
26177 * math/e_scalb.c: Likewise.
26178 * math/e_scalbf.c: Likewise.
26179 * math/e_scalbl.c: Likewise.
26180 * math/k_cosl.c: Likewise.
26181 * math/k_sinl.c: Likewise.
26182 * math/k_tanl.c: Likewise.
26183 * math/s_cacoshf.c: Likewise.
26184 * math/s_catan.c: Likewise.
26185 * math/s_catanf.c: Likewise.
26186 * math/s_catanh.c: Likewise.
26187 * math/s_catanhf.c: Likewise.
26188 * math/s_catanhl.c: Likewise.
26189 * math/s_catanl.c: Likewise.
26190 * math/s_ccosh.c: Likewise.
26191 * math/s_ccoshf.c: Likewise.
26192 * math/s_ccoshl.c: Likewise.
26193 * math/s_cexp.c: Likewise.
26194 * math/s_cexpf.c: Likewise.
26195 * math/s_cexpl.c: Likewise.
26196 * math/s_clog.c: Likewise.
26197 * math/s_clog10.c: Likewise.
26198 * math/s_clog10f.c: Likewise.
26199 * math/s_clog10l.c: Likewise.
26200 * math/s_clogf.c: Likewise.
26201 * math/s_clogl.c: Likewise.
26202 * math/s_csin.c: Likewise.
26203 * math/s_csinf.c: Likewise.
26204 * math/s_csinh.c: Likewise.
26205 * math/s_csinhf.c: Likewise.
26206 * math/s_csinhl.c: Likewise.
26207 * math/s_csinl.c: Likewise.
26208 * math/s_csqrt.c: Likewise.
26209 * math/s_csqrtf.c: Likewise.
26210 * math/s_csqrtl.c: Likewise.
26211 * math/s_ctan.c: Likewise.
26212 * math/s_ctanf.c: Likewise.
26213 * math/s_ctanh.c: Likewise.
26214 * math/s_ctanhf.c: Likewise.
26215 * math/s_ctanhl.c: Likewise.
26216 * math/s_ctanl.c: Likewise.
26217 * math/s_ldexp.c: Likewise.
26218 * math/s_ldexpf.c: Likewise.
26219 * math/s_ldexpl.c: Likewise.
26220 * math/s_significand.c: Likewise.
26221 * math/s_significandf.c: Likewise.
26222 * math/s_significandl.c: Likewise.
26223 * math/w_acos.c: Likewise.
26224 * math/w_acosf.c: Likewise.
26225 * math/w_acosh.c: Likewise.
26226 * math/w_acoshf.c: Likewise.
26227 * math/w_acoshl.c: Likewise.
26228 * math/w_acosl.c: Likewise.
26229 * math/w_asin.c: Likewise.
26230 * math/w_asinf.c: Likewise.
26231 * math/w_asinl.c: Likewise.
26232 * math/w_atan2.c: Likewise.
26233 * math/w_atan2f.c: Likewise.
26234 * math/w_atan2l.c: Likewise.
26235 * math/w_atanh.c: Likewise.
26236 * math/w_atanhf.c: Likewise.
26237 * math/w_atanhl.c: Likewise.
26238 * math/w_cosh.c: Likewise.
26239 * math/w_coshf.c: Likewise.
26240 * math/w_coshl.c: Likewise.
26241 * math/w_dremf.c: Likewise.
26242 * math/w_exp10.c: Likewise.
26243 * math/w_exp10f.c: Likewise.
26244 * math/w_exp10l.c: Likewise.
26245 * math/w_exp2.c: Likewise.
26246 * math/w_exp2f.c: Likewise.
26247 * math/w_fmod.c: Likewise.
26248 * math/w_fmodf.c: Likewise.
26249 * math/w_fmodl.c: Likewise.
26250 * math/w_hypot.c: Likewise.
26251 * math/w_hypotf.c: Likewise.
26252 * math/w_hypotl.c: Likewise.
26253 * math/w_j0.c: Likewise.
26254 * math/w_j0f.c: Likewise.
26255 * math/w_j0l.c: Likewise.
26256 * math/w_j1.c: Likewise.
26257 * math/w_j1f.c: Likewise.
26258 * math/w_j1l.c: Likewise.
26259 * math/w_jn.c: Likewise.
26260 * math/w_jnf.c: Likewise.
26261 * math/w_jnl.c: Likewise.
26262 * math/w_lgamma.c: Likewise.
26263 * math/w_lgamma_r.c: Likewise.
26264 * math/w_lgammaf.c: Likewise.
26265 * math/w_lgammaf_r.c: Likewise.
26266 * math/w_lgammal.c: Likewise.
26267 * math/w_lgammal_r.c: Likewise.
26268 * math/w_log.c: Likewise.
26269 * math/w_log10.c: Likewise.
26270 * math/w_log10f.c: Likewise.
26271 * math/w_log10l.c: Likewise.
26272 * math/w_log2.c: Likewise.
26273 * math/w_log2f.c: Likewise.
26274 * math/w_log2l.c: Likewise.
26275 * math/w_logf.c: Likewise.
26276 * math/w_logl.c: Likewise.
26277 * math/w_pow.c: Likewise.
26278 * math/w_powf.c: Likewise.
26279 * math/w_powl.c: Likewise.
26280 * math/w_remainder.c: Likewise.
26281 * math/w_remainderf.c: Likewise.
26282 * math/w_remainderl.c: Likewise.
26283 * math/w_scalb.c: Likewise.
26284 * math/w_scalbf.c: Likewise.
26285 * math/w_scalbl.c: Likewise.
26286 * math/w_sinh.c: Likewise.
26287 * math/w_sinhf.c: Likewise.
26288 * math/w_sinhl.c: Likewise.
26289 * math/w_sqrt.c: Likewise.
26290 * math/w_sqrtf.c: Likewise.
26291 * math/w_sqrtl.c: Likewise.
26292 * math/w_tgamma.c: Likewise.
26293 * math/w_tgammaf.c: Likewise.
26294 * math/w_tgammal.c: Likewise.
26295
6a621eb7
UD
26296 * po/ja.po: Update from translation team.
26297
bf582445
AJ
262982011-09-29 Andreas Jaeger <aj@suse.de>
26299
f9efbf3a
AJ
26300 [BZ #13179]
26301 * sunrpc/netname.c (netname2host): Fix logic.
26302
bf582445
AJ
26303 [BZ #6779]
26304 [BZ #6783]
26305 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26306 correctly.
26307 * math/w_remainder.c (__remainder): Likewise.
26308 * math/w_remainderf.c (__remainderf): Likewise.
26309 * math/libm-test.inc (remainder_test): Add test cases.
26310
48693bea
AK
263112011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26312
26313 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26314 sdiv_qrnnd.
26315
42622229
LD
263162011-10-07 Ulrich Drepper <drepper@gmail.com>
26317
26318 * string/test-memcmp.c: Avoid unncessary #defines.
26319 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26320
093ecf92
LD
263212011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26322
26323 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26324 Use new sse2 version for core i3 - i7 as it's faster
26325 than sse42 version.
26326 (bit_Prefer_PMINUB_for_stringop): New.
26327 * sysdeps/x86_64/rawmemchr.S: Update.
26328 Replace with faster SSE2 version.
26329 * sysdeps/x86_64/memrchr.S: New file.
26330 * sysdeps/x86_64/memchr.S: Update.
26331 Replace with faster SSE2 version.
26332
fde56e5c
MP
263332011-09-12 Marek Polacek <mpolacek@redhat.com>
26334
26335 * elf/dl-load.c (lose): Add cast to avoid warning.
26336
21fd49a9
UD
263372011-10-07 Ulrich Drepper <drepper@gmail.com>
26338
5a06e643
UD
26339 * po/ca.po: Update from translation team.
26340
684ae515
UD
26341 * inet/getnetgrent_r.c: Hook up nscd.
26342 * nscd/Makefile (routines): Add nscd_netgroup.
26343 (nscd-modules): Add netgroupcache.
26344 (CFLAGS-netgroupcache.c): Define.
26345 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26346 (cache_search): Add const to second parameter.
26347 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26348 INNETGR.
26349 (dbs): Add netgrdb entry.
26350 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26351 (verify_persistent_db): Handle netgrdb.
26352 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26353 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26354 GETFDNETGR.
26355 (netgroup_response_header): Define.
26356 (innetgroup_response_header): Define.
26357 (datahead): Add netgroup_response_header and innetgroup_response_header
26358 elements.
26359 * nscd/nscd.conf: Add entries for netgroup cache.
26360 * nscd/nscd.h (dbtype): Add netgrdb.
26361 (_PATH_NSCD_NETGROUP_DB): Define.
26362 (netgroup_iov_disabled): Declare.
26363 (xmalloc, xcalloc, xrealloc): Move declarations here.
26364 (cache_search): Adjust prototype.
26365 Add netgroup-related prototypes.
26366 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26367 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26368 (__nscd_innetgr): Declare.
26369 * nscd/selinux.c (perms): Use access_vector_t as element type and
26370 add netgroup-related initializers.
26371 * nscd/netgroupcache.c: New file.
26372 * nscd/nscd_netgroup.c: New file.
26373 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26374 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26375 For four parameters use innetgr.
26376 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26377 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26378 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26379 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26380
21fd49a9
UD
26381 * nscd/connections.c (register_traced_file): Don't register file
26382 for disabled databases.
26383
054c0457
UD
263842011-10-06 Ulrich Drepper <drepper@gmail.com>
26385
32b63198
UD
26386 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26387
054c0457
UD
26388 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26389 from tree and freeing node.
26390
64031225
JO
263912011-09-25 Jiri Olsa <jolsa@redhat.com>
26392
26393 * nss/nsswitch.c (__nss_database_lookup): Handle
26394 nss_parse_service_list out of memory case.
26395
0490345c
JO
263962011-09-15 Jiri Olsa <jolsa@redhat.com>
26397
26398 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26399 out of memory case.
26400
3a62d00d
AS
264012011-10-04 Andreas Schwab <schwab@redhat.com>
26402
26403 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26404 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26405 pass it down.
26406 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26407 elf_machine_rela, elf_machine_lazy_rel.
26408 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26409 (ELF_DYNAMIC_DO_REL): Likewise.
26410 (ELF_DYNAMIC_DO_RELA): Likewise.
26411 (ELF_DYNAMIC_RELOCATE): Likewise.
26412 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26413 to ELF_DYNAMIC_DO_REL.
26414 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26415 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26416 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26417 elf_machine_rela.
26418 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26419 skip_ifunc, don't call ifunc function if non-zero.
26420 (elf_machine_rela): Likewise.
26421 (elf_machine_lazy_rel): Likewise.
26422 (elf_machine_lazy_rela): Likewise.
26423 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26424 (elf_machine_lazy_rel): Likewise.
26425 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26426 Likewise.
26427 (elf_machine_lazy_rel): Likewise.
26428 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26429 Likewise.
26430 (elf_machine_lazy_rel): Likewise.
26431 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26432 (elf_machine_lazy_rel): Likewise.
26433 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26434 (elf_machine_lazy_rel): Likewise.
26435 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26436 (elf_machine_lazy_rel): Likewise.
26437 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26438 (elf_machine_lazy_rel): Likewise.
26439 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26440 (elf_machine_lazy_rel): Likewise.
26441 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26442 (elf_machine_lazy_rel): Likewise.
26443
68577918
UD
264442011-09-28 Ulrich Drepper <drepper@gmail.com>
26445
26446 * nss/nss_files/files-init.c (_nss_files_init): Use static
26447 initialization for all the *_traced_file variables.
26448
68822d74
AS
264492011-09-28 Andreas Schwab <schwab@redhat.com>
26450
26451 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26452
2056100b
RM
264532011-09-27 Roland McGrath <roland@hack.frob.com>
26454
26455 [BZ #13226]
26456 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26457
32c76b63
AS
264582011-09-27 Andreas Schwab <schwab@redhat.com>
26459
26460 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26461 Reread the line before reparsing it.
26462
bf972c9d
AS
264632011-09-26 Andreas Schwab <schwab@redhat.com>
26464
26465 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26466
e057a1b5
JM
264672011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26468 Maxim Kuvyrkov <maxim@codesourcery.com>
26469 Joseph Myers <joseph@codesourcery.com>
26470
26471 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26472 if needed for __stack_chk_guard.
26473
bc7e1c36
RM
264742011-09-19 Roland McGrath <roland@hack.frob.com>
26475
ecb1482f
RM
26476 * sysdeps/posix/spawni.c (script_execute): Always define it.
26477 It will be optimized away if unused.
26478 (maybe_script_execute): New function.
26479 (__spawni): Call it.
26480
bc7e1c36
RM
26481 * Makerules: Don't include tls.make.
26482 (config-tls): Always set to thread.
26483 * tls.make.c: File removed.
26484
1c3b002b
MF
264852011-09-19 Mike Frysinger <vapier@gentoo.org>
26486
26487 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26488 * config.make.in (CPPFLAGS-config): New substituted variable.
26489
2840865d
UD
264902011-09-15 Ulrich Drepper <drepper@gmail.com>
26491
88738eb6
UD
26492 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26493
cbf645a6 26494 [BZ #13192]
2840865d
UD
26495 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26496 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26497
b402e91a
RM
264982011-09-15 Roland McGrath <roland@hack.frob.com>
26499
26500 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26501 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26502 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26503 (CALL_FAIL): Likewise.
26504 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26505 (CALL_FAIL): Macro removed.
26506 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26507
4c1a1f71
UD
265082011-09-15 Ulrich Drepper <drepper@gmail.com>
26509
26510 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26511 for __FINITE_MATH_ONLY__ == 1.
26512
edc121be
AS
265132011-09-15 Andreas Schwab <schwab@redhat.com>
26514
26515 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26516 __ieee754_sqrt instead of sqrt.
26517 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26518 __ieee754_sqrtf instead of sqrtf.
26519 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26520 __floorf instead of floorf.
26521 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26522 __floorf, __truncf instead of floorf, truncf.
26523
cd205654
UD
265242011-09-14 Ulrich Drepper <drepper@gmail.com>
26525
ee4d0315
UD
26526 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26527
cd205654
UD
26528 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26529 __extern_always_inline.
26530 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26531 32-bit.
26532
48b67d71
AS
265332011-09-14 Andreas Schwab <schwab@redhat.com>
26534
26535 * elf/rtld.c (dl_main): Also relocate in dependency order when
26536 doing symbol dependency testing.
26537
1ae12c75
AS
265382011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26539
26540 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26541 Always define `refsym'.
26542
995a80df
AS
265432011-09-13 Andreas Schwab <schwab@redhat.com>
26544
e529793b
AS
26545 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26546 (__FD_ELT): Renamed from __FDELT.
26547 * misc/bits/select2.h (__FD_ELT): Likewise.
26548 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26549 __FD_MASK instead of __FDELT, __FDMASK.
26550 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26551 Likewise.
26552 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26553 Likewise.
26554
52d4fef8
AS
26555 * elf/Makefile (gen-ldd): Fix pattern.
26556
995a80df
AS
26557 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26558 (init_tls): Likewise.
26559
8682f8b0
UD
265602011-09-12 Ulrich Drepper <drepper@gmail.com>
26561
26562 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26563
de82006d
AS
265642011-09-12 Andreas Schwab <schwab@redhat.com>
26565
a7c8e6a1
AS
26566 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26567 `struct cmsghdr *' instead of `void *'.
26568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26569 Likewise.
26570
0f31fe77
AS
265712011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26572
26573 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26574 if non-absolute.
26575 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26576 ldd_rewrite_script.
0f31fe77 26577
32b4c839
UD
265782011-09-11 Ulrich Drepper <drepper@gmail.com>
26579
83cd1420
UD
26580 * configure.in: Remove --with-tls option.
26581 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26582 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26583 out in case it is missing.
26584 * sysdeps/ia64/elf/configure.in: Likewise.
26585 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26586 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26587 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26588 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26589 * sysdeps/sh/elf/configure.in: Likewise.
26590 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26591 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26592 * sysdeps/x86_64/elf/configure.in: Likewise.
26593 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26594 * sysdeps/mach/hurd/tls.h: Likewise.
26595
633f745d
UD
26596 [BZ #13067]
26597 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26598
f318beb8
UD
26599 [BZ #13090]
26600 * configure.in: Fix use of AC_INIT.
26601
32b4c839
UD
26602 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26603
3ce1f295
UD
266042011-09-10 Ulrich Drepper <drepper@gmail.com>
26605
bb016596
UD
26606 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26607 __set_errno.
8e58439c
UD
26608 * malloc/hooks.c: Likewise.
26609
aebae053 26610 [BZ #11929]
02d46fc4
UD
26611 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26612 variables statically.
26613 (narenas): Initialize.
26614 (list_lock): Initialize.
bb016596
UD
26615 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26616 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
26617 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26618 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26619 Add initializers to main_arena and mp_.
26620 (malloc_state): Remove pagesize member. Change all users to use
26621 GLRO(dl_pagesize).
26622
26623 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26624 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26625 is always initialized.
26626
22a89187
UD
26627 * malloc/malloc.c: Removed unused configurations and dead code.
26628 * malloc/arena.c: Likewise.
26629 * malloc/hooks.c: Likewise.
02d46fc4 26630 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 26631
d063d164
UD
26632 * include/tls.h: Removed. USE___THREAD must always be defined.
26633 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26634 * elf/dl-libc.c: Likewise.
26635 * elf/dl-tsd.c: Likewise.
26636 * include/errno.h: Likewise.
26637 * include/netdb.h: Likewise.
26638 * include/resolv.h: Likewise.
26639 * inet/herrno-loc.c: Likewise.
26640 * inet/herrno.c: Likewise.
26641 * malloc/arena.c: Likewise.
26642 * malloc/hooks.c: Likewise.
26643 * malloc/malloc.c: Likewise.
26644 * resolv/res-state.c: Likewise.
26645 * resolv/res_libc.c: Likewise.
26646 * sysdeps/i386/dl-machine.h: Likewise.
26647 * sysdeps/ia64/dl-machine.h: Likewise.
26648 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26649 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26650 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26651 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26652 * sysdeps/sh/dl-machine.h: Likewise.
26653 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26654 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26655 * sysdeps/unix/i386/sysdep.S: Likewise.
26656 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26657 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26658 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26659 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26660 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26661 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26662 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26663 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26665 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26666 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26667 * sysdeps/x86_64/dl-machine.h: Likewise.
26668 * tls.make.c: Likewise.
26669
3ce1f295
UD
26670 * configure.in: Remove --with-__thread option. Make tests for
26671 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26672 tls_model attribute fail if no support is available. Remove
26673 USE_IN_LIBIO.
26674 * Makeconfig: Adjust for dropped configure option. All features are
26675 now mandatory.
26676 * Makerules: Likewise.
26677 * Versions.def: Likewise.
26678 * argp/argp-fmtstream.c: Likewise.
26679 * argp/argp-fmtstream.h: Likewise.
26680 * argp/argp-help.c: Likewise.
26681 * assert/assert.c: Likewise.
26682 * config.h.in: Likewise.
26683 * config.make.in: Likewise.
26684 * configure: Likewise.
26685 * configure.in: Likewise.
26686 * csu/Versions: Likewise.
26687 * csu/init.c: Likewise.
26688 * elf/tst-audit2.c: Likewise.
26689 * elf/tst-tls10.c: Likewise.
26690 * elf/tst-tls10.h: Likewise.
26691 * elf/tst-tls11.c: Likewise.
26692 * elf/tst-tls12.c: Likewise.
26693 * elf/tst-tls14.c: Likewise.
26694 * elf/tst-tlsmod11.c: Likewise.
26695 * elf/tst-tlsmod12.c: Likewise.
26696 * elf/tst-tlsmod13.c: Likewise.
26697 * elf/tst-tlsmod13a.c: Likewise.
26698 * elf/tst-tlsmod14a.c: Likewise.
26699 * elf/tst-tlsmod15b.c: Likewise.
26700 * elf/tst-tlsmod16a.c: Likewise.
26701 * elf/tst-tlsmod16b.c: Likewise.
26702 * elf/tst-tlsmod7.c: Likewise.
26703 * elf/tst-tlsmod8.c: Likewise.
26704 * elf/tst-tlsmod9.c: Likewise.
26705 * gmon/gmon.c: Likewise.
26706 * grp/fgetgrent_r.c: Likewise.
26707 * grp/putgrent.c: Likewise.
26708 * hurd/fopenport.c: Likewise.
26709 * include/libc-symbols.h: Likewise.
26710 * include/tls.h: Likewise.
26711 * intl/gettextP.h: Likewise.
26712 * intl/loadinfo.h: Likewise.
26713 * locale/global-locale.c: Likewise.
26714 * locale/localeinfo.h: Likewise.
26715 * mach/devstream.c: Likewise.
26716 * malloc/arena.c: Likewise.
26717 * malloc/set-freeres.c: Likewise.
26718 * misc/err.c: Likewise.
26719 * misc/getttyent.c: Likewise.
26720 * misc/mntent_r.c: Likewise.
26721 * posix/getopt.c: Likewise.
26722 * posix/wordexp.c: Likewise.
26723 * pwd/fgetpwent_r.c: Likewise.
26724 * resolv/Versions: Likewise.
26725 * resolv/res_hconf.c: Likewise.
26726 * shadow/fgetspent_r.c: Likewise.
26727 * shadow/putspent.c: Likewise.
26728 * stdio-common/printf_fphex.c: Likewise.
26729 * stdio-common/tmpfile.c: Likewise.
26730 * stdlib/abort.c: Likewise.
26731 * stdlib/fmtmsg.c: Likewise.
26732 * sunrpc/auth_unix.c: Likewise.
26733 * sunrpc/clnt_perr.c: Likewise.
26734 * sunrpc/clnt_tcp.c: Likewise.
26735 * sunrpc/clnt_udp.c: Likewise.
26736 * sunrpc/clnt_unix.c: Likewise.
26737 * sunrpc/openchild.c: Likewise.
26738 * sunrpc/svc_simple.c: Likewise.
26739 * sunrpc/svc_tcp.c: Likewise.
26740 * sunrpc/svc_udp.c: Likewise.
26741 * sunrpc/svc_unix.c: Likewise.
26742 * sunrpc/xdr.c: Likewise.
26743 * sunrpc/xdr_array.c: Likewise.
26744 * sunrpc/xdr_rec.c: Likewise.
26745 * sunrpc/xdr_ref.c: Likewise.
26746 * sunrpc/xdr_stdio.c: Likewise.
26747
1248c1c4
PB
267482011-09-09 Ulrich Drepper <drepper@gmail.com>
26749
26750 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26751
267522011-07-03 Andreas Jaeger <aj@suse.de>
26753
26754 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26755 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26756 regenerate with gen-libm-tests.pl.
26757
267582010-05-12 Petr Baudis <pasky@suse.cz>
26759
26760 [BZ #11589]
26761 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26762 around j0() zero points by switching to j1().
26763 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26764 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26765 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26766 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26767
f22e1074
UD
267682011-09-09 Ulrich Drepper <drepper@gmail.com>
26769
f19009c1
UD
26770 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26771 instead of 0.
26772 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 26773 instead of 0.
f19009c1
UD
26774 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26775 Patch in part by Pavel Roskin <proski@gnu.org>.
26776
3f8cc204
UD
26777 [BZ #13138]
26778 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26779 realloc.
26780 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26781 Free memory block if necessary.
26782
f22e1074
UD
26783 [BZ #12847]
26784 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26785 be NULL. Don't lock in this case.
26786
0a2349f9
RM
267872011-09-09 Roland McGrath <roland@hack.frob.com>
26788
26789 * elf/elf.h (ELFOSABI_GNU): New macro.
26790 (ELFOSABI_LINUX): Define to that.
26791
f3cdd467
DZ
267922011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26793
26794 * string/strncat.c (strncat): Undef the symbol in case it has been
26795 defined in bits/string.h.
26796
74718d13
UD
267972011-09-09 Ulrich Drepper <drepper@gmail.com>
26798
633e9e0f
UD
26799 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26800
0a2349f9 26801 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
26802 link map.
26803
f9924780
AJ
268042011-08-17 Andreas Jaeger <aj@suse.de>
26805
26806 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26807
7f5517aa
PP
268082011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26809 Ian Lance Taylor <iant@google.com>
26810
26811 * math/libm-test.inc (lround_test): New testcase.
26812 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26813
762011fe
UD
268142011-09-08 Ulrich Drepper <drepper@gmail.com>
26815
92963737
UD
26816 * Makefile: Remove support for automatic cvs check-ins.
26817 * Makerules: Likewise.
26818 * config.make.in: Likewise.
26819 * configure.in: Likewise.
26820 * intl/Makefile: Likewise.
26821 * locale/Makefile: Likewise.
26822 * po/Makefile: Likewise.
26823 * posix/Makefile: Likewise.
26824 * sysdeps/gnu/Makefile: Likewise.
26825 * sysdeps/mach/hurd/Makefile: Likewise.
26826 * sysdeps/sparc/sparc32/Makefile: Likewise.
26827
b0727fd8
JS
26828 [BZ #13118]
26829 * posix/Makefile (bug-regex32-ENV): Define.
26830 Patch by John Stanley <jpsinthemix@verizon.net>.
26831
a0f33f99
UD
26832 * misc/Makefile (headers): Add bits/select2.h.
26833 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26834 * misc/bits/select2.h: New file.
26835 * include/bits/select2.h: New file.
26836 * debug/Makefile (routines): Add fdelt_chk.
26837 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26838 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26839 FD_ISSET.
26840 * debug/fdelt_chk.c: New file.
26841
762011fe
UD
26842 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26843 * wcsmbs/test-wmemcmp.c: Likewise.
26844 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 26845 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
26846
268472011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26848
26849 * string/Makefile (strop-tests): Add memcmp.
26850 * string/test-wmemcmp.c: New file.
26851 * string/test-memcmp.c: Add wmemcmp support.
26852
7f513ec8
RM
268532011-09-08 Roland McGrath <roland@hack.frob.com>
26854
0442afb4
RM
26855 [BZ #13153]
26856 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26857 2011-07-19 change.
26858
7f513ec8
RM
26859 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26860 garbage value in a __mach_port_mod_refs call in the cases of the
26861 task-self and thread-self ports.
26862
a12b2239
ST
268632011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26864
26865 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26866
610f9ab4
AS
268672011-09-08 Andreas Schwab <schwab@redhat.com>
26868
7f513ec8 26869 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 26870
48882a1a
LD
268712011-09-07 Ulrich Drepper <drepper@gmail.com>
26872
b49865be
UD
26873 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26874
fdc86bc9
UD
26875 * elf/dl-libc.c (dlerror_run): Pass back error code from
26876 dl_catch_error.
26877
c966526a
UD
26878 [BZ #13123]
26879 * elf/dl-load.c (lose): Free l_origin if it is valid.
26880
48882a1a
LD
26881 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26882 names.
26883 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26884 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26885 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26886 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26887 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26888 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26889
77a2a8b4
AZ
268902011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26891
26892 * sysdeps/powerpc/fpu/e_hypot.c: New file.
26893 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26894 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26895 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26896 * sysdeps/powerpc/fpu/k_cosf.c: New file.
26897 * sysdeps/powerpc/fpu/k_sinf.c: New file.
26898 * sysdeps/powerpc/fpu/s_cosf.c: New file.
26899 * sysdeps/powerpc/fpu/s_sinf.c: New file.
26900 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26901 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26902
24f579d8
AM
269032011-08-15 Alan Modra <amodra@gmail.com>
26904
26905 [BZ #13092]
26906 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26907 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26908 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
26909 ppc_mcount to static-only-routines.
26910 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26911 __mcount_internal.
26912 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26913 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26914
3d4837df
UD
269152011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26916
26917 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26918 for finite and infinity parameters.
26919
22700377
WS
269202011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26921
26922 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26923 and add nop instructions for throughput optimization.
26924 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26925
5025581e
WS
269262011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26927
26928 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26929 aligned copy for power7 with vector-scalar instructions.
26930 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26931
08a300c9
L
269322011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26933
26934 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26935 AVX check.
26936
59178ef9
AS
269372011-09-07 Andreas Schwab <schwab@redhat.com>
26938
26939 [BZ #13144]
26940 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26941 last change.
26942
e38ba7ab
UD
269432011-09-07 Ulrich Drepper <drepper@gmail.com>
26944
26945 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26946 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26947 syscall wrapper around clock_gettime in __vdso_clock_gettime.
26948 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26949 clock_gettime.
26950
d53a73ac
UD
269512011-09-06 Ulrich Drepper <drepper@gmail.com>
26952
fc8bffcc
UD
26953 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26954 Forgot to demangle the pointer.
26955
ceaa0c5d
UD
26956 * sysdeps/i386/sysdep.h: Define atom_text_section.
26957 * sysdeps/x86_64/sysdep.h: Likewise.
26958 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26959 section with atom_text_section.
26960 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26961 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26962 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26963 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26964 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26965
a77d3c17
UD
26966 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26967 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26968 already be defined. Change to take two parameters and don't assign
26969 result to variable. Adjust all users.
26970 Define INTERNAL_GETTIME if not already defined.
26971 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26972 call.
26973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26974 HAVE_CLOCK_GETTIME_VSYSCALL.
26975 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26976
d53a73ac
UD
26977 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26978 gettimeofday vsyscall, just use time.
26979
a8f84144
AS
269802011-09-06 Andreas Schwab <schwab@redhat.com>
26981
26982 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26983 <errno.h>.
26984
ef606249
UD
269852011-09-06 Ulrich Drepper <drepper@gmail.com>
26986
26987 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26988 syscall on x86-64.
26989 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26990 syscall.
26991 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26992 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26993 syscall if possible.
26994
6585cb60
UD
269952011-09-05 Ulrich Drepper <drepper@gmail.com>
26996
26997 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26998 e_ident. Don't pass to find_mapsXX.
26999 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27000
a5f524e4
LD
270012011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27002
27003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27004 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27005 * sysdeps/x86_64/multiarch/strchr.S: Update.
27006 Check bit_slow_BSF bit.
27007 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27008 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27009 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27010
554881ef
UD
270112011-09-05 Ulrich Drepper <drepper@gmail.com>
27012
d96de963
UD
27013 [BZ #13134]
27014 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27015 before glibc 2.15.
27016 (tryshell): Define.
27017 (__spawni): Change last parameter to be flag. Test
27018 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27019 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27020 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27021 * posix/spawni.c: Likewise.
27022 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27023 * posix/spawnp.c: Likewise. Change normal version to use
27024 SPAWN_XFLAGS_USE_PATH.
27025 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27026 SPAWN_XFLAGS_TRY_SHELL.
27027
d48e5868
UD
27028 [BZ #13150]
27029 * posix/glob.h: Remove gcc 1.x support.
27030
554881ef
UD
27031 [BZ #13068]
27032 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27033
693fb948
LD
270342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27035
27036 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27037 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27038 strrchr-sse2-bsf
27039 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27040 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27041 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27042 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27043 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27044 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27045
1b48c537
UD
270462011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27047
49d42c37
UD
27048 * sysdeps/x86_64/wcscmp.S: New file.
27049
1b48c537
UD
27050 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27051 wcscmp-c wcscmp-sse2
27052 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27053 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27054 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27055 * wcsmbs/wcscmp.c: Allow renaming.
27056
15c95c5d
DM
270572011-09-05 David S. Miller <davem@davemloft.net>
27058
27059 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27060 stack slot, rather than the struct return pointer slot.
27061 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27062 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27064 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27065
2f0ad8f3
UD
270662011-09-05 Ulrich Drepper <drepper@gmail.com>
27067
d88ae418
UD
27068 * po/ja.po: Update from translation team.
27069
2f0ad8f3
UD
27070 [BZ #13144]
27071 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27072 kernel in 64-bit binaries.
27073
5f4318d1
DM
270742011-09-01 David S. Miller <davem@davemloft.net>
27075
27076 * elf/elf.h (HWCAP_SPARC_*): Move to..
27077 * sysdeps/sparc/sysdep.h: this new file and add new values.
27078 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27079 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27080 _DL_HWCAP_COUNT to 24.
27081 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27082 entries.
27083 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27084 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27085 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27086 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27087 instead of magic constants.
27088 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27089
3ba57516
DM
270902011-08-31 David S. Miller <davem@davemloft.net>
27091
27092 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27093 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27094 Reimplement to do errno handling inline.
27095 (SYSCALL_ERROR_HANDLER): New macro.
27096 (__SYSCALL_STRING): Do not do errno handling in asm.
27097 (__CLONE_SYSCALL_STRING): Delete.
27098 (__INTERNAL_SYSCALL_STRING): Delete.
27099 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27100 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27101 (PSEUDO): Reimplement to do errno handling inline.
27102 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27103 (SYSCALL_ERROR_HANDLER): New macro.
27104 (__SYSCALL_STRING): Do not do errno handling in asm.
27105 (__CLONE_SYSCALL_STRING): Delete.
27106 (__INTERNAL_SYSCALL_STRING): Delete.
27107 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27108 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27109 i386.
27110 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27111 (inline_syscall*): Add 'err' argument.
27112 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27113 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27114 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27115 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27116
27117 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27118 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27119
2bc17433
AS
271202011-08-30 Andreas Schwab <schwab@redhat.com>
27121
27122 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27123
fbeb5f4d
JO
271242011-08-29 Jiri Olsa <jolsa@redhat.com>
27125
27126 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27127 directive.
27128
ad69cc26
DM
271292011-08-24 David S. Miller <davem@davemloft.net>
27130
27131 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27132
39dd69df
AS
271332011-08-24 Andreas Schwab <schwab@redhat.com>
27134
27135 * elf/Makefile: Add rules to build and run unload8 test.
27136 * elf/unload8.c: New file.
27137 * elf/unload8mod1.c: New file.
27138 * elf/unload8mod1x.c: New file.
27139 * elf/unload8mod2.c: New file.
27140 * elf/unload8mod3.c: New file.
27141
27142 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27143 it wasn't used.
27144
2c0b250a
DM
271452011-08-23 David S. Miller <davem@davemloft.net>
27146
27147 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27148 subtract stack bias.
27149 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27150 %sp not %fp in calculations.
27151 (_JMPBUF_UNWINDS_ADJ): Likewise.
27152
22044b48
DM
27153 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27154 (aio_suspend): Call it to force an exception region around the
27155 AIO_MISC_WAIT() invocation.
27156
2cae4995
AS
271572011-08-23 Andreas Schwab <schwab@redhat.com>
27158
27159 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27160 backslash.
27161
873a772e
AJ
271622011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27163
27164 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27165 protection macro.
27166 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27167 and <dl-machine.h>.
27168 (Elf64_FuncDesc): Remove.
27169
25ad0df1
DM
271702011-08-22 David S. Miller <davem@davemloft.net>
27171
27172 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27173 sigaltstack check, add missing cfi directives.
27174 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27175 missing cfi directives, and sigaltstack handling.
27176
e888bcbe
AS
271772011-08-16 Andreas Schwab <schwab@redhat.com>
27178
27179 [BZ #11724]
27180 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27181 object is seen twice.
27182 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27183
27184 * elf/Makefile (distribute): Add tst-initorder2.c.
27185 (tests): Add tst-initorder2.
27186 (modules-names): Add tst-initorder2a tst-initorder2b
27187 tst-initorder2c tst-initorder2d. Add rules to build them.
27188 ($(objpfx)tst-initorder2.out): New rule.
27189 * elf/tst-initorder2.c: New file.
27190 * elf/tst-initorder2.exp: New file.
27191
87162f46
AS
271922011-08-22 Andreas Schwab <schwab@redhat.com>
27193
70538b7f
AS
27194 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27195
f55ffe58
AS
27196 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27197 dependencies back to end of function.
27198
87162f46
AS
27199 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27200 $(elfobjdir)/ld.so.
27201
91b392a4
UD
272022011-08-21 Ulrich Drepper <drepper@gmail.com>
27203
27204 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27205 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27207 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27208 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27209 of __vdso_gettimeofday.
27210 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27211 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27212 attribute_hidden.
27213 (_libc_vdso_platform_setup): Remove initialization of
27214 __vdso_gettimeofday and __vdso_time.
27215
5c43483f
UD
272162011-08-20 Ulrich Drepper <drepper@gmail.com>
27217
775a77e7
UD
27218 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27219 and fgetc_unlocked.
27220 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27221 getc_unlocked.
89f447ed 27222
49c74ba9
UD
27223 * elf/dl-open.c (add_to_global): Report additions to the global scope
27224 for LD_DEBUG=scopes.
27225 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27226 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27227
5c43483f
UD
27228 [BZ #13114]
27229 * stdio-common/Makefile (tests): Add bug24.
27230 * stdio-common/bug24.c: New file.
27231
a101b025
AJ
272322011-08-19 Andreas Jaeger <aj@suse.de>
27233
27234 [BZ #13114]
27235 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27236 non-existant file when using close-on-exec mode.
27237
c88f1766
UD
272382011-08-20 Ulrich Drepper <drepper@gmail.com>
27239
0276a718
UD
27240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27241 the very first instruction.
27242
c88f1766
UD
27243 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27244 the CFI state in the end.
27245 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27246 inclusion of dl-trampoline.h.
27247 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27248
51ccffa0
AS
272492011-08-19 Andreas Schwab <schwab@redhat.com>
27250
94d7165f
AS
27251 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27252 expectations for long double.
27253
51ccffa0
AS
27254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27255 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27256
fd708658 272572011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27258
27259 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27260 artificual limit depends upon the system page size.
27261
44f0a71e
UD
272622011-08-17 Ulrich Drepper <drepper@gmail.com>
27263
27264 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27265 * resolv/Makefile: Define CFLAGS-libresolv.
27266
8de79a24
AS
272672011-08-17 Andreas Schwab <schwab@redhat.com>
27268
27269 * nss/makedb.c (compute_tables): Make variables used in nested
27270 function static.
27271
27724598
UD
272722011-08-17 Ulrich Drepper <drepper@gmail.com>
27273
c5305d88
UD
27274 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27275 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27276 if buffer was too small.
27277
27724598
UD
27278 * elf/pldd.c (main): Attach to all threads in the process.
27279 Rewrite /proc handling to use *at functions.
27280
076fe015
UD
272812011-08-16 Ulrich Drepper <drepper@gmail.com>
27282
174baab3
UD
27283 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27284 specifies first scope to show.
27285 (dl_open_worker): Update callers. Move printing scope of new
27286 object to before the relocation.
44f0a71e 27287 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27288 * sysdeps/generic/ldsodefs.h: Update declaration.
27289
076fe015
UD
27290 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27291 string for the scope number.
27292
a60df2c3
UD
272932011-08-14 Ulrich Drepper <drepper@gmail.com>
27294
27295 * nscd/servicescache.c (cache_addserv): Make sure written is always
27296 initialized.
27297
5e4287d1
RM
272982011-08-14 Roland McGrath <roland@hack.frob.com>
27299
85ae0589
RM
27300 * sysdeps/i386/i486/bits/atomic.h
27301 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27302 statement expression, so as to suppress "set but not used" warning.
27303 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27304
69f63097
RM
27305 * string/strncat.c (STRNCAT): Use prototype definition.
27306
675456ef
RM
27307 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27308 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27309 -Iprograms here.
27310 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27311 (localedef-modules): Add localedef.
27312 (locale-modules): Add locale.
27313
5e4287d1
RM
27314 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27315 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27316 to avoid a warning.
27317
9c96ff23
DM
273182011-08-14 David S. Miller <davem@davemloft.net>
27319
27320 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27321 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27322
f9ddf089
UD
273232011-08-13 Ulrich Drepper <drepper@gmail.com>
27324
44f0a71e 27325 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27326 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27327 * elf/rtld.c (dl_main): Set l_name of vDSO.
27328 Call _dl_show_scope when DL_DEBUG_SCOPES.
27329 (process_dl_debug): Recognize scopes flag and also set it for all.
27330 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27331 Declare _dl_show_scope.
27332
1dc27704
UD
27333 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27334 (do_dlopen): Pass caller_dlopen to dl_open.
27335 (__libc_dlopen_mode): Initialize caller_dlopen.
27336
f9ddf089
UD
27337 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27338 of libc. Make tolower call locale-independent. Optimize a bit by
27339 using isdigit instead of isalnum.
27340 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27341
9ac533d3
UD
273422011-08-12 Ulrich Drepper <drepper@gmail.com>
27343
27344 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27345 was a dependency or dynamically loaded.
27346
89edf2e9
UD
273472011-08-11 Ulrich Drepper <drepper@gmail.com>
27348
8e999d29
UD
27349 * intl/l10nflist.c: Allow architecture-specific pop function.
27350 * sysdeps/x86_64/l10nflist.c: New file.
27351
89edf2e9
UD
27352 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27353 classification.
27354
14d96785
AS
273552011-08-10 Andreas Schwab <schwab@redhat.com>
27356
27357 * include/dirent.h: Add libc_hidden_proto for scandirat and
27358 scandirat64. Don't declare __scandirat64.
27359 * dirent/scandirat.c: Add libc_hidden_def.
27360 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27361 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27362
6761ac04
DM
273632011-08-10 David S. Miller <davem@davemloft.net>
27364
27365 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27366 enum.
27367 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27368 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27369 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27370
c55fbd1e
UD
273712011-08-09 Ulrich Drepper <drepper@gmail.com>
27372
27373 * Versions.def [libc]: Add GLIBC_2.15.
27374 * dirent/Makefile (routines): Add scandirat and scandirat64.
27375 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27376 GLIBC_2.15.
27377 * dirent/dirent.h: Declare scandirat and scandirat64.
27378 * dirent/scandirat.c: New file.
27379 * dirent/scandirat64.c: New file.
27380 * sysdeps/wordsize-64/scandirat.c: New file.
27381 * sysdeps/wordsize-64/scandirat64.c: New file.
27382 * dirent/opendir.c: Define opendirat.
27383 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27384 using scandirat.
27385 * dirent/scandir64.c: Adjust for scandir.c change.
27386 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27387 __scandirat64, and __scandir_cancel_handler.
27388 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27389 additional parameter and use openat instead of open (outside of ld.so).
27390 Add new __opendir as wrapper around __opendirat.
27391 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27392 here without requiring old scandirat implementation.
27393
879165f2
UD
273942011-08-08 Ulrich Drepper <drepper@gmail.com>
27395
27396 * dirent/scandir.c (cancel_handler): Renamed to
27397 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27398 defined. Adjust users.
27399 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27400 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27401
cb7e923b
UD
274022011-08-04 Ulrich Drepper <drepper@gmail.com>
27403
16292edd
UD
27404 * string/test-string.h (IMPL): Use __STRING to expand name and then
27405 stringify it.
27406
cb7e923b
UD
27407 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27408 of cleanups.
27409
cff82933
LD
274102011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27411
27412 * string/Makefile: Update.
27413 (strop-tests): Append strncat.
27414 * string/test-wcscmp.c: New file.
27415 New comprehensive test for wcscmp.
27416 * string/test-strcmp.c: Update.
27417 (WIDE): New define.
27418
9be9bfcc
AS
274192011-07-22 Andreas Schwab <schwab@redhat.com>
27420
27421 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27422 line.
27423
2e96f1c7
AS
274242011-07-26 Andreas Schwab <schwab@redhat.com>
27425
27426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27427 encoding to ACE if AI_IDN.
27428
85188888
JJ
274292011-08-01 Jakub Jelinek <jakub@redhat.com>
27430
27431 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27432 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27433
5fa16e9b
LD
274342011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27435
27436 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27437 Fix overflow bug in strncat.
27438 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27439
27440 * string/test-strncat.c: Update.
27441 Add new tests for checking overflow bugs.
27442
274432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27444
27445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27446 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27447 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27448 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27449 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27450 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27451 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27452 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27453 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27454
27455 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27456 (USE_AS_STRCAT): Define.
27457 Add strcat and strncat support.
27458 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27459
8c1a459f
AS
274602011-07-25 Andreas Schwab <schwab@redhat.com>
27461
27462 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27463 __n bigger than INT_MAX+1.
27464 (__strncmp_g): Likewise.
27465
bba33c28
UD
274662011-07-23 Ulrich Drepper <drepper@gmail.com>
27467
798be72d
UD
27468 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27469 * libio/stido.h: Likewise.
27470
8accd4dc
UD
27471 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27472 (AF_NFC): Define.
27473 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27474 (AF_NFC): Define.
27475
cbff0d96
UD
27476 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27477 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27478 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27479 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27480 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27481
9191c04a
UD
27482 [BZ #13021]
27483 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27484 installed.
27485
bba33c28
UD
27486 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27487 typo.
27488 (_dl_x86_64_save_sse): Likewise.
27489
90f139dd
UD
274902011-07-22 Ulrich Drepper <drepper@gmail.com>
27491
1aae088a
UD
27492 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27493 OSXSAVE.
27494 (_dl_x86_64_save_sse): Likewise.
27495
8e2045f5
UD
27496 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27497
90f139dd
UD
27498 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27499
1d002f25
AS
275002011-07-21 Andreas Schwab <schwab@redhat.com>
27501
27502 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27503 change.
27504 (_dl_x86_64_save_sse): Use correct AVX check.
27505
21137f89
UD
275062011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27507
27508 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27509 bug in strncpy/strncat.
27510 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27511
a65c0b7a
UD
275122011-07-21 Ulrich Drepper <drepper@gmail.com>
27513
27514 * string/tester.c (test_strcat): Add tests for different alignments
27515 of source and destination.
27516 (test_strncat): Likewise.
27517
6986b98a
UD
275182011-07-20 Ulrich Drepper <drepper@gmail.com>
27519
90bb2039
UD
27520 [BZ #12852]
27521 * posix/glob.c (glob): Check passed in values before using them in
27522 expressions to avoid some overflows.
27523 (glob_in_dir): Likewise.
27524
5644ef54
UD
27525 [BZ #13007]
27526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27527 check for AVX enablement so that we don't crash with old kernels and
27528 new hardware.
27529 * elf/tst-audit4.c: Add same checks here.
27530 * elf/tst-audit6.c: Likewise.
27531
27532 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 27533
bfc9dc9b
AS
275342011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27535
27536 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27537
702e64bb
UD
275382011-07-20 Ulrich Drepper <drepper@gmail.com>
27539
27540 * po/cs.po: Update from translation team.
27541 * po/bg.po: Likewise.
27542
295e904f
MP
275432011-07-12 Marek Polacek <mpolacek@redhat.com>
27544
27545 * misc/sys/cdefs.h: Add support for const attribute.
27546 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27547 to gnu_dev_{major,minor,makedev} functions.
27548
3ff94596
MP
275492011-07-20 Marek Polacek <mpolacek@redhat.com>
27550
27551 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27552
28b59fca
AS
275532011-07-20 Andreas Schwab <schwab@redhat.com>
27554
27555 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27556 strlen results.
27557
19df733e
AK
275582011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27559
27560 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27561 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27562 register in order to avoid conflicts with the soft frame pointer
27563 being held in r11 when necessary.
27564 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27565 (INTERNAL_VSYSCALL_NCS): Likewise.
27566
c8835729
MP
275672011-07-14 Marek Polacek <mpolacek@redhat.com>
27568
27569 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27570 * elf/dl-fini.c (_dl_fini): Adjust caller.
27571 * elf/dl-close.c (_dl_close_worker): Likewise.
27572 * sysdeps/generic/ldsodefs.h: Adjust declaration.
27573
b902330c
MP
275742011-07-15 Marek Polacek <mpolacek@redhat.com>
27575
8991e135
MP
27576 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27577 "aux_cache->nlibs < 0".
27578
b902330c
MP
27579 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27580 in the reload-count case.
27581
99710781
LD
275822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27583
27584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27585 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27586 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27587 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27588 * sysdeps/x86_64/multiarch/strcat.S: New file.
27589 * sysdeps/x86_64/multiarch/strncat.S: New file.
27590 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27591 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27592 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27593 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27594 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27595 (USE_AS_STRCAT): Define.
27596 Add strcat and strncat support.
27597 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27598 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27599 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27600 * string/strncat.c: Update.
27601 (USE_AS_STRNCAT): Define.
27602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27603 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27604 and i7.
27605 * sysdeps/x86_64/multiarch/init-arch.h
27606 (bit_Prefer_PMINUB_for_stringop): New.
27607 (index_Prefer_PMINUB_for_stringop): Likewise.
27608 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27609 bit_Prefer_PMINUB_for_stringop.
27610
7dc6bd90
UD
276112011-07-19 Ulrich Drepper <drepper@gmail.com>
27612
27613 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27614 buffer64.
27615 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27616 of casting of buffer.
27617 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27618 buffer32 and buffer64.
27619 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27620 writes instead of casting of buffer.
27621 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27622 buffer32.
27623 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27624 casting of buffer.
27625
e0e72284
AS
276262011-07-19 Andreas Schwab <schwab@redhat.com>
27627
27628 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27629
feb1eb0b
UD
276302011-07-19 Ulrich Drepper <drepper@gmail.com>
27631
27632 * nscd/nscd.c (termination_handler): Don't do anything for a database
27633 if it has not yet been initialized.
27634
298711ff
UD
276352011-07-18 Ulrich Drepper <drepper@gmail.com>
27636
27637 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27638
276392011-07-15 Marek Polacek <mpolacek@redhat.com>
27640
27641 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27642
f9d68389
UD
276432011-07-18 Ulrich Drepper <drepper@gmail.com>
27644
27645 * po/nl.po: Update from translation team.
27646 * po/sv.po: Likewise.
27647
db290cf5
RM
276482011-07-16 Roland McGrath <roland@hack.frob.com>
27649
27650 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27651 now disallowed by GCC.
5c550700 27652
fd5e21c7
RM
27653 * configure.in (use-default-link): Default to yes if a test -shared
27654 link meets our qualifications.
27655 * configure: Regenerated.
27656
5c550700
RM
27657 * config.make.in (output-format): New variable.
27658 * configure.in: Check for ld --print-output-format support.
27659 * configure: Regenerated.
27660 * Makerules ($(common-objpfx)format.lds)
27661 [$(output-format) != unknown]: Just use $(output-format),
27662 instead of the linker-script munging.
27663
9fa2c032
RM
276642011-07-14 Roland McGrath <roland@hack.frob.com>
27665
a6928d51
RM
27666 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27667 of $(common-objpfx)shlib.lds.
27668 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27669
661607b3
RM
27670 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27671 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27672
9fa2c032
RM
27673 * configure.in (-z relro check): Adjust test code to add a large
27674 writable data section after it.
27675 * configure: Regenerated.
27676
defe9061
RM
276772011-07-11 Roland McGrath <roland@hack.frob.com>
27678
27679 * configure.in (-z relro check): Fix test code to make the variable
27680 truly const.
27681 * configure: Regenerated.
27682
319b9ad4
UD
276832011-07-11 Ulrich Drepper <drepper@gmail.com>
27684
27685 * nscd/nscd.h (struct traced_file): Define.
27686 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27687 elements. Add traced_files.
27688 (inotify_fd): Declare.
27689 (register_traced_file): Declare.
27690 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27691 (inotify_fd): Export.
27692 (resolv_conf_descr): Remove.
27693 (nscd_init): Move inotify descriptor creation to main.
27694 Don't register files for notification here.
27695 (register_traced_file): New function.
27696 (invalidate_cache): Don't use reset_res to determine whether to call
27697 res_init, go through the list of registered files.
27698 (main_loop_poll): The inotify descriptors are now stored in the
27699 structures for the traced files.
27700 (main_loop_epoll): Likewise
27701 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27702 to __nss_disable_nscd.
27703 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27704 for a database anymore. Check the records for all the registered
27705 files instead.
27706 * nss/Makefile (libnss_files-routines): Add files-init.
27707 (libnss_db-routines): Add db-init.
27708 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27709 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27710 * nss/nss_db/db-init.c: New file.
27711 * nss/nss_files/files-init.c: New file.
27712 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27713 __nss_lookup_function.
27714 (__nss_lookup_function): Call nss_load_library.
27715 (nss_load_all_libraries): New function.
27716 (__nss_disable_nscd): Take parameter with callback function for files
27717 to register. Set is_nscd. Load all the DSOs for the NSS modules
27718 used for the cached services.
27719 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27720 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27721 options for features to all the files in nscd.
27722
27723 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27724
23bee3e8
RM
277252011-07-10 Roland McGrath <roland@hack.frob.com>
27726
27727 * csu/elf-init.c (__libc_csu_init): Comment typo.
27728
46a5b7f0
UD
277292011-07-09 Ulrich Drepper <drepper@gmail.com>
27730
27731 * po/pl.po: Update from translation team.
27732 * po/ja.po: Likewise.
27733 * po/ru.po: Likewise.
27734 * po/ko.po: Likewise.
27735 * po/fr.po: Likewise.
27736
d30cf5bb
RM
277372011-07-09 Roland McGrath <roland@hack.frob.com>
27738
113ddea4
RM
27739 * configure.in (.ctors/.dtors header and trailer check):
27740 Use an empirical test on a built program.
27741 * configure: Regenerated.
27742
574920b4
RM
27743 * configure.in (-z relro check): Use an empirical test on a built DSO.
27744 Detect, but do not require, on ia64.
27745 * configure: Regenerated.
27746
d30cf5bb
RM
27747 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27748 Update tests that use readelf to use $READELF instead.
27749 * configure: Regenerated.
27750
8538fdb3
UD
277512011-07-08 Ulrich Drepper <drepper@gmail.com>
27752
27753 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27754 if the result is not used.
27755
04d08991
AJ
277562011-07-05 Andreas Jaeger <aj@suse.de>
27757
27758 [BZ#9696]
27759 * stdlib/tst-strtod.c: Add testcase.
27760
de283087
AD
277612011-07-07 Ulrich Drepper <drepper@gmail.com>
27762
4e5f31c8 27763 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 27764 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
27765 The latter has a higher limit. Take additional parameter to pass to
27766 the new function.
27767 (__pathconf): Pass file to __statfs_link_max.
27768 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27769 __statfs_link_max.
27770 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27771 __statfs_link_max.
27772
de283087
AD
27773 [BZ #12868]
27774 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27775 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27776 Handle Lustre.
27777 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27778 (__statfs_filesize_max): Likewise.
27779 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27780
c75fa153
AJ
277812011-07-05 Andreas Jaeger <aj@suse.de>
27782
27783 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27784
1a544854
UD
277852011-07-06 Marek Polacek <mpolacek@redhat.com>
27786
27787 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27788 `status' variable.
27789 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27790 Likewise.
27791
6f0eec67
UD
277922011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27793
27794 * Makefile (strop-tests): Add strncat.
27795 * string/test-strncat.c: New file.
27796
aae30307
UD
277972011-06-30 Marek Polacek <mpolacek@redhat.com>
27798
27799 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27800
c0cfb5eb
UD
278012011-06-21 Andreas Jaeger <aj@suse.de>
27802
27803 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27804 Copy rule from iconvdata/Makefile.
27805
01636b21
UD
278062011-07-06 Ulrich Drepper <drepper@gmail.com>
27807
27808 [BZ #12922]
27809 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27810 but no long options are defined, just return 'W'.
27811
9895c8bc
UD
278122011-06-22 Marek Polacek <mpolacek@redhat.com>
27813
27814 [BZ #9696]
27815 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27816
5d4cf042
UD
278172011-07-06 Ulrich Drepper <drepper@gmail.com>
27818
27819 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27820 netgroups to read.
960e5535 27821 (innetgr): Likewise.
5d4cf042 27822
751eb97e
RM
278232011-07-05 Roland McGrath <roland@hack.frob.com>
27824
27825 * config.make.in (install_root): Default to $(DESTDIR).
27826
f15f1e45
UD
278272011-07-05 Ulrich Drepper <drepper@gmail.com>
27828
27829 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27830
4e34ac6a
RM
278312011-07-02 Roland McGrath <roland@hack.frob.com>
27832
5e9b6af4
RM
27833 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27834
84f9ea0f
RM
27835 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27836 containing directory rather than embedding absolute directory names.
27837
ea5ee9f7
RM
27838 * scripts/check-local-headers.sh: Rewritten using awk.
27839 Match by word, not by line. Print error messages for matches.
27840 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27841
1b74661a
RM
27842 * Makerules [shlib-lds-flags empty]:
27843 ($(common-objpfx)libc_pic.opts): New target.
27844 ($(common-objpfx)libc_pic.os.clean): New target.
27845 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27846
27847 * config.make.in (OBJCOPY): New variable.
27848 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27849 * configure: Regenerated.
27850
f781ef40
RM
27851 * config.make.in (use-default-link): New variable.
27852 * configure.in (use_default_link): Grok --with-default-link to set it.
27853 * configure: Regenerated.
27854 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27855 (shlib-lds, shlib-lds-flags): Define to empty.
27856
2d4fa81e
RM
27857 * Makerules (shlib-lds): New variable.
27858 (shlib-lds-flags): New variable.
27859 (build-shlib, build-moduile, build-module-asneeded): Use it.
27860 ($(common-objpfx)libc.so): Use $(shlib-lds).
27861 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27862 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27863
31fffa6b
RM
27864 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27865 DT_FLAGS/DT_FLAGS_1 with zero flags.
27866
4e34ac6a
RM
27867 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27868 linker script munging.
27869
fcfc776b
UD
278702011-07-02 Ulrich Drepper <drepper@gmail.com>
27871
27872 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27873 as 128-bit value.
27874 * crypt/sha512.c (sha512_process_block): Perform total addition using
27875 128-bit if possible.
27876 (__sha512_finish_ctx): Likewise.
27877 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27878 as 64-bit value.
27879 * crypt/sha256.c (SWAP64): Define.
27880 (sha256_process_block): Perform total addition using 64-bit if
27881 possible.
27882 (__sha256_finish_ctx): Likewise.
27883
99231d9a
UD
278842011-07-01 Ulrich Drepper <drepper@gmail.com>
27885
27886 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
27887 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27888 * nscd/hstcache.c (cache_addhst): Likewise.
27889 * nscd/grpcache.c (cache_addgr): Likewise.
27890 * nscd/aicache.c (addhstaiX): Likewise
27891 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27892
445b4a53
TK
278932011-07-01 Thorsten Kukuk <kukuk@suse.de>
27894
27895 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27896 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27897 * nscd/hstcache.c (cache_addhst): Likewise.
27898 * nscd/grpcache.c (cache_addgr): Likewise.
27899 * nscd/aicache.c (addhstaiX): Likewise
27900
6d4d8e8e
AS
279012011-07-01 Andreas Schwab <schwab@redhat.com>
27902
27903 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27904 domain only when needed.
27905
89f654c5
AS
279062011-06-30 Andreas Schwab <schwab@redhat.com>
27907
27908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27909 is always restored.
27910
cf3b23ff
UD
279112011-06-29 Ulrich Drepper <drepper@gmail.com>
27912
27913 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27914 are re-adding the entry.
27915 * nscd/servicescache.c (cache_addserv): Likewise.
27916
751626f9
AJ
279172011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27918
27919 * sysdeps/generic/dl-irel.h: fix protection against multiple
27920 inclusions.
27921 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27922
9113ea1f
UD
279232011-06-28 Ulrich Drepper <drepper@gmail.com>
27924
5c0b8d90
UD
27925 [BZ #12935]
27926 * malloc/memusage.sh: Fix quoting in message.
27927 * debug/xtrace.sh: Likewise.
27928
9113ea1f
UD
27929 * configure.in: Remove support for --experimental-malloc option, make
27930 it the default.
27931 * config.make.in: Likewise.
27932 * malloc/Makefile: Likewise.
27933
a4172181
AS
279342011-06-27 Andreas Schwab <schwab@redhat.com>
27935
27936 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27937 two-byte characters.
27938
78a7eee7
RM
279392011-06-27 Roland McGrath <roland@hack.frob.com>
27940
62bede13
RM
27941 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27942 AC_CACHE_CHECK invocation.
27943 * configure: Regenerated.
27944
78a7eee7
RM
27945 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27946
5ce33a62
UD
279472011-06-27 Ulrich Drepper <drepper@gmail.com>
27948
034807a9
UD
27949 [BZ #12350]
27950 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27951 bit from old_res_options.
27952
4902da17
UD
27953 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27954
5ce33a62
UD
27955 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27956 value type for setfct.
27957
c2344f56
L
279582011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27959
27960 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27961 __gettimeofday instead of gettimeofday.
27962
68468076
UD
279632011-06-26 Ulrich Drepper <drepper@gmail.com>
27964
27965 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27966
acb0d739
L
279672011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27968
27969 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27970
27971 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27972 info.
27973
8912479f
L
279742011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27975
27976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27977 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27978 strcpy-sse2-unaligned strncpy-sse2-unaligned
27979 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27980 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27981 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27982 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27983 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27984 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27985 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27986 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27987 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27988 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27989 (STRCPY): Support SSE2 and SSSE3 versions.
27990
d5495a11
UD
279912011-06-24 Ulrich Drepper <drepper@gmail.com>
27992
27993 [BZ #12874]
27994 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27995 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27996 kernels which artificially limit size of requests.
27997
0b1cbaae
L
279982011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27999
28000 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28001 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28002 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28003 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28004 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28005 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28006 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28007 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28008 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28009 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28010 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28011 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28012 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28013 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28014 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28016 Enable unaligned load optimization for Intel Core i3, i5 and i7
28017 processors.
28018 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28019 Define.
28020 (index_Fast_Unaligned_Load): Define.
28021 (HAS_FAST_UNALIGNED_LOAD): Define.
28022
07f494a0
MP
280232011-06-23 Marek Polacek <mpolacek@redhat.com>
28024
28025 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28026
fa3fc0fe
UD
280272011-06-22 Ulrich Drepper <drepper@gmail.com>
28028
28029 [BZ #12907]
28030 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28031 until it is clear that the information is realy needed.
28032 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28033
e12df166
AS
280342011-06-22 Andreas Schwab <schwab@redhat.com>
28035
28036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28037
852eb34d
UD
280382011-06-22 Ulrich Drepper <drepper@gmail.com>
28039
84e2a551
UD
28040 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28041 /sys/devices/system/cpu/online if it is usable.
28042
852eb34d
UD
28043 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28044 reading the information from the /proc filesystem to once a second.
28045
6e502e19
UD
280462011-06-21 Andreas Jaeger <aj@suse.de>
28047
28048 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28049 NULL after inclusion of kernel headers.
28050
75d39ff2
UD
280512011-06-21 Ulrich Drepper <drepper@gmail.com>
28052
51f9aa6a
UD
28053 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28054 calls to internal_setent.
28055
c0244a9d
UD
28056 [BZ #12885]
28057 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28058 addresses using gethostbyname4_r ignore IPv4 addresses.
28059
c5e3c2ae
UD
28060 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28061 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28062
75d39ff2
UD
28063 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28064
42675c6f
DM
280652011-06-20 David S. Miller <davem@davemloft.net>
28066
28067 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28068 inclusions.
28069 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28070
28071 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28072 (elf_irel): Use it.
28073 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28074 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28075 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28076 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28077 * sysdeps/x86_64/dl-irel.h: Likewise.
28078
28079 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28080 * elf/dl-sym.c: Likewise.
28081
57912a71
UD
280822011-06-15 Ulrich Drepper <drepper@gmail.com>
28083
28084 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28085 need to dereference resplen2.
28086
ee22793d
AS
280872011-06-14 Andreas Schwab <schwab@redhat.com>
28088
28089 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28090
a9e836b0
UD
280912011-06-15 Ulrich Drepper <drepper@gmail.com>
28092
77fb9117
UD
28093 * Makeconfig: Define vardbdir and inst_vardbdir.
28094 * nss/Makefile: Add rules to install db-Makefile.
28095
40c1b22c
UD
28096 * nss/nss_db/db-XXX.c: Cleanup.
28097
9f2da732
UD
28098 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28099 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28100 GLIBC_PRIVATE.
28101 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28102 * nss/makedb.c: Implement -g option to specify that value strings
28103 are generated and should not be added to table iterated over for
28104 get*ent calls.
28105 * nss/nss_db/db-initgroups.c: New file.
28106
82e9a1f7
UD
28107 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28108 interface.
28109
c41af17e
UD
28110 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28111 (internal_getgrouplist): Adjust to name change.
28112 Update use_initgroups_entry if this is not the first call.
28113 * nss/databases.def: Add initgroups entry.
28114
a9e836b0
UD
28115 * nss/makedb.c (compute_tables): Check result of multiple hash table
28116 sizes to minimize maximum chain length.
28117
2666d441
UD
281182011-06-14 Ulrich Drepper <drepper@gmail.com>
28119
28120 * Versions.def: Add entry for libnss_db.
28121 * shlib-versions: Likewise.
28122 * nss/Makefile: Add rules to build libnss_db.
28123 * nss/Versions: Add libnss_db information. Organize libnss_files
28124 entries better.
28125 * nss/db-Makefile: Add gshadow support. Change rules for the new
28126 makedb progra. Some minor improvements to generate smaller files.
28127 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28128 here from...
28129 * nss/makedb.c: ...here.
28130 Improve database format to be smaller and require less memory at
28131 runtime.
28132 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28133 db anymore.
28134 * nss/nss_db/db-netgrp.c: Likewise.
28135 * nss/nss_db/db-open.c: Likewise.
28136 * nss/nss_files/flies-XXX.x: Adjust comments.
28137 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28138 * nss/nss_files/files-grp.c: Likewise.
28139 * nss/nss_files/files-hosts.c: Likewise.
28140 * nss/nss_files/files-network.c: Likewise.
28141 * nss/nss_files/files-proto.c: Likewise.
28142 * nss/nss_files/files-pwd.c: Likewise.
28143 * nss/nss_files/files-rpc.c: Likewise.
28144 * nss/nss_files/files-service.c: Likewise.
28145 * nss/nss_files/files-sgrp.c: Likewise.
28146 * nss/nss_files/files-spwd.c: Likewise.
28147 * nss/nss_db/db-alias.c: Removed.
28148 * nss/nss_db/dummy-db.h: Removed.
28149
9ee76b5a
UD
281502011-06-02 Ulrich Drepper <drepper@gmail.com>
28151
28152 * nss/makedb.c: Rewritten to not use database library.
28153 * nss/Makefile: Update to build new makedb program.
28154
c71ca1f8
AJ
281552011-06-14 Andreas Jaeger <aj@suse.de>
28156
28157 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28158 memset declaration.
28159
3154bfb8
UD
281602011-06-10 Andreas Schwab <schwab@redhat.com>
28161
28162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28163 tmpbuf.
28164
b350afab
RM
281652011-06-10 Roland McGrath <roland@hack.frob.com>
28166
decd4e50
RM
28167 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28168 * elf/Makefile ($(objpfx)ld.so): Likewise.
28169
5615eaf2
RM
28170 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28171 Don't list ld.so twice in dependencies.
28172
28173 * posix/bug-regex31.c: Include <stdlib.h>.
28174
28175 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28176
28177 * nis/nss_compat/compat-spwd.c
28178 (getspent_next_nss_netgr): Remove unused variable.
28179 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28180
28181 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28182 nonmembers" output to use the right array.
28183
28184 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28185
28186 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28187
28188 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28189 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28190 * catgets/gencat.c (read_input_file): Likewise.
28191 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28192
28193 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28194 variable definition inside #if's controlling its use.
28195
28196 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28197
28198 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28199
28200 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28201
28202 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28203 unreachable code.
28204
28205 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28206
b68e08db
RM
28207 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28208 * configure: Regenerated.
28209
b350afab
RM
28210 * Makerules: Revert last change.
28211 * elf/Makefile: Likewise.
28212
28368601
RM
282132011-06-09 Roland McGrath <roland@hack.frob.com>
28214
28215 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28216 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28217 (reloc-link): Likewise.
28218
11988f8f
UD
282192011-06-09 Ulrich Drepper <drepper@gmail.com>
28220
28221 * elf/Makefile: Add rules to build pldd.
28222 * elf/pldd.c: New file.
28223 * elf/pldd-xx.c: New file.
28224
e80fab37
UD
282252011-06-07 Ulrich Drepper <drepper@gmail.com>
28226
28227 * version.h: Update for 2.15 development version.
28228
9b849836
DM
282292011-06-07 David S. Miller <davem@davemloft.net>
28230
28231 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28232 ifuncs.
28233 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28234 elf_machine_lazy_rel): Likewise.
28235 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28236 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28237 elf_machine_lazy_rel): Likewise.
28238 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28239 dl_hwcap via passed in argument.
28240 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28241 Likewise.
28242
5a31b283
AK
282432011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28244
28245 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28246
069e52f8
RM
282472011-06-06 Roland McGrath <roland@hack.frob.com>
28248
28249 [BZ #12849]
28250 * manual/fdl-1.1.texi: New file, verbatim from:
28251 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28252 * manual/lgpl-2.1.texi: New file, verbatim from:
28253 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28254 * manual/Makefile (licenses): New variable, list those new file names.
28255 (texis): Use it.
28256 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28257
28258 * manual/fdl.texi: File removed.
28259 * manual/lesser.texi: File removed.
28260 * manual/libc.texinfo (Copying, Documentation License):
28261 Use new @include file names, put @appendix directive before @include.
28262
f16846a5
JJ
282632011-06-04 Jakub Jelinek <jakub@redhat.com>
28264
28265 [BZ #12841]
28266 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28267 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28268 (mq_open): Add __NTH.
28269
3d29045b
L
282702011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28271
28272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28273 Assume Intel Core i3/i5/i7 processor if AVX is available.
28274
8c297311
UD
282752011-05-31 Ulrich Drepper <drepper@gmail.com>
28276
28277 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28278 typo.
28279
c8fc0c91
UD
282802011-05-31 Andreas Schwab <schwab@redhat.com>
28281
28282 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28283 memory. Use alloca_account. Fix memory leak when retrying.
28284
5b27a807
UD
282852011-05-31 Ulrich Drepper <drepper@gmail.com>
28286
356f8bc6
UD
28287 * version.h (RELEASE): Bump for 2.14 release.
28288 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28289
5b27a807
UD
28290 * config.make.in (RANLIB): Remove entry.
28291
01f16ab0
UD
282922011-05-30 Ulrich Drepper <drepper@gmail.com>
28293
41fce8bd
UD
28294 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28295 (libc.pot): Work around missing support for .ksh extension in xgettext.
28296
4769ae77
UD
28297 [BZ #12684]
28298 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28299 if both request failed.
28300 (send_dg): In case of server errors clear resplen or *resplen2.
28301
6b1e7d19
UD
28302 [BZ #12454]
28303 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28304 when there are multiple maps.
28305 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28306 (_dl_fini): Remove test here.
28307
01f16ab0
UD
28308 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28309
b1ebd700
UD
283102011-05-29 Ulrich Drepper <drepper@gmail.com>
28311
7ae22829
UD
28312 [BZ #12350]
28313 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28314 bit from old_res_options.
28315 (gaih_inet): Likewise.
28316
553149f6 28317 [BZ #11099]
18a84741 28318 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28319 as signed.
28320
652ffab1
UD
28321 * resolv/res_init.c (res_setoptions): Make the code more compact.
28322
16985fd0
UD
28323 [BZ #11558]
28324 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28325 set RES_USEVC.
28326
0464f746
UD
28327 [BZ #11634]
28328 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28329
7d17596c
UD
28330 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28331
cf6bbbd7
UD
28332 [BZ #11781]
28333 * malloc/malloc.h: Declare malloc hook variables as volatile.
28334
13f1ab36
UD
28335 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28336 in last patch.
28337
b1ebd700
UD
28338 [BZ #11799]
28339 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28340 raise in the comment.
80e2212d
UD
28341 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28342 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28343 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28344
ce67228d
UD
283452011-05-28 Ulrich Drepper <drepper@gmail.com>
28346
8887a920
UD
28347 [BZ #12811]
28348 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28349 grow the buffers more if it already has to be sufficient.
28350 (build_wcs_upper_buffer): Likewise.
28351 * posix/regexec.c (check_matching): Likewise.
28352 (clean_state_log_if_needed): Likewise.
28353 (extend_buffers): Don't enlarge buffers beyond size of the input
28354 buffer.
28355 Patches mostly by Emil Wojak <emil@wojak.eu>.
28356 * posix/bug-regex32.c: New file.
28357 * posix/Makefile (tests): Add bug-regex32.
28358
4f031072
UD
28359 * locale/findlocale.c (_nl_find_locale): Return right away if
28360 _nl_explode_name failed.
28361 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28362
d0478f0c
UD
28363 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28364
de81b246
UD
28365 * debug/xtrace.sh: Unify messages.
28366 * malloc/memusage.sh: Likewise.
28367
c738465a
UD
28368 [BZ #12813]
28369 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28370 time symbol from vDSO. Substitute with vsyscall if not available.
28371 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28372 __vdso_time.
28373
f1f929d7
UD
28374 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28375 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28376 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28377 Add sendmmsg and internal_sendmmsg.
28378 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28379 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28380 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28381
ce67228d
UD
28382 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28383 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28384 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28385
e57420c6
UD
283862011-05-27 Ulrich Drepper <drepper@gmail.com>
28387
a8509ca5
UD
28388 [BZ #12813]
28389 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28390 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28391 available.
28392 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28393 __vdso_getcpu.
28394
e57420c6
UD
28395 [BZ #12814]
28396 * iconvdata/Makefile (tests): Add bug-iconv9.
28397 * iconvdata/bug-iconv9.c: New file.
28398
4d07db15
AS
283992011-05-27 Andreas Schwab <schwab@redhat.com>
28400
28401 [BZ #12814]
28402 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28403
ea486f69
JJ
284042011-05-25 Jakub Jelinek <jakub@redhat.com>
28405
28406 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28407 (struct user_regs_struct): Change intcs field back to cs.
28408
6f038433
UD
284092011-05-25 Ulrich Drepper <drepper@gmail.com>
28410
28411 * po/ja.po: Update from translation team.
28412
67f86a25
UD
284132011-05-23 Ulrich Drepper <drepper@gmail.com>
28414
28415 [BZ #12795]
28416 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28417 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28418
def7fbd6
AS
284192011-05-20 Andreas Schwab <schwab@redhat.com>
28420
28421 * stdlib/longlong.h: Update from GCC.
28422
f50ef8f1
AS
284232011-05-23 Andreas Schwab <schwab@redhat.com>
28424
28425 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28426 parameter name.
28427 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28428 Add parameter name.
28429 (__sysconf): Pass it down.
28430
de7ce8f1
UD
284312011-05-22 Ulrich Drepper <drepper@gmail.com>
28432
f2962a71
UD
28433 [BZ #12671]
28434 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28435 some situations.
28436 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28437 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28438 add in in __libc_use_alloca calls. Adjust callers.
28439 (glob): Use malloc in some situations.
28440
de7ce8f1
UD
28441 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28442 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28443 pltexit.
28444
aec84f53
UD
284452011-05-21 Ulrich Drepper <drepper@gmail.com>
28446
05bb4a68
UD
28447 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28448 and CLOCK_BOOTTIME_ALARM.
28449
7ea72f99
UD
28450 [BZ #12782]
28451 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28452 is returned.
28453
7e4afad5
UD
28454 * string/_strerror.c (__strerror_r): Print negative errors as signed
28455 numbers.
28456
8e211fec
UD
28457 [BZ #12777]
28458 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28459 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28460 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28461
f7d82dc9
UD
28462 * configure.in: Fix typo in redirection and correct removal of test
28463 files in two cases.
28464
cc9e536d
UD
28465 [BZ #12788]
28466 * locale/setlocale.c (new_composite_name): Fix test to check for
28467 identical name of all categories.
28468
aec84f53
UD
28469 [BZ #12792]
28470 * libio/filedoalloc.c (local_isatty): New function.
28471 (_IO_file_doallocate): Use local_isatty.
28472 * stdio-common/perror.c (perror): In case a new stream is used
28473 forward the stream error.
28474 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28475 error flag.
28476
78e64fdc
RT
284772011-05-20 Ulrich Drepper <drepper@gmail.com>
28478
34a9094f
UD
28479 [BZ #11869]
28480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28481 alloca.
28482 * include/alloca.h (extend_alloca_account): Define.
28483
78e64fdc
RT
28484 [BZ #11857]
28485 * posix/regex.h: Fix comments with documentation of user-accessible
28486 fields after compilation and describe correct free'ing of pattern
28487 after re_compile_pattern.
28488 Patch by Reuben Thomas <rrt@sc3d.org>.
28489
457bddfc
RA
284902011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28491
28492 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28493 and -mno-altivec to prevent the compiler from using Altivec and/or
28494 VSX instructions when the corresponding registers are not available.
28495
a4527b51
AS
284962011-05-19 Andreas Schwab <schwab@redhat.com>
28497
28498 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28499
ed690b2f
UD
285002011-05-19 Ulrich Drepper <drepper@gmail.com>
28501
28502 * libio/freopen.c (freopen): Use __dup2, not dup2.
28503 * libio/freopen64.c (freopen64): Likewise.
28504
8db73634
L
285052011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28506
28507 [BZ #12775]
28508 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28509 * math/Makefile (tests): Add test-powl.
28510 (CFLAGS-test-powl.c): Define.
28511 * math/test-powl.c: New file.
28512
0a197a9d
L
285132011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28514
28515 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28516
ee30c380
UD
285172011-05-17 Ulrich Drepper <drepper@gmail.com>
28518
28519 [BZ #11837]
28520 * iconvdata/gb18030.c: Update to GB18020-2005.
28521
6ce75379
UD
285222011-05-16 Ulrich Drepper <drepper@gmail.com>
28523
a4b89fd8
AR
28524 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28525 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28526 Patch by Aharon Robbins <arnold@skeeve.com>.
28527
ea389b12
UD
28528 [BZ #11892]
28529 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28530 on the stack.
28531
68a3f91f
UD
28532 [BZ #11895]
28533 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28534 through underflows.
28535
15cc7dd1
UD
28536 [BZ #12766]
28537 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28538 point to strings before performing equality test for error_one_per_line
28539 mode.
28540
f3799213
UD
28541 [BZ #11697]
28542 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28543
d79a9c94
UD
28544 [BZ #11820]
28545 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28546 (struct user_fpregs_struct): Avoid __uint*_t types.
28547
56e5eb46
UD
28548 [BZ #6420]
28549 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28550 symbol info. Use it instead of calling _dl_addr locally.
28551 (lock_and_info): New function.
28552 (tr_freehook): Call lock_and_info and pass symbol info as additional
28553 parameter to tr_where.
28554 (tr_mallochook): Likewise.
28555 (tr_reallochook): Likewise.
28556 (tr_memalignhook): Likewise.
28557
6ce75379
UD
28558 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28559 used and couldn't be at all thread-safe.
28560
f8a3b5bf
UD
285612011-05-15 Ulrich Drepper <drepper@gmail.com>
28562
94b7cc37
UD
28563 * libio/freopen.c (freopen): Don't close old file descriptor
28564 before the new one is opened. Instead dup the new file descriptor
28565 to the old one after the new stream is created.
28566 * libio/freopen64.c (freopen64): Likewise.
28567 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28568 * libio/fileops.c (_IO_new_file_close_it): Handle new
28569 _IO_FLAGS2_NOCLOSE flag.
28570 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28571 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28572 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28573 _IO_FLAGS2_NOCLOSE flag.
28574 * include/unistd.h: Add hidden_proto for dup3.
28575 Define __have_dup3.
28576 * io/dup3.c: Define hidden symbol.
28577 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28578
bd25564e
UD
28579 [BZ #7101]
28580 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28581 when an incomplete long option is used.
28582 * posix/tst-getopt_long1.c: New file.
28583 * posix/Makefile (tests): Add tst-getopt_long1.
28584
c84cfef4
UD
28585 [BZ #10138]
28586 * scripts/config.guess: Update from autoconf-2.68.
28587 * scripts/config.sub: Likewise.
28588
3b85df27
UD
28589 [BZ #10157]
28590 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28591 tests into ...
28592 (has_cpuclock): ...this. New function.
28593 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28594 macro here based on has_cpuclock code.
28595
15a856b1
UD
28596 [BZ #10149]
28597 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28598 First byte (not low byte) is now always NUL.
28599 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28600
05f399e6
UD
28601 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28602 Use non-cancelable interfaces.
28603
10a52685 28604 [BZ #9809]
94ecc67d
UD
28605 * locale/iso-639.def: Add entry for Sorani.
28606
f8a3b5bf
UD
28607 [BZ #11901]
28608 * include/stdlib.h: Move include protection to the right place.
28609 Define abort_msg_s. Declare __abort_msg with it.
28610 * stdlib/abort.c (__abort_msg): Adjust type.
28611 * assert/assert.c (__assert_fail_base): New function. Majority
28612 of code from __assert_fail. Allocate memory for __abort_msg with
28613 mmap.
28614 (__assert_fail): Now call __assert_fail_base.
28615 * assert/assert-perr.c: Remove bulk of implementation. Use
28616 __assert_fail_base.
28617 * include/assert.hL Declare __assert_fail_base.
28618 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28619 mmap.
28620 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28621
1af4e298
UD
286222011-05-14 Ulrich Drepper <drepper@gmail.com>
28623
f8a3b5bf 28624 [BZ #11952]
d26dfc60
MG
28625 [BZ #12453]
28626 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28627 until all modules are registered in the DTV.
28628 * elf/Makefile: Add rules to build and run tst-tls19.
28629 * elf/tst-tls19.c: New file.
28630 * elf/tst-tls19mod1.c: New file.
28631 * elf/tst-tls19mod2.c: New file.
28632 * elf/tst-tls19mod3.c: New file.
28633 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28634
2fc54d6f
UD
28635 [BZ #12083]
28636 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28637 correctly.
28638
98d76b46
UD
28639 [BZ #12601]
28640 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28641 two-byte sequence errors.
28642 * iconvdata/Makefile (tests): Add bug-iconv8.
28643 * iconvdata/bug-iconv8.c: New file.
28644
da3c19ef
UD
28645 [BZ #12626]
28646 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28647 buf2 definition.
28648
ca408c15
UD
28649 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28650
d6f67f7d
UD
28651 [BZ #12432]
28652 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28653 (dummy_getcfa): New function.
28654 (init): Get _Unwind_GetCFA address, use dummy if not found.
28655 (backtrace_helper): In recursion check, also check whether CFA changes.
28656 (__backtrace): Completely initialize arg.
28657
1af4e298 28658 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
28659 storing incomplete byte sequence in state object. Avoid testing for
28660 guaranteed too small input if we know there is enough data available.
1af4e298 28661
da62f81b
AS
286622011-05-11 Andreas Schwab <schwab@redhat.com>
28663
28664 * Makeconfig (+link-pie): Indent.
28665 * Rules (binaries-pie): Define if $(have-fpie) and
28666 $(build-shared).
28667 (binaries-shared): Also filter out $(binaries-pie).
28668 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28669 * nscd/Makefile (others-pie): Add nscd.
28670 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28671 ($(objpfx)nscd): Remove command override.
28672 * login/Makefile (others-pie): Add pt_chown.
28673 ($(objpfx)pt_chown): Remove command override.
28674 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28675 remove command overrides.
28676
fcabc0f8
UD
286772011-05-13 Ulrich Drepper <drepper@gmail.com>
28678
20030ae6
UD
28679 * libio/tst_putwc.c: Fix error messages.
28680
fcabc0f8
UD
28681 [BZ #12724]
28682 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28683 currently writing and seek to current position when not.
28684 * libio/Makefile (tests): Add bug-fclose1.
28685 * libio/bug-fclose1.c: New file.
28686
320a5dc0
PB
286872011-05-12 Ulrich Drepper <drepper@gmail.com>
28688
28689 [BZ #12511]
28690 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28691 don't set DF_1_NODELETE here.
28692 (do_lookup_x): When entering new entry test for copy relocation
28693 and if necessary set DF_1_NODELETE flag.
28694 * elf/tst-unique4.cc: New file.
28695 * elf/tst-unique4.h: New file.
28696 * elf/tst-unique4lib.cc: New file.
28697 * elf/Makefile: Add rules to build and run tst-unique4.
28698 Patch by Piotr Bury <pbury@goahead.com>.
28699
22836f52
UD
287002011-05-11 Ulrich Drepper <drepper@gmail.com>
28701
f574184a
UD
28702 [BZ #12052]
28703 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28704
e1fb097f
UD
28705 [BZ #12625]
28706 * misc/mntent_r.c (addmntent): Flush the stream after the output
28707
22836f52
UD
28708 [BZ #12393]
28709 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28710 (is_trusted_path_normalize): Skip initial colon. Append slash
28711 to empty buffer. Duplicate is_trusted_path code but allow
28712 constructed patch to be prefix.
28713 (is_dst): Allow $ORIGIN followed by /.
28714 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28715 Correct testing of result of is_trusted_path_normalize
28716 (decompose_rpath): Fix warning.
28717
7b3b0b2a
UD
287182011-05-10 Ulrich Drepper <drepper@gmail.com>
28719
28720 [BZ #11257]
28721 * grp/initgroups.c (internal_getgrouplist): When we found the service
28722 list through the initgroups entry in nsswitch.conf do not always
28723 continue on a successful lookup. Don't always use the
eac80ce2 28724 __nss_group_database value if it is set.
7b3b0b2a
UD
28725 * nss/nsswitch.conf (initgroups): Change action for successful db
28726 lookup to continue for compatibility.
28727
2a81eaa5
UD
287282011-05-09 Ulrich Drepper <drepper@gmail.com>
28729
be97a69e
UD
28730 [BZ #11532]
28731 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28732 and CP774 modules.
28733 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28734 and CP774 modules.
28735 * iconvdata/tst-tables.sh: Likewise.
28736 * iconvdata/cp770.c: New file.
28737 * iconvdata/cp771.c: New file.
28738 * iconvdata/cp772.c: New file.
28739 * iconvdata/cp773.c: New file.
28740 * iconvdata/cp774.c: New file.
28741 * iconvdata/testdata/CP770: New file.
28742 * iconvdata/testdata/CP770..UTF8: New file.
28743 * iconvdata/testdata/CP771: New file.
28744 * iconvdata/testdata/CP771..UTF8: New file.
28745 * iconvdata/testdata/CP772: New file.
28746 * iconvdata/testdata/CP772..UTF8: New file.
28747 * iconvdata/testdata/CP773: New file.
28748 * iconvdata/testdata/CP773..UTF8: New file.
28749 * iconvdata/testdata/CP774: New file.
28750 * iconvdata/testdata/CP774..UTF8: New file.
28751
28752 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28753 END CHARMAP line.
28754 * iconvdata/gen-8bit-gap.sh: Likewise.
28755 * iconvdata/gen-8bit.sh: Likewise.
28756
c1e9e399
UD
28757 * locale/iso-639.def: Add ary entry.
28758
24c55fb3 28759 [BZ #11258]
96b4b1b0
UD
28760 * locale/C-translit.h.in: Add U20A1 transliteration.
28761
bdc2f971
KB
28762 [BZ #12178]
28763 * locale/iso-639.def: Add wae entry.
28764 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28765
2952b117
UD
28766 [BZ #12545]
28767 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28768 for n.
28769
2a81eaa5
UD
28770 [BZ #12711]
28771 * locale/C-translit.h.in: Add entry for U20B9.
28772 Patch by pravin.d.s@gmail.com.
28773
28377d1b
UD
287742011-05-08 Ulrich Drepper <drepper@gmail.com>
28775
7fb90fb8
UD
28776 [BZ #12713]
28777 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28778 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
28779 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28780 in rtld. Use *stat64.
7fb90fb8 28781 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 28782 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 28783 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
28784 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28785 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28786 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28787 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28788 __fstatat64 macros.
7fb90fb8
UD
28789 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28790 * dirent/rewinddir.c: Add libc_hidden_def.
28791 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 28792 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 28793
28377d1b
UD
28794 * include/dirent.h (__alloc_dir): Add flags parameter.
28795 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28796 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28797 __alloc_dir.
28798 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28799 from fdopendir if O_CLOEXEC is already set.
28800
66bdbaa4
AM
288012011-03-15 Alan Modra <amodra@gmail.com>
28802
28803 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28804 l_tls_firstbyte_offset non-zero. Save padding offset in
28805 l_tls_firstbyte_offset for later use.
28806 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28807 freeing static tls block.
28808
95721191
JN
288092011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28810
28811 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28812 where #ifdef was intended. The intent is to prevent ARG_MAX from
28813 being defined by the kernel headers.
28814
f87dfb1f
UD
288152011-05-07 Ulrich Drepper <drepper@gmail.com>
28816
28817 [BZ #12734]
28818 * resolv/resolv.h: Define RES_NOTLDQUERY.
28819 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28820 no-tld-query and set RES_NOTLDQUERY.
28821 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28822 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28823 modern BIND to search name as TLD unless forbidden.
28824
47c3cd7a
UD
288252011-05-07 Petr Baudis <pasky@suse.cz>
28826 Ulrich Drepper <drepper@gmail.com>
28827
28828 [BZ #12393]
28829 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28830 (is_trusted_path): ...to here.
c1e9ea35 28831 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 28832 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 28833 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 28834
8a35c912
PP
288352011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28836
28837 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28838 __BEGIN/__END_DECLS.
28839
acd41f47
UD
288402011-05-06 Ulrich Drepper <drepper@gmail.com>
28841
28842 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28843 NSS_STATUS_NOTFOUND if no record was found.
28844
597df647
AS
288452011-05-05 Andreas Schwab <schwab@redhat.com>
28846
28847 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28848 (headers-not-in-tirpc): Remove rpc/netdb.h
28849 * resolv/netdb.h: Revert last change.
28850
b9af1301
PP
288512011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28852
28853 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28854 circular dependency between libgcc.a and libc.a.
28855
4e34d5f5
AS
288562011-05-05 Andreas Schwab <schwab@redhat.com>
28857
28858 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28859 * nis/Makefile: Don't install rpcsvc/*.
28860 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28861 instead of <rpc/types.h>.
28862 (MAXHOSTNAMELEN): Define.
28863
00ee369c
AS
288642011-05-03 Andreas Schwab <schwab@redhat.com>
28865
28866 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28867
0b592a30
MB
288682011-04-28 Maciej Babinski <mbabinski@google.com>
28869
28870 [BZ #12714]
28871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28872 gethostbyname4_r when IPv6 results are possible.
28873
6e04cbbe
UD
288742011-05-02 Ulrich Drepper <drepper@gmail.com>
28875
28876 [BZ #12723]
28877 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28878 _PC_PIPE_BUF handling.
28879
e4ecafe0
BH
288802011-04-30 Bruno Haible <bruno@clisp.org>
28881
28882 [BZ #12717]
28883 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28884 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28885 to 'int'.
28886 * inet/getnameinfo.c (getnameinfo): Likewise.
28887
125ee683
UD
288882011-04-29 Ulrich Drepper <drepper@gmail.com>
28889
28890 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28891 to groups setting in database lookup.
28892 * nss/nsswitch.conf: Add initgroups entry.
28893
b722481a
EB
288942011-04-22 Ulrich Drepper <drepper@gmail.com>
28895
28896 [BZ #12685]
28897 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28898 mode string.
28899 Patch by Eric Blake <eblake@redhat.com>.
28900
4df46dbd
L
289012011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28902
28903 * sunrpc/Makefile (need-export-routines): Add svc_run.
28904 (routines): Remove svc_run.
28905 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28906 * sunrpc/clnt_perr.c (clnt_perrno): Export.
28907 * sunrpc/svc_run.c (svc_run): Likewise.
28908 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28909
e84142d2
UD
289102011-04-21 Ulrich Drepper <drepper@gmail.com>
28911
28912 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28913 problem in reallocation in last patch.
28914
877175d8
UD
289152011-04-20 Ulrich Drepper <drepper@gmail.com>
28916
28917 * sunrpc/Makefile: Move inclusion of Rules.
28918
ab8eed78
UD
289192011-04-19 Ulrich Drepper <drepper@gmail.com>
28920
28921 * nss/nss_files/files-initgroups.c: New file.
28922 * nss/Makefile (libnss_files-routines): Add files-initgroups.
28923 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28924 _nss_files_initgroups_dyn.
28925
e3d8f584
RS
289262011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28927
28928 * elf/elf.h (R_ARM_IRELATIVE): Define.
28929
af190f45
UD
289302011-04-19 Ulrich Drepper <drepper@gmail.com>
28931
28932 * po/ru.po: Update from translation team.
28933
53cf59ef
UD
289342011-04-17 Ulrich Drepper <drepper@gmail.com>
28935
28936 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28937 dependencies.
28938
4c559bcd
MF
289392011-02-06 Mike Frysinger <vapier@gentoo.org>
28940
28941 [BZ #12653]
28942 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28943 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28944 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28945 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28946 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28947
4420675c
AS
289482011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28949
28950 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28951 differing bytes.
28952 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28953 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28954 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28955
75ea32ab
UD
289562011-04-17 Ulrich Drepper <drepper@gmail.com>
28957
28958 [BZ #12420]
28959 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28960 storing it.
28961 * stdlib/bug-getcontext.c: New file.
28962 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28963
27390476
AK
289642011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28965
28966 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28967 instructions into .machine "z9-109".
28968 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28969 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28970
10442705
AK
289712011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28972
28973 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28974 between environment variables and auxiliary vector.
28975
7b57bfe5
UD
289762011-04-16 Ulrich Drepper <drepper@gmail.com>
28977
28978 * Makefile: Add rules to build linkobj/libc.so.
28979 * include/libc-symbols.h: Define libc_hidden_nolink.
28980 * include/rpc/auth.h: Mark functions which are to be hidden.
28981 * include/rpc/auth_des.h: Likewise.
28982 * include/rpc/auth_unix.h: Likewise.
28983 * include/rpc/clnt.h: Likewise.
28984 * include/rpc/des_crypt.h: Likewise.
28985 * include/rpc/key_prot.h: Likewise.
28986 * include/rpc/pmap_clnt.h: Likewise.
28987 * include/rpc/pmap_prot.h: Likewise.
28988 * include/rpc/pmap_rmt.h: Likewise.
28989 * include/rpc/rpc_msg.h: Likewise.
28990 * include/rpc/svc.h: Likewise.
28991 * include/rpc/svc_auth.h: Likewise.
28992 * include/rpc/xdr.h: Likewise.
28993 * nis/Makefile: Link all DSOs against linkobj/libc.so.
28994 * nss/Makefile: Likewise.
28995 * sunrpc/Makefile: Don't install headers. Build library with normal
28996 entry points. Don't build rpcinfo. Link RPC tests appropriately.
28997 * sunrpc/auth_des.c: Hide exported symbols by default, export some
28998 for the compat linking library. Remove use of INTDEF/INTUSE.
28999 * sunrpc/auth_none.c: Likewise.
29000 * sunrpc/auth_unix.c: Likewise.
29001 * sunrpc/authdes_prot.c: Likewise.
29002 * sunrpc/authuxprot.c: Likewise.
29003 * sunrpc/clnt_gen.c: Likewise.
29004 * sunrpc/clnt_perr.c: Likewise.
29005 * sunrpc/clnt_raw.c: Likewise.
29006 * sunrpc/clnt_simp.c: Likewise.
29007 * sunrpc/clnt_tcp.c: Likewise.
29008 * sunrpc/clnt_udp.c: Likewise.
29009 * sunrpc/clnt_unix.c: Likewise.
29010 * sunrpc/des_crypt.c: Likewise.
29011 * sunrpc/des_soft.c: Likewise.
29012 * sunrpc/get_myaddr.c: Likewise.
29013 * sunrpc/key_call.c: Likewise.
29014 * sunrpc/key_prot.c: Likewise.
29015 * sunrpc/netname.c: Likewise.
29016 * sunrpc/pm_getmaps.c: Likewise.
29017 * sunrpc/pm_getport.c: Likewise.
29018 * sunrpc/pmap_clnt.c: Likewise.
29019 * sunrpc/pmap_prot.c: Likewise.
29020 * sunrpc/pmap_prot2.c: Likewise.
29021 * sunrpc/pmap_rmt.c: Likewise.
29022 * sunrpc/publickey.c: Likewise.
29023 * sunrpc/rpc_cmsg.c: Likewise.
29024 * sunrpc/rpc_common.c: Likewise.
29025 * sunrpc/rpc_dtable.c: Likewise.
29026 * sunrpc/rpc_prot.c: Likewise.
29027 * sunrpc/rpc_thread.c: Likewise.
29028 * sunrpc/rtime.c: Likewise.
29029 * sunrpc/svc.c: Likewise.
29030 * sunrpc/svc_auth.c: Likewise.
29031 * sunrpc/svc_authux.c: Likewise.
29032 * sunrpc/svc_raw.c: Likewise.
29033 * sunrpc/svc_run.c: Likewise.
29034 * sunrpc/svc_simple.c: Likewise.
29035 * sunrpc/svc_tcp.c: Likewise.
29036 * sunrpc/svc_udp.c: Likewise.
29037 * sunrpc/svc_unix.c: Likewise.
29038 * sunrpc/svcauth_des.c: Likewise.
29039 * sunrpc/xcrypt.c: Likewise.
29040 * sunrpc/xdr.c: Likewise.
29041 * sunrpc/xdr_array.c: Likewise.
29042 * sunrpc/xdr_float.c: Likewise.
29043 * sunrpc/xdr_intXX_t.c: Likewise.
29044 * sunrpc/xdr_mem.c: Likewise.
29045 * sunrpc/xdr_rec.c: Likewise.
29046 * sunrpc/xdr_ref.c: Likewise.
29047 * sunrpc/xdr_sizeof.c: Likewise.
29048 * sunrpc/xdr_stdio.c: Likewise.
29049
e6c61494
UD
290502011-04-10 Ulrich Drepper <drepper@gmail.com>
29051
29052 [BZ #12650]
29053 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29054 * sysdeps/ia64/dl-tls.h: Likewise.
29055 * sysdeps/powerpc/dl-tls.h: Likewise.
29056 * sysdeps/s390/dl-tls.h: Likewise.
29057 * sysdeps/sh/dl-tls.h: Likewise.
29058 * sysdeps/sparc/dl-tls.h: Likewise.
29059 * sysdeps/x86_64/dl-tls.h: Likewise.
29060 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29061
34fe483e
AS
290622011-03-14 Andreas Schwab <schwab@redhat.com>
29063
29064 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29065 rpath element also skip the following colon.
29066 (expand_dynamic_string_token): Add is_path parameter and pass
29067 down to DL_DST_REQUIRED and _dl_dst_substitute.
29068 (decompose_rpath): Call expand_dynamic_string_token with
29069 non-zero is_path. Ignore empty rpaths.
29070 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29071 with zero is_path.
29072
f12a32e6
AS
290732011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29074
29075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29076 Make cancelable.
29077
38a7d692
UD
290782011-04-09 Ulrich Drepper <drepper@gmail.com>
29079
29080 [BZ #12655]
29081 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29082 Patch by Filipe David Manana <fdmanana@apache.org>.
29083
e451d22b
AS
290842011-04-07 Andreas Schwab <schwab@redhat.com>
29085
29086 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29087 Maintain aligned stack.
29088 (CHECK_RSP): Remove unused macro.
29089
dedc7c7b
UD
290902011-04-03 Ulrich Drepper <drepper@gmail.com>
29091
29092 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29093 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29094
94521213
UD
290952011-04-02 Ulrich Drepper <drepper@gmail.com>
29096
29097 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29098
8cb700c0 29099 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29100
0354e355
L
291012011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29102
29103 [BZ #12518]
29104 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29105 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29106 * sysdeps/x86_64/memmove.c: New file.
29107 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29108 (memcpy): Renamed to ...
29109 (__new_memcpy): This.
29110 (memcpy): Provide GLIBC_2_14 memcpy.
29111 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29112 (memcpy): Provide GLIBC_2_2_5 memcpy.
29113
8593482f
UD
291142011-04-01 Ulrich Drepper <drepper@gmail.com>
29115
29116 [BZ #12631]
29117 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29118
81a5726b
AS
291192011-03-30 Andreas Schwab <schwab@redhat.com>
29120
29121 * misc/syncfs.c: New file.
29122 * misc/Makefile (routines): Add syncfs.
29123 * posix/unistd.h: Declare syncfs.
29124 * sysdeps/unix/syscalls.list: Add syncfs.
29125
00e5419f
AS
291262011-04-01 Andreas Schwab <schwab@redhat.com>
29127
29128 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29129 open_by_handle_at.
29130 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29131 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29132 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29133 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29134 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29135 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29136 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29137
748876bf
UD
291382011-04-01 Ulrich Drepper <drepper@gmail.com>
29139
658e451d
UD
29140 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29141 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29142 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29143 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29144 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29146 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29147
748876bf
UD
29148 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29149 sync_file_range.c with -fexceptions.
29150 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29151 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29152 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29153 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29154 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29155 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29156 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29157 sync_file_range as cancellation point
29158 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29159 now a wrapper around __call_sync_file_range with cancellation handling.
29160 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29161 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29162 function name to __call_sync_file_range.
29163 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29164 Add call_sync_file_range.
748876bf 29165
6e63d5e1
AS
291662011-04-01 Andreas Schwab <schwab@redhat.com>
29167
29168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29169 bits/timex.h.
6e63d5e1 29170
46998f74
UD
291712011-04-01 Ulrich Drepper <drepper@gmail.com>
29172
4c1423ed
UD
29173 * iconv/iconv.h: Fix typo in comment.
29174 * io/fcntl.h: Likewise.
29175 * libio/stdio.h: Likewise.
29176 * posix/spawn.h: Likewise.
29177 * posix/unistd.h: Likewise.
29178 * stdlib/stdlib.h: Likewise.
29179 * time/time.h: Likewise.
29180 * wcsmbs/wchar.h: Likewise.
29181
158648c0
UD
29182 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29183 open_by_handle): Add.
29184 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29185 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29186 Augment a few comments.
29187 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29189 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29191 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29192 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29193 open_by_handle.
29194
46998f74
UD
29195 * io/fcntl.h (AT_EMPTY_PATH): Define.
29196
83fe108b
UD
291972011-03-30 Ulrich Drepper <drepper@gmail.com>
29198
29199 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29200 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29201 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29202 to...
29203 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29204 * Versions.def: Add GLIBC_2.14.
29205 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29206 Export.
83fe108b 29207
bb242059
UD
292082011-03-22 Ulrich Drepper <drepper@gmail.com>
29209
29210 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29211 round counter.
29212 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29213
c97a1282
L
292142011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29215
29216 [BZ #12597]
29217 * string/test-strncmp.c (do_page_test): New function.
29218 (check2): Likewise.
29219 (test_main): Call check2.
29220 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29221
2a115601
UD
292222011-03-20 Ulrich Drepper <drepper@gmail.com>
29223
29224 [BZ #12587]
29225 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29226 Handle cache information in CPU leaf 4.
29227 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29228
8126d904
UD
292292011-03-18 Ulrich Drepper <drepper@gmail.com>
29230
042c49c6 29231 [BZ #12583]
8126d904
UD
29232 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29233 character representation.
29234 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29235
ccfe366e
RA
292362011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29237
29238 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29239 END(__isnan) to END(__isnanf) to match function entry point/label
29240 EALIGN(__isnanf,...).
29241
c6e13027
JJ
292422011-03-10 Jakub Jelinek <jakub@redhat.com>
29243
29244 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29245
33f85a3f
UD
292462011-03-10 Ulrich Drepper <drepper@gmail.com>
29247
028478fa
UD
29248 [BZ #12510]
29249 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29250 copy from the symbol referenced in the relocation to initialize the
29251 used variable.
29252 Patch by Piotr Bury <pbury@goahead.com>.
29253 * elf/Makefile: Add rules to build and tst-unique3.
29254 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29255 * elf/tst-unique3.cc: New file.
29256 * elf/tst-unique3.h: New file.
29257 * elf/tst-unique3lib.cc: New file.
29258 * elf/tst-unique3lib2.cc: New file.
29259
33f85a3f
UD
29260 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29261
03592fc7
MF
292622011-03-10 Mike Frysinger <vapier@gentoo.org>
29263
29264 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29265 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29266 to _start.
03592fc7 29267
6a5ee102
UD
292682011-03-06 Ulrich Drepper <drepper@gmail.com>
29269
29270 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29271 to-be-loaded object along a path to loader is ld.so.
29272
7e4ba49c
HJ
292732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29274 Ulrich Drepper <drepper@gmail.com>
29275
29276 * sysdeps/x86_64/memset.S: After aligning destination, code
29277 branches to different locations depending on the value of
29278 misalignment, when multiarch is enabled. Fix this.
29279
292802011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29281
29282 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29283 Set _x86_64_preferred_memory_instruction for AMD processsors.
29284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29285 Set bit_Prefer_SSE_for_memop for AMD processors.
29286
13a804de
UD
292872011-03-04 Ulrich Drepper <drepper@gmail.com>
29288
29289 * libio/fmemopen.c (fmemopen): Optimize a bit.
29290
9d25c392
AS
292912011-03-03 Andreas Schwab <schwab@redhat.com>
29292
29293 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29294
a5543c6a
RM
292952011-03-03 Roland McGrath <roland@redhat.com>
29296
29297 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29298
012d35f7
DM
292992011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29300
7e4ba49c 29301 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29302 __bzero_ultra1 instead of __memset_ultra1.
29303
4bff6e01
AS
293042011-02-23 Andreas Schwab <schwab@redhat.com>
29305 Ulrich Drepper <drepper@gmail.com>
29306
29307 [BZ #12509]
29308 * include/link.h (struct link_map): Add l_orig_initfini.
29309 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29310 returning unsuccessfully.
29311 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29312 close of a file loaded at startup, restore the original l_initfini
29313 list.
29314 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29315 list, store the pointer.
29316 * elf/Makefile ($(objpfx)noload-mem): New rule.
29317 (noload-ENV): Define.
29318 (tests): Add $(objpfx)noload-mem.
29319 * elf/noload.c: Include <memcheck.h>.
29320 (main): Call mtrace. Close all opened handles.
29321
f2092faf
AS
293222011-02-17 Andreas Schwab <schwab@redhat.com>
29323
29324 [BZ #12454]
29325 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29326 dependencies are missing.
29327
6c8a2e88
ST
293282011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29329
f2092faf 29330 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29331 Hurd needs munmap.
29332 * sysdeps/mach/hurd/ifreq.h: New file.
29333
84a42118
PB
293342011-01-27 Petr Baudis <pasky@suse.cz>
29335 Ulrich Drepper <drepper@gmail.com>
29336
071f805e 29337 [BZ 12445]#
84a42118
PB
29338 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29339 to extend_alloca().
29340 * stdio-common/bug23.c: New file.
29341 * stdio-common/Makefile (tests): Add bug23.
29342
e23fe25b
AS
293432010-09-28 Andreas Schwab <schwab@redhat.com>
29344 Ulrich Drepper <drepper@gmail.com>
29345
29346 [BZ #12489]
29347 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29348 before performing relro protection. At old place add assertion
29349 to make sure nothing changed.
29350
d3f02e10
NS
293512011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29352 Glauber de Oliveira Costa <glommer@gmail.com>
29353
29354 * elf/elf.h: Add new ARM TLS relocs.
29355
d55fd7a5
RA
293562011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29357
29358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29359 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29360 cast from r3.
29361 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29362 'tests' variable.
29363 * sysdeps/wordsize-64/tst-writev.c: New file.
29364
2206397e
RA
293652011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29366
29367 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29368 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29369 insns in _dl_start to prevent a TOC reference before relocs are
29370 resolved.
29371
e9433893
UD
293722011-02-15 Ulrich Drepper <drepper@gmail.com>
29373
29374 [BZ #12469]
29375 * Makeconfig: Remove RANLIB definition.
29376 * Makerules: Don't use RANLIB.
29377 * aclocal.m4: Remove ranlib test.
29378 * configure.in: No need to check for ranlib.
29379 * elf/rtld-Rules: Don't use RANLIB.
29380
f75286c6
ST
293812011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29382
8e31c82d
ST
29383 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29384 protection macro.
29385 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29386 inclusion protection macro.
29387
f75286c6
ST
29388 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29389 SIGRTMIN and SIGRTMAX and print information in that case only when
29390 SIGRTMIN is defined.
29391
c1d0e639
JJ
293922011-02-11 Jakub Jelinek <jakub@redhat.com>
29393
29394 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29395 arginfo fn returning -1.
29396
29397 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29398 and thousands string is zero terminated.
29399
edf9294e
AS
294002011-02-03 Andreas Schwab <schwab@redhat.com>
29401
29402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29403 sysdeps/unix/sysv/linux/bits/socket.h.
29404
2b7e92df
ST
294052011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29406
edf9294e
AS
29407 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29408 (__CPU_COUNT): Remove old macros.
29409 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29410 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29411 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
29412 (__sched_cpualloc, __sched_cpufree): Add declarations.
29413
a4c7ea7b
UD
294142011-02-05 Ulrich Drepper <drepper@gmail.com>
29415
29416 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29417 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29418 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29419 (readdhstai): Return value of addhstaiX call.
29420 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29421 (addgrbyX): Return value returned by cache_addgr.
29422 (readdgrbyname): Return value returned by addgrbyX.
29423 (readdgrbygid): Likewise.
29424 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29425 (addpwbyX): Return value returned by cache_addpw.
29426 (readdpwbyname): Return value returned by addhstbyX.
29427 (readdpwbyuid): Likewise.
29428 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29429 (addservbyX): Return value returned by cache_addserv.
29430 (readdservbyname): Return value returned by addservbyX:
29431 (readdservbyport): Likewise.
29432 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29433 (addhstbyX): Return value returned by cache_addhst.
29434 (readdhstbyname): Return value returned by addhstbyX.
29435 (readdhstbyaddr): Likewise.
29436 (readdhstbynamev6): Likewise.
29437 (readdhstbyaddrv6): Likewise.
29438 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29439 (readdinitgroups): Return value returned by addinitgroupsX.
29440 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29441 (prune_cache): Keep track of timeout value of re-added entries.
29442 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29443 * nscd/nscd.h: Adjust prototypes of readd* functions.
29444
a0bf67cc
RM
294452011-02-04 Roland McGrath <roland@redhat.com>
29446
29447 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29448 (nis_stats): Likewise.
29449 * nis/nis_modify.c (nis_modify): Likewise.
29450 * nis/nis_remove.c (nis_remove): Likewise.
29451 * nis/nis_add.c (nis_add): Likewise.
29452
29453 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29454
29455 * posix/fnmatch_loop.c: Add some consts.
29456
29457 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29458
435b95eb
L
294592011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29460
29461 [BZ #12460]
29462 * config.make.in (config-cflags-novzeroupper): Define.
29463 * configure.in: Substitute libc_cv_cc_novzeroupper.
29464 * elf/Makefile (AVX-CFLAGS): Define.
29465 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29466 (CFLAGS-tst-auditmod4a.c): Likewise.
29467 (CFLAGS-tst-auditmod4b.c): Likewise.
29468 (CFLAGS-tst-auditmod6b.c): Likewise.
29469 (CFLAGS-tst-auditmod6c.c): Likewise.
29470 (CFLAGS-tst-auditmod7b.c): Likewise.
29471 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29472
8517b15e
UD
294732011-02-02 Ulrich Drepper <drepper@gmail.com>
29474
29475 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29476 function to the callback.
29477 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29478
10a656fe
AS
294792011-02-02 Andreas Schwab <schwab@redhat.com>
29480
29481 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29482 of errno.
29483
968dad0a
UD
294842011-01-19 Ulrich Drepper <drepper@gmail.com>
29485
9f94d2ea 29486 [BZ #11724]
968dad0a
UD
29487 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29488 of constructors.
29489 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29490 of destructors.
29491 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29492
29493 [BZ #11724]
29494 * elf/Makefile: Add rules to build and run new test.
29495 * elf/tst-initorder.c: New file.
29496 * elf/tst-initorder.exp: New file.
29497 * elf/tst-initordera1.c: New file.
29498 * elf/tst-initordera2.c: New file.
29499 * elf/tst-initordera3.c: New file.
29500 * elf/tst-initordera4.c: New file.
29501 * elf/tst-initorderb1.c: New file.
29502 * elf/tst-initorderb2.c: New file.
29503 * elf/tst-order-a1.c: New file.
29504 * elf/tst-order-a2.c: New file.
29505 * elf/tst-order-a3.c: New file.
29506 * elf/tst-order-a4.c: New file.
29507 * elf/tst-order-b1.c: New file.
29508 * elf/tst-order-b2.c: New file.
29509 * elf/tst-order-main.c: New file.
29510 New test case by George Gensure <werkt0@gmail.com>.
29511
86e92359
UD
295122010-10-01 Andreas Schwab <schwab@redhat.com>
29513
29514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29515 decoding ACE if AI_CANONIDN.
29516
5d5732b0
UD
295172011-01-18 Ulrich Drepper <drepper@gmail.com>
29518
29519 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29520
a77e8cbc
UD
295212011-01-17 Ulrich Drepper <drepper@gmail.com>
29522
6392473f
UD
29523 * version.h (RELEASE): Bump for 2.13 release.
29524 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29525
620a0529
UD
29526 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29527
18ba70a5
UD
29528 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29529 MADV_NOHUGEPAGE.
32465c3e
UD
29530 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29531 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29532 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29533 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29534 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29535 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29536
c0dafcf1
UD
29537 * posix/getconf.c: Update copyright year.
29538 * catgets/gencat.c: Likewise.
29539 * csu/version.c: Likewise.
29540 * debug/catchsegv.sh: Likewise.
29541 * debug/xtrace.sh: Likewise.
29542 * elf/ldconfig.c: Likewise.
29543 * elf/ldd.bash.in: Likewise.
29544 * elf/sprof.c (print_version): Likewise.
29545 * iconv/iconv_prog.c: Likewise.
29546 * iconv/iconvconfig.c: Likewise.
29547 * locale/programs/locale.c: Likewise.
29548 * locale/programs/localedef.c: Likewise.
29549 * malloc/memusage.sh: Likewise.
29550 * malloc/mtrace.pl: Likewise.
29551 * nscd/nscd.c (print_version): Likewise.
29552 * nss/getent.c: Likewise.
29553
a77e8cbc
UD
29554 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29555 PF_CAIF, and PF_ALG.
29556 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29557
77e8bddf
AS
295582011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29559
1f20b93a
AS
29560 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29561 (modules-names): Use them.
29562 (ifunc-test-modules, ifunc-pie-tests): Define.
29563 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29564 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29565 (test-extras): Likewise.
29566 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29567 $(compile-command.c).
29568 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29569 (all-built-dso): Define.
29570 (check-textrel.out, check-execstack.out): Depend on it.
29571
77e8bddf
AS
29572 * configure.in: Don't override --enable-multi-arch.
29573
bc425b33
UD
295742011-01-15 Ulrich Drepper <drepper@gmail.com>
29575
29576 [BZ #6812]
29577 * nscd/hstcache.c (tryagain): Define.
29578 (cache_addhst): Return tryagain not notfound for temporary errors.
29579 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29580 failed.
29581
794c3ad3
UD
295822011-01-14 Ulrich Drepper <drepper@gmail.com>
29583
70181fdd
UD
29584 [BZ #10563]
29585 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29586 to make the syscall.
29587 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29588
794c3ad3
UD
29589 [BZ #12378]
29590 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29591 and fall back to matching as normal character if the string ends before
29592 the matching ']' is found. This is what POSIX requires.
29593 * posix/testfnm.c: Adjust test result.
29594 * posix/globtest.sh: Adjust test result. Add new test.
29595 * posix/tst-fnmatch.input: Likewise.
29596 * posix/tst-fnmatch2.c: Add new test.
29597
68dc9497
AS
295982010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29599
29600 * elf/Makefile (check-execstack): Revert last change. Depend on
29601 check-execstack.h.
29602 (check-execstack.h): New target.
29603 (generated): Add check-execstack.h.
29604 * elf/check-execstack.c: Include "check-execstack.h".
29605 (main): Revert last change.
29606 (handle_file): Return zero if GNU_STACK is absent and
29607 DEFAULT_STACK_PERMS doesn't include PF_X.
29608
451f001b
UD
296092011-01-13 Ulrich Drepper <drepper@gmail.com>
29610
cfa28e56
UD
29611 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29612 in child fails because the descriptor is already closed.
8cf8ce17
UD
29613 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29614 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29615 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 29616
1086d70d
UD
29617 [BZ #12397]
29618 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29619 syscall.
29620
451f001b
UD
29621 [BZ #10484]
29622 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29623 temporary buffer used to handle multi lookups locally.
a85b5cb4 29624 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 29625
08769175
UD
296262011-01-12 Ulrich Drepper <drepper@gmail.com>
29627
29628 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29629 loader is ld.so.
29630
5e49c52e
UD
296312011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29632
29633 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29634 alignment for SSE2.
29635
60522a5f
UD
296362011-01-12 Ulrich Drepper <drepper@gmail.com>
29637
29638 [BZ #12394]
29639 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29640 characters. When rounding increased number of integer digits recompute
29641 number of groups.
29642 * stdio-common/tst-grouping.c: New file.
29643 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29644
f257bbd7
UD
296452011-01-09 Ulrich Drepper <drepper@gmail.com>
29646
29647 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29648 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29649
29650 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29651 void.
29652 * bits/select.h: Likewise.
29653
fa9c15cb
UD
296542011-01-08 Ulrich Drepper <drepper@gmail.com>
29655
29656 * po/ja.po: Update from translation team.
29657
16c2895f
DM
296582011-01-04 David S. Miller <davem@sunset.davemloft.net>
29659
29660 [BZ #11155]
29661 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29662 implementation just like for lxstat, fxstatat, et al.
29663
2543fef2
JM
296642010-12-27 Jim Meyering <meyering@redhat.com>
29665
29666 [BZ #12348]
29667 * posix/regexec.c (build_trtable): Return failure indication upon
29668 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29669
98727dbe
UD
296702010-12-25 Ulrich Drepper <drepper@gmail.com>
29671
5bd6dc5c
UD
29672 [BZ #12201]
29673 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29674 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29675 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29676 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29677
97983464
UD
29678 [BZ #12207]
29679 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29680
98727dbe
UD
29681 [BZ #12204]
29682 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29683 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29684
4a531bb0
L
296852010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29686
29687 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29688 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29689 script has SORT_BY_INIT_PRIORITY.
29690 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29691 NO_CTORS_DTORS_SECTIONS is defined.
29692 * elf/soinit.c: Likewise.
29693 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29694 NO_CTORS_DTORS_SECTIONS is defined.
29695 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29696 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29697 * sysdeps/sh/init-first.c: Likewise.
29698 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29699
07eb4b71
UD
297002010-12-24 Ulrich Drepper <drepper@gmail.com>
29701
29702 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29703 always use the slow path.
29704
30950a5f
RA
297052010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29706
29707 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29708 similar rule which adds the sysdep directories to the header search in
29709 order to pick up the correct platform stackinfo.h.
29710 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29711 perform test if it is, otherwise return successfully without testing.
29712 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29713 DEFAULT_STACK_PERMS define in stackinfo.h.
29714 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29715 defined in stackinfo.h.
29716 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29717 DEFAULT_STACK_PERMS defined in stackinfo.h.
29718 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29719 * sysdeps/ia64/stackinfo.h: Likewise.
29720 * sysdeps/s390/stackinfo.h: Likewise.
29721 * sysdeps/sh/stackinfo.h: Likewise.
29722 * sysdeps/sparc/stackinfo.h: Likewise.
29723 * sysdeps/x86_64/stackinfo.h: Likewise.
29724 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29725 PF_X for powerpc64. Retain PF_X for powerpc32.
29726
db753e2c
UD
297272010-12-19 Ulrich Drepper <drepper@gmail.com>
29728
14b697f7
UD
29729 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29730 accurately.
db753e2c
UD
29731 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29732 GETDENTS_64BIT_ALIGNED.
29733
28300719
UD
297342010-12-14 Ulrich Drepper <dreper@gmail.com>
29735
14b697f7 29736 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 29737
4f197237
AS
297382010-12-10 Andreas Schwab <schwab@redhat.com>
29739
dbb0472f
AS
29740 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29741 _GNU_SOURCE.
29742
4f197237
AS
29743 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29744 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29745 Remove __restrict.
29746 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29747 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29748
fb88ac72
UD
297492010-12-09 Ulrich Drepper <drepper@gmail.com>
29750
29751 [BZ #11655]
29752 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29753 are initialized.
29754
42acbb92
JJ
297552010-12-09 Jakub Jelinek <jakub@redhat.com>
29756
29757 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29758
c038d98d
UD
297592010-12-03 Ulrich Drepper <drepper@gmail.com>
29760
29761 * po/it.po: Update from translation team.
29762
3a4a2499
L
297632010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29764
29765 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29766 unused codes.
29767
1e24cf6e
UD
297682010-11-30 Ulrich Drepper <drepper@gmail.com>
29769
29770 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29771
a7690819
AS
297722010-11-24 Andreas Schwab <schwab@redhat.com>
29773
29774 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29775 specially.
29776 (gaih_getanswer_slice): Likewise.
29777
3bf8d1b1
JJ
297782010-10-20 Jakub Jelinek <jakub@redhat.com>
29779
29780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29781
6db52fbb
PB
297822010-05-31 Petr Baudis <pasky@suse.cz>
29783
29784 [BZ #11149]
29785 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29786 silently even in the chroot mode.
29787
eaca7569
UD
297882010-11-22 Ulrich Drepper <drepper@gmail.com>
29789
29790 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29791 last patch a bit. Pretty printing
29792
3056dcdb
UD
297932010-05-31 Petr Baudis <pasky@suse.cz>
29794
29795 [BZ #10085]
29796 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29797 initialization of skip_initgroups_dyn.
29798
cf7c9078
UD
297992010-11-19 Ulrich Drepper <drepper@gmail.com>
29800
29801 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29802 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29803
a1fb5e3e
UD
298042010-11-16 Ulrich Drepper <drepper@gmail.com>
29805
29806 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29807
3540d66b
AS
298082010-11-11 Andreas Schwab <schwab@redhat.com>
29809
29810 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29811 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29812 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29813 ($(objpfx)tst-fnmatch-mem): New rule.
29814 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29815 * posix/tst-fnmatch.c (main): Call mtrace.
29816
13b69574
L
298172010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29818
29819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29820 Support Intel processor model 6 and model 0x2c.
29821
da93d214
LM
298222010-11-10 Luis Machado <luisgpm@br.ibm.com>
29823
29824 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29825 signed comparison.
29826
8ca52c6e
L
298272010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29828
29829 [BZ #12205]
29830 * string/test-strncasecmp.c (check_result): New function.
29831 (do_one_test): Use it.
29832 (check1): New function.
29833 (test_main): Use it.
29834 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29835 Support strcasecmp and strncasecmp.
29836
69da074d
UD
298372010-11-08 Ulrich Drepper <drepper@gmail.com>
29838
29839 [BZ #12194]
29840 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29841 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29842
ff02d528
L
298432010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29844
29845 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29846 IFUNC support.
29847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29848 memset-x86-64.
29849 * sysdeps/x86_64/multiarch/bzero.S: New file.
29850 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29851 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29852 * sysdeps/x86_64/multiarch/memset.S: New file.
29853 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29855 Set bit_Prefer_SSE_for_memop for Intel processors.
29856 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29857 Define.
29858 (index_Prefer_SSE_for_memop): Define.
29859 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29860
344d0b54
LM
298612010-11-04 Luis Machado <luisgpm@br.ibm.com>
29862
29863 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29864 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29865
c0dde15b
UD
298662010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29867
29868 [BZ #12191]
29869 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29870 (__x86_64_raw_data_cache_size_half): Likewise.
29871 (__x86_64_raw_shared_cache_size): Likewise.
29872 (__x86_64_raw_shared_cache_size_half): Likewise.
29873
29874 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29875 (__x86_64_raw_data_cache_size_half): Likewise.
29876 (__x86_64_raw_shared_cache_size): Likewise.
29877 (__x86_64_raw_shared_cache_size_half): Likewise.
29878 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29879 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29880 and __x86_64_raw_shared_cache_size_half. Round
29881 __x86_64_data_cache_size_half, __x86_64_data_cache_size
29882 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29883 to multiple of 256 bytes.
29884
0e516e0e
MS
298852010-11-03 Ulrich Drepper <drepper@gmail.com>
29886
29887 [BZ #12167]
29888 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29889 of inacessible symlinks. Verify result of symlink before returning it.
29890 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29891 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29892
0e012e87
ER
298932010-10-28 Erich Ritz <erichritz@gmail.com>
29894
29895 * math/math.h (isinf): Fix typo in comment.
29896
de0ff7bc
UD
298972010-11-01 Ulrich Drepper <drepper@gmail.com>
29898
29899 * po/da.po: Update from translation team.
29900
fa41c84d
UD
299012010-10-26 Ulrich Drepper <drepper@gmail.com>
29902
29903 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29904 is added to the list.
29905
f0967738
AK
299062010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29907 Ulrich Drepper <drepper@gmail.com>
29908
29909 * elf/dl-object.c (_dl_new_object): Don't append the new object to
29910 the global list here. Move code to...
29911 (_dl_add_to_namespace_list): ...here. New function.
29912 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29913 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29914 * elf/dl-load.c (lose): Don't remove the element from the list.
29915 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29916 (_dl_map_object): Likewise.
29917
299182010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
29919
29920 [BZ #12159]
29921 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29922 into all bytes of SSE register.
29923 Patch by Richard Li <richardpku@gmail.com>.
29924
f0967738 299252010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
29926
29927 [BZ #12140]
29928 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29929 perturbing.
29930
d0b9e94f
MB
299312010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29932
29933 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29934 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29935 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29936 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29938 submachine.
29939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29940
8e9f92e9
AS
299412010-10-22 Andreas Schwab <schwab@redhat.com>
29942
29943 * include/dlfcn.h (__RTLD_SECURE): Define.
29944 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
29945 mode & __RTLD_SECURE instead.
29946 (open_path): Rename preloaded parameter to secure.
29947 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29948 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29949 * elf/dl-deps.c (openaux): Likewise.
29950 * elf/rtld.c (struct map_args): Remove is_preloaded.
29951 (map_doit): Don't use it.
29952 (dl_main): Likewise.
29953 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29954 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29955
bc96fbda
AS
299562010-09-09 Andreas Schwab <schwab@redhat.com>
29957
29958 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29959 (sysd-rules-targets): Remove duplicates.
29960 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29961 rtld-%.$o dependency.
29962
22cd1c9b
AS
299632010-10-18 Andreas Schwab <schwab@redhat.com>
29964
29965 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29966 _dl_map_object do it.
29967
18edac48
UD
299682010-10-19 Ulrich Drepper <drepper@gmail.com>
29969
29970 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29971 fast fma builtins, define the macros in the C99 standard.
29972 (FP_FAST_FMAF): Likewise.
29973 (FP_FAST_FMAL): Likewise.
29974 * sysdeps/x86_64/bits/mathdef.h: Likewise.
29975
29976 * bits/mathdef.h: Update copyright year.
29977 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29978
d2050124
MM
299792010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29980
29981 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29982 builtins, define the macros in the C99 standard.
29983 (FP_FAST_FMAF): Likewise.
29984 (FP_FAST_FMAL): Likewise.
29985 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29986 multiply/add.
29987 (FP_FAST_FMAF): Likewise.
29988
475facd1
JJ
299892010-10-15 Jakub Jelinek <jakub@redhat.com>
29990
29991 [BZ #3268]
29992 * math/libm-test.inc (fma_test): Some new testcases.
29993 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29994 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29995 y and infinite z. Do multiplication by C already in long double.
29996 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29997 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29998 y and infinite z. Do bitwise or of inexact bit into u.d.
29999 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30000 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30001 * sysdeps/i386/fpu/s_fma.S: Removed.
30002 * sysdeps/i386/fpu/s_fmal.S: Removed.
30003
7c08a05c
JJ
300042010-10-16 Jakub Jelinek <jakub@redhat.com>
30005
30006 [BZ #3268]
30007 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30009 computation is not scheduled after fetestexcept. Fix value
30010 of minimum denormal long double.
30011
f3f7372d
JJ
300122010-10-14 Jakub Jelinek <jakub@redhat.com>
30013
30014 [BZ #3268]
30015 * math/libm-test.inc (fma_test): Add some more tests.
30016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30017 correctly.
30018
14d43591
AS
300192010-10-15 Andreas Schwab <schwab@redhat.com>
30020
30021 * scripts/data/localplt-s390-linux-gnu.data: New file.
30022 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30023
5e908464
JJ
300242010-10-13 Jakub Jelinek <jakub@redhat.com>
30025
30026 [BZ #3268]
30027 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30028 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30029 instead of dbl-64.
30030 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30031 inlines.
30032 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30034 if one of x and y is very large and the other is subnormal.
30035 * sysdeps/s390/fpu/s_fmaf.c: New file.
30036 * sysdeps/s390/fpu/s_fma.c: New file.
30037 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30038 * sysdeps/powerpc/fpu/s_fma.S: New file.
30039 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30040 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30041 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30042
300432010-10-12 Jakub Jelinek <jakub@redhat.com>
30044
30045 [BZ #3268]
30046 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30047 fma tests.
30048 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30049 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30050 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30051 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30052 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30053 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30054 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30055
b833d51f
UD
300562010-10-12 Ulrich Drepper <drepper@redhat.com>
30057
30058 [BZ #12078]
30059 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30060 * posix/bug-regex31.input: Add test case.
30061
1751705d
UD
300622010-10-11 Ulrich Drepper <drepper@gmail.com>
30063
e9b9cbf5
UD
30064 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30065 * posix/bug-regex31.input: New file.
30066
30067 [BZ #12078]
30068 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30069 (parse_sub_exp): Fix last change, use postorder.
30070
ef06edbe
UD
30071 * posix/bug-regex31.c: New file.
30072 * posix/Makefile: Add rules to build and run bug-regex31.
30073
a129c80d
UD
30074 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30075
30076 [BZ #12078]
30077 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30078
b76b818e
UD
30079 [BZ #12108]
30080 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30081 to have entries in sys_siglist.
30082
1751705d
UD
30083 [BZ #12093]
30084 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30085 be NULL.
30086
9ff8d36f
JJ
300872010-10-07 Jakub Jelinek <jakub@redhat.com>
30088
30089 [BZ #3268]
30090 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30091 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30092 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30093 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30094 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30095 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30096 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30097 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30098 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30099 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30100 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30101 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30102 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30103 * math/ftestexcept.c (fetestexcept): Likewise.
30104 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30105 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30106 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30107 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30108 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30109 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30110 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30111
af325969
UD
301122010-10-11 Ulrich Drepper <drepper@gmail.com>
30113
c579b202 30114 [BZ #12107]
af325969
UD
30115 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30116 newline.
30117
67a67b95
UD
301182010-10-06 Ulrich Drepper <drepper@gmail.com>
30119
30120 * string/bug-strstr1.c: New file.
30121 * string/Makefile: Add rules to build and run bug-strstr1.
30122
5fb308bc
EB
301232010-10-05 Eric Blake <eblake@redhat.com>
30124
30125 [BZ #12092]
30126 * string/str-two-way.h (two_way_long_needle): Always clear memory
30127 when skipping input due to the shift table.
30128
45db99c7
UD
301292010-10-03 Ulrich Drepper <drepper@gmail.com>
30130
3b111893
UD
30131 [BZ #12005]
30132 * malloc/mcheck.c: Handle large requests.
30133
45db99c7
UD
30134 [BZ #12077]
30135 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30136 for strncmp and strncasecmp.
30137 * string/stratcliff.c: Add tests for strcmp and strncmp.
30138 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30139
cf7a1eb8
NI
301402010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30141
30142 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30143 __set_fpscr.
30144
6484ba5e
AJ
301452010-09-30 Andreas Jaeger <aj@suse.de>
30146
30147 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30148 (CGROUP_SUPER_MAGIC): Define.
30149 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30150 Handle btrfs and cgroup file systems.
30151 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30152 Likewise.
30153
91c42559
LM
301542010-09-27 Luis Machado <luisgpm@br.ibm.com>
30155
30156 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30157 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30158
87a97932
AK
301592010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30160
30161 [BZ #12067]
30162 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30163 trying to locate the ELF header.
30164
c21cc9bc
AS
301652010-09-27 Andreas Schwab <schwab@redhat.com>
30166
30167 [BZ #11611]
30168 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30169 Mask out sign-bit copies when constructing f_fsid.
30170
315970f6
PB
301712010-09-24 Petr Baudis <pasky@suse.cz>
30172
30173 * debug/stack_chk_fail_local.c: Add missing licence exception.
30174 * debug/warning-nop.c: Likewise.
30175
1ac7a2c7
JM
301762010-09-15 Joseph Myers <joseph@codesourcery.com>
30177
30178 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30179 implementing getdents64 using getdents syscall, set d_type if
30180 __ASSUME_GETDENTS32_D_TYPE.
30181
56801c50
AS
301822010-09-16 Andreas Schwab <schwab@redhat.com>
30183
30184 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30185 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30186
dda51327
UD
301872010-09-21 Ulrich Drepper <drepper@redhat.com>
30188
30189 [BZ #12037]
30190 * posix/unistd.h: Undo change of feature selection for ftruncate from
30191 2010-01-11.
30192
8ffcee4a
UD
301932010-09-20 Ulrich Drepper <drepper@redhat.com>
30194
a545ecd9 30195 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30196 detection.
30197
e24f0a8b
AS
301982010-09-20 Andreas Schwab <schwab@redhat.com>
30199
30200 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30201 fanotify_mark.
30202 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30203
7291c56f
AS
302042010-09-14 Andreas Schwab <schwab@redhat.com>
30205
30206 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30207 variables after CHECK_SP call.
30208 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30209
bc5fb037
AS
302102010-09-13 Andreas Schwab <schwab@redhat.com>
30211 Ulrich Drepper <drepper@redhat.com>
30212
30213 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30214 re-relocationg ld.so.
30215 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30216 _dl_init_paths call.
30217 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30218 here anymore.
30219
e66e7419
UD
302202010-09-14 Ulrich Drepper <drepper@redhat.com>
30221
30222 * resolv/res_init.c (__res_vinit): Count the default server we added.
30223
c044aa75
CLT
302242010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30225 Ulrich Drepper <drepper@redhat.com>
30226
30227 [BZ #11968]
30228 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30229 (____longjmp_chk): Use %ebx for saving value across system call.
30230 Add unwind info.
30231
32cf4069
AS
302322010-09-06 Andreas Schwab <schwab@redhat.com>
30233
30234 * manual/Makefile: Don't mix pattern rules with normal rules.
30235
817328ee
AS
302362010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30237
30238 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30239 operation.
30240 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30241 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30242 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30243 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30244 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30245 Likewise.
30246
29fddf61
UD
302472010-09-04 Ulrich Drepper <drepper@redhat.com>
30248
30249 [BZ #11979]
30250 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30251 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30252
0959ffc9
UD
302532010-09-02 Ulrich Drepper <drepper@redhat.com>
30254
30255 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30256 * sysdeps/x86_64/addmul_1.S: Likewise.
30257 * sysdeps/x86_64/lshift.S: Likewise.
30258 * sysdeps/x86_64/mul_1.S: Likewise.
30259 * sysdeps/x86_64/rshift.S: Likewise.
30260 * sysdeps/x86_64/sub_n.S: Likewise.
30261 * sysdeps/x86_64/submul_1.S: Likewise.
30262
ece29840
ST
302632010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30264
0959ffc9
UD
30265 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30266 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30267 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30268 * bits/sched.h [__need_schedparam]
ece29840 30269 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30270 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30271 (__defined_schedparam): Define to 1.
ece29840
ST
30272 (__sched_param): New structure, identical to sched_param.
30273 (__need_schedparam): Undefine.
30274
e53a31fe
MF
302752010-08-31 Mike Frysinger <vapier@gentoo.org>
30276
fdc0c10d
MF
30277 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30278 (epoll_create1): Declare.
30279
e53a31fe
MF
30280 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30281
a726d796
AS
302822010-08-31 Andreas Schwab <schwab@redhat.com>
30283
30284 [BZ #7066]
30285 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30286 shifting retval into place.
30287
2f3e3dc7
UD
302882010-09-01 Ulrich Drepper <drepper@redhat.com>
30289
f2933da9
UD
30290 * nis/rpcsvc/nis.h: Update copyright notice.
30291 * nis/rpcsvc/nis.x: Likewise.
30292 * nis/rpcsvc/nis_callback.h: Likewise.
30293 * nis/rpcsvc/nis_callback.x: Likewise.
30294 * nis/rpcsvc/nis_object.x: Likewise.
30295 * nis/rpcsvc/nis_tags.h: Likewise.
30296 * nis/rpcsvc/yp.h: Likewise.
30297 * nis/rpcsvc/yp.x: Likewise.
30298 * nis/rpcsvc/ypupd.h: Likewise.
30299 * nis/yp_xdr.c: Likewise.
30300 * nis/ypupdate_xdr.c: Likewise.
30301
2f3e3dc7
UD
30302 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30303 mainly the body of pmap_getport. Add parameters to specify timeouts.
30304 (pmap_getport): Use __libc_rpc_getport.
30305 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30306 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30307 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30308
f3dcc2f9
AS
303092010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30310
30311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30312 fanotify_mark.
30313
6d34eb5b
RM
303142010-08-27 Roland McGrath <roland@redhat.com>
30315
30316 * sysdeps/i386/i686/multiarch/Makefile
30317 (CFLAGS-varshift.c): New variable.
30318
9ea3de11
UD
303192010-08-27 Ulrich Drepper <drepper@redhat.com>
30320
c96d23fc
UD
30321 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30322 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30323
9ea3de11
UD
30324 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30325
30326 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30327
623aac7f
L
303282010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30329
30330 * sysdeps/x86_64/strlen.S: Unroll the loop.
30331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30332 strlen-sse2 strlen-sse2-bsf.
30333 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30334 __strlen_no_bsf if bit_Slow_BSF is set.
30335 (__strlen_sse42): Removed.
30336 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30337 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30338
8b2b7715
RM
303392010-08-25 Roland McGrath <roland@redhat.com>
30340
30341 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30342 * sysdeps/x86_64/multiarch/varshift.c: New file.
30343 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30344 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30345 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30346 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30347
e73015f2
L
303482010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30349
30350 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30351 strlen-sse2 strlen-sse2-bsf.
30352 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30353 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30354 (__strlen_sse2): Removed.
30355 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30356 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30358 bit_Slow_BSF for Atom.
30359 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30360 (index_Slow_BSF): Define.
30361 (HAS_SLOW_BSF): Define.
30362
df24a73e
UD
303632010-08-25 Ulrich Drepper <drepper@redhat.com>
30364
30365 [BZ #10851]
30366 * resolv/res_init.c (__res_vinit): When no server address at all
30367 is given default to loopback.
30368
f2ac4868
RM
303692010-08-24 Roland McGrath <roland@redhat.com>
30370
09055553
RM
30371 * configure.in: Remove config-name.h generation.
30372 * configure: Regenerated.
30373 * config-name.in: File removed.
30374 * scripts/config-uname.sh: New file.
30375 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30376 ($(objdir)config-name.h): New target.
30377
f2ac4868
RM
30378 * sunrpc/rpc_parse.h: Avoid nested comment.
30379
73f27d5e
RH
303802010-08-24 Richard Henderson <rth@redhat.com>
30381 Ulrich Drepper <drepper@redhat.com>
30382 H.J. Lu <hongjiu.lu@intel.com>
30383
30384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30386 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30387 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30388 _mm_alignr_epi8 with _mm_loadu_si128.
30389 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30390 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30391 (__m128i_shift_right): Removed.
30392 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30393 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30394 * sysdeps/x86_64/multiarch/varshift.h: New file.
30395 * sysdeps/x86_64/multiarch/varshift.S: New file.
30396
84b9230c
MF
303972010-08-21 Mike Frysinger <vapier@gentoo.org>
30398
30399 * configure.in: Move assembler checks to before sysdep dir checking.
30400
9bbd0ddc
PB
304012010-08-20 Petr Baudis <pasky@suse.cz>
30402
30403 * LICENSES: Sync the sunrpc license.
30404
9da4bb31
UD
304052010-08-19 Ulrich Drepper <drepper@redhat.com>
30406
a7ab6ec8
UD
30407 * sunrpc/auth_des.c: Update copyright notice once again.
30408 * sunrpc/auth_none.c: Likewise.
30409 * sunrpc/auth_unix.c: Likewise.
30410 * sunrpc/authdes_prot.c: Likewise.
30411 * sunrpc/authuxprot.c: Likewise.
30412 * sunrpc/bindrsvprt.c: Likewise.
30413 * sunrpc/clnt_gen.c: Likewise.
30414 * sunrpc/clnt_perr.c: Likewise.
30415 * sunrpc/clnt_raw.c: Likewise.
30416 * sunrpc/clnt_simp.c: Likewise.
30417 * sunrpc/clnt_tcp.c: Likewise.
30418 * sunrpc/clnt_udp.c: Likewise.
30419 * sunrpc/clnt_unix.c: Likewise.
30420 * sunrpc/des_crypt.c: Likewise.
30421 * sunrpc/des_soft.c: Likewise.
30422 * sunrpc/get_myaddr.c: Likewise.
30423 * sunrpc/getrpcport.c: Likewise.
30424 * sunrpc/key_call.c: Likewise.
30425 * sunrpc/key_prot.c: Likewise.
30426 * sunrpc/openchild.c: Likewise.
30427 * sunrpc/pm_getmaps.c: Likewise.
30428 * sunrpc/pm_getport.c: Likewise.
30429 * sunrpc/pmap_clnt.c: Likewise.
30430 * sunrpc/pmap_prot.c: Likewise.
30431 * sunrpc/pmap_prot2.c: Likewise.
30432 * sunrpc/pmap_rmt.c: Likewise.
30433 * sunrpc/rpc/auth.h: Likewise.
30434 * sunrpc/rpc/auth_unix.h: Likewise.
30435 * sunrpc/rpc/clnt.h: Likewise.
30436 * sunrpc/rpc/des_crypt.h: Likewise.
30437 * sunrpc/rpc/key_prot.h: Likewise.
30438 * sunrpc/rpc/netdb.h: Likewise.
30439 * sunrpc/rpc/pmap_clnt.h: Likewise.
30440 * sunrpc/rpc/pmap_prot.h: Likewise.
30441 * sunrpc/rpc/pmap_rmt.h: Likewise.
30442 * sunrpc/rpc/rpc.h: Likewise.
30443 * sunrpc/rpc/rpc_des.h: Likewise.
30444 * sunrpc/rpc/rpc_msg.h: Likewise.
30445 * sunrpc/rpc/svc.h: Likewise.
30446 * sunrpc/rpc/svc_auth.h: Likewise.
30447 * sunrpc/rpc/types.h: Likewise.
30448 * sunrpc/rpc/xdr.h: Likewise.
30449 * sunrpc/rpc_clntout.c: Likewise.
30450 * sunrpc/rpc_cmsg.c: Likewise.
30451 * sunrpc/rpc_common.c: Likewise.
30452 * sunrpc/rpc_cout.c: Likewise.
30453 * sunrpc/rpc_dtable.c: Likewise.
30454 * sunrpc/rpc_hout.c: Likewise.
30455 * sunrpc/rpc_main.c: Likewise.
30456 * sunrpc/rpc_parse.c: Likewise.
30457 * sunrpc/rpc_parse.h: Likewise.
30458 * sunrpc/rpc_prot.c: Likewise.
30459 * sunrpc/rpc_sample.c: Likewise.
30460 * sunrpc/rpc_scan.c: Likewise.
30461 * sunrpc/rpc_scan.h: Likewise.
30462 * sunrpc/rpc_svcout.c: Likewise.
30463 * sunrpc/rpc_tblout.c: Likewise.
30464 * sunrpc/rpc_util.c: Likewise.
30465 * sunrpc/rpc_util.h: Likewise.
30466 * sunrpc/rpcinfo.c: Likewise.
30467 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30468 * sunrpc/rpcsvc/key_prot.x: Likewise.
30469 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30470 * sunrpc/rpcsvc/mount.x: Likewise.
30471 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30472 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30473 * sunrpc/rpcsvc/rex.x: Likewise.
30474 * sunrpc/rpcsvc/rstat.x: Likewise.
30475 * sunrpc/rpcsvc/rusers.x: Likewise.
30476 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30477 * sunrpc/rpcsvc/spray.x: Likewise.
30478 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30479 * sunrpc/rtime.c: Likewise.
30480 * sunrpc/svc.c: Likewise.
30481 * sunrpc/svc_auth.c: Likewise.
30482 * sunrpc/svc_authux.c: Likewise.
30483 * sunrpc/svc_raw.c: Likewise.
30484 * sunrpc/svc_run.c: Likewise.
30485 * sunrpc/svc_simple.c: Likewise.
30486 * sunrpc/svc_tcp.c: Likewise.
30487 * sunrpc/svc_udp.c: Likewise.
30488 * sunrpc/svc_unix.c: Likewise.
30489 * sunrpc/svcauth_des.c: Likewise.
30490 * sunrpc/xcrypt.c: Likewise.
30491 * sunrpc/xdr.c: Likewise.
30492 * sunrpc/xdr_array.c: Likewise.
30493 * sunrpc/xdr_float.c: Likewise.
30494 * sunrpc/xdr_mem.c: Likewise.
30495 * sunrpc/xdr_rec.c: Likewise.
30496 * sunrpc/xdr_ref.c: Likewise.
30497 * sunrpc/xdr_sizeof.c: Likewise.
30498 * sunrpc/xdr_stdio.c: Likewise.
30499
9da4bb31
UD
30500 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30501 handling.
30502
bdaa77bc
AS
305032010-08-19 Andreas Schwab <schwab@redhat.com>
30504
30505 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30506
fe2f79db
LM
305072010-08-19 Luis Machado <luisgpm@br.ibm.com>
30508
30509 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30510 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30511 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30512 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30513 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30514 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30515 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30516 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30517 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30518 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30519 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30520 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30521 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30522 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30523
b9b42ee0
AB
305242010-07-26 Anton Blanchard <anton@samba.org>
30525
30526 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30527 * malloc/arena.c (heap_trim): Likewise.
30528
1c06ba31
UD
305292010-08-16 Ulrich Drepper <drepper@redhat.com>
30530
30531 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30532 here. Not...
30533 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30534 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30535
f8392f40
L
305362010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30537
30538 * sysdeps/i386/elf/Makefile: New file.
30539
3162f12e
AS
305402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30541
30542 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30543 from fanotify_init.
30544 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30546
28c90b2c
UD
305472010-08-15 Ulrich Drepper <drepper@redhat.com>
30548
30549 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30550 of strncasecmp_l.
1feccb6c 30551 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 30552
ca6bb004
UD
305532010-08-14 Ulrich Drepper <drepper@redhat.com>
30554
e9f82e0d
UD
30555 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30556 strncase_l-nonascii.
30557 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30558 Add strncase_l-ssse3.
30559 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30560 * sysdeps/x86_64/strcmp.S: Likewise.
30561 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30562 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30563 * sysdeps/x86_64/strncase.S: New file.
30564 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30565 * sysdeps/x86_64/strncase_l.S: New file.
30566 * string/Makefile (strop-tests): Add strncasecmp.
30567 * string/test-strncasecmp.c: New file.
30568
30569 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30570 warning.
30571
ca6bb004
UD
30572 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30573 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30574
052fa7b3
AS
305752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30576
30577 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30578
962dba78
UD
305792010-08-12 Ulrich Drepper <drepper@redhat.com>
30580
30581 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30582 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30583 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30584
bebff237
AM
305852010-05-01 Alan Modra <amodra@gmail.com>
30586
30587 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30588 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30589 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30590 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30591 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30592 tidying. Don't tail-call __sigjmp_save for static lib.
30593 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30594 save location.
30595 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30596 (CALL_MCOUNT): Add eh info, and nop after bl.
30597 (TAIL_CALL_SYSCALL_ERROR): New macro.
30598 (PSEUDO_RET): Use it.
30599 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30600 Correct save location of integer regs and cr.
30601 (_dl_profile_resolve): Correct cr save location. Delete nops
30602 after bl when SHARED. Reduce cfi size a little by better
30603 placement of cfi directives.
30604 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30605 make a stack frame. Instead use parm save area as a temp.
30606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30607 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30609 Don't make a stack frame for parent, use parm save area.
30610 Increase child stack frame to 112 bytes. Don't save unused reg,
30611 and adjust reg usage. Set up cfi on error recovery and
30612 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30614 (__makecontext): Add dummy nop after jump to exit.
30615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30616 Use correct parm save area and cr save, reduce stack frame.
30617 Correct cfi for possible PSEUDO_RET frame setup.
30618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30619 Branch to local label emitted by PSEUDO_RET rather than
30620 __syscall_error.
30621
02637374
AS
306222010-08-12 Andreas Schwab <schwab@redhat.com>
30623
30624 [BZ #11904]
30625 * locale/programs/locale.c (print_assignment): New function.
30626 (show_locale_vars): Use it.
30627
c3e2f19b
UD
306282010-08-11 Ulrich Drepper <drepper@redhat.com>
30629
3cdaa6ad
UD
30630 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30631 field.
30632 (struct statfs64): Likewise.
30633 (_STATFS_F_FLAGS): Define.
30634 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30635 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30636 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30637 (ST_VALID): Define locally.
30638 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30639 __statvfs_getflags, use the provided value.
30640 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30641 __ASSUME_STATFS_F_FLAGS.
30642
754f7da3
UD
30643 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30644
10b3bedc
UD
30645 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30646 Add sys/fanotify.h.
30647 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30648 fanotify_mask for GLIBC_2.13.
30649 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30650 fanotify_init and fanotify_mark.
30651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30652 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30653
c08fb0d7
UD
30654 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30655 Add prlimit.
30656 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30657 prlimit64 for GLIBC_2.13.
30658 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30659 prlimit64.
30660 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30661 syscall.
30662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30663 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30664 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30665 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30666 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30667 add prlimit alias.
30668 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30669
15bac72b
UD
30670 [BZ #11903]
30671 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30672 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30673
c3e2f19b
UD
30674 * nss/Makefile: Add rules to build and run tst-nss-test1.
30675 * shlib-versions: Add entry for libnss_test1.
30676 * nss/nss_test1.c: New file.
30677 * nss/tst-nss-test1.c: New file.
30678
30679 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30680 (__nss_configure_lookup): Set appropriate entry in
30681 __nss_configure_lookup to true.
30682 * nss/nsswitch.h: Define enum with indeces of databases in
30683 databases and __nss_database_custom arrays. Declare
30684 __nss_database_custom.
30685 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30686 to avoid using nscd when custom rules are installed.
30687 * nss/getXXbyYY_r.c: Likewise.
30688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30689
30690 * nss/nss_files/files-parse.c: Whitespace fixes.
30691
f15ce4d8
UD
306922010-08-09 Ulrich Drepper <drepper@redhat.com>
30693
30694 [BZ #11883]
30695 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30696 * posix/fnmatch_loop.c: Likewise.
30697
d22e4cc9
AK
306982010-07-17 Andi Kleen <ak@linux.intel.com>
30699
30700 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30701 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30702 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30703 * Versions.def [GLIBC_2.13]: Add.
30704
805bc17d
UD
307052010-08-06 Ulrich Drepper <drepper@redhat.com>
30706
30707 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30708 Also fail if tpwd after pwuid call is NULL.
30709
5a42321d
ST
307102010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30711
30712 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30713 when converting to ms.
30714
fd3ebeda
ST
307152010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30716
30717 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30718 EOPNOTSUPP errors with ENOTTY.
30719 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30720 EOPNOTSUPP errors with ENOTTY.
30721
73507d3a
UD
307222010-07-31 Ulrich Drepper <drepper@redhat.com>
30723
30724 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30725 Add strcasecmp_l-ssse3.
30726 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30727 strcasecmp.
30728 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30729 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30730 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30731
fe36dd02
UD
307322010-07-30 Ulrich Drepper <drepper@redhat.com>
30733
66f6765a
UD
30734 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30735
42e08a54
UD
30736 * string/Makefile (strop-tests): Add strcasecmp.
30737 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30738 strcasecmp_l-nonascii.
30739 (gen-as-const-headers): Add locale-defines.sym.
30740 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30741 * sysdeps/x86_64/strcasecmp.S: New file.
30742 * sysdeps/x86_64/strcasecmp_l.S: New file.
30743 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30744 * sysdeps/x86_64/locale-defines.sym: New file.
30745 * string/test-strcasecmp.c: New file.
30746
fe36dd02
UD
30747 * string/test-strcasestr.c: Test both ends of the range of characters.
30748 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30749
48cbc0d6
RM
307502010-07-29 Roland McGrath <roland@redhat.com>
30751
76e6d6bc 30752 [BZ #11856]
48cbc0d6
RM
30753 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30754
880113d9
UD
307552010-07-27 Ulrich Drepper <drepper@redhat.com>
30756
30757 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30758 for ld.so.
30759
deb9cabb
AS
307602010-07-27 Andreas Schwab <schwab@redhat.com>
30761
30762 * manual/memory.texi (Malloc Tunable Parameters): Document
30763 M_PERTURB.
30764
1c7570ff
RM
307652010-07-26 Roland McGrath <roland@redhat.com>
30766
30767 [BZ #11840]
30768 * configure.in (-fgnu89-inline check): Set and substitute
30769 gnu89_inline, not libc_cv_gnu89_inline.
30770 * configure: Regenerated.
30771 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30772
24fb0f88
UD
307732010-07-26 Ulrich Drepper <drepper@redhat.com>
30774
30775 * string/test-strnlen.c: New file.
30776 * string/Makefile (strop-tests): Add strnlen.
30777 * string/tester.c (test_strnlen): Add a few more test cases.
30778 * string/tst-strlen.c: Better error reporting.
30779
30780 * sysdeps/x86_64/strnlen.S: New file.
30781
8e96b93a
UD
307822010-07-24 Ulrich Drepper <drepper@redhat.com>
30783
30784 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30785 lower-latency instructions.
30786
dbc676d4
UD
307872010-07-23 Ulrich Drepper <drepper@redhat.com>
30788
30789 * string/test-strcasestr.c: New file.
30790 * string/test-strstr.c: New file.
30791 * string/Makefile (strop-tests): Add strstr and strcasestr.
30792 * string/str-two-way.h: Don't undefine MAX.
30793 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30794
f6a31e0e
AS
307952010-07-21 Andreas Schwab <schwab@redhat.com>
30796
30797 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30798 strcasestr-nonascii.
30799 (CFLAGS-strcasestr-nonascii.c): Define.
30800 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30801 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30802 Remove unused attribute.
30803
5dbc3b6c
RM
308042010-07-20 Roland McGrath <roland@redhat.com>
30805
30806 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30807 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30808 ld.so.cache was broken. With it, there is no way to disable dsocaps
30809 like LD_HWCAP_MASK can disable hwcaps.
30810
23d101d8
EPM
308112010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30812
30813 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30814
cc9f2e47
UD
308152010-07-16 Ulrich Drepper <drepper@redhat.com>
30816
30817 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30818 call in strcasestr.
30819 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30820 __strcasestr_sse42_nonascii.
30821 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30822 strcasestr-nonascii.c.
30823 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30824
77c1b069
LM
308252010-06-15 Luis Machado <luisgpm@br.ibm.com>
30826
30827 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30828 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30829 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30830 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30831
440566c3
UD
308322010-07-09 Ulrich Drepper <drepper@redhat.com>
30833
30834 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30835 fcntl.
30836
5be9d05d
AS
308372010-07-06 Andreas Schwab <schwab@redhat.com>
30838
c30b7ee2 30839 [BZ #11577]
5be9d05d
AS
30840 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30841 dl_signal_cerror.
30842
8a492a67
UD
308432010-07-06 Ulrich Drepper <drepper@redhat.com>
30844
30845 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30846 _PC_PIPE_BUF using F_GETPIPE_SZ.
30847
713df3d5
RM
308482010-07-05 Roland McGrath <roland@redhat.com>
30849
30850 * manual/arith.texi (Rounding Functions): Fix rint description
30851 implicit in round description.
30852
702e8f14
UD
308532010-07-02 Ulrich Drepper <drepper@redhat.com>
30854
30855 * elf/Makefile: Fix linking for a few tests to make recent linker
30856 happy.
30857
52ed8be9
AS
308582010-06-30 Andreas Schwab <schwab@redhat.com>
30859
30860 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30861 $(common-objpfx)libc_nonshared.a.
30862
f47c9a11
LM
308632010-06-21 Luis Machado <luisgpm@br.ibm.com>
30864
30865 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30866 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30867 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30868 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30869 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30870 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30871 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30872 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30887 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30888 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30889 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30890 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30891 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30892 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30893 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30894 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30895 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30896 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30897 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30898 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30913
6fb8cbcb
L
309142010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30915
30916 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30917 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
30918 * string/memmove.c (memmove): Renamed to ...
30919 (MEMMOVE): ...this. Default to memmove.
30920 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30921 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30922 (END_CHK): Define.
30923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30924 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30925 mempcpy-ssse3-back memmove-ssse3-back.
30926 * sysdeps/x86_64/multiarch/bcopy.S: New file .
30927 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30928 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30929 * sysdeps/x86_64/multiarch/memcpy.S: New file.
30930 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30931 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30932 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30933 * sysdeps/x86_64/multiarch/memmove.c: New file.
30934 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30935 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30936 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30937 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30938 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30939 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30940 Define.
30941 (index_Fast_Copy_Backward): Define.
30942 (HAS_ARCH_FEATURE): Define.
30943 (HAS_FAST_REP_STRING): Define.
30944 (HAS_FAST_COPY_BACKWARD): Define.
30945
4e733bac 309462010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
30947
30948 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30949 Restore proper fallback handling.
30950
63c4ed22
UD
309512010-06-19 Ulrich Drepper <drepper@redhat.com>
30952
ac2b484c
UD
30953 [BZ #11701]
30954 * posix/group_member.c (__group_member): Correct checking loop.
30955
63c4ed22
UD
30956 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30957 OOM in getpwuid_r correctly. Return error number when the caller
30958 should return, otherwise -1.
30959 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30960 call returning > 0 value.
30961 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30962
765ade4b
AS
309632010-06-07 Andreas Schwab <schwab@redhat.com>
30964
30965 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30966 libc_nonshared.a from targets in modules-names.
30967
80da2e09
KS
309682010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30969
30970 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30971 requires it.
30972
158db122
LM
309732010-06-10 Luis Machado <luisgpm@br.ibm.com>
30974
30975 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30976 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30977 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30978 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30979
caa78cf8
AS
309802010-06-02 Andreas Schwab <schwab@redhat.com>
30981
30982 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30983
b2ef2c01
UD
309842010-06-14 Ulrich Drepper <drepper@redhat.com>
30985
30986 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30987 and F_GETPIPE_SZ.
30988 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30989 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30990 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30991 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30992 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30993 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30994
fbd643b6
RM
309952010-06-14 Roland McGrath <roland@redhat.com>
30996
30997 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30998
f32f2869
JJ
309992010-06-07 Jakub Jelinek <jakub@redhat.com>
31000
31001 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31002 __REDIRECT followed by __THROW.
31003 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31004 * posix/getopt.h (getopt): Likewise.
31005
2a50c078
EPM
310062010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31007
31008 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31009 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31010 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31011 in AT_FLAGS.
31012 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31013 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31014
eb5ad2eb
LM
310152010-05-28 Luis Machado <luisgpm@br.ibm.com>
31016
31017 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31018
3c88fe1e
L
310192010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31020
31021 [BZ #11640]
31022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31023 Properly check family and model.
31024
d2f73151
TY
310252010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31026
31027 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31028
ebd2e13d
LM
310292010-05-24 Luis Machado <luisgpm@br.ibm.com>
31030
31031 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31032
b32b8b45
UD
310332010-05-21 Ulrich Drepper <drepper@redhat.com>
31034
31035 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31036 symbol reference.
31037
9acbe24d
AS
310382010-05-19 Andreas Schwab <schwab@redhat.com>
31039
31040 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31041 symbol reference.
31042
f0ccf6ea
AS
310432010-05-21 Andreas Schwab <schwab@redhat.com>
31044
3d04ff3a
AS
31045 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31046 and internal_recvmmsg.
31047 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31048 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31049 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31050 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31051
f0ccf6ea
AS
31052 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31053 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31054 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31055
5b08ac57
AS
310562010-05-20 Andreas Schwab <schwab@redhat.com>
31057
31058 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31059
4828935d
LM
310602010-05-17 Luis Machado <luisgpm@br.ibm.com>
31061
31062 POWER7 optimizations.
31063 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31064 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31065
373d545e
UD
310662010-05-19 Ulrich Drepper <drepper@redhat.com>
31067
31068 * version.h: Update for 2.13 development version.
31069
21a2b1ae
AS
310702010-05-12 Andrew Stubbs <ams@codesourcery.com>
31071
31072 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31073 exceptions. Return 0.
31074
3f7dcb2b
RM
310752010-05-07 Roland McGrath <roland@redhat.com>
31076
31077 * elf/ldconfig.c (main): Add a const.
31078
5f24d53a 310792010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31080
a160f8d8
UD
31081 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31082 (args_options): Add no-idn option.
31083 (ahosts_keys_int): Add idn_flags to ai_flags.
31084 (parse_option): Handle 'i' option to clear idn_flags.
31085
5f24d53a
UD
31086 * malloc/malloc.c (_int_free): Possible race in the most recently
31087 added check. Only act on the data if no current modification
31088 happened.
265bb1ce
UD
31089
31090See ChangeLog.17 for earlier changes.
This page took 4.064101 seconds and 5 git commands to generate.