]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix leading whitespaces.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
350635a5
OB
12013-06-06 Ondřej Bílka <neleai@seznam.cz>
2
3 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4 * elf/sln.c: Likewise.
5 * hurd/hurd/ioctl.h: Likewise.
6 * hurd/hurdmalloc.c: Likewise.
7 * hurd/xattr.c: Likewise.
8 * include/shlib-compat.h: Likewise.
9 * inet/ruserpass.c: Likewise.
10 * libio/iofgets_u.c: Likewise.
11 * libio/iofgetws_u.c: Likewise.
12 * locale/programs/ld-identification.c: Likewise.
13 * locale/programs/ld-time.c: Likewise.
14 * mach/msg-destroy.c: Likewise.
15 * nss/nss_files/files-netgrp.c: Likewise.
16 * resolv/res_data.c: Likewise.
17 * soft-fp/op-1.h: Likewise.
18 * soft-fp/op-2.h: Likewise.
19 * soft-fp/op-4.h: Likewise.
20 * soft-fp/op-common.h: Likewise.
21 * stdio-common/printf_fphex.c: Likewise.
22 * stdlib/strtod_l.c: Likewise.
23 * sunrpc/rpc/clnt.h: Likewise.
24 * sysdeps/generic/framestate.c: Likewise.
25 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26 * sysdeps/i386/bsd-setjmp.S: Likewise.
27 * sysdeps/i386/__longjmp.S: Likewise.
28 * sysdeps/i386/setjmp.S: Likewise.
29 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
47 * sysdeps/ieee754/support.c: Likewise.
48 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
51 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
52 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
53 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
55 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
56 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
57 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
58 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
59 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
60 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
61 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
62 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
63 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
64 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
66
44a988af
OB
672013-06-05 Ondřej Bílka <neleai@seznam.cz>
68
25506f09 69 * posix/transbug.c: Remove executable mode.
44a988af 70
9c84384c
JM
712013-06-05 Joseph Myers <joseph@codesourcery.com>
72
73 * crypt/speeds.c: Remove trailing whitespace.
74 * dlfcn/default.c: Likewise.
75 * elf/ifuncdep2.c: Likewise.
76 * elf/ifuncmain1.c: Likewise.
77 * elf/ifuncmain1vis.c: Likewise.
78 * elf/testobj.h: Likewise.
79 * elf/tst-stackguard1.c: Likewise.
80 * gmon/sys/gmon.h: Likewise.
81 * hurd/hurdmsg.c: Likewise.
82 * hurd/new-fd.c: Likewise.
83 * hurd/ports-get.c: Likewise.
84 * iconvdata/ibm1008_420.c: Likewise.
85 * inet/tst-getni1.c: Likewise.
86 * inet/tst-getni2.c: Likewise.
87 * libio/ioungetc.c: Likewise.
88 * libio/wfiledoalloc.c: Likewise.
89 * manual/libm-err-tab.pl: Likewise.
90 * math/w_dremf.c: Likewise.
91 * misc/ftruncate.c: Likewise.
92 * posix/bug-glob2.c: Likewise.
93 * posix/tst-pcre.c: Likewise.
94 * posix/wait4.c: Likewise.
95 * resolv/README: Likewise.
96 * resolv/res_debug.h: Likewise.
97 * resolv/tst-inet_ntop.c: Likewise.
98 * setjmp/bug269-setjmp.c: Likewise.
99 * soft-fp/extended.h: Likewise.
100 * soft-fp/op-1.h: Likewise.
101 * soft-fp/op-2.h: Likewise.
102 * soft-fp/op-4.h: Likewise.
103 * soft-fp/op-8.h: Likewise.
104 * soft-fp/testit.c: Likewise.
105 * stdio-common/bug16.c: Likewise.
106 * stdlib/random.c: Likewise.
107 * sunrpc/rpcsvc/rquota.x: Likewise.
108 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
109 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
110 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
111 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
112 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
113 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
114 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
115 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
116 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
117 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
118 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
119 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
120 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
121 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
122 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
123 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
124 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
125 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
126 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
127 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
128 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
129 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
130 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
131 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
132 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
133 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
134 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
135 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
136 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
137 * sysdeps/ieee754/s_lib_version.c: Likewise.
138 * sysdeps/mach/hurd/check_fds.c: Likewise.
139 * sysdeps/mach/hurd/getsockname.c: Likewise.
140 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
141 * sysdeps/mach/hurd/recvfrom.c: Likewise.
142 * sysdeps/powerpc/bits/link.h: Likewise.
143 * sysdeps/powerpc/dl-procinfo.c: Likewise.
144 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
145 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
146 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
147 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
148 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
149 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
150 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
151 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
152 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
153 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
154 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
155 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
156 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
157 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
158 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
159 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
160 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
161 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
162 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
163 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
164 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
165 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
166 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
167 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
168 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
169 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
170 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
171 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
172 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
173 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
174 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
175 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
176 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
177 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
178 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
179 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
180 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
181 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
182 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
183 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
184 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
185 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
186 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
187 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
188 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
189 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
190 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
191 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
192 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
193 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
195 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
196 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
197 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
198 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
199 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
200 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
201 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
202 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
203 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
204 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
205 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
206 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
207 * sysdeps/powerpc/sysdep.h: Likewise.
208 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
209 * sysdeps/s390/s390-64/sub_n.S: Likewise.
210 * sysdeps/sh/dl-trampoline.S: Likewise.
211 * sysdeps/sh/memset.S: Likewise.
212 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
213 * sysdeps/sh/strlen.S: Likewise.
214 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
215 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
216 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
217 * sysdeps/sparc/sparc32/rem.S: Likewise.
218 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
219 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
220 * sysdeps/sparc/sparc32/strchr.S: Likewise.
221 * sysdeps/sparc/sparc32/udiv.S: Likewise.
222 * sysdeps/sparc/sparc32/urem.S: Likewise.
223 * sysdeps/sparc/sparc64/add_n.S: Likewise.
224 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
225 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
226 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
227 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
228 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
229 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
230 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
231 * sysdeps/unix/bsd/times.c: Likewise.
232 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
233 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
237 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
238 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
239 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
240 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
241 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
242 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
243 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
244 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
245 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
246 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
247 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
248 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
249 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
250 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
251 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
252 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
253 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
254 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
255 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
256 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
257 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
258 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
259 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
260 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
261 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
262 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
263 * sysdeps/x86_64/strcspn.S: Likewise.
264
869378a5
RA
2652013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
266
267 * locale/C-translit.h: Revert #include <stdint.h> because this is a
268 generated file. Regenerate properly from gen-translit.pl.
269 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
270 locale/C-translit.h.
271
840e2943
AS
2722013-06-05 Andreas Schwab <schwab@suse.de>
273
274 [BZ #15100]
275 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
276 week as 6 instead of -1.
277 * time/tst-strptime.c (day_tests): Add test case.
278
4c60cb0c
SP
2792013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
280
281 * sysdeps/generic/math_private.h
282 (libc_feholdexcept_setround_53bit): Replace with
283 libc_feholdsetround_53bit.
284 (libc_feupdateenv_53bit): Replace with
285 libc_feresetround_53bit.
286 (SET_RESTORE_ROUND_53BIT): Adjust.
287
d180203e
SP
2882013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
289
96df079a
SP
290 * string/test-strchrnul.c: Add copyright header.
291
d180203e
SP
292 * posix/tst-getaddrinfo4.c: Increase test timeout.
293
8b0ccb2d
CD
2942013-06-03 Carlos O'Donell <carlos@redhat.com>
295
296 [BZ #15536]
297 * math/libm-test.inc (MAX_EXP): Remove
298 (MIN_EXP): Define.
299 (ulp): Use MIN_EXP - MANT_DIG.
300 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
301
3b3c4d40
CD
3022013-05-31 Carlos O'Donell <carlos@redhat.com>
303
304 * po/be.po: Revert last change.
305 * po/zh_CN.po: Likewise.
306 * po/header.pot: Likewise.
307
fab7ce3f
JM
3082013-05-31 Joseph Myers <joseph@codesourcery.com>
309
310 * Makefile ($(common-objpfx)linkobj/libc.so): Define
311 link-libc-deps to empty as target-specific variable.
312 * Makerules (link-libc-args): New variable.
313 (libc-for-link): Likewise.
314 (link-libc-deps): Likewise.
315 (lib%.so): Depend on $(link-libc-deps). Link with
316 $(link-libc-args).
317 (build-module): Link with $(link-libc-args).
318 (build-module-asneeded): Likewise.
319 (build-module-helper-objlist): Filter out $(link-libc-deps) from
320 list of objects.
321 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
322 target-specific variable.
323 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
324 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
325 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
326 libc.
327 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
328 libc and ld.so.
329 ($(objpfx)libpcprofile.so): Likewise.
330 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
331 libc_nonshared.a.
332 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
333 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
334 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
335 $(link-libc-deps).
336 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
337 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
338 * login/Makefile ($(objpfx)libutil.so): Likewise.
339 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
340 * math/Makefile ($(objpfx)libm.so): Likewise.
341 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
342 $(objpfx)libnsl.so): Define libc-for-link as target-specific
343 variable instead of depending directly on libc.
344 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
345 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
346 $(link-libc-deps).
347 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
348 libc.
349 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
350 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
351 ($(objpfx)libanl.so): Likewise.
352 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
353 ld.so.
354 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
355 $(link-libc-deps).
356 * sysdeps/i386/fpu/Makefile: Remove file.
357 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
358 ($(objpfx)libm.so): Remove dependency on ld.so.
359
eca5920c
PF
3602013-05-30 Patsy Franklin <pfrankli@redhat.com>
361
362 [BZ # 15553]
363 * nis/yp_xdr.c (XDRMAXNAME): Define.
364 (XDRMAXRECORD): Define.
365 (xdr_domainname): Use XDRMAXNAME.
366 (xdr_mapname): Likewise.
367 (xdr_peername): Likewise.
368 (xdr_keydat): Use XDRMAXRECORD.
369 (xdr_valdat): Likewise.
370
3712013-05-30 Jeff Law <law@redhat.com>
96945714
JL
372
373 [BZ #14256]
374 * manual/errno.texi (ESTALE): Update to account for more than
375 just NFS file systems.
376 * sysdeps/gnu/errlist.c: Regenerated.
377
b9375348
SP
3782013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
379
380 [BZ #15465]
381 * elf/Makefile (tests): Add tst-null-argv.
382 (modules-names): Add tst-null-argv-lib.
383 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
384 (tst-null-argv-ENV): Set environment for tst-null-argv.
385 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
386 (RTLD_PROGNAME): New macro.
387 * elf/tst-null-argv.c: New test case.
388 * elf/tst-null-argv-lib.c: Library for test case.
389 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
390 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
391 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
392 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
393 * elf/dl-init.c (call_init): Likewise.
394 (_dl_init): Likewise.
395 * elf/dl-load.c (print_search_path): Likewise.
396 (_dl_map_object): Likewise.
397 * elf/dl-lookup.c (do_lookup_x): Likewise.
398 (add_dependency): Likewise.
399 (_dl_lookup_symbol_x): Likewise.
400 (_dl_debug_bindings): Likewise.
401 * elf/dl-open.c (_dl_show_scope): Likewise.
402 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
403 * elf/dl-version.c (match_symbol): Likewise.
404 (_dl_check_map_versions): Likewise.
405 * elf/rtld.c (dl_main): Likewise.
406 (print_unresolved): Use RTLD_PROGNAME.
407 (print_missing_version): Likewise.
408 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
409 (elf_machine_rela): Likewise.
410 * sysdeps/powerpc/powerpc32/dl-machine.c
411 (__process_machine_rela): Likewise.
412 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
413 Likewise.
414 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
415 Likewise.
416 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
417 Likewise.
418 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
419 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
420 Likewise.
421 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
422 Likewise.
423 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
424
8a9f20c8
CD
4252013-05-28 Carlos O'Donell <carlos@redhat.com>
426
427 * po/be.po: Add descriptive title.
428 * po/zh_CN.po: Likewise.
429 * po/header.pot: Likewise.
430
0e60d68e
MF
4312013-05-28 Mike Frysinger <vapier@gentoo.org>
432
433 * locale/programs/locarchive.c (create_archive): Inlucde fname in
434 error message.
435 (enlarge_archive): Likewise.
436
56b672e9
BN
4372013-05-28 Ben North <ben@redfrontdoor.org>
438
439 * manual/arith.texi (frexp): It is the magnitude of the return
440 value which lies in [0.5, 1), not the return value itself.
441
5e056687
AZ
4422013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
443
444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
445
2b66ef5d
TS
4462013-05-26 Thomas Schwinge <thomas@codesourcery.com>
447
528c2405
TS
448 * stdio-common/bug26.c (main): Correct fscanf template.
449
07b4c13d
TS
450 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
451 declare _dl_skip_args.
452
ec9dd97c
TS
453 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
454 Don't declare.
455
2b66ef5d
TS
456 * manual/platform.texi: Add missing @end deftypefun.
457
4f8dfe27
JM
4582013-05-24 Joseph Myers <joseph@codesourcery.com>
459
0323d086
JM
460 [BZ #15529]
461 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
462 bit of mantissa of 2^16382.
463 * math/libm-test.inc (hypot_test_data): Add more tests.
464
dd4259b9
JM
465 * math/libm-test.inc: Add drem and pow10 to list of tested
466 functions.
467 (pow10_test): New function.
468 (drem_test): Likewise.
469 (drem_test_tonearest): Likewise.
470 (drem_test_towardzero): Likewise.
471 (drem_test_downward): Likewise.
472 (drem_test_upward): Likewise.
473 (main): Call the new functions.
474
4f8dfe27
JM
475 * math/libm-test.inc (finite_test_data): Remove.
476 (finite_test): Run tests from isfinite_test_data.
477 (gamma_test_data): Remove.
478 (gamma_test): Run tests from lgamma_test_data.
479 * sysdeps/i386/fpu/libm-test-ulps: Update.
480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
481
d116b7c4
AZ
4822013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
483
484 * manual/platform.texi: Add PowerPC PPR function set documentation.
485 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
486 implementation.
487
e96e3767
CD
4882013-05-24 Carlos O'Donell <carlos@redhat.com>
489
490 * math/libm-test.inc (MAX_EXP): Define.
491 (ULPDIFF): Define.
492 (ulp): New function.
493 (check_float_internal): Use ULPDIFF.
494 (cpow_test): Disable failing test.
495 (check_ulp): Test ulp() implemetnation.
496 (main): Call check_ulp before starting tests.
497
b679a606
JM
4982013-05-24 Joseph Myers <joseph@codesourcery.com>
499
e8bdba36
JM
500 * math/gen-libm-test.pl (generate_testfile): Do not handle
501 START_DATA and END_DATA.
502 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
503 END_DATA.
504 (acos_tonearest_test_data): Likewise.
505 (acos_towardzero_test_data): Likewise.
506 (acos_downward_test_data): Likewise.
507 (acos_upward_test_data): Likewise.
508 (acosh_test_data): Likewise.
509 (asin_test_data): Likewise.
510 (asin_tonearest_test_data): Likewise.
511 (asin_towardzero_test_data): Likewise.
512 (asin_downward_test_data): Likewise.
513 (asin_upward_test_data): Likewise.
514 (asinh_test_data): Likewise.
515 (atan_test_data): Likewise.
516 (atanh_test_data): Likewise.
517 (atan2_test_data): Likewise.
518 (cabs_test_data): Likewise.
519 (cacos_test_data): Likewise.
520 (cacosh_test_data): Likewise.
521 (carg_test_data): Likewise.
522 (casin_test_data): Likewise.
523 (casinh_test_data): Likewise.
524 (catan_test_data): Likewise.
525 (catanh_test_data): Likewise.
526 (cbrt_test_data): Likewise.
527 (ccos_test_data): Likewise.
528 (ccosh_test_data): Likewise.
529 (ceil_test_data): Likewise.
530 (cexp_test_data): Likewise.
531 (cimag_test_data): Likewise.
532 (clog_test_data): Likewise.
533 (clog10_test_data): Likewise.
534 (conj_test_data): Likewise.
535 (copysign_test_data): Likewise.
536 (cos_test_data): Likewise.
537 (cos_tonearest_test_data): Likewise.
538 (cos_towardzero_test_data): Likewise.
539 (cos_downward_test_data): Likewise.
540 (cos_upward_test_data): Likewise.
541 (cosh_test_data): Likewise.
542 (cosh_tonearest_test_data): Likewise.
543 (cosh_towardzero_test_data): Likewise.
544 (cosh_downward_test_data): Likewise.
545 (cosh_upward_test_data): Likewise.
546 (cpow_test_data): Likewise.
547 (cproj_test_data): Likewise.
548 (creal_test_data): Likewise.
549 (csin_test_data): Likewise.
550 (csinh_test_data): Likewise.
551 (csqrt_test_data): Likewise.
552 (ctan_test_data): Likewise.
553 (ctan_tonearest_test_data): Likewise.
554 (ctan_towardzero_test_data): Likewise.
555 (ctan_downward_test_data): Likewise.
556 (ctan_upward_test_data): Likewise.
557 (ctanh_test_data): Likewise.
558 (ctanh_tonearest_test_data): Likewise.
559 (ctanh_towardzero_test_data): Likewise.
560 (ctanh_downward_test_data): Likewise.
561 (ctanh_upward_test_data): Likewise.
562 (erf_test_data): Likewise.
563 (erfc_test_data): Likewise.
564 (exp_test_data): Likewise.
565 (exp_tonearest_test_data): Likewise.
566 (exp_towardzero_test_data): Likewise.
567 (exp_downward_test_data): Likewise.
568 (exp_upward_test_data): Likewise.
569 (exp10_test_data): Likewise.
570 (exp2_test_data): Likewise.
571 (expm1_test_data): Likewise.
572 (fabs_test_data): Likewise.
573 (fdim_test_data): Likewise.
574 (finite_test_data): Likewise.
575 (floor_test_data): Likewise.
576 (fma_test_data): Likewise.
577 (fma_towardzero_test_data): Likewise.
578 (fma_downward_test_data): Likewise.
579 (fma_upward_test_data): Likewise.
580 (fmax_test_data): Likewise.
581 (fmin_test_data): Likewise.
582 (fmod_test_data): Likewise.
583 (fpclassify_test_data): Likewise.
584 (frexp_test_data): Likewise.
585 (gamma_test_data): Likewise.
586 (hypot_test_data): Likewise.
587 (ilogb_test_data): Likewise.
588 (isfinite_test_data): Likewise.
589 (isgreater_test_data): Likewise.
590 (isgreaterequal_test_data): Likewise.
591 (isinf_test_data): Likewise.
592 (isless_test_data): Likewise.
593 (islessequal_test_data): Likewise.
594 (islessgreater_test_data): Likewise.
595 (isnan_test_data): Likewise.
596 (isnormal_test_data): Likewise.
597 (issignaling_test_data): Likewise.
598 (isunordered_test_data): Likewise.
599 (j0_test_data): Likewise.
600 (j1_test_data): Likewise.
601 (jn_test_data): Likewise.
602 (ldexp_test_data): Likewise.
603 (lgamma_test_data): Likewise.
604 (lrint_test_data): Likewise.
605 (lrint_tonearest_test_data): Likewise.
606 (lrint_towardzero_test_data): Likewise.
607 (lrint_downward_test_data): Likewise.
608 (lrint_upward_test_data): Likewise.
609 (llrint_test_data): Likewise.
610 (llrint_tonearest_test_data): Likewise.
611 (llrint_towardzero_test_data): Likewise.
612 (llrint_downward_test_data): Likewise.
613 (llrint_upward_test_data): Likewise.
614 (log_test_data): Likewise.
615 (log10_test_data): Likewise.
616 (log1p_test_data): Likewise.
617 (log2_test_data): Likewise.
618 (logb_test_data): Likewise.
619 (logb_downward_test_data): Likewise.
620 (lround_test_data): Likewise.
621 (llround_test_data): Likewise.
622 (modf_test_data): Likewise.
623 (nearbyint_test_data): Likewise.
624 (nextafter_test_data): Likewise.
625 (nexttoward_test_data): Likewise.
626 (pow_test_data): Likewise.
627 (pow_tonearest_test_data): Likewise.
628 (pow_towardzero_test_data): Likewise.
629 (pow_downward_test_data): Likewise.
630 (pow_upward_test_data): Likewise.
631 (remainder_test_data): Likewise.
632 (remainder_tonearest_test_data): Likewise.
633 (remainder_towardzero_test_data): Likewise.
634 (remainder_downward_test_data): Likewise.
635 (remainder_upward_test_data): Likewise.
636 (remquo_test_data): Likewise.
637 (rint_test_data): Likewise.
638 (rint_tonearest_test_data): Likewise.
639 (rint_towardzero_test_data): Likewise.
640 (rint_downward_test_data): Likewise.
641 (rint_upward_test_data): Likewise.
642 (round_test_data): Likewise.
643 (scalb_test_data): Likewise.
644 (scalbn_test_data): Likewise.
645 (scalbln_test_data): Likewise.
646 (signbit_test_data): Likewise.
647 (sin_test_data): Likewise.
648 (sin_tonearest_test_data): Likewise.
649 (sin_towardzero_test_data): Likewise.
650 (sin_downward_test_data): Likewise.
651 (sin_upward_test_data): Likewise.
652 (sincos_test_data): Likewise.
653 (sinh_test_data): Likewise.
654 (sinh_tonearest_test_data): Likewise.
655 (sinh_towardzero_test_data): Likewise.
656 (sinh_downward_test_data): Likewise.
657 (sinh_upward_test_data): Likewise.
658 (sqrt_test_data): Likewise.
659 (tan_test_data): Likewise.
660 (tan_tonearest_test_data): Likewise.
661 (tan_towardzero_test_data): Likewise.
662 (tan_downward_test_data): Likewise.
663 (tan_upward_test_data): Likewise.
664 (tanh_test_data): Likewise.
665 (tgamma_test_data): Likewise.
666 (trunc_test_data): Likewise.
667 (y0_test_data): Likewise.
668 (y1_test_data): Likewise.
669 (yn_test_data): Likewise.
670 (significand_test_data): Likewise.
671
b679a606
JM
672 * math/gen-libm-test.pl (@functions): Remove variable.
673 (generate_testfile): Don't handle START and END lines.
674 * math/libm-test.inc (START): New macro.
675 (END): Likewise.
676 (END_COMPLEX): Likewise.
677 (acos_test): Use END macro without arguments.
678 (acos_test_tonearest): Likewise.
679 (acos_test_towardzero): Likewise.
680 (acos_test_downward): Likewise.
681 (acos_test_upward): Likewise.
682 (acosh_test): Likewise.
683 (asin_test): Likewise.
684 (asin_test_tonearest): Likewise.
685 (asin_test_towardzero): Likewise.
686 (asin_test_downward): Likewise.
687 (asin_test_upward): Likewise.
688 (asinh_test): Likewise.
689 (atan_test): Likewise.
690 (atanh_test): Likewise.
691 (atan2_test): Likewise.
692 (cabs_test): Likewise.
693 (cacos_test): Use END_COMPLEX macro without arguments.
694 (cacosh_test): Likewise.
695 (carg_test): Use END macro without arguments.
696 (casin_test): Use END_COMPLEX macro without arguments.
697 (casinh_test): Likewise.
698 (catan_test): Likewise.
699 (catanh_test): Likewise.
700 (cbrt_test): Use END macro without arguments.
701 (ccos_test): Use END_COMPLEX macro without arguments.
702 (ccosh_test): Likewise.
703 (ceil_test): Use END macro without arguments.
704 (cexp_test): Use END_COMPLEX macro without arguments.
705 (cimag_test): Use END macro without arguments.
706 (clog_test): Use END_COMPLEX macro without arguments.
707 (clog10_test): Likewise.
708 (conj_test): Likewise.
709 (copysign_test): Use END macro without arguments.
710 (cos_test): Likewise.
711 (cos_test_tonearest): Likewise.
712 (cos_test_towardzero): Likewise.
713 (cos_test_downward): Likewise.
714 (cos_test_upward): Likewise.
715 (cosh_test): Likewise.
716 (cosh_test_tonearest): Likewise.
717 (cosh_test_towardzero): Likewise.
718 (cosh_test_downward): Likewise.
719 (cosh_test_upward): Likewise.
720 (cpow_test): Use END_COMPLEX macro without arguments.
721 (cproj_test): Likewise.
722 (creal_test): Use END macro without arguments.
723 (csin_test): Use END_COMPLEX macro without arguments.
724 (csinh_test): Likewise.
725 (csqrt_test): Likewise.
726 (ctan_test): Likewise.
727 (ctan_test_tonearest): Likewise.
728 (ctan_test_towardzero): Likewise.
729 (ctan_test_downward): Likewise.
730 (ctan_test_upward): Likewise.
731 (ctanh_test): Likewise.
732 (ctanh_test_tonearest): Likewise.
733 (ctanh_test_towardzero): Likewise.
734 (ctanh_test_downward): Likewise.
735 (ctanh_test_upward): Likewise.
736 (erf_test): Use END macro without arguments.
737 (erfc_test): Likewise.
738 (exp_test): Likewise.
739 (exp_test_tonearest): Likewise.
740 (exp_test_towardzero): Likewise.
741 (exp_test_downward): Likewise.
742 (exp_test_upward): Likewise.
743 (exp10_test): Likewise.
744 (exp2_test): Likewise.
745 (expm1_test): Likewise.
746 (fabs_test): Likewise.
747 (fdim_test): Likewise.
748 (finite_test): Likewise.
749 (floor_test): Likewise.
750 (fma_test): Likewise.
751 (fma_test_towardzero): Likewise.
752 (fma_test_downward): Likewise.
753 (fma_test_upward): Likewise.
754 (fmax_test): Likewise.
755 (fmin_test): Likewise.
756 (fmod_test): Likewise.
757 (fpclassify_test): Likewise.
758 (frexp_test): Likewise.
759 (gamma_test): Likewise.
760 (hypot_test): Likewise.
761 (ilogb_test): Likewise.
762 (isfinite_test): Likewise.
763 (isgreater_test): Likewise.
764 (isgreaterequal_test): Likewise.
765 (isinf_test): Likewise.
766 (isless_test): Likewise.
767 (islessequal_test): Likewise.
768 (islessgreater_test): Likewise.
769 (isnan_test): Likewise.
770 (isnormal_test): Likewise.
771 (issignaling_test): Likewise.
772 (isunordered_test): Likewise.
773 (j0_test): Likewise.
774 (j1_test): Likewise.
775 (jn_test): Likewise.
776 (ldexp_test): Likewise.
777 (lgamma_test): Likewise.
778 (lrint_test): Likewise.
779 (lrint_test_tonearest): Likewise.
780 (lrint_test_towardzero): Likewise.
781 (lrint_test_downward): Likewise.
782 (lrint_test_upward): Likewise.
783 (llrint_test): Likewise.
784 (llrint_test_tonearest): Likewise.
785 (llrint_test_towardzero): Likewise.
786 (llrint_test_downward): Likewise.
787 (llrint_test_upward): Likewise.
788 (log_test): Likewise.
789 (log10_test): Likewise.
790 (log1p_test): Likewise.
791 (log2_test): Likewise.
792 (logb_test): Likewise.
793 (logb_test_downward): Likewise.
794 (lround_test): Likewise.
795 (llround_test): Likewise.
796 (modf_test): Likewise.
797 (nearbyint_test): Likewise.
798 (nextafter_test): Likewise.
799 (nexttoward_test): Likewise.
800 (pow_test): Likewise.
801 (pow_test_tonearest): Likewise.
802 (pow_test_towardzero): Likewise.
803 (pow_test_downward): Likewise.
804 (pow_test_upward): Likewise.
805 (remainder_test): Likewise.
806 (remainder_test_tonearest): Likewise.
807 (remainder_test_towardzero): Likewise.
808 (remainder_test_downward): Likewise.
809 (remainder_test_upward): Likewise.
810 (remquo_test): Likewise.
811 (rint_test): Likewise.
812 (rint_test_tonearest): Likewise.
813 (rint_test_towardzero): Likewise.
814 (rint_test_downward): Likewise.
815 (rint_test_upward): Likewise.
816 (round_test): Likewise.
817 (scalb_test): Likewise.
818 (scalbn_test): Likewise.
819 (scalbln_test): Likewise.
820 (signbit_test): Likewise.
821 (sin_test): Likewise.
822 (sin_test_tonearest): Likewise.
823 (sin_test_towardzero): Likewise.
824 (sin_test_downward): Likewise.
825 (sin_test_upward): Likewise.
826 (sincos_test): Likewise.
827 (sinh_test): Likewise.
828 (sinh_test_tonearest): Likewise.
829 (sinh_test_towardzero): Likewise.
830 (sinh_test_downward): Likewise.
831 (sinh_test_upward): Likewise.
832 (sqrt_test): Likewise.
833 (tan_test): Likewise.
834 (tan_test_tonearest): Likewise.
835 (tan_test_towardzero): Likewise.
836 (tan_test_downward): Likewise.
837 (tan_test_upward): Likewise.
838 (tanh_test): Likewise.
839 (tgamma_test): Likewise.
840 (trunc_test): Likewise.
841 (y0_test): Likewise.
842 (y1_test): Likewise.
843 (yn_test): Likewise.
844 (significand_test): Likewise.
845
bae143d2
OB
8462013-05-24 Ondřej Bílka <neleai@seznam.cz>
847
848 [BZ #15381]
849 * libio/genops.c (_IO_no_init): Initialize wide struct info.
850
9323d39b
EM
8512013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
852
d4ea44a0 853 [BZ #14894]
9323d39b
EM
854 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
855 __ppc_mdoio and __ppc_mdoom.
856 * manual/platform.texi: Document new functions __ppc_yield,
857 __ppc_mdoio and __ppc_mdoom.
858
13e23af7
CD
8592013-05-22 Carlos O'Donell <carlos@redhat.com>
860
861 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
862 (main): Mention "tls" pseudo-hwcap is legacy.
863 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
864
351fe550
JM
8652013-05-22 Joseph Myers <joseph@codesourcery.com>
866
867 * math/gen-libm-test.pl (parse_args): Output only string of
868 arguments as text for test name, not full call or descriptions of
869 tests for extra outputs.
870 (generate_testfile): Do not pass function name to parse_args.
871 Generate this_func variable from START.
872 * math/libm-test.inc (struct test_f_f_data): Rename test_name
873 field to arg_str.
874 (struct test_ff_f_data): Likewise.
875 (test_ff_f_data_nexttoward): Likewise.
876 (struct test_fi_f_data): Likewise.
877 (struct test_fl_f_data): Likewise.
878 (struct test_if_f_data): Likewise.
879 (struct test_fff_f_data): Likewise.
880 (struct test_c_f_data): Likewise.
881 (struct test_f_f1_data): Likewise. Remove field extra_name.
882 (struct test_fF_f1_data): Likewise.
883 (struct test_ffI_f1_data): Likewise.
884 (struct test_c_c_data): Rename test_name field to arg_str.
885 (struct test_cc_c_data): Likewise.
886 (struct test_f_i_data): Likewise.
887 (struct test_ff_i_data): Likewise.
888 (struct test_f_l_data): Likewise.
889 (struct test_f_L_data): Likewise.
890 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
891 and extra2_name.
892 (COMMON_TEST_SETUP): New macro.
893 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
894 (COMMON_TEST_CLEANUP): Likewise.
895 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
896 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
897 macros.
898 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
899 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
900 macros.
901 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
902 (RUN_TEST_fff_f): Take argument string. Call new setup and
903 cleanup macros.
904 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
905 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
906 macros.
907 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
908 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
909 macros.
910 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
911 (RUN_TEST_fF_f1): Take argument string. Call new setup and
912 cleanup macros.
913 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
914 (RUN_TEST_fI_f1): Take argument string. Call new setup and
915 cleanup macros.
916 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
917 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
918 cleanup macros.
919 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
920 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
921 macros.
922 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
923 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
924 macros.
925 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
926 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
927 macros.
928 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
929 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
930 cleanup macros.
931 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
932 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
933 cleanup macros.
934 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
935 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
936 macros.
937 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
938 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
939 cleanup macros.
940 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
941 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
942 macros.
943 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
944 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
945 macros.
946 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
947 (RUN_TEST_fFF_11): Take argument string. Call new setup and
948 cleanup macros.
949 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
950
85118d4d
EBM
9512013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
952
953 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
954 to _sifields.sigfault.
955 (si_addr_lsb): Define new macro.
956 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
957 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
958 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
959
7a44c18f
CD
9602013-05-03 Carlos O'Donell <carlos at redhat.com>
961
962 [BZ #15441]
963 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
964 returns -1.
965 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
966 null return -1.
967 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
968 loading the domain.
969
b50a7181
JM
9702013-05-22 Joseph Myers <joseph@codesourcery.com>
971
972 * math/gen-libm-test.pl (parse_args): Do not include expected
973 result in test name.
974 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
975 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
976 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
977 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
978 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
980
051063c8
SP
9812013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
982
3ce9e010
SP
983 * benchtests/Makefile: Sort function entries.
984
051063c8
SP
985 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
986 tanh, asinh, acosh, atanh.
987 * benchtests/acos-inputs: New file.
988 * benchtests/acosh-inputs: New file.
989 * benchtests/asin-inputs: New file.
990 * benchtests/asinh-inputs: New file.
991 * benchtests/atanh-inputs: New file.
992 * benchtests/cosh-inputs: New file.
993 * benchtests/log-inputs: New file.
994 * benchtests/sinh-inputs: New file.
995 * benchtests/tanh-inputs: New file.
996
47c22455
DL
9972013-05-21 Dmitry V. Levin <ldv@altlinux.org>
998
999 [BZ #15339]
1000 * posix/tst-getaddrinfo4.c: New test.
1001 * posix/Makefile (tests): Add it.
1002
3d04f5db
SP
10032013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1004
1005 [BZ #15339]
1006 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1007 when no services were used.
1008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1009 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1010
d5dd6189
AS
10112013-05-21 Andreas Schwab <schwab@suse.de>
1012
1013 [BZ #15014]
1014 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1015 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1016 successful.
1017 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1018 redundant variable declarations and reallocation of buffer when
1019 parsing as IPv6 address. Always set NSS status when called from
1020 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1021 buffer too small. Correct computation of needed size.
1022 * nss/Makefile (tests): Add test-digits-dots.
1023 * nss/test-digits-dots.c: New test.
1024
fef94eab
SP
10252013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1026
1027 * benchtests/Makefile: Remove instructions for adding
1028 benchmark tests.
1029 * benchtests/README: New file to explain how to execute and
1030 enhance the benchmark tests.
1031
e39adf43
AS
10322013-05-21 Andreas Schwab <schwab@suse.de>
1033
1034 [BZ #15493]
1035 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1036 * setjmp/tst-sigsetjmp.c: New test.
1037
b2b671b6
OB
10382013-05-20 Ondřej Bílka <neleai@seznam.cz>
1039
1040 * sysdeps/x86_64/memset.S (memset): New implementation.
1041 (__bzero): Likewise.
1042 (__memset_tail): New function.
1043
2d48b41c
OB
10442013-05-20 Ondřej Bílka <neleai@seznam.cz>
1045
1046 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1047 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1048 __memcpy_sse2_unaligned ifunc selection.
1049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1050 Add memcpy-sse2-unaligned.S.
1051 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1052 Add: __memcpy_sse2_unaligned.
1053
f16cc3eb
JM
10542013-05-19 Joseph Myers <joseph@codesourcery.com>
1055
3e694268
JM
1056 [BZ #15490]
1057 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1058 math_force_eval before restoring floating-point envrionment.
1059 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1060 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1061 Likewise.
1062 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1063 <math_private.h>.
1064 (__nearbyintl): Use math_force_eval before restoring
1065 floating-point environment.
1066 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1067
db62a907
JM
1068 * math/gen-libm-test.pl (special_functions): Remove.
1069 (parse_args): Don't handle TEST_extra. Handle functions with no
1070 return value.
1071 * math/libm-test.inc (struct test_sincos_data): Replace with
1072 struct test_fFF_11_data.
1073 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1074 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1075 (sincos_test_data): Change element type to struct
1076 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1077 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1078 RUN_TEST_LOOP_sincos.
1079 * math/README.libm-test: Don't mention special handling of
1080 individual functions.
1081 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1082 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1083 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1084 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1085 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1087
f16cc3eb
JM
1088 * math/gen-libm-test.pl (get_variable): Remove function.
1089 (parse_args): Don't show pointer parameters to call in test
1090 names. Use "extra output N" in test names for extra outputs
1091 rather than naming variables.
1092
3779b5b6
JM
10932013-05-18 Joseph Myers <joseph@codesourcery.com>
1094
2ee094ff
JM
1095 [BZ #15488]
1096 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1097 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1098 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1099 double tests.
1100 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1101 disable.
1102 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1103 check_long_double.
1104
3779b5b6
JM
1105 * math/gen-libm-test.pl (@tests): Remove variable.
1106 ($count): Likewise.
1107 (new_test): Remove function.
1108 (show_exceptions): New function.
1109 (special_functions): Use show_exceptions instead of new_test.
1110 (parse_args): Likewise.
1111 (generate_testfile): Pass only function name in generated call to
1112 print_max_error or print_complex_max_error.
1113 (get_ulps): Do not handle complex tests specially.
1114 (output_test): Rename to ...
1115 (get_all_ulps_for_test): ... this. Return a string rather than
1116 printing to a file. Require ulps to be present.
1117 (output_ulps): Generate arrays rather than #defines.
1118 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1119 (struct ulp_data): New type.
1120 (BUILD_COMPLEX_ULP): Remove macro.
1121 (compare_ulp_data): New function.
1122 (find_ulps): Likewise.
1123 (find_test_ulps): Likewise.
1124 (find_function_ulps): Likewise.
1125 (find_complex_function_ulps): Likewise.
1126 (print_max_error): Determine allowed ulps using
1127 find_function_ulps.
1128 (print_complex_max_error): Determine allowed ulps using
1129 find_complex_function_ulps.
1130 (check_float_internal): Determine max ulps using find_test_ulps.
1131 (check_float): Do not take max_ulp parameter. Update call to
1132 check_float_internal.
1133 (check_complex): Likewise.
1134 (check_int): Do not take max_ulp parameter.
1135 (check_long): Likewise.
1136 (check_bool): Likewise.
1137 (check_longlong): Likewise.
1138 (struct test_f_f_data): Remove max_ulp field.
1139 (struct test_ff_f_data): Likewise.
1140 (struct test_ff_f_data_nexttoward): Likewise.
1141 (struct test_fi_f_data): Likewise.
1142 (struct test_fl_f_data): Likewise.
1143 (struct test_if_f_data): Likewise.
1144 (struct test_fff_f_data): Likewise.
1145 (struct test_c_f_data): Likewise.
1146 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1147 (struct test_fF_f1_data): Likewise.
1148 (struct test_ffI_f1_data): Likewise.
1149 (struct test_c_c_data): Remove max_ulp field.
1150 (struct test_cc_c_data): Likewise.
1151 (struct test_f_i_data): Likewise.
1152 (struct test_ff_i_data): Likewise.
1153 (struct test_f_l_data): Likewise.
1154 (struct test_f_L_data): Likewise.
1155 (struct test_sincos_data): Likewise.
1156 (RUN_TEST_f_f): Do not handle ulps.
1157 (RUN_TEST_LOOP_f_f): Likewise.
1158 (RUN_TEST_2_f): Likewise.
1159 (RUN_TEST_LOOP_2_f): Likewise.
1160 (RUN_TEST_fff_f): Likewise.
1161 (RUN_TEST_LOOP_fff_f): Likewise.
1162 (RUN_TEST_c_f): Likewise.
1163 (RUN_TEST_LOOP_c_f): Likewise.
1164 (RUN_TEST_f_f1): Likewise.
1165 (RUN_TEST_LOOP_f_f1): Likewise.
1166 (RUN_TEST_fF_f1): Likewise.
1167 (RUN_TEST_LOOP_fF_f1): Likewise.
1168 (RUN_TEST_fI_f1): Likewise.
1169 (RUN_TEST_LOOP_fI_f1): Likewise.
1170 (RUN_TEST_ffI_f1): Likewise.
1171 (RUN_TEST_LOOP_ffI_f1): Likewise.
1172 (RUN_TEST_c_c): Likewise.
1173 (RUN_TEST_LOOP_c_c): Likewise.
1174 (RUN_TEST_cc_c): Likewise.
1175 (RUN_TEST_LOOP_cc_c): Likewise.
1176 (RUN_TEST_f_i): Likewise.
1177 (RUN_TEST_LOOP_f_i): Likewise.
1178 (RUN_TEST_f_i_tg): Likewise.
1179 (RUN_TEST_LOOP_f_i_tg): Likewise.
1180 (RUN_TEST_ff_i_tg): Likewise.
1181 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1182 (RUN_TEST_f_b): Likewise.
1183 (RUN_TEST_LOOP_f_b): Likewise.
1184 (RUN_TEST_f_b_tg): Likewise.
1185 (RUN_TEST_LOOP_f_b_tg): Likewise.
1186 (RUN_TEST_f_l): Likewise.
1187 (RUN_TEST_LOOP_f_l): Likewise.
1188 (RUN_TEST_f_L): Likewise.
1189 (RUN_TEST_LOOP_f_L): Likewise.
1190 (RUN_TEST_sincos): Likewise.
1191 (RUN_TEST_LOOP_sincos): Likewise.
1192
8269107f
JM
11932013-05-17 Joseph Myers <joseph@codesourcery.com>
1194
bb38759d
JM
1195 [BZ #15480]
1196 [BZ #15485]
1197 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1198 main case of finite arguments, set rounding mode to FE_TONEAREST
1199 and discard exceptions.
1200 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1201 exceptions.
1202 (remainder_tonearest_test_data): New variable.
1203 (remainder_test_tonearest): New function.
1204 (remainder_towardzero_test_data): New variable.
1205 (remainder_test_towardzero): New function.
1206 (remainder_downward_test_data): New variable.
1207 (remainder_test_downward): New function.
1208 (remainder_upward_test_data): New variable.
1209 (remainder_test_upward): New function.
1210 (main): Call the new test functions.
1211
a00bdcf0
JM
1212 * math/libm-test.inc (struct test_f_f1_data): Remove field
1213 extra_init.
1214 (struct test_fF_f1_data): Likewise.
1215 (struct test_ffI_f1_data): Likewise.
1216 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1217 based on value of EXTRA_EXPECTED.
1218 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1219 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1220 EXTRA_VAR based on value of EXTRA_EXPECTED.
1221 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1222 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1223 EXTRA_VAR based on value of EXTRA_EXPECTED.
1224 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1225 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1226 EXTRA_VAR based on value of EXTRA_EXPECTED.
1227 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1228 * math/gen-libm-test.pl (parse_args): Don't output initializers
1229 for extra output values.
1230
de407f79
JM
1231 * math/libm-test.inc (check_int): Expect result to be exactly
1232 equal to expected value and do not handle ulps.
1233 (check_long): Likewise.
1234 (check_longlong): Likewise.
1235
8269107f
JM
1236 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1237 exceptions.
1238 (cimag_test_data): Likewise.
1239 (conj_test_data): Likewise.
1240 (copysign_test_data): Likewise.
1241 (cproj_test_data): Likewise.
1242 (creal_test_data): Likewise.
1243 (fabs_test_data): Likewise.
1244 (fdim_test_data): Likewise.
1245 (finite_test_data): Likewise.
1246 (floor_test_data): Likewise.
1247 (fmax_test_data): Likewise.
1248 (fmin_test_data): Likewise.
1249 (fmod_test_data): Likewise.
1250 (fpclassify_test_data): Likewise.
1251 (frexp_test_data): Likewise.
1252 (ilogb_test_data): Likewise.
1253 (isfinite_test_data): Likewise.
1254 (isgreater_test_data): Likewise.
1255 (isgreaterequal_test_data): Likewise.
1256 (isinf_test_data): Likewise.
1257 (isless_test_data): Likewise.
1258 (islessequal_test_data): Likewise.
1259 (islessgreater_test_data): Likewise.
1260 (isnan_test_data): Likewise.
1261 (isnormal_test_data): Likewise.
1262 (issignaling_test_data): Likewise.
1263 (isunordered_test_data): Likewise.
1264 (ldexp_test_data): Likewise.
1265 (lrint_test_data): Likewise.
1266 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1267 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1268 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1269 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1270 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1271 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1272 test input.
1273 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1274 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1275 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1276 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1277 that test input.
1278 (lrint_downward_test_data): Test for "inexact" exceptions.
1279 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1280 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1281 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1282 test input.
1283 (lrint_upward_test_data): Test for "inexact" exceptions.
1284 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1285 test input.
1286 (llrint_test_data): Test for "inexact" exceptions.
1287 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1288 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1289 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1290 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1291 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1292 (llrint_downward_test_data): Test for "inexact" exceptions.
1293 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1294 (llrint_upward_test_data): Test for "inexact" exceptions.
1295 (logb_test_data): Likewise.
1296 (logb_downward_test_data): Likewise.
1297 (nextafter_test_data): Likewise.
1298 (nexttoward_test_data): Likewise.
1299 (remainder_test_data): Likewise.
1300 (remquo_test_data): Likewise.
1301 (scalbn_test_data): Likewise.
1302 (scalbln_test_data): Likewise.
1303 (signbit_test_data): Likewise.
1304 (sqrt_test_data): Likewise.
1305 (significand_test_data): Likewise.
1306
48a18de1
SP
13072013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1308
1309 [BZ #15424]
1310 * benchtests/bench-modf.c (struct args): Mark arg0 as
1311 volatile.
1312 * scripts/bench.pl: Mark members of struct args as volatile.
1313
13d3b41a
AZ
13142013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1315
68191c1d 1316 [BZ # 15497]
13d3b41a
AZ
1317 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1318 negative infinity on POWER6 or lower.
1319 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1320
2848b105
MR
13212013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1322
1323 [BZ #15442]
1324 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1325 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1326 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1327 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1328 (_FP_SETQNAN): New macro.
1329 (_FP_SETQNAN_SEMIRAW): Likewise.
1330 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1331 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1332 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1333 (FP_EXTEND): Use _FP_FRAC_SNANP.
1334 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1335 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1336 into account.
1337 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1338 New macro.
1339 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1340 Likewise.
1341
323e5cb7
JM
13422013-05-16 Joseph Myers <joseph@codesourcery.com>
1343
c58b274f
JM
1344 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1345 with DIVIDE_BY_ZERO_EXCEPTION.
1346 (gamma_test_data): Likewise.
1347 (lgamma_test_data): Likewise.
1348 (log_test_data): Likewise.
1349 (log10_test_data): Likewise.
1350 (log2_test_data): Likewise.
1351 (tgamma_test_data): Likewise.
1352
0ab34904
JM
1353 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1354 (acos_test_tonearest): Likewise.
1355 (acos_test_towardzero): Likewise.
1356 (acos_test_downward): Likewise.
1357 (acos_test_upward): Likewise.
1358 (acosh_test): Likewise.
1359 (asin_test): Likewise.
1360 (asin_test_tonearest): Likewise.
1361 (asin_test_towardzero): Likewise.
1362 (asin_test_downward): Likewise.
1363 (asin_test_upward): Likewise.
1364 (asinh_test): Likewise.
1365 (atan_test): Likewise.
1366 (atanh_test): Likewise.
1367 (atan2_test): Likewise.
1368 (cabs_test): Likewise.
1369 (cacos_test): Likewise.
1370 (cacosh_test): Likewise.
1371 (casin_test): Likewise.
1372 (casinh_test): Likewise.
1373 (catan_test): Likewise.
1374 (catanh_test): Likewise.
1375 (cbrt_test): Likewise.
1376 (ccos_test): Likewise.
1377 (ccosh_test): Likewise.
1378 (cexp_test): Likewise.
1379 (clog_test): Likewise.
1380 (clog10_test): Likewise.
1381 (cos_test): Likewise.
1382 (cos_test_tonearest): Likewise.
1383 (cos_test_towardzero): Likewise.
1384 (cos_test_downward): Likewise.
1385 (cos_test_upward): Likewise.
1386 (cosh_test): Likewise.
1387 (cosh_test_tonearest): Likewise.
1388 (cosh_test_towardzero): Likewise.
1389 (cosh_test_downward): Likewise.
1390 (cosh_test_upward): Likewise.
1391 (cpow_test): Likewise.
1392 (csin_test): Likewise.
1393 (csinh_test): Likewise.
1394 (csqrt_test): Likewise.
1395 (ctan_test): Likewise.
1396 (ctan_test_tonearest): Likewise.
1397 (ctan_test_towardzero): Likewise.
1398 (ctan_test_downward): Likewise.
1399 (ctan_test_upward): Likewise.
1400 (ctanh_test): Likewise.
1401 (ctanh_test_tonearest): Likewise.
1402 (ctanh_test_towardzero): Likewise.
1403 (ctanh_test_downward): Likewise.
1404 (ctanh_test_upward): Likewise.
1405 (erf_test): Likewise.
1406 (erfc_test): Likewise.
1407 (exp_test): Likewise.
1408 (exp_test_tonearest): Likewise.
1409 (exp_test_towardzero): Likewise.
1410 (exp_test_downward): Likewise.
1411 (exp_test_upward): Likewise.
1412 (exp10_test): Likewise.
1413 (exp2_test): Likewise.
1414 (expm1_test): Likewise.
1415 (fmod_test): Likewise.
1416 (gamma_test): Likewise.
1417 (hypot_test): Likewise.
1418 (j0_test): Likewise.
1419 (j1_test): Likewise.
1420 (jn_test): Likewise.
1421 (lgamma_test): Likewise.
1422 (log_test): Likewise.
1423 (log10_test): Likewise.
1424 (log1p_test): Likewise.
1425 (log2_test): Likewise.
1426 (logb_test_downward): Likewise.
1427 (pow_test): Likewise.
1428 (pow_test_tonearest): Likewise.
1429 (pow_test_towardzero): Likewise.
1430 (pow_test_downward): Likewise.
1431 (pow_test_upward): Likewise.
1432 (remainder_test): Likewise.
1433 (remquo_test): Likewise.
1434 (sin_test): Likewise.
1435 (sin_test_tonearest): Likewise.
1436 (sin_test_towardzero): Likewise.
1437 (sin_test_downward): Likewise.
1438 (sin_test_upward): Likewise.
1439 (sincos_test): Likewise.
1440 (sinh_test): Likewise.
1441 (sinh_test_tonearest): Likewise.
1442 (sinh_test_towardzero): Likewise.
1443 (sinh_test_downward): Likewise.
1444 (sinh_test_upward): Likewise.
1445 (sqrt_test): Likewise.
1446 (tan_test): Likewise.
1447 (tan_test_tonearest): Likewise.
1448 (tan_test_towardzero): Likewise.
1449 (tan_test_downward): Likewise.
1450 (tan_test_upward): Likewise.
1451 (tanh_test): Likewise.
1452 (tgamma_test): Likewise.
1453 (y0_test): Likewise.
1454 (y1_test): Likewise.
1455 (yn_test): Likewise.
1456
323e5cb7
JM
1457 * math/gen-libm-test.pl (adjust_arg): Remove function.
1458 (special_function): Remove argument $in_func. Only handle
1459 generating output for tables of tests, not inside functions.
1460 (parse_args): Likewise.
1461 (generate_testfile): Remove variable $in_func. Update call to
1462 parse_args.
1463 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1464 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1465 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1466 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1467 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1468 (MAX_VALUE_INIT): Rename macro to max_value.
1469 (MIN_VALUE_INIT): Rename macro to min_value.
1470 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1471 (plus_zero): Remove variable.
1472 (minus_zero): Likewise.
1473 (plus_infty): Likewise.
1474 (minus_infty): Likewise.
1475 (qnan_value): Likewise.
1476 (max_value): Likewise.
1477 (min_value): Likewise.
1478 (min_subnorm_value): Likewise.
1479
e054f494
RA
14802013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1481
1482 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1483 uint64_t or uint32_t usage.
1484 * crypt/sha256-block.c: Likewise.
1485 * crypt/sha256-crypt.c: Likewise.
1486 * crypt/sha256.c: Likewise.
1487 * crypt/sha512-block.c: Likewise.
1488 * crypt/sha512-crypt.c: Likewise.
1489 * crypt/sha512.c: Likewise.
1490 * debug/backtrace-tst.c: Likewise.
1491 * debug/pcprofiledump.c: Likewise.
1492 * elf/cache.c: Likewise.
1493 * elf/dl-cache.c: Likewise.
1494 * elf/dl-misc.c: Likewise.
1495 * elf/dl-profile.c: Likewise.
1496 * elf/dl-support.c: Likewise.
1497 * elf/ldconfig.c: Likewise.
1498 * elf/sprof.c: Likewise.
1499 * iconv/dummy-repertoire.c: Likewise.
1500 * iconv/iconv_charmap.c: Likewise.
1501 * iconv/skeleton.c: Likewise.
1502 * iconvdata/8bit-generic.c: Likewise.
1503 * iconvdata/cp737.h: Likewise.
1504 * iconvdata/cp775.h: Likewise.
1505 * iconvdata/ibm1008.h: Likewise.
1506 * iconvdata/ibm1025.h: Likewise.
1507 * iconvdata/ibm1046.h: Likewise.
1508 * iconvdata/ibm1097.h: Likewise.
1509 * iconvdata/ibm1112.h: Likewise.
1510 * iconvdata/ibm1122.h: Likewise.
1511 * iconvdata/ibm1123.h: Likewise.
1512 * iconvdata/ibm1124.h: Likewise.
1513 * iconvdata/ibm1129.h: Likewise.
1514 * iconvdata/ibm1130.h: Likewise.
1515 * iconvdata/ibm1132.h: Likewise.
1516 * iconvdata/ibm1133.h: Likewise.
1517 * iconvdata/ibm1137.h: Likewise.
1518 * iconvdata/ibm1140.h: Likewise.
1519 * iconvdata/ibm1141.h: Likewise.
1520 * iconvdata/ibm1142.h: Likewise.
1521 * iconvdata/ibm1143.h: Likewise.
1522 * iconvdata/ibm1144.h: Likewise.
1523 * iconvdata/ibm1145.h: Likewise.
1524 * iconvdata/ibm1146.h: Likewise.
1525 * iconvdata/ibm1147.h: Likewise.
1526 * iconvdata/ibm1148.h: Likewise.
1527 * iconvdata/ibm1149.h: Likewise.
1528 * iconvdata/ibm1153.h: Likewise.
1529 * iconvdata/ibm1154.h: Likewise.
1530 * iconvdata/ibm1155.h: Likewise.
1531 * iconvdata/ibm1156.h: Likewise.
1532 * iconvdata/ibm1157.h: Likewise.
1533 * iconvdata/ibm1158.h: Likewise.
1534 * iconvdata/ibm1160.h: Likewise.
1535 * iconvdata/ibm1161.h: Likewise.
1536 * iconvdata/ibm1162.h: Likewise.
1537 * iconvdata/ibm1163.h: Likewise.
1538 * iconvdata/ibm1164.h: Likewise.
1539 * iconvdata/ibm1166.h: Likewise.
1540 * iconvdata/ibm1167.h: Likewise.
1541 * iconvdata/ibm12712.h: Likewise.
1542 * iconvdata/ibm1390.h: Likewise.
1543 * iconvdata/ibm1399.h: Likewise.
1544 * iconvdata/ibm16804.h: Likewise.
1545 * iconvdata/ibm4517.h: Likewise.
1546 * iconvdata/ibm4899.h: Likewise.
1547 * iconvdata/ibm4909.h: Likewise.
1548 * iconvdata/ibm4971.h: Likewise.
1549 * iconvdata/ibm5347.h: Likewise.
1550 * iconvdata/ibm803.h: Likewise.
1551 * iconvdata/ibm856.h: Likewise.
1552 * iconvdata/ibm901.h: Likewise.
1553 * iconvdata/ibm902.h: Likewise.
1554 * iconvdata/ibm9030.h: Likewise.
1555 * iconvdata/ibm9066.h: Likewise.
1556 * iconvdata/ibm921.h: Likewise.
1557 * iconvdata/ibm922.h: Likewise.
1558 * iconvdata/ibm9448.h: Likewise.
1559 * iconvdata/isiri-3342.h: Likewise.
1560 * iconvdata/jis0201.h: Likewise.
1561 * include/link.h: Likewise.
1562 * include/netdb.h: Likewise.
1563 * inet/check_native.c: Likewise.
1564 * inet/check_pf.c: Likewise.
1565 * inet/getipv4sourcefilter.c: Likewise.
1566 * inet/getnameinfo.c: Likewise.
1567 * inet/getsourcefilter.c: Likewise.
1568 * inet/htonl.c: Likewise.
1569 * inet/setipv4sourcefilter.c: Likewise.
1570 * inet/setsourcefilter.c: Likewise.
1571 * inet/test-inet6_opt.c: Likewise.
1572 * inet/tst-network.c: Likewise.
1573 * locale/C-collate.c: Likewise.
1574 * locale/C-ctype.c: Likewise.
1575 * locale/C-time.c: Likewise.
1576 * locale/C-translit.h: Likewise.
1577 * locale/loadarchive.c: Likewise.
1578 * locale/programs/3level.h: Likewise.
1579 * locale/programs/charmap.c: Likewise.
1580 * locale/programs/charmap.h: Likewise.
1581 * locale/programs/ld-address.c: Likewise.
1582 * locale/programs/ld-collate.c: Likewise.
1583 * locale/programs/ld-ctype.c: Likewise.
1584 * locale/programs/ld-identification.c: Likewise.
1585 * locale/programs/ld-measurement.c: Likewise.
1586 * locale/programs/ld-messages.c: Likewise.
1587 * locale/programs/ld-monetary.c: Likewise.
1588 * locale/programs/ld-name.c: Likewise.
1589 * locale/programs/ld-numeric.c: Likewise.
1590 * locale/programs/ld-paper.c: Likewise.
1591 * locale/programs/ld-telephone.c: Likewise.
1592 * locale/programs/ld-time.c: Likewise.
1593 * locale/programs/linereader.c: Likewise.
1594 * locale/programs/locale.c: Likewise.
1595 * locale/programs/locarchive.c: Likewise.
1596 * locale/programs/locfile.h: Likewise.
1597 * locale/programs/repertoire.c: Likewise.
1598 * locale/programs/simple-hash.c: Likewise.
1599 * locale/programs/simple-hash.h: Likewise.
1600 * malloc/memusage.c: Likewise.
1601 * malloc/memusagestat.c: Likewise.
1602 * nis/nis_defaults.c: Likewise.
1603 * nis/nis_hash.c: Likewise.
1604 * nis/nis_print.c: Likewise.
1605 * nis/nis_xdr.c: Likewise.
1606 * nscd/connections.c: Likewise.
1607 * nscd/hstcache.c: Likewise.
1608 * nscd/nscd_gethst_r.c: Likewise.
1609 * nscd/nscd_getserv_r.c: Likewise.
1610 * nscd/nscd_helper.c: Likewise.
1611 * nscd/servicescache.c: Likewise.
1612 * nss/makedb.c: Likewise.
1613 * nss/nss_db/db-XXX.c: Likewise.
1614 * nss/nss_db/db-initgroups.c: Likewise.
1615 * nss/nss_db/db-netgrp.c: Likewise.
1616 * nss/nss_files/files-network.c: Likewise.
1617 * nss/nss_files/files-parse.c: Likewise.
1618 * posix/bug-regex5.c: Likewise.
1619 * posix/fnmatch_loop.c: Likewise.
1620 * posix/regcomp.c: Likewise.
1621 * posix/regexec.c: Likewise.
1622 * posix/tst-rfc3484-2.c: Likewise.
1623 * posix/tst-rfc3484-3.c: Likewise.
1624 * posix/tst-rfc3484.c: Likewise.
1625 * resolv/nss_dns/dns-canon.c: Likewise.
1626 * resolv/nss_dns/dns-network.c: Likewise.
1627 * resolv/res_init.c: Likewise.
1628 * resolv/res_mkquery.c: Likewise.
1629 * resolv/tst-aton.c: Likewise.
1630 * stdlib/cxa_atexit.c: Likewise.
1631 * stdlib/cxa_finalize.c: Likewise.
1632 * stdlib/gen-fpioconst.c: Likewise.
1633 * stdlib/strtol_l.c: Likewise.
1634 * string/tst-endian.c: Likewise.
1635 * sunrpc/auth_des.c: Likewise.
1636 * sunrpc/clnt_udp.c: Likewise.
1637 * sunrpc/rtime.c: Likewise.
1638 * sunrpc/svcauth_des.c: Likewise.
1639 * sunrpc/xdr.c: Likewise.
1640 * sunrpc/xdr_intXX_t.c: Likewise.
1641 * sunrpc/xdr_rec.c: Likewise.
1642 * sysdeps/generic/ldconfig.h: Likewise.
1643 * sysdeps/generic/ldsodefs.h: Likewise.
1644 * sysdeps/generic/memusage.h: Likewise.
1645 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1646 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1647 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1648 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1649 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1650 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1651 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1652 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1653 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1655 * sysdeps/posix/getaddrinfo.c: Likewise.
1656 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1657 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1658 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1659 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1660 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1661 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1662 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1663 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1664 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1665 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1666 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1667 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1668 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1669 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1670 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1671 * sysdeps/x86_64/dl-tls.h: Likewise.
1672 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1673 * time/alt_digit.c: Likewise.
1674 * time/era.c: Likewise.
1675 * wcsmbs/tst-c16c32-1.c: Likewise.
1676
8c75f674
JM
16772013-05-16 Joseph Myers <joseph@codesourcery.com>
1678
1679 * math/libm-test.inc (struct test_sincos_data): New type.
1680 (RUN_TEST_LOOP_sincos): New macro.
1681 (sincos_test_data): New variable.
1682 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1683
e6e49e59
RH
16842013-05-16 Richard Henderson <rth@redhat.com>
1685
1686 * math/atest-exp2.c (LIMB64): New macro.
1687 (CONSTSZ): New macro.
1688 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1689 (hexdig): Move ...
1690 (print_mpn_fp): ... to function scope.
1691 (read_mpn_hex): Remove.
1692 (get_log2): Remove.
1693 (exp2_mpn): Use mp_log2.
1694 (main): Use mp_exp1.
1695
15c7c18d
JM
16962013-05-16 Joseph Myers <joseph@codesourcery.com>
1697
105a07df
JM
1698 * math/libm-test.inc: Remove comment about not testing "inexact"
1699 exceptions.
1700 (INEXACT_EXCEPTION): New macro.
1701 (NO_INEXACT_EXCEPTION): Likewise.
1702 (INVALID_EXCEPTION_OK): Update value.
1703 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1704 (OVERFLOW_EXCEPTION_OK): Likewise.
1705 (UNDERFLOW_EXCEPTION_OK): Likewise.
1706 (IGNORE_ZERO_INF_SIGN): Likewise.
1707 (ERRNO_UNCHANGED): Likewise.
1708 (ERRNO_EDOM): Likewise.
1709 (ERRNO_ERANGE): Likewise.
1710 (test_exceptions): Handle testing "inexact" exceptions.
1711 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1712 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1713 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1714 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1715 INEXACT_EXCEPTION.
1716 (rint_towardzero_test_data): Likewise.
1717 (rint_downward_test_data): Likewise.
1718 (rint_upward_test_data): Likewise.
1719
e9eee333
JM
1720 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1721 with OVERFLOW_EXCEPTION.
1722 (exp10_test_data): Likewise.
1723 (exp2_test_data): Likewise.
1724 (expm1_test_data): Likewise.
1725 (lgamma_test_data): Likewise.
1726 (pow_test_data): Likewise.
1727 (tgamma_test_data): Likewise.
1728 (yn_test_data): Remove duplicate test of overflow.
1729
1c38ff73
JM
1730 * math/libm-test.inc (struct test_cc_c_data): New type.
1731 (RUN_TEST_LOOP_cc_c): New macro.
1732 (cpow_test_data): New variable.
1733 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1734
15c7c18d
JM
1735 * math/libm-test.inc (struct test_f_L_data): New type.
1736 (RUN_TEST_LOOP_f_L): New macro.
1737 (llrint_test_data): New variable.
1738 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1739 (llrint_tonearest_test_data): New variable.
1740 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1741 (llrint_towardzero_test_data): New variable.
1742 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1743 (llrint_downward_test_data): New variable.
1744 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1745 (llrint_upward_test_data): New variable.
1746 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1747 (llround_test_data): New variable.
1748 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1749
f137ff13
PC
17502013-05-13 Peter Collingbourne <pcc@google.com>
1751
1752 * math/atest-exp2.c (get_log2): Remove const attribute.
1753
3608cb24
JM
17542013-05-15 Joseph Myers <joseph@codesourcery.com>
1755
1756 * math/libm-test.inc (struct test_f_l_data): New type.
1757 (RUN_TEST_LOOP_f_l): New macro.
1758 (lrint_test_data): New variable.
1759 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1760 (lrint_tonearest_test_data): New variable.
1761 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1762 (lrint_towardzero_test_data): New variable.
1763 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1764 (lrint_downward_test_data): New variable.
1765 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1766 (lrint_upward_test_data): New variable.
1767 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1768 (lround_test_data): New variable.
1769 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1770
39b1f617
PC
17712013-05-15 Peter Collingbourne <pcc@google.com>
1772
1deff3dc
PC
1773 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1774 (EXTRACT_WORDS64) Use where appropriate.
1775 (INSERT_WORDS64) Likewise.
1776
791f3ba0
PC
1777 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1778 constraints with x constraints.
1779 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1780
39b1f617
PC
1781 * malloc/obstack.c (_obstack_compat): Add initializer.
1782
12fba011
EM
17832013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1784
1785 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1786 si_trapno and add si_addr_lsb to _sifields.sigfault.
1787 (si_trapno): Remove macro.
1788 (si_addr_lsb): Define new macro.
1789 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1790
d369f531
JM
17912013-05-15 Joseph Myers <joseph@codesourcery.com>
1792
b861c6c4
JM
1793 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1794 instead of TEST_f_l.
1795 (llrint_test_tonearest): Likewise.
1796 (llrint_test_towardzero): Likewise.
1797 (llrint_test_downward): Likewise.
1798 (llrint_test_upward): Likewise.
1799 (llround_test): Likewise.
1800
7abeee12
JM
1801 * math/libm-test.inc (struct test_f_i_data): Add comment.
1802 (RUN_TEST_LOOP_f_b): New macro.
1803 (RUN_TEST_LOOP_f_b_tg): Likewise.
1804 (finite_test_data): New variable.
1805 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1806 (isfinite_test_data): New variable.
1807 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1808 (isinf_test_data): New variable.
1809 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1810 (isnan_test_data): New variable.
1811 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1812 (isnormal_test_data): New variable.
1813 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1814 (issignaling_test_data): New variable.
1815 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1816 (signbit_test_data): New variable.
1817 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1818
cbe8c4d3
JM
1819 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1820 with INVALID_EXCEPTION.
1821 (acosh_test_data): Likewise.
1822 (asin_test_data): Likewise.
1823 (atanh_test_data): Likewise.
1824 (fmod_test_data): Likewise.
1825 (log_test_data): Likewise.
1826 (log10_test_data): Likewise.
1827 (log2_test_data): Likewise.
1828 (pow_test_data): Likewise.
1829 (sqrt_test_data): Likewise.
1830 (y0_test_data): Likewise.
1831 (y1_test_data): Likewise.
1832 (yn_test_data): Likewise.
1833
5575c0e5
JM
1834 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1835 function contents.
1836
d369f531
JM
1837 * math/libm-test.inc (struct test_ff_i_data): New type.
1838 (RUN_TEST_LOOP_ff_i_tg): New macro.
1839 (isgreater_test_data): New variable.
1840 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1841 (isgreaterequal_test_data): New variable.
1842 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1843 (isless_test_data): New variable.
1844 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1845 (islessequal_test_data): New variable.
1846 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1847 (islessgreater_test_data): New variable.
1848 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1849 (isunordered_test_data): New variable.
1850 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1851
781fd748
DM
18522013-05-14 David S. Miller <davem@davemloft.net>
1853
1854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1855
87aa21df
JM
18562013-05-14 Joseph Myers <joseph@codesourcery.com>
1857
5e908270
JM
1858 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1859
f71172e5
JM
1860 * math/libm-test.inc (struct test_fF_f1_data): Change type of
1861 extra_test to int.
1862 (struct test_f_i_data): Change type of max_ulp to int.
1863
8cfa635a
JM
1864 * math/libm-test.inc (test_ffI_f1_data): New type.
1865 (RUN_TEST_LOOP_ffI_f1): New macro.
1866 (remquo_test_data): New variable.
1867 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1868
2bcb36b2
JM
1869 * setjmp/tst-setjmp-fp.c: New file.
1870 * setjmp/Makefile (tests): Add tst-setjmp-fp.
1871 (link-libm): New variable.
1872 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1873
acbd839a
JM
1874 * math/libm-test.inc (struct test_f_i_data): New type.
1875 (RUN_TEST_LOOP_f_i): New macro.
1876 (RUN_TEST_LOOP_f_i_tg): Likewise.
1877 (fpclassify_test_data): New variable.
1878 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1879 (ilogb_test_data): New variable.
1880 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1881
e414d745
JM
1882 * math/libm-test.inc (scalbln_test): Correct function name in END
1883 call.
1884
d9c2a0fd
JM
1885 * math/libm-test.inc (struct test_f_f1_data): Add comment.
1886 (RUN_TEST_LOOP_fI_f1): New macro.
1887 (frexp_test_data): New variable.
1888 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1889
9dc9095d
JM
1890 * math/libm-test.inc (struct test_fF_f1_data): New type.
1891 (RUN_TEST_LOOP_fF_f1): New macro.
1892 (modf_test_data): New variable.
1893 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1894
87aa21df
JM
1895 * math/libm-test.inc (struct test_f_f1_data): New type.
1896 (RUN_TEST_LOOP_f_f1): New macro.
1897 (gamma_test_data): New variable.
1898 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1899 (lgamma_test_data): New variable.
1900 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1901
141af660
CD
19022013-05-13 Carlos O'Donell <carlos@redhat.com>
1903
1904 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1905 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1906 (main): Comment "tls" pseudo-hwcap.
1907
6d33265c
JM
19082013-05-13 Joseph Myers <joseph@codesourcery.com>
1909
68fc074c
JM
1910 * math/libm-test.inc (struct test_fl_f_data): New type.
1911 (RUN_TEST_LOOP_fl_f): New variable.
1912 (scalbln_test_data): New variable.
1913 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1914
243216e1
JM
1915 * math/libm-test.inc (struct test_fi_f_data): New type.
1916 (RUN_TEST_LOOP_fi_f): New macro.
1917 (ldexp_test_data): New variable.
1918 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1919 (scalbn_test_data): New variable.
1920 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1921
6a1992e2
JM
1922 * math/libm-test.inc (struct test_c_f_data): New type.
1923 (RUN_TEST_LOOP_c_f): New macro.
1924 (cabs_test_data): New variable.
1925 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1926 (carg_test_data): New variable.
1927 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1928 (cimag_test_data): New variable.
1929 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1930 (creal_test_data): New variable.
1931 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1932
0e400df5
JM
1933 * math/libm-test.inc (struct test_if_f_data): New type.
1934 (RUN_TEST_LOOP_if_f): New macro.
1935 (jn_test_data): New variable.
1936 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1937 (yn_test_data): New variable.
1938 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1939
6d33265c
JM
1940 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1941
f98ece5f
AZ
19422013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1943
1944 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1945 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1946
0f7d347b
SP
19472013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1948
43fe811b
SP
1949 * benchtests/Makefile (CPPFLAGS-nonlib): Add
1950 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1951 (bench-deps): Add bench-timing.h.
1952 * benchtests-bench-skeleton.c: Include bench-timing.h.
1953 (main): Use TIMING_* macros instead of clock_gettime.
1954 * benchtests/bench-timing.h: New file.
1955
0f7d347b
SP
1956 [BZ #14582]
1957 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1958 Renamed from _LIB_VERSION.
1959 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1960
601a3a5f
JM
19612013-05-12 Joseph Myers <joseph@codesourcery.com>
1962
4f184d30
JM
1963 * math/libm-test.inc (struct test_fff_f_data): New type.
1964 (RUN_TEST_LOOP_fff_f): New macro.
1965 (fma_test_data): New variable.
1966 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1967 (fma_towardzero_test_data): New variable.
1968 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1969 (fma_downward_test_data): New variable.
1970 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1971 (fma_upward_test_data): New variable.
1972 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1973
08198877
JM
1974 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1975 (struct test_c_c_data): New type.
1976 (RUN_TEST_LOOP_c_c): New macro.
1977 (cacos_test_data): New variable.
1978 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1979 (cacosh_test_data): New variable.
1980 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1981 (casin_test_data): New variable.
1982 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1983 (casinh_test_data): New variable.
1984 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1985 (catan_test_data): New variable.
1986 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1987 (catanh_test_data): New variable.
1988 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1989 (ccos_test_data): New variable.
1990 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1991 (ccosh_test_data): New variable.
1992 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1993 (cexp_test_data): New variable.
1994 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1995 (clog_test_data): New variable.
1996 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1997 (clog10_test_data): New variable.
1998 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1999 (conj_test_data): New variable.
2000 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2001 (cproj_test_data): New variable.
2002 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2003 (csin_test_data): New variable.
2004 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2005 (csinh_test_data): New variable.
2006 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2007 (csqrt_test_data): New variable.
2008 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2009 (ctan_test_data): New variable.
2010 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2011 (ctan_tonearest_test_data): New variable.
2012 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2013 (ctan_towardzero_test_data): New variable.
2014 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2015 (ctan_downward_test_data): New variable.
2016 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2017 (ctan_upward_test_data): New variable.
2018 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2019 (ctanh_test_data): New variable.
2020 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2021 (ctanh_tonearest_test_data): New variable.
2022 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2023 (ctanh_towardzero_test_data): New variable.
2024 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2025 (ctanh_downward_test_data): New variable.
2026 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2027 (ctanh_upward_test_data): New variable.
2028 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2029 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2030 of BUILD_COMPLEX.
2031
601a3a5f
JM
2032 * math/libm-test.inc (struct test_ff_f_data): New type.
2033 (struct test_ff_f_data_nexttoward): Likewise.
2034 (RUN_TEST_LOOP_2_f): New macro.
2035 (RUN_TEST_LOOP_ff_f): Likewise.
2036 (atan2_test_data): New variable.
2037 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2038 (copysign_test_data): New variable.
2039 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2040 (fdim_test_data): New variable.
2041 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2042 (fmax_test_data): New variable.
2043 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2044 (fmin_test_data): New variable.
2045 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2046 (fmod_test_data): New variable.
2047 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2048 (hypot_test_data): New variable.
2049 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2050 (nextafter_test_data): New variable.
2051 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2052 (nexttoward_test_data): New variable.
2053 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2054 (pow_test_data): New variable.
2055 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2056 (pow_tonearest_test_data): New variable.
2057 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2058 (pow_towardzero_test_data): New variable.
2059 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2060 (pow_downward_test_data): New variable.
2061 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2062 (pow_upward_test_data): New variable.
2063 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2064 (remainder_test_data): New variable.
2065 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2066 (scalb_test_data): New variable.
2067 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2068 * sysdeps/i386/fpu/libm-test-ulps: Update.
2069
74c57478
JM
20702013-05-11 Joseph Myers <joseph@codesourcery.com>
2071
8329e4da
JM
2072 * math/libm-test.inc (fma_test): Use max_value instead of local
2073 variable fltmax.
2074 (nextafter_test): Likewise.
2075
74c57478
JM
2076 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2077 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2078 (acos_downward_test_data): New variable.
2079 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2080 (acos_upward_test_data): New variable.
2081 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2082 (acosh_test_data): New variable.
2083 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2084 (asin_test_data): New variable.
2085 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2086 (asin_tonearest_test_data): New variable.
2087 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2088 (asin_towardzero_test_data): New variable.
2089 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2090 (asin_downward_test_data): New variable.
2091 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2092 (asin_upward_test_data): New variable.
2093 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2094 (asinh_test_data): New variable.
2095 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2096 (atan_test_data): New variable.
2097 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2098 (atanh_test_data): New variable.
2099 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2100 (cbrt_test_data): New variable.
2101 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2102 (ceil_test_data): New variable.
2103 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2104 (cos_test_data): New variable.
2105 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2106 (cos_tonearest_test_data): New variable.
2107 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2108 (cos_towardzero_test_data): New variable.
2109 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2110 (cos_downward_test_data): New variable.
2111 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2112 (cos_upward_test_data): New variable.
2113 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2114 (cosh_test_data): New variable.
2115 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2116 (cosh_tonearest_test_data): New variable.
2117 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2118 (cosh_towardzero_test_data): New variable.
2119 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2120 (cosh_downward_test_data): New variable.
2121 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2122 (cosh_upward_test_data): New variable.
2123 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2124 (erf_test_data): New variable.
2125 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2126 (erfc_test_data): New variable.
2127 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2128 (exp_test_data): New variable.
2129 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2130 (exp_tonearest_test_data): New variable.
2131 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2132 (exp_towardzero_test_data): New variable.
2133 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2134 (exp_downward_test_data): New variable.
2135 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2136 (exp_upward_test_data): New variable.
2137 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2138 (exp10_test_data): New variable.
2139 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2140 (exp2_test_data): New variable.
2141 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2142 (expm1_test_data): New variable.
2143 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2144 (fabs_test_data): New variable.
2145 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2146 (floor_test_data): New variable.
2147 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2148 (j0_test_data): New variable.
2149 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2150 (j1_test_data): New variable.
2151 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2152 (log_test_data): New variable.
2153 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2154 (log10_test_data): New variable.
2155 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2156 (log1p_test_data): New variable.
2157 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2158 (log2_test_data): New variable.
2159 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2160 (logb_test_data): New variable.
2161 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2162 (logb_downward_test_data): New variable.
2163 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2164 (nearbyint_test_data): New variable.
2165 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2166 (rint_test_data): New variable.
2167 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2168 (rint_tonearest_test_data): New variable.
2169 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2170 (rint_towardzero_test_data): New variable.
2171 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2172 (rint_downward_test_data): New variable.
2173 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2174 (rint_upward_test_data): New variable.
2175 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2176 (round_test_data): New variable.
2177 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2178 (sin_test_data): New variable.
2179 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2180 (sin_tonearest_test_data): New variable.
2181 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2182 (sin_towardzero_test_data): New variable.
2183 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2184 (sin_downward_test_data): New variable.
2185 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2186 (sin_upward_test_data): New variable.
2187 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2188 (sinh_test_data): New variable.
2189 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2190 (sinh_tonearest_test_data): New variable.
2191 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2192 (sinh_towardzero_test_data): New variable.
2193 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2194 (sinh_downward_test_data): New variable.
2195 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2196 (sinh_upward_test_data): New variable.
2197 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2198 (sqrt_test_data): New variable.
2199 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2200 (tan_test_data): New variable.
2201 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2202 (tan_tonearest_test_data): New variable.
2203 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2204 (tan_towardzero_test_data): New variable.
2205 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2206 (tan_downward_test_data): New variable.
2207 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2208 (tan_upward_test_data): New variable.
2209 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2210 (tanh_test_data): New variable.
2211 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2212 (tgamma_test_data): New variable.
2213 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2214 (trunc_test_data): New variable.
2215 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2216 (y0_test_data): New variable.
2217 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2218 (y1_test_data): New variable.
2219 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2220 (significand_test_data): New variable.
2221 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2222
7187d844
CG
22232013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2224
2225 [BZ #12387]
2226 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2227
f63fae73
PT
22282013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2229
2230 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2231
8a67a4b3
AJ
22322013-05-10 Andreas Jaeger <aj@suse.de>
2233
2234 [BZ #15448]
2235 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2236 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2237
51df539d
JM
22382013-05-10 Joseph Myers <joseph@codesourcery.com>
2239
2240 * math/gen-libm-test.pl (adjust_arg): New function.
2241 (special_functions): Handle generating output in both functions
2242 and arrays.
2243 (parse_args): Likewise.
2244 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2245 $in_func argument to parse_args.
2246 * math/libm-test.inc (struct test_f_f_data): New type.
2247 (IF_ROUND_INIT_): New macro.
2248 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2249 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2250 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2251 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2252 (ROUND_RESTORE_): Likewise.
2253 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2254 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2255 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2256 (ROUND_RESTORE_FE_UPWARD): Likewise.
2257 (RUN_TEST_LOOP_f_f): New macro.
2258 (acos_test_data): New variable.
2259 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2260 (acos_tonearest_test_data): New variable.
2261 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2262
5c637fe5
SP
22632013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2264
2265 * benchtests/bench-skeleton.c (startup): Fix coding style.
2266
ab2b9461
JM
22672013-05-10 Joseph Myers <joseph@codesourcery.com>
2268
2269 [BZ #6809]
2270 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2271 negative infinity argument.
2272 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2273 negative infinity argument.
2274 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2275 negative infinity argument.
2276 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2277 domain errors.
2278
4c0fe6fe
FW
22792013-05-10 Florian Weimer <fweimer@redhat.com>
2280
2281 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2282 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2283 * iconv/iconv_prog.c (main): Likewise.
2284 * locale/programs/charmap-dir.c (charmap_readdir)
2285 (fopen_uncompressed): Likewise.
2286 * locale/programs/locfile.c (siblings_uncached)
2287 (write_locale_data): Use lstat64 instead of lstat.
2288 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2289 stat.
2290
a3375d29
AJ
22912013-05-10 Andreas Jaeger <aj@suse.de>
2292
2293 [BZ #15395]
2294 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2295 localization.
2296 Include <locale.h>.
2297
36129722
CD
22982013-05-09 Carlos O'Donell <carlos@redhat.com>
2299
2300 * elf/dl-close.c (_dl_close_worker): Add comments.
2301
faa7f811
JM
23022013-05-09 Joseph Myers <joseph@codesourcery.com>
2303
ed41ffef
JM
2304 [BZ #15359]
2305 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2306 high part of pi/2.
2307 (__ieee754_rem_pio2l): Update comments.
2308
d0213cd0
JM
2309 [BZ #15429]
2310 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2311 high part of pi/2.
2312 (__ieee754_rem_pio2l): Update comments.
2313
0d3e777a
JM
2314 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2315 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2316
24f56066
JM
2317 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2318 M_PI_4l.
2319
faa7f811
JM
2320 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2321 (M_PI_34_LOG10El): Likewise.
2322 (M_PI2_LOG10El): Likewise.
2323 (M_PI4_LOG10El): Likewise.
2324 (M_PI_LOG10El): Likewise.
2325
e9a5e0fd
AZ
23262013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2327
2328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2329
d8cd06db
JM
23302013-05-08 Joseph Myers <joseph@codesourcery.com>
2331
a0d9f9d7
JM
2332 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2333 (MINUS_ZERO_INIT): Likewise.
2334 (PLUS_INFTY_INIT): Likewise.
2335 (MINUS_INFTY_INIT): Likewise.
2336 (QNAN_VALUE_INIT): Likewise.
2337 (MAX_VALUE_INIT): Likewise.
2338 (MIN_VALUE_INIT): Likewise.
2339 (MIN_SUBNORM_VALUE_INIT): Likewise.
2340 (plus_zero): Initialize with PLUS_ZERO_INIT.
2341 (minus_zero): Initialize with MINUS_ZERO_INIT.
2342 (plus_infty): Initialize with PLUS_INFTY_INIT.
2343 (minus_infty): Initialize with MINUS_INFTY_INIT.
2344 (qnan_value): Initialize with QNAN_VALUE_INIT.
2345 (max_value): Initialize with MAX_VALUE_INIT.
2346 (min_value): Initialize with MIN_VALUE_INIT.
2347 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2348
ae08db3b
JM
2349 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2350 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2351 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2352 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2353
f44bf14a
JM
2354 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2355 (RUN_TEST_2_f): Likewise.
2356 (RUN_TEST_ff_f): Likewise.
2357 (RUN_TEST_fi_f): Likewise.
2358 (RUN_TEST_fl_f): Likewise.
2359 (RUN_TEST_fff_f): Likewise.
2360 (RUN_TEST_c_f): Likewise.
2361 (RUN_TEST_f_f1): Likewise.
2362 (RUN_TEST_fF_f1): Likewise.
2363 (RUN_TEST_fI_f1): Likewise.
2364 (RUN_TEST_ffI_f1): Likewise.
2365 (RUN_TEST_c_c): Likewise.
2366 (RUN_TEST_cc_c): Likewise.
2367 (RUN_TEST_f_i): Likewise.
2368 (RUN_TEST_f_i_tg): Likewise.
2369 (RUN_TEST_ff_i_tg): Likewise.
2370 (RUN_TEST_f_b): Likewise.
2371 (RUN_TEST_f_b_tg): Likewise.
2372 (RUN_TEST_f_l): Likewise.
2373 (RUN_TEST_f_L): Likewise.
2374 (RUN_TEST_sincos): Likewise.
2375 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2376 whether to show exceptions. Do not include ");\n" in return
2377 value.
2378 (special_functions): Output call to RUN_TEST_sincos instead of
2379 check_float calls. Update calls to new_test.
2380 (parse_args): Output call to single RUN_TEST_* macro instead of
2381 check_* calls and other assignments. Update calls to new_test.
2382
d8cd06db
JM
2383 [BZ #2546]
2384 [BZ #2560]
2385 [BZ #5159]
2386 [BZ #15426]
2387 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2388 input to result for tgamma overflow.
2389 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2390 (gamma_coeff): New variable.
2391 (NCOEFF): New macro.
2392 (gamma_positive): New function.
2393 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2394 underflow here. Use gamma_positive instead of exp (lgamma) for
2395 other arguments.
2396 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2397 (gamma_coeff): New variable.
2398 (NCOEFF): New macro.
2399 (gammaf_positive): New function.
2400 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2401 underflow here. Use gamma_positive instead of exp (lgamma) for
2402 other arguments.
2403 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2404 (gamma_coeff): New variable.
2405 (NCOEFF): New macro.
2406 (gammal_positive): New function.
2407 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2408 underflow here. Use gamma_positive instead of exp (lgamma) for
2409 other arguments.
2410 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2411 (gamma_coeff): New variable.
2412 (NCOEFF): New macro.
2413 (gammal_positive): New function.
2414 (__ieee754_gammal_r): Handle positive infinity, overflow and
2415 underflow here. Handle NaN the same as positive infinity. Remove
2416 check x < 0xffffffff for negative integers. Use gamma_positive
2417 instead of exp (lgamma) for other arguments.
2418 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2419 (gamma_coeff): New variable.
2420 (NCOEFF): New macro.
2421 (gammal_positive): New function.
2422 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2423 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2424 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2425 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2426 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2427 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2428 * sysdeps/generic/math_private.h (__gamma_productf): New
2429 prototype.
2430 (__gamma_product): Likewise.
2431 (__gamma_productl): Likewise.
2432 * math/Makefile (libm-calls): Add gamma_product.
2433 * math/libm-test.inc (tgamma_test): Add more tests.
2434 * sysdeps/i386/fpu/libm-test-ulps: Update.
2435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2436
bb7cf681
OB
24372013-05-08 Ondřej Bílka <neleai@seznam.cz>
2438
2439 * benchtests/bench-skeleton.c (main): Preheat CPU.
2440
ba853947
AJ
24412013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2442
2443 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2444
8347c74c
RM
24452013-05-07 Roland McGrath <roland@hack.frob.com>
2446
2447 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2448 and _dl_skip_args_internal.
2449
e8dd4791
CD
24502013-05-07 Carlos O'Donell <carlos@redhat.com>
2451
2452 * manual/message.texi (Message Translation): Talk about users.
2453 Message to key mapping impacts design.
2454
c7405830
RM
24552013-05-06 Roland McGrath <roland@hack.frob.com>
2456
a9173057
RM
2457 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2458
976e2f03
RM
2459 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2460
9723ffc5
RM
2461 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2462 * sysdeps/wordsize-64/glob64.c: ... here.
2463
962e6658
RM
2464 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2465 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2466 New macros.
2467
ee586a6d
RM
2468 * debug/getlogin_r_chk.c: Moved to ...
2469 * login/getlogin_r_chk.c: ... here.
2470 * debug/Makefile (routines): Move getlogin_r_chk to ...
2471 * login/Makefile (routines): ... here.
2472 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2473 * login/Versions (libc: GLIBC_2.4): ... here.
2474
355f9165
RM
2475 * io/poll.c (__poll): Renamed from poll.
2476 Add libc_hidden_def.
2477 (poll): Define as weak alias.
2478
bd9ffde6
RM
2479 * debug/ptsname_r_chk.c: Moved to ...
2480 * login/ptsname_r_chk.c: ... here.
2481 * debug/Makefile (routines): Move ptsname_r_chk to ...
2482 * login/Makefile (routines): ... here.
2483 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2484 * login/Versions (libc: GLIBC_2.4): ... here.
2485
8fb16a04
RM
2486 * posix/getlogin.c: Moved to ...
2487 * login/getlogin.c: ... here.
2488 * posix/getlogin_r.c: Moved to ...
2489 * login/getlogin_r.c: ... here.
2490 * posix/getlogin_r.c: Moved to ...
2491 * login/getlogin_r.c: ... here.
2492 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2493 * login/Makefile (routines): ... here.
2494 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2495 * login/Versions (libc: GLIBC_2.0): ... here.
2496
b99b892f
RM
2497 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2498 (setrlimit): Define as weak alias.
2499
c7405830
RM
2500 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2501 Call __ names for open, ftruncate, and close.
2502 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2503 (truncate): Define as weak alias.
2504
5bf96de5
JM
25052013-05-06 Joseph Myers <joseph@codesourcery.com>
2506
9ea3513c
JM
2507 * math/gen-libm-test.pl (parse_args): Initialize x before each
2508 test of frexp, modf and remquo.
2509
5bf96de5
JM
2510 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2511 test signgam value.
2512
16e616a7
AZ
25132013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2514
2515 [BZ #15418]
2516 [BZ #15419]
2517 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2518 internal tests.
2519 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2520
d5e82754
RM
25212013-05-06 Roland McGrath <roland@hack.frob.com>
2522
2523 * elf/dl-writev.h: New file.
2524 * elf/dl-misc.c: Include it.
2525 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2526 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2527
a7548d41
JM
25282013-05-04 Joseph Myers <joseph@codesourcery.com>
2529
b7dab1e4
JM
2530 * math/libm-test.inc (noXFails): Remove variable.
2531 (noXPasses): Likewise.
2532 (BUILD_COMPLEX_INT): Remove macro.
2533 (print_screen): Remove xfail argument.
2534 (print_screen_max_error): Likewise.
2535 (update_stats): Likewise.
2536 (print_max_error): Likewise. Update calls to other affected
2537 functions.
2538 (print_complex_max_error): Likewise.
2539 (test_single_exception): Update calls to print_screen.
2540 (test_single_errno): Likewise.
2541 (check_float_internal): Remove xfail argument. Update calls to
2542 other affected functions.
2543 (check_float): Likewise.
2544 (check_complex): Likewise.
2545 (check_int): Likewise.
2546 (check_long): Likewise.
2547 (check_bool): Likewise.
2548 (check_longlong): Likewise.
2549 (main): Don't print noXFails and noXPasses.
2550 * math/gen-libm-test.pl (top level): Don't mention expected
2551 failure handling in comment.
2552 (new_test): Don't handle expected failures.
2553 (parse_args): Don't mention expected failure handling in comment.
2554 (generate_testfile): Don't handle expected failures.
2555 (parse_ulps): Likewise.
2556 (print_ulps_file): Likewise.
2557 (get_failure): Remove function.
2558 (output_test): Don't handle expected failures.
2559 * make/README.libm-test: Don't mention expected failure handling.
2560
a7548d41
JM
2561 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2562 (minus_zero): Likewise.
2563 (plus_infty): Likewise.
2564 (minus_infty): Likewise.
2565 (qnan_value): Likewise.
2566 (max_value): Likewise.
2567 (min_value): Likewise.
2568 (min_subnorm_value): Likewise.
2569 (initialize): Do not initialize those variables dynamically.
2570
60bfd54c
RM
25712013-05-03 Roland McGrath <roland@hack.frob.com>
2572
cc0e6ed8
RM
2573 * io/open.c (__open_2): Moved to ...
2574 * io/open_2.c: ... this new file.
2575 * io/open64.c (__open64_2): Moved to ...
2576 * io/open64_2.c: ... this new file.
2577 * io/openat.c (__openat_2): Moved to ...
2578 * io/openat_2.c: ... this new file.
2579 * io/openat64.c (__openat64_2): Moved to ...
2580 * io/openat64_2.c: ... this new file.
2581 * io/Makefile (routines): Add them.
2582 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2583 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2584 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2585 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2586 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2587 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2588 (__openat64): Add hidden_ver.
2589 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2590 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2591
60bfd54c
RM
2592 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2593 Separately conditionalize setting of GLRO(dl_sysinfo) so
2594 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2595 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2596
83e7640f
AZ
25972013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2598
2599 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2600 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2601 definition.
2602 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2603 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2604 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2605 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2606 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2607
d5dc2af3
JM
26082013-05-03 Joseph Myers <joseph@codesourcery.com>
2609
c31a5b1e
JM
2610 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2611 test signgam value.
2612
d5dc2af3
JM
2613 * math/libm-test.inc (hypot_test): Do not use
2614 IGNORE_ZERO_INF_SIGN.
2615
164fd39d
AJ
26162013-05-03 Andreas Jaeger <aj@suse.de>
2617
2618 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2619 Linux 3.9.
2620 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2621 (PF_MAX): Adjust for VSOCK change.
2622
8237f48c
AZ
26232013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2624
2625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2626
9df02941
CD
26272013-05-02 Carlos O'Donell <carlos@redhat.com>
2628
2629 [BZ #15264]
2630 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2631 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2632 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2633
d422395e
DM
26342013-05-02 David S. Miller <davem@davemloft.net>
2635
2636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2637
a07c5731
OB
26382013-05-01 Ondřej Bílka <neleai@seznam.cz>
2639
2640 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2641
1324e37f
RM
26422013-05-01 Roland McGrath <roland@hack.frob.com>
2643
2644 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2645
0695940b
RS
26462013-05-01 Richard Smith <richard@metafoo.co.uk>
2647
bb5f27ad 2648 [BZ #14952]
0695940b
RS
2649 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2650 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2651 Use __attribute__ ((__gnu_inline__)).
2652 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2653 Don't use __attribute__ ((__gnu_inline__)).
2654
10de07f5
JM
26552013-05-01 Joseph Myers <joseph@codesourcery.com>
2656
2657 [BZ #15423]
2658 * math/s_catan.c (__catan): Handle small real or imaginary part of
2659 input specially to avoid spurious underflow.
2660 * math/s_catanf.c (__catanf): Likewise.
2661 * math/s_catanh.c (__catanh): Likewise.
2662 * math/s_catanhf.c (__catanhf): Likewise.
2663 * math/s_catanhl.c (__catanhl): Likewise.
2664 * math/s_catanl.c (__catanl): Likewise.
2665 * math/libm-test.inc (catan_test): Add more tests.
2666 (catanh_test): Likewise.
2667 * sysdeps/i386/fpu/libm-test-ulps: Update.
2668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2669
cb4d5414
AZ
26702013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2671
2672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2673
caf84319
JM
26742013-04-30 Joseph Myers <joseph@codesourcery.com>
2675
2676 [BZ #15416]
2677 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2678 accurately for denominator in atan2.
2679 * math/s_catanf.c (__catanf): Likewise.
2680 * math/s_catanh.c (__catanh): Likewise.
2681 * math/s_catanhf.c (__catanhf): Likewise.
2682 * math/s_catanhl.c (__catanhl): Likewise.
2683 * math/s_catanl.c (__catanl): Likewise.
2684 * math/libm-test.inc (catan_test): Add more tests.
2685 (catanh_test): Likewise.
2686 * sysdeps/i386/fpu/libm-test-ulps: Update.
2687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2688
d569c6ee
SP
26892013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2690
6dbe713d
SP
2691 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2692
f0ee064b
SP
2693 * benchtests/Makefile (bench): Remove slow benchmarks.
2694 * benchtests/atan-inputs: Add slow benchmark inputs.
2695 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2696 (BENCH_FUNC): Accept variant offset.
2697 (VARIANT): Define.
2698 * benchtests/bench-skeleton.c (main): Run benchmark for each
2699 variant.
2700 * benchtests/cos-inputs: Add slow benchmark inputs.
2701 * benchtests/exp-inputs: Likewise.
2702 * benchtests/pow-inputs: Likewise.
2703 * benchtests/sin-inputs: Likewise.
2704 * benchtests/slowatan-inputs: Remove.
2705 * benchtests/slowatan.c: Remove.
2706 * benchtests/slowcos-inputs: Remove.
2707 * benchtests/slowcos.c: Remove.
2708 * benchtests/slowexp-inputs: Remove.
2709 * benchtests/slowexp.c: Remove.
2710 * benchtests/slowpow-inputs: Remove.
2711 * benchtests/slowpow.c: Remove.
2712 * benchtests/slowsin-inputs: Remove.
2713 * benchtests/slowsin.c: Remove.
2714 * benchtests/slowtan-inputs: Remove.
2715 * benchtests/slowtan.c: Remove.
2716 * benchtests/tan-inputs: Add slow benchmark inputs.
2717 * scripts/bench.pl: Parse comments and directives.
2718
d569c6ee
SP
2719 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2720 in CPPFLAGS.
2721 ($(objpfx)bench-%.c): Remove *-ITER.
2722 * benchtests/bench-modf.c: Remove definition of ITER.
2723 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2724 (main): Loop for DURATION seconds instead of fixed number of
2725 iterations.
2726 * scripts/bench.pl: Don't expect iterations in parameters.
2727
a6a242fe
RM
27282013-04-29 Roland McGrath <roland@hack.frob.com>
2729
2730 * io/fchdir.c (__fchdir): Renamed from fchdir.
2731 (fchdir): Define as weak alias.
2732
f2da7793
JM
27332013-04-29 Joseph Myers <joseph@codesourcery.com>
2734
2735 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2736 (ERRNO_EDOM): Likewise.
2737 (ERRNO_ERANGE): Likewise.
2738 (noErrnoTests): New variable.
2739 (init_max_error): Set errno to 0.
2740 (test_single_errno): New function.
2741 (test_errno): Likewise.
2742 (check_float_internal): Call test_errno. Set errno to 0.
2743 (check_complex): Refer to errno tests in comment.
2744 (check_int): Call test_errno. Set errno to 0.
2745 (check_long): Likewise.
2746 (check_bool): Likewise.
2747 (check_longlong): Likewise.
2748 (cos_test): Use ERRNO_* flags for errno tests instead of
2749 check_int.
2750 (expm1_test): Likewise.
2751 (fmod_test): Likewise.
2752 (ilogb_test): Likewise.
2753 (lgamma_test): Likewise.
2754 (pow_test): Likewise.
2755 (remainder_test): Likewise.
2756 (sin_test): Likewise.
2757 (tan_test): Likewise.
2758 (yn_test): Likewise.
2759 (initialize): Set errno to 0.
2760 (main): Print number of errno tests.
2761 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2762
b1a36ceb
AJ
27632013-04-29 Andreas Jaeger <aj@suse.de>
2764
c3ed8088
AJ
2765 [BZ #15084]
2766 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2767 and RES_USEVC.
2768
f1a24198
AJ
2769 [BZ #15085]
2770 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2771 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2772 unimplemented.
2773
9ce3b2cb
AJ
2774 [BZ #15380]
2775 * stdlib/random.c (__initstate): Return NULL if
2776 __initstate fails.
2777
f1a24198 2778 [BZ #15086]
b1a36ceb
AJ
2779 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2780 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2781 RES_SNGLKUPREOP.
2782
7e7b6f36
AZ
27832013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2784
2785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2786
4d14f449
JM
27872013-04-29 Joseph Myers <joseph@codesourcery.com>
2788
2789 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2790 of individual tests.
2791 (casin_test): Likewise.
2792 (casinh_test): Likewise.
2793
5b4217d7
JM
27942013-04-27 Joseph Myers <joseph@codesourcery.com>
2795
2796 [BZ #15409]
2797 * math/s_catan.c (__catan): Handle arguments with large real or
2798 imaginary part separately without squaring.
2799 * math/s_catanf.c (__catanf): Likewise.
2800 * math/s_catanh.c (__catanh): Likewise.
2801 * math/s_catanhf.c (__catanhf): Likewise.
2802 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2803 and redefine.
2804 (__catanhl): Handle arguments with large real or imaginary part
2805 separately without squaring.
2806 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2807 and redefine.
2808 (__catanl): Handle arguments with large real or imaginary part
2809 separately without squaring.
2810 * math/libm-test.inc (catan_test): Add more tests.
2811 (catanh_test): Likewise.
2812 * sysdeps/i386/fpu/libm-test-ulps: Update.
2813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2814
4220c3ef
AJ
28152013-04-27 Andreas Jaeger <aj@suse.de>
2816
2817 [BZ #15007]
2818 * stdlib/stdlib.h: Update guards for qecvt.
2819 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2820 <stdlib.h>.
2821
4721b2d1
AM
28222013-04-27 Allan McRae <allan@archlinux.org>
2823
2824 * sysdeps/i386/fpu/libm-test-ulps: Update.
2825
f0302940
JM
28262013-04-26 Joseph Myers <joseph@codesourcery.com>
2827
9457fd95
JM
2828 [BZ #15406]
2829 * math/s_catan.c: Include <float.h>.
2830 (__catan): Ensure underflow exception occurs for underflowed
2831 result.
2832 * math/s_catanf.c: Include <float.h>.
2833 (__catanf): Ensure underflow exception occurs for underflowed
2834 result.
2835 * math/s_catanh.c: Include <float.h>.
2836 (__catanh): Ensure underflow exception occurs for underflowed
2837 result.
2838 * math/s_catanhf.c: Include <float.h>.
2839 (__catanhf): Ensure underflow exception occurs for underflowed
2840 result.
2841 * math/s_catanhl.c: Include <float.h>.
2842 (__catanhl): Ensure underflow exception occurs for underflowed
2843 result.
2844 * math/s_catanl.c: Include <float.h>.
2845 (__catanl): Ensure underflow exception occurs for underflowed
2846 result.
2847 * math/libm-test.inc (catan_test): Add more tests.
2848 (catanh_test): Likewise.
2849
f0302940
JM
2850 [BZ #15405]
2851 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2852 underflowed result.
2853 * math/s_ccoshf.c (__ccoshf): Likewise.
2854 * math/s_ccoshl.c (__ccoshl): Likewise.
2855 * math/s_csin.c (__csin): Likewise.
2856 * math/s_csinf.c (__csinf): Likewise.
2857 * math/s_csinh.c (__csinh): Likewise.
2858 * math/s_csinhf.c (__csinhf): Likewise.
2859 * math/s_csinhl.c (__csinhl): Likewise.
2860 * math/s_csinl.c (__csinl): Likewise.
2861 * math/libm-test.inc (ccos_test): Add more tests.
2862 (ccosh_test): Likewise.
2863 (csin_test): Likewise.
2864 (csinh_test): Likewise.
2865
aa630f59
AZ
28662013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2867
2868 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2869 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2870 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2871 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2872 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2873 powerpc/power5+/fpu folders.
2874 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2875
2876
1b835983
MT
28772013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2878
2879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2880
73709b26
JM
28812013-04-25 Joseph Myers <joseph@codesourcery.com>
2882
2883 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2884 additions to variable.
2885 [$(config-machine) = x86_64] (modules-names): Likewise.
2886 ($(objpfx)tst-audit3): Remove dependency.
2887 ($(objpfx)tst-audit3.out): Likewise.
2888 ($(objpfx)tst-audit4): Likewise.
2889 ($(objpfx)tst-audit4.out): Likewise.
2890 ($(objpfx)tst-audit5): Likewise.
2891 ($(objpfx)tst-audit5.out): Likewise.
2892 ($(objpfx)tst-audit6): Likewise.
2893 ($(objpfx)tst-audit6.out): Likewise.
2894 ($(objpfx)tst-audit7): Likewise.
2895 ($(objpfx)tst-audit7.out): Likewise.
2896 (tst-audit3-ENV): Remove variable.
2897 (tst-audit4-ENV): Likewise.
2898 (tst-audit5-ENV): Likewise.
2899 (tst-audit6-ENV): Likewise.
2900 (tst-audit7-ENV): Likewise.
2901 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2902 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2903 addition to variable.
2904 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2905 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2906 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2907 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2908 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2909 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2910 tst-audit3, tst-audit4 and tst-audit5.
2911 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2912 tst-audit6 and tst-audit7.
2913 [$(subdir) = elf] (modules-names): Add audit modules for those
2914 tests.
2915 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2916 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2917 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2918 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2919 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2920 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2921 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2922 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2923 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2924 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2925 [$(subdir) = elf] (tst-audit3-ENV): New variable.
2926 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2927 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2928 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2929 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2930 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2931 Likewise.
2932 [$(subdir) = elf && $(config-cflags-avx) = yes]
2933 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2934 [$(subdir) = elf && $(config-cflags-avx) = yes]
2935 (CFLAGS-tst-auditmod4a.c): Likewise.
2936 [$(subdir) = elf && $(config-cflags-avx) = yes]
2937 (CFLAGS-tst-auditmod4b.c): Likewise.
2938 [$(subdir) = elf && $(config-cflags-avx) = yes]
2939 (CFLAGS-tst-auditmod6b.c): Likewise.
2940 [$(subdir) = elf && $(config-cflags-avx) = yes]
2941 (CFLAGS-tst-auditmod6c.c): Likewise.
2942 [$(subdir) = elf && $(config-cflags-avx) = yes]
2943 (CFLAGS-tst-auditmod7b.c): Likewise.
2944 * elf/tst-audit3.c: Move to ...
2945 * sysdeps/x86_64/tst-audit3.c: ... here.
2946 * elf/tst-audit4.c: Move to ...
2947 * sysdeps/x86_64/tst-audit4.c: ... here.
2948 * elf/tst-audit5.c: Move to ...
2949 * sysdeps/x86_64/tst-audit5.c: ... here.
2950 * elf/tst-audit6.c: Move to ...
2951 * sysdeps/x86_64/tst-audit6.c: ... here.
2952 * elf/tst-audit7.c: Move to ...
2953 * sysdeps/x86_64/tst-audit7.c: ... here.
2954 * elf/tst-auditmod3a.c: Move to ...
2955 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2956 * elf/tst-auditmod3b.c: Move to ...
2957 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2958 * elf/tst-auditmod4a.c: Move to ...
2959 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2960 * elf/tst-auditmod4b.c: Move to ...
2961 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2962 * elf/tst-auditmod5a.c: Move to ...
2963 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2964 * elf/tst-auditmod5b.c: Move to ...
2965 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2966 * elf/tst-auditmod6a.c: Move to ...
2967 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2968 * elf/tst-auditmod6b.c: Move to ...
2969 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2970 * elf/tst-auditmod6c.c: Move to ...
2971 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2972 * elf/tst-auditmod7a.c: Move to ...
2973 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2974 * elf/tst-auditmod7b.c: Move to ...
2975 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2976
1ef74943
PP
29772013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2978
2979 [BZ #15366]
2980 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2981 define unconditionally.
2982 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2983 define unconditionally.
2984 (INT8_C, INT16_C, etc.): Likewise.
2985
93fd48c5
MR
29862013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2987
ae9552cf
MR
2988 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2989 __ehdr_start with hidden visibility.
2990
93fd48c5
MR
2991 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2992
418601aa
CD
29932013-04-24 Carlos O'Donell <carlos@redhat.com>
2994
2995 * math/libm-test.inc (cos_test): Use accurate hex constants.
2996 (sincost_test): Likewise.
2997
2f38fbfe
JM
29982013-04-24 Joseph Myers <joseph@codesourcery.com>
2999
5e221800
JM
3000 * math/libm-test.inc (catan_test): Add more tests.
3001 (catanh_test): Likewise.
3002
77f143fd
JM
3003 * math/s_catanf.c (__catanf): Use suffixed floating-point
3004 constants.
3005 * math/s_catanhf.c (__catanhf): Likewise.
3006 * math/s_catanhl.c (__catanhl): Likewise.
3007 * math/s_catanl.c (__catanl): Likewise.
3008
2f38fbfe
JM
3009 [BZ #15394]
3010 * math/s_catan.c (__catan): Calculate imaginary part of result
3011 with log1p not log unless computing log of number close to 0.
3012 * math/s_catanf.c (__catanf): Likewise.
3013 * math/s_catanl.c (__catanl): Likewise.
3014 * math/s_catanh.c (__catanh): Calculate real part of result with
3015 log1p not log unless computing log of number close to 0.
3016 * math/s_catanhf.c (__catanhf): Likewise.
3017 * math/s_catanhl.c (__catanhl): Likewise.
3018 * math/libm-test.inc (catan_test): Add more tests.
3019 (catanh_test): Likewise.
3020 * sysdeps/i386/fpu/libm-test-ulps: Update.
3021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3022
45d69176
SP
30232013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3024
3025 * benchtests/Makefile: Mention files in which fast and slow
3026 paths of math functions are implemented.
3027
87f51853
RM
30282013-04-23 Roland McGrath <roland@hack.frob.com>
3029
3030 * sysdeps/posix/timespec_get.c: New file.
3031
3c026539
AZ
30322013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3033
3034 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3035 POWER.
3036 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3037 for POWER.
3038 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3039 powerpc/power5/fpu folders.
3040 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3041 * benchtests/Makefile: Add modf testcase.
3042 * benchtests/bench-modf.c: New file: Benchmark test for mo
3043
ff491d14
SP
30442013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3045
3046 [BZ #14888]
3047 * time/Makefile (tests): Add tst-strptime-whitespace.
3048 * time/strptime_l.c (get_number): Use ISSPACE.
3049 (__strptime_internal): Likewise.
3050 * time/tst-strptime-whitespace.c: New test case.
3051
7ed3f4e8
AS
30522013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3053
3054 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3055 member.
3056 (_nss_files_init): Set it here.
3057
5c95f7b6
HC
30582013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3059
3060 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3061 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3062 unsigned.
3063
d34c9158
JBG
30642013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3065
3066 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3067
2169712d
SP
30682013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3069
3070 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3071 size just once.
3072
29c5de99
DM
30732013-04-21 David S. Miller <davem@davemloft.net>
3074
3075 * po/ru.po: Update Russion translation from translation project.
3076
ccdad15d
AC
30772013-04-17 Adam Conrad <adconrad@0c3.net>
3078
3079 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3080 and setfsgid.
3081
0f122b8d
CD
30822013-04-17 Carlos O'Donell <carlos@redhat.com>
3083
5c5b07da 3084 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3085 * configure: Regenerate.
5c5b07da 3086 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3087 Add example to error message.
3088 * sysdeps/i386/configure: Regenerate.
3089
037714dd
SP
30902013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3091
3092 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3093 slowtan.
3094 * benchtests/cos-inputs: New file.
3095 * benchtests/slowcos-inputs: New file.
3096 * benchtests/slowcos.c: New file.
3097 * benchtests/slowtan-inputs: New file.
3098 * benchtests/slowtan.c: New file.
3099 * benchtests/tan-inputs: New file.
3100
e913141d
RM
31012013-04-16 Roland McGrath <roland@hack.frob.com>
3102
3103 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3104 considered kosher.
3105
a2964074
SP
31062013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3107
4856bcd2
SP
3108 * benchtests/Makefile: Include cppflags-iterator.mk to add
3109 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3110
a2964074
SP
3111 * Makefile.in (bench-clean): New target.
3112 * benchtests/Makefile (bench-clean): Likewise.
3113
9fbf9aca
DH
31142013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3115
3116 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3117
207d1e2a
TS
31182013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3119
3120 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3121
306dfba9
AS
31222013-04-15 Andreas Schwab <schwab@suse.de>
3123
3124 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3125 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3126 * nscd/pwdcache.c (cache_addpw): Likewise.
3127 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3128 more than recsize.
3129
206a6699
SP
31302013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3131
3132 * benchtests/Makefile (bench): Write all output to
3133 bench-out.tmp together.
3134
0582f6b3
AS
31352013-04-15 Andreas Schwab <schwab@suse.de>
3136
3137 * nscd/nscd.c (main): Don't fork again after closing files.
3138
acb4325f
SP
31392013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3140
5cb26d0a
SP
3141 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3142
acb4325f
SP
3143 * benchtests/Rules (bench-deps): Collect dependencies into a
3144 single variable. Add Makefile to dependencies.
3145 ($(objpfx)bench-%.c): Depend on bench-deps.
3146
47792506
RM
31472013-04-12 Roland McGrath <roland@hack.frob.com>
3148 Xavier Roche <roche+kml2@exalead.com>
3149
3150 [BZ #15361]
3151 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3152 just that it's a file descriptor.
3153 * manual/llio.texi (Synchronizing AIO Operations): Update description
3154 for EBADF error from aio_fsync.
3155
8fc1bee5
SP
31562013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3157
3158 * Rules (bench): Move target definition...
3159 * benchtests/Makefile: ... here.
3160
aba5e333
CD
31612013-04-11 Carlos O'Donell <carlos@redhat.com>
3162
3163 * math/libm-test.inc (cos_test): Fix PI/2 test.
3164 (sincos_test): Likewise.
3165 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3166 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3167
273cdee8
AS
31682013-04-11 Andreas Schwab <schwab@suse.de>
3169
6ecec3b6
AS
3170 [BZ #13988]
3171 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3172 accept exponent character only when digits were seen.
3173 * stdio-common/Makefile (tests): Add bug26.
3174 * stdio-common/bug26.c: New file.
3175
273cdee8
AS
3176 [BZ #14293]
3177 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3178 non-freeable.
3179
8da491f5
SP
31802013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3181
01dc6df9
SP
3182 * Makeconfig (rtld-prefix): Define built linker prefix.
3183 * Rules (run-bench): Use it.
3184 * math/Makefile (run-regen-ulps): Likewise.
3185
8da491f5
SP
3186 * Rules (bench): Remove eval.
3187
abe7f530
SP
31882013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3189 Roland McGrath <roland@hack.frob.com>
3190 Ondrej Bilka <neleai@seznam.cz>
3191
3192 [BZ #15346]
3193 * time/getdate.c: Include ctype.h and alloca.h.
3194 (__getdate_r): Trim leading and trailing spaces of input.
3195 * time/tst-getdate.c (tests): Add tests with leading and
3196 trailing spaces.
3197
61c23e62
RM
31982013-04-08 Roland McGrath <roland@hack.frob.com>
3199
3200 [BZ #14280]
3201 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3202 when computing value.
3203
7208a313
CD
32042013-04-06 Carlos O'Donell <carlos@redhat.com>
3205
085b2d41
CD
3206 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3207 Use testrun.sh to run libm tests.
3208
7208a313
CD
3209 [BZ #15309]
3210 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3211
872c0acd
MM
32122013-04-06 Marko Myllynen <myllynen@redhat.com>
3213
3214 [BZ #15264]
3215 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3216
26510bdd
CD
32172013-04-06 Carlos O'Donell <carlos@redhat.com>
3218
3219 * Makefile.in (regen-ulps): New target.
3220 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3221 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3222 [ifneq (no,$(PERL)] (regen-ulps): New target.
3223 [ifeq (no,$(PERL)] (regen-ulps): New target.
3224 * math/libm-test.inc (ulps_file_name): Define.
3225 (output_dir): New variable.
3226 (options): Add "output-dir" option.
3227 (parse_opt): Handle 'o' case.
3228 (main): If output_dir is non-NULL use it as a prefix
3229 otherwise use "".
3230 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3231
a01f19c8
CD
32322013-04-06 Carlos O'Donell <carlos@redhat.com>
3233
3234 [BZ #10060, #10062]
3235 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3236 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3237 fail configure if __sync_val_compare_and_swap is not inlined.
3238 * sysdeps/i386/configure: Regenerate.
3239 * configure.in: Build for i686 when configured for i386.
3240 * configure: Regenerate.
3241 * README: Remove i386 reference.
3242
b7a329a5
CD
32432013-04-06 Carlos O'Donell <carlos@redhat.com>
3244
3245 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3246 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3247
bf0f50df
TS
32482013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3249
ee091edf
TS
3250 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3251 (lmsnanval): New variables.
3252 (F): Add conversion tests.
3253 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3254 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3255
a8b792d6
TS
3256 * stdio-common/tstdiomisc.c (F): Properly collect individual
3257 tests' results.
3258
a1cbf437
TS
3259 [BZ #14686, #15336]
3260 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3261 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3262 Instead, use input NaN values or generate a qNaN by arithmetic
3263 operation. Also fix bugs to comply with the standard.
3264 * math/libm-test.inc (remainder_test): Add more tests.
3265
8b43a0c9
TS
3266 [BZ #15335, #15342]
3267 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3268 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3269 input NaN values or generate a qNaN by arithmetic operation.
3270
d91da4ce
TS
3271 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3272 unreachable code.
3273
bf0f50df
TS
3274 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3275 definitions.
3276
05e166c8
JM
32772013-04-03 Joseph Myers <joseph@codesourcery.com>
3278
3279 [BZ #14478]
3280 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3281 underflowed result.
3282 * math/s_cexpf.c (__cexpf): Likewise.
3283 * math/s_cexpl.c (__cexpl): Likewise.
3284 * math/libm-test.inc (cexp_test): Add more tests.
3285
1cef1b19
AS
32862013-04-03 Andreas Schwab <schwab@suse.de>
3287
3288 [BZ #15330]
3289 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3290 order arrays from heap if bigger than alloca cutoff.
3291
74d87055
TS
32922013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3293
3294 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3295 (SNAN_TESTS_double): Refer to GCC PR56831.
3296 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3297 GCC PR56828.
3298
d755bba4
SP
32992013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3300
90d5d5bb
SP
3301 * Rules (bench): Move bench.out after the run is complete.
3302
73e0cd5d
SP
3303 * Rules (bench): Echo currently running benchmark.
3304
64aabd4b
SP
3305 * benchtests/Makefile (bench): Add atan and slowatan.
3306 * benchtests/atan-inputs: New file.
3307 * benchtests/slowatan-inputs: New file.
3308 * benchtests/slowatan.c: New file.
3309
c871eccd
SP
3310 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3311 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3312 its value.
3313
d755bba4
SP
3314 [BZ #15305]
3315 * sysdeps/unix/sysv/linux/kernel-features.h
3316 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3317 __ASSUME_XFS_RESTRICTED_CHOWN.
3318 * sysdeps/unix/sysv/linux/pathconf.c
3319 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3320 Save and restore errno.
3321
52ce4860
JM
33222013-04-02 Joseph Myers <joseph@codesourcery.com>
3323
3324 [BZ #15327]
3325 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3326 arguments using __kernel_casinh.
3327 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3328 arguments using __kernel_casinhf.
3329 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3330 arguments using __kernel_casinhl.
3331 * math/libm-test.inc (cacosh_test): Add more tests.
3332 * sysdeps/i386/fpu/libm-test-ulps: Update.
3333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3334
81f311c2
SP
33352013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3336
e7906a47
SP
3337 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3339
92e3664b
SP
3340 * bench/Makefile (bench): Add sin and slowsin.
3341 * benchtests/sin-inputs: New file.
3342 * benchtests/slowsin-inputs: New file.
3343 * benchtests/slowsin.c: New file.
3344
81f311c2
SP
3345 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3346 (bench): Add slowexp and slowpow.
3347 (exp-ITER): Increase iterations.
3348 (pow-ITER): Likewise.
3349 * benchtests/exp-inputs: Change input.
3350 * benchtests/pow-inputs: Likewise.
3351 * benchtests/slowexp-inputs: New file.
3352 * benchtests/slowexp.c: New file.
3353 * benchtests/slowpow-inputs: New file.
3354 * benchtests/slowpow.c: New file.
3355
ab0f1aa9
AZ
33562013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3357
3358 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3359 instructions.
3360 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3361 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3362 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3363 * benchtests/Makefile: Add rint benchtest.
3364 * benchtests/rint-inputs: Input for rint benchtest.
3365
57267616
TS
33662013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3367
3368 * Versions.def (libm): Add GLIBC_2.18.
3369 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3370 hidden libm prototypes.
3371 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3372 * math/Makefile (libm-calls): Add s_issignaling.
3373 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3374 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3375 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3376 declaration.
3377 * math/math.h [__USE_GNU] (issignaling): New macro.
3378 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3379 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3380 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3381 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3382 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3383 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3384 * manual/arith.texi (issignaling): New section.
3385 * manual/libm-err-tab.pl (@all_functions): Update comment.
3386 * math/gen-libm-test.pl (parse_args): Apply special handling for
3387 issignaling.
3388 * math/libm-test.inc (print_float, issignaling_test): New
3389 functions.
3390 (check_float_internal): Add issignaling checks.
3391 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3392 default definition.
3393 * sysdeps/powerpc/math-tests.h: New file.
3394 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3395 tests.
3396 * math/test-snan.c (TEST_FUNC): Likewise.
3397
6142896d
DM
33982013-03-30 David S. Miller <davem@davemloft.net>
3399
3400 * po/de.po: Update from translation team.
3401
ccc8cadf
JM
34022013-03-30 Joseph Myers <joseph@codesourcery.com>
3403
3404 [BZ #10357]
3405 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3406 imaginary part less than 1.0 and real part less than 0.5
3407 specially.
3408 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3409 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3410 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3411 (cacos_test): Add more tests.
3412 (casin_test): Likewise.
3413 (casinh_test): Likewise.
3414 * sysdeps/i386/fpu/libm-test-ulps: Update.
3415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3416
0f6a8d4b
SP
34172013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3418
0d1029de
SP
3419 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3420 ONE with its value.
3421
c2d94018
SP
3422 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3423 (__pow_mp): Replace ONE and MONE with their values.
3424 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3425 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3426 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3427 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3428 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3429 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3430
27ec37f1
SP
3431 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3432
a64d7e0e
SP
3433 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3434 (__pow_mp): Replace ZERO and MZERO with their values.
3435 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3436 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3437 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3439 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3440 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3441 (__sqr): Likewise.
3442
d26dd3eb
SP
3443 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3444
0f6a8d4b
SP
3445 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3446
e57b0c61
RM
34472013-03-28 Roland McGrath <roland@hack.frob.com>
3448
3449 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3450 Declare with __attribute__ ((weak)).
3451 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3452 Call __call_tls_dtors only if it's not NULL.
3453
356b3480
RM
34542013-03-28 Roland McGrath <roland@hack.frob.com>
3455
288f7d79
RM
3456 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3457 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3458 magic __ehdr_start linker symbol if it's defined.
3459 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3460 them up here if it was already done.
3461
dc0a0263
RM
3462 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3463 (_dl_aux_init): Use const in cast when setting it.
3464 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3465 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3466 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3467
3d3436ae
RM
3468 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3469 Declare them here.
3470 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3471 * csu/libc-tls.c: Nor here.
3472 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3473
356b3480
RM
3474 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3475 (__libc_message): Never call vsyslog.
3476
b0f1246a
AM
34772013-03-28 Alan Modra <amodra@gmail.com>
3478
3479 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3480 Define as empty.
3481 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3482 Likewise.
3483
fbbe2b9a
AZ
34842013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3485
3486 [BZ #15214]
3487 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3488 underflow.
3489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3490
1728ab37
SP
34912013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3492
7a86be6e
SP
3493 [BZ #15304]
3494 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3495 Don't add gid passed as argument.
3496
1728ab37
SP
3497 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3498
3a7182a1
JM
34992013-03-27 Joseph Myers <joseph@codesourcery.com>
3500
3501 [BZ #15307]
3502 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3503 imaginary part between 1.0 and 1.5 and real part less than 0.5
3504 specially.
3505 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3506 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3507 * math/libm-test.inc (cacos_test): Add more tests.
3508 (casin_test): Likewise.
3509 (casinh_test): Likewise.
3510 * sysdeps/i386/fpu/libm-test-ulps: Update.
3511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3512
6f2e90e7
SP
35132013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3514
5739f705
SP
3515 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3516 constants.
3517 (norm): Likewise.
3518 (denorm): Likewise.
3519 (__dbl_mp): Likewise.
3520 (add_magnitudes): Likewise.
3521 (sub_magnitudes): Likewise.
3522 (__add): Likewise.
3523 (__sub): Likewise.
3524 (__mul): Likewise.
3525 (__sqr): Likewise.
3526 (__inv): Likewise.
3527 (__dvd): Likewise.
3528
e375e83d
SP
3529 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3530 commented code.
3531 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3532 (__dubcos): Likewise.
3533 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3534 (__ieee754_acos): Likewise.
3535 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3536 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3537 (__exp1): Likewise.
3538 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3539 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3540 (log1): Likewise.
3541 (my_log2): Likewise.
3542 (checkint): Likewise.
3543 * sysdeps/ieee754/dbl-64/e_remainder.c
3544 (__ieee754_remainder): Likewise.
3545 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3546 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3547 (bsloww): Likewise.
3548 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3549
6f2e90e7
SP
3550 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3551 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3552 MANTISSA_STORE_T to store computations on mantissa. Use
3553 macros for rounding and division.
3554 (denorm): Likewise.
3555 (__dbl_mp): Likewise.
3556 (add_magnitudes): Likewise.
3557 (sub_magnitudes): Likewise.
3558 (__mul): Likewise.
3559 (__sqr): Likewise.
3560 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3561 powers of two in terms of TWOPOW macro.
3562 (mp_no): Make type of mantissa as MANTISSA_T.
3563 [!RADIXI]: Define RADIXI.
3564 [!TWO52]: Define TWO52.
3565 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3566
fce14d4e
AZ
35672013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3568
3569 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3570 llroundl symbol when building for PPC32.
3571
9ad027fb
MW
35722013-03-24 Mark H Weaver <mhw@netris.org>
3573
3574 * manual/arith.texi (Normalization Functions): Fix prototypes for
3575 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3576
e42a38dd
AZ
35772013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3578
3579 [BZ #13889]
3580 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3581 high value to check if expl overflow.
3582 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3583 to check for underflow and overflow.
3584 * math/libm-test.inc: Add exp test.
3585
2e0fb521
DL
35862013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3587
3588 [BZ #11120]
3589 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3590 with NOT_IN_libc.
3591
b5784d95
AZ
35922013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3593
3594 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3595 symbol.
3596
5aa4a1a1
TS
35972013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3598
bdef0be7
TS
3599 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3600 wrap blocks consisting of several statements.
3601
5aa4a1a1
TS
3602 * sysdeps/generic/math-tests.h: New file.
3603 * sysdeps/i386/fpu/math-tests.h: Likewise.
3604 * math/test-snan.c: Include it.
3605 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3606
98c48fe5
JM
36072013-03-21 Joseph Myers <joseph@codesourcery.com>
3608
3609 [BZ #15285]
3610 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3611 (__ieee754_j0l): Do not improve calculations using cos of twice
3612 input for inputs above LDBL_MAX / 2.0L.
3613 (__ieee754_y0l): Likewise.
3614 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3615 (__ieee754_j1l): Do not improve calculations using cos of twice
3616 input for inputs above LDBL_MAX / 2.0L.
3617 (__ieee754_y1l): Likewise.
3618 * math/libm-test.inc (j0_test): Add another test.
3619 (j1_test): Likewise.
3620 (y0_test): Likewise.
3621 (y1_test): Likewise.
3622 * sysdeps/i386/fpu/libm-test-ulps: Update.
3623
3775a8bc
SP
36242013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3625
3626 * Rules ($(objpfx)bench-%.c): Include code from a C source
3627 file.
3628
0a1b2ae6
JM
36292013-03-21 Joseph Myers <joseph@codesourcery.com>
3630
3631 [BZ #15287]
3632 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3633 imaginary part 1.0 and real part less than 0.5 specially.
3634 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3635 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3636 * math/libm-test.inc (cacos_test): Add more tests.
3637 (casin_test): Likewise.
3638 (casinh_test): Likewise.
3639 * sysdeps/i386/fpu/libm-test-ulps: Update.
3640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3641
b33d4ce4
SP
36422013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3643
3644 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3645 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3646
bef0b507
JM
36472013-03-20 Joseph Myers <joseph@codesourcery.com>
3648
3649 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3650 * config.make.in (config-cflags-sse4): Remove variable.
3651 (config-cflags-avx): Likewise.
3652 (config-cflags-sse2avx): Likewise.
3653 (config-cflags-novzeroupper): Likewise.
3654 (config-asflags-i686): Likewise.
3655 (have-mfma4): Likewise.
3656 (have-as-vis3): Likewise.
3657 (MIG): Likewise.
3658 * configure.in (MIG): Do not AC_SUBST.
3659 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3660 (libc_cv_cc_sse4): Do not AC_SUBST.
3661 (libc_cv_cc_avx): Likewise.
3662 (libc_cv_cc_sse2avx): Likewise.
3663 (libc_cv_cc_novzeroupper): Likewise.
3664 (libc_cv_cc_fma4): Likewise.
3665 (libc_cv_as_i686): Likewise.
3666 (libc_cv_sparc_as_vis3): Likewise.
3667 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3668 LIBC_CONFIG_VAR.
3669 (config-asflags-i686): Likewise.
3670 (config-cflags-avx): Likewise.
3671 (config-cflags-sse2avx): Likewise.
3672 (have-mfma4): Likewise.
3673 (config-cflags-novzeroupper): Likewise.
3674 * sysdeps/mach/configure.in (MIG): Likewise.
3675 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3676 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3677 LIBC_CONFIG_VAR.
3678 (config-cflags-avx): Likewise.
3679 (config-cflags-sse2avx): Likewise.
3680 (have-mfma4): Likewise.
3681 (config-cflags-novzeroupper): Likewise.
3682 * configure: Regenerated.
3683 * sysdeps/i386/configure: Likewise.
3684 * sysdeps/mach/configure: Likewise.
3685 * sysdeps/sparc/configure: Likewise.
3686 * sysdeps/x86_64/configure: Likewise.
3687
912cc4b3
RM
36882013-03-20 Roland McGrath <roland@hack.frob.com>
3689
3690 [BZ #14812]
3691 * locale/programs/localedef.c (options): Put N_ translation marker
3692 on argument names, not just descriptions.
3693
04eed2b0
MS
36942013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3695
3696 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3697
a065ceff
OB
36982013-03-20 Ondřej Bílka <neleai@seznam.cz>
3699
9bb2a810 3700 [BZ #14176]
a065ceff
OB
3701 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3702
a600e5ce
RM
37032013-03-19 Roland McGrath <roland@hack.frob.com>
3704
3705 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3706 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3707 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3708 [!BEFORE_ABORT] (before_abort): New function.
3709 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3710 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3711 (writev_for_fatal): New function.
3712 (WRITEV_FOR_FATAL): New macro; call that.
3713 (backtrace_and_maps): New function.
3714 (BEFORE_ABORT): New macro; call that.
3715 (struct str_list): Type removed.
3716 (__libc_message, __libc_fatal): Functions removed.
3717 Include <sysdeps/posix/libc_fatal.c> instead.
3718
6b18bea6
JM
37192013-03-19 Joseph Myers <joseph@codesourcery.com>
3720
3721 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3722 constants.
3723 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3724 double constants.
3725
aaa8cb4b
AS
37262013-03-19 Andreas Schwab <schwab@suse.de>
3727
44673770
AS
3728 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3729 * sysdeps/gnu/configure: Regenerate.
3730
aaa8cb4b
AS
3731 * configure.in: Substitute libc_cv_rtlddir.
3732 * configure: Regenerate.
3733 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3734 * Makeconfig (rtlddir, inst_rtlddir): New variables.
3735 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3736 * elf/Makefile (install-others, CFLAGS-interp.c)
3737 (ldso_install, common-ldd-rewrite): Likewise.
3738 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3739 $(inst_slibdir)/$(rtld-installed-name).
3740 * scripts/rellns-sh: Add -p option.
3741 * Makerules (make-shlib-link): Use rellns-sh to get relative name
3742 for source.
3743
d3cfc668
SP
37442013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3745
3746 * manual/nptl.texi: Renamed to ...
3747 * manual/threads.texi: ... this.
3748 * manual/Makefile (chapters): Update.
3749
0e2b9cdd
RM
37502013-03-18 Roland McGrath <roland@hack.frob.com>
3751
3752 [BZ #14812]
3753 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3754 on argument names, not just descriptions.
0e2b9cdd
RM
3755 * malloc/memusagestat.c (options): Likewise.
3756 * nss/getent.c (options): Likewise.
63270c24
RM
3757
37582013-03-18 Benno Schulenberg <bensberg@justemail.net>
3759
3760 [BZ #14812]
3761 * iconv/iconv_prog.c (options): Put N_ translation marker
3762 on argument names, not just descriptions.
3763 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 3764
b2e1393c
OB
37652013-03-18 Ondrej Bilka <neleai@seznam.cz>
3766
3767 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3768 implementation which is faster on all x86_64 architectures.
3769 Tested on AMD, Intel Nehalem, SNB, IVB.
3770 * sysdeps/x86_64/strnlen.S: Likewise.
3771
3772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3773 Remove all multiarch strlen and strnlen versions.
3774 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3775 Remove strlen and strnlen related parts.
3776
3777 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3778 Inline strlen part.
3779 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3780
3781 * sysdeps/x86_64/multiarch/strlen.S: Remove.
3782 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3783 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3784 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3785 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3786 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3787
ec4ff04d
CD
37882013-03-17 Carlos O'Donell <carlos@redhat.com>
3789
3790 * manual/memory.texi (Malloc Tunable Parameters):
3791 Sort parameters alphabetically. Add comments for missing entries.
3792
cd18e90a
DM
37932013-03-17 David S. Miller <davem@davemloft.net>
3794
3795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3796
2a185d32
JM
37972013-03-16 Joseph Myers <joseph@codesourcery.com>
3798
d2f9799e
JM
3799 [BZ #15283]
3800 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3801 for arguments at most half maximum finite value.
3802 * math/libm-test.inc (j0_test): Add more tests.
3803 (j1_test): Likewise.
3804 (y0_test): Likewise.
3805 (y1_test): Likewise.
3806 * sysdeps/i386/fpu/libm-test-ulps: Update.
3807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3808
2a185d32
JM
3809 [BZ #14155]
3810 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3811 1 / x and functions P and Q for arguments above 0x1p256L.
3812 (__ieee754_y0l): Likewise.
3813 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3814 (__ieee754_y1l): Likewise.
3815 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3816 (j1_test): Likewise.
3817 (y0_test): Likewise.
3818 (y1_test): Likewise.
3819
6cbec759
TS
38202013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3821
3822 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3823 variable.
3824
bc16e260
RM
38252013-03-15 Roland McGrath <roland@hack.frob.com>
3826
aefc9b8c
RM
3827 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3828 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3829 zero since it's initialized to EXEC_PAGESIZE.
3830
bc16e260
RM
3831 * sysdeps/unix/sysv/linux/ldsodefs.h
3832 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3833 * sysdeps/generic/ldsodefs.h: ... here.
3834
a57da955
TS
38352013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3836
af00a34d
TS
3837 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3838
495ded2c
TS
3839 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3840 math/test-snan.c.
3841 * math/test-snan.c: Renamed from
3842 sysdeps/powerpc/fpu/test-powerpc-snan.c.
3843 * math/Makefile (tests): Add test-snan.
3844 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3845 test-powerpc-snan.
3846
777b0332
TS
3847 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3848 SUFFIX. Initialize qNaN_var with __builtin_nan family of
3849 functions.
3850 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
3851 __builtin_nan family of functions.
3852 * math/libm-test.inc (initialize): Initialize qnan_value with
3853 __builtin_nan family of functions.
3854 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3855 Remove variables.
3856 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3857 Remove functions.
3858 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
3859 storage class. Initialize qNaN_var and sNaN_var with
3860 __builtin_nan and __builtin_nans families of functions,
3861 respectively.
3862
64d063b8
TS
3863 * math/libm-test.inc (acosh_test): Also test with qNaN input.
3864 (sqrt_test): Remove duplicate test with qNaN input.
3865 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3866 (round_test, signbit_test, significand_test): Note missing +/-Inf
3867 as well as qNaN tests.
3868
67e971f1
TS
3869 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3870 qNaN_var. Fix a few strings, too.
3871 * math/libm-test.inc (nan_value): Rename to qnan_value.
3872 * math/gen-libm-test.pl (%beautify): Adjust to that.
3873 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3874 * math/test-misc.c (main): Likewise.
3875 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3876 to __qnan_bytes, and __qnan_union, respectively.
3877 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3878 Likewise.
3879 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3880 and lqnanval, respectively.
3881 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3882 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3883 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3884 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3885
64487e12
TS
3886 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3887 * math/test-misc.c (main) [__x86_64__]: Enable test for long
3888 doubles.
3889
e015e27b
TS
3890 * math/test-misc.c (main): Fix copy'n'pastos.
3891 * misc/tst-efgcvt.c (special): Likewise.
3892
a57da955
TS
3893 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3894 Remove declarations.
3895
1e380345
SP
38962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3897
3898 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3899 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3900 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3901 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3902
ef26eece
AZ
39032013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3904
3905 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3906 macro to return vdso values correctly in IFUNC implementations.
3907 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3908 Optimization by using IFUNC.
3909
8cfdb7e0
SP
39102013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3911 Richard Henderson <rth@redhat.com>
3912 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3913
3914 * Makefile.in (bench): New target.
3915 * NEWS: Mention the benchmark framework.
3916 * Rules (bench): Likewise.
3917 (binaries-bench): Generate binaries for functions to
3918 benchmark.
3919 * benchtests/Makefile: New makefile for benchmark tests.
3920 * benchtests/bench-skeleton.c: New skeleton file for benchmark
3921 programs.
3922 * benchtests/exp-inputs: New input file for EXP function.
3923 * benchtests/pow-inputs: New input file for POW function.
3924 * scripts/bench.pl: New script to generate source files for
3925 benchmark programs.
3926
bcda9880
SP
39272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3928
d22ca8cd
SP
3929 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3930 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3931 computations on mantissa. Use macros for rounding and
3932 division.
3933 (denorm): Likewise.
3934 (__dbl_mp): Likewise.
3935 (add_magnitudes): Likewise.
3936 (sub_magnitudes): Likewise.
3937 (__mul): Likewise.
3938 (__sqr): Likewise.
3939 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3940 powers of two in terms of TWOPOW macro.
3941 (mp_no): Make type of mantissa as MANTISSA_T.
3942 [!RADIXI]: Define RADIXI.
3943 [!TWO52]: Define TWO52.
3944 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3945
bcda9880
SP
3946 * manual/nptl.texi (cindex): Modify threads to pthreads.
3947
06d5adfb
JM
39482013-03-15 Joseph Myers <joseph@codesourcery.com>
3949
3950 * sysdeps/x86_64/preconfigure: Regenerated.
3951
41c7328e
JM
39522013-03-14 Joseph Myers <joseph@codesourcery.com>
3953
3954 [BZ #14155]
3955 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3956 0x1p28 and above.
3957 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3958 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3959 0x1p28 and above.
3960 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3961 * math/libm-test.inc (j0_test): Do not allow one spurious
3962 underflow exception.
3963 (y1_test): Likewise.
3964
e25cfa60
SP
39652013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3966
0409959c
SP
3967 * manual/Makefile (chapters): Add nptl.
3968 * manual/debug.texi (Debugging Support): Add link to Threads
3969 chapter.
3970 * manual/nptl.texi: New file.
3971
e25cfa60
SP
3972 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3973
58a1335e
PB
39742013-03-14 Petr Baudis <pasky@ucw.cz>
3975
3976 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3977 for non-NULL pointer before the memory validity test. Pointed
3978 out by Holger Brunck <holger.brunck@keymile.com>.
3979
9dc7c64f
AS
39802013-03-13 Andreas Schwab <schwab@suse.de>
3981
3982 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3983 instead of .os.
3984
54206aa6
JM
39852013-03-13 Joseph Myers <joseph@codesourcery.com>
3986
3987 * timezone/zic.c: Update from tzcode 2013b.
3988
e98cdb38
CD
39892013-03-12 Carlos O'Donell <carlos@redhat.com>
3990
3991 * manual/install.texi (Configuring and compiling):
3992 Mention i686 and i586.
3993 * INSTALL: Regenerate.
3994
9967e003
RM
39952013-03-12 Roland McGrath <roland@hack.frob.com>
3996
3997 * sysdeps/init_array/elf-init.c: New file.
3998 * csu/elf-init.c
3999 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4000 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4001
4002 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4003 __gmon_start__ as global, but as static with a .preinit_array pointer.
4004 * sysdeps/init_array/gmon-start.c: New file. Use that.
4005 * sysdeps/init_array/crti.S: New file, empty except for comments.
4006 * sysdeps/init_array/crtn.S: Likewise.
4007
e6b5a293 40082013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4009
4010 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4011 definining bcopy.
80f844c9
OB
4012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4013 Remove Prefer_SSE_for_memop.
4014 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4015 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4016 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4018 memset-x86-64.
80f844c9 4019 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4020 Remove bzero, memset ifunc support.
80f844c9
OB
4021 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4022 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4023 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4024 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4025
fb6b0fcb
AS
40262013-03-11 Andreas Schwab <schwab@suse.de>
4027
4028 [BZ #15234]
4029 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4030 by SHLIB_COMPAT.
4031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4032 (GLIBC_2.16): Remove pthread_atfork.
4033
3e6bd4b1
PP
40342013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4035
4036 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4037 (ptestcases.h): Likewise.
4038
222d7f00
RM
40392013-03-08 Roland McGrath <roland@hack.frob.com>
4040
4041 * Makeconfig ($(common-objpfx)config.status): Depend on
4042 sysdeps/*/preconfigure{,.in} too.
4043
1ba4f030
JM
40442013-03-08 Joseph Myers <joseph@codesourcery.com>
4045
a222d91a
JM
4046 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4047 (__free_hook): Use void * instead of __malloc_ptr_t.
4048 (__malloc_hook): Likewise.
4049 (__realloc_hook): Likewise.
4050 (__memalign_hook): Likewise.
4051 (__after_morecore_hook): Likewise.
4052 * malloc/arena.c (save_malloc_hook): Likewise.
4053 (save_free_hook): Likewise.
4054 * malloc/hooks.c (malloc_hook_ini): Likewise.
4055 (realloc_hook_ini): Likewise.
4056 (memalign_hook_ini): Likewise.
4057 * malloc/malloc.c (malloc_hook_ini): Likewise.
4058 (realloc_hook_ini): Likewise.
4059 (memalign_hook_ini): Likewise.
4060 (__free_hook): Likewise.
4061 (__malloc_hook): Likewise.
4062 (__realloc_hook): Likewise.
4063 (__memalign_hook): Likewise.
4064 (__libc_malloc): Likewise.
4065 (__libc_free): Likewise.
4066 (__libc_realloc): Likewise.
4067 (__libc_memalign): Likewise.
4068 (__libc_valloc): Likewise.
4069 (__libc_pvalloc): Likewise.
4070 (__libc_calloc): Likewise.
4071 (__posix_memalign): Likewise.
4072 * malloc/morecore.c (__sbrk): Likewise.
4073 (__default_morecore): Likewise.
4074
5cc45e10
JM
4075 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4076
dd54b864
JM
4077 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4078 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4079 __malloc_ptrdiff_t.
4080
1ba4f030
JM
4081 * malloc/malloc.h (__malloc_size_t): Remove macro.
4082 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4083 __malloc_size_t.
4084 (old_memalign_hook): Likewise.
4085 (old_realloc_hook): Likewise.
4086 (struct hdr): Likewise.
4087 (flood): Likewise.
4088 (mallochook): Likewise.
4089 (memalignhook): Likewise.
4090 (reallochook): Likewise.
4091 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4092 (tr_old_realloc_hook): Likewise.
4093 (tr_old_memalign_hook): Likewise.
4094 (tr_mallochook): Likewise.
4095 (tr_reallochook): Likewise.
4096 (tr_memalignhook): Likewise.
4097
edf66e57
AZ
40982013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4099
4100 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4101 default_ldbl_pack and using as default implementation.
4102 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4103 implementation.
4104 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4105 redundant definition.
4106 (ldbl_insert_mantissa): Likewise.
4107 (ldbl_canonicalize): Likewise.
4108 (ldbl_nearbyint): Likewise.
4109 (ldbl_pack): Rename to ldbl_pack_ppc.
4110 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4111 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4112 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4113
6d9145d8
SP
41142013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4115
4116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4117 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4118 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4119 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4121 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4122 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4123 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4124
4dd4e157
AJ
41252013-03-07 Andreas Jaeger <aj@suse.de>
4126
4127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4128 bits/mman-linux.h.
4129
adbb8027
SP
41302013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4131
ce544b5b
SP
4132 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4133 Include mpa.h and declare __MPEXP.
4134 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4135 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4136 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4137 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4138 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4139 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4140 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4141
4cc149fd
SP
4142 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4143 (__slowpow): Use long double EXPL and LOGL functions to
4144 compute POW.
4145 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4146 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4147 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4148 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4149 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4150 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4151
e6ebd4a7
SP
4152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4153 intermediate variable to calculate exponent.
4154 (__sqr): Likewise.
4155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4156 Likewise.
4157 (__sqr): Likewise.
4158
82a9811d
SP
4159 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4160 [!NO__SQR]: Define __sqr.
4161 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4162 and NO__SQR. Remove all code except __mul and __sqr. Include
4163 sysdeps/ieee754/dbl-64/mpa.c.
4164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4165
adbb8027
SP
4166 [BZ #12723]
4167 * posix/Makefile (tests): Add tst-pathconf.
4168 * posix/tst-pathconf.c: New test case.
4169 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4170 _PC_PIPE_BUF.
4171 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4172
39120df9
PF
41732013-03-06 Patsy Franklin <pfrankli@redhat.com>
4174
4175 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4176
67525cb8
AJ
41772013-03-06 Andreas Jaeger <aj@suse.de>
4178
664a9ce4
AJ
4179 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4180 definition via __MAP_ANONYMOUS.
4181
8e39047d
AJ
4182 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4183 it's not part of Linux headers.
4184
67525cb8
AJ
4185 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4186 (MAP_HUGE_MASK): Define.
4187
4188 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4189 Define.
4190 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4191 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4192 Define.
4193 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4194 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4195 Define.
4196 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4197 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4198 Define.
4199 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4200
4201 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4202 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4203 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4204 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4205 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4206 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4207
4208 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4209 Handle f2fs.
4210
4211 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4212 Handle f2fs and efivarfs.
4213
4214 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4215 f2fs.
4216
4217 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4218 (EFIVARFS_MAGIC): Add.
4219 (F2FS_LINK_MAX): Add.
4220
e1b42695
PP
42212013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4222
4223 * stdio-common/vfprintf.c: Replace __builtin_expect with
4224 __glibc_unlikely.
4225
2d67d91a
JM
42262013-03-06 Joseph Myers <joseph@codesourcery.com>
4227
4228 [BZ #13550]
4229 * sysdeps/generic/bp-sym.h: Remove file.
4230 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4231 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4232 <bp-sym.h> and <bp-asm.h>.
4233 (__longjmp): Don't use BP_SYM.
4234 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4235 and <bp-asm.h>.
4236 (memcpy): Don't use BP_SYM.
4237 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4238 <bp-sym.h> and <bp-asm.h>.
4239 (memcpy): Don't use BP_SYM.
4240 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4241 <bp-asm.h>.
4242 (memcpy): Don't use BP_SYM.
4243 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4244 <bp-asm.h>.
4245 (memset): Don't use BP_SYM.
4246 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4247 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4248 (__bzero): Don't use BP_SYM.
4249 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4250 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4251 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4252 <bp-sym.h> and <bp-asm.h>.
4253 (memcmp): Don't use BP_SYM. Remove comment about bounded
4254 pointers.
4255 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4256 <bp-sym.h> and <bp-asm.h>.
4257 (memcpy): Don't use BP_SYM.
4258 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4259 <bp-sym.h> and <bp-asm.h>.
4260 (memset): Don't use BP_SYM.
4261 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4262 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4263 (__bzero): Don't use BP_SYM.
4264 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4265 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4266 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4267 <bp-sym.h> and <bp-asm.h>.
4268 (strncmp): Don't use BP_SYM. Remove comment about bounded
4269 pointers.
4270 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4271 <bp-sym.h> and <bp-asm.h>.
4272 (memcpy): Don't use BP_SYM.
4273 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4274 <bp-sym.h> and <bp-asm.h>.
4275 (memset): Don't use BP_SYM.
4276 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4277 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4278 (__bzero): Don't use BP_SYM.
4279 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4280 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4281 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4282 <bp-sym.h> and <bp-asm.h>.
4283 (__memchr): Don't use BP_SYM.
4284 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4285 <bp-sym.h> and <bp-asm.h>.
4286 (memcmp): Don't use BP_SYM. Remove comment about bounded
4287 pointers.
4288 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4289 <bp-sym.h> and <bp-asm.h>.
4290 (memcpy): Don't use BP_SYM.
4291 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4292 <bp-sym.h> and <bp-asm.h>.
4293 (__mempcpy): Don't use BP_SYM.
4294 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4295 <bp-sym.h> and <bp-asm.h>.
4296 (__memrchr): Don't use BP_SYM.
4297 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4298 <bp-sym.h> and <bp-asm.h>.
4299 (memset): Don't use BP_SYM.
4300 (__bzero): Likewise.
4301 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4302 <bp-sym.h> and <bp-asm.h>.
4303 (__rawmemchr): Don't use BP_SYM.
4304 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4305 <bp-sym.h> and <bp-asm.h>.
4306 (__STRCMP): Don't use BP_SYM.
4307 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4308 <bp-sym.h> and <bp-asm.h>.
4309 (strchr): Don't use BP_SYM.
4310 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4311 <bp-sym.h> and <bp-asm.h>.
4312 (__strchrnul): Don't use BP_SYM.
4313 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4314 <bp-sym.h> and <bp-asm.h>.
4315 (strlen): Don't use BP_SYM.
4316 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4317 <bp-sym.h> and <bp-asm.h>.
4318 (strncmp): Don't use BP_SYM. Remove comment about bounded
4319 pointers.
4320 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4321 <bp-sym.h> and <bp-asm.h>.
4322 (__strnlen): Don't use BP_SYM.
4323 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4324 <bp-sym.h> and <bp-asm.h>.
4325 (__GI__setjmp): Don't use BP_SYM.
4326 (_setjmp): Likewise.
4327 (__sigsetjmp): Likewise.
4328 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4329 (L(start_addresses)): Don't use BP_SYM.
4330 (_start): Likewise.
4331 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4332 <bp-asm.h>.
4333 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4334 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4335 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4336 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4337 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4338 <bp-asm.h>.
4339 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4340 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4341 about bounded pointers.
4342 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4343 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4344 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4345 <bp-asm.h>.
4346 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4347 about bounded pointers. Remove GKM FIXME comments.
4348 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4349 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4350 <bp-asm.h>.
4351 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4352 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4353 Remove GKM FIXME comments.
4354 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4355 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4356 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4357 <bp-asm.h>.
4358 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4359 about bounded pointers. Remove GKM FIXME comment.
4360 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4361 and <bp-asm.h>.
4362 (strncmp): Don't use BP_SYM. Remove comment about bounded
4363 pointers.
4364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4365 <bp-sym.h> and <bp-asm.h>.
4366 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4368 <bp-sym.h> and <bp-asm.h>.
4369 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4370 comment.
4371
cdcf361f
PP
43722013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4373
4374 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4375 call free(NULL).
4376
3c4a2b15
DM
43772013-03-05 David S. Miller <davem@davemloft.net>
4378
4379 * po/es.po: Update from translation team.
4380
cdcf361f 43812013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
4382
4383 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4384 <bits/mman-linux.h>.
4385 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4386 is fine.
4387 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4388 <bits/mman-linux.h> to end of file.
4389 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4390 is fine.
4391 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4392 <bits/mman-linux.h> to end of file.
4393 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4394 is fine.
4395 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4396 <bits/mman-linux.h> to end of file.
4397
4398 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4399 (MCL_CURRENT, MCL_FUTURE): Define here.
4400
5f67c04f
AK
44012013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4402
8a4473cc 4403 [BZ #15232]
5f67c04f
AK
4404 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4405 attribute_hidden.
4406 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4407
c3e94a95
AK
44082013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4409
4410 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4411 fourth parameter needed for rt_sigprocmask syscall.
4412 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4413 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4414 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4415 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4416 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4417 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4418
cfb6382a
JM
44192013-03-04 Joseph Myers <joseph@codesourcery.com>
4420
4421 [BZ #13550]
4422 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4423 comment about bounded pointers.
4424 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4425 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4426
539d8e01
AJ
44272013-03-04 Andreas Jaeger <aj@suse.de>
4428
4429 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4430 common definitions.
4431
4432 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4433 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4434 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4435 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4436 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
4437 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4438
2e167a70 44392013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
4440
4441 [BZ #15055]
4442 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4443 __ieee754_sqrl instead of __sqrl.
4444
68508633
JM
44452013-03-01 Joseph Myers <joseph@codesourcery.com>
4446
4447 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4448 * sysdeps/powerpc/fpu_control.h: ... here.
4449 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4450 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4451 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4452 * sysdeps/powerpc/bits/mathinline.h: ... here.
4453
7775448e
RM
44542013-03-01 Roland McGrath <roland@hack.frob.com>
4455
4456 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4457 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4458 to just [NEED_DL_SYSINFO_DSO].
4459 * elf/dl-support.c: Likewise.
4460 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4461 * elf/rtld.c (dl_main): Likewise.
4462 * elf/setup-vdso.h (setup_vdso): Likewise.
4463 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4464 * sysdeps/unix/sysv/linux/dl-sysdep.c
4465 (_dl_discover_osversion): Likewise.
4466
4e9b5995
CD
44672013-03-01 Carlos O'Donell <carlos@redhat.com>
4468
4469 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4470 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4471
e23872c8
SP
44722013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4473
e5c74c63
SP
4474 * NEWS: Mention libm performance improvements and non-x86 PI
4475 futex support.
4476
e23872c8
SP
4477 * csu/libc-start.c (__pthread_initialize_minimal): Change
4478 function arguments.
4479 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4480
b5510883
JM
44812013-02-28 Joseph Myers <joseph@codesourcery.com>
4482
4483 [BZ #13550]
4484 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4485 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4486 <bp-sym.h> and <bp-asm.h>.
4487 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4488 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4489 and <bp-asm.h>.
4490 (memcpy): Don't use BP_SYM.
4491 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4492 <bp-asm.h>.
4493 (__mpn_add_n): Don't use BP_SYM.
4494 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4495 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4496 and <bp-asm.h>.
4497 (__mpn_addmul_1): Don't use BP_SYM.
4498 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4499 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4500 <bp-sym.h>.
4501 (_setjmp): Don't use BP_SYM.
4502 (__novmx_setjmp): Likewise.
4503 (__GI__setjmp): Likewise.
4504 (__vmx_setjmp): Likewise.
4505 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4506 <bp-sym.h>.
4507 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4508 (__bzero): Don't use BP_SYM.
4509 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4510 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4511 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4512 <bp-sym.h> and <bp-asm.h>.
4513 (memcpy): Don't use BP_SYM.
4514 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4515 <bp-sym.h> and <bp-asm.h>.
4516 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4517 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4518 <bp-sym.h> and <bp-asm.h>.
4519 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4520 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4521 <bp-asm.h>.
4522 (__mpn_lshift): Don't use BP_SYM.
4523 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4524 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4525 <bp-asm.h>.
4526 (memset): Don't use BP_SYM.
4527 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4528 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4529 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4530 <bp-asm.h>.
4531 (__mpn_mul_1): Don't use BP_SYM.
4532 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4533 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4534 <bp-sym.h> and <bp-asm.h>.
4535 (memcmp): Don't use BP_SYM.
4536 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4537 <bp-sym.h> and <bp-asm.h>.
4538 (memcpy): Don't use BP_SYM.
4539 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4540 <bp-sym.h> and <bp-asm.h>.
4541 (memset): Don't use BP_SYM.
4542 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4543 <bp-sym.h> and <bp-asm.h>.
4544 (strncmp): Don't use BP_SYM.
4545 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4546 <bp-sym.h> and <bp-asm.h>.
4547 (memcpy): Don't use BP_SYM.
4548 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4549 <bp-sym.h> and <bp-asm.h>.
4550 (memset): Don't use BP_SYM.
4551 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4552 <bp-sym.h> and <bp-asm.h>.
4553 (__memchr): Don't use BP_SYM.
4554 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4555 <bp-sym.h> and <bp-asm.h>.
4556 (memcmp): Don't use BP_SYM.
4557 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4558 <bp-sym.h> and <bp-asm.h>.
4559 (memcpy): Don't use BP_SYM.
4560 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4561 <bp-sym.h> and <bp-asm.h>.
4562 (__mempcpy): Don't use BP_SYM.
4563 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4564 <bp-sym.h> and <bp-asm.h>.
4565 (__memrchr): Don't use BP_SYM.
4566 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4567 <bp-sym.h> and <bp-asm.h>.
4568 (memset): Don't use BP_SYM.
4569 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4570 <bp-sym.h> and <bp-asm.h>.
4571 (__rawmemchr): Don't use BP_SYM.
4572 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4573 <bp-sym.h> and <bp-asm.h>.
4574 (__STRCMP): Don't use BP_SYM.
4575 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4576 <bp-sym.h> and <bp-asm.h>.
4577 (strchr): Don't use BP_SYM.
4578 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4579 <bp-sym.h> and <bp-asm.h>.
4580 (__strchrnul): Don't use BP_SYM.
4581 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4582 <bp-sym.h> and <bp-asm.h>.
4583 (strlen): Don't use BP_SYM.
4584 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4585 <bp-sym.h> and <bp-asm.h>.
4586 (strncmp): Don't use BP_SYM.
4587 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4588 <bp-sym.h> and <bp-asm.h>.
4589 (__strnlen): Don't use BP_SYM.
4590 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4591 <bp-asm.h>.
4592 (__mpn_rshift): Don't use BP_SYM.
4593 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4594 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4595 <bp-sym.h> and <bp-asm.h>.
4596 (__sigsetjmp): Don't use BP_SYM.
4597 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4598 (L(start_addresses)): Don't use BP_SYM.
4599 (_start): Likewise.
4600 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4601 <bp-asm.h>.
4602 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4603 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4604 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4605 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4606 <bp-asm.h>.
4607 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4608 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4609 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4610 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4611 <bp-asm.h>.
4612 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4613 comments.
4614 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4615 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4616 <bp-asm.h>.
4617 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4618 FIXME comments.
4619 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4620 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4621 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4622 <bp-asm.h>.
4623 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4624 comment.
4625 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4626 and <bp-asm.h>.
4627 (strncmp): Don't use BP_SYM,
4628 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4629 <bp-asm.h>.
4630 (__mpn_sub_n): Don't use BP_SYM.
4631 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4632 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4633 and <bp-asm.h>.
4634 (__mpn_submul_1): Don't use BP_SYM.
4635 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4637 <bp-sym.h> and <bp-asm.h>.
4638 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4640 <bp-sym.h> and <bp-asm.h>.
4641 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4642 comment.
4643
8d19fe64
SP
46442013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4645
4646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4647 Use ZK to minimize writes to Z.
4648 (sub_magnitudes): Simplify code a bit.
4649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4650 Use ZK to minimize writes to Z.
4651 (sub_magnitudes): Simplify code a bit.
4652
85bd816a
RM
46532013-02-27 Roland McGrath <roland@hack.frob.com>
4654
4655 * csu/gmon-start.c: Add special exception to license text.
4656
b5977bf2
RH
46572013-02-27 Richard Henderson <rth@redhat.com>
4658
4659 * scripts/config.guess: Update from config.git.
4660 * scripts/config.sub: Likewise.
4661
11d6e2f2
SP
46622013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4663
09c14ed2
SP
4664 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4665
a688864e
SP
4666 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4667
6295157a
SP
4668 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4669
b8de2202
SP
4670 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4671
11d6e2f2
SP
4672 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4673
7e80ddb8
RM
46742013-02-26 Roland McGrath <roland@hack.frob.com>
4675
4676 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4677 [$(build-shared = yes].
7e80ddb8 4678
7da6d9ed
SP
46792013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4680
45f05884
SP
4681 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4682 (__mul): Reduce iterations for calculating mantissa.
4683
2236d359
SP
4684 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4685 MPTWO.
4686 (__mpranred): Likewise.
4687
7da6d9ed
SP
4688 [BZ #15160]
4689 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4690 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4691
b7688c42
PE
46922013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4693
4694 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4695 Define __attribute__.
4696
53a5c423
SP
46972013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4698
4699 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4700 unused.
4701 * posix/regex_internal.h (__attribute): Remove.
4702 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4703 (re_string_context_at): Likewise.
4704 (bitset_not): Use __attribute__ and mark function as possibly
4705 unused.
4706 (bitset_merge): Likewise.
4707 (bitset_mask): Likewise.
4708 (re_string_char_size_at): Likewise.
4709 (re_string_wchar_at): Likewise.
4710 (re_string_elem_size_at): Likewise.
4711
60f5a8b5
SP
47122013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4713
2a983a2e
SP
4714 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4715 code.
4716 (cc32): Likewise.
4717
e69804d1
SP
4718 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4719 (__acr): Likewise.
4720 (__cpy): Likewise.
4721 (norm): Likewise.
4722 (denorm): Likewise.
4723 (__dbl_mp): Likewise.
4724 (add_magnitudes): Likewise.
4725 (sub_magnitudes): Likewise.
4726 (__mul): Likewise.
4727 (__inv): Likewise.
4728
2f22a1e8
SP
4729 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4730 style.
4731
8930ddc7
SP
4732 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4733 style.
4734
dc60cb11
SP
4735 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4736 code.
4737
60f5a8b5
SP
4738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4739 up changes with default code.
4740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4741 Likewise.
4742
b4d1fd33
AM
47432013-02-24 Allan McRae <allan@archlinux.org>
4744
faf6f8bc
AM
4745 * manual/socket.texi (The Internet Namespace): Order menu items
4746 to match that in the file.
4747
b4d1fd33
AM
4748 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4749 node listing of the info page menu.
4750
2366713d
JM
47512013-02-21 Joseph Myers <joseph@codesourcery.com>
4752
4753 [BZ #13550]
4754 * sysdeps/i386/bp-asm.h: Remove file.
4755 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4756 (PARMS): Do not use macros from bp-asm.h.
4757 (S1): Likewise.
4758 (S2): Likewise.
4759 (SIZE): Likewise.
4760 (__mpn_add_n): Do not use BP_SYM
4761 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4762 "bp-asm.h".
4763 (PARMS): Do not use macros from bp-asm.h.
4764 (S1): Likewise.
4765 (SIZE): Likewise.
4766 (__mpn_addmul_1): Do not use BP_SYM
4767 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4768 "bp-asm.h".
4769 (PARMS): Do not use macros from bp-asm.h.
4770 (SIGMSK): Likewise.
4771 (_setjmp): Likewise. Do not use BP_SYM.
4772 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4773 "bp-asm.h".
4774 (PARMS): Do not use macros from bp-asm.h.
4775 (SIGMSK): Likewise.
4776 (setjmp): Likewise. Do not use BP_SYM.
4777 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4778 "bp-asm.h".
4779 (PARMS): Do not use macros from bp-asm.h.
4780 (__frexp): Do not use BP_SYM.
4781 (frexp): Likewise.
4782 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4783 "bp-asm.h".
4784 (PARMS): Do not use macros from bp-asm.h.
4785 (__frexpf): Do not use BP_SYM.
4786 (frexpf): Likewise.
4787 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4788 "bp-asm.h".
4789 (PARMS): Do not use macros from bp-asm.h.
4790 (__frexpl): Do not use BP_SYM.
4791 (frexpl): Likewise.
4792 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4793 "bp-asm.h".
4794 (PARMS): Do not use macros from bp-asm.h.
4795 (__remquo): Do not use BP_SYM.
4796 (remquo): Likewise.
4797 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4798 "bp-asm.h".
4799 (PARMS): Do not use macros from bp-asm.h.
4800 (__remquof): Do not use BP_SYM.
4801 (remquof): Likewise.
4802 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4803 "bp-asm.h".
4804 (PARMS): Do not use macros from bp-asm.h.
4805 (__remquol): Do not use BP_SYM.
4806 (remquol): Likewise.
4807 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4808 "bp-asm.h".
4809 (PARMS): Do not use macros from bp-asm.h.
4810 (DEST): Likewise.
4811 (SRC): Likewise.
4812 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4813 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4814 "bp-asm.h".
4815 (PARMS): Do not use macros from bp-asm.h.
4816 (strlen): Do not use BP_SYM.
4817 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4818 "bp-asm.h".
4819 (PARMS): Do not use macros from bp-asm.h.
4820 (S1): Likewise.
4821 (S2): Likewise.
4822 (SIZE): Likewise.
4823 (__mpn_add_n): Do not use BP_SYM.
4824 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4825 "bp-asm.h".
4826 (PARMS): Do not use macros from bp-asm.h.
4827 (S1): Likewise.
4828 (SIZE): Likewise.
4829 (__mpn_addmul_1): Do not use BP_SYM.
4830 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4831 weak_alias.
4832 (bzero): Likewise.
4833 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4834 "bp-asm.h".
4835 (PARMS): Do not use macros from bp-asm.h.
4836 (S): Likewise.
4837 (SIZE): Likewise.
4838 (__mpn_lshift): Do not use BP_SYM.
4839 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4840 "bp-asm.h".
4841 (PARMS): Do not use macros from bp-asm.h.
4842 (DEST): Likewise.
4843 (SRC): Likewise.
4844 (LEN): Likewise.
4845 (memcpy): Likewise. Do not use BP_SYM.
4846 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
4847 libc_hidden_def and weak_alias.
4848 (mempcpy): Do not use BP_SYM in weak_alias.
4849 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4850 "bp-asm.h".
4851 (PARMS): Do not use macros from bp-asm.h.
4852 (DEST): Likewise.
4853 (LEN): Likewise.
4854 [!BZERO_P] (CHR): Likewise.
4855 (memset): Likewise. Do not use BP_SYM.
4856 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4857 "bp-asm.h".
4858 (PARMS): Do not use macros from bp-asm.h.
4859 (S1): Likewise.
4860 (SIZE): Likewise.
4861 (__mpn_mul_1): Do not use BP_SYM.
4862 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4863 "bp-asm.h".
4864 (PARMS): Do not use macros from bp-asm.h.
4865 (S): Likewise.
4866 (SIZE): Likewise.
4867 (__mpn_rshift): Do not use BP_SYM.
4868 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4869 "bp-asm.h".
4870 (PARMS): Do not use macros from bp-asm.h.
4871 (STR): Likewise.
4872 (CHR): Likewise.
4873 (strchr): Likewise. Do not use BP_SYM.
4874 (index): Do not use BP_SYM in weak_alias.
4875 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4876 "bp-asm.h".
4877 (PARMS): Do not use macros from bp-asm.h.
4878 (DEST): Likewise.
4879 (SRC): Likewise.
4880 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
4881 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4882 "bp-asm.h".
4883 (PARMS): Do not use macros from bp-asm.h.
4884 (strlen): Do not use BP_SYM.
4885 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4886 "bp-asm.h".
4887 (PARMS): Do not use macros from bp-asm.h.
4888 (S1): Likewise.
4889 (S2): Likewise.
4890 (SIZE): Likewise.
4891 (__mpn_sub_n): Do not use BP_SYM.
4892 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4893 "bp-asm.h".
4894 (PARMS): Do not use macros from bp-asm.h.
4895 (S1): Likewise.
4896 (SIZE): Likewise.
4897 (__mpn_submul_1): Do not use BP_SYM.
4898 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4899 "bp-asm.h".
4900 (PARMS): Do not use macros from bp-asm.h.
4901 (S1): Likewise.
4902 (S2): Likewise.
4903 (SIZE): Likewise.
4904 (__mpn_add_n): Do not use BP_SYM.
4905 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4906 weak_alias.
4907 (bzero): Likewise.
4908 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4909 "bp-asm.h".
4910 (PARMS): Do not use macros from bp-asm.h.
4911 (BLK2): Likewise.
4912 (LEN): Likewise.
4913 (memcmp): Do not use BP_SYM.
4914 (bcmp): Do not use BP_SYM in weak_alias.
4915 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4916 "bp-asm.h".
4917 (PARMS): Do not use macros from bp-asm.h.
4918 (DEST): Likewise.
4919 (SRC): Likewise.
4920 (LEN): Likewise.
4921 (memcpy): Likewise. Do not use BP_SYM.
4922 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4923 "bp-asm.h".
4924 (PARMS): Do not use macros from bp-asm.h.
4925 (DEST): Likewise.
4926 (SRC): Likewise.
4927 (LEN): Likewise.
4928 (memmove): Likewise. Do not use BP_SYM.
4929 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4930 "bp-asm.h".
4931 (PARMS): Do not use macros from bp-asm.h.
4932 (DEST): Likewise.
4933 (SRC): Likewise.
4934 (LEN): Likewise.
4935 (__mempcpy): Likewise. Do not use BP_SYM.
4936 (mempcpy): Do not use BP_SYM in weak_alias.
4937 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4938 "bp-asm.h".
4939 (PARMS): Do not use macros from bp-asm.h.
4940 (DEST): Likewise.
4941 (LEN): Likewise.
4942 [!BZERO_P] (CHR): Likewise.
4943 (memset): Likewise. Do not use BP_SYM.
4944 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4945 "bp-asm.h".
4946 (PARMS): Do not use macros from bp-asm.h.
4947 (STR2): Likewise.
4948 (strcmp): Do not use BP_SYM.
4949 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4950 "bp-asm.h".
4951 (PARMS): Do not use macros from bp-asm.h.
4952 (STR): Likewise.
4953 (DELIM): Likewise.
4954 [USE_AS_STRTOK_R] (SAVE): Likewise.
4955 (FUNCTION): Likewise. Do not use BP_SYM.
4956 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4957 aliases.
4958 (strtok_r): Likewise.
4959 (__GI___strtok_r): Likewise.
4960 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4961 (PARMS): Do not use macros from bp-asm.h.
4962 (S): Likewise.
4963 (SIZE): Likewise.
4964 (__mpn_lshift): Do not use BP_SYM.
4965 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4966 (PARMS): Do not use macros from bp-asm.h.
4967 (STR): Likewise.
4968 (CHR): Likewise.
4969 (__memchr): Do not use BP_SYM.
4970 (memchr): Do not use BP_SYM in weak_alias.
4971 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4972 (PARMS): Do not use macros from bp-asm.h.
4973 (BLK2): Likewise.
4974 (LEN): Likewise.
4975 (memcmp): Do not use BP_SYM.
4976 (bcmp): Do not use BP_SYM in weak_alias.
4977 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4978 (PARMS): Do not use macros from bp-asm.h.
4979 (S1): Likewise.
4980 (SIZE): Likewise.
4981 (__mpn_mul_1): Do not use BP_SYM.
4982 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4983 "bp-asm.h".
4984 (PARMS): Do not use macros from bp-asm.h.
4985 (STR): Likewise.
4986 (CHR): Likewise.
4987 (__rawmemchr): Do not use BP_SYM.
4988 (rawmemchr): Do not use BP_SYM in weak_alias.
4989 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4990 (PARMS): Do not use macros from bp-asm.h.
4991 (S): Likewise.
4992 (SIZE): Likewise.
4993 (__mpn_rshift): Do not use BP_SYM.
4994 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4995 (PARMS): Do not use macros from bp-asm.h.
4996 (SIGMSK): Likewise.
4997 (__sigsetjmp): Likewise. Do not use BP_SYM.
4998 * sysdeps/i386/start.S: Do not include "bp-sym.h".
4999 (_start): Do not use BP_SYM.
5000 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5001 (PARMS): Do not use macros from bp-asm.h.
5002 (DEST): Likewise.
5003 (SRC): Likewise.
5004 (__stpcpy): Likewise. Do not use BP_SYM.
5005 (stpcpy): Do not use BP_SYM in weak_alias.
5006 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5007 "bp-asm.h".
5008 (PARMS): Do not use macros from bp-asm.h.
5009 (DEST): Likewise.
5010 (SRC): Likewise.
5011 (LEN): Likewise.
5012 (__stpncpy): Likewise. Do not use BP_SYM.
5013 (stpncpy): Do not use BP_SYM in weak_alias.
5014 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5015 (PARMS): Do not use macros from bp-asm.h.
5016 (STR): Likewise.
5017 (CHR): Likewise.
5018 (strchr): Likewise. Do not use BP_SYM.
5019 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5020 "bp-asm.h".
5021 (PARMS): Do not use macros from bp-asm.h.
5022 (STR): Likewise.
5023 (CHR): Likewise.
5024 (__strchrnul): Likewise. Do not use BP_SYM.
5025 (strchrnul): Do not use BP_SYM in weak_alias.
5026 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5027 "bp-asm.h".
5028 (PARMS): Do not use macros from bp-asm.h.
5029 (STOP): Likewise.
5030 (strcspn): Do not use BP_SYM.
5031 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5032 "bp-asm.h".
5033 (PARMS): Do not use macros from bp-asm.h.
5034 (STR): Likewise.
5035 (STOP): Likewise.
5036 (strpbrk): Likewise. Do not use BP_SYM.
5037 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5038 "bp-asm.h".
5039 (PARMS): Do not use macros from bp-asm.h.
5040 (STR): Likewise.
5041 (CHR): Likewise.
5042 (strrchr): Likewise. Do not use BP_SYM.
5043 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5044 (PARMS): Do not use macros from bp-asm.h.
5045 (SKIP): Likewise.
5046 (strspn): Do not use BP_SYM.
5047 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5048 (PARMS): Do not use macros from bp-asm.h.
5049 (STR): Likewise.
5050 (DELIM): Likewise.
5051 (SAVE): Likewise.
5052 (FUNCTION): Likewise. Do not use BP_SYM.
5053 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5054 aliases.
5055 (strtok_r): Likewise.
5056 (__GI___strtok_r): Likewise.
5057 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5058 (PARMS): Do not use macros from bp-asm.h.
5059 (S1): Likewise.
5060 (S2): Likewise.
5061 (SIZE): Likewise.
5062 (__mpn_sub_n): Do not use BP_SYM.
5063 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5064 "bp-asm.h".
5065 (PARMS): Do not use macros from bp-asm.h.
5066 (S1): Likewise.
5067 (SIZE): Likewise.
5068 (__mpn_submul_1): Do not use BP_SYM.
5069 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5070 <bp-sym.h>.
5071 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5072 and <bp-asm.h>.
5073 (PARMS): Do not use macros from bp-asm.h.
5074 (FLAGS): Likewise.
5075 (PTID): Likewise.
5076 (TLS): Likewise.
5077 (CTID): Likewise.
5078 (__clone): Do not use BP_SYM.
5079 (clone): Do not use BP_SYM in weak_alias.
5080 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5081 and <bp-asm.h>.
5082 (PARMS): Do not use macros from bp-asm.h.
5083 (LEN): Likewise.
5084 (__mmap64): Do not use BP_SYM.
5085 (mmap64): Do not use BP_SYM in weak_alias.
5086 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5087 <bp-sym.h> and <bp-asm.h>.
5088 (PARMS): Do not use macros from bp-asm.h.
5089 (__posix_fadvise64_l64): Do not use BP_SYM.
5090 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5091 (PARMS): Do not use macros from bp-asm.h.
5092 (NSOPS): Likewise.
5093 (semtimedop): Do not use BP_SYM.
5094 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5095 and <bp-asm.h>.
5096
582a3cff
AM
50972013-02-21 Allan McRae <allan@archlinux.org>
5098
5099 * manual/message.texi (Charset conversion in gettext):
5100 Move @end statement to beginning of line.
5101
bab8a695
SP
51022013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5103
80945231
SP
5104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5105 static.
5106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5107 Likewise.
5108
bab8a695
SP
5109 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5110 (denorm): Likewise.
5111 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5112 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5113
e21d7aa7
AK
51142013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5115
5116 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5117 tail-call to the resolved function if pltexit isn't needed.
5118
4c7a4263
SP
51192013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5120
5121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5122 or Y being zero as being unlikely.
5123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5124 Likewise.
5125
41f49342
CD
51262013-02-20 Carlos O'Donell <carlos@redhat.com>
5127
5128 * manual/nss.texi (System Databases and Name Service Switch):
5129 Remove frobnicate @pxref.
5130
50022a93
TS
51312013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5132
5133 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5134 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5135
08cbd996
PM
51362013-02-20 Petr Machata <pmachata@redhat.com>
5137
5138 * elf/elf.h (R_ARM_TARGET1): New macro.
5139 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5140 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5141 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5142 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5143 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5144 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5145 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5146 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5147 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5148 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5149 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5150 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5151 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5152 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5153 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5154 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5155 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5156 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5157 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5158 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5159 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5160 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5161 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5162 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5163 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5164 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5165 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5166 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5167 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5168 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5169 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5170 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5171 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5172 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5173 (R_ARM_THM_GOT_BREL12): Likewise.
5174 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5175 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5176 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5177 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5178 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5179 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5180 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5181 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5182 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5183
c7b275d6
TS
51842013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5185
5186 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5187 __attribute_used__ to __attribute__ ((unused)).
5188
20cd7fb3
SP
51892013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5190
5191 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5192 powerpc mpa.c.
5193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5194 comment formatting.
5195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5196
92945b52
JM
51972013-02-19 Joseph Myers <joseph@codesourcery.com>
5198
5199 [BZ #13550]
5200 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5201 Remove macro.
5202 (ENTER): Remove both macro definitions.
5203 (LEAVE): Likewise.
5204 (CHECK_BOUNDS_LOW): Likewise.
5205 (CHECK_BOUNDS_HIGH): Likewise.
5206 (CHECK_BOUNDS_BOTH): Likewise.
5207 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5208 (RETURN_BOUNDED_POINTER): Likewise.
5209 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5210 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5211 (POP_ERRNO_LOCATION_RETURN): Likewise.
5212 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5213 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5214 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5215 macros.
5216 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5217 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5218 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5219 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5220 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5221 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5222 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5223 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5224 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5225 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5226 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5227 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5228 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5229 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5230 removed macros.
5231 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5232 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5233 macros.
5234 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5235 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5236 * sysdeps/i386/i586/memset.S (memset): Likewise.
5237 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5238 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5239 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5240 macros.
5241 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5242 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5243 Change uses of L(2) to L(out).
5244 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5245 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5246 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5247 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5248 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5249 removed macros.
5250 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5251 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5252 macros.
5253 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5254 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5255 (RETURN): Do not use macro LEAVE.
5256 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5257 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5258 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5259 * sysdeps/i386/i686/memset.S (memset): Likewise.
5260 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5261 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5262 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5263 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5264 Likewise.
5265 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5266 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5267 L(1_2) and L(1_3) into L(1).
5268 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5269 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5270 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5271 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5272 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5273 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5274 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5275 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5276 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5277 macros.
5278 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5279 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5280 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5281 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5282 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5283 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5284 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5285 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5286 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5287 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5288 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5289 * sysdeps/i386/strspn.S (strspn): Likewise.
5290 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5291 conditional code.
5292 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5293 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5294 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5295 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5296 L(1_3) into L(1_1).
5297 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5298 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5299 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5300 macros.
5301 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5302
2389741a
JJ
53032013-02-19 Jakub Jelinek <jakub@redhat.com>
5304
5305 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5306 macro.
5307
2016b3cd
SP
53082013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5309
e4f22324
SP
5310 * math/atest-exp.c (exp_mpn): Remove ROUND.
5311 * math/atest-exp2.c (exp_mpn): Likewise.
5312 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5313
2016b3cd
SP
5314 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5315 * stdlib/tst-tls-atexit-lib.c: Likewise.
5316 * stdlib/tst-tls-atexit.c: Likewise.
5317
4be9b544
MF
53182013-02-18 Mike Frysinger <vapier@gentoo.org>
5319
5320 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5321 and __attribute_alloc_size__.
5322
2f62b9ee
MF
53232013-02-18 Mike Frysinger <vapier@gentoo.org>
5324
5325 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5326 __attribute_alloc_size__.
5327 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5328 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5329
6ff444c4
MF
53302013-02-18 Mike Frysinger <vapier@gentoo.org>
5331
5332 * include/programs/xmalloc.h: New file.
5333 * catgets/gencat.c: Include it.
5334 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5335 * elf/pldd.c: Likewise.
5336 * iconv/iconv_charmap.c: Likewise.
5337 * iconv/iconvconfig.c: Likewise.
5338 * iconv/strtab.c: Likewise.
5339 * locale/programs/locale.c: Likewise.
5340 * locale/programs/localedef.h: Likewise.
5341 * locale/programs/simple-hash.c: Likewise.
5342 * nscd/nscd.h: Likewise.
5343 * nss/makedb.c: Likewise.
5344 * sysdeps/generic/ldconfig.h: Likewise.
5345
be179c8a
SP
53462013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5347
ba384f6e
SP
5348 * Versions.def: Add GLIBC_2.18.
5349 * include/link.h (struct link_map): New member l_tls_dtor_count.
5350 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5351 (__call_tls_dtors): Likewise.
5352 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5353 __cxa_thread_atexit_impl.
5354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5355 Likewise.
5356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5357 Likewise.
5358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5359 Likewise.
5360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5361 Likewise.
5362 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5364 Likewise.
5365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5366 Likewise.
5367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5369 Likewise.
5370 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5371 (tests): Add test case tst-tls-atexit.
5372 (modules-names): Add shared library for tst-tls-atexit.
5373 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5374 (GLIBC_PRIVATE): Add __call_tls_dtors.
5375 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5376 for libstdc++.
5377 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5378 * stdlib/tst-tls-atexit.c: New test case.
5379 * stdlib/tst-tls-atexit-lib.c: New test case.
5380
ffaa74cf 5381 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 5382
be179c8a
SP
5383 * elf/Versions (ld): Add _dl_find_dso_for_object.
5384 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5385 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5386 (dl_open_worker): Use _dl_find_dso_for_object.
5387 * elf/dl-sym.c (do_sym): Likewise.
5388 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5389
f78b5caa
AK
53902013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5391
5392 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5393 Syntactic changes only.
5394 (_dl_runtime_profile): Do a tail-call to the resolved function.
5395
29691210
JM
53962013-02-17 Joseph Myers <joseph@codesourcery.com>
5397
5398 [BZ #13550]
5399 * sysdeps/x86_64/bp-asm.h: Remove file.
5400 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5401 <bp-sym.h> and <bp-asm.h>.
5402 (__clone): Do not use BP_SYM.
5403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5404 <bp-sym.h> and <bp-asm.h>.
5405 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5406 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5407 "bp-asm.h".
5408 (_setjmp): Do not use BP_SYM.
5409 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5410 "bp-asm.h".
5411 (setjmp): Do not use BP_SYM.
5412 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5413 libc_hidden_def.
5414 (mempcpy): Do not use BP_SYM in weak_alias.
5415 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5416 "bp-asm.h".
5417 (strchr): Do not use BP_SYM.
5418 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5419 "bp-asm.h".
5420 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5421 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5422 (_start): Do not use BP_SYM.
5423 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5424 "bp-asm.h".
5425 (strcat): Do not use BP_SYM.
5426 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5427 "bp-asm.h".
5428 (STRCMP): Do not use BP_SYM.
5429 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5430 "bp-asm.h".
5431 (STRCPY): Do not use BP_SYM.
5432 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5433 "bp-asm.h".
5434 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5435 "bp-asm.h".
5436 (FUNCTION): Do not use BP_SYM.
5437 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5438 weak_alias.
5439 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5440
f238fd19
AJ
54412013-02-17 Andreas Jaeger <aj@suse.de>
5442
5443 * time/Versions: Sort entries.
5444 * string/Versions: Likewise.
5445 * resolv/Versions: Likewise.
5446 * posix/Versions: Likewise.
5447 * iconv/Versions: Likewise.
5448 * elf/Versions: Likewise.
5449 * wcsmbs/Versions: Likewise.
5450
bd07f23c 54512013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 5452
22af19f9
SP
5453 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5454 loop termination condition.
5455
4709fe76
SP
5456 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5457 variable to calculate EZ.
5458 (__sqr): Likewise.
2d0e0f29
SP
5459
5460 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5461 the lower precision input.
5462
daaa7713
JM
54632013-02-15 Joseph Myers <joseph@codesourcery.com>
5464
5465 [BZ #13550]
5466 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5467 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5468 (run-via-rtld-prefix): Do not handle %-bp tests.
5469 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5470 (all-object-suffixes): Remove .ob.
5471 (bppfx): Remove variable.
5472 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5473 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5474 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5475 [$(build-bounded) = yes] (libtype.ob): Likewise.
5476 * Makerules (elide-routines.ob): Remove variable.
5477 (do-tests-clean): Do not handle *-bp.out.
5478 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5479 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5480 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5481 (tests): Do not include $(tests-bp.out).
5482 (xtests): Do not include $(xtests-bp.out).
5483 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5484 [$(build-bounded) = yes] ($(addprefix
5485 $(objpfx),$(binaries-bounded))): Remove rule.
5486 ($(objpfx)%-bp.out): Remove rule.
5487 * config.make.in (build-bounded): Remove variable.
5488 * crypt/Makefile [$(build-bounded) = yes]
5489 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5490 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5491 append to variable.
5492 [$(build-bounded) = yes] (install-lib): Likewise.
5493 [$(build-bounded) = yes] (generated): Likewise.
5494 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5495 Remove rule.
5496 * intl/Makefile [$(build-bounded) = yes]
5497 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5498 * math/Makefile [$(build-bounded) = yes]
5499 ($(tests:%=$(objpfx)%-bp): Likewise.
5500 * misc/Makefile [$(build-bounded) = yes]
5501 ($(objpfx)tst-tsearch-bp): Likewise.
5502 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5503 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5504 Remove dependency.
5505 * string/Makefile (o-objects.ob): Remove variable.
5506 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5507 (CFLAGS-.ob): Remove variable.
5508 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5509 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5510 both definitions of variable.
5511 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5512 (ASFLAGS-.ob): Remove variable.
5513
e97ed6dd
JM
55142013-02-14 Joseph Myers <joseph@codesourcery.com>
5515
2bdd4ca6
JM
5516 [BZ #13550]
5517 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5518 Remove __BOUNDED_POINTERS__ from condition.
5519 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5520 * string/bits/string2.h [!__NO_STRING_INLINES &&
5521 !__BOUNDED_POINTERS__]: Likewise.
5522 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5523 Likewise.
5524 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5525 Remove conditional code.
5526 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5527 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5528 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5529 condition.
5530
e97ed6dd
JM
5531 [BZ #13550]
5532 * csu/libc-start.c: Do not include <bp-sym.h>.
5533 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5534 * elf/dl-open.c: Do not include <bp-sym.h>.
5535 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5536 * math/fegetenv.c: Do not include <bp-sym.h>.
5537 (fegetenv): Do not use BP_SYM in versioned symbols.
5538 * nptl/sysdeps/pthread/bits/libc-lockP.h
5539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5540 <bp-sym.h>.
5541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5542 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5544 (__pthread_mutex_destroy): Likewise.
5545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5546 (__pthread_mutex_lock): Likewise.
5547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5548 (__pthread_mutex_trylock): Likewise.
5549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5550 (__pthread_mutex_unlock): Likewise.
5551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5552 (__pthread_mutexattr_init): Likewise.
5553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5554 (__pthread_mutexattr_destroy): Likewise.
5555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5556 (__pthread_mutexattr_settype): Likewise.
5557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5558 (__pthread_rwlock_init): Likewise.
5559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5560 (__pthread_rwlock_destroy): Likewise.
5561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5562 (__pthread_rwlock_rdlock): Likewise.
5563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5564 (__pthread_rwlock_tryrdlock): Likewise.
5565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5566 (__pthread_rwlock_wrlock): Likewise.
5567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5568 (__pthread_rwlock_trywrlock): Likewise.
5569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5570 (__pthread_rwlock_unlock): Likewise.
5571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5572 (__pthread_key_create): Likewise.
5573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5574 (__pthread_setspecific): Likewise.
5575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5576 (__pthread_getspecific): Likewise.
5577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5578 Likewise.
5579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5580 (_pthread_cleanup_push_defer): Likewise.
5581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5582 (_pthread_cleanup_pop_restore): Likewise.
5583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5584 (pthread_setcancelstate): Likewise.
5585 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5586 <bp-sym.h>.
5587 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5588 (memchr): Do not use BP_SYM in weak_alias.
5589 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5590 (fegetenv): Do not use BP_SYM in versioned symbols.
5591 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5592 (fesetenv): Do not use BP_SYM in versioned symbols.
5593 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5594 (feupdateenv): Do not use BP_SYM in versioned symbols.
5595 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5596 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5597 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5598 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5599 (open64): Do not use BP_SYM in weak_alias.
5600 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5601 (fegetenv): Do not use BP_SYM in versioned symbols.
5602 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5603 (fesetenv): Do not use BP_SYM in versioned symbols.
5604 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5605 (feupdateenv): Do not use BP_SYM in versioned symbols.
5606 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5607 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5608 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5609 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5610 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5611 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5612 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5613 <bp-sym.h>.
5614 (__libc_start_main): Do not use BP_SYM.
5615
d6752ccd
SP
56162013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5617
cb57ce60
SP
5618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5619 redundant return line.
5620 (norm): Likewise.
5621 (denorm): Likewise.
5622 (dbl_mp): Likewise.
5623 (sub_magnitudes): Likewise.
5624 (__add): Likewise.
5625 (__sub): Likewise.
5626 (__mul): Likewise.
5627 (__inv): Likewise.
5628 (__dvd): Likewise.
5629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5630 (norm): Likewise.
5631 (denorm): Likewise.
5632 (dbl_mp): Likewise.
5633 (sub_magnitudes): Likewise.
5634 (__add): Likewise.
5635 (__sub): Likewise.
5636 (__mul): Likewise.
5637 (__inv): Likewise.
5638 (__dvd): Likewise.
5639
f414520d
SP
5640 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5641 instead of __mul.
5642 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5643 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5644 (cc32): Likewise.
5645
d6752ccd
SP
5646 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5647 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5649 of __mul for squares.
5650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5651 function
5652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5653 Likewise.
5654 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5655 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5656
70d9946a
JM
56572013-02-13 Joseph Myers <joseph@codesourcery.com>
5658
5659 [BZ #13550]
5660 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5661 code.
5662 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5663 prototype or function definition. Rename ubp_* variables and
5664 parameters. Remove argv definitions conditional on
5665 [__BOUNDED_POINTERS__].
5666 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5667 * elf/dl-runtime.c (_dl_fixup): Likewise.
5668 * include/set-hooks.h (RUN_HOOK): Likewise.
5669 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5670 definition.
5671 * string/strcpy.c (strcpy): Do not use __unbounded.
5672 * sysdeps/generic/frame.h (struct layout): Likewise.
5673 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5674 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5675 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5676 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5677 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5678 (__backtrace): Likewise.
5679 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5680 use __ptrvalue.
5681 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5682 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5683 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5684 Likewise.
5685 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5686 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5687 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5688 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5689 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5690 Do not use __unbounded.
5691 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5692 Rename __unboundedrlimits parameter to rlimits in prototype.
5693 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5694 Do not use __unbounded.
5695 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5696 not use __ptrvalue.
5697 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5698 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5699 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5700 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5701 __ptrvalue or __unbounded.
5702 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5703 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5704 use __unbounded.
5705 (__new_msgctl): Do not use __ptrvalue.
5706 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5707 __unbounded.
5708 (__libc_msgrcv): Do not use __ptrvalue.
5709 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5710 startup_info): Do not use __unbounded.
5711 (__libc_start_main): Likewise. Rename ubp_* variables and
5712 parameters. Remove argv definitions conditional on
5713 [__BOUNDED_POINTERS__].
5714 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5715 __ptrvalue.
5716 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5717 use __unbounded.
5718 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5719 or __ptrvalue.
5720 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5721 use __unbounded.
5722 (__new_shmctl): Do not use __ptrvalue.
5723 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5724 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5725 Likewise.
5726 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5727 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5728 (__libc_sigaction): Likewise.
5729 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5730 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5731 Likewise.
5732 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5733
cc7834d6
OB
57342013-02-13 Ondřej Bílka <neleai@seznam.cz>
5735
ffb1ec7b 5736 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
5737
5738 * string/mempcpy.c: Implement by calling memcpy.
5739
bdf02814
SP
57402013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5741
c2af38aa
SP
5742 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5743
4e92d59e
SP
5744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5745 evaluation.
5746
909279a5
SP
5747 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5748 values in the mantissa.
5749
bdf02814
SP
5750 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5751 minimize writes to Z.
5752 (sub_magnitudes): Simplify code a bit.
5753
cd525923
RM
57542013-02-12 Roland McGrath <roland@hack.frob.com>
5755
5756 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5757 from the message. The linker prefixes all warnings with that already.
5758
7e2f0d2d
AS
57592013-02-12 Andreas Schwab <schwab@suse.de>
5760
a445af0b
AS
5761 [BZ #15078]
5762 * posix/regexec.c (extend_buffers): Add parameter min_len.
5763 (check_matching): Pass minimum needed length.
5764 (clean_state_log_if_needed): Likewise.
5765 (get_subexp): Likewise.
5766 * posix/Makefile (tests): Add bug-regex34.
5767 (bug-regex34-ENV): Define.
5768 * posix/bug-regex34.c: New file.
5769
7e2f0d2d
AS
5770 [BZ #11561]
5771 * posix/regcomp.c (parse_bracket_exp): When looking up collating
5772 elements compare against the byte sequence of it, not its name.
5773 * posix/Makefile (tests): Add bug-regex35.
5774 (bug-regex35-ENV): Define.
5775 * posix/bug-regex35.c: New file.
5776
a175b684
TV
57772013-02-11 Tom de Vries <tom@codesourcery.com>
5778
5779 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5780 comment.
5781 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5782 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5783 (CHECK_EOL): Add undef.
5784
310998fe 57852013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
5786
5787 * bits/stdlib-bsearch.h: New file.
5788 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 5789 * stdlib/stdlib.h: Likewise.
41eda41d 5790
8ded91fb
RM
57912013-02-11 Roland McGrath <roland@hack.frob.com>
5792
5793 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5794 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5795 declaration.
5796 * manual/search.texi (Array Search Function): Add missing const in
5797 lfind prototype.
5798 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5799 declaration to use rlim_t.
5800 (Basic Scheduling Functions): Remove erroneous const from
5801 sched_getparam prototype. Remove erroneous * from
5802 sched_get_priority_max and sched_get_priority_min prototypes.
5803 (Resource Usage): Fix summary @comment on vtimes to refer to
5804 sys/vtimes.h rather than vtimes.h.
5805 Add missing *s in vtimes prototype.
5806 (Limits on Resources): Fix ulimit prototype to return long int.
5807 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5808 prototypes to use long int rather than double.
5809 (BSD Random): Fix initstate and setstate to use char *, not void *.
5810 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5811 prototype to make second argument 'struct aiocb64 *const[]'.
5812 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5813 (Status of AIO Operations): Remove erroneous const in aio_return and
5814 aio_return64 prototypes.
5815 (Synchronizing I/O): Fix sync prototype to return void.
5816 * manual/startup.texi (Suboptions): Remove an erroneous const in
5817 getsubopt prototype.
5818 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5819 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5820 use size_t rather than int.
5821 (Scanning All Users): Likewise for getpwent_r.
5822 (Setting Groups): Add missing const to setgroups prototype.
5823 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5824 * manual/socket.texi (Host Names): Fix gethostbyaddr and
5825 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5826 'const void *' rather than 'const char *'.
5827 (Host Address Functions): Likewise for inet_ntop.
5828 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5829 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5830 ssize_t for return value.
5831 (Sending Data): Likewise for send, sendto, sendmsg.
5832 (Socket Option Functions): Add a missing const in setsockopt prototype.
5833 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5834 use wchar_t for the argument.
5835 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5836 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5837 take no arguments.
5838 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5839 double/float/long double for second argument.
5840 Fix return types of significand, significandf, significandl.
5841 * manual/filesys.texi (Setting Permissions): Use mode_t for second
5842 argument in fchmod prototype.
5843 (File Owner): Use uid_t and gid_t in fchown prototype.
5844 (File Times): Add const to utimes, futimes, and lutimes prototypes.
5845 (Making Special Files): Use mode_t and dev_t in mknod prototype.
5846 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
5847 use 'const struct dirent **' as argument types to CMP function pointer
5848 argument.
5849 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5850 (File Times): Fix summary magic @comment for struct utimbuf and utime
5851 to refer to utime.h, not time.h.
5852 * manual/string.texi (Argz Functions): Add missing const in
5853 argz_extract and argz_next prototypes.
5854 (Finding Tokens in a String): Likewise for basename.
5855 (String/Array Comparison): Fix typo in wcscasecmp prototype.
5856 (Copying and Concatenation): Fix typo in wmemmove prototype.
5857 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5858 (Signal Stack): Remove erroneous const in sigstack prototype.
5859 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5860 prototype.
5861 (Simple Calendar Time): Likewise for stime.
5862 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5863 prototype.
5864 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5865 say sys/sysctl.h instead.
5866 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5867 and vsyslog prototypes.
5868
fe77fe6d
TV
58692013-02-11 Tom de Vries <tom@codesourcery.com>
5870
5871 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5872 Remove.
5873
3a09b620
RM
58742013-02-11 Roland McGrath <roland@hack.frob.com>
5875
5876 * misc/sys/mman.h: Fix typo in mremap comment.
5877
550a0b89
RM
58782013-02-08 Roland McGrath <roland@hack.frob.com>
5879
5880 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5881 the '\0' terminator.
5882
a2da1673
JM
58832013-02-08 Joseph Myers <joseph@codesourcery.com>
5884
5885 [BZ #13550]
5886 * debug/segfault.c: Don't include <bp-checks.h>.
5887 * sysdeps/generic/bp-checks.h: Remove file.
5888 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5889 (__GETDENTS): Don't use CHECK_N.
5890 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5891 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5892 (__getgroups): Don't use CHECK_N.
5893 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5894 (setgroups): Don't use CHECK_N.
5895 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5896 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5897 (__libc_msgrcv): Don't use CHECK_N.
5898 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5899 (__libc_msgsnd): Don't use CHECK_N.
5900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5901 <bp-checks.h>.
5902 (__libc_pread): Don't use CHECK_N.
5903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5904 include <bp-checks.h>.
5905 (__libc_pread64): Don't use CHECK_N.
5906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5907 include <bp-checks.h>.
5908 (__libc_pwrite): Don't use CHECK_N.
5909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5910 include <bp-checks.h>.
5911 (__libc_pwrite64): Don't use CHECK_N.
5912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5913 <bp-checks.h>.
5914 (__libc_pread): Don't use CHECK_N.
5915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5916 include <bp-checks.h>.
5917 (__libc_pread64): Don't use CHECK_N.
5918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5919 include <bp-checks.h>.
5920 (__libc_pwrite): Don't use CHECK_N.
5921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5922 include <bp-checks.h>.
5923 (__libc_pwrite64): Don't use CHECK_N.
5924 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5925 (do_pread): Don't use CHECK_N.
5926 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5927 (do_pread64): Don't use CHECK_N.
5928 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5929 (do_pwrite): Don't use CHECK_N.
5930 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5931 (do_pwrite64): Don't use CHECK_N.
5932 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5933 (__libc_readv): Don't use CHECK_N.
5934 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5935 (semop): Don't use CHECK_N.
5936 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5937 <bp-checks.h>.
5938 (semtimedop): Don't use CHECK_N.
5939 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5940 (__libc_pread): Don't use CHECK_N.
5941 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5942 <bp-checks.h>.
5943 (__libc_pread64): Don't use CHECK_N.
5944 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5945 <bp-checks.h>.
5946 (__libc_pwrite): Don't use CHECK_N.
5947 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5948 <bp-checks.h>.
5949 (__libc_pwrite64): Don't use CHECK_N.
5950 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5951 <bp-checks.h>.
5952 (__libc_msgrcv): Don't use CHECK_N.
5953 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5954 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
5955 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5956 (__libc_writev): Don't use CHECK_N.
5957
b84660a8
RM
59582013-02-08 Roland McGrath <roland@hack.frob.com>
5959
7f3e75f8
RM
5960 * string/strcpy.c: Removed unused variable.
5961
b84660a8
RM
5962 * Makeconfig (+sysdep-includes): Define with := rather than =.
5963 Use an existing include/ subdir of each sysdeps dir before it.
5964
471514d3
CD
59652013-02-08 Carlos O'Donell <carlos@redhat.com>
5966
5967 * nscd/connection.c (register_traced_file): Comment function.
5968 [HAVE_INOTIFY] (union __inev): Define.
5969 [HAVE_INOTIFY] (inotify_check_files): New function.
5970 [HAVE_INOTIFY] (clear_db_cache): Likewise.
5971 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5972 clear_db_cache.
5973 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5974
b2d3c3be
CD
59752013-02-08 Carlos O'Donell <carlos@redhat.com>
5976
5977 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5978 loaded if not already and that a failure is permanent.
5979
b39949d2
CD
59802013-02-08 Carlos O'Donell <carlos@redhat.com>
5981
ddacd1db 5982 [BZ #15006]
b39949d2
CD
5983 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5984 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5985
b2c9eff4
JM
59862013-02-08 Joseph Myers <joseph@codesourcery.com>
5987
f3aae3f3
JM
5988 [BZ #13550]
5989 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5990 (CHECK_1_NULL_OK): Likewise.
5991 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5992 (__fxstat): Do not use CHECK_1.
5993 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5994 <bp-checks.h>.
5995 (___fxstat64): Do not use CHECK_1.
5996 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5997 <bp-checks.h>.
5998 (__fxstatat): Do not use CHECK_1.
5999 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6000 <bp-checks.h>.
6001 (__fxstatat64): Do not use CHECK_1.
6002 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6003 <bp-checks.h>.
6004 (__fxstat): Do not use CHECK_1.
6005 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6006 <bp-checks.h>.
6007 (__fxstatat): Do not use CHECK_1.
6008 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6009 <bp-checks.h>.
6010 (__getresgid): Do not use CHECK_1.
6011 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6012 <bp-checks.h>.
6013 (__getresuid): Do not use CHECK_1.
6014 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6015 <bp-checks.h>.
6016 (__lxstat): Do not use CHECK_1.
6017 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6018 <bp-checks.h>.
6019 (__old_msgctl): Do not use CHECK_1.
6020 (__new_msgctl): Likewise.
6021 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6022 <bp-checks.h>.
6023 (__new_setrlimit): Do not use CHECK_1.
6024 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6025 <bp-checks.h>.
6026 (__old_shmctl): Do not use CHECK_1.
6027 (__new_shmctl): Likewise.
6028 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6029 <bp-checks.h>.
6030 (__xstat): Do not use CHECK_1.
6031 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6032 (__lxstat): Do not use CHECK_1.
6033 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6034 <bp-checks.h>.
6035 (___lxstat64): Do not use CHECK_1.
6036 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6037 (__old_msgctl): Do not use CHECK_1.
6038 (__new_msgctl): Likewise.
6039 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6040 <bp-checks.h>.
6041 (__gettimeofday): Do not use CHECK_1.
6042 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6043 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6044 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6045 <bp-checks.h>.
6046 (__gettimeofday): Do not use CHECK_1.
6047 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6048 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6049 (__new_shmctl): Do not use CHECK_1.
6050 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6051 <bp-checks.h>.
6052 (do_sigtimedwait): Do not use CHECK_1.
6053 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6054 <bp-checks.h>.
6055 (do_sigwaitinfo): Do not use CHECK_1.
6056 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6057 <bp-checks.h>.
6058 (msgctl): Do not use CHECK_1.
6059 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6060 <bp-checks.h>.
6061 (shmctl): Do not use CHECK_1.
6062 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6063 (ustat): Do not use CHECK_1.
6064 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6065 <bp-checks.h>.
6066 (__fxstat): Do not use CHECK_1.
6067 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6068 <bp-checks.h>.
6069 (__fxstatat): Do not use CHECK_1.
6070 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6071 <bp-checks.h>.
6072 (__lxstat): Do not use CHECK_1.
6073 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6074 <bp-checks.h>.
6075 (__xstat): Do not use CHECK_1.
6076 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6077 (__xstat): Do not use CHECK_1.
6078 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6079 (___xstat64): Do not use CHECK_1.
6080
b2c9eff4
JM
6081 [BZ #13550]
6082 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6083 definitions.
6084 (CHECK_BOUNDS_HIGH): Likewise.
6085 * string/strcpy.c: Do not include <bp-checks.h>.
6086 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6087
f1d70dad
RM
60882013-02-07 Roland McGrath <roland@hack.frob.com>
6089
6090 * nscd/nscd-client.h (__nscd_drop_map_ref):
6091 Add __attribute__ ((unused)).
6092 * nis/nss-nisplus.h (niserr2nss): Likewise.
6093
6094 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6095 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6096
6097 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6098 Remove inline keyword.
6099 * include/rounding-mode.h (round_away): Likewise.
6100 * libio/wfileops.c (adjust_wide_data): Likewise.
6101 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6102 (__m128i_strloadu_tolower): Likewise.
6103 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6104 (__m128i_strloadu_tolower): Likewise.
6105 * time/mktime.c (ydhms_diff): Likewise.
6106 * locale/elem-hash.h (elem_hash): Likewise.
6107 * locale/setlocale.c (setdata): Likewise.
6108 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6109 (re_string_wchar_at): Likewise.
6110 (bitset_not, bitset_merge, bitset_mask): Likewise.
6111 [!(__GNUC__ > 3)] (inline): Remove macro.
6112 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6113 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6114 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6115 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6116 * string/memcmp.c (memcmp_bytes): Likewise.
6117 * locale/programs/locarchive.c (compute_hashval): Likewise.
6118 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6119 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6120 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6121 * nss/getent.c (print_rpc, print_protocols): Likewise.
6122 (print_passwd, print_group, print_aliases): Likewise.
6123 * nis/nss-nisplus.h (niserr2nss): Likewise.
6124 * nscd/connections.c (restart_p): Likewise.
6125 Change return type to bool.
6126
eab55bfb
RM
61272013-02-05 Roland McGrath <roland@hack.frob.com>
6128
7bd642f5
RM
6129 * Makeconfig (all-Depend-files): Add existing
6130 $(sorted-subdirs:=/Depend) files.
6131 (all-subdirs): Remove nss.
6132 * sysdeps/unix/inet/Subdirs: Add it here instead.
6133 * hesiod/Depend: New file.
6134
573c29b2
RM
6135 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6136 instead of calling alloca.
6137
b2e25af0
RM
6138 * io/lseek.c (__lseek): Rename to __libc_lseek.
6139 Define __lseek as an alias.
6140
eab55bfb
RM
6141 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6142
9a0d1941
CD
61432013-02-04 Carlos O'Donell <carlos@redhat.com>
6144
6145 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6146 else clause and remove check for non-standard endianness.
6147
b83bbec4
DM
61482013-02-04 David S. Miller <davem@davemloft.net>
6149
6150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6151
6277fdab
JM
61522013-02-04 Joseph Myers <joseph@codesourcery.com>
6153
6154 [BZ #13550]
6155 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6156 (__ubp_memchr): Remove prototype.
6157 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6158 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6159 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6160 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6161 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6162 Remove alias.
6163 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6164 (__ubp_memchr): Likewise.
6165 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6166 (__ubp_memchr): Likewise.
6167 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6168 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6169 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6170 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6171 CHECK_STRING.
6172 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6173 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6174 (__getcwd): Do not use CHECK_STRING.
6175 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6176 <bp-checks.h>.
6177 (__real_chown): Do not use CHECK_STRING.
6178 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6179 <bp-checks.h>.
6180 (fchownat): Do not use CHECK_STRING.
6181 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6182 CHECK_STRING.
6183 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6184 <bp-checks.h>.
6185 (__lchown): Do not use CHECK_STRING.
6186 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6187 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6188 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6189 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6191 include <bp-checks.h>.
6192 (truncate64): Do not use CHECK_STRING.
6193 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6194 <bp-checks.h>.
6195 (__real_chown): Do not use CHECK_STRING.
6196 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6197 <bp-checks.h>.
6198 (__lchown): Do not use CHECK_STRING.
6199 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6200 <bp-checks.h>.
6201 (__chown): Do not use CHECK_STRING.
6202 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6203 <bp-checks.h>.
6204 (truncate64): Do not use CHECK_STRING.
6205 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6206 Likewise.
6207 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6208 (__xmknod): Do not use CHECK_STRING.
6209 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6210 <bp-checks.h>.
6211 (__xmknodat): Do not use CHECK_STRING.
6212 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6213 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6214
903ae060
AS
62152013-02-04 Andreas Schwab <schwab@suse.de>
6216
6217 [BZ #14142]
6218 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6219 * include/netdb.h: Likewise for h_errno.
6220 * elf/tst-stackguard1.c: Include <tls.h>.
6221
542f9466
JK
62222013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6223
6224 * elf/link.h (struct link_map): Extend the l_addr comment.
6225 * include/link.h (struct link_map): Likewise.
6226
e782a927
JM
62272013-02-01 Joseph Myers <joseph@codesourcery.com>
6228
6229 [BZ #13550]
6230 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6231 (BOUNDED_1): Remove macro.
6232 * debug/backtrace.c: Don't include <bp-checks.h>.
6233 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6234 (__backtrace): Likewise.
6235 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6236 <bp-checks.h>.
6237 (__backtrace): Don't use BOUNDED_1.
6238 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6239 <bp-checks.h>.
6240 (__backtrace): Don't use BOUNDED_1.
6241 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6242 (__backtrace): Don't use BOUNDED_1.
6243 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6244 (shmat): Don't use BOUNDED_N.
6245
8cf28c5e
JM
62462013-01-31 Joseph Myers <joseph@codesourcery.com>
6247
3a7ac8a0
JM
6248 [BZ #13550]
6249 * sysdeps/generic/bp-start.h: Remove file.
6250 * csu/libc-start.c: Don't include <bp-start.h>.
6251 (LIBC_START_MAIN): Set up __environ directly instead of using
6252 INIT_ARGV_and_ENVIRON.
6253 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6254 <bp-start.h>.
6255
f3499f95
JM
6256 [BZ #13550]
6257 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6258 definitions.
6259 (CHECK_FCNTL): Likewise.
6260 (CHECK_N_PAGES): Likewise.
6261
32a45bea
JM
6262 [BZ #13550]
6263 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6264 definitions.
6265 (CHECK_SIGSET_NULL_OK): Likewise.
6266 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6267 <bp-checks.h>.
6268 (sigpending): Don't use CHECK_SIGSET.
6269 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6270 <bp-checks.h>.
6271 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6272 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6273 <bp-checks.h>.
6274 (do_sigsuspend): Don't use CHECK_SIGSET.
6275 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6276 use CHECK_SIGSET.
6277 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6278 (do_sigwait): Don't use CHECK_SIGSET.
6279 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6280 use CHECK_SIGSET.
6281 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6282 include <bp-checks.h>.
6283 (sigpending): Don't use CHECK_SIGSET.
6284 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6285 include <bp-checks.h>.
6286 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6287 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6288 <bp-checks.h>.
6289 (sigpending): Don't use CHECK_SIGSET.
6290 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6291 <bp-checks.h>.
6292 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6293
2e8a5c8c
JM
6294 [BZ #13550]
6295 * sysdeps/generic/bp-semctl.h: Remove file.
6296 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6297 <bp-checks.h> and <bp-semctl.h>.
6298 (__old_semctl): Don't use CHECK_SEMCTL.
6299 (__new_semctl): Likewise.
6300 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6301 and <bp-semctl.h>.
6302 (__old_semctl): Don't use CHECK_SEMCTL.
6303 (__new_semctl): Likewise.
6304 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6305 <bp-checks.h> and <bp-semctl.h>.
6306 (__old_semctl): Don't use CHECK_SEMCTL.
6307 (__new_semctl): Likewise.
6308 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6309 <bp-checks.h> and <bp-semctl.h>.
6310 (semctl): Don't use CHECK_SEMCTL.
6311
c2d54929
JM
6312 [BZ #13550]
6313 * Makerules (elide-bp-thunks): Remove variable.
6314 (elide-routines.oS): Don't use $(elide-bp-thunks).
6315 (elide-routines.os): Likewise.
6316 (elide-routines.o): Likewise.
6317 (elide-routines.op): Likewise.
6318 (elide-routines.og): Likewise.
6319 (objects): Don't use $(bp-thunks).
6320 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6321 include.
6322 (common-generated): Do not add s-proto-bp.d.
6323 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6324 (int): Likewise.
6325 (typ): Likewise.
6326 Do not generate makefile rules for bounded-pointer thunks.
6327 * sysdeps/generic/bp-thunks.h: Remove file.
6328 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6329 * sysdeps/unix/s-proto-bp.S: Likewise.
6330
8cf28c5e
JM
6331 [BZ #15062]
6332 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6333 parts of result separately when argument is not close to line from
6334 -i to i and one part of argument is small.
6335 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6336 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6337 * math/libm-test.inc (cacos_test): Add more tests.
6338 (casin_test): Likewise.
6339 (casinh_test): Likewise.
6340 * sysdeps/i386/fpu/libm-test-ulps: Update.
6341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6342
c4e33b8d
DM
63432013-01-31 David S. Miller <davem@davemloft.net>
6344
6345 * po/de.po: Update from translation team.
6346
3b60b421
MK
63472013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6348
6349 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6350
bb931195
TS
63512013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6352
b5a5da23
TS
6353 * configure.in (_AC_PROG_CC_C89): New definition.
6354 * configure: Regenerate.
6355
bb931195
TS
6356 * configure.in (AC_PROG_CPP): New definition.
6357 * configure: Regenerate.
6358
8c53a12c
JM
63592013-01-23 Joseph Myers <joseph@codesourcery.com>
6360
6361 * debug/tst-backtrace.h: New file.
6362 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6363 (ret): Remove variable.
6364 (x): Likewise.
6365 (FAIL): Remove macro.
6366 (NO_INLINE): Likewise.
6367 (fn1): Use match function instead of strstr.
6368 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6369 (ret): Remove variable.
6370 (x): Likewise.
6371 (FAIL): Remove macro.
6372 (NO_INLINE): Likewise.
6373 (fn): Use match function instead of strstr.
6374 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6375 (ret): Remove variable.
6376 (x): Likewise.
6377 (FAIL): Remove macro.
6378 (NO_INLINE): Likewise.
6379 (handle_signal): Use match function instead of strstr.
6380 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6381 (ret): Remove variable.
6382 (x): Likewise.
6383 (FAIL): Remove macro.
6384 (NO_INLINE): Likewise.
6385 (handle_signal): Use match function instead of strstr.
6386
4858fa2a
RM
63872013-01-23 Roland McGrath <roland@hack.frob.com>
6388
6389 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6390
bae8e7f5
DM
63912013-01-23 David S. Miller <davem@davemloft.net>
6392
6393 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6394 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6395 argument of CAS if possible.
6396 * sysdeps/sparc/sparc64/bits/atomic.h
6397 (__arch_compare_and_exchange_val_32_acq): Likewise.
6398 (__arch_compare_and_exchange_val_64_acq): Likewise.
6399
9cbbc4ae
PT
64002013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6401
6402 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6403 * sysdeps/posix/ulimit.c: ... this.
92a601b8 6404 Include <limits.h>.
67b3f58c 6405 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 6406
5655a0b5
AC
64072013-01-23 Adam Conrad <adconrad@0c3.net>
6408
6409 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6410 (LDFLAGS-tst-array5): Likewise.
6411
052aff95
JM
64122013-01-23 Joseph Myers <joseph@codesourcery.com>
6413
6414 [BZ #15036]
6415 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6416 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6417 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6418 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6419
7c1e01aa
DM
64202013-01-21 David S. Miller <davem@davemloft.net>
6421
6422 * sysdeps/sparc/backtrace.c: New file.
6423 * sysdeps/sparc/sparc32/backtrace.h: New file.
6424 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6425 * sysdeps/sparc/sparc64/backtrace.h: New file.
6426 * sysdeps/sparc/sparc64/backtrace.c: Delete.
6427 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6428 -funwind-tables.
6429
ab087e0a
AS
64302013-01-21 Andreas Schwab <schwab@suse.de>
6431
6432 [BZ #15020]
6433 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6434 closed its stdout.
6435
ed689c2f
AS
64362013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6437
6438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6439 "mpa2.h".
6440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6441
31d470ac
JM
64422013-01-18 Joseph Myers <joseph@codesourcery.com>
6443 Mark Mitchell <mark@codesourcery.com>
6444 Tom de Vries <tom@codesourcery.com>
6445 Paul Pluzhnikov <ppluzhnikov@google.com>
6446
6447 * debug/tst-backtrace2.c: New file.
6448 * debug/tst-backtrace3.c: Likewise.
6449 * debug/tst-backtrace4.c: Likewise.
6450 * debug/tst-backtrace5.c: Likewise.
6451 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6452 (CFLAGS-tst-backtrace3.c): Likewise.
6453 (CFLAGS-tst-backtrace4.c): Likewise.
6454 (CFLAGS-tst-backtrace5.c): Likewise.
6455 (LDFLAGS-tst-backtrace2): Likewise.
6456 (LDFLAGS-tst-backtrace3): Likewise.
6457 (LDFLAGS-tst-backtrace4): Likewise.
6458 (LDFLAGS-tst-backtrace5): Likewise.
6459 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6460 tst-backtrace4 and tst-backtrace5.
6461
90567f30 64622013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
6463 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6464
6465 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6466 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6467 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6468 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6470 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6471 "+r" and remove output regs list as redundant. Add explicit inline
6472 asm to specify register of return val to work around compiler codegen
6473 bug. Remove (int) cast on return value. Add return type parameter to
6474 use in macro so that this macro does not truncate return value for
6475 64-bit values.
6476 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6477 pass to INTERNAL_VSYSCALL_NCS.
6478 (INLINE_VSYSCALL): Add 'long int' as return type to
6479 INTERNAL_VSYSCALL_NCS macro invocation.
6480 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6481 INTERNAL_VSYSCALL_NCS macro invocation.
6482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6483
d3b9ea61
SP
64842013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6485
0b57daeb
SP
6486 [BZ #14496]
6487 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6488 Fix application of SIMD FP exception mask.
6489
caa99d06
SP
6490 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6491 mp_no from a power of two.
6492 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6493 __mpexp_twomm1. Use __pow_mp.
6494
d3b9ea61
SP
6495 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6496 multiplication.
6497
1dbaee3c
DM
64982013-01-17 David S. Miller <davem@davemloft.net>
6499
6500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6501
728d7b43
JM
65022013-01-17 Joseph Myers <joseph@codesourcery.com>
6503
6504 [BZ #15023]
6505 * include/complex.h: Condition contents on [!_COMPLEX_H].
6506 (__kernel_casinhf): New prototype.
6507 (__kernel_casinh): Likewise.
6508 (__kernel_casinhl): Likewise.
6509 * math/Makefile (libm_calls): Add k_casinh.
6510 * math/k_casinh.c: New file.
6511 * math/k_casinhf.c: Likewise.
6512 * math/k_casinhl.c: Likewise.
6513 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6514 finite nonzero arguments.
6515 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6516 finite nonzero arguments.
6517 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6518 finite nonzero arguments.
6519 * math/s_casinh.c: Do not include <float.h>.
6520 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6521 * math/s_casinhf.c: Do not include <float.h>.
6522 (__casinhf): Move code for finite nonzero arguments to
6523 k_casinhf.c.
6524 * math/s_casinhl.c: Do not include <float.h>.
6525 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6526 redefine.
6527 (__casinhl): Move code for finite nonzero arguments to
6528 k_casinhl.c.
6529 * math/libm-test.inc (cacos_test): Add more tests.
6530 * sysdeps/i386/fpu/libm-test-ulps: Update.
6531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6532
2a26ef3a
PT
65332013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6534
6535 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6536 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6537 [!HAVE_MREMAP]: Remove [defined linux] case.
6538 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6539
a897655d
SP
65402013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6541
6542 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6543
881ebe89 65442013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
6545
6546 * elf/elf.h (R_386_SIZE32): New relocation.
6547 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6548 R_386_SIZE32.
6549 (elf_machine_rela): Likewise.
6550 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6551 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6552
59981e9b
JM
65532013-01-17 Joseph Myers <joseph@codesourcery.com>
6554
6555 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6556 (FP_FAST_FMA): Do not define.
6557 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6558 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6559 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6560 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6561 !_SOFT_FLOAT]: Likewise.
6562 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6563 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6564 value.
6565 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6566 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6567 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6568 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6569 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6570 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6571 file.
6572
cfa8054f
AS
65732013-01-16 Andreas Schwab <schwab@suse.de>
6574
6575 [BZ #14327]
6576 * include/stdlib.h (__mktemp): Add declaration.
6577 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6578 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6579
dd930cc5
SP
65802013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6581
881ebe89
SP
6582 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6583 definitions.
6584 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6585 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6586 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6587 definitions here.
6588 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6589 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6590 definitions.
6591 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6592 and ONE.
6593 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6594 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6595 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6596 definitions.
6597 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6598 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6599 definitions.
6600 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 6601
dd930cc5
SP
6602 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6603
c19a9f89
DM
66042013-01-15 David S. Miller <davem@davemloft.net>
6605
1aa61767
DM
6606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6607 trunc{,f} to libm-sysdep_routes.
6608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6610 file.
6611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6613 file.
6614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6615 file.
6616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6618 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6619 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6620 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6621 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6622 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6623 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6624
c42d5e98
DM
6625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6626 nearbyint{,f} to libm-sysdep_routes.
6627 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6629 New file.
6630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6631 file.
6632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6633 New file.
6634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6635 file.
6636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6638 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6639 file.
6640 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6641 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6642 file.
6643 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6644 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6645 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6646
c19a9f89
DM
6647 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6648 libc_feholdexcept and libc_fesetenv.
6649
357679d2
MF
66502013-01-15 Mike Frysinger <vapier@gentoo.org>
6651
6652 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6653
65a82e3d
DM
66542013-01-14 David S. Miller <davem@davemloft.net>
6655
8b954ab9
DM
6656 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6657 (SPARC_ASM_VIS2_IFUNC): Likewise.
6658 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6660 use of 'siam' instruction.
6661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6662 Likewise.
6663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6664 Likewise.
6665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6666 Likewise.
6667 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6668 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6672 file.
6673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6674 file.
6675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6676 file.
6677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6678 file.
6679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6684 new VIS2 routines.
6685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6688 Likewise.
6689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6694 routines to libm-sysdep_routines.
6695 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6696
65a82e3d
DM
6697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6698 fdim/fdimf to libm-sysdep_routines.
6699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6700 file.
6701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6703 file.
6704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6707 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6708 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6709 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6710 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6711
e34ab705
SP
67122013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6713
2a91b573
SP
6714 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6715 to optimize copies.
6716
1066a534
SP
6717 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6720
e34ab705
SP
6721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6722 local variable MPTWO.
6723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6724 Likewise.
6725
aba5e596
MF
67262013-01-13 Mike Frysinger <vapier@gentoo.org>
6727
6728 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6729 GLOB_NOESCAPE.
6730
e557e9e5
MF
67312013-01-13 Mike Frysinger <vapier@gentoo.org>
6732
6733 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6734
0428cec9
MF
67352013-01-13 Mike Frysinger <vapier@gentoo.org>
6736
6737 * manual/pattern.texi (glob_t): Document gl_flags.
6738 (glob64_t): Likewise.
6739
8794a964
DM
67402013-01-11 David S. Miller <davem@davemloft.net>
6741
66438c3f
RM
6742 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6743 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6744 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
6745 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6746 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6747 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6748 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6749 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6750 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6751 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6752 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6753 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6754 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6755
4ae4244d
DM
6756 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6757 sparc V9 rather than using V8 code.
6758 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6759 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6760
8794a964
DM
6761 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6762 Move to...
6763 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6764 Here.
6765
6270516e
RM
67662013-01-11 Roland McGrath <roland@hack.frob.com>
6767
6768 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6769 not in the main loop.
6770 * configure: Regenerated.
6771
6a57d931
JM
67722013-01-11 Joseph Myers <joseph@codesourcery.com>
6773
6774 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6775 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6776 to just #else.
6777 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
6778 [!__GLIBC_HAVE_LONG_LONG] case.
6779 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6780 condition to just #else.
6781 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6782 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6783 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6784 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6785 unconditional.
6786 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6787 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6788 #elif condition to just #else.
6789 * sysdeps/unix/sysv/linux/sys/sysmacros.h
6790 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6791 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6792 #elif condition to just #else.
6793
0e8529e9
SE
67942013-01-11 Steve Ellcey <sellcey@mips.com>
6795
6796 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6797 (EF_MIPS_ARCH_64): Fix value.
6798 (EF_MIPS_ARCH_32R2): New.
6799 (EF_MIPS_ARCH_64R2): New.
6800
740b3dbe
L
68012013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6802
6803 * Makeconfig (+link-pie-before-libc): New.
6804 (+link-pie-after-libc): Likewise.
6805 (+link-pie-tests): Likewise.
6806 (+link-pie): Rewritten.
6807 (link-before-libc): Remove $(config-LDFLAGS).
6808 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6809 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6810 (config-LDFLAGS): Renamed to ...
6811 (rtld-LDFLAGS): This.
6812 (rtld-tests-LDFLAGS): New macro.
6813 (link-libc-rpath-link): Likewise.
6814 (link-libc-tests-rpath-link): Likewise.
6815 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6816 (link-libc): Prepand $(link-libc-rpath-link).
6817 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6818 (test-program-prefix): New macro.
6819 (test-via-rtld-prefix): Likewise.
6820 (test-program-cmd): Likewise.
6821 (host-test-program-cmd): Likewise.
6822 * Makefile ($(common-objpfx)testrun.sh): Replace
6823 $(run-program-prefix) with $(test-program-prefix).
6824 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6825 $(rtld-LDFLAGS).
6826 ($(common-objpfx)shlib.lds): Likewise.
6827 (build-module-helper): Likewise.
6828 ($(common-objpfx)format.lds): Likewise.
6829 * Rules (binaries-pie-tests): New.
6830 (binaries-pie-notests): Likewise.
6831 (binaries-pie): Rewritten.
6832 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6833 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6834 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6835 (make-test-out): Replace $(host-built-program-cmd) with
6836 $(host-test-program-cmd).
6837 * config.make.in (build-hardcoded-path-in-tests): New variable.
6838 * configure.in (--enable-hardcoded-path-in-tests): New configure
6839 option.
6840 (hardcoded_path_in_tests): New AC_SUBST.
6841 * configure: Regenerated.
6842 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6843 $(built-program-cmd) with $(test-program-cmd).
6844 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6845 (test_program_cmd): This.
6846 * elf/Makefile ($(objpfx)order.out): Run test with
6847 $(test-program-prefix).
6848 ($(objpfx)order2.out): Likewise.
6849 ($(objpfx)tst-initorder.out): Likewise.
6850 ($(objpfx)tst-initorder2.out): Likewise.
6851 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6852 $(test-program-cmd).
6853 ($(objpfx)tst-array1-static.out): Likewise.
6854 ($(objpfx)tst-array2.out): Likewise.
6855 ($(objpfx)tst-array3.out): Likewise.
6856 ($(objpfx)tst-array4.out): Likewise.
6857 ($(objpfx)tst-array5.out): Likewise.
6858 ($(objpfx)tst-array5-static.out): Likewise.
6859 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6860 $(test-program-cmd).
6861 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6862 $(run-program-prefix) with $(test-program-prefix).
6863 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6864 (test_program_prefix): This.
6865 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6866 $(run-program-prefix) with $(test-program-prefix).
6867 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6868 (test_program_prefix): This.
6869 * iconvdata/tst-tables.sh: Likewise.
6870 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6871 $(run-program-prefix) with $(test-program-prefix).
6872 ($(objpfx)tst-translit.out): Likewise.
6873 ($(objpfx)tst-gettext2.out): Likewise.
6874 ($(objpfx)tst-gettext4.out): Likewise.
6875 ($(objpfx)tst-gettext6.out): Likewise.
6876 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6877 (test_program_prefix): This.
6878 * intl/tst-gettext2.sh: Likewise.
6879 * intl/tst-gettext4.sh Likewise.
6880 * intl/tst-gettext6.sh: Likewise.
6881 * intl/tst-translit.sh: Likewise.
6882 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6883 with $(test-program-cmd).
6884 * libio/Makefile ($(objpfx)test-freopen.out): Replace
6885 $(run-program-prefix) with $(test-program-prefix).
6886 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6887 (test_program_prefix): This.
6888 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6889 $(run-program-prefix) with $(test-program-prefix).
6890 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6891 (test_program_prefix): This.
6892 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6893 * posix/Makefile ($(objpfx)globtest.out): Replace
6894 $(run-via-rtld-prefix) and $(test-wrapper) with
6895 $(test-program-prefix) and $(test-via-rtld-prefix).
6896 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6897 $(test-program-prefix).
6898 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6899 $(host-test-program-cmd).
6900 (tst-spawn-ARGS): Likewise.
6901 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6902 $(test-program-prefix).
6903 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6904 (test_via_rtld_prefix): This.
6905 (test_wrapper): Renamed to ...
6906 (test_program_prefix): This.
6907 (run_program_prefix): Replaced by test_program_prefix.
6908 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6909 (test_program_prefix): This.
6910 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6911 with $(host-test-program-cmd).
6912 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6913 $(run-program-prefix) with $(test-program-prefix).
6914 ($(objpfx)tst-printf.out): Likewise.
6915 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6916 $(test-program-cmd).
6917 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6918 (test_program_prefix): This.
6919 * stdio-common/tst-unbputc.sh: Likewise.
6920 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6921 $(run-program-prefix) with $(test-program-prefix).
6922 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6923 (test_program_prefix): This.
6924 * string/Makefile ($(objpfx)tst-svc.out): Replace
6925 $(built-program-cmd) with $(test-program-cmd).
6926
c6fe55cf
AJ
69272013-01-11 Andreas Jaeger <aj@suse.de>
6928
6929 [BZ #15003]
6930 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6931 value. Sync with Linux 3.7.
6932
9e6919c8
DM
69332013-01-10 David S. Miller <davem@davemloft.net>
6934
6935 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6936 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6937 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6938
1c9f1a02
RM
69392013-01-10 Roland McGrath <roland@hack.frob.com>
6940
6941 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6942 never set.
6943 * configure: Regenerated.
6944
b9de2dde
DM
69452013-01-10 David S. Miller <davem@davemloft.net>
6946
6947 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6948 sparc V9 rather than using V8 code.
6949 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6950 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6951
e7f68ef4
RM
69522013-01-10 Roland McGrath <roland@hack.frob.com>
6953
6954 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6955 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6956 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6957 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6958 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6959 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6960 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6961 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6962 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6963 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6964 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6965 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6966 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6967 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6968 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6969 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6970 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6971 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6972 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6973 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6974 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6975 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6976 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6977 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6978 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6979 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6980 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6981
5a47cc9c
DM
69822013-01-10 David S. Miller <davem@davemloft.net>
6983
6984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6985
4cf8f209
L
69862013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6987
6988 * posix/Makefile (tests-static): New variable.
6989 (tests): Add $(tests-static).
6990 (tst-exec-static-ARGS): New variable.
6991 (tst-spawn-static-ARGS): Likewise.
6992 * posix/tst-exec-static.c: New file.
6993 * posix/tst-spawn-static.c: Likewise.
6994 * posix/tst-exec.c: Support run directly.
6995 * posix/tst-spawn.c: Likewise.
6996
fed0faa1
JM
69972013-01-10 Joseph Myers <joseph@codesourcery.com>
6998
828beb13
JM
6999 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7000 long.
7001 * math/bits/mathcalls.h (llrint): Likewise.
7002 (llround): Likewise.
7003 * stdlib/stdlib.h (struct drand48_data): Likewise.
7004 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7005 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7006 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7007 Likewise.
7008 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7009 Likewise.
7010 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7011 (elf_greg_t): Likewise.
7012 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7013 (__jmp_buf): Likewise.
7014 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7015 definitions.
7016 (llrint): Likewise, for all definitions.
7017 (llrintl): Likewise.
7018
fed0faa1
JM
7019 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7020 Remove [__GNUC__] condition.
7021 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7022 condition to just [__USE_ISOC99].
7023 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7024
1a20cb20
L
70252013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7026
7027 [BZ #14200]
7028 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7029 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7030 defined.
7031 (_POSIX_V6_ILP32_OFF32): Likewise.
7032 (_XBS5_ILP32_OFF32): Likewise.
7033 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7034 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7035
751b85f7
SP
70362013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7037
7490eb81
SP
7038 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7039
751b85f7
SP
7040 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7041 doubles __mpexp_twomm1. Adjust usage.
7042 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7043 Remove.
7044
988197f0
AS
70452013-01-10 Andreas Schwab <schwab@suse.de>
7046
7047 [BZ #14964]
7048 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7049 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7050
e83d7298
DM
70512013-01-09 David S. Miller <davem@davemloft.net>
7052
034ed64b 7053 [BZ #15003]
e83d7298
DM
7054 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7055 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7056 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7057 TCP_FASTOPEN): Define.
7058 (tcp_repair_opt): New structure.
7059 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7060 enum values.
7061 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7062 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7063 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7064 (tcp_cookie_transactions): New structure.
7065
d5e0b9bd
AB
70662013-01-09 Anton Blanchard <anton@samba.org>
7067
7068 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7069 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7070 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7071 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7072
0c07e3ea
JM
70732013-01-09 Joseph Myers <joseph@codesourcery.com>
7074
7075 * include/features.h (__USE_ANSI): Remove.
7076
232f7002
RM
70772013-01-09 Roland McGrath <roland@hack.frob.com>
7078
ad98e30c
RM
7079 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7080
232f7002
RM
7081 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7082
950c99ca
SP
70832013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7084
b5792741
SP
7085 * sysdeps/s390/fpu/libm-test-ulps: Update.
7086
47cf2278
SP
7087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7088
950c99ca
SP
7089 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7090 (__acr): Likewise.
7091 (__cpy): Likewise.
7092 (norm): Likewise.
7093 (denorm): Likewise.
7094 (__mp_dbl): Likewise.
7095 (__dbl_mp): Likewise.
7096 (add_magnitudes): Likewise.
7097 (sub_magnitudes): Likewise.
7098 (__add): Likewise.
7099 (__sub): Likewise.
7100 (__mul): Likewise.
7101 (__inv): Likewise.
7102 (__dvd): Likewise.
7103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7104 (__acr): Likewise.
7105 (__cpy): Likewise.
7106 (norm): Likewise.
7107 (denorm): Likewise.
7108 (__mp_dbl): Likewise.
7109 (__dbl_mp): Likewise.
7110 (add_magnitudes): Likewise.
7111 (sub_magnitudes): Likewise.
7112 (__add): Likewise.
7113 (__sub): Likewise.
7114 (__mul): Likewise.
7115 (__inv): Likewise.
7116 (__dvd): Likewise.
7117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7118 (__acr): Likewise.
7119 (__cpy): Likewise.
7120 (norm): Likewise.
7121 (denorm): Likewise.
7122 (__mp_dbl): Likewise.
7123 (__dbl_mp): Likewise.
7124 (add_magnitudes): Likewise.
7125 (sub_magnitudes): Likewise.
7126 (__add): Likewise.
7127 (__sub): Likewise.
7128 (__mul): Likewise.
7129 (__inv): Likewise.
7130 (__dvd): Likewise.
7131
eede9df9
JM
71322013-01-08 Joseph Myers <joseph@codesourcery.com>
7133
7134 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7135 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7136 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7137 2 && __USE_EXTERN_INLINES]: Likewise.
7138
c40ea3d9
AJ
71392013-01-08 Andreas Jaeger <aj@suse.de>
7140
7141 [BZ# 14985]
7142 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7143 Remove.
7144 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7145 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7146
2ccdea26
AB
71472013-01-07 Anton Blanchard <anton@samba.org>
7148
7149 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7150 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7151 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7152 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7153 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7154 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7155 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7156 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7158 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7159 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7160 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7161 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7162 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7163 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7164 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7165 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7166 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7167 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7168 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7169 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7170 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7171 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7172 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7173 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7174 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7175 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7176 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7177 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7178 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7179 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7181 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7182 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7183 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7184 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7185 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7186 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7187 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7188 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7189 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7191 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7192
a9708fed
JM
71932013-01-07 Joseph Myers <joseph@codesourcery.com>
7194
375607b9
JM
7195 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7196 (__MALLOC_PMT): Likewise.
7197 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7198 [__GNUC__], only on [_LIBC].
7199 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7200 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7201 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7202 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7203 forward declaration.
7204 (realloc_hook_ini): Likewise.
7205 (memalign_hook_ini): Likewise.
7206 (__libc_memalign): Do not use __MALLOC_PMT in variable
7207 declaration.
7208 (__libc_valloc): Likewise.
7209 (__libc_pvalloc): Likewise.
7210 (__libc_calloc): Likewise.
7211 (__posix_memalign): Likewise.
7212
a9708fed
JM
7213 [BZ #14996]
7214 * math/s_casinh.c: Include <float.h>.
7215 (__casinh): Do not do computation with squaring and square root
7216 for large arguments.
7217 * math/s_casinhf.c: Include <float.h>.
7218 (__casinhf): Do not do computation with squaring and square root
7219 for large arguments.
7220 * math/s_casinhl.c: Include <float.h>.
7221 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7222 (__casinhl): Do not do computation with squaring and square root
7223 for large arguments.
7224 * math/libm-test.inc (casin_test): Add more tests.
7225 (casinh_test): Likewise.
7226 * sysdeps/i386/fpu/libm-test-ulps: Update.
7227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7228
afec409a
L
72292013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7230
7231 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7232 (__x86_64_raw_data_cache_size): Likewise.
7233 (__x86_64_data_cache_size_half): Likewise.
7234 (__x86_64_raw_data_cache_size_half): Likewise.
7235 (__x86_64_shared_cache_size): Likewise.
7236 (__x86_64_raw_shared_cache_size): Likewise.
7237 (__x86_64_shared_cache_size_half): Likewise.
7238 (__x86_64_raw_shared_cache_size_half): Likewise.
7239 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7240 to ...
7241 (__x86_data_cache_size): This.
7242 (__x86_64_raw_data_cache_size): Renamed to ...
7243 (__x86_raw_data_cache_size): This.
7244 (__x86_64_data_cache_size_half): Renamed to ...
7245 (__x86_data_cache_size_half): This.
7246 (__x86_64_raw_data_cache_size_half): Renamed to ...
7247 (__x86_raw_data_cache_size_half): This.
7248 (__x86_64_shared_cache_size): Renamed to ...
7249 (__x86_shared_cache_size): This.
7250 (__x86_64_raw_shared_cache_size): Renamed to ...
7251 (__x86_raw_shared_cache_size): This.
7252 (__x86_64_shared_cache_size_half): Renamed to ...
7253 (__x86_shared_cache_size_half): This.
7254 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7255 (__x86_raw_shared_cache_size_half): This.
7256 * sysdeps/x86_64/memcpy.S: Updated.
7257 * sysdeps/x86_64/memset.S: Likewise.
7258 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7259 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7260 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7261
0b3986d0
DM
72622013-01-04 David S. Miller <davem@davemloft.net>
7263
7264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7265
e47686e9
AS
72662013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7267
d643bac1
AS
7268 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7269 1 to avoid redefinition warning.
7270 (__USE_GNU): Don't define.
7271 (init_signaling_nan): Protoize.
7272
e47686e9
AS
7273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7274
b18decba
SP
72752013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7276
fffb407f
SP
7277 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7279 (__cpymn): Likewise.
7280 (norm): Remove commented code.
7281 (denorm): Likewise.
7282 (__mp_dbl): Likewise.
7283 (__inv): Likewise.
7284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7285 (__cpymn): Likewise.
7286 (norm): Remove commented code.
7287 (denorm): Likewise.
7288 (__mp_dbl): Likewise.
7289 (__inv): Likewise.
7290
b18decba
SP
7291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7292 mp_no value for 1.0 and 2.0.
7293 (norm): Use RADIXI instead of radixi.d.
7294 (denorm): Likewise.
7295 (__mul): Use 0.0 instead of zero.d.
7296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7297 mp_no value for 1.0 and 2.0.
7298 (norm): Use RADIXI instead of radixi.d.
7299 (denorm): Likewise.
7300 (__mul): Use 0.0 instead of zero.d.
7301
cdc1c96f
JM
73022013-01-04 Joseph Myers <joseph@codesourcery.com>
7303
7304 [BZ #14994]
7305 * math/s_casinh.c (__casinh): Reduce finite argument to first
7306 quadrant then set signs of results at the end.
7307 * math/s_casinhf.c (__casinhf): Likewise.
7308 * math/s_casinhl.c (__casinhl): Likewise.
7309 * math/libm-test.inc (casin_test): Add more tests.
7310 (casinh_test): Likewise.
7311 * sysdeps/i386/fpu/libm-test-ulps: Update.
7312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7313
302913e1
SP
73142013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7315
6420d207
SP
7316 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7317
a9e48ab4
SP
7318 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7319
b7837264
SP
7320 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7321 declarations.
7322 (denorm): Likewise.
7323 (__mp_dbl): Likewise.
7324 (__inv): Likewise.
7325
f8af25d2
SP
7326 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7327 and adjust the header comment.
7328
302913e1
SP
7329 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7330 variable name from declaration.
7331
5d7dd1ca
L
73322013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7333
7334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7335 Initialize COMMON_CPUID_INDEX_7 element.
7336 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7337 (CPUID_RTM): Likewise.
7338 (HAS_RTM): Likewise.
7339 (COMMON_CPUID_INDEX_7): New enum.
7340
2f5f40f4
AS
73412013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7342
7343 [BZ #14981]
7344 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7345 size is zero, record memory as freed.
7346
4056f4a0
AJ
73472013-01-03 Andreas Jaeger <aj@suse.de>
7348
7349 * po/ia.po: Add new Interlingua translation.
7350
ab15736f 73512012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
7352
7353 * locale/programs/localedef.c: Fix description of '--posix' flag.
7354
568035b7
JM
73552013-01-02 Joseph Myers <joseph@codesourcery.com>
7356
e6898b8d
JM
7357 * NEWS: Update dates in second copyright notice.
7358 * README: Update copyright dates in example.
7359 * manual/libc.texinfo: Update copyright dates.
7360 * scripts/test-installation.pl: Update copyright date in --version
7361 output.
7362
0e2f9562
JM
7363 * hurd/ctty-input.c: Fix copyright notice formatting.
7364 * hurd/ctty-output.c: Likewise.
7365 * hurd/dtable.c: Likewise.
7366 * hurd/hurd-raise.c: Likewise.
7367 * hurd/hurdprio.c: Likewise.
7368 * hurd/msgportdemux.c: Likewise.
7369 * misc/sys/file.h: Likewise.
7370 * misc/sys/ioctl.h: Likewise.
7371 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7372 * sysdeps/mach/hurd/chdir.c: Likewise.
7373 * sysdeps/mach/hurd/fchdir.c: Likewise.
7374 * sysdeps/mach/hurd/rename.c: Likewise.
7375 * sysdeps/mach/hurd/rmdir.c: Likewise.
7376 * sysdeps/mach/hurd/seekdir.c: Likewise.
7377 * sysdeps/mach/hurd/setsid.c: Likewise.
7378 * sysdeps/posix/wait3.c: Likewise.
7379
568035b7
JM
7380 * All files with FSF copyright notices: Update copyright dates
7381 using scripts/update-copyrights.
7382 * intl/plural.c: Regenerated.
7383 * locale/programs/charmap-kw.h: Likewise.
7384 * locale/programs/locfile-kw.h: Likewise.
7385
da08f647
SP
73862013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7387
0f5477af
SP
7388 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7389 four values.
7390
44e0d4c2
SP
7391 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7392 calculation loop and add branch prediction.
7393
4d55b4e5
SP
7394 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7395 check access beyond bounds of m1np.
7396
da08f647
SP
7397 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7398 MPTWO.
7399 (__inv): Remove local variable MPTWO to use the global
7400 constant.
7401 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7402 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7403 variable MPTWO.
7404 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7405 MP3HALFS static const.
7406
8e051029
DM
74072013-01-01 David S. Miller <davem@davemloft.net>
7408
7409 * po/ca.po: Update from translation team.
7410
f4cf5f2d
JM
74112013-01-01 Joseph Myers <joseph@codesourcery.com>
7412
7413 * scripts/update-copyrights: New file.
7414 * Makeconfig: Reformat copyright notice.
7415 * ctype/ctype.h: Likewise.
7416 * debug/swprintf_chk.c: Likewise.
7417 * elf/dl-cache.c: Likewise.
7418 * elf/dl-debug.c: Likewise.
7419 * elf/dl-object.c: Likewise.
7420 * grp/initgroups.c: Likewise.
7421 * hurd/Makefile: Likewise.
7422 * hurd/hurd/signal.h: Likewise.
7423 * hurd/hurdfault.c: Likewise.
7424 * hurd/hurdioctl.c: Likewise.
7425 * hurd/hurdlookup.c: Likewise.
7426 * hurd/intr-msg.c: Likewise.
7427 * iconv/gconv_open.c: Likewise.
7428 * libio/swprintf.c: Likewise.
7429 * locale/lc-ctype.c: Likewise.
7430 * locale/nl_langinfo.c: Likewise.
7431 * mach/Machrules: Likewise.
7432 * mach/Makefile: Likewise.
7433 * malloc/obstack.h: Likewise.
7434 * manual/Makefile: Likewise.
7435 * manual/tsort.awk: Likewise.
7436 * misc/bits/stab.def: Likewise.
7437 * nis/nis_print_group_entry.c: Likewise.
7438 * nis/nis_table.c: Likewise.
7439 * nis/nss_compat/compat-pwd.c: Likewise.
7440 * nis/nss_compat/compat-spwd.c: Likewise.
7441 * po/Makefile: Likewise.
7442 * posix/fnmatch.c: Likewise.
7443 * posix/regex.h: Likewise.
7444 * resolv/Makefile: Likewise.
7445 * resolv/nss_dns/dns-network.c: Likewise.
7446 * resolv/res_hconf.c: Likewise.
7447 * scripts/gen-sorted.awk: Likewise.
7448 * soft-fp/soft-fp.h: Likewise.
7449 * stdio-common/printf.h: Likewise.
7450 * stdlib/monetary.h: Likewise.
7451 * stdlib/random.c: Likewise.
7452 * stdlib/random_r.c: Likewise.
7453 * sysdeps/generic/Makefile: Likewise.
7454 * sysdeps/gnu/Makefile: Likewise.
7455 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7456 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7457 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7459 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7462 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7463 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7465 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7466 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7467 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7468 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7469 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7470 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7471 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7472 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7473 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7474 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7475 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7476 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7477 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7478 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7479 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7480 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7481 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7482 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7483 * sysdeps/mach/hurd/errnos.awk: Likewise.
7484 * sysdeps/mach/hurd/fork.c: Likewise.
7485 * sysdeps/mach/hurd/getcwd.c: Likewise.
7486 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7487 * sysdeps/mach/hurd/mmap.c: Likewise.
7488 * sysdeps/mach/hurd/utimes.c: Likewise.
7489 * sysdeps/mach/hurd/xmknod.c: Likewise.
7490 * sysdeps/posix/profil.c: Likewise.
7491 * sysdeps/posix/readdir_r.c: Likewise.
7492 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7493 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7494 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7495 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7497 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7498 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7499 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7501 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7502 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7503 * sysdeps/pthread/lio_listio.c: Likewise.
7504 * sysdeps/sparc/dl-procinfo.h: Likewise.
7505 * sysdeps/unix/i386/sysdep.S: Likewise.
7506 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7507 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7508 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7509 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7511 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7512 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7513 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7514 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7515 * sysdeps/wordsize-32/divdi3.c: Likewise.
7516 * time/sys/time.h: Likewise.
7517 * wcsmbs/Makefile: Likewise.
7518
0549fbba
DM
75192013-01-01 David S. Miller <davem@davemloft.net>
7520
a141f1a7
DM
7521 * po/fr.po: Update from translation team.
7522
0549fbba
DM
7523 * catgets/gencat.c: Update copyright year.
7524 * csu/version.c: Likewise.
7525 * debug/catchsegv.sh: Likewise.
7526 * debug/pcprofiledump.c: Likewise.
7527 * debug/xtrace.sh: Likewise.
7528 * elf/ldconfig.c: Likewise.
7529 * elf/ldd.bash.in: Likewise.
7530 * elf/pldd.c: Likewise.
7531 * elf/sotruss.ksh: Likewise.
7532 * elf/sprof.c: Likewise.
7533 * iconv/iconv_prog.c: Likewise.
7534 * iconv/iconvconfig.c: Likewise.
7535 * locale/programs/locale.c: Likewise.
7536 * locale/programs/localedef.c: Likewise.
7537 * login/programs/pt_chown.c: Likewise.
7538 * malloc/memusage.sh: Likewise.
7539 * malloc/memusagestat.c: Likewise.
7540 * malloc/mtrace.pl: Likewise.
7541 * nscd/nscd.c: Likewise.
7542 * nss/getent.c: Likewise.
7543 * nss/makedb.c: Likewise.
7544 * posix/getconf.c: Likewise.
7545
18ea052c
SP
75462012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7547
7548 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7549 numbers.
7550
9c89fca6
MF
75512012-12-30 Mike Frysinger <vapier@gentoo.org>
7552
7553 * math/bits/mathcalls.h (modf): Use __nonnull.
7554
085ec079
SP
75552012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7556
7557 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7558 (split): Use macro CN instead of the bare value.
7559 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7560 could be used.
7561 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7562 instead of the bare value.
7563 (power1): Likewise.
7564
6d9f97e1
SP
75652012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7566
d63f73be
SP
7567 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7568 __ATAN_TWOM.
7569 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7570
6d9f97e1
SP
7571 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7572 their values.
7573 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7574 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7575 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7576 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7577
4c4febf5
AJ
75782012-12-28 Andreas Jaeger <aj@suse.de>
7579
af5843ef
AJ
7580 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7581 values are from Linux 3.7.
7582
4c4febf5
AJ
7583 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7584 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7585
99136f82
SP
75862012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7587
2f216c3c 7588 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
7589 TRUE case.
7590
99136f82
SP
7591 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7592 (norm): Likewise.
7593 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7594 variables with preprocessor constants.
7595 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7596 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7597 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7598
7fffbdff
BH
75992012-12-27 Bruno Haible <bruno@clisp.org>
7600
7601 [BZ #14317]
7602 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7603 only if needed.
7604
b76eb5f0
SP
76052012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7606
31a7fe5c
SP
7607 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7608 and use variable directly.
7609 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7610
b76eb5f0
SP
7611 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7612 MPONE.
7613 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7614 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7615 variable MPONE.
7616 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7617 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7618 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7619 include directive. Remove local variable MPONE.
7620 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7621 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7622 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7623
2c8bfe7d
DM
76242012-12-25 David S. Miller <davem@davemloft.net>
7625
7626 * version.h (RELEASE): Set to "development".
7627 (VERSION): Set to "2.17.90".
7628 * NEWS: Add 2.18 section.
7629
147d03b0
DM
76302012-12-21 David S. Miller <davem@davemloft.net>
7631
7632 * po/hr.po: Update from translation team.
7633
a8ebb2b9
AK
76342012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7635
7636 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7637
95b4f1b6
SE
76382012-12-19 Steve Ellcey <sellcey@mips.com>
7639
b2d94007 7640 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 7641
cedb2a90
MS
76422012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7643
7644 * manual/contrib.texi (Contributors): Spelling correction.
7645
bbf527d6
DM
76462012-12-15 David S. Miller <davem@davemloft.net>
7647
7648 * po/ru.po: Update from translation team.
7649
bc38c906
DM
76502012-12-13 David S. Miller <davem@davemloft.net>
7651
85429b1a
DM
7652 * NEWS: Mention IFUNC testsuite enhancements.
7653
d283e353
DM
7654 * po/pl.po: Update from translation team.
7655 * po/bg.po: Likewise.
7656
bc38c906
DM
7657 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7658 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7659
a181b0d7
DM
76602012-12-11 David S. Miller <davem@davemloft.net>
7661
4641d57e
DM
7662 * po/sv.po: Update from translation team.
7663
f7bc6495
DM
7664 * po/vi.po: Update from translation team.
7665
6fc9048f
DM
7666 * po/cs.po: Update from translation team.
7667
a181b0d7
DM
7668 * po/de.po: Update from translation team.
7669 * po/eo.po: Likewise.
7670 * po/nl.po: Likewise.
7671
f70bfe80
SP
76722012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7673
3c8b4190
SP
7674 [BZ #14246]
7675 * manual/argp.texi (Argp Helper Functions): Move node to follow
7676 Argp Parsing State.
7677
f70bfe80
SP
7678 [BZ #14872]
7679 * manual/conf.texi (Limits on File System Capacity): Mention if
7680 terminating null is included in the max size.
7681
188f0adf
AJ
76822012-12-10 Andreas Jaeger <aj@suse.de>
7683
7684 * po/cs.po: Update from translation team.
7685
56e7d3ad
SP
76862012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7687
7688 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7689 void pointer and cast to uintptr_t.
7690 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7691 path.
7692 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7693 * sysdeps/s390/s390-64/memset.S: Likewise.
7694
76f2d2ea 76952012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
7696
7697 [BZ #14833]
7698 * menual/message.texi (Message Translation): Fix typos.
7699 (Helper programs for gettext): Likewise.
7700
67cbf9a2
AS
77012012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7702
7703 [BZ #14898]
7704 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7705 Change to -1.
7706
682d0e9a
DM
77072012-12-07 David S. Miller <davem@davemloft.net>
7708
7709 * po/libc.pot: Update.
7710
573cd484
RH
77112012-12-07 Richard Henderson <rth@redhat.com>
7712
7e9da188 7713 [BZ #10114]
573cd484
RH
7714 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7715 normal/normal case to before the switch.
7716 (_FP_DIV): Likewise.
7717
e933a943
MF
77182012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7719 Mike Frysinger <vapier@gentoo.org>
7720
7721 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7722 check for __NR_fadvise64_64.
7723
82123268
CM
77242012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7725
7726 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7727 0, not just to plain "0" as a statement.
7728 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7729 with cw.
7730
d9814526
JM
77312012-12-06 Joseph Myers <joseph@codesourcery.com>
7732
7733 * NEWS: Use sourceware.org in Bugzilla URL.
7734
7728c574
SP
77352012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7736
f16946dd
SP
7737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7738 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7739
5704bbcb
SP
7740 * stdio-common/tst-put-error.c (do_test): Add newline to the
7741 padded test to ensure flush.
7742
17aa0516
JL
77432012-12-05 Jeff Law <law@redhat.com>
7744
7745 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7746
363313b5
JM
77472012-12-05 Joseph Myers <joseph@codesourcery.com>
7748
effbd42a
JM
7749 * README: Don't refer to ports add-on as distributed separately.
7750 Mention AArch64 in list of systems supported in the ports add-on.
7751
87600365
JM
7752 * LICENSES: Add more non-FSF copyright and license notices.
7753
a0d7066a
JM
7754 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7755 ((unused)).
7756
66ca5a5b
JM
7757 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7758
363313b5
JM
7759 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7760 10000 as width of padded output.
7761
b37984ad
JM
77622012-12-04 Joseph Myers <joseph@codesourcery.com>
7763
9003570a
JM
7764 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7765
b37984ad
JM
7766 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7767 variable LX with __attribute__ ((unused)).
7768 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7769 Likewise.
7770 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7771 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7772 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7773 with __attribute__ ((unused)).
7774
c8df52ec
DM
77752012-12-04 David S. Miller <davem@abraco.davemloft.net>
7776
7777 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7778
b3b099af
JM
77792012-12-04 Joseph Myers <joseph@codesourcery.com>
7780
c33aa6e3
JM
7781 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7782 (CFLAGS-nldbl-acos.c): New variable.
7783 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7784 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7785 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7786 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7787 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7788 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7789 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7790 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7791 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7792 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7793 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7794 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7795 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7796 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7797 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7798 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7799 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7800 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7801 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7802 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7803 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7804 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7805 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7806 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7807 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7808 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7809 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7810 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7811 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7812 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7813 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7814 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7815 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7816 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7817 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7818 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7819 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7820 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7821 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7822 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7823 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7824 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7825 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7826 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7827 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7828 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7829 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7830 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7831 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7832 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7833 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7834 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7835 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7836 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7837 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7838 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7839 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7840 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7841 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7842 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7843 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7844 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7845 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7846 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
7847 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
7848 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
7849 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7850 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7851 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7852 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7853 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7854 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7855 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7856 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7857 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7858 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7859 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7860 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7861 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7862 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7863 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7864 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7865 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7866 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7867 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7868 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7869 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7870 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7871 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7872 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7873 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7874 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7875 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7876 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7877 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7878 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7879 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7880
20f0018d
JM
7881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7882 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7883
b3b099af
JM
7884 [BZ #14914]
7885 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7886 whole low double instead of just low 47 bits when splitting values
7887 into two parts.
7888
029264d1
AM
78892012-12-03 Allan McRae <allan@archlinux.org>
7890
7891 * manual/stdio.texi (Predefined Printf Handlers): Remove
7892 @hsep and @vsep usage.
7893
c9d6789e
MF
78942012-12-03 Mike Frysinger <vapier@gentoo.org>
7895
7896 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7897 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7898
4b7634a5
JL
78992012-12-03 Jeff Law <law@redhat.com>
7900
7901 * time/sys/time.h (settimeofday): Do not mark TV argument
7902 as __nonnull.
7903
eb6cbd24
MF
79042012-12-01 Mike Frysinger <vapier@gentoo.org>
7905
7906 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7907 when currently writing and seek to current position when not.
7908 * libio/Makefile (tests): Remove bug-fclose1.
7909 * libio/bug-fclose1.c: Delete.
7910
f638872a
JM
79112012-12-01 Joseph Myers <joseph@codesourcery.com>
7912
7913 * manual/arith.texi (feenableexcept): Fix typo.
7914 (fedisableexcept): Likewise.
7915
48085d14
RM
79162012-11-30 Roland McGrath <roland@hack.frob.com>
7917
7918 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7919 second, differently-typed declaration, rather than a cast.
7920
1a538b9f
SP
79212012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7922
7923 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7924 * include/rpc/svc.h: ... here.
7925
d07f2ff1 79262012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
7927
7928 [BZ #13013]
7929 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7930 depending n and resplen2 to catch cases where answer
7931 equals answerp2.
7932
c93ec1f0
CD
79332012-11-29 Carlos O'Donell <carlos@systemhalted.org>
7934
7935 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7936 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7937
37db69de
MF
79382012-11-29 Mike Frysinger <vapier@gentoo.org>
7939
7940 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7941
e10c4e4f
RM
79422012-11-29 Roland McGrath <roland@hack.frob.com>
7943
7944 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7945
2af1b328
JL
79462012-11-28 Jeff Law <law@redhat.com>
7947
7948 [BZ #13761]
7949 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7950 dataset_temporary. Track alloca usage into alloca_used.
7951 If dataset is large allocate and release it via malloc/free.
7952
111db5b1
FW
79532012-06-04 Florian Weimer <fweimer@redhat.com>
7954
f06cc227 7955 [BZ #14197]
111db5b1
FW
7956 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7957
dd694abd
DM
79582012-11-28 David S. Miller <davem@davemloft.net>
7959
7960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7961
9984dd01
JM
79622012-11-28 Joseph Myers <joseph@codesourcery.com>
7963
7964 [BZ #14803]
7965 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7966 of pi/2 rounded to nearest to 64 bits.
7967 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7968 nearest to 64 bits.
7969 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7970 bits.
7971
14bc93a9
JL
79722012-11-28 Jeff Law <law@redhat.com>
7973 Martin Osvald <mosvald@redhat.com>
7974
7975 [BZ #14889]
7976 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7977 * sunrpc/svc.c: Include time.h.
7978 (__svc_accept_failed): New function.
7979 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7980 any reason other than EINTR, call __svc_accept_failed.
7981 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7982 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7983
e3c6aa3a
AS
79842012-11-28 Andreas Schwab <schwab@suse.de>
7985
7986 * scripts/abilist.awk: Also handle indirect functions in .opd
7987 section.
7988
1bead169
JM
79892012-11-28 Joseph Myers <joseph@codesourcery.com>
7990
7991 [BZ #13881]
7992 * sysdeps/x86/fpu/powl_helper.c: New file.
7993 * sysdeps/x86/fpu/Makefile: Likewise.
7994 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7995 (p3): New object.
7996 (__ieee754_powl): Use __powl_helper for finite arguments except
7997 integer exponents below 8.
7998 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7999 (p3): New object.
8000 (__ieee754_powl): Use __powl_helper for finite arguments except
8001 integer exponents below 8.
8002 * math/libm-test.inc (pow_test): Add more tests and enable some
8003 previously disabled tests.
8004 * sysdeps/i386/fpu/libm-test-ulps: Update.
8005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8006
0817d63d
SP
80072012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8008 Carlos O'Donell <carlos_odonell@mentor.com>
8009
8010 * nss/makedb.c (is_prime): Assert that input is odd and greater
8011 than 4. Note that fact in a comment too.
8012 (next_prime): Add 4 to input.
8013
de2fd463
SP
80142012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8015
8016 [BZ #11741]
8017 * libio/Makefile (tests): Add test case tst-fwrite-error.
8018 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8019 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8020 * libio/tst-fwrite-error.c: New test case.
8021
c515fb51
L
80222012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8023
8024 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8025 before casting to void *.
8026 * include/libc-internal.h (__pointer_type): New macro.
8027 (__integer_if_pointer_type_sub): Likewise.
8028 (__integer_if_pointer_type): Likewise.
8029 (cast_to_integer): Likewise.
8030 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8031 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8032 before casting to atomic64_t.
8033 (atomic_exchange_acq): Likewise.
8034 (__arch_exchange_and_add_body): Likewise.
8035 (__arch_add_body): Likewise.
8036 (atomic_add_negative): Likewise.
8037 (atomic_add_zero): Likewise.
8038
4cf77aa9
JM
80392012-11-26 Joseph Myers <joseph@codesourcery.com>
8040
8041 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8042 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8043 (add_fdes): Likewise.
8044 (linear_search_fdes): Likewise.
8045 (binary_search_unencoded_fdes): Likewise.
8046
d260b3b4
AS
80472012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8048
8049 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8050
67060746
AC
80512012-11-24 Adam Conrad <adconrad@0c3.net>
8052
8053 * configure.in: Autodetect C++ header directories.
8054 * configure: Regenerated.
8055
800938a1
MF
80562012-11-23 Mike Frysinger <vapier@gentoo.org>
8057
8058 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8059
4e6e34e6
AS
80602012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8061
8062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8063
7c7feb47
JM
80642012-11-22 Joseph Myers <joseph@codesourcery.com>
8065
7184dcdf
JM
8066 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8067 LDBL_MANT_DIG == 106]: Disable some tests.
8068 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8069 Likewise.
8070 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8071 Likewise.
8072
0a42601f
JM
8073 [BZ #14871]
8074 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8075 input for small inputs. Return +/- pi/2 for large inputs.
8076 * math/libm-test.inc (atan_test): Add more tests.
8077
79c9b9fe
JM
8078 * sysdeps/generic/unwind-dw2-fde-glibc.c
8079 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8080 __attribute__ ((unused)).
8081
c60d3bf2
JM
8082 [BZ #14645]
8083 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8084 x * y if x and y are nonzero and z is zero.
8085
ef1e0867
JM
8086 [BZ #14811]
8087 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8088 nonzero exponents with absolute value below 0x1p-117 to +/-
8089 0x1p-117.
8090
1468ded3
JM
8091 [BZ #14869]
8092 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8093 up arguments below 2**-450, not just those below 2**-500.
8094 * math/libm-test.inc (hypot_test): Add another test.
8095
8e27e3cc
JM
8096 [BZ #14868]
8097 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8098 Return a+b for ratio over 2**120, not 2**60.
8099 * math/libm-test.inc (hypot_test): Add another test.
8100
c9c0279b
JM
8101 * math/libm-test.inc (clog_test): Use
8102 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8103 (clog10_test): Likewise.
8104
7c7feb47
JM
8105 [BZ #6778]
8106 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8107
fff1530e
AS
81082012-11-22 Andreas Schwab <schwab@suse.de>
8109
8110 * sysdeps/i386/fpu/libm-test-ulps: Update.
8111
94558d30
PT
81122012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8113
8114 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8115 printf output with newline.
8116
7e1be741
L
81172012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8118
6bfea974
L
8119 [BZ #14865]
8120 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8121 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8122 -z nodlopen, -z initfirst and -z execstack support.
8123 * configure: Regenerated.
8124
7e1be741
L
8125 * elf/elf.h (DF_1_NODIRECT): New macro.
8126 (DF_1_IGNMULDEF): Likewise.
8127 (DF_1_NOKSYMS): Likewise.
8128 (DF_1_NOHDR): Likewise.
8129 (DF_1_EDITED): Likewise.
8130 (DF_1_NORELOC): Likewise.
8131 (DF_1_SYMINTPOSE): Likewise.
8132 (DF_1_GLOBAUDIT): Likewise.
8133 (DF_1_SINGLETON): Likewise.
8134 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8135 DT_1_SUPPORTED_MASK bits.
8136 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8137
105ce2ce
CD
81382012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8139
8140 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8141
123be9de
TS
81422012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8143
d072f3f7
TS
8144 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8145 macro.
8146
123be9de
TS
8147 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8148 (sendmmsg): Move declarations...
8149 * socket/sys/socket.h: ... here.
8150 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8151 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8152 include it from...
8153 * socket/recvmmsg.c: ... this new file.
8154 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8155 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8156 definition of __sendmmsg hidden.
8157 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8158 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8159 Move ENOSYS stub into and include it from...
8160 * socket/sendmmsg.c: ... this new file.
8161 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8162 (sysdep_routines): Move recvmmsg and sendmmsg...
8163 * socket/Makefile (routines): ... here.
8164 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8165 (GLIBC_PRIVATE): Add __sendmmsg.
8166 * include/sys/socket.h (__sendmmsg): Add declarations.
8167 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8168 sendmmsg.
8169
cf9a5d18
JM
81702012-11-20 Joseph Myers <joseph@codesourcery.com>
8171
8172 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8173 variable I1 with __attribute__ ((unused)).
8174 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8175
ecd4caf9
JM
81762012-11-19 Joseph Myers <joseph@codesourcery.com>
8177
be14d48f
JM
8178 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8179 DUMMY variables with __attribute__ ((unused)).
8180
ecd4caf9
JM
8181 * bits/byteswap.h: Include <bits/types.h>.
8182 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8183
986cab95
PT
81842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8185
8186 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8187 string_t. Do not manually set errno.
8188 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8189 length with __strnlen. Make sure to both set errno and return it on
8190 failure.
8191
6d33cc9d
DM
81922012-11-19 David S. Miller <davem@davemloft.net>
8193
8194 With help from Joseph Myers.
8195 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8196 very large arguments properly.
8197 * math/libm-test.inc (atan_test): New tests.
8198 (atan2_test): New tests.
8199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8201
ee663277
JM
82022012-11-19 Joseph Myers <joseph@codesourcery.com>
8203
877f2d8e
JM
8204 [BZ #14856]
8205 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8206 Define to 3.
8207
116fc08a
JM
8208 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8209 [POSIX] (EADDRNOTAVAIL): Likewise.
8210 [POSIX] (EAFNOSUPPORT): Likewise.
8211 [POSIX] (EALREADY): Likewise.
8212 [POSIX] (ECONNABORTED): Likewise.
8213 [POSIX] (ECONNREFUSED): Likewise.
8214 [POSIX] (ECONNRESET): Likewise.
8215 [POSIX] (EDESTADDRREQ): Likewise.
8216 [POSIX] (EDQUOT): Likewise.
8217 [POSIX] (EHOSTUNREACH): Likewise.
8218 [POSIX] (EIDRM): Likewise.
8219 [POSIX] (EISCONN): Likewise.
8220 [POSIX] (ELOOP): Likewise.
8221 [POSIX] (EMULTIHOP): Likewise.
8222 [POSIX] (ENETDOWN): Likewise.
8223 [POSIX] (ENETUNREACH): Likewise.
8224 [POSIX] (ENOBUFS): Likewise.
8225 [POSIX] (ENODATA): Likewise.
8226 [POSIX] (ENOLINK): Likewise.
8227 [POSIX] (ENOMSG): Likewise.
8228 [POSIX] (ENOPROTOOPT): Likewise.
8229 [POSIX] (ENOSR): Likewise.
8230 [POSIX] (ENOSTR): Likewise.
8231 [POSIX] (ENOTCONN): Likewise.
8232 [POSIX] (ENOTSOCK): Likewise.
8233 [POSIX] (EOPNOTSUPP): Likewise.
8234 [POSIX] (EOVERFLOW): Likewise.
8235 [POSIX] (EPROTO): Likewise.
8236 [POSIX] (EPROTONOSUPPORT): Likewise.
8237 [POSIX] (EPROTOTYPE): Likewise.
8238 [POSIX] (ESTALE): Likewise.
8239 [POSIX] (ETIME): Likewise.
8240 [POSIX] (ETXTBSY): Likewise.
8241 [POSIX] (EWOULDBLOCK): Likewise.
8242 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8243 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8244 [POSIX] (SEEK_CUR): Likewise.
8245 [POSIX] (SEEK_END): Likewise.
8246 [POSIX || UNIX98] (mode_t): Do not require.
8247 [POSIX] (off_t): Likewise.
8248 [POSIX] (pid_t): Likewise.
8249 [POSIX] (sys/stat.h): Do not allow header.
8250 [POSIX] (unistd.h): Likewise.
8251 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8252 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8253 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8254 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8255 require.
8256 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8257 sigevent): Specify elements.
8258 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8259 entry.
8260 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8261 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8262
a483863f
JM
8263 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8264 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8265 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8266 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8267 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8268 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8269 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8270 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8271 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8272 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8273 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8274 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8275 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8276 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8277 Likewise.
8278 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8279 Likewise.
8280 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8281 Likewise.
8282 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8283 Likewise.
8284 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8285 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8286 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8287 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8288 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8289 Specify lower bound on value.
8290 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8291 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8292 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8293 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8294 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8295 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8296 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8297 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8298 value.
8299 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8300 as optional.
8301 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8302 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8303 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8304 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8305 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8306 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8307 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8308 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8309 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8310 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8311 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8312 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8313 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8314 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8315 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8316 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8317 entry.
8318 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8319 optional.
8320 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8321 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8322 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8323 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8324 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8325 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8326 Likewise.
8327 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8328 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8329 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8330 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8331 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8332 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8333 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8334 as optional.
8335 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8336 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8337 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8338 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8339 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8340 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8341 specify as optional.
8342 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8343 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8344 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8345 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8346 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8347 [XPG3] (NL_LANGMAX): Likewise.
8348 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8349 [POSIX || XPG3] (NL_NMAX): Likewise.
8350 [POSIX || XPG3] (NL_SETMAX): Likewise.
8351 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8352 [XPG3] (NZERO): Likewise.
8353 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8354 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8355 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8356 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8357 (REG_ERANGE): Expect.
8358 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8359 optional-constant.
8360 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8361 Use (void) in prototype.
8362 [POSIX] (*_t): Allow.
8363 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8364 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8365 (WRDE_BADVAL): Expect.
8366
5ba924e3
JM
8367 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8368 expect.
8369 [XPG3 || XPG4] (O_RSYNC): Likewise.
8370 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8371 Likewise.
8372 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8373 [XPG3 || XPG4] (sigqueue): Likewise.
8374 [XPG3 || XPG4] (sigtimedwait): Likewise.
8375 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8376 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8377 [XPG3 || XPG4] (vsnprintf): Likewise.
8378 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8379 Likewise.
8380 [XPG3 || XPG4] (blksize_t): Likewise.
8381 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8382 Likewise.
8383 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8384 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8385 [XPG3 || XPG4] (struct itimerspec): Likewise.
8386 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8387 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8388 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8389 [XPG3 || XPG4] (clockid_t): Likewise.
8390 [XPG3 || XPG4] (timer_t): Likewise.
8391 [XPG3 || XPG4] (clock_getres): Likewise.
8392 [XPG3 || XPG4] (clock_gettime): Likewise.
8393 [XPG3 || XPG4] (clock_settime): Likewise.
8394 [XPG3 || XPG4] (nanosleep): Likewise.
8395 [XPG3 || XPG4] (timer_create): Likewise.
8396 [XPG3 || XPG4] (timer_delete): Likewise.
8397 [XPG3 || XPG4] (timer_gettime): Likewise.
8398 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8399 [XPG3 || XPG4] (timer_settime): Likewise.
8400 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8401 [XPG3 || XPG4] (getlogin_r): Likewise.
8402 [XPG3 || XPG4] (pread): Likewise.
8403 [XPG3 || XPG4] (pthread_atfork): Likewise.
8404 [XPG3 || XPG4] (pwrite): Likewise.
8405
ee663277
JM
8406 [BZ #14835]
8407 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8408 <bits/siginfo.h>.
8409
942caa16
PT
84102012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8411
e19af380
PT
8412 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8413 finalizing MALLSTREAM.
8414
942caa16
PT
8415 * sysdeps/mach/hurd/syncfs.c: New file.
8416
cfde9b46
SP
84172012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8418
8419 [BZ #14719]
8420 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8421 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8422 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8423 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8424 (_nss_dns_gethostbyname4_r): Likewise.
8425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8426 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8427
f6da27e5
PH
84282012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8429
8430 [BZ #13763]
8431 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8432
6665d4a2
SM
84332012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8434
1f51ee92
SM
8435 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8436 * elf/cache.c (print_entry): Print ",AArch64" for
8437 FLAG_AARCH64_LIB64
8438
6665d4a2
SM
8439 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8440 * elf/cache.c (print_entry): Print ",hard-float" for
8441 FLAG_ARM_LIBHF.
8442
05b227bd
DM
84432012-11-18 David S. Miller <davem@davemloft.net>
8444
8445 With help from Joseph Myers.
8446 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8447 cutoff to 2**-13.
8448 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8449 cutoff to 2**-25.
8450 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8451 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8452 small.
8453 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8454 * math/libm-test.inc (y0_test): New tests.
8455 (y1_test): New tests.
8456 * sysdeps/i386/fpu/libm-test-ulps: Update.
8457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8459
786b0b67
AS
84602012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8461
8462 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8463 64-bit targets.
8464 * configure: Regenerated.
8465
8e18b86d
DM
84662012-11-17 David S. Miller <davem@davemloft.net>
8467
8468 [BZ #14811]
8469 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8470 nonzero exponents with absolute value below 0x1p-128 to +/-
8471 0x1p-128.
8472
531f1ae0
JM
84732012-11-17 Joseph Myers <joseph@codesourcery.com>
8474
12df29e2
JM
8475 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8476
150dc1a0
JM
8477 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8478
531f1ae0
JM
8479 * posix/getconf-speclist.c: New file.
8480 * posix/posix-envs.def: Likewise.
8481 * posix/confstr.c (START_ENV_GROUP): New macro.
8482 (END_ENV_GROUP): Likewise.
8483 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8484 (KNOWN_PRESENT_ENV_STRING): Likewise.
8485 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8486 (UNKNOWN_ENVIRONMENT): Likewise.
8487 (confstr): Include posix-envs.def instead of handling
8488 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8489 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8490 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8491 (END_ENV_GROUP): Likewise.
8492 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8493 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8494 (UNKNOWN_ENVIRONMENT): Likewise.
8495 (__sysconf): Include posix-envs.def instead of handling associated
8496 cases directly here.
8497 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8498 preprocessing getconf-speclist.c rather than running getconf or
8499 generating empty file.
8500
a93f9cbc
PT
85012012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8502
8503 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8504
d64d9f87
AL
85052012-11-16 Andrej Lajovic <natrij@gmail.com>
8506
8507 [BZ #14672]
8508 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8509
447885eb
DM
85102012-11-16 David S. Miller <davem@davemloft.net>
8511
8512 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8513 smaller than LDBL_EPSILON/2.0L, just return xm1.
8514
bcbf9830
L
85152012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8516
8517 * elf/tst-array1.c (init): Set constructor priority to 1000.
8518 (fini): Set destructor priority to 1000.
8519 * elf/tst-array2dep.c: Likewise.
8520
2b766585
SP
85212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8522
8523 [BZ #11741]
8524 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8525 (_IO_new_file_xsputn): Also return EOF if none of the input
8526 data was written when overflow failed.
8527 * libio/iopadn.c (_IO_padn): Likewise.
8528 * libio/iowpadn.c (_IO_wpadn): Likewise.
8529 * stdio-common/tst-put-error.c: Add copyright notice.
8530 (do_test): Add case for printing padded string.
8531 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8532 _IO_padn returned error.
8533 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8534 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8535 return EOF.
8536
b1848fde
SP
85372012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8538
8539 * libio/libioP.h: Add comment note that the references to C++
8540 bits are now obsolete.
8541
2fd89785
MS
85422012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8543
8544 * math/libm-test.inc (check_complex): Use asprintf.
8545
e3ea5409
JM
85462012-11-14 Joseph Myers <joseph@codesourcery.com>
8547
8548 * debug/pcprofiledump.c (print_version): Update copyright year.
8549 * malloc/memusagestat.c (print_version): Likewise.
8550
2e64d265
L
85512012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8552
8553 [BZ #14831]
8554 * elf/Makefile (tests): Add tst-audit8.
8555 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8556 ($(objpfx)tst-audit8.out): New target.
8557 (tst-audit8-ENV): New variable.
8558 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8559 audit if l_reloc_result is NULL.
8560 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8561 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8562 * elf/tst-audit8.c: New file.
8563
c485e4d2
MS
85642012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8565
8566 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8567 * misc/Makefile (CFLAGS-select.c): Define.
8568 * posix/Makefile (CFLAGS-pause.c): Define.
8569
3a0d900a
DM
85702012-11-13 David S. Miller <davem@davemloft.net>
8571
8572 * crypt/Makefile: Move test targets after toplevel Rules
8573 inclusion. Grab any necessary sysdep routines when linking.
8574 * crypt/md5.c (md5_process_block): Remove define, we will always
8575 name it __md5_process_block.
8576 (md5_finish_ctx): Update md5_process_block call.
8577 (md5_stream): Likewise.
8578 (md5_process_bytes): Likewise.
8579 (md5_process_block): Rename to __md5_process_block and move to ...
8580 * crypt/md5-block.c: ... here.
8581 * crypt/sha256.c (sha256_process_block): Move to ...
8582 * crypt/sha256-block.c: ... here.
8583 * crypt/sha512.c (sha512_process_block): Move to ...
8584 * crypt/sha512-block.c: ... here.
8585 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8586 path.
8587 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8588 * sysdeps/sparc/sparc64/multiarch/Makefile
8589 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8590 crypt subdir.
8591 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8592 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8593 multiarch changes.
8594 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8595 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8596 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8597 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8598 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8599 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8600 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8601 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8602 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8603 file.
8604 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8605 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8606 file.
8607 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8608
8ca89318
JM
86092012-11-13 Joseph Myers <joseph@codesourcery.com>
8610
e27d476a
JM
8611 * timezone/tzselect.ksh: Update from tzcode git revision
8612 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8613 * timezone/zdump.c: Likewise.
8614 * timezone/zic.c: Likewise.
8615 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8616 in TZVERSION setting, not $(PKGVERSION).
8617 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8618 REPORT_BUGS_TO settings.
8619
8ca89318
JM
8620 [BZ #14838]
8621 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8622 macro.
8623
47594329
MS
86242012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8625
8626 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8627 detection to immediately after _FP_ROUND().
8628 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8629 bits are 0.
8630
640ac3f1
DM
86312012-11-11 David S. Miller <davem@davemloft.net>
8632
8633 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8634 inttypes.h
8635 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8636 __close rather than their public counterparts.
8637
3d2577bb
JM
86382012-11-10 Joseph Myers <joseph@codesourcery.com>
8639
8640 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8641 file.
8642 [UNIX98] (sem_timedwait): Do not expect.
8643 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8644 [XPG4 || UNIX98] (sockatmark): Do not expect.
8645 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8646 (clock_getcpuclockid): Do not expect.
8647 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8648 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8649 Do not expect.
8650 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8651 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8652 [UNIX98] (vwscanf): Likewise.
8653 [UNIX98] (vswscanf): Likewise.
8654
fb1ae1ee
JM
86552012-11-09 Joseph Myers <joseph@codesourcery.com>
8656
9ec6f8bd
JM
8657 * timezone/version.h: Remove file.
8658 * timezone/README: Do not refer to version.h.
8659 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8660 $(objpfx)version.h.
8661 ($(objpfx)zdump.o): Likewise.
c3f81911 8662 ($(objpfx)version.h): New target.
9ec6f8bd 8663
0aa8f8a1
JM
8664 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8665 2012i.
8666 * timezone/README: Don't mention modification to tzselect.ksh.
8667 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8668 work on unmodified tzselect.ksh. Substitute version numbers in
8669 tzselect.ksh.
8670
4e87147f
JM
8671 * Makefile (format-me): Remove.
8672 (INSTALL): Adjust indentation. Use commands directly instead of
8673 using $(format-me).
8674
8b748aed
JM
8675 * aclocal.m4 (ACX_PKGVERSION): New macro.
8676 (ACX_BUGURL): Likewise.
8677 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8678 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8679 (REPORT_BUGS_TO): Likewise.
8680 * configure: Regenerated.
8681 * config.h.in (PKGVERSION): New macro.
8682 (REPORT_BUGS_TO): Likewise.
8683 * config.make.in (PKGVERSION): New variable.
8684 (PKGVERSION_TEXI): Likewise.
8685 (REPORT_BUGS_TO): Likewise.
8686 (REPORT_BUGS_TEXI): Likewise.
8687 * Makefile (format-me): Use -I$(common-objpfx)manual.
8688 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8689 ($(common-objpfx)manual/%): New target.
8690 (manual/%): Remove target.
8691 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8692 (print_version): Use PKGVERSION.
8693 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8694 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8695 and REPORT_BUGS_TO.
8696 ($(objpfx)xtrace): Likewise.
8697 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8698 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8699 (print_version): Use PKGVERSION.
8700 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8701 (do_version): Use PKGVERSION.
8702 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8703 REPORT_BUGS_TO.
8704 (common-ldd-rewrite): Likewise.
8705 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8706 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8707 (print_version): Use PKGVERSION.
8708 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8709 * elf/pldd.c (argp_program_bug_address): Remove variable.
8710 (more_help): New function.
8711 (argp): Use more_help.
8712 (print_version): Use PKGVERSION.
8713 * elf/sln.c (main): Use PKGVERSION.
8714 (usage): Use REPORT_BUGS_TO.
8715 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8716 (top level): Use PKGVERSION.
8717 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8718 (print_version): Use PKGVERSION.
8719 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8720 (print_version): Use PKGVERSION.
8721 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8722 (print_version): Use PKGVERSION.
8723 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8724 (print_version): Use PKGVERSION.
8725 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8726 (print_version): Use PKGVERSION.
8727 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8728 (print_version): Use PKGVERSION.
8729 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8730 and BUGURL.
8731 ($(objpfx)memusage): Likewise.
8732 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8733 (do_version): Use PKGVERSION.
8734 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8735 (print_version): Use PKGVERSION.
8736 * malloc/mtrace.pl ($PACKAGE): Remove variable.
8737 ($PKGVERSION): New variable.
8738 ($REPORT_BUGS_TO): Likewise.
8739 (usage): Use $REPORT_BUGS_TO.
8740 (top level): Use $PKGVERSION.
8741 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8742 ($(objpfx)pkgvers.texi): New rule.
8743 ($(objpfx)stamp-pkgvers): Likewise.
8744 * manual/install.texi: Include pkgvers.texi.
8745 (--with-pkgversion): Document new configure option.
8746 (--with-bugurl): Likewise.
8747 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8748 than necessarily for this particular distribution. Use
8749 REPORT_BUGS_TO for where to report bugs.
8750 * INSTALL: Regenerated.
8751 * manual/libc.texinfo: Include pkgvers.texi.
8752 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8753 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8754 (print_version): Use PKGVERSION.
8755 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8756 (print_version): Use PKGVERSION.
8757 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8758 (print_version): Use PKGVERSION.
8759 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8760 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8761 macro.
8762 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8763 (print_version): Use PKGVERSION.
8764 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8765 (print_version): Use PKGVERSION.
8766 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8767 and PKGVERSION.
8768
92e4b6a9
JM
8769 * timezone/checktab.awk: Update from tzcode 2012i.
8770 * timezone/ialloc.c: Likewise.
8771 * timezone/private.h: Likewise.
8772 * timezone/scheck.c: Likewise.
8773 * timezone/tzfile.h: Likewise.
8774 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8775 (TZVERSION): Hardcode tzcode version number.
8776 * timezone/zdump.c: Update from tzcode 2012i.
8777 * timezone/zic.c: Likewise.
8778 * timezone/version.h: New file.
8779 * timezone/README: Describe version.h. Update upstream location.
8780
9bde902c
JM
8781 [BZ #14824]
8782 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8783 (mktemp): Enable declaration.
8784 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8785 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8786 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8787 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8788 Likewise.
8789 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8790 Likewise.
8791 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8792 Likewise.
8793 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8794 Likewise.
8795 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8796 Likewise.
8797 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8798 Likewise.
8799
fb1ae1ee
JM
8800 [BZ #14821]
8801 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8802 offset in buffer as u_int32_t not u_long. Consistently use memcpy
8803 for copies of such integer values.
8804 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8805 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8806
2c1adbcb
AJ
88072012-11-09 Andreas Jaeger <aj@suse.de>
8808
8809 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8810 definitions and declarations that are provided by
8811 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8812
d0f8457e
AK
88132012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8814
3a235abb 8815 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
8816 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8817 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8818 definition.
8819
57241e26
MS
88202012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8821
8822 * elf/elf.h: Update comment before AArch64 relocations.
8823
60e8270d
DM
88242012-11-07 David S. Miller <davem@davemloft.net>
8825
8826 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8827 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8828 (__start_context): Declare.
8829 (__makecontext_ret): Delete.
8830 (__makecontext): Hook up __start_context instead of
8831 __makecontext_ret.
8832 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8833 (sysdep_routines): Add __start_context when in stdlib.
8834
0fbb0fbc
JM
88352012-11-07 Joseph Myers <joseph@codesourcery.com>
8836
8837 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8838 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8839 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
8840 hardcoded "nm".
8841 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8842 (READELF): New variable. Use it instead of hardcoded "readelf".
8843
eb48db7e
L
88442012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8845
8846 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
8847 * sysdeps/x86/Makefile: Here.
8848 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
8849 * sysdeps/x86/tst-xmmymm.sh: This.
8850
05bcf62a
JM
88512012-11-07 Joseph Myers <joseph@codesourcery.com>
8852
c4b6cf53
JM
8853 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8854 expectations.
8855 [UNIX98] (pthread_barrier_t): Do not expect.
8856 [UNIX98] (pthread_barrierattr_t): Likewise.
8857 [UNIX98] (pthread_spinlock_t): Likewise.
8858 [UNIX98] (pthread_barrier_destroy): Likewise.
8859 [UNIX98] (pthread_barrier_init): Likewise.
8860 [UNIX98] (pthread_barrier_wait): Likewise.
8861 [UNIX98] (pthread_barrierattr_destroy): Likewise.
8862 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8863 [UNIX98] (pthread_barrierattr_init): Likewise.
8864 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8865 [UNIX98] (pthread_getcpuclockid): Likewise.
8866 [UNIX98] (pthread_mutex_timedlock): Likewise.
8867 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8868 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8869 [UNIX98] (pthread_sigmask): Likewise.
8870 [UNIX98] (pthread_spin_destroy): Likewise.
8871 [UNIX98] (pthread_spin_init): Likewise.
8872 [UNIX98] (pthread_spin_lock): Likewise.
8873 [UNIX98] (pthread_spin_trylock): Likewise.
8874 [UNIX98] (pthread_spin_unlock): Likewise.
8875 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8876 Do not expect.
8877 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8878 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8879 [XPG3 || XPG4] (pthread_cond_t): Likewise.
8880 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8881 [XPG3 || XPG4] (pthread_key_t): Likewise.
8882 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8883 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8884 [XPG3 || XPG4] (pthread_once_t): Likewise.
8885 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8886 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8887 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8888 [XPG3 || XPG4] (pthread_t): Likewise.
8889
cbe6e120
JM
8890 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8891 not expect.
8892 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8893
1b126443
JM
8894 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8895 Change function return type to int.
8896
b961a573
JM
8897 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8898 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8899 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8900 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8901 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8902 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8903 [!POSIX] (posix_madvise): Likewise.
8904 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8905 && !UNIX98].
8906 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8907 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8908 (mode_t): Likewise.
8909 (posix_mem_offset): Likewise.
8910 (posix_typed_mem_get_info): Likewise.
8911 (posix_typed_mem_open): Likewise.
8912
9e188909
JM
8913 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8914 Change condition to [XOPEN2K8].
8915
05bcf62a
JM
8916 * conform/conformtest.pl: Preprocess allow-header data with -x c
8917 instead of from stdin.
8918 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8919 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8920 [C99-based standards] (cerfc): Likewise.
8921 [C99-based standards] (cexp2): Likewise.
8922 [C99-based standards] (cexpm1): Likewise.
8923 [C99-based standards] (clog10): Likewise.
8924 [C99-based standards] (clog1p): Likewise.
8925 [C99-based standards] (clog2): Likewise.
8926 [C99-based standards] (clgamma): Likewise.
8927 [C99-based standards] (ctgamma): Likewise.
8928 [C99-based standards] (cerff): Likewise.
8929 [C99-based standards] (cerfcf): Likewise.
8930 [C99-based standards] (cexp2f): Likewise.
8931 [C99-based standards] (cexpm1f): Likewise.
8932 [C99-based standards] (clog10f): Likewise.
8933 [C99-based standards] (clog1pf): Likewise.
8934 [C99-based standards] (clog2f): Likewise.
8935 [C99-based standards] (clgammaf): Likewise.
8936 [C99-based standards] (ctgammaf): Likewise.
8937 [C99-based standards] (cerfl): Likewise.
8938 [C99-based standards] (cerfcl): Likewise.
8939 [C99-based standards] (cexp2l): Likewise.
8940 [C99-based standards] (cexpm1l): Likewise.
8941 [C99-based standards] (clog10l): Likewise.
8942 [C99-based standards] (clog1pl): Likewise.
8943 [C99-based standards] (clog2l): Likewise.
8944 [C99-based standards] (clgammal): Likewise.
8945 [C99-based standards] (ctgammal): Likewise.
8946 * conform/data/inttypes.h-data [C99-based standards]: Include
8947 stdint.h-data. Remove all expectations for stdint.h contents.
8948 [C99-based standards] (PRI*): Do not allow.
8949 [C99-based standards] (SCN*): Likewise.
8950 [C99-based standards] (*_t): Likewise.
8951 [C99-based-standards] (PRId8): Expect macro.
8952 [C99-based-standards] (PRIi8): Likewise.
8953 [C99-based-standards] (PRIo8): Likewise.
8954 [C99-based-standards] (PRIu8): Likewise.
8955 [C99-based-standards] (PRIx8): Likewise.
8956 [C99-based-standards] (PRIX8): Likewise.
8957 [C99-based-standards] (SCNd8): Likewise.
8958 [C99-based-standards] (SCNi8): Likewise.
8959 [C99-based-standards] (SCNo8): Likewise.
8960 [C99-based-standards] (SCNu8): Likewise.
8961 [C99-based-standards] (SCNx8): Likewise.
8962 [C99-based-standards] (PRIdLEAST8): Likewise.
8963 [C99-based-standards] (PRIiLEAST8): Likewise.
8964 [C99-based-standards] (PRIoLEAST8): Likewise.
8965 [C99-based-standards] (PRIuLEAST8): Likewise.
8966 [C99-based-standards] (PRIxLEAST8): Likewise.
8967 [C99-based-standards] (PRIXLEAST8): Likewise.
8968 [C99-based-standards] (SCNdLEAST8): Likewise.
8969 [C99-based-standards] (SCNiLEAST8): Likewise.
8970 [C99-based-standards] (SCNoLEAST8): Likewise.
8971 [C99-based-standards] (SCNuLEAST8): Likewise.
8972 [C99-based-standards] (SCNxLEAST8): Likewise.
8973 [C99-based-standards] (PRIdFAST8): Likewise.
8974 [C99-based-standards] (PRIiFAST8): Likewise.
8975 [C99-based-standards] (PRIoFAST8): Likewise.
8976 [C99-based-standards] (PRIuFAST8): Likewise.
8977 [C99-based-standards] (PRIxFAST8): Likewise.
8978 [C99-based-standards] (PRIXFAST8): Likewise.
8979 [C99-based-standards] (SCNdFAST8): Likewise.
8980 [C99-based-standards] (SCNiFAST8): Likewise.
8981 [C99-based-standards] (SCNoFAST8): Likewise.
8982 [C99-based-standards] (SCNuFAST8): Likewise.
8983 [C99-based-standards] (SCNxFAST8): Likewise.
8984 [C99-based-standards] (PRId16): Likewise.
8985 [C99-based-standards] (PRIi16): Likewise.
8986 [C99-based-standards] (PRIo16): Likewise.
8987 [C99-based-standards] (PRIu16): Likewise.
8988 [C99-based-standards] (PRIx16): Likewise.
8989 [C99-based-standards] (PRIX16): Likewise.
8990 [C99-based-standards] (SCNd16): Likewise.
8991 [C99-based-standards] (SCNi16): Likewise.
8992 [C99-based-standards] (SCNo16): Likewise.
8993 [C99-based-standards] (SCNu16): Likewise.
8994 [C99-based-standards] (SCNx16): Likewise.
8995 [C99-based-standards] (PRIdLEAST16): Likewise.
8996 [C99-based-standards] (PRIiLEAST16): Likewise.
8997 [C99-based-standards] (PRIoLEAST16): Likewise.
8998 [C99-based-standards] (PRIuLEAST16): Likewise.
8999 [C99-based-standards] (PRIxLEAST16): Likewise.
9000 [C99-based-standards] (PRIXLEAST16): Likewise.
9001 [C99-based-standards] (SCNdLEAST16): Likewise.
9002 [C99-based-standards] (SCNiLEAST16): Likewise.
9003 [C99-based-standards] (SCNoLEAST16): Likewise.
9004 [C99-based-standards] (SCNuLEAST16): Likewise.
9005 [C99-based-standards] (SCNxLEAST16): Likewise.
9006 [C99-based-standards] (PRIdFAST16): Likewise.
9007 [C99-based-standards] (PRIiFAST16): Likewise.
9008 [C99-based-standards] (PRIoFAST16): Likewise.
9009 [C99-based-standards] (PRIuFAST16): Likewise.
9010 [C99-based-standards] (PRIxFAST16): Likewise.
9011 [C99-based-standards] (PRIXFAST16): Likewise.
9012 [C99-based-standards] (SCNdFAST16): Likewise.
9013 [C99-based-standards] (SCNiFAST16): Likewise.
9014 [C99-based-standards] (SCNoFAST16): Likewise.
9015 [C99-based-standards] (SCNuFAST16): Likewise.
9016 [C99-based-standards] (SCNxFAST16): Likewise.
9017 [C99-based-standards] (PRId32): Likewise.
9018 [C99-based-standards] (PRIi32): Likewise.
9019 [C99-based-standards] (PRIo32): Likewise.
9020 [C99-based-standards] (PRIu32): Likewise.
9021 [C99-based-standards] (PRIx32): Likewise.
9022 [C99-based-standards] (PRIX32): Likewise.
9023 [C99-based-standards] (SCNd32): Likewise.
9024 [C99-based-standards] (SCNi32): Likewise.
9025 [C99-based-standards] (SCNo32): Likewise.
9026 [C99-based-standards] (SCNu32): Likewise.
9027 [C99-based-standards] (SCNx32): Likewise.
9028 [C99-based-standards] (PRIdLEAST32): Likewise.
9029 [C99-based-standards] (PRIiLEAST32): Likewise.
9030 [C99-based-standards] (PRIoLEAST32): Likewise.
9031 [C99-based-standards] (PRIuLEAST32): Likewise.
9032 [C99-based-standards] (PRIxLEAST32): Likewise.
9033 [C99-based-standards] (PRIXLEAST32): Likewise.
9034 [C99-based-standards] (SCNdLEAST32): Likewise.
9035 [C99-based-standards] (SCNiLEAST32): Likewise.
9036 [C99-based-standards] (SCNoLEAST32): Likewise.
9037 [C99-based-standards] (SCNuLEAST32): Likewise.
9038 [C99-based-standards] (SCNxLEAST32): Likewise.
9039 [C99-based-standards] (PRIdFAST32): Likewise.
9040 [C99-based-standards] (PRIiFAST32): Likewise.
9041 [C99-based-standards] (PRIoFAST32): Likewise.
9042 [C99-based-standards] (PRIuFAST32): Likewise.
9043 [C99-based-standards] (PRIxFAST32): Likewise.
9044 [C99-based-standards] (PRIXFAST32): Likewise.
9045 [C99-based-standards] (SCNdFAST32): Likewise.
9046 [C99-based-standards] (SCNiFAST32): Likewise.
9047 [C99-based-standards] (SCNoFAST32): Likewise.
9048 [C99-based-standards] (SCNuFAST32): Likewise.
9049 [C99-based-standards] (SCNxFAST32): Likewise.
9050 [C99-based-standards] (PRId64): Likewise.
9051 [C99-based-standards] (PRIi64): Likewise.
9052 [C99-based-standards] (PRIo64): Likewise.
9053 [C99-based-standards] (PRIu64): Likewise.
9054 [C99-based-standards] (PRIx64): Likewise.
9055 [C99-based-standards] (PRIX64): Likewise.
9056 [C99-based-standards] (SCNd64): Likewise.
9057 [C99-based-standards] (SCNi64): Likewise.
9058 [C99-based-standards] (SCNo64): Likewise.
9059 [C99-based-standards] (SCNu64): Likewise.
9060 [C99-based-standards] (SCNx64): Likewise.
9061 [C99-based-standards] (PRIdLEAST64): Likewise.
9062 [C99-based-standards] (PRIiLEAST64): Likewise.
9063 [C99-based-standards] (PRIoLEAST64): Likewise.
9064 [C99-based-standards] (PRIuLEAST64): Likewise.
9065 [C99-based-standards] (PRIxLEAST64): Likewise.
9066 [C99-based-standards] (PRIXLEAST64): Likewise.
9067 [C99-based-standards] (SCNdLEAST64): Likewise.
9068 [C99-based-standards] (SCNiLEAST64): Likewise.
9069 [C99-based-standards] (SCNoLEAST64): Likewise.
9070 [C99-based-standards] (SCNuLEAST64): Likewise.
9071 [C99-based-standards] (SCNxLEAST64): Likewise.
9072 [C99-based-standards] (PRIdFAST64): Likewise.
9073 [C99-based-standards] (PRIiFAST64): Likewise.
9074 [C99-based-standards] (PRIoFAST64): Likewise.
9075 [C99-based-standards] (PRIuFAST64): Likewise.
9076 [C99-based-standards] (PRIxFAST64): Likewise.
9077 [C99-based-standards] (PRIXFAST64): Likewise.
9078 [C99-based-standards] (SCNdFAST64): Likewise.
9079 [C99-based-standards] (SCNiFAST64): Likewise.
9080 [C99-based-standards] (SCNoFAST64): Likewise.
9081 [C99-based-standards] (SCNuFAST64): Likewise.
9082 [C99-based-standards] (SCNxFAST64): Likewise.
9083 [C99-based-standards] (PRIdMAX): Likewise.
9084 [C99-based-standards] (PRIiMAX): Likewise.
9085 [C99-based-standards] (PRIoMAX): Likewise.
9086 [C99-based-standards] (PRIuMAX): Likewise.
9087 [C99-based-standards] (PRIxMAX): Likewise.
9088 [C99-based-standards] (PRIXMAX): Likewise.
9089 [C99-based-standards] (SCNdMAX): Likewise.
9090 [C99-based-standards] (SCNiMAX): Likewise.
9091 [C99-based-standards] (SCNoMAX): Likewise.
9092 [C99-based-standards] (SCNuMAX): Likewise.
9093 [C99-based-standards] (SCNxMAX): Likewise.
9094 [C99-based-standards] (PRIdPTR): Likewise.
9095 [C99-based-standards] (PRIiPTR): Likewise.
9096 [C99-based-standards] (PRIoPTR): Likewise.
9097 [C99-based-standards] (PRIuPTR): Likewise.
9098 [C99-based-standards] (PRIxPTR): Likewise.
9099 [C99-based-standards] (PRIXPTR): Likewise.
9100 [C99-based-standards] (SCNdPTR): Likewise.
9101 [C99-based-standards] (SCNiPTR): Likewise.
9102 [C99-based-standards] (SCNoPTR): Likewise.
9103 [C99-based-standards] (SCNuPTR): Likewise.
9104 [C99-based-standards] (SCNxPTR): Likewise.
9105 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9106 allow.
9107 * conform/data/stdint.h-data: Update comments to clarify
9108 requirements.
9109 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9110 type.
9111 [C99-based standards] (INT8_MAX): Likewise.
9112 [C99-based standards] (INT16_MIN): Likewise.
9113 [C99-based standards] (INT16_MAX): Likewise.
9114 [C99-based standards] (INT32_MIN): Likewise.
9115 [C99-based standards] (INT32_MAX): Likewise.
9116 [C99-based standards] (INT64_MIN): Likewise.
9117 [C99-based standards] (INT64_MAX): Likewise.
9118 [C99-based standards] (UINT8_MAX): Likewise.
9119 [C99-based standards] (UINT16_MAX): Likewise.
9120 [C99-based standards] (UINT32_MAX): Likewise.
9121 [C99-based standards] (UINT64_MAX): Likewise.
9122 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9123 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9124 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9125 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9126 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9127 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9128 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9129 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9130 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9131 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9132 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9133 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9134 [C99-based standards] (INT_FAST8_MIN): Likewise.
9135 [C99-based standards] (INT_FAST8_MAX): Likewise.
9136 [C99-based standards] (INT_FAST16_MIN): Likewise.
9137 [C99-based standards] (INT_FAST16_MAX): Likewise.
9138 [C99-based standards] (INT_FAST32_MIN): Likewise.
9139 [C99-based standards] (INT_FAST32_MAX): Likewise.
9140 [C99-based standards] (INT_FAST64_MIN): Likewise.
9141 [C99-based standards] (INT_FAST64_MAX): Likewise.
9142 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9143 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9144 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9145 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9146 [C99-based standards] (INTPTR_MIN): Likewise.
9147 [C99-based standards] (INTPTR_MAX): Likewise.
9148 [C99-based standards] (UINTPTR_MAX): Likewise.
9149 [C99-based standards] (INTMAX_MIN): Likewise.
9150 [C99-based standards] (INTMAX_MAX): Likewise.
9151 [C99-based standards] (UINTMAX_MAX): Likewise.
9152 [C99-based standards] (PTRDIFF_MIN): Likewise.
9153 [C99-based standards] (PTRDIFF_MAX): Likewise.
9154 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9155 [C99-based standards] (SIZE_MAX): Likewise.
9156 [C99-based standards] (WCHAR_MAX): Likewise.
9157 [C99-based standards] (WINT_MAX): Likewise.
9158 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9159 constraint on value.
9160 [C99-based standards] (WCHAR_MIN): Likewise.
9161 [C99-based standards] (WINT_MIN): Likewise.
9162 [C99-based standards] (*_t): Allow.
9163 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9164 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9165 Include math.h-data and complex.h-data. Remove all expectations
9166 of math.h and complex.h contents.
9167 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9168 at end of line.
9169 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9170 (struct tm): Expect tag.
9171 [C99-based-standards] (wcstof): Expect function.
9172 [C99-based-standards] (wcstold): Likewise.
9173 [C99-based-standards] (wcstoll): Likewise.
9174 [C99-based-standards] (wcstoull): Likewise.
9175 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9176 macro-int-constant. Specify type.
9177 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9178 constraint on value.
9179 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9180 Specify type.
9181 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9182 Specify value.
9183 [ISO C standards]: Do not allow headers.
9184 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9185 wcs[abcdefghijklmnopqrstuvwxyz]*.
9186 [ISO C standards] (*_t): Do not allow.
9187 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9188 Expect function.
9189 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9190 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9191 Specify type.
9192 [ISO C standards]: Do not allow headers.
9193 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9194 is[abcdefghijklmnopqrstuvwxyz]*.
9195 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9196 to[abcdefghijklmnopqrstuvwxyz]*.
9197 [ISO C standards] (*_t): Do not allow.
9198 * conform/data/stdalign.h-data: New file.
9199 * conform/data/stdbool.h-data: Likewise.
9200 * conform/data/stdnoreturn.h-data: Likewise.
9201
7514feb8
RM
92022012-11-07 Roland McGrath <roland@hack.frob.com>
9203
9204 [BZ #14815]
9205 * manual/filesys.texi (Directory Entries): Typo fix.
9206 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9207
19b2ecfc
MS
92082012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9209
9210 * elf/elf.h (EM_AARCH64): New macro.
9211 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9212 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9213 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9214 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9215 (R_AARCH64_TLSDESC): Likewise.
9216 (NT_ARM_TLS): Likewise.
9217 (NT_ARM_HW_BREAK): Likewise.
9218 (NT_ARM_HW_WATCH): Likewise.
9219
60e235ee
JM
92202012-11-07 Joseph Myers <joseph@codesourcery.com>
9221
9222 [BZ #14811]
9223 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9224 (__ieee754_powl): Saturate nonzero exponents with absolute value
9225 below 0x1p-79 to +/- 0x1p-79.
9226 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9227 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9228 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9229 nonzero exponents with absolute value below 0x1p-32 to +/-
9230 0x1p-32.
9231 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9232 (__ieee754_powl): Saturate nonzero exponents with absolute value
9233 below 0x1p-79 to +/- 0x1p-79.
9234 * math/libm-test.inc (pow_test): Add more tests.
9235
0ab234b7
AK
92362012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9237
9238 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9239 _dl_s390_cap_flags with kernel. Increase string length.
9240 (_dl_s390_platforms): Add z196 and zEC12.
9241
45832f74
JM
92422012-11-07 Joseph Myers <joseph@codesourcery.com>
9243
9244 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9245 Change XOPEN21K to XOPEN2K.
9246
19218757
MK
92472012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9248
9249 * string/memmove.c: Use memcpy when possible.
9250
c5f45721
AJ
92512012-11-06 Andreas Jaeger <aj@suse.de>
9252
9253 * po/eo.po: Update from translation team.
9254
82477c28
JM
92552012-11-06 Joseph Myers <joseph@codesourcery.com>
9256
9257 [BZ #14793]
9258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9259 exponent and small x and y exponents, scale x or y up. Increase
9260 by 2 the exponent used in scaling up.
9261 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9262 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9263 * math/libm-test.inc (fma_test): Add more tests.
9264 (fma_test_towardzero): Likewise.
9265 (fma_test_downward): Likewise.
9266 (fma_test_upward): Likewise.
9267
99252c8c
JM
92682012-11-05 Joseph Myers <joseph@codesourcery.com>
9269
acfa885f
JM
9270 [BZ #14805]
9271 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9272 fenv_t *.
9273
99252c8c
JM
9274 [BZ #14801]
9275 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9276 namespace for names of struct fields.
9277 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9278 fenv_t fields.
9279 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9280 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9281
d6d98dea
ST
92822012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9283
9284 [BZ #3665]
9285 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9286
e10bb107
TS
92872012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9288
9289 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9290 PTR_DEMANGLE.
9291
9292 [BZ #5246]
9293 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9294 PTR_DEMANGLE.
9295
a0c2940d
JM
92962012-11-04 Joseph Myers <joseph@codesourcery.com>
9297
9298 [BZ #14797]
9299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9300 definitely overflow as x * y not x * y + z.
9301 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9302 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9303 * math/libm-test.inc (fma_test): Add more tests.
9304 (fma_test_towardzero): Likewise.
9305 (fma_test_downward): Likewise.
9306 (fma_test_upward): Likewise.
9307
b830319d
TS
93082012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9309
9310 [BZ #157]
9311
9312 * include/stub-tag.h: Remove file.
9313 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9314 '#include' of it.
9315 * manual/maint.texi (Porting): Don't reference it.
9316 * Makerules ($(objpfx)stubs): Likewise.
9317 * dirent/closedir.c: Don't include <stub-tag.h>.
9318 * dirent/dirfd.c: Likewise.
9319 * dirent/fdopendir.c: Likewise.
9320 * dirent/getdents.c: Likewise.
9321 * dirent/getdents64.c: Likewise.
9322 * dirent/opendir.c: Likewise.
9323 * dirent/readdir.c: Likewise.
9324 * dirent/readdir64.c: Likewise.
9325 * dirent/readdir64_r.c: Likewise.
9326 * dirent/readdir_r.c: Likewise.
9327 * dirent/rewinddir.c: Likewise.
9328 * dirent/seekdir.c: Likewise.
9329 * dirent/telldir.c: Likewise.
9330 * gmon/profil.c: Likewise.
9331 * grp/setgroups.c: Likewise.
9332 * inet/if_index.c: Likewise.
9333 * io/access.c: Likewise.
9334 * io/chdir.c: Likewise.
9335 * io/chmod.c: Likewise.
9336 * io/chown.c: Likewise.
9337 * io/close.c: Likewise.
9338 * io/dup.c: Likewise.
9339 * io/dup2.c: Likewise.
9340 * io/dup3.c: Likewise.
9341 * io/euidaccess.c: Likewise.
9342 * io/faccessat.c: Likewise.
9343 * io/fchdir.c: Likewise.
9344 * io/fchmod.c: Likewise.
9345 * io/fchmodat.c: Likewise.
9346 * io/fchown.c: Likewise.
9347 * io/fchownat.c: Likewise.
9348 * io/fcntl.c: Likewise.
9349 * io/flock.c: Likewise.
9350 * io/fstatfs.c: Likewise.
9351 * io/fstatfs64.c: Likewise.
9352 * io/fstatvfs.c: Likewise.
9353 * io/fstatvfs64.c: Likewise.
9354 * io/futimens.c: Likewise.
9355 * io/fxstat.c: Likewise.
9356 * io/fxstat64.c: Likewise.
9357 * io/fxstatat.c: Likewise.
9358 * io/fxstatat64.c: Likewise.
9359 * io/getcwd.c: Likewise.
9360 * io/isatty.c: Likewise.
9361 * io/lchmod.c: Likewise.
9362 * io/lchown.c: Likewise.
9363 * io/link.c: Likewise.
9364 * io/linkat.c: Likewise.
9365 * io/lseek.c: Likewise.
9366 * io/lseek64.c: Likewise.
9367 * io/lxstat64.c: Likewise.
9368 * io/mkdir.c: Likewise.
9369 * io/mkdirat.c: Likewise.
9370 * io/mkfifo.c: Likewise.
9371 * io/mkfifoat.c: Likewise.
9372 * io/open.c: Likewise.
9373 * io/open64.c: Likewise.
9374 * io/openat.c: Likewise.
9375 * io/openat64.c: Likewise.
9376 * io/pipe.c: Likewise.
9377 * io/pipe2.c: Likewise.
9378 * io/poll.c: Likewise.
9379 * io/posix_fadvise.c: Likewise.
9380 * io/posix_fadvise64.c: Likewise.
9381 * io/posix_fallocate.c: Likewise.
9382 * io/posix_fallocate64.c: Likewise.
9383 * io/read.c: Likewise.
9384 * io/readlink.c: Likewise.
9385 * io/readlinkat.c: Likewise.
9386 * io/rmdir.c: Likewise.
9387 * io/sendfile.c: Likewise.
9388 * io/sendfile64.c: Likewise.
9389 * io/statfs.c: Likewise.
9390 * io/statfs64.c: Likewise.
9391 * io/statvfs.c: Likewise.
9392 * io/statvfs64.c: Likewise.
9393 * io/symlink.c: Likewise.
9394 * io/symlinkat.c: Likewise.
9395 * io/ttyname.c: Likewise.
9396 * io/ttyname_r.c: Likewise.
9397 * io/umask.c: Likewise.
9398 * io/unlink.c: Likewise.
9399 * io/unlinkat.c: Likewise.
9400 * io/utime.c: Likewise.
9401 * io/utimensat.c: Likewise.
9402 * io/write.c: Likewise.
9403 * io/xmknod.c: Likewise.
9404 * io/xmknodat.c: Likewise.
9405 * io/xstat.c: Likewise.
9406 * io/xstat64.c: Likewise.
9407 * login/getpt.c: Likewise.
9408 * login/grantpt.c: Likewise.
9409 * login/unlockpt.c: Likewise.
9410 * math/e_acoshl.c: Likewise.
9411 * math/e_acosl.c: Likewise.
9412 * math/e_asinl.c: Likewise.
9413 * math/e_atan2l.c: Likewise.
9414 * math/e_atanhl.c: Likewise.
9415 * math/e_coshl.c: Likewise.
9416 * math/e_expl.c: Likewise.
9417 * math/e_fmodl.c: Likewise.
9418 * math/e_gammal_r.c: Likewise.
9419 * math/e_hypotl.c: Likewise.
9420 * math/e_j0l.c: Likewise.
9421 * math/e_j1l.c: Likewise.
9422 * math/e_jnl.c: Likewise.
9423 * math/e_lgammal_r.c: Likewise.
9424 * math/e_log10l.c: Likewise.
9425 * math/e_log2l.c: Likewise.
9426 * math/e_logl.c: Likewise.
9427 * math/e_powl.c: Likewise.
9428 * math/e_rem_pio2l.c: Likewise.
9429 * math/e_sinhl.c: Likewise.
9430 * math/e_sqrtl.c: Likewise.
9431 * math/fclrexcpt.c: Likewise.
9432 * math/fedisblxcpt.c: Likewise.
9433 * math/feenablxcpt.c: Likewise.
9434 * math/fegetenv.c: Likewise.
9435 * math/fegetexcept.c: Likewise.
9436 * math/fegetround.c: Likewise.
9437 * math/feholdexcpt.c: Likewise.
9438 * math/fesetenv.c: Likewise.
9439 * math/fesetround.c: Likewise.
9440 * math/feupdateenv.c: Likewise.
9441 * math/fgetexcptflg.c: Likewise.
9442 * math/fraiseexcpt.c: Likewise.
9443 * math/fsetexcptflg.c: Likewise.
9444 * math/ftestexcept.c: Likewise.
9445 * math/k_cosl.c: Likewise.
9446 * math/k_rem_pio2l.c: Likewise.
9447 * math/k_sinl.c: Likewise.
9448 * math/k_tanl.c: Likewise.
9449 * math/s_asinhl.c: Likewise.
9450 * math/s_atanl.c: Likewise.
9451 * math/s_cbrtl.c: Likewise.
9452 * math/s_erfl.c: Likewise.
9453 * math/s_expm1l.c: Likewise.
9454 * math/s_log1pl.c: Likewise.
9455 * math/s_tanhl.c: Likewise.
9456 * misc/acct.c: Likewise.
9457 * misc/brk.c: Likewise.
9458 * misc/chflags.c: Likewise.
9459 * misc/chroot.c: Likewise.
9460 * misc/fchflags.c: Likewise.
9461 * misc/fgetxattr.c: Likewise.
9462 * misc/flistxattr.c: Likewise.
9463 * misc/fremovexattr.c: Likewise.
9464 * misc/fsetxattr.c: Likewise.
9465 * misc/fsync.c: Likewise.
9466 * misc/ftruncate.c: Likewise.
9467 * misc/futimes.c: Likewise.
9468 * misc/futimesat.c: Likewise.
9469 * misc/getdomain.c: Likewise.
9470 * misc/getdtsz.c: Likewise.
9471 * misc/gethostid.c: Likewise.
9472 * misc/gethostname.c: Likewise.
9473 * misc/getloadavg.c: Likewise.
9474 * misc/getpagesize.c: Likewise.
9475 * misc/getsysstats.c: Likewise.
9476 * misc/getxattr.c: Likewise.
9477 * misc/gtty.c: Likewise.
9478 * misc/ioctl.c: Likewise.
9479 * misc/lgetxattr.c: Likewise.
9480 * misc/listxattr.c: Likewise.
9481 * misc/llistxattr.c: Likewise.
9482 * misc/lremovexattr.c: Likewise.
9483 * misc/lsetxattr.c: Likewise.
9484 * misc/lutimes.c: Likewise.
9485 * misc/madvise.c: Likewise.
9486 * misc/mincore.c: Likewise.
9487 * misc/mlock.c: Likewise.
9488 * misc/mlockall.c: Likewise.
9489 * misc/mmap.c: Likewise.
9490 * misc/mprotect.c: Likewise.
9491 * misc/msync.c: Likewise.
9492 * misc/munlock.c: Likewise.
9493 * misc/munlockall.c: Likewise.
9494 * misc/munmap.c: Likewise.
9495 * misc/preadv.c: Likewise.
9496 * misc/preadv64.c: Likewise.
9497 * misc/ptrace.c: Likewise.
9498 * misc/pwritev.c: Likewise.
9499 * misc/pwritev64.c: Likewise.
9500 * misc/readv.c: Likewise.
9501 * misc/reboot.c: Likewise.
9502 * misc/remap_file_pages.c: Likewise.
9503 * misc/removexattr.c: Likewise.
9504 * misc/revoke.c: Likewise.
9505 * misc/select.c: Likewise.
9506 * misc/setdomain.c: Likewise.
9507 * misc/setegid.c: Likewise.
9508 * misc/seteuid.c: Likewise.
9509 * misc/sethostid.c: Likewise.
9510 * misc/sethostname.c: Likewise.
9511 * misc/setregid.c: Likewise.
9512 * misc/setreuid.c: Likewise.
9513 * misc/setxattr.c: Likewise.
9514 * misc/sstk.c: Likewise.
9515 * misc/stty.c: Likewise.
9516 * misc/swapoff.c: Likewise.
9517 * misc/swapon.c: Likewise.
9518 * misc/sync.c: Likewise.
9519 * misc/syncfs.c: Likewise.
9520 * misc/syscall.c: Likewise.
9521 * misc/truncate.c: Likewise.
9522 * misc/ualarm.c: Likewise.
9523 * misc/usleep.c: Likewise.
9524 * misc/ustat.c: Likewise.
9525 * misc/utimes.c: Likewise.
9526 * misc/vhangup.c: Likewise.
9527 * misc/writev.c: Likewise.
9528 * posix/_exit.c: Likewise.
9529 * posix/alarm.c: Likewise.
9530 * posix/execve.c: Likewise.
9531 * posix/fexecve.c: Likewise.
9532 * posix/fork.c: Likewise.
9533 * posix/fpathconf.c: Likewise.
9534 * posix/getaddrinfo.c: Likewise.
9535 * posix/getegid.c: Likewise.
9536 * posix/geteuid.c: Likewise.
9537 * posix/getgid.c: Likewise.
9538 * posix/getgroups.c: Likewise.
9539 * posix/getlogin.c: Likewise.
9540 * posix/getlogin_r.c: Likewise.
9541 * posix/getpgid.c: Likewise.
9542 * posix/getpid.c: Likewise.
9543 * posix/getppid.c: Likewise.
9544 * posix/getresgid.c: Likewise.
9545 * posix/getresuid.c: Likewise.
9546 * posix/getsid.c: Likewise.
9547 * posix/getuid.c: Likewise.
9548 * posix/glob64.c: Likewise.
9549 * posix/nanosleep.c: Likewise.
9550 * posix/pathconf.c: Likewise.
9551 * posix/pause.c: Likewise.
9552 * posix/posix_madvise.c: Likewise.
9553 * posix/pread.c: Likewise.
9554 * posix/pread64.c: Likewise.
9555 * posix/pwrite.c: Likewise.
9556 * posix/pwrite64.c: Likewise.
9557 * posix/sched_getaffinity.c: Likewise.
9558 * posix/sched_getp.c: Likewise.
9559 * posix/sched_gets.c: Likewise.
9560 * posix/sched_primax.c: Likewise.
9561 * posix/sched_primin.c: Likewise.
9562 * posix/sched_rr_gi.c: Likewise.
9563 * posix/sched_setaffinity.c: Likewise.
9564 * posix/sched_setp.c: Likewise.
9565 * posix/sched_sets.c: Likewise.
9566 * posix/sched_yield.c: Likewise.
9567 * posix/setgid.c: Likewise.
9568 * posix/setlogin.c: Likewise.
9569 * posix/setpgid.c: Likewise.
9570 * posix/setresgid.c: Likewise.
9571 * posix/setresuid.c: Likewise.
9572 * posix/setsid.c: Likewise.
9573 * posix/setuid.c: Likewise.
9574 * posix/sleep.c: Likewise.
9575 * posix/spawni.c: Likewise.
9576 * posix/sysconf.c: Likewise.
9577 * posix/times.c: Likewise.
9578 * posix/wait.c: Likewise.
9579 * posix/wait3.c: Likewise.
9580 * posix/wait4.c: Likewise.
9581 * posix/waitpid.c: Likewise.
9582 * resolv/gai_sigqueue.c: Likewise.
9583 * resource/getpriority.c: Likewise.
9584 * resource/getrlimit.c: Likewise.
9585 * resource/getrusage.c: Likewise.
9586 * resource/nice.c: Likewise.
9587 * resource/setpriority.c: Likewise.
9588 * resource/setrlimit.c: Likewise.
9589 * resource/ulimit.c: Likewise.
9590 * rt/aio_cancel.c: Likewise.
9591 * rt/aio_fsync.c: Likewise.
9592 * rt/aio_read.c: Likewise.
9593 * rt/aio_sigqueue.c: Likewise.
9594 * rt/aio_suspend.c: Likewise.
9595 * rt/aio_write.c: Likewise.
9596 * rt/clock_getres.c: Likewise.
9597 * rt/clock_gettime.c: Likewise.
9598 * rt/clock_nanosleep.c: Likewise.
9599 * rt/clock_settime.c: Likewise.
9600 * rt/lio_listio.c: Likewise.
9601 * rt/mq_close.c: Likewise.
9602 * rt/mq_getattr.c: Likewise.
9603 * rt/mq_notify.c: Likewise.
9604 * rt/mq_open.c: Likewise.
9605 * rt/mq_receive.c: Likewise.
9606 * rt/mq_send.c: Likewise.
9607 * rt/mq_setattr.c: Likewise.
9608 * rt/mq_timedreceive.c: Likewise.
9609 * rt/mq_timedsend.c: Likewise.
9610 * rt/mq_unlink.c: Likewise.
9611 * rt/shm_open.c: Likewise.
9612 * rt/shm_unlink.c: Likewise.
9613 * rt/timer_create.c: Likewise.
9614 * rt/timer_delete.c: Likewise.
9615 * rt/timer_getoverr.c: Likewise.
9616 * rt/timer_gettime.c: Likewise.
9617 * rt/timer_settime.c: Likewise.
9618 * setjmp/__longjmp.c: Likewise.
9619 * setjmp/setjmp.c: Likewise.
9620 * signal/kill.c: Likewise.
9621 * signal/killpg.c: Likewise.
9622 * signal/raise.c: Likewise.
9623 * signal/sigaction.c: Likewise.
9624 * signal/sigaltstack.c: Likewise.
9625 * signal/sigblock.c: Likewise.
9626 * signal/sigignore.c: Likewise.
9627 * signal/sigintr.c: Likewise.
9628 * signal/signal.c: Likewise.
9629 * signal/sigpause.c: Likewise.
9630 * signal/sigpending.c: Likewise.
9631 * signal/sigqueue.c: Likewise.
9632 * signal/sigreturn.c: Likewise.
9633 * signal/sigset.c: Likewise.
9634 * signal/sigsetmask.c: Likewise.
9635 * signal/sigstack.c: Likewise.
9636 * signal/sigsuspend.c: Likewise.
9637 * signal/sigtimedwait.c: Likewise.
9638 * signal/sigvec.c: Likewise.
9639 * signal/sigwait.c: Likewise.
9640 * signal/sigwaitinfo.c: Likewise.
9641 * signal/sysv_signal.c: Likewise.
9642 * socket/accept.c: Likewise.
9643 * socket/accept4.c: Likewise.
9644 * socket/bind.c: Likewise.
9645 * socket/connect.c: Likewise.
9646 * socket/getpeername.c: Likewise.
9647 * socket/getsockname.c: Likewise.
9648 * socket/getsockopt.c: Likewise.
9649 * socket/isfdtype.c: Likewise.
9650 * socket/listen.c: Likewise.
9651 * socket/recv.c: Likewise.
9652 * socket/recvfrom.c: Likewise.
9653 * socket/recvmsg.c: Likewise.
9654 * socket/send.c: Likewise.
9655 * socket/sendmsg.c: Likewise.
9656 * socket/sendto.c: Likewise.
9657 * socket/setsockopt.c: Likewise.
9658 * socket/shutdown.c: Likewise.
9659 * socket/sockatmark.c: Likewise.
9660 * socket/socket.c: Likewise.
9661 * socket/socketpair.c: Likewise.
9662 * stdio-common/ctermid.c: Likewise.
9663 * stdio-common/cuserid.c: Likewise.
9664 * stdio-common/remove.c: Likewise.
9665 * stdio-common/rename.c: Likewise.
9666 * stdio-common/renameat.c: Likewise.
9667 * stdio-common/tempname.c: Likewise.
9668 * stdlib/getcontext.c: Likewise.
9669 * stdlib/makecontext.c: Likewise.
9670 * stdlib/setcontext.c: Likewise.
9671 * stdlib/swapcontext.c: Likewise.
9672 * stdlib/system.c: Likewise.
9673 * streams/fattach.c: Likewise.
9674 * streams/fdetach.c: Likewise.
9675 * streams/getmsg.c: Likewise.
9676 * streams/getpmsg.c: Likewise.
9677 * streams/putmsg.c: Likewise.
9678 * streams/putpmsg.c: Likewise.
9679 * sysdeps/unix/bsd/getpt.c: Likewise.
9680 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9681 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9682 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9684 Likewise.
9685 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9686 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9687 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9688 * sysvipc/msgctl.c: Likewise.
9689 * sysvipc/msgget.c: Likewise.
9690 * sysvipc/msgrcv.c: Likewise.
9691 * sysvipc/msgsnd.c: Likewise.
9692 * sysvipc/semctl.c: Likewise.
9693 * sysvipc/semget.c: Likewise.
9694 * sysvipc/semop.c: Likewise.
9695 * sysvipc/semtimedop.c: Likewise.
9696 * sysvipc/shmat.c: Likewise.
9697 * sysvipc/shmctl.c: Likewise.
9698 * sysvipc/shmdt.c: Likewise.
9699 * sysvipc/shmget.c: Likewise.
9700 * termios/tcdrain.c: Likewise.
9701 * termios/tcflow.c: Likewise.
9702 * termios/tcflush.c: Likewise.
9703 * termios/tcgetattr.c: Likewise.
9704 * termios/tcgetpgrp.c: Likewise.
9705 * termios/tcsendbrk.c: Likewise.
9706 * termios/tcsetattr.c: Likewise.
9707 * termios/tcsetpgrp.c: Likewise.
9708 * time/adjtime.c: Likewise.
9709 * time/clock.c: Likewise.
9710 * time/getitimer.c: Likewise.
9711 * time/gettimeofday.c: Likewise.
9712 * time/setitimer.c: Likewise.
9713 * time/settimeofday.c: Likewise.
9714 * time/stime.c: Likewise.
9715 * time/time.c: Likewise.
9716
97172012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 9718
a20492cf
PT
9719 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9720 /usr/old/bin.
9721
72e182e3
PT
9722 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9723 instead of spaces.
9724 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9725
fbeafede
JM
97262012-11-03 Joseph Myers <joseph@codesourcery.com>
9727
5b5b04d6
JM
9728 [BZ #14796]
9729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9730 FE_TONEAREST before applying Dekker multiplication and Knuth
9731 addition. Clear inexact exceptions and check for exact zero
9732 results afterwards.
9733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9734 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9735 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9736 * math/libm-test.inc (fma_test): Add more tests.
9737 (fma_test_towardzero): Likewise.
9738 (fma_test_downward): Likewise.
9739 (fma_test_upward): Likewise.
9740 * sysdeps/generic/math_private.h (default_libc_fesetround): New
9741 function.
9742 (libc_fesetround): New macro.
9743 (libc_fesetroundf): Likewise.
9744 (libc_fesetroundl): Likewise.
9745 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9746 function.
9747 (libc_fesetround_387): Likewise.
9748 (libc_fesetroundf): New macro.
9749 (libc_fesetround): Likewise.
9750 (libc_fesetroundl): Likewise.
9751 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9752 function.
9753 (libc_fesetroundf): New macro.
9754 (libc_fesetround): Likewise.
9755 (libc_fesetroundl): Likewise.
9756 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9757 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9758 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9759 libm_hidden_ver.
9760 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9761 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9762 libm_hidden_def.
9763 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9764 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9765 libm_hidden_ver.
9766 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9767 libm_hidden_def.
9768
fbeafede
JM
9769 [BZ #3439]
9770 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9771 integer constant usable in #if and use that to give value to enum
9772 constant.
9773 (FE_DIVBYZERO): Likewise.
9774 (FE_UNDERFLOW): Likewise.
9775 (FE_OVERFLOW): Likewise.
9776 (FE_INVALID): Likewise.
9777 (FE_INVALID_SNAN): Likewise.
9778 (FE_INVALID_ISI): Likewise.
9779 (FE_INVALID_IDI): Likewise.
9780 (FE_INVALID_ZDZ): Likewise.
9781 (FE_INVALID_IMZ): Likewise.
9782 (FE_INVALID_COMPARE): Likewise.
9783 (FE_INVALID_SOFTWARE): Likewise.
9784 (FE_INVALID_SQRT): Likewise.
9785 (FE_INVALID_INTEGER_CONVERSION): Likewise.
9786 (FE_TONEAREST): Likewise.
9787 (FE_TOWARDZERO): Likewise.
9788 (FE_UPWARD): Likewise.
9789 (FE_DOWNWARD): Likewise.
9790 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9791 (FE_DIVBYZERO): Likewise.
9792 (FE_OVERFLOW): Likewise.
9793 (FE_UNDERFLOW): Likewise.
9794 (FE_INEXACT): Likewise.
9795 (FE_TONEAREST): Likewise.
9796 (FE_DOWNWARD): Likewise.
9797 (FE_UPWARD): Likewise.
9798 (FE_TOWARDZERO): Likewise.
9799 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9800 (FE_UNDERFLOW): Likewise.
9801 (FE_OVERFLOW): Likewise.
9802 (FE_DIVBYZERO): Likewise.
9803 (FE_INVALID): Likewise.
9804 (FE_TONEAREST): Likewise.
9805 (FE_TOWARDZERO): Likewise.
9806 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9807 (FE_OVERFLOW): Likewise.
9808 (FE_UNDERFLOW): Likewise.
9809 (FE_DIVBYZERO): Likewise.
9810 (FE_INEXACT): Likewise.
9811 (FE_TONEAREST): Likewise.
9812 (FE_TOWARDZERO): Likewise.
9813 (FE_UPWARD): Likewise.
9814 (FE_DOWNWARD): Likewise.
9815 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9816 (FE_DIVBYZERO): Likewise.
9817 (FE_OVERFLOW): Likewise.
9818 (FE_UNDERFLOW): Likewise.
9819 (FE_INEXACT): Likewise.
9820 (FE_TONEAREST): Likewise.
9821 (FE_DOWNWARD): Likewise.
9822 (FE_UPWARD): Likewise.
9823 (FE_TOWARDZERO): Likewise.
9824
105ca950
CM
98252012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9826
9827 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9828
a542b389
AS
98292012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9830
9831 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9832 commands. Quote $PWD.
9833 (blacklist_exports): Don't use remove_newlines. Replace "declare
9834 -x" by "export".
9835 (remove_newlines): Remove.
9836
f62c8abc
L
98372012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9838
9839 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9840 * stdlib/stdlib.h (atof): Moved to ...
9841 * include/bits/stdlib-float.h: Here. New file.
9842 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9843 * stdlib/bits/stdlib-float.h: New file.
9844 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9845 -mno-sse -mno-mmx.
9846 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9847 <xmmintrin.h>.
9848
0155d5b2
JM
98492012-11-02 Joseph Myers <joseph@codesourcery.com>
9850
a68d0680
JM
9851 * conform/conformtest.pl (@headers): Add fenv.h.
9852 * conform/data/fenv.h-data: New file.
9853 * include/fenv.h [_ISOMAC]: Disable all contents of file except
9854 include of <math/fenv.h>.
9855
caf7f573
JM
9856 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9857 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9858 && !UNIX98]. Enables tests for XOPEN2K8.
9859 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9860 POSIX2008]: Likewise.
9861
6c073ad6
JM
9862 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9863 (struct rusage): Do not expect type or its members.
9864
0155d5b2
JM
9865 [BZ #3439]
9866 * math/math.h (FP_NAN): Define macro to integer constant usable in
9867 #if and use that to give value to enum constant.
9868 (FP_INFINITE): Likewise.
9869 (FP_ZERO): Likewise.
9870 (FP_SUBNORMAL): Likewise.
9871 (FP_NORMAL): Likewise.
9872
b5dcacb4
AS
98732012-11-02 Andreas Schwab <schwab@linux-m68k.org>
9874
9875 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9876 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9877 arguments.
9878
f7934be8
RM
98792012-11-02 Roland McGrath <roland@hack.frob.com>
9880
9881 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9882 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9883 autoconf-time if not.
9884 * configure.in: Remove AC_PREREQ.
9885
d7d08bde
TMQMF
98862012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9887
9888 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9889 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9890 of the internal implementation.
9891
dcdae19a
JM
98922012-11-02 Joseph Myers <joseph@codesourcery.com>
9893
9894 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9895 except include of <misc/sys/syslog.h>.
9896
d6cffd3e
AS
98972012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9898
9899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9900 function returns with a NULL context exit with zero.
9901
b3563932
TMQMF
99022012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9903
9904 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9905
b288a93d
L
99062012-11-01 H.J. Lu <hongjiu.lu@intel.com>
9907
9908 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9909 (run_program_cmd): This.
9910 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9911 (tst_langinfo): New variable. Use it.
9912
a2421a68
SAS
99132012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
9914
9915 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9916 floating point opcodes.
9917
6f796e1b
TS
99182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9919
7402596b
TS
9920 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9921 variable.
9922
d0d4f868
TS
9923 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9924
6f796e1b
TS
9925 * sysdeps/mach/hurd/powerpc: Remove directory.
9926 * sysdeps/mach/powerpc: Likewise.
9927
4da224a2
AS
99282012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9929
9930 * scripts/check-local-headers.sh: Ignore c++ headers.
9931
341dd673
TS
99322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9933
9934 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9935 __libc_cleanup_region_start argument.
9936
473611b2
JM
99372012-11-01 Joseph Myers <joseph@codesourcery.com>
9938
9939 [BZ #14784]
9940 [BZ #14785]
9941 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9942 x * y using scaling, not as x * y + z.
9943 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9944 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9945 * math/libm-test.inc (fma_test): Add more tests.
9946 (fma_test_towardzero): Likewise.
9947 (fma_test_downward): Likewise.
9948 (fma_test_upward): Likewise.
9949
4078da3d
TS
99502012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9951
9952 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9953
903252aa
JM
99542012-10-31 Joseph Myers <joseph@codesourcery.com>
9955
9956 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9957 New variable.
9958
cbc818d0
TS
99592012-10-31 Thomas Schwinge <thomas@codesourcery.com>
9960
9961 * rt/tst-shm.c (worker): Correct checking for mmap failure.
9962
5a03cb1e
AS
99632012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9964
9965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9966 Fix sort order.
9967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9968 Likewise.
9969
90aff2ff
TMQMF
99702012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9971
9972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9973 Fix the order of the list for glibc 2.17.
9974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9975 Likewise.
9976
1818fcb7
AS
99772012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9978
9979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9980
ef82f4da
JM
99812012-10-31 Joseph Myers <joseph@codesourcery.com>
9982
16a0e2ec
JM
9983 [BZ #14610]
9984 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9985 for low part of x being zero before using __atanl (y).
9986 * math/libm-test.inc (atan2_test): Add another test.
9987
0eb69512
JM
9988 * manual/install.texi (Configuring and compiling): Document
9989 general use of test-wrapper and test-wrapper-env.
9990 * INSTALL: Regenerated.
9991
ef82f4da
JM
9992 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9993 (__fma): Do not extract and scale down low bits on after-rounding
9994 systems when result rounded to normal precision would have normal
9995 exponent.
9996 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9997 (__fmal): Do not extract and scale down low bits on after-rounding
9998 systems when result rounded to normal precision would have normal
9999 exponent.
10000 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10001 (__fmal): Do not extract and scale down low bits on after-rounding
10002 systems when result rounded to normal precision would have normal
10003 exponent.
10004 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10005 macro.
10006 (fma_test): Add more tests.
10007 (fma_test_towardzero): Likewise.
10008 (fma_test_downward): Likewise.
10009 (fma_test_upward): Likewise.
10010
954ef0d9
L
100112012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10012
10013 * sysdeps/i386/tininess.h: Renamed to ...
10014 * sysdeps/x86/tininess.h: This.
10015 * sysdeps/x86_64/tininess.h: Removed.
10016
df61ffb2
JM
100172012-10-30 Joseph Myers <joseph@codesourcery.com>
10018
10019 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10020 input. Use $(build-program-cmd).
10021 ($(objpfx)tst-array1-static.out): Likewise.
10022 ($(objpfx)tst-array2.out): Likewise.
10023 ($(objpfx)tst-array3.out): Likewise.
10024 ($(objpfx)tst-array4.out): Likewise.
10025 ($(objpfx)tst-array5.out): Likewise.
10026 ($(objpfx)tst-array5-static.out): Likewise.
10027
01767843
CM
100282012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10029
47cc1490
CM
10030 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10031 if defined.
10032
01767843
CM
10033 * nss/nsswitch.h (nss_interface_function): Provide new
10034 macro for use with NSS functions.
10035 * grp/initgroups.c: Use new macro.
10036 * nss/getXXbyYY.c: Likewise.
10037 * nss/getXXbyYY_r.c: Likewise.
10038 * nss/getXXent.c: Likewise.
10039 * nss/getXXent_r.c: Likewise.
10040 * sysdeps/posix/getaddrinfo.c: Likewise.
10041
8321aa97
AJ
100422012-10-30 Andreas Jaeger <aj@suse.de>
10043
10044 * po/ru.po: Update Russion translation from translation project.
10045
2a27fd6d
JM
100462012-10-30 Joseph Myers <joseph@codesourcery.com>
10047
8627a232
JM
10048 [BZ #14152]
10049 [BZ #14783]
10050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10051 result and shift together with sticky bit instead of replicating
10052 round-to-nearest rounding.
10053 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10054 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10055 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10056 missing underflow exceptions.
10057 (fma_test_towardzero): Add more tests.
10058 (fma_test_downward): Likewise.
10059 (fma_test_upward): Likewise.
10060
2a27fd6d
JM
10061 [BZ #14047]
10062 * sysdeps/generic/tininess.h: New file.
10063 * sysdeps/i386/tininess.h: Likewise.
10064 * sysdeps/sh/tininess.h: Likewise.
10065 * sysdeps/x86_64/tininess.h: Likewise.
10066 * stdlib/tst-strtod-underflow.c: Likewise.
10067 * stdlib/tst-tininess.c: Likewise.
10068 * stdlib/strtod_l.c: Include <tininess.h>.
10069 (round_and_return): Do not set errno for exact underflow cases.
10070 Force an underflow exception when setting errno for underflow.
10071 Determine underflow based on rounding to normal precision if
10072 TININESS_AFTER_ROUNDING.
10073 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10074 ERANGE for exact underflow cases.
10075 * stdlib/Makefile (tests): Add tst-tininess and
10076 tst-strtod-underflow.
10077 ($(objpfx)tst-tininess): Use $(link-libm).
10078 ($(objpfx)tst-strtod-underflow): Likewise.
10079
e7170363
AJ
100802012-10-30 Andreas Jaeger <aj@suse.de>
10081
e5088dc6
AJ
10082 [BZ#14767]
10083 * elf/Makefile (tests): Remove conditional for have-initfini-array
10084 since this is now always required and the variable does not exist
10085 anymore.
10086 (tests-static): Likewise.
10087 (modules-names): Likewise.
10088
e7170363 10089 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10090
10091 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10092 merged with constructor/destructor.
10093 (init_array): Likewise.
10094 * elf/tst-array2dep.c (fini_array): Likewise.
10095 (init_array): Likewise.
10096
60457d8a
MF
100972012-10-29 Mike Frysinger <vapier@gentoo.org>
10098
10099 * manual/message.texi: Delete @cartouche tags.
10100
8bece752
PT
101012012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10102
94ce799f
PT
10103 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10104 EOPNOTSUPP.
10105 * sysdeps/mach/hurd/fsync.c: Likewise.
10106
8bece752
PT
10107 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10108 [_POSIX_REALTIME_SIGNALS]: Change condition to
10109 [_POSIX_REALTIME_SIGNALS > 0].
10110
86ebe6b1
AJ
101112012-10-27 Andreas Jaeger <aj@suse.de>
10112
10113 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10114 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10115 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10116 [__WORDSIZE != 64]: Likewise.
10117
54399c08
L
101182012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10119
10120 * iconvdata/tst-table.sh: Remove ${SHELL}.
10121 * iconvdata/tst-tables.sh: Likewise.
10122
e2211bed
DM
101232012-10-25 David S. Miller <davem@davemloft.net>
10124
10125 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10126 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10127 of strtoull.
10128
f303f97c
DM
10129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10130 ifunc-impl-list.c
10131 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10132 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10133 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10134 file.
10135
1e9d84cd
RM
101362012-10-25 Roland McGrath <roland@hack.frob.com>
10137
10138 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10139 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10140 __getdirentries.
10141
df381762
JM
101422012-10-25 Joseph Myers <joseph@codesourcery.com>
10143 Jim Blandy <jimb@codesourcery.com>
10144
10145 * scripts/cross-test-ssh.sh: New file.
10146 * manual/install.texi (Configuring and compiling): Document use of
10147 cross-test-ssh.sh.
10148 * INSTALL: Regenerated.
10149
bff64913
PT
101502012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10151
10152 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10153 EOPNOTSUPP.
10154
25fe8932
JM
101552012-10-25 Joseph Myers <joseph@codesourcery.com>
10156
10157 * Makeconfig (run-program-prefix): Fix comment.
10158
cc1290d0
JM
101592012-10-24 Joseph Myers <joseph@codesourcery.com>
10160 Jim Blandy <jimb@codesourcery.com>
10161
10162 * Makeconfig (test-wrapper): New variable,
10163 (test-wrapper-env): Likewise.
10164 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10165 (run-built-tests): Define to yes.
10166 (run-program-prefix): Use $(test-wrapper).
10167 (built-program-cmd): Likewise.
10168 * Rules (make-test-out): Use $(test-wrapper-env) and
10169 $(host-built-program-cmd).
10170 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10171 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10172 tst-pathopt.sh.
10173 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10174 $(test-wrapper-env) to tst-rtld-load-self.sh.
10175 ($(objpfx)order2.out): Use $(test-wrapper).
10176 ($(objpfx)tst-initorder.out): Likewise.
10177 ($(objpfx)tst-initorder2.out): Likewise.
10178 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10179 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10180 (test_wrapper_env): New variable. Use it to run ld.so.
10181 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10182 Use it to run ld.so.
10183 (test_wrapper_env): Likewise.
10184 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10185 $(test-wrapper) to run-iconv-test.sh.
10186 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10187 (ICONV): Use $test_wrapper.
10188 * posix/Makefile ($(objpfx)globtest.out): Pass
10189 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10190 globtest.sh, not $(run-program-prefix).
10191 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10192 (test_wrapper): Likewise.
10193 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10194 set together with run_via_rtld_prefix.
10195 (run_program_prefix): Define in terms of test_wrapper and
10196 run_via_rtld_prefix.
10197
6e6249d0
RM
101982012-10-24 Roland McGrath <roland@hack.frob.com>
10199
10200 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10201 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10202 Targets removed.
10203
10204 [BZ #14743]
10205 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10206 Declare __clock_getres, __clock_gettime, __clock_settime,
10207 __clock_nanosleep, and __clock_getcpuclockid.
10208 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10209 Remove librt_hidden_def (clock_gettime).
10210 * sysdeps/unix/clock_gettime.c: Likewise.
10211 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10212 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10213 * rt/clock_getres.c: Define __clock_getres as an alias.
10214 * sysdeps/posix/clock_getres.c: Likewise.
10215 * rt/clock_settime.c: Define __clock_settime as an alias.
10216 * sysdeps/unix/clock_settime.c: Likewise.
10217 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10218 * sysdeps/unix/clock_nanosleep.c: Likewise.
10219 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10220 * rt/clock-compat.c: New file.
10221 * rt/Makefile (librt-routines): Add clock-compat and move
10222 $(clock-routines) to ...
10223 (routines): ... here, new variable.
10224 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10225 Don't add get_clockfreq here.
10226 * rt/Versions (libc: GLIBC_2.17): New version set.
10227 Add clock_* symbols here.
10228 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10229 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10230 (GLIBC_2.17): Add clock_* symbols.
10231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10233 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10235 Likewise.
10236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10237 Likewise.
10238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10242 * NEWS: Mention the move.
10243
10244 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10245 Use __open, __read, __close rather than their public counterparts.
10246 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10247 (__get_clockfreq_via_cpuinfo): Likewise.
10248 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10249 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10250
10251 * config.h.in (HAVE_IFUNC): New #undef.
10252 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10253 was successful.
10254 * configure: Regenerated.
10255
0cae3f4b
MF
102562012-10-24 Mike Frysinger <vapier@gentoo.org>
10257
10258 * configure.in: Move READELF check to start of file.
10259 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10260 libc_cv_asm_gnu_indirect_function in the process.
10261 * configure: Regenerated.
10262
8175a253
MF
102632012-10-24 Mike Frysinger <vapier@gentoo.org>
10264
10265 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10266 send the output to /dev/null.
10267 (libc_cv_cc_with_libunwind): Likewise.
10268 (libc_cv_as_noexecstack): Likewise.
10269 * configure: Regenerate.
10270
0708a7d1
JM
102712012-10-24 Joseph Myers <joseph@codesourcery.com>
10272
10b40d85
JM
10273 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10274
0708a7d1
JM
10275 * posix/globtest.sh (TMPDIR): Do not set.
10276 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10277 (testout): Likewise.
10278
9fddec1a
AJ
102792012-10-24 Andreas Jaeger <aj@suse.de>
10280
3a8db22f
AJ
10281 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10282 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10283 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10284 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10285 posix_fadvise64, posix_fallocate64.
10286
9fddec1a
AJ
10287 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10288 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10289 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10290 Likewise.
10291 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10292 Likewise.
10293 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10294
10295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10296 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10297 <bits/fcntl-linux.h>.
10298 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10299
10300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10301 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10302 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10303 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10304 [__WORDSIZE != 64]: Likewise.
10305
ebfd1bbd
JM
103062012-10-23 Joseph Myers <joseph@codesourcery.com>
10307
03ac099f
JM
10308 * Makeconfig (run-built-tests): New variable.
10309 * Rules [$(cross-compiling) = yes]: Change condition to
10310 [$(run-built-tests) = no].
10311 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10312 to [$(run-built-tests) = yes].
10313 * elf/Makefile [$(cross-compiling) = no]: Likewise
10314 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10315 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10316 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10317 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10318 * io/Makefile [$(cross-compiling) = no]: Likewise.
10319 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10320 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10321 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10322 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10323 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10324 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10325 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10326 * string/Makefile [$(cross-compiling) = no]: Likewise.
10327
ebfd1bbd
JM
10328 * posix/Makefile ($(objpfx)globtest.out): Pass
10329 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10330 $(rtld-installed-name).
10331 * posix/globtest.sh (elf_objpfx): Remove variable.
10332 (rtld_installed_name): Likewise.
10333 (library_path): Likewise.
10334 (run_program_prefix): New variable. Use for running globtest
10335 binary.
10336
166bca24
JB
103372012-10-23 Jim Blandy <jimb@codesourcery.com>
10338 Joseph Myers <joseph@codesourcery.com>
10339
10340 * Makeconfig (host-built-program-cmd): New variable.
10341 * elf/Makefile (tst-stackguard1-ARGS): Use
10342 $(host-built-program-cmd).
10343 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10344 (tst-spawn-ARGS): Likewise.
10345 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10346
88866099
JM
103472012-10-23 Joseph Myers <joseph@codesourcery.com>
10348 Jim Blandy <jimb@codesourcery.com>
10349
10350 * Makeconfig (run-via-rtld-prefix): New variable.
10351 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10352 (built-program-cmd): Likewise.
10353
b4b4c296
AJ
103542012-10-22 Andreas Jaeger <aj@suse.de>
10355
10356 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10357 __O_RSYNC if it exists, otherwise to O_SYNC.
10358
6fb54a22
JB
103592012-10-22 Jim Blandy <jimb@codesourcery.com>
10360 Joseph Myers <joseph@codesourcery.com>
10361
10362 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10363 /dev/null.
10364 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10365 from /dev/null
10366 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10367 /dev/null.
10368
481b90b9
AJ
103692012-10-22 Andreas Jaeger <aj@suse.de>
10370
2a0e2669
AJ
10371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10372 Define always.
10373 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10374
76e38f9a
AJ
10375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10376 bits/fcntl-linux.h.
10377
7cd37b43
AJ
10378 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10379 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10380
481b90b9
AJ
10381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10382 to __O_LARGEFILE.
10383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10384 to __O_LARGEFILE.
10385
aba75984
JB
103862012-10-21 Jim Blandy <jimb@codesourcery.com>
10387 Joseph Myers <joseph@codesourcery.com>
10388
10389 * config.make.in (NM): New variable.
10390
88d4247f
AJ
103912012-10-21 Andreas Jaeger <aj@suse.de>
10392
10393 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10394 definitions and declarations that are provided by
10395 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10396
f2eed205
L
103972012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10398
10399 [BZ #14683]
10400 * elf/Makefile (tests-static): Add tst-leaks1-static.
10401 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10402 ($(objpfx)tst-leaks1-static): New rule.
10403 ($(objpfx)tst-leaks1-static-mem): Likewise.
10404 (tst-leaks1-static-ENV): New macro.
10405 * elf/dl-open.c (dl_open_worker): Check the main application
10406 only if SHARED is defined.
10407 * elf/tst-leaks1-static.c: New file.
10408
335e6931
AJ
104092012-10-20 Andreas Jaeger <aj@suse.de>
10410
10411 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10412 generic values for Linux.
10413 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10414 and declarations that are provided by <bits/fcntl-linux.h> and
10415 include <bits/fcntl-linux.h>.
10416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10417 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10418
ac5c94d3
RM
104192012-10-20 Roland McGrath <roland@hack.frob.com>
10420
10421 * io/fcntl.h: Move include of <bits/types.h> to the top and
10422 include it unconditionally.
10423
de54b33a
L
104242012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10425
228cfb01
L
10426 * wcsmbs/Makefile (tests-ifunc): New variable.
10427 (tests): Add $(tests-ifunc).
10428 * wcsmbs/test-wcschr-ifunc.c: New file.
10429 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10430 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10431 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10432 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10433 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10434
69f07e5f
L
10435 * string/Makefile (tests-ifunc): New variable.
10436 (tests): Add $(tests-ifunc).
10437 * string/test-memccpy.c (TEST_NAME): New macro.
10438 * string/test-memchr.c (TEST_NAME): Likewise.
10439 * string/test-memcmp.c (TEST_NAME): Likewise.
10440 * string/test-memcpy.c (TEST_NAME): Likewise.
10441 * string/test-memmem.c (TEST_NAME): Likewise.
10442 * string/test-memmove.c (TEST_NAME): Likewise.
10443 * string/test-memset.c (TEST_NAME): Likewise.
10444 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10445 * string/test-stpcpy.c (TEST_NAME): Likewise.
10446 * string/test-stpncpy.c (TEST_NAME): Likewise.
10447 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10448 * string/test-strcasestr.c (TEST_NAME): Likewise.
10449 * string/test-strcat.c (TEST_NAME): Likewise.
10450 * string/test-strchr.c (TEST_NAME): Likewise.
10451 * string/test-strcmp.c(TEST_NAME): Likewise.
10452 * string/test-strcpy.c (TEST_NAME): Likewise.
10453 * string/test-strcspn.c (TEST_NAME): Likewise.
10454 * string/test-strlen.c (TEST_NAME): Likewise.
10455 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10456 * string/test-strncmp.c (TEST_NAME): Likewise.
10457 * string/test-strncpy.c (TEST_NAME): Likewise.
10458 * string/test-strnlen.c (TEST_NAME): Likewise.
10459 * string/test-strpbrk.c (TEST_NAME): Likewise.
10460 * string/test-strrchr.c (TEST_NAME): Likewise.
10461 * string/test-strspn.c (TEST_NAME): Likewise.
10462 * string/test-strstr.c (TEST_NAME): Likewise.
10463 * string/test-bcopy-ifunc.c: New file.
10464 * string/test-bzero-ifunc.c: Likewise.
10465 * string/test-memccpy-ifunc.c: Likewise.
10466 * string/test-memchr-ifunc.c: Likewise.
10467 * string/test-memcmp-ifunc.c: Likewise.
10468 * string/test-memcpy-ifunc.c: Likewise.
10469 * string/test-memmem-ifunc.c: Likewise.
10470 * string/test-memmove-ifunc.c: Likewise.
10471 * string/test-mempcpy-ifunc.c: Likewise.
10472 * string/test-memset-ifunc.c: Likewise.
10473 * string/test-rawmemchr-ifunc.c: Likewise.
10474 * string/test-stpcpy-ifunc.c: Likewise.
10475 * string/test-stpncpy-ifunc.c: Likewise.
10476 * string/test-strcasecmp-ifunc.c: Likewise.
10477 * string/test-strcasestr-ifunc.c: Likewise.
10478 * string/test-strcat-ifunc.c: Likewise.
10479 * string/test-strchr-ifunc.c: Likewise.
10480 * string/test-strchrnul-ifunc.c: Likewise.
10481 * string/test-strcmp-ifunc.c: Likewise.
10482 * string/test-strcpy-ifunc.c: Likewise.
10483 * string/test-strcspn-ifunc.c: Likewise.
10484 * string/test-strlen-ifunc.c: Likewise.
10485 * string/test-strncasecmp-ifunc.c: Likewise.
10486 * string/test-strncat-ifunc.c: Likewise.
10487 * string/test-strncmp-ifunc.c: Likewise.
10488 * string/test-strncpy-ifunc.c: Likewise.
10489 * string/test-strnlen-ifunc.c: Likewise.
10490 * string/test-strpbrk-ifunc.c: Likewise.
10491 * string/test-strrchr-ifunc.c: Likewise.
10492 * string/test-strspn-ifunc.c: Likewise.
10493 * string/test-strstr-ifunc.c: Likewise.
10494
de54b33a
L
10495 * debug/Makefile (tests-ifunc): New variable.
10496 (tests): Add $(tests-ifunc).
10497 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10498 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10499 * debug/test-stpcpy_chk-ifunc.c: New file.
10500 * debug/test-strcpy_chk-ifunc.c: Likewise.
10501
88481c16
SP
105022012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10503
10504 [BZ #13601]
10505 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10506 header is not read in.
10507
135948bd
JM
105082012-10-19 Joseph Myers <joseph@codesourcery.com>
10509
89f1c388
JM
10510 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10511 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10512 directly. Pass built executable to script as
10513 $(built-program-cmd).
10514 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10515 $testprogram without using LD_LIBRARY_PATH and $ldso.
10516
e40a0d21
JM
10517 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10518 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10519 $(rtld-installed-name).
10520 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10521 (rtld_installed_name): Likewise.
10522 (library_path): Likewise.
10523 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10524 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10525 $(run-program-prefix) to tst-tables.sh.
10526 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10527 it to run tst-table-from and tst-table-to.
10528 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10529 Pass it to tst-table.sh.
10530 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10531 $(run-program-prefix) to tst-gettext.sh.
10532 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10533 tst-translit.sh.
10534 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10535 tst-gettext2.sh.
10536 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10537 to run tst-gettext.
10538 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10539 to run tst-gettext2.
10540 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10541 to run tst-translit.
10542 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10543 $(run-program-prefix) to tst-mtrace.sh.
10544 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10545 to run tst-mtrace.
10546 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10547 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10548 $(rtld-installed-name).
10549 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10550 (rtld_installed_name): Likewise.
10551 (run_program_prefix): New variable. Use it to run wordexp-test.
10552
728e272a
JM
10553 * Makeconfig (ARCH): Remove all definitions.
10554 (machine): Likewise.
10555 [ARCH]: Remove conditional code.
10556 [!objdir]: Give error.
10557 [!objdir] (objpfx): Remove.
10558 [!objdir] (common-objpfx): Likewise.
10559 [!objdir] (common-objdir): Likewise.
10560 * configure.in (config_makefile): Remove. Hardcode Makefile in
10561 AC_CONFIG_FILES call.
10562 * configure: Regenerated.
10563
d528cdcf
JM
10564 [BZ #13888]
10565 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10566 or TMPDIR.
10567 (testout): Likewise.
10568
135948bd
JM
10569 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10570 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10571 $(rtld-installed-name).
10572 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10573 (rtld_installed_name): Likwise.
10574 (runit): Remove function.
10575 (run_getconf): New variable, Use it for running getconf binary.
10576
38c78296
L
105772012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10578
10579 [BZ #14716]
10580 * string/test-memmem.c (check_result): New function.
10581 (do_one_test): Use it.
10582 (check1): New function.
10583 (test_main): Use it.
10584
d077f65f
MT
105852012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10586
10587 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10588
ced52c71
JM
105892012-10-18 Joseph Myers <joseph@codesourcery.com>
10590
10591 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10592 (_G_LSEEK64): Likewise.
10593 (_G_MMAP64): Likewise.
10594 (_G_FSTAT64): Likewise.
10595 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10596 (_G_LSEEK64): Likewise.
10597 (_G_MMAP64): Likewise.
10598 (_G_FSTAT64): Likewise.
10599 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10600 unconditional. Call __mmap64 directly.
10601 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10602 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10603 __lseek64 directly.
10604 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10605 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10606 __mmap64 directly.
10607 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10608 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10609 __lseek64 directly.
10610 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10611 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10612 __lseek64 directly.
10613 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10614 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10615 __lseek64 directly.
10616 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10617 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10618 __fxstat64 directly.
10619 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10620 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10621 unconditional.
10622 (freopen64) [!_G_OPEN64]: Remove conditional code.
10623 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10624 unconditional.
10625 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10626 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10627 unconditional.
10628 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10629 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10630 unconditional.
10631 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10632 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10633 unconditional.
10634 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10635 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10636 unconditional.
10637 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10638 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10639 unconditional.
10640 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10641 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10642 unconditional.
10643 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10644
b741de23
SP
106452012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10646
10647 [BZ #12140]
10648 * manual/memory.texi (Malloc Tunable Parameters): Add note
10649 about free list pointers overwriting some perturb bytes.
10650 Wording suggested by Roland McGrath.
10651
f9b9d9c9
JM
106522012-10-17 Joseph Myers <joseph@codesourcery.com>
10653
10654 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10655 (lgamma_test): Likewise.
10656 (tgamma_test): Likewise.
10657
172a631a
FW
106582012-10-16 Florian Weimer <fweimer@redhat.com>
10659
10660 [BZ #14700]
10661 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10662 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10663
e9f37252
MK
106642012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10665
10666 * NEWS: Mention BZ #14716.
10667 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10668 when removing AVAILABLE1_USES_J macro.
10669
d394eb74
L
106702012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10671
10672 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10673 (__bswap_64): __uint64_t for unsigned 64-bit int.
10674
ca38dc17
AS
106752012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10676
10677 * include/string.h (memmem): Declare libc hidden alias.
10678 * string/memmem.c (memmem): Define libc hidden alias.
10679 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10680 __read, __close instead of open, read, close.
10681
9a387d1f
L
106822012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10683
ac49ecaf
L
10684 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10685 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10686 global and hidden.
10687 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10688 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10689 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10690 Likewise.
10691 (__rawmemchr_sse2): Likewise.
10692 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10693 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10694 (__strchr_sse2): Likewise.
10695 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10696 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10697 (__strcasecmp_sse2): Likewise.
10698 (__strncasecmp_sse2): Likewise.
10699 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10700 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10701 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10702 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10703 (__strrchr_sse2): Likewise.
10704 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10705 ifunc-impl-list.c.
10706 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10707 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10708 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10709 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10710 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10711 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10712 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10713 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10714 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10715 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10716 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10717 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10718 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10719 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10720 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10721 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10722 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10723 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10724 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10725 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10726 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10727 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10728 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10729 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10730 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10731 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10732 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10733 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10734 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10735 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10736
b090e8ea
L
10737 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10738 global and hidden.
10739 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10740 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10741 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10742 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10743 Likewise.
10744 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10745 Likewise.
10746 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10747 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10748 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10749 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10750 ifunc-impl-list.c.
10751 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10752 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10753 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10754 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10755 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10756 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10757 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10758 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10759 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10760 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10761 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10762 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10763 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10764 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10765 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10766 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10767 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10768 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10769 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10770 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10771 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10772 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10773 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10774 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10775 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10776 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10777 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10778 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10779 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10780 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10781 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10782 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10783 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10784 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10785 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10786 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10787 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10788 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10789 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10790 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10791 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10792
11dd4af6
L
10793 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10794 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10795 * include/ifunc-impl-list.h: New file.
10796 * misc/ifunc-impl-list.c: Likewise.
10797 * misc/Makefile (routines): Add ifunc-impl-list.
10798 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10799 * string/test-string.h: Include <ifunc-impl-list.h>.
10800 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10801 impl_array): New variables.
10802 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10803 are defined.
10804 (test_init): Call __libc_ifunc_impl_list to initialize
10805 func_list if TEST_IFUNC and TEST_NAME are defined.
10806
9a387d1f
L
10807 * string/Makefile (strop-tests): Add bcopy and bzero.
10808 * string/test-bcopy.c: New file.
10809 * string/test-bzero.c: Likewise.
10810 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10811 defined.
10812 * string/test-memset.c: Support bzero test if TEST_BZERO is
10813 defined.
10814 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10815 __libc_memmove.
10816 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10817 __libc_memset.
10818 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10819 of memset.
10820
472371b9
JM
108212012-10-10 Joseph Myers <joseph@codesourcery.com>
10822
1e4a9536
JM
10823 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10824 * configure: Regenerated.
10825
d173d12e
JM
10826 * Makeconfig (+link-static-before-libc): Don't include
10827 $(link-static-libc).
10828
472371b9
JM
10829 * libio/libio.h (_IO_pos_t): Remove.
10830
89a3ad0b
AO
108312012-10-10 Alexandre Oliva <aoliva@redhat.com>
10832
10833 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10834 McGrath.
10835
e7451425
AO
108362012-10-10 Alexandre Oliva <aoliva@redhat.com>
10837
10838 * crypt/crypt-entry.c: Include fips-private.h.
10839 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10840 * crypt/md5c-test.c (main): Tolerate disabled MD5.
10841 * sysdeps/unix/sysv/linux/fips-private.h: New file.
10842 * sysdeps/generic/fips-private.h: New file, dummy fallback.
10843
4ba74a35
AO
108442012-10-10 Alexandre Oliva <aoliva@redhat.com>
10845
10846 * crypt/crypt-private.h: Include stdbool.h.
10847 (_ufc_setup_salt_r): Return bool.
10848 * crypt/crypt-entry.c: Include errno.h.
10849 (__crypt_r): Return NULL with EINVAL for bad salt.
10850 * crypt/crypt_util.c (bad_for_salt): New.
10851 (_ufc_setup_salt_r): Check that salt is long enough and within
10852 the specified alphabet.
10853 * crypt/badsalttest.c: New file.
10854 * crypt/Makefile (tests): Add it.
10855 ($(objpfx)badsalttest): New.
10856
f96f1242
MK
108572012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
10858
10859 * NEWS: Add entry for BZ #14602.
10860
0e8e0c1c
JM
108612012-10-09 Joseph Myers <joseph@codesourcery.com>
10862
10863 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10864 type-generic.
10865 * math/libm-test.inc: Update comment listing what functions and
10866 macros are tested.
10867 (isgreater_test): New function.
10868 (isgreaterequal_test): Likewise.
10869 (isless_test): Likewise.
10870 (islessequal_test): Likewise.
10871 (islessgreater_test): Likewise.
10872 (isunordered_test): Likewise.
10873 (main): Call the new functions.
10874
273edc5e
RM
108752012-10-09 Roland McGrath <roland@hack.frob.com>
10876
b8493de0
RM
10877 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10878 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10879 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10880 * sysdeps/i386/configure: Regenerated.
10881 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10882 * sysdeps/mach/configure: Regenerated.
10883 * sysdeps/mach/hurd/configure: Regenerated.
10884 * sysdeps/powerpc/configure: Regenerated.
10885 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10886 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10887 * sysdeps/s390/s390-32/configure: Regenerated.
10888 * sysdeps/s390/s390-64/configure: Regenerated.
10889 * sysdeps/sh/configure: Regenerated.
10890 * sysdeps/sparc/configure: Regenerated.
10891 * sysdeps/unix/sysv/linux/configure: Regenerated.
10892 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10893 * sysdeps/x86_64/configure: Regenerated.
10894
273edc5e
RM
10895 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10896 defined. Don't check if MAP is NULL.
10897
c8450f70
JM
108982012-10-09 Joseph Myers <joseph@codesourcery.com>
10899
10900 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10901 (_G_stat64): Likewise.
10902 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10903 (_G_stat64): Likewise.
10904 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10905 instead of struct _G_stat64.
10906 * libio/fileops.c (mmap_remap_check): Likewise.
10907 (decide_maybe_mmap): Likewise.
10908 (_IO_new_file_seekoff): Likewise.
10909 (_IO_file_stat): Likewise.
10910 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10911 _G_off64_t.
10912 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10913 instead of struct _G_stat64.
10914 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10915
57e605ba
MK
109162012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
10917
10918 [BZ #14602]
10919 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10920 Replace with ...
10921 (CHECK_EOL): New macro.
10922 (two_way_short_needle): Check beginning of haystack for EOL. Use
10923 CHECK_EOL.
10924 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10925 Replace with CHECK_EOL.
10926 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10927 Replace with CHECK_EOL.
10928
ef1bb361
JM
109292012-10-08 Joseph Myers <joseph@codesourcery.com>
10930
10931 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10932 type-generic.
10933 * math/libm-test.inc: Update comment listing what functions and
10934 macros are tested.
10935 (finite_test): New function.
10936 (isinf_test): Likewise.
10937 (isnan_test): Likewise.
10938 (fpclassify_test): Test subnormal input.
10939 (isfinite_test): Likewise.
10940 (isnormal_test): Likewise.
10941 (main): Call the new functions.
10942
55f11534
JN
109432012-10-08 Jonathan Nieder <jrnieder@gmail.com>
10944
10945 [BZ #14660]
10946 * Makerules (%.dynsym): Force C locale when running
10947 $(OBJDUMP) --dynamic-syms.
10948
1ab29350
AS
109492012-10-08 Andreas Schwab <schwab@linux-m68k.org>
10950
10951 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10952 <stdint.h>.
10953
f1ecb7ef
DM
109542012-10-06 David S. Miller <davem@davemloft.net>
10955
10956 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10957 upper 32-bits of the length value in %o2 since we use branch-on-register
10958 tests which consider the entire 64-bit register.
10959
5d41d91a
L
109602012-10-06 H.J. Lu <hongjiu.lu@intel.com>
10961
10962 * string/test-strstr.c (check2): Add a test for page boundary.
10963
3baddb72
DM
109642012-10-05 David S. Miller <davem@davemloft.net>
10965
10966 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10967 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10968 file.
10969 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10970 sysdep_routines.
10971 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10972 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10973 and bzero when HWCAP_SPARC_CRYPTO is present.
10974
9cee5585
L
109752012-10-05 H.J. Lu <hongjiu.lu@intel.com>
10976
d7e0dab9
L
10977 [BZ #14602]
10978 * string/test-strstr.c (check2): New function.
10979 (test_main): Call check2.
10980
03759f47
L
10981 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10982 and bug-strchr1.
10983 * string/bug-strcasestr1.c (do_test): Moved to ...
10984 * string/test-strcasestr.c (check1): Here. New function.
10985 (do_one_test): Break out result checking code into ...
10986 (check_result): This. New function.
10987 (do_one_test): Call check_result.
10988 (test_main): Call check1.
10989 * string/bug-strchr1.c (do_test): Moved to ...
10990 * string/test-strchr.c (check1): Here. New function.
10991 (do_one_test): Break out result checking code into ...
10992 (check_result): This. New function.
10993 (do_one_test): Call check_result.
10994 (test_main): Call check1.
10995 * string/bug-strstr1.c (main): Moved to ...
046f153e 10996 * string/test-strstr.c (check1): Here. New function.
03759f47
L
10997 (do_one_test): Break out result checking code into ...
10998 (check_result): This. New function.
10999 (do_one_test): Call check_result.
11000 (test_main): Call check1.
11001 * string/bug-strcasestr1.c: Removed.
11002 * string/bug-strchr1.c: Likewise.
11003 * string/bug-strstr1.c: Likewise.
11004
53cea63e
L
11005 * elf/Makefile (dl-routines): Add hwcaps.
11006 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11007 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11008 (_dl_important_hwcaps): Moved to ...
11009 * elf/dl-hwcaps.c: Here. New file.
11010 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11011
9cee5585 11012 [BZ #14557]
bb859b06
L
11013 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11014 if IS_IN_rtld isn't defined.
11015
9cee5585
L
11016 * elf/dl-support.c (_dl_sysinfo_map): New.
11017 Include "get-dynamic-info.h" and "setup-vdso.h".
11018 (_dl_non_dynamic_init): Call setup_vdso.
11019 * elf/dynamic-link.h: Don't include <assert.h>.
11020 (elf_get_dynamic_info): Moved to ...
11021 * elf/get-dynamic-info.h: Here. New file.
11022 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11023 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11024 * elf/setup-vdso.h: Here. New file.
11025 * elf/rtld.c: Include "setup-vdso.h".
11026 (dl_main): Call setup_vdso.
11027
23c31b76
JM
110282012-10-05 Joseph Myers <joseph@codesourcery.com>
11029
28234b07
JM
11030 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11031 creal in comment listing functions tested. List finite, isinf,
11032 isnan, isless, islessequal, isgreater, isgreaterequal,
11033 islessgreater, isunordered, lgamma_r and pow10 as functions and
11034 macros not tested. Mention which functions not tested are aliases
11035 for other functions. Fix typo. Note that signs of NaNs are not
11036 tested.
11037
23c31b76
JM
11038 * scripts/config.guess: Update from config.git.
11039 * scripts/config.sub: Likewise.
11040
9043e228
RM
110412012-10-04 Roland McGrath <roland@hack.frob.com>
11042
11043 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11044 * misc/madvise.c (madvise): Renamed to __madvise.
11045 Make madvise a weak alias.
11046 * include/sys/mman.h: Declare __madvise.
11047 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11048 * sysdeps/unix/syscalls.list
11049 (madvise): Make __madvise the strong name, and madvise a weak alias.
11050 * sysdeps/unix/sysv/linux/syscalls.list
11051 (madvise, mmap): Remove redundant entries.
11052 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11053 * malloc/malloc.c (mtrim): Likewise.
11054 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11055
f57f8055
RM
110562012-10-03 Roland McGrath <roland@hack.frob.com>
11057
11058 * sysdeps/mach/hurd/dl-cache.c: File removed.
11059 * config.h.in (USE_LDCONFIG): New #undef.
11060 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11061 * configure: Regenerated.
11062 * elf/Makefile (dl-routines): Add dl-cache only under
11063 [$(use-ldconfig) = yes].
11064 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11065 cache on [USE_LDCONFIG].
11066 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11067 [USE_LDCONFIG].
11068 * elf/rtld.c (dl_main): Likewise.
11069
5bb0c10a
PT
110702012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11071
11072 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11073 _SC_LEVEL4_CACHE_LINESIZE.
11074
010188c6
RM
110752012-10-03 Roland McGrath <roland@hack.frob.com>
11076
11077 * sysdeps/unix/bsd/confstr.h: File removed.
11078
b6c5ec07
AO
110792012-10-02 Alexandre Oliva <aoliva@redhat.com>
11080
11081 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11082 sys/sdt-config.h.
11083
408223d4
RM
110842012-10-02 Roland McGrath <roland@hack.frob.com>
11085
11086 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11087 Make 'mapoff' field ElfW(Off) rather than off_t.
11088
bb9510dc
DL
110892012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11090
fc997c6e
DL
11091 * nscd/Makefile: Remove nscd-cflags and all its users.
11092 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11093 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11094
bb9510dc
DL
11095 [BZ #10631]
11096 * malloc.c (malloc_printerr): Clarify error message.
11097
05699367
L
110982012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11099
11100 [BZ #14648]
11101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11102 Set bit_FMA_Usable if FMA is supported.
11103 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11104 macro.
11105 (bit_FMA4_Usable): Updated.
11106 (index_FMA_Usable): New macro.
11107 (CPUID_FMA): Likewise
11108 (HAS_FMA): Defined with bit_FMA_Usable.
11109
51367701
RM
111102012-10-01 Roland McGrath <roland@hack.frob.com>
11111
11112 * bits/types.h (__swblk_t): Type removed.
11113 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11114 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11115 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11116 (__SWBLK_T_TYPE): Likewise.
11117 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11118 (__SWBLK_T_TYPE): Likewise.
11119 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11120 (__SWBLK_T_TYPE): Likewise.
11121 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11122 (__SWBLK_T_TYPE): Likewise.
11123
4d57bf63 111242012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11125 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11126
11127 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11128 (xdr_mapname): Use YPMAXMAP as maxsize.
11129 (xdr_peername): Use YPMAXPEER as maxsize.
11130 (xdr_keydat): Use YPAXRECORD as maxsize.
11131 (xdr_valdat): Use YPMAXRECORD as maxsize.
11132
93c65d43
RM
111332012-10-01 Roland McGrath <roland@hack.frob.com>
11134
497a03d6
RM
11135 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11136
93c65d43
RM
11137 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11138 * csu/init-first.c: ... here.
11139 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11140 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11141 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11142 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11143 * sysdeps/i386/init-first.c: File removed.
11144 * sysdeps/sh/init-first.c: File removed.
11145
bec749fd
JM
111462012-10-01 Joseph Myers <joseph@codesourcery.com>
11147
11148 [BZ #14645]
11149 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11150 if x * y might underflow to zero and z is zero.
11151 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11152 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11153 * math/libm-test.inc (min_subnorm_value): New variable.
11154 (fma_test): Add more tests.
11155 (fma_test_towardzero): Likewise.
11156 (fma_test_downward): Likewise
11157 (fma_test_upward): Likewise.
11158 (initialize): Set min_subnorm_value.
11159
8ec5b013
JM
111602012-09-29 Joseph Myers <joseph@codesourcery.com>
11161
11162 [BZ #14638]
11163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11164 0 + 0.
11165 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11166 mode for addition resulting in exact zero.
11167 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11169 exact 0 + 0.
11170 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11171 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11172 * math/libm-test.inc (fma_test): Add more tests.
11173 (fma_test_towardzero): New function.
11174 (fma_test_downward): Likewise.
11175 (fma_test_upward): Likewise.
11176 (main): Call the new functions.
11177
b1fa802e
DM
111782012-09-28 David S. Miller <davem@davemloft.net>
11179
11180 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11181
d3b9fd9e
RM
111822012-09-28 Roland McGrath <roland@hack.frob.com>
11183
ea4d37b3
RM
11184 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11185 instead of SIGALRM.
11186
ac51c949
RM
11187 * sysdeps/gnu/_G_config.h: Moved to ...
11188 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11189 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11190 * sysdeps/generic/_G_config.h: ... here.
11191
28c195f7
RM
11192 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11193
848917f9
RM
11194 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11195
6bacf05b
RM
11196 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11197 Conditionalize target on [libnss_test1.so-version].
11198
91363dbb
RM
11199 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11200
cc87f7d8
RM
11201 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11202 (elfobjdir): Move out of conditionals.
11203
b1c608fe
RM
11204 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11205 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11206 (__nss_lookup_function): Conditionalize label remove_from_tree on
11207 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11208
1d9a6d96
DM
112092012-09-28 David S. Miller <davem@davemloft.net>
11210
11211 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11212 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11213 file.
11214 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11215 sysdep_routines.
11216 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11218 when HWCAP_SPARC_CRYPTO is present.
11219
72581615
PT
112202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11221
11222 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11223
715a900c
JL
112242012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11225
11226 [BZ #6530]
11227 * stdio-common/vfprintf.c (process_string_arg): Revert
11228 2000-07-22 change.
11229
112302011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11231
11232 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11233 for testcase.
11234 * stdio-common/tst-sprintf.c: Include <locale.h>
11235 (main): Test sprintf's handling of incomplete multibyte
11236 characters.
11237
9bac1d86
L
112382012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11239
11240 * elf/dl-runtime.c (VERSYMIDX): Removed.
11241 * elf/dl-version.c (VERSYMIDX): Likewise.
11242 * elf/do-rel.h (VERSYMIDX): Likewise.
11243 (VALIDX): Likewise.
11244 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11245 * elf/rtld.c (VALIDX): Likewise.
11246 (ADDRIDX): Likewise.
9bac1d86
L
11247 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11248 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11249 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
11250 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11251 (VALIDX): Likewise.
11252 (ADDRIDX): Likewise.
9bac1d86 11253
b31606c0
PT
112542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11255
11256 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11257
11541177
JL
112582012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11259
11260 [BZ #11438]
11261 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11262 to global scope.
11263 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11264 addresses are in the same scope as 192.0.2/24.
11265 * posix/gai.conf: Document new scope table defaults.
11266
adb26fae
SP
112672012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11268
11269 [BZ #5298]
11270 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11271 for ftell. Compute offsets from write pointers instead.
11272 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11273
4573c6b0
SP
112742012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11275
11276 [BZ #14543]
11277 * libio/Makefile (tests): New test case tst-fseek.
11278 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11279 combination works in wide mode.
11280 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11281 state when the external buffer state changes.
11282
aa9bbfe6
DM
112832012-09-27 David S. Miller <davem@davemloft.net>
11284
11285 [BZ #14376]
11286 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11287 pass reloc->r_addend in as the 'high' argument to
11288 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11289
784421e7
DM
11290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11291
c39bc8b8
PT
112922012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11293
11294 * rt/tst-aio2.c: Include <pthread.h>.
11295 * rt/tst-aio3.c: Likewise.
11296
1ccc2399
SE
112972012-09-27 Steve Ellcey <sellcey@mips.com>
11298
11299 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11300
31ed4153
L
113012012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11302
25f5f885
L
11303 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11304 contents on [SHARED].
31ed4153 11305
b7bfe116
MP
113062012-09-26 Marek Polacek <polacek@redhat.com>
11307
11308 [BZ #14530]
11309 [BZ #13741]
11310 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11311 for C++ and GCC <4.3 as well as for non GCC compilers.
11312
43c4edba
MT
113132012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11314
11315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11316
6a1bf82f
RM
113172012-09-25 Roland McGrath <roland@hack.frob.com>
11318
11319 * Makefile.in (all, install): Declare with .PHONY.
11320 Reported by Michael Hope <michael.hope@linaro.org>.
11321
8ad11b9a
TMQMF
113222012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11323
11324 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11325 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11326 system header.
11327 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11328 Likewise.
11329 (sydep_routines): Add the new and the internal functions.
11330 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11331 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11333 (GLIBC_2.17): Add the new function.
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11335 (GLIBC_2.17): Likewise.
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11337 (GLIBC_2.17): Likewise.
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11339 (GLIBC_2.17): Likewise.
11340 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11341
7e2fca8d
AM
113422012-09-25 Alan Modra <amodra@gmail.com>
11343
11344 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11345 Add release barrier before setting once_control to say
11346 initialisation is done. Add hints on lwarx. Use macro in
11347 place of isync.
11348 (clear_once_control): Add release barrier.
11349
b87c4b24
JM
113502012-09-25 Joseph Myers <joseph@codesourcery.com>
11351
d032e0d2
JM
11352 [BZ #13629]
11353 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11354 specially.
11355 * math/s_clog10.c (__clog10): Likewise.
11356 * math/s_clog10f.c (__clog10f): Likewise.
11357 * math/s_clog10l.c (__clog10l): Likewise.
11358 * math/s_clogf.c (__clogf): Likewise.
11359 * math/s_clogl.c (__clogl): Likewise.
11360 * math/Makefile (libm-calls): Add x2y2m1.
11361 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11362 (__x2y2m1): Likewise.
11363 (__x2y2m1l): Likewise.
11364 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11365 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11366 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11367 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11368 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11369 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11370 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11371 * sysdeps/i386/fpu/libm-test-ulps: Update.
11372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11373
b87c4b24
JM
11374 [BZ #14621]
11375 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11376 int as type of variable DEPTH.
11377 (glob): Use size_t instead of int as type of variables NEWCOUNT
11378 and OLD_PATHC.
11379
6d3bf199
LD
113802012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11381
22bf5c17
LD
11382 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11383 Add s_sincosf-sse2.
11384 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11385 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11386 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11387 macros for using routine as __sincosf_ia32.
11388 Use macro for function declaration and weak_alias.
11389 * sysdeps/i386/fpu/libm-test-ulps: Update.
11390
11391 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11393
11394 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
11395 subnormal argument.
11396 * math/s_cexpf.c (__cexpf): Likewise.
11397 * math/s_csinf.c (__csinf): Likewise.
11398 * math/s_csinhf.c (__csinhf): Likewise.
11399 * math/s_ctanf.c (__ctanf): Likewise.
11400 * math/s_ctanhf.c (__ctanhf): Likewise.
11401 * math/s_ccosh.c (__ccoshf): Likewise.
11402 * math/s_cexp.c (__cexpl): Likewise.
11403 * math/s_csin.c (__csin): Likewise.
11404 * math/s_csinh.c (__csinh): Likewise.
11405 * math/s_ctan.c (__ctan): Likewise.
11406 * math/s_ctanh.c (ctanh): Likewise.
11407 * math/s_ccoshl.c (__ccoshl): Likewise.
11408 * math/s_cexpl.c (__cexpl): Likewise.
11409 * math/s_csinl.c (__csinl): Likewise.
11410 * math/s_csinhl.c (__csinhl): Likewise.
11411 * math/s_ctanl.c (__ctanl): Likewise.
11412 * math/s_ctanhl.c (__ctanhl): Likewise.
11413
203e5603
JM
114142012-09-25 Joseph Myers <joseph@codesourcery.com>
11415
11416 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11417 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11418 (_IO_off_t): Define to __off_t, not _G_off_t.
11419 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11420 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11421 (_IO_wint_t): Define to wint_t, not _G_wint_t.
11422 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11423 type of __dummy and __dummy2 fields.
11424 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11425 (_G_ssize_t): Likewise.
11426 (_G_off_t): Likewise.
11427 (_G_pid_t): Likewise.
11428 (_G_uid_t): Likewise.
11429 (_G_wchar_t): Likewise.
11430 (_G_wint_t): Likewise.
11431 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11432 (_G_ssize_t): Likewise.
11433 (_G_off_t): Likewise.
11434 (_G_pid_t): Likewise.
11435 (_G_uid_t): Likewise.
11436 (_G_wchar_t): Likewise.
11437 (_G_wint_t): Likewise.
11438 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11439 (_G_ssize_t): Likewise.
11440 (_G_off_t): Likewise.
11441 (_G_pid_t): Likewise.
11442 (_G_uid_t): Likewise.
11443 (_G_wchar_t): Likewise.
11444 (_G_wint_t): Likewise.
11445
9fab36eb
SP
114462012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11447
11448 * malloc/arena.c: Include malloc-sysdep.h.
11449 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11450 is sufficient to shrink the heap or an unmap is needed.
11451 * sysdeps/generic/malloc-sysdep.h: New file. Define
11452 new function check_may_shrink_heap.
11453 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11454 new function check_may_shrink_heap.
11455
2b4f00d1
SP
114562012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11457
11458 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11459 comments.
11460
9a9028b1
DL
114612012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11462
57c69bef
DL
11463 * catgets/test-gencat.sh: Add "set -e".
11464 * elf/tst-pathopt.sh: Likewise.
11465 * grp/tst_fgetgrent.sh: Likewise.
11466 * iconvdata/run-iconv-test.sh: Likewise.
11467 * intl/tst-gettext.sh: Likewise.
11468 * intl/tst-gettext2.sh: Likewise.
11469 * intl/tst-gettext4.sh: Likewise.
11470 * intl/tst-gettext6.sh: Likewise.
11471 * intl/tst-translit.sh: Likewise.
11472 * io/ftwtest-sh: Likewise.
11473 * libio/test-freopen.sh: Likewise.
11474 * malloc/tst-mtrace.sh: Likewise.
11475 * posix/globtest.sh: Likewise.
11476 * posix/tst-getconf.sh: Likewise.
11477 * posix/wordexp-tst.sh: Likewise.
11478 * stdio-common/tst-printf.sh: Likewise.
11479 * stdio-common/tst-unbputc.sh: Likewise.
11480 * stdlib/tst-fmtmsg.sh: Likewise.
11481 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11482 * catgets/Makefile: Do not specify -e option when running
11483 testsuite shell scripts.
11484 * elf/Makefile: Likewise.
11485 * grp/Makefile: Likewise.
11486 * iconvdata/Makefile: Likewise.
11487 * intl/Makefile: Likewise.
11488 * io/Makefile: Likewise.
11489 * libio/Makefile: Likewise.
11490 * malloc/Makefile: Likewise.
11491 * posix/Makefile: Likewise.
11492 * stdio-common/Makefile: Likewise.
11493 * stdlib/Makefile: Likewise.
11494 * sysdeps/x86_64/Makefile: Likewise.
11495
9a9028b1
DL
11496 * io/ftwtest-sh: Add copyright header.
11497 * posix/globtest.sh: Likewise.
11498 * posix/tst-getconf.sh: Likewise.
11499 * posix/wordexp-tst.sh: Likewise.
11500 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11501
ced6f16e
L
115022012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11503
94b32c39
L
11504 [BZ #13679]
11505 * Makeconfig (+link): Defined as $(+link-static) if
11506 $(build-shared) isn't yes.
11507 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11508 isn't yes.
11509 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11510
189e935b
L
11511 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11512
ced6f16e
L
11513 [BZ #14562]
11514 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11515 new chunk size with MALLOC_ALIGN_MASK.
11516
a9f8e53a
JM
115172012-09-24 Joseph Myers <joseph@codesourcery.com>
11518
11519 [BZ #5044]
11520 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11521 <rounding-mode.h>.
11522 (__printf_fphex): Determine rounding using get_rounding_mode and
11523 round_away.
11524 * stdio-common/tst-printf-round.c (struct hex_test): New
11525 structure.
11526 (hex_tests): New variable.
11527 (test_hex_in_one_mode): New function.
11528 (do_test): Also run tests for hex float output.
11529
43153109
JM
115302012-09-21 Joseph Myers <joseph@codesourcery.com>
11531
11532 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11533 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11534 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11535 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11536 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11537 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11538 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11539 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11540
8a26625d
JM
115412012-09-20 Joseph Myers <joseph@codesourcery.com>
11542
11543 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11544 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11545 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11546 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11547
f3fd569c
DL
115482012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11549
11550 [BZ #14579]
11551 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11552 mode only.
11553 * elf/tst-rtld-load-self.sh: New test.
11554 * elf/Makefile: Run it.
11555
63bbedd4
JM
115562012-09-18 Joseph Myers <joseph@codesourcery.com>
11557
11558 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11559 (tst-writev-ENV): Remove.
11560 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11561
626f8b6a
CM
115622012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11563
11564 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11565
b7aaa4d6
JM
115662012-09-17 Joseph Myers <joseph@codesourcery.com>
11567
11568 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11569 unconditional.
11570 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11571 Likewise.
11572 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11573 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11574 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11575 Likewise.
11576
65513990
L
115772012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11578
11579 [BZ #14587]
11580 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11581 * config.make.in (have-cpp-asm-debuginfo): Removed.
11582 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11583 * configure: Regenerated.
11584
784761be
JM
115852012-09-14 Joseph Myers <joseph@codesourcery.com>
11586
11587 [BZ #5044]
11588 * stdio-common/printf_fp.c: Include <stdbool.h> and
11589 <rounding-mode.h>.
11590 (___printf_fp): Determine rounding using get_rounding_mode and
11591 round_away.
11592 * stdio-common/tst-printf-round.c: New file.
11593 * stdio-common/Makefile (tests): Add tst-printf-round.
11594 (link-libm): New variable.
11595 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11596
9503345f
L
115972012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11598
11599 [BZ #14576]
11600 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11601 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11602 Likewise.
11603 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11604 Likewise.
11605
ad35fc00
JM
116062012-09-13 Joseph Myers <joseph@codesourcery.com>
11607
11608 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11609 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11610 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11611 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11612
6c9b0f68
JM
116132012-09-12 Joseph Myers <joseph@codesourcery.com>
11614
11615 [BZ #14518]
11616 * include/rounding-mode.h: New file.
11617 * sysdeps/generic/get-rounding-mode.h: Likewise.
11618 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11619 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11620 (MAX_VALUE): New macro.
11621 (MIN_VALUE): Likewise.
11622 (overflow_value): New function.
11623 (underflow_value): Likewise.
11624 (round_and_return): Use overflow_value and underflow_value to
11625 determine return values in overflow and underflow cases. Use
11626 round_away to determine rounding depending on rounding mode.
11627 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11628 determine return values in overflow and underflow cases.
11629 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11630 (struct test_results): New structure.
11631 (struct test): Use struct test_results to store expected results
11632 for all rounding modes.
11633 (TEST): Include expected results for all rounding modes.
11634 (test_in_one_mode): New function.
11635 (do_test): Use test_in_one_mode to compute and check results.
11636 Check results for all rounding modes.
11637 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11638 $(link-libm).
11639
19fcedd5
AM
116402012-12-09 Allan McRae <allan@archlinux.org>
11641
1e9d84cd 11642 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 11643
8bbfd2f1
JM
116442012-09-11 Joseph Myers <joseph@codesourcery.com>
11645
11646 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11647 (_G_int32_t): Likewise.
11648 (_G_uint16_t): Likewise.
11649 (_G_uint32_t): Likewise.
11650 (_G_HAVE_BOOL): Likewise.
11651 (_G_HAVE_ATEXIT): Likewise.
11652 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11653 (_G_HAVE_IO_FILE_OPEN): Likewise.
11654 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11655 (_G_int32_t): Likewise.
11656 (_G_uint16_t): Likewise.
11657 (_G_uint32_t): Likewise.
11658 (_G_HAVE_BOOL): Likewise.
11659 (_G_HAVE_ATEXIT): Likewise.
11660 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11661 (_G_HAVE_IO_FILE_OPEN): Likewise.
11662 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11663 (_G_int32_t): Likewise.
11664 (_G_uint16_t): Likewise.
11665 (_G_uint32_t): Likewise.
11666 (_G_HAVE_BOOL): Likewise.
11667 (_G_HAVE_ATEXIT): Likewise.
11668 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11669 (_G_HAVE_IO_FILE_OPEN): Likewise.
11670
b1dc5912
L
116712012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11672
11673 * csu/libc-tls.c: Update copyright years.
11674
0e886ef9
JM
116752012-09-10 Joseph Myers <joseph@codesourcery.com>
11676
28361c5e
JM
11677 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11678 [!_G_USING_THUNKS]: Remove conditional code.
11679 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11680 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11681
0e886ef9
JM
11682 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11683 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11684 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11685 (_G_VTABLE_LABEL_PREFIX): Likewise.
11686 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11687 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11688 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11689 (_G_VTABLE_LABEL_PREFIX): Likewise.
11690 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11691 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11692 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11693 (_G_VTABLE_LABEL_PREFIX): Likewise.
11694 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11695
bcba7aa2
L
116962012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11697
11698 * libio/Makefile: Include ../Makeconfig before tests.
11699 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11700 only if $(build-shared) is yes.
11701
06585ee8
L
11702 * iconv/gconv_db.c: Update copyright years.
11703
80ccd52c
LD
117042012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11705
11706 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11707 unwind info if defined PIC. Fix special cases description.
11708 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11709
11710 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11711 DP_HI_MASK entry.
11712 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11713
691bc9c1
L
117142012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11715
3d9b46b3
L
11716 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11717
de2139a9
L
11718 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11719 is NULL.
11720
5ca78dd0
L
11721 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11722 (LDLIBS-tst-chk4): This.
11723 (LDFLAGS-tst-chk5): Renamed to ...
11724 (LDLIBS-tst-chk5): This.
11725 (LDFLAGS-tst-chk6): Renamed to ...
11726 (LDLIBS-tst-chk6): This.
11727 (LDFLAGS-tst-lfschk4): Renamed to ...
11728 (LDLIBS-tst-lfschk4): This.
11729 (LDFLAGS-tst-lfschk5): Renamed to ...
11730 (LDLIBS-tst-lfschk5): This.
11731 (LDFLAGS-tst-lfschk6): Renamed to ...
11732 (LDLIBS-tst-lfschk6): This.
11733
691bc9c1
L
11734 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11735 on $(common-objpfx)soversions.mk.
11736
65cafb1c
JM
117372012-09-07 Joseph Myers <joseph@codesourcery.com>
11738
11739 [BZ #10014]
11740 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11741 example host name.
11742
c78ab094
SP
117432012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11744
11745 * malloc/arena.c (arena_get_retry): New function that gets
11746 another arena for the caller to try its request on.
11747 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11748 current arena cannot fulfill the request.
11749 (__libc_memalign): Likewise.
11750 (__libc_memalign): Likewise.
11751 (__libc_pvalloc): Likewise.
11752 (__libc_calloc): Likewise.
11753
01f49f59
JT
117542012-09-05 John Tobey <john.tobey@gmail.com>
11755
11756 [BZ #13542]
11757 * manual/arith.texi (Operations on Complex): Fix description
11758 of carg branch cut.
11759
4c23fed5
JM
117602012-09-06 Joseph Myers <joseph@codesourcery.com>
11761
1d3c8572
JM
11762 [BZ #10014]
11763 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11764 host name.
11765
4c23fed5
JM
11766 [BZ #10038]
11767 * manual/memory.texi (Memory): Make order of menu items match
11768 order of sections.
11769
04570aaa
L
117702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11771
11772 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11773 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
11774 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11775
b80af2f4
L
117762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11777
11778 * csu/libc-tls.c (static_dtv): Renamed to ...
11779 (_dl_static_dtv): This. Make it global.
11780 (_dl_initial_dtv): Removed.
11781 (__libc_setup_tls): Updated.
11782 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11783 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11784 DL_INITIAL_DTV.
11785
2abe9f15
PM
117862012-09-06 Petr Machata <pmachata@redhat.com>
11787
11788 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11789 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11790 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11791 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11792
0948c3af
L
117932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11794
11795 [BZ #14545]
11796 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11797 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11798 freeing dtv[-1].
11799
a5055ad1
L
118002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11801
11802 [BZ #14544]
11803 * Makeconfig (link-static-before-libc): Replace $(+prector)
11804 with $(+prectorT).
11805 (link-static-after-libc): Replace $(+postctor) with
11806 $(+postctorT).
11807 (link-bounded): Replace $(+prector)/$(+postctor) with
11808 $(+prectorT)/$(+postctorT).
11809 (+prectorT): New macro.
11810 (+postctorT): Likewise.
11811
ed8c2ecd
JM
118122012-09-06 Joseph Myers <joseph@codesourcery.com>
11813
11814 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11815 (round_str): Handle values above the maximum for IBM long double
11816 as inexact.
11817 * stdlib/tst-strtod-round.c (tests): Regenerated.
11818
14c996c8
AK
118192012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11820
11821 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11822 assembler flag.
11823 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11824 zarch_nohighgprs around the zarch optimized routines.
11825 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11826 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11827 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11828 for zarch.
11829
430d6ce6
DM
118302012-09-05 David S. Miller <davem@davemloft.net>
11831
11832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11833
ff04dda4
DM
11834 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11835 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11836 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11837 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11838 entries.
11839
24d4e01b
AO
118402012-09-05 Alexandre Oliva <aoliva@redhat.com>
11841
11842 * malloc/arena.c: Fold copyright years.
11843 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11844
61d58174
AO
118452012-09-05 Alexandre Oliva <aoliva@redhat.com>
11846
11847 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11848
20196a5e
AO
118492012-09-05 Alexandre Oliva <aoliva@redhat.com>
11850
11851 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
11852
5c447383
AO
118532012-09-05 Alexandre Oliva <aoliva@redhat.com>
11854
11855 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11856 change internal state upon failure.
11857
fad64255
AO
118582012-09-05 Alexandre Oliva <aoliva@redhat.com>
11859
11860 * malloc/mcheck.c (mcheck_check_all): Fix typo.
11861 * malloc/memusage.c (mmap): Likewise.
11862 (mmap64, mremap): Likewise. Adjust name in comment.
11863
1ffb8c90
SP
118642012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11865
11866 * libio/fileops.c: Fix typos in comments.
11867 * libio/oldfileops.c: Likewise.
11868 * libio/wfileops.c: Likewise.
11869
6ef9cc37
SP
118702012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11871
11872 [BZ #1349]
11873 * malloc/Makefile (tests): Add tst-malloc-usable test case.
11874 (tst-malloc-usable-ENV): Set environment for test case.
11875 * malloc/hooks.c (malloc_check_get_size): New function to get
11876 requested size.
11877 * malloc/malloc.c (musable): Use malloc_check_get_size.
11878 * malloc/tst-malloc-usable.c: New test case.
11879
4d038ae3
AS
118802012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11881
11882 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11883
c4e85184
AM
118842012-09-05 Allan McRae <allan@archlinux.org>
11885
b9dafc56 11886 [BZ #13966]
c4e85184
AM
11887 * configure.in (CXX_SYSINCLUDES): Use compiler output to
11888 determine header location.
11889 * configure: Regenerated.
11890
e1343020
AS
118912012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11892
11893 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11894 float format.
11895 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
11896 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11897 format.
e1343020
AS
11898 (test): Regenerate.
11899
0a9f1987
DM
119002012-09-04 David S. Miller <davem@davemloft.net>
11901
11902 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11903 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11904 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11905
29237804
FW
119062012-09-04 Florian Weimer <fweimer@redhat.com>
11907
11908 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11909 failures.
11910
edb3cb88
FW
11911 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11912
60160d83
JM
119132012-09-04 Joseph Myers <joseph@codesourcery.com>
11914
11915 [BZ #9914]
11916 * libio/iogetdelim.c: Include <limits.h>.
11917 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11918 + len + 1 would overflow.
11919
bcd6c8dc
AJ
119202012-09-03 Andreas Jaeger <aj@suse.de>
11921
11922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11923 * sysdeps/i386/fpu/libm-test-ulps: Update.
11924
4ffffbd2
LD
119252012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11926
11927 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11928 Add s_sinf-sse2, s_conf-sse2.
11929
11930 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11931 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11932 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11933 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11934
11935 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11936 for using routine as __sinf_ia32.
11937 Use macro for function declaration and weak_alias.
11938 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11939 for using routine as __cosf_ia32.
11940 Use macro for function declaration and weak_alias.
11941
11942 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11943 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11944
11945 * sysdeps/x86_64/fpu/s_sinf.S: New file.
11946 * sysdeps/x86_64/fpu/s_cosf.S: New file.
11947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11948
11949 * math/libm-test.inc (cos_test): Add more test cases.
11950 (sin_test): Likewise.
11951 (sincos_test): Likewise.
11952
511fa286
AK
119532012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11954
11955 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11956 (IFUNC_RESOLVE): Make pointers to the specialized implementations
11957 hidden.
11958 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11959
5f30cfec
L
119602012-09-02 H.J. Lu <hongjiu.lu@intel.com>
11961
11962 [BZ #14538]
11963 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11964 first element of the GOT.
11965 (elf_machine_load_address): Return the difference between
11966 the runtime address of _DYNAMIC and elf_machine_dynamic ().
11967
0786794f
AM
119682012-09-01 Allan McRae <allan@archlinux.org>
11969
5f30cfec
L
11970 [BZ #13412]
11971 * configure.in (AWK): Require gawk version 3.0 or later.
11972 * configure: Regenerated.
0786794f 11973
26889eac
JM
119742012-09-01 Joseph Myers <joseph@codesourcery.com>
11975
11976 * sysdeps/unix/sysv/linux/kernel-features.h
11977 (__ASSUME_POSIX_CPU_TIMERS): Remove.
11978 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11979 [__NR_clock_getres]: Make code unconditional.
11980 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11981 (clock_getcpuclockid): Remove code left unreachable by removal of
11982 conditionals.
11983 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11984 code unconditional.
11985 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11986 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11987 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11988 Make code unconditional.
11989 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11990 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11991 * sysdeps/unix/sysv/linux/clock_settime.c
11992 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11993 conditional code.
11994 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11995 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11996
d22e28b0
L
119972012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11998
11999 [BZ #14476]
12000 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12001 scripts/test-installation.pl.
12002
12003 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12004 and $ld_so_version if it is set.
12005
050af9c4
SP
120062012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12007
12008 [BZ #14516]
12009 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12010 failure if reading from procfs failed.
12011 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12012
ad845c0b
JM
120132012-08-27 Joseph Myers <joseph@codesourcery.com>
12014
12015 * sysdeps/unix/sysv/linux/kernel-features.h
12016 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12017 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12018 Remove conditional code.
12019 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12020 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12021 Remove conditional code.
12022 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12023 * sysdeps/unix/sysv/linux/i386/fxstat.c
12024 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12025 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12026 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12027 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12028 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12029 * sysdeps/unix/sysv/linux/i386/lxstat.c
12030 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12031 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12032 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12033 Remove conditional code.
12034 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12035 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12036 Remove conditional code.
12037 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12038 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12039 <kernel-features.h>.
12040 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12041 Remove.
12042 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12043 Remove conditional code.
12044 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12045 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12046 Remove conditional.
12047
5dbf56af
MF
120482012-08-27 Mike Frysinger <vapier@gentoo.org>
12049
12050 [BZ #5400]
12051 * NEWS: Add fixed bug number.
12052
d6e70f43
JM
120532012-08-27 Joseph Myers <joseph@codesourcery.com>
12054
7efb4737
JM
12055 [BZ #14519]
12056 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12057 underflowing exponent in case of negative sign.
12058 * stdlib/tst-strtod-round-data: Add more tests.
12059 * stdlib/tst-strtod-round.c (tests): Regenerated.
12060
af92131a
JM
12061 [BZ #3479]
12062 * stdlib/strtod_l.c (NDIG): Remove.
12063 (HEXNDIG): Likewise.
12064 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12065 smallest representable value.
12066 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12067 lie within an exact representation of 1/2 ulp of the result.
12068 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12069 unconditionally.
12070 (TENS_P9_IDX): Define unconditionally.
12071 (TENS_P9_SIZE): Likewise.
12072 (TENS_P10_IDX): Likewise.
12073 (TENS_P10_SIZE): Likewise.
12074 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12075 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12076 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12077 entries for 10^2^13 and 10^2^14.
12078 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12079 (TENS_P13_IDX): Define.
12080 (TENS_P13_SIZE): Likewise.
12081 (TENS_P14_IDX): Likewise.
12082 (TENS_P14_SIZE): Likewise.
12083 (_fpioconst_pow10): Change array size to
12084 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12085 unconditional.
12086 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12087 1024]: Add entries for 10^2^13 and 10^2^14.
12088 [LAST_POW10 > _LAST_POW10]: Remove #error.
12089 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12090 (_fpioconst_pow10): Change array size to
12091 FPIOCONST_POW10_ARRAY_SIZE.
12092 * stdlib/gen-fpioconst.c: New file.
12093 * stdlib/gen-tst-strtod-round.c: Likewise.
12094 * stdlib/tst-strtod-round-data: Likewise.
12095 * stdlib/tst-strtod-round.c: Likewise.
12096 * stdlib/Makefile (tests): Add tst-strtod-round.
12097
d6e70f43
JM
12098 [BZ #14459]
12099 * stdlib/strtod_l.c: Include <stdint.h>.
12100 (NDEBUG): Do not define.
12101 (round_and_return): Change EXPONENT parameter to type intmax_t.
12102 Rearrange calculations to avoid internal overflow possibilities.
12103 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12104 Rearrange calculations to avoid internal overflow possibilities.
12105 Assert that number fits inside MPNSIZE limbs.
12106 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12107 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12108 calculations and add assertions to avoid internal overflow
12109 possibilities. Add casts to avoid signed/unsigned operations.
12110 * stdlib/tst-strtod-overflow.c: New file.
12111 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12112
1f529f7d
MP
121132012-08-25 Marek Polacek <polacek@redhat.com>
12114
12115 * time/time.h: Fix some typos in comments.
12116
59a629f1
RM
121172012-08-23 Roland McGrath <roland@hack.frob.com>
12118
12119 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12120 * posix/tst-rfc3484-2.c: Likewise.
12121 * posix/tst-rfc3484-3.c: Likewise.
12122
d3bafbc9
SM
121232012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12124
12125 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12126 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12127
4efcc022
JM
121282012-08-23 Joseph Myers <joseph@codesourcery.com>
12129
12130 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12131 #include of fxstatat64.c.
12132
3cc3ef96
RM
121332012-08-22 Roland McGrath <roland@hack.frob.com>
12134
f04e2132
RM
12135 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12136 * shadow/getspent_r.c: Likewise.
12137 * shadow/getspnam.c: Likewise.
12138 * shadow/getspnam_r.c: Likewise.
12139 * gshadow/getsgent.c: Likewise.
12140 * gshadow/getsgent_r.c: Likewise.
12141 * gshadow/getsgnam.c: Likewise.
12142 * gshadow/getsgnam_r.c: Likewise.
12143 * inet/getnetbyad.c: Likewise.
12144 * inet/getnetbyad_r.c: Likewise.
12145 * inet/getnetbynm.c: Likewise.
12146 * inet/getnetbynm_r.c: Likewise.
12147 * inet/getnetent.c: Likewise.
12148 * inet/getnetent_r.c: Likewise.
12149 * inet/getproto.c: Likewise.
12150 * inet/getproto_r.c: Likewise.
12151 * inet/getprtent.c: Likewise.
12152 * inet/getprtent_r.c: Likewise.
12153 * inet/getprtname.c: Likewise.
12154 * inet/getprtname_r.c: Likewise.
12155 * inet/getrpcbyname.c: Likewise.
12156 * inet/getrpcbyname_r.c: Likewise.
12157 * inet/getrpcbynumber.c: Likewise.
12158 * inet/getrpcbynumber_r.c: Likewise.
12159 * inet/getrpcent.c: Likewise.
12160 * inet/getrpcent_r.c: Likewise.
12161 * inet/getaliasent.c: Likewise.
12162 * inet/getaliasent_r.c: Likewise.
12163 * inet/getaliasname.c: Likewise.
12164 * inet/getaliasname_r.c: Likewise.
12165 * nscd/getgrgid_r.c: Likewise.
12166 * nscd/getgrnam_r.c: Likewise.
12167 * nscd/gethstbyad_r.c: Likewise.
12168 * nscd/gethstbynm3_r.c: Likewise.
12169 * nscd/getpwnam_r.c: Likewise.
12170 * nscd/getpwuid_r.c: Likewise.
12171 * nscd/getsrvbynm_r.c: Likewise.
12172 * nscd/getsrvbypt_r.c: Likewise.
12173 * nscd/gai.c: Likewise.
12174
c53d909c
RM
12175 * configure.in (build_nscd): New substituted variable, set
12176 by --disable-build-nscd and defaults to $use_nscd.
12177 * configure: Regenerated.
12178 * config.make.in (build-nscd): New substituted variable.
12179 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12180 Change conditional to require [$(build-nscd) = yes] as well.
12181 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12182
3cc3ef96
RM
12183 [BZ# 13696]
12184 * configure.in (use_nscd): New substituted variable, set by
12185 --disable-nscd. If enabled, define USE_NSCD.
12186 * configure: Regenerated.
12187 * config.h.in: Add USE_NSCD.
12188 * config.make.in (use-nscd): New substituted variable.
12189 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12190 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12191 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12192 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12193 (CFLAGS-getgrnam_r.c): Likewise.
12194 (CFLAGS-initgroups.c): Likewise.
12195 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12196 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12197 Variables removed.
12198 * inet/getnetgrent_r.c
12199 (nscd_setnetgrent): New function, broken out of ...
12200 (setnetgrent): ... here. Call it.
12201 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12202 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12203 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12204 * nscd/Makefile (routines, aux): Move definitions after include of
12205 Makeconfig. Conditionalize on [$(use-nscd) != no].
12206 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12207 Conditionalize on [USE_NSCD].
12208 (is_nscd, nscd_init_cb): Likewise.
12209 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12210 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12211 * nss/nss_db/db-init.c: Likewise.
12212 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12213 [USE_NSCD].
12214 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12215 (make_request): Use it.
12216 (cache_valid_p): New function.
12217 (__check_pf): Use it.
12218 * NEWS: Add item for --disable-nscd.
12219
07e51550
DL
122202012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12221
12222 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12223 to support sed >= 4.2.1-20-ga9bf076.
12224 * configure: Regenerated.
12225
35a5b08b
RM
122262012-08-22 Roland McGrath <roland@hack.frob.com>
12227
12228 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12229 Conditionalize whole body on [IREL].
12230
8479f23a
JL
122312012-08-22 Jeff Law <law@redhat.com>
12232
12233 [BZ #14505]
12234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12235 if the family is PF_UNSPEC.
12236
48da0b21
MF
122372012-08-22 Mike Frysinger <vapier@gentoo.org>
12238
12239 * Makerules (lib-version): Rename from V.
12240 (install-lib-nosubdir): Change V to lib-version.
12241
15d0da8c
WS
122422012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12243
12244 [BZ #14252]
12245 * powerpc32/power6/wcschr.c: New file.
12246 * powerpc32/power6/wcscpy.c: New file.
12247 * powerpc32/power6/wcsrchr.c: New file.
12248 * powerpc64/power6/wcschr.c: New file.
12249 * powerpc64/power6/wcscpy.c: New file.
12250 * powerpc64/power6/wcsrchr.c: New file.
12251
bcca0895
MK
122522012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12253
12254 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12255 (two_way_short_needle): Use it.
5a4aaa33
RM
12256 * string/strstr.c (AVAILABLE1_USES_J): Define.
12257 * string/strcasestr.c: Likewise.
99677e57
MK
12258
12259 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12260 array references.
12261 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12262
400726de
MK
12263 [BZ #11607]
12264 * NEWS: Add an entry.
12265 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12266 define their defaults.
12267 (two_way_short_needle): Detect end-of-string on-the-fly.
12268 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12269 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12270 * string/bug-strcasestr1.c: New test.
12271 * string/Makefile: Run it.
12272
20a71f2c
MK
122732012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12274
12275 [BZ #11607]
12276 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12277 the first character.
12278
21ad0558
RM
122792012-08-21 Roland McGrath <roland@hack.frob.com>
12280
12281 * csu/elf-init.c (__libc_csu_irel): Function removed.
12282 * csu/libc-start.c (apply_irel): New function.
12283 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12284
0e1d9911
JM
122852012-08-21 Joseph Myers <joseph@codesourcery.com>
12286
12287 * sysdeps/unix/sysv/linux/kernel-features.h
12288 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12289 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12290 <kernel-features.h>.
12291 [__NR_fadvise64_64]: Make code unconditional.
12292 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12293 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12294 !__NR_fadvise64_64)]: Likewise.
12295 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12296 !__NR_fadvise64_64))]: Likewise.
12297 [__NR_fadvise64]: Make code unconditional.
12298 [!__NR_fadvise64]: Remove conditional code.
12299 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12300 <kernel-features.h>.
12301 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12302 unconditional.
12303 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12304 conditional code.
12305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12306 not include <kernel-features.h>.
12307 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12308 unconditional.
12309 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12310 conditional code.
12311 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12312 include <kernel-features.h>.
12313 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12314 unconditional.
12315 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12316 conditional code.
12317
14a50c9d
WS
123182012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12319
12320 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12321 slight instruction rearrangements per scrollpipe analysis.
12322 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12323
c0f4faf0
RM
123242012-08-20 Roland McGrath <roland@hack.frob.com>
12325
696da859
RM
12326 * manual/syslog.texi (syslog; vsyslog, closelog):
12327 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12328 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12329
c0f4faf0
RM
12330 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12331 DSOCAPS to match condition on defining it.
12332
348363b2
JM
123332012-08-20 Joseph Myers <joseph@codesourcery.com>
12334
a35cbf28
JM
12335 * sysdeps/unix/sysv/linux/kernel-features.h
12336 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12338 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12339 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12341 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12342 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12344 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12345 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12346
445f7ecd
JM
12347 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12348 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12349
348363b2
JM
12350 * sysdeps/unix/sysv/linux/kernel-features.h
12351 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12352 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12353 unconditional.
12354 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12355 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12356 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12357 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12358 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12359 Make code unconditional.
12360 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12361 (__mmap64) [!__NR_mmap2]: Likewise.
12362 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12363 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12364 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12365 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12366 [__NR_mmap2]: Make code unconditional.
12367 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12368 (__mmap64) [!__NR_mmap2]: Likewise.
12369
bc5bc0e5
AK
123702012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12371
12372 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12373
88d506de
AJ
123742012-08-18 Andreas Jaeger <aj@suse.de>
12375
12376 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12377
493387d2
MF
123782012-08-18 Mike Frysinger <vapier@gentoo.org>
12379
12380 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12381 * include/unistd.h (__have_sock_cloexec): Likewise.
12382 (__have_pipe2): Likewise.
12383 (__have_dup3): Likewise.
12384
a277af22
MF
123852012-08-18 Mike Frysinger <vapier@gentoo.org>
12386
12387 [BZ #9685]
12388 * include/unistd.h (__have_pipe2): Change define into an extern int.
12389 (__have_dup3): Likewise.
12390 * socket/have_sock_cloexec.c: Include fcntl.h.
12391 (__have_pipe2): New variable.
12392 (__have_dup3): Likewise.
12393
fdab8fd3
MF
123942012-08-17 Mike Frysinger <vapier@gentoo.org>
12395
12396 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12397
31035e80
MP
123982012-08-17 Marek Polacek <polacek@redhat.com>
12399
12400 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12401 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12402
3bd9e993
RM
124032012-08-17 Roland McGrath <roland@hack.frob.com>
12404
c91c505f
RM
12405 * configure.in: Add AC_SUBST for sysheaders.
12406 * configure: Regenerated.
12407 * config.make.in (sysheaders): New substituted variable.
12408
7c6f9d53
RM
12409 * sysdeps/unix/mkfifo.c: Moved ...
12410 * sysdeps/posix/mkfifo.c: ... here.
12411 * sysdeps/unix/mkfifoat.c: Moved ...
12412 * sysdeps/posix/mkfifoat.c: ... here.
12413
12414 * sysdeps/unix/utime.c: Moved ...
12415 * sysdeps/posix/utime.c: ... here.
12416
12417 * sysdeps/unix/time.c: Moved ...
12418 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
12419 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12420 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
12421
12422 * sysdeps/unix/nice.c: Moved ...
12423 * sysdeps/posix/nice.c: ... here.
12424
12425 * sysdeps/unix/alarm.c: Moved ...
12426 * sysdeps/posix/alarm.c: ... here.
12427
3bd9e993
RM
12428 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12429
d1f09384
JL
124302012-08-17 Jeff Law <law@redhat.com>
12431
12432 * intl/Makefile (codeset_mo): New variable.
12433 ($(codeset_mo)): New target.
12434 (tst-codeset.out): Depend on that. Remove explicit rule.
12435 (tst-gettext3.out, tst-gettext5.out): Likewise.
12436 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12437 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12438 * intl/tst-codeset.sh: Remove.
12439 * intl/tst-gettext3.sh: Likewise.
12440 * intl/tst-gettext5.sh: Likewise.
12441
2ae1ae5c
RM
124422012-08-17 Roland McGrath <roland@hack.frob.com>
12443
c31fdb83
RM
12444 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12445 * sysdeps/unix/syscalls.list: ... here.
12446
a0844057
RM
12447 * sysdeps/posix/getaddrinfo.c
12448 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12449 (gaiconf_init, gaiconf_reload): Use them.
12450 [!_STATBUF_ST_NSEC]
12451 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12452 Define using time_t rather than struct timespec.
12453
750c1f2a
RM
12454 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12455 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12456 Macros removed.
12457 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12458 [!NO_THREADS].
12459 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12460 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12461 Likewise.
12462
2ae1ae5c
RM
12463 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12464 __libc_cleanup_push argument.
12465
e66a42f5
RM
12466 * bits/param.h: New file.
12467 * misc/sys/param.h: New file.
12468 * include/sys/param.h: New file.
12469 * misc/Makefile (headers): Add bits/param.h.
12470 * sysdeps/generic/sys/param.h: File removed.
12471 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12472 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12473 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 12474 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 12475
b7c08a66
RM
12476 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12477 last change.
12478
b2e1c562
RM
12479 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12480 [_IO_MTSAFE_IO].
12481 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12482 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12483 New macros.
12484
c75ccd4c
RM
12485 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12486 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12487 rather than -D_IO_MTSAFE_IO conditionally.
12488 * stdio-common/Makefile (CPPFLAGS): Likewise.
12489 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12490 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12491 Use $(libio-mtsafe).
12492 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12493 of -D_IO_MTSAFE_IO.
12494 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12495 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12496 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12497 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12498 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12499 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12500 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12501 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12502 (CFLAGS-fread_u_chk.c): Likewise.
12503 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12504 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12505 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12506 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12507 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12508 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12509 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12510 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12511 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12512
12513 * libio/Makefile: Test [$(libc-reentrant) = yes]
12514 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12515
12516 * Makeconfig
12517 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12518 * sysdeps/pthread/configure: File removed.
12519 * sysdeps/pthread/Makeconfig: New file.
12520 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12521 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12522
d9195db8
GB
125232012-08-16 Gary Benson <gbenson@redhat.com>
12524
12525 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12526 unmapping the first object in a namespace.
12527
86466cd9
RM
125282012-08-16 Roland McGrath <roland@hack.frob.com>
12529
12530 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12531 (__internal_setnetgrent): ... this. Add internal_function to
12532 definition. Add libc_hidden_def.
12533 (setnetgrent): Update caller.
12534 (internal_endnetgrent): Renamed to ...
12535 (__internal_endnetgrent): ... this. Add internal_function to
12536 definition. Add libc_hidden_def.
12537 (endnetgrent): Update caller.
12538 (internal_getnetgrent_r): Renamed to ...
12539 (__internal_getnetgrent_r): ... this. Add internal_function to
12540 definition. Add libc_hidden_def.
12541 (__getnetgrent_r): Update caller.
12542 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12543
c3c8283c
JM
125442012-08-16 Joseph Myers <joseph@codesourcery.com>
12545
12546 * stdlib/longlong.h: Update from GCC.
12547
db1ee0a8
RM
125482012-08-16 Roland McGrath <roland@hack.frob.com>
12549
12550 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12551 on _QL, which is set by umul_ppmm but never used.
12552 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12553 variables, which are set by GMP macros but never used.
12554 * stdio-common/_itowa.c (_itowa): Likewise.
12555 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12556 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12557
30f69637
CD
125582012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12559
12560 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12561 struct La_sh_regs is not constant.
12562 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12563 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12564 and struct La_sparc64_regs are not constant.
12565
93a78ac4
JM
125662012-08-16 Joseph Myers <joseph@codesourcery.com>
12567
12568 * sysdeps/unix/sysv/linux/kernel-features.h
12569 (__ASSUME_POSIX_TIMERS): Remove.
12570 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12571 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12572 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12573 Make code unconditional.
12574 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12575 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12576 Make code unconditional.
12577 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12578 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12579 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12580 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12581 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12582 Make code unconditional.
12583 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12584 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12585 (__libc_missing_posix_timers): Remove.
12586
dd924cd7
RM
125872012-08-15 Roland McGrath <roland@hack.frob.com>
12588
4b4f2771
RM
12589 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12590 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12591
601c888b
RM
12592 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12593
176790a7
RM
12594 * elf/dl-sym.c: Include <stdlib.h>.
12595
329bc018
RM
12596 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12597 constants, which avoids warnings in 32-bit builds.
12598
e04e272d
RM
12599 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12600 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12601
952bf94a
RM
12602 * misc/lseek.c: File moved to ...
12603 * io/lseek.c: ... here.
12604
7c99b50a
RM
12605 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12606
dd924cd7
RM
12607 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12608 shifting LEN more than 31 bits at once.
12609
b3f479a8
LD
126102012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12611
12612 [BZ #14195]
8c4ae0d4
RM
12613 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12614 segmentation fault for a case of two empty input strings.
b3f479a8
LD
12615 * string/test-strncasecmp.c (check1): Renamed to...
12616 (bz12205): ...this.
12617 (bz14195): Add new testcase for two empty input strings and N > 0.
12618 (test_main): Call new testcase, adapt for renamed function.
12619
9c55864e
AJ
126202012-08-15 Andreas Jaeger <aj@suse.de>
12621
12622 [BZ #14090]
12623 * crypt/md5test2.c: New test, based on test supplied by Serge
12624 Belyshev <belyshev@depni.sinp.msu.ru>.
12625 * crypt/Makefile (xtests): Add md5test-giant..
12626 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12627
02dcb6c5
PE
126282012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12629
12630 [BZ #14090]
12631 * crypt/md5.c (md5_process_block): Don't assume the buffer
12632 length is less than 2**32.
12633 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12634 length is less than 2**64.
12635
a3f95dcc
RM
126362012-08-15 Roland McGrath <roland@hack.frob.com>
12637
be75d758
RM
12638 * string/str-two-way.h: Include <sys/param.h>.
12639 (MAX): Macro removed.
12640
7312ca90
RM
12641 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12642 Move #define and #undef of memmove to just before and after
12643 including <string.h>.
12644
9a0a5486
RM
12645 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12646 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12647 and after including <string.h>. Move declarations of
12648 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12649 to before #include "string/memmove.c".
12650
67cc348d
RM
12651 * include/dirent.h: Declare __getdirentries.
12652
a3f95dcc
RM
12653 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12654 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12655
ca98e171
MF
126562012-08-14 Mike Frysinger <vapier@gentoo.org>
12657
12658 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12659 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12660 * sysdeps/i386/configure: Regenerated.
12661 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12662 STABS_CURRENT_FILE, and STABS_FUN.
12663 (END): Remove call to STABS_FUN_END.
12664 (STABS_CURRENT_FILE1): Delete.
12665 (STABS_CURRENT_FILE): Likewise.
12666 (STABS_FUN): Likewise.
12667 (STABS_FUN_END): Likewise.
12668 (STABS_FUN2): Likewise.
12669 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12670 * sysdeps/x86_64/configure: Regenerated.
12671
5908bf46
RM
126722012-08-14 Roland McGrath <roland@hack.frob.com>
12673
12674 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 12675 * elf/dl-lookup.c: Likewise.
5908bf46 12676
f2c05b9e
JM
126772012-08-14 Joseph Myers <joseph@codesourcery.com>
12678
12679 * sysdeps/unix/sysv/linux/kernel-features.h
12680 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12681 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12682 unconditionally.
12683 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12684 unconditionally.
12685 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12686 condition on __ASSUME_CLONE_THREAD_FLAGS.
12687
e11f5155
AJ
126882012-08-14 Andreas Jaeger <aj@suse.de>
12689
12690 * sysdeps/i386/fpu/libm-test-ulps: Update.
12691
51a9ba86
MK
126922012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12693
2fdd4f78
AJ
12694 * include/atomic.h (atomic_exchange_and_add): Split into ...
12695 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12696 New atomic macros.
51a9ba86 12697
ba6cba9e
MT
126982012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12699
12700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12701
42443a47
JL
127022012-08-13 Jeff Law <law@redhat.com>
12703
12704 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12705 null byte in the output string.
12706
121dce05
JM
127072012-08-10 Joseph Myers <joseph@codesourcery.com>
12708
12709 * sysdeps/unix/sysv/linux/kernel-features.h
12710 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12711 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12712 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12713 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12714 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12715 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12716 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12717
bf51f568
JL
127182012-08-09 Jeff Law <law@redhat.com>
12719
12720 [BZ #13939]
12721 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12722 When avoid_arena is set, don't retry in the that arena. Pick the
12723 next one, whatever it might be.
12724 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12725 (arena_lock): Pass in new parameter to arena_get2.
12726 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12727 arena_get2.
12728 (__libc_malloc): Unify retrying after main arena failure with
12729 __libc_memalign version.
12730 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12731
f85fa270
L
127322012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12733
12734 [BZ #14166]
12735 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12736 to __redirect_strstr.
12737 (__strstr_sse42): Use typeof __redirect_strstr.
12738 (__strstr_ia32): Likewise.
12739 (__libc_strstr): New prototype.
12740 (strstr): Renamed to ...
12741 (__libc_strstr): This.
12742 (strstr): New strong alias of __libc_strstr.
12743 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12744 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12745 __redirect_time.
12746 Include <time.h>.
12747 (__libc_time): New prototype.
12748 (time_ifunc): Replace time with __libc_time.
12749 (time): New strong alias and hidden definition of __libc_time.
12750 (__GI_time): Remove strong alias.
12751 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12752 Include <stddef.h>.
12753 (memmove): Redefined to __redirect_memmove.
12754 (__memmove_sse2): Use typeof __redirect_memmove.
12755 (__memmove_ssse3): Likewise.
12756 (__memmove_ssse3_back): Likewise.
12757 (__libc_memmove): New prototype.
12758 (memmove): Renamed to ...
12759 (__libc_memmove): This.
12760 (memmove): New strong alias of __libc_memmove.
12761
33b4a91e
MS
127622012-08-08 Mark Salter <msalter@redhat.com>
12763
12764 * elf/elf.h
12765 (R_MN10300_TLS_GD): Define.
12766 (R_MN10300_TLS_LD): Likewise.
12767 (R_MN10300_TLS_LDO): Likewise.
12768 (R_MN10300_TLS_GOTIE): Likewise.
12769 (R_MN10300_TLS_IE): Likewise.
12770 (R_MN10300_TLS_LE): Likewise.
12771 (R_MN10300_TLS_DTPMOD): Likewise.
12772 (R_MN10300_TLS_DTPOFF): Likewise.
12773 (R_MN10300_TLS_TPOFF): Likewise.
12774 (R_MN10300_SYM_DIFF): Likewise.
12775 (R_MN10300_ALIGN): Likewise.
12776 (R_MN10300_NUM): Update.
12777
b36137f1
JM
127782012-08-08 Joseph Myers <joseph@codesourcery.com>
12779
12780 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12781 Remove.
12782
cdd915fd
RM
127832012-08-08 Roland McGrath <roland@hack.frob.com>
12784
a2433aac
RM
12785 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12786
cdd915fd
RM
12787 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12788 sysdeps/unix -> sysdeps/posix move.
12789 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12790
bf9b740a
AM
127912012-08-07 Allan McRae <allan@archlinux.org>
12792
12793 [BZ #14303]
12794 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12795 (SUNOS_CPP): Likewise.
12796 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12797 not found.
12798 (open_input): Call CPP using execvp.
12799
93df14ee
JM
128002012-08-07 Joseph Myers <joseph@codesourcery.com>
12801
12802 * sysdeps/unix/sysv/linux/kernel-features.h
12803 (__ASSUME_PROT_GROWSUPDOWN): Remove.
12804 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12805 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12806 (__ASSUME_WAITID_SYSCALL): Likewise.
12807 * sysdeps/unix/sysv/linux/dl-execstack.c
12808 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12809 code unconditional.
12810 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12811 conditional code.
12812 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12813 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12814 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12815 code.
12816 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12817 unconditional.
12818 [__ASSUME_WAITID_SYSCALL]: Likewise.
12819 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12820
d34689de
RM
128212012-08-07 Roland McGrath <roland@hack.frob.com>
12822
a281decc
RM
12823 * sysdeps/unix/closedir.c: Renamed to ...
12824 * sysdeps/posix/closedir.c: ... here.
12825 * sysdeps/unix/dirfd.c: Renamed to ...
12826 * sysdeps/posix/dirfd.c: ... here.
12827 * sysdeps/unix/dirstream.h: Renamed to ...
12828 * sysdeps/posix/dirstream.h: ... here.
12829 * sysdeps/unix/fdopendir.c: Renamed to ...
12830 * sysdeps/posix/fdopendir.c: ... here.
12831 * sysdeps/unix/opendir.c: Renamed to ...
12832 * sysdeps/posix/opendir.c: ... here.
12833 * sysdeps/unix/readdir.c: Renamed to ...
12834 * sysdeps/posix/readdir.c: ... here.
12835 * sysdeps/unix/readdir_r.c: Renamed to ...
12836 * sysdeps/posix/readdir_r.c: ... here.
12837 * sysdeps/unix/rewinddir.c: Renamed to ...
12838 * sysdeps/posix/rewinddir.c: ... here.
12839 * sysdeps/unix/seekdir.c: Renamed to ...
12840 * sysdeps/posix/seekdir.c: ... here.
12841 * sysdeps/unix/telldir.c: Renamed to ...
12842 * sysdeps/posix/telldir.c: ... here.
12843 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12844 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12845 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12846 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12847
22895b47
RM
12848 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12849 * bits/fcntl.h: ... here.
12850
707a53b6
RM
12851 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12852 not 0.
12853 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12854 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12855 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12856 (struct flock): Move l_start, l_len to the beginning.
12857 Use __pid_t for l_pid.
12858 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12859 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12860 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12861 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12862 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12863 [__USE_LARGEFILE64] (struct flock64): New type.
12864 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12865
f0bd3e25
RM
12866 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12867 * bits/dirent.h: ... here.
12868
d34689de
RM
12869 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12870 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12871
6dad2c06
JM
128722012-08-07 Joseph Myers <joseph@codesourcery.com>
12873
12874 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12875 Change from 2.6.0 to 2.6.16.
12876 * sysdeps/unix/sysv/linux/configure: Regenerated.
12877 * sysdeps/unix/sysv/linux/kernel-features.h
12878 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12879 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12880 version.
12881 (__ASSUME_UTIMES): Likewise.
12882 (__ASSUME_CLONE_STOPPED): Remove.
12883 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12884 architectures, not kernel version.
12885 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12886 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12887 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12888 (__ASSUME_WAITID_SYSCALL): Likewise.
12889 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12890 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12891 * README: State 2.6.16 as minimum Linux kernel version. Do not
12892 refer to older versions.
12893
03af9520
RM
128942012-08-06 Roland McGrath <roland@hack.frob.com>
12895
8e49df1d
RM
12896 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12897 Define alphasort64 as an alias.
12898 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12899 Define versionsort64 as an alias.
12900 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12901 Define scandir64 as an alias.
12902 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12903 Define scandirat64 as an alias.
12904 * dirent/alphasort64.c (alphasort64):
12905 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12906 * dirent/versionsort64.c: Likewise.
12907 * dirent/scandir64.c: Likewise.
12908 * dirent/scandirat64.c: Likewise.
12909 * sysdeps/wordsize-64/alphasort.c: File removed.
12910 * sysdeps/wordsize-64/alphasort64.c: File removed.
12911 * sysdeps/wordsize-64/scandir.c: File removed.
12912 * sysdeps/wordsize-64/scandir64.c: File removed.
12913 * sysdeps/wordsize-64/scandirat.c: File removed.
12914 * sysdeps/wordsize-64/scandirat64.c: File removed.
12915 * sysdeps/wordsize-64/versionsort.c: File removed.
12916 * sysdeps/wordsize-64/versionsort64.c: File removed.
12917 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12918 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12919 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12920 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12921 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12922 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12923 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12924 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12925
12926 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12928 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12930 [defined __arch64__ || defined __sparcv9]
12931 (__INO_T_MATCHES_INO64_T): New macro.
12932 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12933 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12934 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12935 * sysdeps/unix/sysv/linux/bits/dirent.h
12936 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12937 (_DIRENT_MATCHES_DIRENT64): New macro.
12938
03af9520
RM
12939 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12940 Define lockf64 as an alias.
12941 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12942 Define fseeko64 as an alias.
12943 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12944 Define ftello64 as an alias.
12945 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12946 Define _IO_fgetpos64 and fgetpos64 as aliases.
12947 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12948 Define _IO_fsetpos64 and fsetpos64 as aliases.
12949 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12950 Conditionalize body on this.
12951 * libio/fseeko64.c: Likewise.
12952 * libio/ftello64.c: Likewise.
12953 * libio/iofgetpos64.c: Likewise.
12954 * libio/iofsetpos64.c: Likewise.
12955 * sysdeps/wordsize-64/lockf.c: File removed.
12956 * sysdeps/wordsize-64/lockf64.c: File removed.
12957 * sysdeps/wordsize-64/fseeko.c: File removed.
12958 * sysdeps/wordsize-64/fseeko64.c: File removed.
12959 * sysdeps/wordsize-64/ftello.c: File removed.
12960 * sysdeps/wordsize-64/ftello64.c: File removed.
12961 * sysdeps/wordsize-64/iofgetpos.c: File removed.
12962 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12963 * sysdeps/wordsize-64/iofsetpos.c: File removed.
12964 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12965 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12966 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12967 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12968 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12969 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12970 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12971 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12972 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12973 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12974 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12975
12976 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12977 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12978 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12979 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12980 [defined __arch64__ || defined __sparcv9]
12981 (__OFF_T_MATCHES_OFF64_T): New macro.
12982 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12983 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12984 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12985 (__OFF_T_MATCHES_OFF64_T): New macro.
12986
c5757acd
L
129872012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12988
12989 * stdlib/secure-getenv.c (__secure_getenv): Replace
12990 GLIBC_2_16 with GLIBC_2_17.
12991
3a31811e
L
129922012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12993
12994 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12995 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12996
faa2bccb
DM
129972012-08-03 David S. Miller <davem@davemloft.net>
12998
12999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13000
85fe1997
JM
130012012-08-03 Joseph Myers <joseph@codesourcery.com>
13002
13003 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13004 Remove.
13005 (__ASSUME_CORRECT_SI_PID): Likewise.
13006 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13007 (__ASSUME_TMPFS_NAME): Likewise.
13008 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13009 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13010 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13011 (HAVE_AUX_SECURE): Make definition unconditional.
13012 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13013 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13014
4f75b7a0
RM
130152012-08-03 Roland McGrath <roland@hack.frob.com>
13016
13017 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13018 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13019 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13020 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13021 __eloop_threshold instead of SYMLOOP_MAX.
13022
13023 * sysdeps/generic/eloop-threshold.h: New file.
13024 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13025 of MAXSYMLINKS.
13026 * elf/chroot_canon.c (chroot_canon): Likewise.
13027
7aab07e4
JM
130282012-08-03 Joseph Myers <joseph@codesourcery.com>
13029
13030 [BZ #13717]
13031 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13032 Change to 2.6.0 everywhere.
13033 * sysdeps/unix/sysv/linux/configure: Regenerated.
13034 * sysdeps/unix/sysv/linux/kernel-features.h
13035 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13036 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13037 kernel versions.
13038 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13039 (__ASSUME_FUTEX_REQUEUE): Remove.
13040 (__ASSUME_STATFS64): Define unconditionally.
13041 (__ASSUME_AT_SECURE): Likewise.
13042 (__ASSUME_CORRECT_SI_PID): Likewise.
13043 (__ASSUME_TGKILL): Define without depending on kernel version for
13044 i386.
13045 (__ASSUME_UTIMES): Likewise.
13046 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13047 kernel version.
13048 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13049 (__ASSUME_TMPFS_NAME): Likewise.
13050 * README: Update reference to Linux kernel versions.
13051
b67e9372
MP
130522012-08-02 Marek Polacek <polacek@redhat.com>
13053
1f529f7d 13054 [BZ# 14150]
b67e9372
MP
13055 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13056 libc_cv_asm_type_prefix with %.
13057 * configure: Regenerated.
d2441631
RM
13058 * include/libc-symbols.h: Remove comment about
13059 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13060 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13061 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13062 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13063 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13064 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13065 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13066 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13067 * elf/tst-unique2mod1.c: Likewise.
13068 * elf/tst-unique1mod2.c: Likewise.
13069 * elf/tst-unique1mod1.c: Likewise.
13070 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13071 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13072 Replace ASM_TYPE_DIRECTIVE with .type.
13073 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13074 * sysdeps/i386/sysdep.h: Likewise.
13075 * sysdeps/x86_64/sysdep.h: Likewise.
13076 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13078 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13079 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13080 * sysdeps/powerpc/powerpc32/sysdep.h:
13081 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13082 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13083 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13084 * sysdeps/i386/fpu/e_powf.S: Likewise.
13085 * sysdeps/i386/fpu/e_expl.S: Likewise.
13086 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13087 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13088 * sysdeps/i386/fpu/e_pow.S: Likewise.
13089 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13090 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13091 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13092 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13093 * sysdeps/i386/fpu/e_log2.S: Likewise.
13094 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13095 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13096 * sysdeps/i386/fpu/e_powl.S: Likewise.
13097 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13098 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13099 * sysdeps/i386/fpu/e_logl.S: Likewise.
13100 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13101 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13102 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13103 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13104 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13105 * sysdeps/i386/fpu/e_log.S: Likewise.
13106 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13107 * sysdeps/i386/fpu/e_logf.S: Likewise.
13108 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13109 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13110 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13111 * sysdeps/i386/fpu/e_log10.S: Likewise.
13112 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13113 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13114 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13115 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13116 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13117 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13118 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13119 * sysdeps/i386/i686/strtok.S: Likewise.
13120 * sysdeps/i386/i386-mcount.S: Likewise.
13121 * sysdeps/i386/strtok.S: Likewise.
13122 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13123 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13124 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13125 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13126 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13127 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13128 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13129 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13130 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13131 * sysdeps/x86_64/_mcount.S: Likewise.
13132 * sysdeps/x86_64/strtok.S: Likewise.
13133 * sysdeps/sh/_mcount.S: Likewise.
13134
2747bf9a
RM
131352012-08-01 Roland McGrath <roland@hack.frob.com>
13136
13137 * libio/iofopen.c: Include <fcntl.h>.
13138 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13139 (_IO_fopen64, fopen64): Define as aliases.
13140 * libio/iofopen64.c: Include <fcntl.h>.
13141 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13142 Conditionalize body on this.
13143 * sysdeps/wordsize-64/iofopen.c: File removed.
13144 * sysdeps/wordsize-64/iofopen64.c: File removed.
13145
3fb791b8
MP
131462012-08-01 Marek Polacek <polacek@redhat.com>
13147
13148 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13149 Use dlfcn directly instead of a variable.
13150 (binfmt-subdir): Do not define.
13151 (dlfcn): Likewise.
13152
a9f1039f
JM
131532012-08-01 Joseph Myers <joseph@codesourcery.com>
13154
23bddc06
JM
13155 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13156 Remove all definitions.
13157 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13158 <kernel-features.h>.
13159 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13160 (miss_F_GETOWN_EX): Remove all definitions.
13161 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13162 macro definition.
13163 [!__ASSUME_FCNTL64]: Remove conditional code.
13164 [__ASSUME_FCNTL64]: Make code unconditional.
13165 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13166 <kernel-features.h>.
13167 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13168 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13169 (lockf64) [__NR_fcntl64]: Make code unconditional.
13170 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13171
a9f1039f
JM
13172 * sysdeps/unix/sysv/linux/kernel-features.h
13173 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13174 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13175 Make code unconditional.
13176 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13177 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13179 [__NR_vfork]: Make code unconditional.
13180 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13181 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13183 [__NR_vfork]: Make code unconditional.
13184 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13185 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13186
09c0ee5f
RM
131872012-08-01 Roland McGrath <roland@hack.frob.com>
13188
48aec5b9
RM
13189 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13190 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13191
cd97c966
RM
13192 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13193 Define mkstemp64 as an alias.
3f55550c
RM
13194 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13195 Define mkstemps64 as an alias.
cd97c966
RM
13196 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13197 Define mkostemp64 as an alias.
b8625cfc
RM
13198 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13199 Define mkostemps64 as an alias.
cd97c966
RM
13200 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13201 Conditionalize body on this.
13202 * misc/mkostemp64.c: Likewise.
b8625cfc 13203 * misc/mkostemps64.c: Likewise.
3f55550c 13204 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13205 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13206 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13207 * sysdeps/wordsize-64/mkostemp.c: File removed.
13208 * sysdeps/wordsize-64/mkstemp.c: File removed.
13209 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13210 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13211 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13212 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13213
09c0ee5f
RM
13214 [BZ #14138]
13215 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13216 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13217 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13218 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13219
13220 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13221 compat_symbol macros from <shlib-compat.h> rather than the underlying
13222 default_symbol_version and symbol_version macros, so that DEFAULT
13223 lines in shlib-versions are respected.
13224 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13225
7e66ee51
FW
132262012-08-01 Florian Weimer <fweimer@redhat.com>
13227
13228 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13229 Declare with warn_unused_result.
13230 (setgid, setregid, setegid, setresgid): Likewise.
13231 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13232 Likewise.
13233 * WUR-REPORT: Remove set*id functions.
13234
d2a54255
PT
132352012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13236
13237 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13238
7ecdb005
RM
132392012-07-31 Roland McGrath <roland@hack.frob.com>
13240
b4180a5e 13241 [BZ #10191]
789bd351
RM
13242 * include/sys/socket.h (__libc_accept, __libc_accept4):
13243 Add attribute_hidden.
13244 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13245
40ce302d
RM
13246 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13247 use of PTR_MANGLE.
13248 * inet/getnetgrent_r.c (setup): Likewise.
13249
7ecdb005
RM
13250 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13251
e2eabb2c
DM
132522012-07-31 David S. Miller <davem@davemloft.net>
13253
13254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13255
d0419dbf
JM
132562012-07-31 Joseph Myers <joseph@codesourcery.com>
13257
13258 [BZ #13629]
13259 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13260 value between 1.0 and 2.0 and smaller part has absolute value less
13261 than 1.0.
13262 * math/s_clog10.c (__clog10): Likewise.
13263 * math/s_clog10f.c (__clog10f): Likewise.
13264 * math/s_clog10l.c (__clog10l): Likewise.
13265 * math/s_clogf.c (__clogf): Likewise.
13266 * math/s_clogl.c (__clogl): Likewise.
13267 * math/libm-test.inc (clog_test): Add more tests.
13268 (clog10_test): Likewise.
13269 * sysdeps/i386/fpu/libm-test-ulps: Update.
13270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13271
2bc13872
FW
132722012-07-31 Florian Weimer <fweimer@redhat.com>
13273
13274 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13275 Exit with zero in case no suitable GID is found, and write a
13276 message to standard error.
13277
bea9b193
RM
132782012-07-30 Roland McGrath <roland@hack.frob.com>
13279
13280 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13281 rather than to 1.
13282 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13283 (MAXPATHLEN): Removed.
13284 (NOGROUP, NODEV): New macros.
13285 (setbit, clrbit, isset, isclr): New macros.
13286 (howmany, roundup, powerof2): New macros.
13287 (DEV_BSIZE): New macro.
13288
13289 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13290 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13291
13292 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13293 definition on [!__NO_LONG_DOUBLE_MATH].
13294
13295 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13296 PTR_MANGLE and PTR_DEMANGLE.
13297
13298 * socket/accept4.c (accept4): Rename to __libc_accept4.
13299 Define accept4 as a weak alias.
13300
13301 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13302 on [_DIRENT_HAVE_D_TYPE].
13303 * io/ftw.c (ftw_dir): Likewise.
13304
13305 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13306
13307 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13308
13309 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13310 Use the BSD numbers rather than the arbitrary ones we had.
13311 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13312 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13313 (SIGXCPU, SIGXFSZ): New macros.
13314 (_NSIG): Now 32.
13315
13316 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13317 initializer on [_LIBC_REENTRANT].
13318
13319 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13320 definitions inside [_POSIX_MAPPED_FILES].
13321
13322 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13323
13324 * dirent/opendir.c: Include <fcntl.h>.
13325
13326 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13327 (__libc_getspecific): Likewise.
13328 (__libc_key_create): Likewise.
13329
13330 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13331 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13332 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13333 (tmpfile64): Define as alias.
13334 * sysdeps/wordsize-64/tmpfile.c: File removed.
13335 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13336 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13337 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13338
13339 * stdio-common/vfscanf.c: Include <stdbool.h>.
13340 * nss/makedb.c: Likewise.
13341 * stdio-common/_i18n_number.h: Likewise.
13342 * argp/argp-help.c: Likewise.
13343 * posix/wordexp.c: Likewise.
13344 * sysdeps/posix/spawni.c: Likewise.
13345 * nss/nss_files/files-initgroups.c: Likewise.
13346 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13347 * nss/nss_files/files-initgroups.c: Likewise.
13348 * nss/nss_db/db-netgrp.c: Likewise.
13349 * nss/nss_db/db-initgroups.c: Likewise.
13350 * io/fchmodat.c: Include <sys/stat.h>.
13351
13352 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13353 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13354
13355 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13356 [HAVE_MMAP].
13357
13358 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13359 Add multiple inclusion protection.
13360
e5abc686
DM
133612012-07-27 David S. Miller <davem@davemloft.net>
13362
13363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13364
815e6fa3
GB
133652012-07-27 Gary Benson <gbenson@redhat.com>
13366
13367 [BZ #14298]
13368 * elf/rtld.c: Include <stap-probe.h>.
13369 (dl_main): Added static probes "init_start" and "init_complete".
13370 * elf/dl-load.c: Include <stap-probe.h>.
13371 (lose): Take new parameter "nsid".
13372 Added static probe "map_failed".
13373 (_dl_map_object_from_fd): Pass namespace id to lose.
13374 Added static probe "map_start".
13375 (open_verify): Pass namespace id to lose.
13376 * elf/dl-open.c: Include <stap-probe.h>.
13377 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13378 and "reloc_complete".
13379 * elf/dl-close.c: Include <stap-probe.h>.
13380 (_dl_close_worker): Added static probes "unmap_start" and
13381 "unmap_complete".
13382 * elf/rtld-debugger-interface.txt: New file documenting the above.
13383
9f98c16c
RM
133842012-07-26 Roland McGrath <roland@hack.frob.com>
13385
13386 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13387 rather than a string variable.
13388 * sunrpc/rpc_main.c (h_output): Likewise.
13389 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13390
f3c22df3
PT
133912012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13392
13393 * inet/check_native.c: New file.
13394
3129cfc6
JM
133952012-07-26 Joseph Myers <joseph@codesourcery.com>
13396
da865e95
JM
13397 [BZ #13629]
13398 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13399 if larger part has absolute value 1.0.
13400 * math/s_clog10.c (__clog10): Likewise.
13401 * math/s_clog10f.c (__clog10f): Likewise.
13402 * math/s_clog10l.c (__clog10l): Likewise.
13403 * math/s_clogf.c (__clogf): Likewise.
13404 * math/s_clogl.c (__clogl): Likewise.
13405 * math/libm-test.inc (clog_test): Add more tests.
13406 (clog10_test): Likewise.
13407 * sysdeps/i386/fpu/libm-test-ulps: Update.
13408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13409
3129cfc6
JM
13410 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13411 (pltexit): Likewise.
13412 (La_regs): Likewise.
13413 (La_retval): Likewise.
13414 (int_retval): Likewise.
13415 Update #error for removed macros to refer only to definitions in
13416 tst-audit.h.
13417 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13418 macro.
13419 (pltexit): Likewise.
13420 (La_regs): Likewise.
13421 (La_retval): Likewise.
13422 (int_retval): Likewise.
13423 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13424 macro.
13425 (pltexit): Likewise.
13426 (La_regs): Likewise.
13427 (La_retval): Likewise.
13428 (int_retval): Likewise.
13429 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13430 macro.
13431 (pltexit): Likewise.
13432 (La_regs): Likewise.
13433 (La_retval): Likewise.
13434 (int_retval): Likewise.
13435 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13436 macro.
13437 (pltexit): Likewise.
13438 (La_regs): Likewise.
13439 (La_retval): Likewise.
13440 (int_retval): Likewise.
13441 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13442 macro.
13443 (pltexit): Likewise.
13444 (La_regs): Likewise.
13445 (La_retval): Likewise.
13446 (int_retval): Likewise.
13447 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13448 macro.
13449 (pltexit): Likewise.
13450 (La_regs): Likewise.
13451 (La_retval): Likewise.
13452 (int_retval): Likewise.
13453 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13454 macro definitions in tst-audit.h.
13455 * sysdeps/i386/tst-audit.h: New file.
13456 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13457 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13458 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13459 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13460 * sysdeps/sh/tst-audit.h: Likewise.
13461 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13462 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13463 * sysdeps/x86_64/tst-audit.h: Likewise.
13464
bfc07087
AJ
134652012-07-26 Andreas Jaeger <aj@suse.de>
13466
b1b2aaf8
AJ
13467 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13468 ptrace.
13469
13470 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13471 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13472 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13473 PTRACE_O_MASK.
13474 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13475 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13476 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13477
bfc07087
AJ
13478 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13479 value.
13480
13481 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13482 _sigsys.
13483 (si_call_addr, si_syscall, si_arch): Define new macro.
13484 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13485 _sigsys.
13486 (si_call_addr, si_syscall, si_arch): Define new marcro.
13487 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13488 _sigsys.
13489 (si_call_addr, si_syscall, si_arch): Define new macro.
13490 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13491 _sigsys.
13492 (si_call_addr, si_syscall, si_arch): Define new macro.
13493
89b4b02f
JM
134942012-07-25 Joseph Myers <joseph@codesourcery.com>
13495
13496 [BZ #13717]
13497 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13498 Change to 2.4.21 where previously 2.4.1.
13499 * sysdeps/unix/sysv/linux/configure: Regenerated.
13500 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13501 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13502 Linux kernel version.
13503 (__ASSUME_STD_AUXV): Remove.
13504 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13505 kernel version.
13506 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13507 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13508 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13509 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13510 (__ASSUME_NETLINK_SUPPORT): Likewise.
13511 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13512 (__no_netlink_support): Remove conditional definition.
13513 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13514 Remove.
13515 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13516 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13517 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13518 (if_nameindex_ioctl): Remove.
13519 (if_nameindex_netlink): Do not handle __no_netlink_support.
13520 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13521 code.
13522 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13523 Remove conditional code.
13524 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13525 code.
13526 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13527 unconditional.
13528 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13529 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13530 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13531 Remove.
13532 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13533 [!__ASSUME_STD_AUXV]: Remove conditional code.
13534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13535 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13536 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13538 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13539 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13540 code.
13541 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13543 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13544 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13545 conditional code.
13546 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13548 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13549 code.
13550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13551 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13552 conditional code.
13553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13554 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13555 code unconditional.
13556 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13557 conditional code.
13558 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13559 unconditional.
13560 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13561 conditional code.
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13563 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13564 unconditional.
13565 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13566 conditional code.
13567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13568 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13569 code unconditional.
13570 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13571 conditional code.
13572 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13573 unconditional.
13574 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13575 conditional code.
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13577 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13578 code unconditional.
13579 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13580 conditional code.
13581 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13582 unconditional.
13583 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13584 conditional code.
13585
842a39cd
AS
135862012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13587
13588 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13589 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13590 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13591 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13592 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13593 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13594 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13595 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13596 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13597 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13598 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13599 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13600 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13601 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13602 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13603 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13604 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13605 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13606 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13608 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13609 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13610 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13611
84b3fd84
FW
136122012-07-25 Florian Weimer <fweimer@redhat.com>
13613
13614 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
13615 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13616 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13617 Introduce __libc_secure_getenv.
0c7936d5
FW
13618 * stdlib/Versions (2.17): Add secure_getenv
13619 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13620 * stdlib/secure-getenv.c: Rename __secure_getenv to
13621 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13622 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
13623 * stdlib/tst-secure-getenv.c: New.
13624 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
13625 * manual/startup.texi (Environment Access): Document
13626 secure_getenv.
84b3fd84
FW
13627 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13628 __libc_secure_getenv.
13629 * inet/ruserpass.c (ruserpass): Likewise.
13630 * malloc/mtrace.c (mtrace): Likewise.
13631 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 13632 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
13633 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13634 * sysdeps/posix/tempname.c: Likewise. Evaluate
13635 HAVE_SECURE_GETENV.
13636 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 13637 __secure_getenv to __libc_secure_getenv.
84b3fd84 13638 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
13639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13640 Likewise.
13641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13642 Likewise.
13643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 13650
56e49b71
JM
136512012-07-25 Joseph Myers <joseph@codesourcery.com>
13652
13653 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13654 (struct La_i86_retval): Likewise.
13655 (struct La_x86_64_regs): Likewise.
13656 (struct La_x86_64_retval): Likewise.
13657 (struct La_x32_regs): Likewise.
13658 (struct La_x32_retval): Likewise.
13659 (struct La_ppc32_regs): Likewise.
13660 (struct La_ppc32_retval): Likewise.
13661 (struct La_ppc64_regs): Likewise.
13662 (struct La_ppc64_retval): Likewise.
13663 (struct La_sh_regs): Likewise.
13664 (struct La_sh_retval): Likewise.
13665 (struct La_s390_32_regs): Likewise.
13666 (struct La_s390_32_retval): Likewise.
13667 (struct La_s390_64_regs): Likewise.
13668 (struct La_s390_64_retval): Likewise.
13669 (struct La_sparc32_regs): Likewise.
13670 (struct La_sparc32_retval): Likewise.
13671 (struct La_sparc64_regs): Likewise.
13672 (struct La_sparc64_retval): Likewise.
13673 (struct audit_ifaces): Remove architecture-specific pltenter and
13674 pltexit members.
13675 * sysdeps/i386/ldsodefs.h: New file.
13676 * sysdeps/powerpc/ldsodefs.h: Likewise.
13677 * sysdeps/s390/ldsodefs.h: Likewise.
13678 * sysdeps/sh/ldsodefs.h: Likewise.
13679 * sysdeps/sparc/ldsodefs.h: Likewise.
13680 * sysdeps/x86_64/ldsodefs.h: Likewise.
13681
354691b7
MP
136822012-07-25 Marek Polacek <polacek@redhat.com>
13683
13684 [BZ #6808]
13685 * math/libm-test.inc (yn_test): Add another test.
13686 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13687 to ERANGE when the result is +-Inf.
13688 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13689 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13690 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13691 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13692
bf9e2071
JM
136932012-07-24 Joseph Myers <joseph@codesourcery.com>
13694
13695 * conform/data/time.h-data (NULL): Use macro-constant. Require
13696 equal to 0.
13697 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13698 clock_t.
13699 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13700
57633811
TS
137012012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13702
13703 * configure.in <sysdeps resolving>: Correct printing
13704 Implies_before.
13705 * configure: Regenerate.
13706
c23c33b0
TS
137072012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13708
13709 * math/w_ilogb.c: Include <limits.h>.
13710 * math/w_ilogbl.c: Likewise.
13711
b5982523
JM
137122012-07-20 Joseph Myers <joseph@codesourcery.com>
13713
13714 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13715 va_copy. Document allowing for unavailable va_copy only as
13716 pre-C99 compatibility.
13717 * manual/string.texi (Copying and Concatenation): Use va_copy
13718 instead of __va_copy in concat example.
13719
ac4ea442
PT
137202012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13721
13722 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13723 (__sendto): Use create_address_port. Initialize APORT and deallocate
13724 it if not null.
13725
f98eafbd
PT
13726 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13727 with O_NOLINK passed to __file_name_lookup.
13728
898c7aab
PT
13729 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13730 with O_NOLINK passed to __file_name_lookup.
13731
0ced335a
PT
13732 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13733 negative N or less than NGIDS.
13734
b3404dbd
PT
13735 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13736 type to string_t. Set ERANGE as errno and return it if NAME is not big
13737 enough. Use memcpy instead of strncpy.
13738
0f48659e
JM
137392012-07-20 Joseph Myers <joseph@codesourcery.com>
13740
13741 * elf/Makefile (check-data): Remove.
13742 (localplt.data): New vpath directive.
13743 ($(objpfx)check-localplt.out): Use localplt.data from vpath
13744 instead of $(check-data).
13745 * scripts/data/localplt-generic.data: Move to ...
13746 * sysdeps/generic/localplt.data: ... here.
13747 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13748 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13749 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13751 ... here.
13752 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13754 ... here.
13755 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13757 ... here.
13758 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13760 ... here.
13761 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13763 ... here.
13764 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13766 ... here.
13767
d37cbdaa
AZ
137682012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13769
13770 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13771 PPC32 and PPC64 files.
13772 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13773 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13774
46f85fc2
AK
137752012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13776
13777 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13778 __makecontext_ret to ...
13779 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13780 ... here and call exit if uc_link is NULL. New file.
13781 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13782 __makecontext_ret.S.
13783 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13784 __makecontext_ret to ...
13785 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13786 ... here and call exit if uc_link is NULL. New file.
13787 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13788 __makecontext_ret.S.
13789
08f43f9b
AK
137902012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13791
13792 * elf/elf.h (R_390_IRELATIVE): New definition.
13793 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13794 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
13795 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13796 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13797 (elf_machine_lazy_rel): Likewise.
13798 * sysdeps/s390/dl-irel.h: New file.
13799 * sysdeps/s390/s390-64/memcpy.S: New asm code.
13800 * sysdeps/s390/s390-64/memset.S: New asm code.
13801 * sysdeps/s390/s390-64/memcmp.S: New asm code.
13802 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13803 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13804 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13805 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13806 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13807 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13808 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13809 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13810 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13811 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13812 * sysdeps/s390/s390-32/memcpy.S: New asm code.
13813 * sysdeps/s390/s390-32/memset.S: New asm code.
13814 * sysdeps/s390/s390-32/memcmp.S: New asm code.
13815
3b05db33
MP
138162012-07-17 Marek Polacek <polacek@redhat.com>
13817
13818 [BZ #14349]
13819 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13820 * sysdeps/s390/s390-64/configure.in: Likewise.
13821 * sysdeps/sparc/configure.in: Likewise.
13822 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13823 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13824 * sysdeps/i386/configure.in: Likewise.
13825 * sysdeps/x86_64/configure.in: Likewise.
13826 * sysdeps/sh/configure.in: Likewise.
13827 * sysdeps/s390/s390-32/configure: Regenerated.
13828 * sysdeps/s390/s390-64/configure: Likewise.
13829 * sysdeps/x86_64/configure: Likewise.
13830 * sysdeps/sh/configure: Likewise.
13831 * sysdeps/powerpc/powerpc64/configure: Likewise.
13832 * sysdeps/powerpc/powerpc32/configure: Likewise.
13833 * sysdeps/sparc/configure: Likwise.
13834 * sysdeps/i386/configure: Likewise.
13835
a66877c6
MP
13836 * elf/dl-open.c: Comment fixes.
13837
cfc82fd8
JM
138382012-07-17 Joseph Myers <joseph@codesourcery.com>
13839
bd29910a
JM
13840 * Makefile [CXX] (check-data): Remove.
13841 [CXX] (c++-types.data): New vpath directive.
13842 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13843 vpath. Do not allow for C++ type data being missing.
13844 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13845 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13846 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
13847 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
13848 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
13849 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13850 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13852 ... here.
13853 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13855 ... here.
13856 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13858 ... here.
13859 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13861 ... here.
13862 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13864 ... here.
13865 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13867 ... here.
13868 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13870 ... here.
13871 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13873
cfc82fd8
JM
13874 * elf/tls-macros.h (TLS_LE): Move architecture-specific
13875 definitions to architecture-specific files.
13876 (TLS_IE): Likewise.
13877 (TLS_LD): Likewise.
13878 (TLS_GD): Likewise.
13879 * sysdeps/i386/tls-macros.h: New file.
13880 * sysdeps/powerpc/tls-macros.h: Likewise.
13881 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13882 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13883 * sysdeps/sh/tls-macros.h: Likewise.
13884 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13885 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13886 * sysdeps/x86_64/tls-macros.h: Likewise.
13887
f7db3170
TS
138882012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13889
07cbfc23
TS
13890 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13891 zero value for regular exit case.
13892
f7db3170
TS
13893 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13894 (__start_context): Preserve zero value for regular exit case.
13895
dc97c227
TS
138962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13897 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13898
13899 * manual/setjmp.texi (setcontext): Clarify normal process
13900 termination when uc_link is the null pointer.
13901 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13902 exit call.
13903
d0cd7d02
AS
139042012-07-16 Andreas Schwab <schwab@linux-m68k.org>
13905
13906 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13907 preprocessor. Test for each exception mask separately.
13908
dd318934
AJ
139092012-07-16 Andreas Jaeger <aj@suse.de>
13910
13911 * po/ru.po: Update from translation team.
13912
8048311a
JM
139132012-07-15 Joseph Myers <joseph@codesourcery.com>
13914
13915 * conform/data/string.h-data (NULL): Use macro-constant. Require
13916 equal to 0.
13917 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13918 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13919 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13920 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13921 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13922
b637d46e
AJ
139232012-07-13 Andreas Jaeger <aj@suse.de>
13924
13925 * po/fr.po: Update from translation team.
13926
541428fe
MP
139272012-07-12 Marek Polacek <polacek@redhat.com>
13928
13929 [BZ #14173]
13930 * math/libm-test.inc (yn_test): Add test for BZ #14173.
13931 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13932 loop condition.
13933
ec332e94
JM
139342012-07-12 Joseph Myers <joseph@codesourcery.com>
13935
13936 [BZ #13717]
13937 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13938 Change to 2.4.1 where previously 2.4.0.
13939 * sysdeps/unix/sysv/linux/configure: Regenerated.
13940 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13941 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13942 version.
13943 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13944 (__ASSUME_AT_CLKTCK): Remove.
13945 (__ASSUME_AT_PAGESIZE): Likewise.
13946 (__ASSUME_AT_XID): Likewise.
13947 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13948 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13949 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13950 unconditionally.
13951 (HAVE_AUX_PAGESIZE): Likewise.
13952 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13953 [__ASSUME_AT_CLKTCK]: Make code unconditional.
13954 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13955
7b6e99be
JB
139562012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
13957
13958 [BZ #14307]
13959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13960 the temporary buffer used to invoke __gethostbyname2_r,
13961 __gethostbyaddr_r and gethostbyname4_r to make room for struct
13962 host_data / struct gaih_addrtuple.
13963 * resolv/nss_dns/dns-host.c (global scope): Move definition of
13964 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13965 header file nss/nsswitch.h.
13966 * nss/nsswitch.h (global scope): Add definition of implementation
13967 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13968 resolv/nss_dns/dns-host.c).
13969
608404eb
AJ
139702012-07-11 Andreas Jaeger <aj@suse.de>
13971
13972 * po/fr.po: Update from translation team.
13973
71220aca
AJ
13974 * po/sv.po: Update from translation team
13975 * po/fr.po: Another update from translation team.
13976
28cfe843
AZ
139772012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13978
13979 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13980 for subnormals or multiply small sinh result by itself.
13981 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13983
6b90f981
DM
139842012-07-11 David S. Miller <davem@davemloft.net>
13985
13986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13987
c6825772
AS
139882012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13989
13990 [BZ #14347]
13991 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13992 (INTERNAL_MARK): Shift it here.
13993
7b8e0d49
MP
139942012-07-10 Marek Polacek <polacek@redhat.com>
13995
13996 [BZ #14151]
13997 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
13998 libc_cv_asm_global_directive with .globl.
13999 * configure: Regenerated.
14000 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14001 with .globl.
14002 * sysdeps/i386/configure: Regenerated.
14003 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14004 with .globl.
14005 * sysdeps/x86_64/configure: Regenerated.
14006 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14007 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14008 * elf/tst-unique2mod2.c: Likewise.
14009 * elf/tst-unique2mod1.c: Likewise.
14010 * elf/tst-unique1mod2.c: Likewise.
14011 * elf/tst-unique1mod1.c: Likewise.
14012 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14013 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14014 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14015 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14016 * sysdeps/mach/sysdep.h: Likewise.
14017 * sysdeps/i386/sysdep.h: Likewise.
14018 * sysdeps/i386/i386-mcount.S: Likewise.
14019 * sysdeps/x86_64/_mcount.S: Likewise.
14020 * sysdeps/x86_64/sysdep.h: Likewise.
14021 * sysdeps/sh/_mcount.S: Likewise.
14022 * sysdeps/sh/sysdep.h: Likewise.
14023 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14024 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14025 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14026 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14027 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14028 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14029 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14030 * locale/localeinfo.h: Likewise.
14031 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14032 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14033
6c55cda3
RM
140342012-07-09 Roland McGrath <roland@hack.frob.com>
14035
14036 [BZ #14336]
14037 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14038 system".
14039 * manual/message.texi (The Uniforum approach): Likewise.
14040 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14041 (glibc iconv Implementation): Likewise.
14042
638a572e
JM
140432012-07-09 Joseph Myers <joseph@codesourcery.com>
14044
14045 [BZ #14337]
14046 * math/s_clog.c (__clog): Avoid scaling a value down where that
14047 could result in underflow.
14048 * math/s_clog10.c (__clog10): Likewise.
14049 * math/s_clog10f.c (__clog10f): Likewise.
14050 * math/s_clog10l.c (__clog10l): Likewise.
14051 * math/s_clogf.c (__clogf): Likewise.
14052 * math/s_clogl.c (__clogl): Likewise.
14053 * math/libm-test.inc (clog_test): Add more tests.
14054 (clog10_test): Likewise.
14055 * sysdeps/i386/fpu/libm-test-ulps: Update.
14056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14057
261f4859
AS
140582012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14059
0abaf3e4
AS
14060 [BZ #14283]
14061 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14062 by 7 not 8 to examine high bit of fractional part.
14063
261f4859
AS
14064 [BZ #14042]
14065 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14066 for call to __mcount_internal.
14067 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14068 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14069 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14070
f17ac40d
JM
140712012-07-06 Joseph Myers <joseph@codesourcery.com>
14072
9ad63c23
JM
14073 [BZ #14154]
14074 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14075 approximation for values within 0x1p-13f of an odd multiple of
14076 pi/4.
14077 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14078 exception. Add more tests.
14079 * sysdeps/i386/fpu/libm-test-ulps: Update.
14080
f17ac40d
JM
14081 [BZ #6778]
14082 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14083 inputs and return -1 for them. Do not check for +Inf in case not
14084 reachable for +Inf.
14085 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14086 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14087 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14088 and return -1 for them. Do not check for +Inf in case not
14089 reachable for +Inf.
14090 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14091 define.
14092 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14093 and return -1 for them. Do not check for +Inf in case not
14094 reachable for +Inf.
14095 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14096 spurious underflow.
14097 * sysdeps/i386/fpu/libm-test-ulps: Update.
14098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14099
fb21f89b
MF
141002012-07-06 Mike Frysinger <vapier@gentoo.org>
14101
14102 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14103
cdfe2c5e
JM
141042012-07-05 Joseph Myers <joseph@codesourcery.com>
14105
14106 [BZ #14157]
14107 [BZ #14331]
14108 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14109 could result in spurious underflow. Scale down values above
14110 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14111 * math/s_csqrtf.c (__csqrtf): Likewise.
14112 * math/s_csqrtl.c (__csqrtl): Likewise.
14113 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14114 spurious underflow.
14115 * sysdeps/i386/fpu/libm-test-ulps: Update.
14116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14117
70d35b67
AS
141182012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14119
704bc459
AS
14120 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14121 xopen-msg.sed.
14122 * catgets/xopen-msg.awk: New file.
14123 * catgets/xopen-msg.sed: Removed.
14124
70d35b67
AS
14125 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14126 po2text.sed.
14127 * intl/po2test.awk: New file.
14128 * intl/po2test.sed: Removed.
14129
ca61cf32
JM
141302012-07-04 Joseph Myers <joseph@codesourcery.com>
14131
14132 [BZ #14328]
14133 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14134 or multiply small sinh result by itself.
14135 * math/s_ctanf.c (__ctanf): Likewise.
14136 * math/s_ctanh.c (__ctanh): Likewise.
14137 * math/s_ctanhf.c (__ctanhf): Likewise.
14138 * math/s_ctanhl.c (__ctanhl): Likewise.
14139 * math/s_ctanl.c (__ctanl): Likewise.
14140 * math/libm-test.inc (ctan_test_tonearest): New function.
14141 (ctan_test_towardzero): Likewise.
14142 (ctan_test_downward): Likewise.
14143 (ctan_test_upward): Likewise.
14144 (ctanh_test_tonearest): Likewise.
14145 (ctanh_test_towardzero): Likewise.
14146 (ctanh_test_downward): Likewise.
14147 (ctanh_test_upward): Likewise.
14148 (main): Call these new functions.
14149 * sysdeps/i386/fpu/libm-test-ulps: Update.
14150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14151
ca48a46a
MF
141522012-07-03 Mike Frysinger <vapier@gentoo.org>
14153
14154 * .gitignore: Delete /ports entry.
14155
9d63d37d
AJ
141562012-07-03 Andreas Jaeger <aj@suse.de>
14157
14158 * po/bg.po: Update from translation team.
14159 * po/cs.po: Likewise.
14160 * po/de.po: Likewise.
14161 * po/hr.po: Likewise.
14162 * po/nl.pl: Likewise.
14163 * po/pl.po: Likewise.
14164 * po/vi.po: Likewise.
14165
370ca3d2
JM
141662012-07-03 Joseph Myers <joseph@codesourcery.com>
14167
95f5a9a8
JM
14168 * Makeconfig [!+link] (+link-before-libc): New variable.
14169 [!+link] (+link-after-libc): Likewise.
14170 [!+link] (+link-tests): Likewise.
14171 [!+link] (+link): Define in terms of $(+link-before-libc) and
14172 $(+link-after-libc).
14173 [!+link-static] (+link-static-before-libc): New variable.
14174 [!+link-static] (+link-static-after-libc): Likewise.
14175 [!+link-static] (+link-static-tests): Likewise.
14176 [!+link-static] (+link-static): Define in terms of
14177 $(+link-static-before-libc) and $(+link-static-after-libc).
14178 [build-shared] (link-libc-before-gnulib): New variable.
14179 [build-shared] (link-libc-tests): Likewise.
14180 [build-shared] (link-libc): Define in terms of
14181 $(link-libc-before-gnulib).
14182 [!build-shared] (link-libc-tests): New variable.
14183 (link-libc-static-tests): New variable.
14184 [!gnulib] (gnulib-arch): New variable.
14185 [!gnulib] (gnulib-tests): Likewise.
14186 [!gnulib] (static-gnulib-arch): Likewise.
14187 [!gnulib] (static-gnulib-tests): Likewise.
14188 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14189 Define with "=" instead of ":=".
14190 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14191 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14192 * Rules (binaries-all-notests): New variable.
14193 (binaries-all-tests): Likewise.
14194 (binaries-static-notests): Likewise.
14195 (binaries-static-tests): Likewise.
14196 (binaries-all): Define using $(binaries-all-notests) and
14197 $(binaries-all-tests).
14198 (binaries-static): Define using $(binaries-static-notests) and
14199 $(binaries-static-tests).
14200 (binaries-shared-tests): New variable.
14201 (binaries-shared-notests): Likewise.
14202 (binaries-shared): Remove variable.
14203 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14204 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14205 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14206 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14207 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14208 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14209 * elf/Makefile (sln-modules): New variable.
14210 (extra-objs): Add $(sln-modules:=.o).
14211 (ldconfig-modules): Add static-stubs.
14212 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14213 * elf/static-stubs.c: New file.
14214
7a845b2c
JM
14215 [BZ #14283]
14216 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14217 by 7 not 8 to examine high bit of fractional part. Use volatile
14218 variables when splitting into final array of floats if
14219 __FLT_EVAL_METHOD__ != 0.
14220 * math/libm-test.inc (cos_test): Add another test.
14221 (sin_test): Likewise.
14222 * sysdeps/i386/fpu/libm-test-ulps: Update.
14223
e2283f38
JM
14224 [BZ #14273]
14225 * math/libm-test.inc (cosh_test): Add more tests.
14226
370ca3d2
JM
14227 * version.h (RELEASE): Set to "development".
14228 (VERSION): Set to "2.16.90".
14229
ee9247c3
CD
142302012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14231
14232 * NEWS: Update copyright. Remove last-updated date.
14233 Mention math library bug fixes and timezone data changes.
14234 * README: Mention GNU/Hurd, x32, and HPPA support status.
14235
4648c381
TS
142362012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14237
14238 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14239
aac78a43
AJ
142402012-06-27 Andreas Jaeger <aj@suse.de>
14241
14242 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14243
ed3dbfad
AJ
142442012-06-25 Andreas Jaeger <aj@suse.de>
14245
14246 * sysdeps/s390/fpu/libm-test-ulps: Update.
14247
4d0ee855
AS
142482012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14249 Thomas Schwinge <thomas@codesourcery.com>
14250
14251 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14252 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14253 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14254 fanotify_mark.
14255
af1bce34
TS
142562012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14257
a9fa33ba
TS
14258 * sysdeps/mach/start.c: Remove file.
14259 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14260 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14261 * sysdeps/sh/init-first.c: Likewise.
14262
58f902b8
TS
14263 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14264 registers for frame unwinding purposes, add CFI directives.
14265 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14266 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14267 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14268 Likewise.
14269
1518f58b
TS
14270 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14271 __fortify_fail returning.
14272 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14273
db9b5059
TS
14274 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14275 sysdeps/sh/____longjmp_chk.S.
14276 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14277 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14278 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14279 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14280
967705fe
TS
14281 * sysdeps/sh/abort-instr.h: New file.
14282 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14283 process in case exit returns.
14284
a9def8c4
TS
14285 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14286 initialize the GOT register before use.
14287
2a649725
TS
14288 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14289 calculation of ARGC > 4.
14290
af1bce34
TS
14291 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14292 meaningful names to some local labels.
14293
d230f50a
KK
142942012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14295 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14296
14297 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14298 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14299 (__arch_compare_and_exchange_val_16_acq): Likewise.
14300 (__arch_compare_and_exchange_val_32_acq): Likewise.
14301 (atomic_exchange_and_add): Fix gUSA sequence.
14302 (atomic_add): Likewise.
14303 (atomic_add_negative): Likewise.
14304 (atomic_add_zero): Likewise.
14305 (atomic_bit_test_set): Likewise.
14306
0479b305
AS
143072012-06-22 Andreas Schwab <schwab@redhat.com>
14308
14309 [BZ #13579]
14310 * include/link.h (struct link_map): Add l_free_initfini.
14311 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14312 l_initfini.
14313 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14314 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14315 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14316 set.
14317
0e3933b9
CD
143182012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14319
14320 * configure.in: Use AC_LANG_SOURCE.
14321 * configure: Regenerate.
14322
4248b1b1
RM
143232012-06-22 Roland McGrath <roland@hack.frob.com>
14324
14325 * configure.in (libc_cv_localstatedir): New substituted variable.
14326 * configure: Regenerated.
14327 * config.make.in (localstatedir): New variable, substituted from
14328 libc_cv_localstatedir.
14329 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14330 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14331 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14332 * sysdeps/gnu/configure: Regenerated.
14333
006dd861
JL
143342012-06-21 Jeff Law <law@redhat.com>
14335
14336 [BZ #14277]
14337 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14338 free. Simplify list management for _LIBC case.
14339
79662d42
JM
143402012-06-21 Joseph Myers <joseph@codesourcery.com>
14341
b7abb4bf
JM
14342 [BZ #14273]
14343 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14344 Clear sign bit of 64-bit integer value before comparing against
14345 overflow value.
14346
79662d42
JM
14347 * sysdeps/mach/configure: Regenerated.
14348
1f150908
L
143492012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14350
14351 [BZ #14278]
14352 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14353
28363bbf
JL
143542012-06-21 Jeff Law <law@redhat.com>
14355
14356 [BZ #13882]
14357 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14358 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 14359 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
14360 * elf/dl-open.c (dl_open_worker): Likewise.
14361
09615db4
CD
143622012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14363
14364 * scripts/list-sources.sh: Scan PORTS for translations.
14365 * po/libc.pot: Regenerated.
14366
2174c6dd
AJ
143672012-06-21 Andreas Jaeger <aj@suse.de>
14368
14369 [BZ #12194]
14370 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14371 warning.
14372 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14373 * bits/byteswap-16.h (__bswap_16): Likewise.
14374 * bits/byteswap.h (__bswap_constant_16): Likewise.
14375
3ee947b1
L
143762012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14377
14378 [BZ #14117]
a2f34833
L
14379 * sysdeps/i386/fpu_control.h: Removed.
14380 * sysdeps/x86_64/fpu_control.h: Moved to ...
14381 * sysdeps/x86/fpu_control.h: Here.
14382
3ee947b1
L
14383 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14384 (_FPU_SETCW): Likewise.
14385
ed1825f8
L
143862012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14387
25f1282a
L
14388 [BZ #14117]
14389 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14390 * sysdeps/x86/fpu/bits/mathinline.h: This.
14391 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14392
ed1825f8
L
14393 [BZ #14050]
14394 [BZ #14117]
14395 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14396 functions if __x86_64__ is defined.
14397
36d54b74
CLT
143982012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14399
14400 * string/endian.h: Add !__ASSEMBLER__ condition for including
14401 conversion interfaces.
14402
10285c21
JM
144032012-06-15 Joseph Myers <joseph@codesourcery.com>
14404
14405 [BZ #14241]
14406 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14407 of ABS(x) in calculating zero to negative powers other than odd
14408 integers.
14409 * math/libm-test.inc (pow_test): Add more tests.
14410
06c5abbd
AJ
144112012-06-15 Andreas Jaeger <aj@suse.de>
14412
14413 * manual/contrib.texi (Contributors): Update entry of Liubov
14414 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14415 Machado Filho.
14416
a3aeac40
CH
144172012-06-15 Cyril Hrubis <metan@ucw.cz>
14418
14419 * string/string.h: Add __wur to GNU version of strerror_r.
14420
49bdf4c1
L
144212012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14422
14423 [BZ #14229]
14424 * string/Makefile (tests): Add tst-strtok_r.
14425 * string/tst-strtok_r.c: New file.
14426 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14427 RAX_LP/RDX_LP on SAVE_PTR.
14428
834f9b8d
RM
144292012-06-14 Roland McGrath <roland@hack.frob.com>
14430
14431 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14432
75fa1921
JM
144332012-06-14 Joseph Myers <joseph@codesourcery.com>
14434
14435 * libm_test.inc (csqrt_test): Allow more spurious underflow
14436 exceptions.
14437 (j0_test): Likewise.
14438 (j1_test): Likewise.
14439 (y0_test): Likewise.
14440 (y1_test): Likewise.
14441
771766df
CD
144422012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14443
14444 * po/Makefile (libc.pot): Use UTF-8 charset.
14445
ceb9e56b
PP
144462012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14447
14448 [BZ #14210]
14449 Suppress sign-conversion warning from FD_SET.
14450 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14451 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14452 not unsigned long int.
14453 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14454
ddb28975
L
144552012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14456
14457 [BZ #14050]
14458 [BZ #14117]
14459 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14460 __extern_always_inline instead of __extern_inline.
14461 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14462 (__signbit): Likewise.
14463 (__signbitl): Support C++ namespace.
14464 (lrintf): New inline function.
14465 (lrint): Likewise.
14466 (llrintf): Likewise.
14467 (llrint): Likewise.
14468 (fmaxf): Likewise.
14469 (fmax): Likewise.
14470 (fminf): Likewise.
14471 (fmin): Likewise.
14472 (rint): Likewise.
14473 (rintf): Likewise.
14474 (ceil): Likewise.
14475 (ceilf): Likewise.
14476 (floor): Likewise.
14477 (floorf): Likewise.
14478 (nearbyint): Likewise.
14479 (nearbyintf): Likewise.
14480
d7b4fb26
TS
144812012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14482
14483 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14484 non-default versions.
14485
eb55f5c2
RM
144862012-06-11 Roland McGrath <roland@hack.frob.com>
14487
14488 [BZ #14218]
14489 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14490
366af02c
TS
144912012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14492
99ff6e5c
TS
14493 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14494 (FE_UPWARD, FE_DOWNWARD): Don't define.
14495 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14496 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14497
366af02c
TS
14498 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14499 reading it.
14500 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14501 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14502
793ea851
KK
145032012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14504
14505 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14506 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14507 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14508 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14509
a728a38f
L
145102012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14511
14512 [BZ #14117]
c08010c7
L
14513 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14514 * sysdeps/i386/fpu/Implies: New file.
14515 * sysdeps/x86_64/fpu/Implies: Likewise.
14516 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14517 * sysdeps/x86/fpu/bits/fenv.h: This.
14518
a728a38f
L
14519 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14520 __SSE_MATH__.
14521
6e230d11
SP
145222012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14523
14524 [BZ #14134]
14525 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14526 character 0xffff that matches the last element of the
14527 conversion table.
14528
1b671feb
AZ
145292012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14530
14531 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14532 fmodl commit.
14533
6043738b
AZ
145342012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14535
14536 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14537 values higher than 25.6283.
14538
34ae0b32
AZ
145392012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14540
14541 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14542 subnormal exponent extraction and add some __builtin_expect.
14543 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14544 Fix for subnormal mantissa calculation.
14545
1214ec8f
MF
145462012-06-04 Mike Frysinger <vapier@gentoo.org>
14547
14548 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14549 cpu2 is -1 and errno is not ENOSYS.
14550
f3d1f93c
L
145512012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14552
14553 [BZ #14117]
0e4a3cd7
L
14554 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14555 * sysdeps/x86/bits/string.h: This.
14556 * sysdeps/x86_64/bits/string.h: Removed.
14557
6704c645
L
14558 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14559 if not compiling for x86-64, but compiling for >= i486.
14560
48495318
L
14561 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14562 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14563
14adcbfc
L
14564 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14565 New macro from Linux kernel 3.4.0.
14566 (FP_XSTATE_MAGIC2): Likewise.
14567 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14568 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14569 (struct _fpx_sw_bytes): New struct.
14570 (struct _xsave_hdr): Likewise.
14571 (struct _ymmh_state): Likewise.
14572 (struct _xstate): Likewise.
14573
68e408ab
L
14574 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14575 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14576 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14577 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14578 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14579 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14580
f3d1f93c
L
14581 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14582 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14583 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14584 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14585 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14586 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14587
d9dc34cd
TMQMF
145882012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14589
14590 [BZ #13743]
14591 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14592 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14593 (sysdep_headers): Include sys/platform/ppc.h.
14594 * sysdeps/powerpc/test-gettimebase.c: Test for
14595 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14596 * manual/Makefile (appendices): Include platform.texi.
14597 * manual/contrib.texi (Contributors): Update @node pointers.
14598 * manual/maint.texi (Maintenance): Likewise.
14599 (Platform): New node.
14600 * manual/platform.texi: New file. Document the new features.
14601
4af3879c
SP
146022012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14603 Jakub Jelinek <jakub@redhat.com>
14604
14605 [BZ #14188]
14606 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14607 where __builtin_expect is unavailable.
14608
2fd6ff13
DM
146092012-06-03 David S. Miller <davem@davemloft.net>
14610
14611 * stdlib/longlong.h: Updated from GCC.
14612
173f7220
AS
146132012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14614
14615 [BZ #14042]
14616 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14617 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14618 __mcount_internal.
14619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14620 (GLIBC_2.16): Likewise.
14621
f34a1c6f
L
146222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14623
14624 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14625
88a4576f
JM
146262012-06-01 Joseph Myers <joseph@codesourcery.com>
14627
ea32bcdd
JM
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14629 (default-abi): New variable.
14630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14631 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14632 variable.
14633 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14634 Likewise.
14635 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14636 Likewise.
14637 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14638 Likewise.
14639
88a4576f
JM
14640 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14641 definition. Document in comment.
14642
402fe938
DM
146432012-06-01 David S. Miller <davem@davemloft.net>
14644
14645 * stdlib/longlong.h: Updated from GCC.
14646
3553723f
L
146472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14648
14649 [BZ #14117]
3bd872c4
L
14650 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14651 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14652 sys/debugreg.h sys/io.h here.
14653 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14654 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14655 sys/io.h.
14656 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14657 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14658 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14659 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14660 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14661 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14662
3553723f
L
14663 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14664 Define only if __x86_64__ is defined.
14665
4842e4fe
JM
146662012-06-01 Joseph Myers <joseph@codesourcery.com>
14667
c5bfe3d5
JM
14668 [BZ #14048]
14669 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14670 Use int64_t for variable i.
14671 * math/libm-test.inc (fmod_test): Add more tests.
14672
4842e4fe
JM
14673 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14674 z computation is not scheduled after fetestexcept.
14675 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14676 Use math_force_eval instead of asm to ensure calculation scheduled
14677 before exception test.
14678 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14679 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14680
efb73488
AJ
146812012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14682
14683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14684 computation is not scheduled after fetestexcept.
14685
29bcce7c
L
146862012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14687
14688 [BZ #14117]
14689 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14690 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14691
73a68f94
AZ
146922012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14693
14694 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14695 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14696
67b6df78
L
146972012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14698
edf2933a 14699 [BZ #14117]
ebc64a18
L
14700 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14701 <bits/wordsize.h>.
14702 (__WCHAR_MIN): Support __WORDSIZE == 64.
14703 (__WCHAR_MAX): Likewise.
14704
edf2933a
L
14705 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14706 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14707
57c6cf40
L
14708 [BZ #14183]
14709 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14710 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14711
67b6df78 14712 [BZ #14117]
8eb6281e
L
14713 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14714 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14715
aac639f4
L
14716 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14717 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14718
67b6df78
L
14719 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14720 Defined to 1 if __x86_64__ isn't defined.
14721 (_STAT_VER_LINUX_OLD): New.
14722 (st_atime): Remove duplicate.
14723 (st_mtime): Likewise.
14724 (st_ctime): Likewise.
14725
1c2cfe81
DM
147262012-05-31 David S. Miller <davem@davemloft.net>
14727
14728 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14729 entries.
14730
5be8418c
AS
147312012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14732
e7725326
AS
14733 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14734 gen-libm-test.pl.
14735
5be8418c
AS
14736 [BZ #14132]
14737 * elf/dl-reloc.c: Include <_itoa.h>.
14738 (_dl_reloc_bad_type): Remove use of INTUSE.
14739 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14740 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14741 * stdio-common/psiginfo.c (psiginfo): Likewise.
14742 * stdio-common/psignal.c (psignal): Likewise.
14743 * string/strsignal.c (strsignal): Likewise.
14744 * include/signal.h (_sys_siglist): Declare hidden proto.
14745 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
14746 INTVARDEF with libc_hidden_data_def.
14747 * stdio-common/itoa-udigits.c: Likewise.
14748 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14749 (_itoa_lower_digits_internal): Remove declaration.
14750 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14751 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14752 (_sys_sigabbrev_internal): Remove aliases.
14753 (_sys_siglist): Define hidden alias.
14754
507352f1
MT
147552012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14756
14757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14758 bits/sysctl.h.
14759
42bbb1c3
L
147602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14761
14762 [BZ #14117]
6bd784b6
L
14763 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14764 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14765
8bca20f0
L
14766 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14767 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14768 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14769 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14770 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14771 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14772
f9e890a9
L
14773 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14774 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14775 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14776
471101a1
L
14777 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14778 with __addr.
14779 (insw): Likewise.
14780 (insl): Likewise.
14781 (outsb): Likewise.
14782 (outsw): Likewise.
14783 (outsl): Likewise.
14784
6451c862
L
14785 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14786 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14787 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14788
a254b8c9
L
14789 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14790 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14791 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14792 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14793 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14794 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14795
b8dfdd92
L
14796 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14797 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14798
578cd270
L
14799 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14800 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14801
de662f5f
L
14802 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14803 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14804 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14805
25653439
L
14806 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14807 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14808 to ...
14809 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14810
6bad24a0
L
14811 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14812 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14813 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14814
42bbb1c3
L
14815 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14816 for x86-64.
14817 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14818
2d10d547
JM
148192012-05-31 Joseph Myers <joseph@codesourcery.com>
14820
14821 * math/math.h (M_El): Use two more decimal places.
14822 (M_LOG2El): Likewise.
14823 (M_LOG10El): Likewise.
14824 (M_LN2l): Likewise.
14825 (M_LN10l): Likewise.
14826 (M_PIl): Likewise.
14827 (M_PI_2l): Likewise.
14828 (M_PI_4l): Likewise.
14829 (M_1_PIl): Likewise.
14830 (M_2_PIl): Likewise.
14831 (M_2_SQRTPIl): Likewise.
14832 (M_SQRT2l): Likewise.
14833 (M_SQRT1_2l): Likewise.
14834
f230c29b
DM
148352012-05-31 David S. Miller <davem@davemloft.net>
14836
14837 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14838 values between float registers.
14839 * sysdeps/sparc/sparc64/memset.S: Likewise.
14840 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14841
fed806c3
MF
148422012-05-31 Mike Frysinger <vapier@gentoo.org>
14843
14844 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14845 -D_FORTIFY_SOURCE=1.
14846 (CPPFLAGS-tst-longjmp_chk.c): Define.
14847 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
14848 (CPPFLAGS-tst-longjmp_chk2.c): Define.
14849 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14850 CFLAGS-tst-wchar-h.c.
14851
30917259
MP
148522012-05-31 Marek Polacek <polacek@redhat.com>
14853
14854 [BZ #14132]
14855 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14856 __endmntent_internal): Remove declaration.
14857 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14858 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14859 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14860
1c58d5dc
DM
148612012-05-30 David S. Miller <davem@davemloft.net>
14862
14863 * sysdeps/sparc/sparc32/soft-fp/q_util.c
14864 (___Q_simulate_exceptions): Use real FP ops rather than writing
14865 into the %fsr.
14866 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14867 Likewise.
14868
7dc00e0d
L
148692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14870
14871 [BZ #14117]
0bd53985
L
14872 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14873 * sysdeps/x86/bits/xtitypes.h: This.
14874
3a257e66
L
14875 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14876 * sysdeps/x86/bits/wordsize.h: This.
14877
62f62904
L
14878 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14879 * sysdeps/x86/bits/huge_vall.h: This.
14880
404fe9d9
L
14881 * sysdeps/i386/bits/select.h: Removed.
14882 * sysdeps/x86_64/bits/select.h: Renamed to ...
14883 * sysdeps/x86/bits/select.h: This.
14884
d48d0446
L
14885 * sysdeps/i386/bits/setjmp.h: Removed.
14886 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14887 * sysdeps/x86/bits/setjmp.h: This.
14888
7dc00e0d
L
14889 * sysdeps/i386/bits/mathdef.h: Removed.
14890 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14891 * sysdeps/x86/bits/mathdef.h: This.
14892
03277f8f
AS
148932012-05-30 Andreas Schwab <schwab@linux-m68k.org>
14894
14895 [BZ #14132]
14896 * include/sys/socket.h (__connect_internal)
14897 (__libc_sa_len_internal): Remove declaration.
14898 (__connect, __libc_sa_len): Declare hidden_proto.
14899 (SA_LEN): Remove use of INTUSE.
14900 * socket/connect.c: Add libc_hidden_def.
14901 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14902 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14903 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14904 alias.
14905 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14906 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14907 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14908 of adding _internal alias.
14909
13764867
L
149102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14911
14912 [BZ #14117]
6bd97696
L
14913 * sysdeps/i386/bits/link.h: Removed.
14914 * sysdeps/i386/bits/linkmap.h: Likewise.
14915 * sysdeps/x86_64/bits/link.h: Renamed to ...
14916 * sysdeps/x86/bits/link.h: This.
14917 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14918 * sysdeps/x86/bits/linkmap.h: This.
14919
f726f0bb
L
14920 * sysdeps/i386/bits/endian.h: Removed.
14921 * sysdeps/x86_64/bits/endian.h: Renamed to ...
14922 * sysdeps/x86/bits/endian.h: This.
14923
13764867
L
14924 * sysdeps/i386/bits/byteswap.h: Removed.
14925 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14926 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14927 * sysdeps/x86/bits/byteswap.h: This.
14928 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14929 * sysdeps/x86/bits/byteswap-16.h: This.
14930 * sysdeps/i386/Implies: Add x86.
14931 * sysdeps/x86_64/Implies: Likewise.
14932
ae251b0b
DM
149332012-05-30 David S. Miller <davem@davemloft.net>
14934
14935 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14936 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14937 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14938 (FP_TRAPPING_EXCEPTIONS): Define.
14939 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14940 (FP_TRAPPING_EXCEPTIONS): Define.
14941 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14942 subnormals only when inexact has been signalled or underflow
14943 exceptions are enabled.
14944 (_FP_PACK_CANONICAL): Likewise.
14945
d5c90867
L
149462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14947
14948 [BZ #14183]
14949 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14950 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14951
63f1549e
RH
149522012-05-30 Richard Henderson <rth@twiddle.net>
14953
8d8f2279
RH
14954 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14955 with #ifndef NOT_IN_libc.
14956
63f1549e
RH
14957 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
14958 marked to avoid plt entry.
14959
0ab0291b
L
149602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14961
14962 [BZ #14112]
14963 * Makeconfig (default-abi): New macro.
14964 (abi-includes): Likewise.
14965 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
14966 $(abi-$(default-abi)-lib-soname) for soname if defined.
14967 ($(common-objpfx)gnu/lib-names.stmp): Generate from
14968 abi-variants.
14969 * Makefile (installed-stubs): Likewise.
14970 * include/stubs-biarch.h: Removed.
14971 * scripts/lib-names.awk: Only handle one library at a time.
14972 * scripts/soversions.awk: Remove WORDSIZE support.
14973 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14974 entries.
14975 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14976 Removed.
14977 (syscall-list-default-condition): Likewise.
14978 (syscall-list-default-condition): Likewise.
14979 (syscall-list-includes): Likewise.
14980 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14981 syscall-list-* with abi-*. Handle undefined abi-variants.
14982 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14983 * sysdeps/unix/sysv/linux/i386/Implies: New file.
14984 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14985 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14986 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14987 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14988 Removed.
14989 (syscall-list-32-options): Likewise.
14990 (syscall-list-32-condition): Likewise.
14991 (syscall-list-64-options): Likewise.
14992 (syscall-list-64-condition): Likewise.
14993 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14994 macro.
14995 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14996 Renamed to ...
14997 (abi-*): This.
14998 (abi-64-ld-soname): New macro.
14999 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15000 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15001 Renamed to ...
15002 (abi-*): This.
15003 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15004 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15005
4da0431d
JM
150062012-05-30 Joseph Myers <joseph@codesourcery.com>
15007
3a85279c
JM
15008 * sysdeps/unix/sysv/linux/kernel-features.h
15009 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15010 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15011 include <kernel-features.h>.
15012 [!__NR_ftruncate64]: Remove conditional code.
15013 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15014 [__NR_ftruncate64]: Make code unconditional.
15015 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15016 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15017 include <kernel-features.h>.
15018 [!__NR_ftruncate64]: Remove conditional code.
15019 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15020 [__NR_ftruncate64]: Make code unconditional.
15021 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15023 include <kernel-features.h>.
15024 [!__NR_ftruncate64]: Remove conditional code.
15025 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15026 [__NR_ftruncate64]: Make code unconditional.
15027 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15029 include <kernel-features.h>.
15030 [!__NR_ftruncate64]: Remove conditional code.
15031 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15032 [__NR_ftruncate64]: Make code unconditional.
15033 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15034
4da0431d
JM
15035 * configure.in (libc_cv_fpie): Weaken to a compile test using
15036 LIBC_TRY_CC_OPTION.
15037 * configure: Regenerated.
15038
11ef492c
AK
150392012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15040
15041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15045 Refreshed.
15046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15052 Refreshed.
15053
d66ef399
DM
150542012-05-27 David S. Miller <davem@davemloft.net>
15055
15056 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15057 (___Q_zero): New.
15058 (__Q_simulate_exceptions): Return void. Change to simulate
15059 exceptions by writing into the %fsr.
15060 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15061 (__Qp_handle_exceptions): Likewise.
15062 (numbers): Delete.
15063 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15064 __Qp_handle_exceptions.
15065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15066 __Qp_handle_exceptions.
15067 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15068 as unused and give dummy FP_RND_NEAREST initializer.
15069 (FP_INHIBIT_RESULTS): Define.
15070 (___Q_simulate_exceptions): Update declaration.
15071 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15072 formatting.
15073 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15074 as unused and give dummy FP_RND_NEAREST initializer.
15075 (__Qp_handle_exceptions): Update declaration.
15076 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15077 formatting.
15078
04fb54b5
TS
150792012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15080
15081 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15082 the temporary FPU control word.
15083 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15084 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15085 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15086 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15087 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15088 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15089 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15090 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15091 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15092 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15093 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15094
3f99608f
KK
150952012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15096
15097 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15098 fields.
15099
65a4de4e
CLT
151002012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15101
15102 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15103 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15104 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15105 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15106 Likewise.
15107 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15108 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15109 Likewise.
15110
15749d40
UD
151112012-05-27 Ulrich Drepper <drepper@gmail.com>
15112
15113 * po/h.po: Update from translation team.
15114
25dbcb27
AS
151152012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15116
3d3f8e55
AS
15117 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15118
25dbcb27
AS
15119 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15120 handling of denormals.
15121 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15122 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15123 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15124 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15126 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15127 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15128 Likewise.
15129
7ad47a80 151302012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15131
15132 [BZ #14152]
15133 * math/libm-test.inc (fma_test): Don't always expect underflow
15134 exception.
15135
9c6ea9fa
SP
151362012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15137
15138 [BZ #12416]
15139 * elf/tst-execstack.c: Include stackinfo.h.
15140 (do_test): Adjust test case to ensure that pthread_getattr_np
15141 behaviour remains the same after marking stack executable.
15142
a8239222
JM
151432012-05-25 Joseph Myers <joseph@codesourcery.com>
15144
15145 * sysdeps/unix/sysv/linux/kernel-features.h
15146 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15147 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15148 kernel-features.h.
15149 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15150 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15151 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15152 kernel-features.h.
15153 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15154 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15155
918b5606
L
151562012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15157
15158 * configure.in: Define the default includes to being none.
15159 * configure: Regenerated.
15160
3a097cc7
RM
151612012-05-25 Roland McGrath <roland@hack.frob.com>
15162
8422c9a5
RM
15163 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15164 * sysdeps/x86_64/setjmp.S: Likewise.
15165 * sysdeps/i386/bsd-setjmp.S: Likewise.
15166 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15167 * sysdeps/i386/setjmp.S: Likewise.
15168 * sysdeps/i386/__longjmp.S: Likewise.
15169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15170 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15171
3a097cc7
RM
15172 * include/stap-probe.h: New file.
15173 * configure.in: Handle --enable-systemtap.
15174 * configure: Regenerated.
15175 * config.h.in (USE_STAP_PROBE): New #undef.
15176 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15177 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15178 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15179
21708942
JM
151802012-05-25 Joseph Myers <joseph@codesourcery.com>
15181
15182 [BZ #13717]
15183 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15184 to 2.4.0 where earlier.
15185 * sysdeps/unix/sysv/linux/configure: Regenerated.
15186 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15187 <kernel-features.h>.
15188 [__ASSUME_32BITUIDS]: Make code unconditional.
15189 [!__ASSUME_32BITUIDS]: Remove conditional code.
15190 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15191 <kernel-features.h>.
15192 [__ASSUME_32BITUIDS]: Make code unconditional.
15193 [!__ASSUME_32BITUIDS]: Remove conditional code.
15194 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15195 [__ASSUME_32BITUIDS]: Make code unconditional.
15196 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15197 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15198 <kernel-features.h>.
15199 [__ASSUME_32BITUIDS]: Make code unconditional.
15200 [!__ASSUME_32BITUIDS]: Remove conditional code.
15201 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15202 <kernel-features.h>.
15203 [__ASSUME_32BITUIDS]: Make code unconditional.
15204 [!__ASSUME_32BITUIDS]: Remove conditional code.
15205 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15206 <kernel-features.h>.
15207 [__ASSUME_32BITUIDS]: Make code unconditional.
15208 [!__ASSUME_32BITUIDS]: Remove conditional code.
15209 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15210 <kernel-features.h>.
15211 [__ASSUME_32BITUIDS]: Make code unconditional.
15212 [!__ASSUME_32BITUIDS]: Remove conditional code.
15213 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15214 <kernel-features.h>.
15215 [__ASSUME_32BITUIDS]: Make code unconditional.
15216 [!__ASSUME_32BITUIDS]: Remove conditional code.
15217 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15218 <kernel-features.h>.
15219 [__ASSUME_32BITUIDS]: Make code unconditional.
15220 [!__ASSUME_32BITUIDS]: Remove conditional code.
15221 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15222 <kernel-features.h>.
15223 [__ASSUME_32BITUIDS]: Make code unconditional.
15224 [!__ASSUME_32BITUIDS]: Remove conditional code.
15225 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15226 <kernel-features.h>.
15227 [__ASSUME_32BITUIDS]: Make code unconditional.
15228 [!__ASSUME_32BITUIDS]: Remove conditional code.
15229 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15230 <kernel-features.h>.
15231 [__ASSUME_32BITUIDS]: Make code unconditional.
15232 [!__ASSUME_32BITUIDS]: Remove conditional code.
15233 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15234 <kernel-features.h>.
15235 [__ASSUME_32BITUIDS]: Make code unconditional.
15236 [!__ASSUME_32BITUIDS]: Remove conditional code.
15237 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15238 <kernel-features.h>.
15239 [__NR_setresgid] (__setresgid): Do not declare.
15240 [__ASSUME_32BITUIDS]: Make code unconditional.
15241 [!__ASSUME_32BITUIDS]: Remove conditional code.
15242 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15243 <kernel-features.h>.
15244 [__NR_setresuid] (__setresuid): Do not declare.
15245 [__ASSUME_32BITUIDS]: Make code unconditional.
15246 [!__ASSUME_32BITUIDS]: Remove conditional code.
15247 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15248 <kernel-features.h>.
15249 [__ASSUME_32BITUIDS]: Make code unconditional.
15250 [!__ASSUME_32BITUIDS]: Remove conditional code.
15251 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15252 <kernel-features.h>.
15253 [__ASSUME_32BITUIDS]: Make code unconditional.
15254 [!__ASSUME_32BITUIDS]: Remove conditional code.
15255 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15256 <kernel-features.h>.
15257 [__ASSUME_32BITUIDS]: Make code unconditional.
15258 [!__ASSUME_32BITUIDS]: Remove conditional code.
15259 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15260 <kernel-features.h>.
15261 [__ASSUME_32BITUIDS]: Make code unconditional.
15262 [!__ASSUME_32BITUIDS]: Remove conditional code.
15263 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15264 <kernel-features.h>.
15265 [__ASSUME_32BITUIDS]: Make code unconditional.
15266 [!__ASSUME_32BITUIDS]: Remove conditional code.
15267 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15268 <kernel-features.h>.
15269 [__ASSUME_32BITUIDS]: Make code unconditional.
15270 [!__ASSUME_32BITUIDS]: Remove conditional code.
15271 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15272 <kernel-features.h>.
15273 [__ASSUME_32BITUIDS]: Make code unconditional.
15274 [!__ASSUME_32BITUIDS]: Remove conditional code.
15275 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15276 <kernel-features.h>.
15277 [__ASSUME_32BITUIDS]: Make code unconditional.
15278 [!__ASSUME_32BITUIDS]: Remove conditional code.
15279 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15280 <kernel-features.h>.
15281 [__ASSUME_32BITUIDS]: Make code unconditional.
15282 [!__ASSUME_32BITUIDS]: Remove conditional code.
15283 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15284 <kernel-features.h>.
15285 [__ASSUME_32BITUIDS]: Make code unconditional.
15286 [!__ASSUME_32BITUIDS]: Remove conditional code.
15287 * sysdeps/unix/sysv/linux/kernel-features.h
15288 (__ASSUME_SETRESUID_SYSCALL): Remove.
15289 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15290 (__ASSUME_32BITUIDS): Likewise.
15291 (__ASSUME_LDT_WORKS): Likewise.
15292 (__ASSUME_O_DIRECTORY): Likewise.
15293 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15294 architecture but not kernel version.
15295 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15296 (__ASSUME_MMAP2_SYSCALL): Likewise.
15297 (__ASSUME_STAT64_SYSCALL): Likewise.
15298 (__ASSUME_IPC64): Likewise.
15299 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15300 <kernel-features.h>.
15301 [__ASSUME_32BITUIDS]: Make code unconditional.
15302 [!__ASSUME_32BITUIDS]: Remove conditional code.
15303 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15304 <kernel-features.h>.
15305 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15306 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15307 132096]: Remove conditional code.
15308 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15309 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15310 <kernel-features.h>.
15311 [__ASSUME_32BITUIDS]: Make code unconditional.
15312 [!__ASSUME_32BITUIDS]: Remove conditional code.
15313 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15314 <kernel-features.h>.
15315 [__ASSUME_32BITUIDS]: Make code unconditional.
15316 [!__ASSUME_32BITUIDS]: Remove conditional code.
15317 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15318 <kernel-features.h>.
15319 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15320 unconditional.
15321 (__setresgid): Do not declare.
15322 [__ASSUME_32BITUIDS]: Make code unconditional.
15323 [!__ASSUME_32BITUIDS]: Remove conditional code.
15324 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15325 <kernel-features.h>.
15326 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15327 unconditional.
15328 (__setresuid): Do not declare.
15329 [__ASSUME_32BITUIDS]: Make code unconditional.
15330 [!__ASSUME_32BITUIDS]: Remove conditional code.
15331 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15332 <kernel-features.h>.
15333 [__ASSUME_32BITUIDS]: Make code unconditional.
15334 [!__ASSUME_32BITUIDS]: Remove conditional code.
15335 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15336 <kernel-features.h>.
15337 [__ASSUME_32BITUIDS]: Make code unconditional.
15338 [!__ASSUME_32BITUIDS]: Remove conditional code.
15339
a386f1cc
RH
153402012-05-25 Richard Henderson <rth@twiddle.net>
15341
15342 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15343 dl_hwcap to ifunc resolver.
15344 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15345 elf_ifunc_invoke.
15346 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15347 dl_hwcap to ifunc resolver.
15348 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15349
b6550497
JM
153502012-05-24 Joseph Myers <joseph@codesourcery.com>
15351
15352 [BZ #14153]
15353 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15354 for |x| <= 2**-26, not 2**-57.
15355 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15356 exception.
15357
b0bc23a1
JL
153582012-05-24 Jeff Law <law@redhat.com>
15359
15360 * stdio-common/Makefile (tests): Add bug25.
15361 * stdio-common/bug25.c: New test.
15362
347c92e9
L
153632012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15364
15365 [BZ #13576]
15366 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15367 multiple of MALLOC_ALIGNMENT in size.
15368 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15369
6bcc8b3f
JM
153702012-05-24 Joseph Myers <joseph@codesourcery.com>
15371
15372 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15373 Require >= 256.
15374 (FILENAME_MAX): Use macro-int-constant.
15375 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15376 (_IOFBF): Use macro-int-constant.
15377 (_IOLBF): Likewise.
15378 (_IONBF): Likewise.
15379 (SEEK_CUR): Likewise.
15380 (SEEK_END): Likewise.
15381 (SEEK_SET): Likewise.
15382 (TMP_MAX): Likewise.
15383 (EOF): Use macro-int-constant. Require < 0.
15384 (NULL): Use macro-constant. Require == 0.
15385 (stdin): Require type to be FILE *.
15386 (stdout): Likewise.
15387 (stderr): Likewise.
15388 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15389 macro-int-constant.
15390 (EXIT_SUCCESS): Likewise.
15391 (NULL): Use macro-constant. Require == 0.
15392 (RAND_MAX): Use macro-int-constant.
15393 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15394 [C99-based standards] (strtof): Require function.
15395 [C99-based standards] (strtold): Likewise.
15396 [C99-based standards] (strtoll): Likewise.
15397 [C99-based standards] (strtoull): Likewise.
15398 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15399 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15400 [ISO || ISO99 || ISO11] (math.h): Likewise.
15401 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15402 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15403 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15404
d18ea0c5
AS
154052012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15406
15407 [BZ #14132]
56d25bb8
AS
15408 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15409 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15410 * intl/dgettext.c (DCGETTEXT): Likewise.
15411 * intl/gettext.c (DCGETTEXT): Likewise.
15412 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15413 * posix/regex_internal.h (gettext): Likewise.
15414 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15415 Remove declaration.
15416 * include/argz.h (__argz_count_internal)
15417 (__argz_stringify_internal): Remove declaration.
15418 (__argz_count, __argz_stringify): Declare hidden proto.
15419 * intl/dcgettext.c: Remove use of INTDEF.
15420 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15421 * string/argz-stringify.c: Likewise.
15422 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15423 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15424 Declare hidden proto.
d18ea0c5
AS
15425 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15426 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15427 Declare hidden proto.
15428 * include/stdio.h (__asprintf_internal): Don't declare.
15429 (__asprintf): Don't define as macro. Declare hidden proto.
15430 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15431 (__fsetlocking): Declare hidden proto.
15432 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15433 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15434 hidden proto.
15435 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15436 (_IO_setlinebuf): Remove use of INTUSE.
15437 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15438 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15439 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15440 Remove declaration.
15441 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15442 (_IO_do_flush): Remove use of INTUSE.
15443 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15444 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15445 (_IO_adjust_column, _IO_least_wmarker)
15446 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15447 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15448 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15449 (_IO_default_doallocate, _IO_wdefault_doallocate)
15450 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15451 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15452 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15453 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15454 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15455 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15456 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15457 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15458 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15459 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15460 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15461 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15462 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15463 proto.
15464 (_IO_flush_all_internal, _IO_adjust_column_internal)
15465 (_IO_default_uflow_internal, _IO_default_finish_internal)
15466 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15467 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15468 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15469 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15470 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15471 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15472 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15473 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15474 (_IO_file_close_internal, _IO_file_close_it_internal)
15475 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15476 (_IO_file_init_internal, _IO_file_attach_internal)
15477 (_IO_file_fopen_internal, _IO_file_read_internal)
15478 (_IO_file_sync_internal, _IO_file_seek_internal)
15479 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15480 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15481 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15482 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15483 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15484 (_IO_list_all_internal, _IO_link_in_internal)
15485 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15486 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15487 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15488 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15489 (_IO_do_write_internal, _IO_padn_internal)
15490 (_IO_getline_info_internal, _IO_getline_internal)
15491 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15492 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15493 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15494 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15495 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15496 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15497 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15498 with libc_hidden_ver, remove use of INTUSE.
15499 * libio/genops.c: Likewise.
15500 * libio/freopen.c: Likewise.
15501 * libio/freopen64.c: Likewise.
15502 * libio/iofclose.c: Likewise.
15503 * libio/iofdopen.c: Likewise.
15504 * libio/iofflush.c: Likewise.
15505 * libio/iofflush_u.c: Likewise.
15506 * libio/iofgets.c: Likewise.
15507 * libio/iofgets_u.c: Likewise.
15508 * libio/iofopen.c: Likewise.
15509 * libio/iofopncook.c: Likewise.
15510 * libio/iofread.c: Likewise.
15511 * libio/iofread_u.c: Likewise.
15512 * libio/ioftell.c: Likewise.
15513 * libio/iofwrite.c: Likewise.
15514 * libio/iogetline.c: Likewise.
15515 * libio/iogets.c: Likewise.
15516 * libio/iogetwline.c: Likewise.
15517 * libio/iopadn.c: Likewise.
15518 * libio/iopopen.c: Likewise.
15519 * libio/ioseekoff.c: Likewise.
15520 * libio/ioseekpos.c: Likewise.
15521 * libio/iosetbuffer.c: Likewise.
15522 * libio/iosetvbuf.c: Likewise.
15523 * libio/ioungetc.c: Likewise.
15524 * libio/ioungetwc.c: Likewise.
15525 * libio/iovdprintf.c: Likewise.
15526 * libio/iovsprintf.c: Likewise.
15527 * libio/iovsscanf.c: Likewise.
15528 * libio/memstream.c: Likewise.
15529 * libio/obprintf.c: Likewise.
15530 * libio/oldfileops.c: Likewise.
15531 * libio/oldiofclose.c: Likewise.
15532 * libio/oldiofdopen.c: Likewise.
15533 * libio/oldiofopen.c: Likewise.
15534 * libio/oldiopopen.c: Likewise.
15535 * libio/oldstdfiles.c: Likewise.
15536 * libio/putc.c: Likewise.
15537 * libio/setbuf.c: Likewise.
15538 * libio/setlinebuf.c: Likewise.
15539 * libio/stdfiles.c: Likewise.
15540 * libio/strops.c: Likewise.
15541 * libio/vasprintf.c: Likewise.
15542 * libio/vscanf.c: Likewise.
15543 * libio/vsnprintf.c: Likewise.
15544 * libio/vswprintf.c: Likewise.
15545 * libio/wfiledoalloc.c: Likewise.
15546 * libio/wfileops.c: Likewise.
15547 * libio/wgenops.c: Likewise.
15548 * libio/wmemstream.c: Likewise.
15549 * libio/wstrops.c: Likewise.
15550 * libio/__fpurge.c: Likewise.
15551 * libio/__fsetlocking.c: Likewise.
15552 * assert/assert.c: Likewise.
15553 * debug/fgets_chk.c: Likewise.
15554 * debug/fgets_u_chk.c: Likewise.
15555 * debug/fread_chk.c: Likewise.
15556 * debug/fread_u_chk.c: Likewise.
15557 * debug/gets_chk.c: Likewise.
15558 * debug/obprintf_chk.c: Likewise.
15559 * debug/vasprintf_chk.c: Likewise.
15560 * debug/vdprintf_chk.c: Likewise.
15561 * debug/vsnprintf_chk.c: Likewise.
15562 * debug/vsprintf_chk.c: Likewise.
15563 * malloc/mtrace.c: Likewise.
15564 * misc/error.c: Likewise.
15565 * misc/syslog.c: Likewise.
15566 * stdio-common/asprintf.c: Likewise.
15567 * stdio-common/fxprintf.c: Likewise.
15568 * stdio-common/getw.c: Likewise.
15569 * stdio-common/isoc99_fscanf.c: Likewise.
15570 * stdio-common/isoc99_scanf.c: Likewise.
15571 * stdio-common/isoc99_vfscanf.c: Likewise.
15572 * stdio-common/isoc99_vscanf.c: Likewise.
15573 * stdio-common/isoc99_vsscanf.c: Likewise.
15574 * stdio-common/printf-prs.c: Likewise.
15575 * stdio-common/printf_fp.c: Likewise.
15576 * stdio-common/printf_fphex.c: Likewise.
15577 * stdio-common/printf_size.c: Likewise.
15578 * stdio-common/putw.c: Likewise.
15579 * stdio-common/scanf.c: Likewise.
15580 * stdio-common/sprintf.c: Likewise.
15581 * stdio-common/tmpfile.c: Likewise.
15582 * stdio-common/vfprintf.c: Likewise.
15583 * stdio-common/vfscanf.c: Likewise.
15584 * stdlib/strfmon_l.c: Likewise.
15585 * sunrpc/openchild.c: Likewise.
15586 * sunrpc/xdr_stdio.c: Likewise.
15587 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15588 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15589
d6c33fda
RM
155902012-05-24 Roland McGrath <roland@hack.frob.com>
15591
c1487492
RM
15592 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15593
15594 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15595 in the third column, to generate for the shared library an IFUNC
15596 that uses _dl_vdso_vsym.
15597 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15598 * Makeconfig (object-suffixes-noshared): New variable.
15599
15600 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15601 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15602 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15603 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15604
d6c33fda
RM
15605 [BZ #14132]
15606 * include/sys/time.h (__gettimeofday): Remove macro.
15607 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15608 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15609 Remove INTDEF.
15610 (__gettimeofday): Add libc_hidden_def.
15611 (gettimeofday): Add libc_hidden_weak.
15612 * sysdeps/mach/gettimeofday.c: Likewise.
15613 * sysdeps/posix/gettimeofday.c: Likewise.
15614 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15615 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15616 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15617 (__gettimeofday_internal): Remove strong_alias.
15618 (__gettimeofday): Add libc_hidden_def.
15619 (gettimeofday): Add libc_hidden_weak.
15620 * sysdeps/unix/syscalls.list (gettimeofday):
15621 Remove __gettimeofday_internal alias.
15622
b5a2bbe6
L
156232012-05-24 Daniel Jacobowitz <drow@false.org>
15624 H.J. Lu <hongjiu.lu@intel.com>
15625
15626 [BZ #12495]
15627 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15628 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15629 (largebin_index_32_big): New.
15630 (largebin_index): Use it for 16-byte alignment.
15631 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15632 correction with front_misalign.
15633
cfba4fda
L
156342012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15635
7f907421
L
15636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15638 Likewise.
15639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15640 Likewise.
15641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15642 Likewise.
15643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15644 Likewise.
15645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15646 Likewise.
15647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15648 Likewise.
15649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15650 Likewise.
15651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15652 Likewise.
15653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15654 Likewise.
15655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15656 Likewise.
15657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15658 Likewise.
15659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15660 Likewise.
15661
cfba4fda
L
15662 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15663 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15664
80bad0cc
JM
156652012-05-24 Joseph Myers <joseph@codesourcery.com>
15666
7a25eb06
JM
15667 [BZ #10846]
15668 [BZ #14036]
15669 * math/libm-test.inc (exp_test): Add test from bug 14036.
15670 (pow_test): Add test from bug 10846.
15671
795405f9
JM
15672 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15673 and other flags.
15674 (special_function): Do not include flags in test name.
15675 (parse_args): Likewise.
15676 * sysdeps/i386/fpu/libm-test-ulps: Update.
15677 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15678 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15679 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15681
80bad0cc
JM
15682 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15683 exceptions.
15684 * math/libm-test.inc ("Philosophy"): Update comment about
15685 exception testing.
15686 (UNDERFLOW_EXCEPTION): New macro.
15687 (UNDERFLOW_EXCEPTION_OK): Likewise.
15688 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15689 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15690 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15691 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15692 (INVALID_EXCEPTION_OK): Update value.
15693 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15694 (OVERFLOW_EXCEPTION_OK): Likewise.
15695 (IGNORE_ZERO_INF_SIGN): Likewise.
15696 (test_exceptions): Handle underflow exceptions.
15697 (acos_test): Update for underflow exception expectations.
15698 (cexp_test): Likewise.
15699 (clog_test): Likewise.
15700 (clog10_test): Likewise.
15701 (csqrt_test): Likewise.
15702 (ctan_test): Likewise.
15703 (ctanh_test): Likewise.
15704 (exp_test): Likewise.
15705 (exp10_test): Likewise.
15706 (exp2_test): Likewise.
15707 (expm1_test): Likewise.
15708 (fma_test): Likewise.
15709 (j0_test): Likewise.
15710 (jn_test): Likewise.
15711 (nexttoward_test): Likewise.
15712 (pow_test): Likewise.
15713 (scalbn_test): Likewise.
15714 (scalbln_test): Likewise.
15715 (tan_test): Likewise.
15716 (y1_test): Likewise.
15717 * sysdeps/i386/fpu/libm-test-ulps: Update.
15718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15719
9e0e3d0b
DM
157202012-05-23 David S. Miller <davem@davemloft.net>
15721
15722 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15723 (__libc_sigaction): Remove unused local variables.
15724
ccd0a08f
L
157252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15726
15727 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15728
62bdf9a6
PE
157292012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15730
f8591f80
PE
15731 mktime: avoid signed integer overflow
15732 * time/mktime.c (__mktime_internal): Do not mishandle the case
15733 where diff == INT_MIN.
15734
94c7d826
PE
15735 mktime: simplify computation of average
15736 * time/mktime.c (ranged_convert): Use new time_t_avg function
15737 instead of rolling our own (probably-slower) code.
15738
ce73d683
PE
15739 mktime: do not assume signed right shift propagates sign bit
15740 * time/mktime.c (isdst_differ): New static function.
15741 (__mktime_internal): No need to normalize tm_isdst now.
15742 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15743 tm_isdst values.
15744
72a22e59
PE
15745 mktime: merge another wrapv change from gnulib
15746 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15747 from some compilers.
15748
68605433
PE
15749 mktime: remove incorrect attempt at unusual arithmetics
15750 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15751 The code didn't really work on such machines anyway.
15752 (TYPE_MINIMUM): Assume two's complement.
15753 (twos_complement_arithmetic): Verify that long_int and time_t
15754 are two's complement (or unsigned, in the latter case).
15755
03cf7fe3
PE
15756 mktime: check signed shifts on long_int and time_t, too
15757 * time/mktime.c (SHR): Check that shifts work as desired
15758 on the types long_int and time_t too, as SHR is used on
15759 such types.
15760
f04dfbc2
PE
15761 mktime: do not assume 'long' is wide enough
15762 * time/mktime.c (verify): Move decl up.
15763 (long_int): New type.
15764 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15765 to remove assumption in the code that 'long' is wide enough to
15766 store year values. This assumption is not true on x32 and on
15767 some non-glibc platforms.
15768
62bdf9a6
PE
15769 mktime: merge wrapv change from gnulib
15770 * time/mktime.c (WRAPV): New macro.
15771 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15772 (guess_time_tm, __mktime_internal): Do not assume that signed
15773 integer overflow wraps around; modern compilers generate code
15774 where this assumption is no longer valid.
15775
5e292e4f
L
157762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15777
15778 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15779 Replace "jmp L(pseudo_end)" with "ret".
15780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15781 Likewise.
15782
8caf8c87
AJ
157832012-05-23 Andreas Jaeger <aj@suse.de>
15784
15785 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15786 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15787
1a09dc56
AJ
157882012-05-23 Andreas Jaeger <aj@suse.de>
15789 Maximilian Attems <max@stro.at>
15790
15791 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15792 New macros.
15793
1c87aba0
L
157942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15795
15796 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15797 code so that pseudo_end is just ret and the stack pointer is
15798 correct also for static library in error case.
15799
40e45bd5
JM
158002012-05-23 Joseph Myers <joseph@codesourcery.com>
15801
c2670533
JM
15802 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15803 move to syscalls.list.
15804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15808
40e45bd5
JM
15809 * manual/install.texi (Running make install): Do not mention Linux
15810 kernel version for which pt_chown is not needed.
15811 (Linux): Do not mention problems with nscd with 2.0 kernels.
15812 * INSTALL: Regenerated.
15813
be08eda5
AJ
158142012-05-23 Andreas Jaeger <aj@suse.de>
15815
15816 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15817 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15818 macro.
15819 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15820 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15821 * sysdeps/unix/sysv/linux/sh/bits/mman.h
15822 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15823 * sysdeps/unix/sysv/linux/i386/bits/mman.h
15824 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15825 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15826 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15827 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15828 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15829 * sysdeps/unix/sysv/linux/bits/in.h
15830 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15831
a6a056bb
RM
158322012-05-22 Roland McGrath <roland@hack.frob.com>
15833
15834 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15835 (PREPARE_VERSION): Just use assert instead, it will be elided
15836 under [NDEBUG] anyway.
15837
c9009328
L
158382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15839
15840 * sysdeps/unix/sysv/linux/Makefile: Include
15841 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 15842 (sysdep_routines): Remove sysctl.
c9009328
L
15843 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15844 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15845 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15846 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
15847 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
15848
73338355
AJ
158492012-05-22 Andreas Jaeger <aj@suse.de>
15850
15851 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15852 that pseudo_end is just ret and the stack pointer is correct also
15853 for static library in error case.
15854
d44638b0
PP
158552012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15856
15857 [BZ #14122]
15858 * nss/nsswitch.c (defconfig_entries): New variable.
15859 (__nss_database_lookup): Don't leak defconfig entries.
15860 (nss_parse_service_list): Don't leak on error paths.
15861 (free_database_entries): New function.
15862 (free_defconfig): New function.
15863 (free_mem): Move common code to free_database_entries.
15864
31a39bd8
L
158652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15866
da0331a8
L
15867 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15868 Add arch_prctl.
15869 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15870
31a39bd8
L
15871 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15872 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15874 New macro.
15875 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15876 (INTERNAL_SYSCALL_TYPES): Likewise.
15877 (LOAD_ARGS_TYPES_[1-6]): Likewise.
15878 (LOAD_REGS_TYPES_[1-6]): Likewise.
15879 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15880 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15881
45470df3
AZ
158822012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15883
15884 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15885 copysignl for GLIBC_2_0.
15886 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15887 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15889 logbl for GLIBC_2_0.
15890 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15891 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15892
98a61bcb
L
158932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15894
a4f6e481
L
15895 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15896 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15897
f63d5db6
L
15898 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15899 Use "neg %eax".
15900
98a61bcb
L
15901 * time/mktime.c: Update copyright years.
15902
95770f14
PE
159032012-05-22 Paul Eggert <eggert@cs.ucla.edu>
15904
6226efbd
PE
15905 mktime: merge comment-quoting-style change from gnulib
15906 * time/mktime.c: Quote 'like this' in comments.
15907 The GNU coding standards suggest that we no longer quote `like this',
15908 as "`" and "'" are typically rendered asymmetrically nowadays.
15909 The typical gnulib style is to quote 'like this' when quoting
15910 code, and "like this" when quoting English.
15911
b99e4f78
PE
15912 * time/mktime.c (compile-command): Add "-I.".
15913
643e01e6
PE
15914 mktime: merge mktime-internal.h change from gnulib
15915 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15916
2554247d
PE
15917 mktime: merge time_r change from gnulib
15918 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15919
826dd0ab
PE
15920 mktime: merge DEBUG change from gnulib
15921 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15922 case system <time.h> has a #define.
15923
bd83aabe
PE
15924 mktime: merge <sys/types.h> change from gnulib
15925 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15926 since <time.t> is now guaranteed to define time_t.
15927
95770f14
PE
15928 mktime: merge HAVE_CONFIG_H change from gnulib
15929 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15930
5e1a27a9
L
159312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15932
0e44a77e
L
15933 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15934 Use "neg %eax".
15935
5e1a27a9
L
15936 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15937 __rlim_t cast.
15938 (struct rusage): Use anonymous union to pad each field to
15939 __syscall_slong_t.
15940
46259bec
DM
159412012-05-21 David S. Miller <davem@davemloft.net>
15942
15943 * Makefules (o-iterator): Remove .s cases.
15944 (compile-command.s): Delete.
15945 (COMPILE.s): Delete.
15946 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15947
59f0c22e
JM
159482012-05-21 Joseph Myers <joseph@codesourcery.com>
15949
15950 * configure.in (libc_cv_predef_stack_protector): Only consider
15951 "foobar" and "__stack_chk_fail" lines in libc_undefs.
15952 * configure: Regenerated.
15953
20c07380
L
159542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15955
bbb3154b
L
15956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15957 New macro. Use R*LP on int and pointer.
15958 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
15959 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15960 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
15961 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15962
20c07380
L
15963 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15964 [__WORDSIZE_TIME64_COMPAT32] instead of
15965 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15966 (struct utmp): Likewise.
15967 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15968 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15969 Renamed to ...
15970 (__WORDSIZE_TIME64_COMPAT32): This.
15971 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15972 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15973 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15974 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15975 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15976 (__WORDSIZE_TIME64_COMPAT32): New macro.
15977
d8d1017e
AJ
159782012-05-21 Andreas Jaeger <aj@suse.de>
15979
15980 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15981 only if [SHARED]. Add prototype for __wcschr_ia32.
15982
6c7fb145
RM
159832012-05-21 Roland McGrath <roland@hack.frob.com>
15984
15985 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15986 of %rbp unmolested in the jmp_buf while mangling the low bits.
15987 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15988 unmolested high bits of %rbp while demangling the low bits.
15989 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15990
66274218
AJ
159912012-05-21 Andreas Jaeger <aj@suse.de>
15992
07c58f8f
AJ
15993 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15994 * sunrpc/svc_simple.c: Use it for registerrpc.
15995 * sunrpc/xcrypt.c: Use it for passwd2des.
15996
66274218
AJ
15997 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15998
61f65140
L
159992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16000
16001 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16002 Don't define if [__SYSCALL_WORDSIZE != 32].
16003 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16004 New macro.
16005
5fefb436
AJ
160062012-05-21 Bruno Haible <bruno@clisp.org>
16007 Andreas Jaeger <aj@suse.de>
16008
16009 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16010 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16011 inptr and inend for must_buffer_ch.
16012 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16013 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16014 * stdio-common/Makefile (tests): Remove bug15.
16015 (bug15-ENV): Remove macro.
16016 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16017 anymore.
16018
d8e272ab
AJ
160192012-05-19 Andreas Jaeger <aj@suse.de>
16020 Roland McGrath <roland@hack.frob.com>
16021
16022 * manual/contrib.texi: Completely rewritten. It contains now an
16023 alphabetical list of contributors and their contributions.
16024
4a56a162
RH
160252012-05-21 Richard Henderson <rth@twiddle.net>
16026
16027 * misc/getauxval.c (__getauxval): Use unsigned long int.
16028 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16029 (getauxval): Use unsigned long int.
16030
d024d23c
L
160312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16032
16033 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16034
cbc00a03
RM
160352012-05-21 Roland McGrath <roland@hack.frob.com>
16036
16037 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16038 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16039 __alignof__ (long double).
16040
478143fa
AZ
160412012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16042
16043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16044
c7683a6d
RH
160452012-05-20 Richard Henderson <rth@twiddle.net>
16046
16047 * misc/getauxval.c: New file.
16048 * misc/sys/auxv.h: New file.
16049 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16050 (routines): Add getauxval.
16051 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16052 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16053 * elf/dl-sysdep.c (_dl_auxv): Remove.
16054 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16055 * elf/dl-support.c (_dl_auxv): New variable.
16056 (_dl_aux_init): Initialize it.
16057 * manual/startup.texi (Auxiliary Vector): New node.
16058 * sysdeps/generic/bits/hwcap.h: New file.
16059 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16060 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16061 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16062 * sysdeps/sparc/sysdep.h: ... here. Include it.
16063 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16064 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16066 Update.
c7683a6d
RH
16067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16070 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16075
a6f1845d
AZ
160762012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16077
16078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16079
cbcbe830
DM
160802012-05-19 David S. Miller <davem@davemloft.net>
16081
16082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16083
e0b16cc2
JM
160842012-05-19 Joseph Myers <joseph@codesourcery.com>
16085
16086 [BZ #14123]
16087 * math/s_ccosh.c: Include <float.h>
16088 (__ccosh): Avoid internal overflow calculating sinh and cosh
16089 values before multiplying by sin and cos values.
16090 * math/s_ccoshf.c: Likewise.
16091 * math/s_ccoshl.c: Likewise.
16092 * math/s_csin.c: Likewise.
16093 * math/s_csinf.c: Likewise.
16094 * math/s_csinl.c: Likewise.
16095 * math/s_csinh.c: Likewise.
16096 * math/s_csinhf.c: Likewise.
16097 * math/s_csinhl.c: Likewise.
16098 * math/libm-test.inc (ccos_test): Add more tests.
16099 (ccosh_test): Likewise.
16100 (csin_test): Likewise.
16101 (csinh_test): Likewise.
16102 * sysdeps/i386/fpu/libm-test-ulps: Update.
16103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16104
6ad13e08
L
161052012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16106
f66f0ce8
L
16107 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16108 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16109
6ad13e08
L
16110 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16111
b1d072a7
JM
161122012-05-19 Joseph Myers <joseph@codesourcery.com>
16113
16114 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16115 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16116 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16117 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16118 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16119 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16120 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16121 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16122 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16123 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16124 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16125 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16126 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16127 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16128 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16129 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16130 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16131 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16132 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16133 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16134 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16135 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16136 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16137 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16138 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16139 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16140 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16141 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16142 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16143 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16144 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16145
9eae47cb
AJ
161462012-05-18 Andreas Jaeger <aj@suse.de>
16147
16148 * csu/.gitignore: Delete.
16149
bb07f69f
L
161502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16151
16152 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16153 (timex): Use __syscall_slong_t.
16154
e6bdb741
AJ
161552012-05-18 Andreas Jaeger <aj@suse.de>
16156 Carlos O'Donell <carlos_odonell@mentor.com>
16157
16158 * manual/install.texi (Configuring and compiling): Update
16159 description about files modified in the source directory.
d6c33fda 16160 * INSTALL: Regenerated.
e6bdb741 16161
1b74487e
L
161622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16163
16164 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16165 value. Use "or" to set return value to -1.
16166 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16167 negate return value.
16168
a88b64b9
TMQMF
161692012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16170
16171 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16172 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16173 failure if the compiler has Graphite support disabled.
16174 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16175 Likewise.
16176 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16177 CFLAGS-memmove.c): Likewise.
16178 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16179 Likewise.
16180
3707636e
L
161812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16182
610b8622
L
16183 * sysdeps/x86_64/x32/_itoa.h: New file.
16184
7cd195df
L
16185 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16186 getdents system call only if kernel and user dirents have the
16187 same d_ino and d_off.
16188
94b07d20
L
16189 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16190 LLONG_MAX != LONG_MAX.
16191 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16192 (_fitoa_word): Likewise.
16193
18298070
L
16194 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16195 years.
16196 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16197 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16198 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16199
553c7ea4
L
16200 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16201 include <bits/wordsize.h>. Check __x86_64__ instead of
16202 __WORDSIZE.
16203 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16204 if __x86_64__ is defined. Use anonymous union on fpstate.
16205
3707636e
L
16206 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16207 anonymous union.
16208
b53ef01a
AS
162092012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16210
37fb1dc0
AS
16211 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16212 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16213 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16214 Refer to _rtld_local_ro instead of _rtld_global_ro.
16215 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16216 Likewise.
16217 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16218 Likewise.
16219 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16220 Likewise.
16221 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16222 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16223 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16224
b53ef01a
AS
16225 * sysdeps/powerpc/powerpc32/dl-machine.c
16226 (__elf_machine_runtime_setup) [PROF]: Don't reference
16227 _dl_prof_resolve.
16228
7a185db2
AJ
162292012-05-18 Andreas Jaeger <aj@suse.de>
16230
16231 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16232 function only available for GCCs before 3.4 since GCC 3.4
16233 introduced a builtin.
16234 (lrint): Likewise.
16235 (llrintf): Likewise.
16236 (llrint): Likewise.
16237 (fmaxf): Likewise.
16238 (fmax): Likewise.
16239 (fminf): Likewise.
16240 (fmin): Likewise.
16241 (rint): Likewise.
16242 (rintf): Likewise.
16243 (nearbyint): Likewise.
16244 (nearbyintf): Likewise.
16245 (ceil): Likewise.
16246 (ceilf): Likewise.
16247 (floor): Likewise.
16248 (floorf): Likewise.
16249
3e5aef87
L
162502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16251
428bd707
L
16252 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16253 on both fields and cast pointer to __syscall_ulong_t.
16254
3e5aef87
L
16255 * bits/types.h (__fsword_t): New type.
16256 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16257 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16259 (__FSWORD_T_TYPE): Likewise.
16260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16261 (__FSWORD_T_TYPE): Likewise.
16262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16263 (__FSWORD_T_TYPE): Likewise.
16264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16265 (__FSWORD_T_TYPE): Likewise.
16266 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16267 __SWORD_TYPE with __fsword_t.
16268 (statfs64): Likewise.
16269
1ba7c3dc
DM
162702012-05-17 David S. Miller <davem@davemloft.net>
16271
16272 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16273
59910343
AJ
162742012-05-17 Andreas Jaeger <aj@suse.de>
16275
16276 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16277 warning.
16278
2e4c1e9e
L
162792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16280
16281 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16282
de7f5ce7
AJ
162832012-05-17 Andreas Jaeger <aj@suse.de>
16284
16285 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16286 when it is used.
16287
286abc3d
CM
162882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16289
16290 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16291
477cc68e
L
162922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16293
16294 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16295 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16296
1a0994f5
CD
162972012-05-17 Andreas Jaeger <aj@suse.de>
16298 Carlos O'Donell <carlos_odonell@mentor.com>
16299
16300 [BZ #14059]
16301 * sysdeps/x86_64/multiarch/init-arch.h
16302 (bit_YMM_Usable): Rename to...
16303 (bit_AVX_Usable): ... this.
16304 (bit_FMA4_Usable): New macro.
16305 (bit_XMM_state): New macro.
16306 (bit_YMM_state): New macro.
16307 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16308 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16309 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16310 (CPUID_OSXSAVE): New macro.
16311 (CPUID_AVX): New macro.
16312 (CPUID_FMA4): New macro.
16313 (index_YMM_Usable): Rename to...
16314 (index_AVX_Usable): ... this.
16315 (HAS_AVX): Use HAS_ARCH_FEATURE.
16316 (HAS_FMA4): Likewise.
16317 (HAS_YMM_USABLE): Remove.
16318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16319 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16320 are present.
16321 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16322 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16323 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16324 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16325 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16326
0af797de
CM
163272012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16328
16329 * math/libm-test.c: Support platforms without multiple rounding modes.
16330 * math/bug-nextafter.c: Support platforms without FP exceptions.
16331 * math/bug-nexttoward.c: Likewise.
16332 * math/test-fenv.c: Likewise.
16333 * math/test-misc.c: Likewise.
16334 * stdlib/bug-getcontext.c: Likewise.
16335
e39745ff
AJ
163362012-05-17 Andreas Jaeger <aj@suse.de>
16337
16338 * manual/examples/search.c (critter_cmp): Change signature to
16339 avoid warnings.
16340 * manual/string.texi (Collation Functions): Likewise.
16341
48970aba
L
163422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16343
16344 * bits/types.h: Fold copyright years.
16345 * bits/typesizes.h: Likewise.
16346 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16347 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16349 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16350 * time/time.h: Likewise.
16351
bedee953
PP
163522012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16353
16354 [BZ #208]
16355 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16356 in instead of returning them. Return void.
16357 (__libc_mallinfo): Accumulate over all arenas.
16358 (__malloc_stats): Adjust for change in int_mallinfo interface.
16359
61653dfb
RM
163602012-05-16 Roland McGrath <roland@hack.frob.com>
16361
30b99d79
RM
16362 [BZ #10375]
16363 * configure.in (NM): Add AC_CHECK_TOOL for it.
16364 (libc_extra_cflags): New substituted variable.
16365 Check for -fstack-protector being used implicitly.
16366 * configure: Regenerated.
16367 * config.make.in (config-extra-cflags): New variable,
16368 gets @libc_extra_cflags@.
16369 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16370
61653dfb
RM
16371 [BZ #10375]
16372 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16373 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16374 * configure: Regenerated.
16375 * config.make.in (CPPUNDEFS): New substituted variable.
16376 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16377 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16378 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16379
661768bb
L
163802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16381
16382 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16383 (mq_attr): Use __syscall_slong_t.
16384
d4261567
L
163852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16386
16387 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16388 Check __x86_64__ instead of __WORDSIZE.
16389 (_STAT_VER_LINUX): Likewise.
16390 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16391 __syscall_ulong_t and __syscall_slong_t.
16392 (stat64): Likewise.
16393
cf3ff365
L
163942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16395
16396 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16397
76cf3e4d
L
163982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16399
16400 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16401
a637753a
L
164022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16403
16404 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16405 __syscall_ulong_t.
16406
d5e05119
L
16407 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16408 include <bits/wordsize.h>. Check __x86_64__ instead of
16409 __WORDSIZE.
16410 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16411 defined.
16412 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16413
f62ee380
L
16414 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16415 include <bits/wordsize.h>. Check __x86_64__ instead of
16416 __WORDSIZE.
16417 (user_regs_struct): Use "__extension__ unsigned long long"
16418 instead of "unsigned long" if __x86_64__ is defined.
16419 (user): Likewise. Pad after pointer field if __ILP32__ is
16420 defined.
16421
4e124ced
JM
164222012-05-16 Joseph Myers <joseph@codesourcery.com>
16423
6a3951a0
JM
16424 * configure.in (makeinfo): Require version 4.5 or later. Allow
16425 versions 5 to 9.
16426 * configure: Regenerated.
16427 * manual/install.texi (texinfo): Increase version requirement to
16428 4.5 or later.
16429 * INSTALL: Regenerated.
16430
4e124ced
JM
16431 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16432
953ca31a
L
164332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16434
16435 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16436
617aca05
L
16437 * sysdeps/x86_64/x32/ffs.c: New file.
16438
5762f7ae
L
16439 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16440 __syscall_ulong_t.
16441 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16442 defined. Use __syscall_ulong_t.
16443 (shminfo): Use __syscall_ulong_t.
16444 (shm_info): Likewise.
16445
a26b6856
L
16446 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16447 __syscall_ulong_t.
16448
cb2b9ef7
L
16449 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16450 <bits/wordsize.h>.
16451 (msgqnum_t): Use __syscall_ulong_t.
16452 (msglen_t): Likewise.
16453 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16454 __syscall_ulong_t.
16455
34683bb0
L
16456 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16457 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16458
84a68786
L
16459 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16460
48baa5f1
L
16461 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16462 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16463
180be88b
L
16464 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16465 __syscall_slong_t.
16466
5e90c8ad
L
16467 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16468 include <bits/wordsize.h>. Check __x86_64__ instead of
16469 __WORDSIZE.
16470
23dfb58b
L
16471 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16472 "unsigned long long int" if __x86_64__ is defined.
16473 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16474
ce5d54b0
L
16475 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16476 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16477 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16478
13dc9eac
L
16479 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16480 <stdint.h>.
16481 (GET_PC): Cast to uintptr_t first.
16482 (GET_FRAME): Likewise.
16483 (GET_STACK): Likewise.
16484
a7895d15
L
16485 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16486 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16487 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16488 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16489 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16490 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16491 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16492 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16493 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16494 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16495 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16496 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16497 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16498 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16499 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16500 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16501 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16502 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16503 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16504 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16505 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16506 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16507 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16508 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16509 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16510 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16511 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16512 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16513 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16514
656416c9
AS
165152012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16516
5bd66283
AS
16517 * Makerules (+depfiles): Also collect depfiles from .oS in
16518 $(extra-objs).
16519 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16520 .oS, $(libnldbl-routines)).
16521
656416c9
AS
16522 * Makerules (native-compile-mkdep-flags): Define.
16523 * sunrpc/Makefile (extra-objs): Add $(addprefix
16524 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16525 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16526 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16527 calling $(make-target-directory).
16528
a46f2169
L
165292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16530
16531 * bits/types.h (__snseconds_t): Removed.
16532 * time/time.h (struct timespec): Replace __snseconds_t with
16533 __syscall_slong_t.
16534 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16535 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16536 Likewise.
16537 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16538 (__SNSECONDS_T_TYPE): Likewise.
16539 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16540 (__SNSECONDS_T_TYPE): Likewise.
16541 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16542 (__SNSECONDS_T_TYPE): Likewise.
16543
6af6528b
L
165442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16545
16546 * sysdeps/mach/hurd/bits/typesizes.h
16547 (__SYSCALL_SLONG_TYPE): New macro.
16548 (__SYSCALL_ULONG_TYPE): Likewise.
16549
de986b56
L
165502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16551
16552 * bits/types.h (__syscall_slong_t): New type.
16553 (__syscall_ulong_t): Likewise.
16554
16555 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16556 (__SYSCALL_ULONG_TYPE): Likewise.
16557 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16558 (__SYSCALL_SLONG_TYPE): Likewise.
16559 (__SYSCALL_ULONG_TYPE): Likewise.
16560 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16561 (__SYSCALL_SLONG_TYPE): Likewise.
16562 (__SYSCALL_ULONG_TYPE): Likewise.
16563 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16564 (__SYSCALL_SLONG_TYPE): Likewise.
16565 (__SYSCALL_ULONG_TYPE): Likewise.
16566
85736dc7
L
165672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16568
16569 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16570 Add sigaltstack-offsets.sym.
16571 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16572 <sigaltstack-offsets.h>.
16573 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16574 longjmp_msg pointer.
16575 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16576 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16577 signal stack.
16578 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16579
cc03b296
JM
165802012-05-15 Joseph Myers <joseph@codesourcery.com>
16581
a9538892
JM
16582 * elf/stackguard-macros.h: Remove file.
16583 * sysdeps/generic/stackguard-macros.h: New file.
16584 * sysdeps/i386/stackguard-macros.h: Likewise.
16585 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16586 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16587 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16588 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16589 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16590 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16591 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16592 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16593 <elf/stackguard-macros.h>.
16594
cc03b296
JM
16595 [BZ #14109]
16596 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16597 __aligned__ in attribute.
16598 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16599 (gregset_t): Likewise.
16600
93171016
L
166012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16602
16603 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16604 * sysdeps/x86_64/64/Implies-after: Here. New file.
16605 * sysdeps/x86_64/x32/Implies-after: New file.
16606
d86813a0
L
166072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16608
16609 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16610 and access return value for _dl_profile_fixup. Use R10_LP to
16611 load frame size.
16612
2953ec75
L
166132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16614
16615 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16616
3b550e9e
L
166172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16618
16619 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16620 * sysdeps/x86_64/x32/sysdep.h: New file.
16621
eda41706
L
166222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16623
16624 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16625 * sysdeps/x86_64/setjmp.S: Likewise.
16626
9ea01d93
AZ
166272012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16628
16629 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16630 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16631 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16632 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16633 remove unused global constant.
16634
02a91938
CM
166352012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16636
16637 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16638 include of <not-cancel.h>.
16639
6540185f
RM
166402012-05-15 Roland McGrath <roland@hack.frob.com>
16641
16642 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16643
509072a0
AJ
166442012-05-15 Jeff Law <law@redhat.com>
16645 Andreas Jaeger <aj@suse.de>
16646
16647 [BZ #13594]
16648 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16649 out from...
16650 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16651 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16652 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16653 code changing __hst_map_handle.map.
16654
ba75122d
RM
166552012-05-15 Roland McGrath <roland@hack.frob.com>
16656
16657 * configure.in (sysnames): Look for Implies-before and Implies-after
16658 files.
16659 * configure: Regenerated.
16660
890d8bd8
L
166612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16662
16663 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16664 8-byte data alignment with LP_SIZE alignment.
16665
f6ee6623
L
166662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16667
16668 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16669 into R10_LP.
16670
ea2626f6
L
166712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16672
16673 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16674
085f715e
L
166752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16676
16677 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16678 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16679 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16680 Likewise.
16681 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16682
be8498fc
L
166832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16684
16685 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16686 (stackinfo_sub_sp): Likewise.
16687
70bc83b9
L
166882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16689
16690 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16691 RAX_LP.
16692
9bc0b730
L
166932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16694
16695 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16696 into R*_LP.
16697
6d2850e7
L
166982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16699
16700 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16701 sizes into R*_LP.
16702
3cb84561
L
167032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16704
16705 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16706
54e2ed81
L
167072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16708
16709 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16710 into R11_LP and load __x86_64_shared_cache_size_half into
16711 R8_LP.
16712
8a17f349
L
167132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16714
16715 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16716 R8_LP.
16717
777b1eea
AZ
167182012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16719
16720 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16721 logb for POWER7.
16722 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16723 logbf for POWER7.
16724 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16725 logbl for POWER7.
16726 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16727 powerpc32/power7/fpu/s_logb.c via #include.
16728 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16729 powerpc32/power7/fpu/s_logbf.c via #include.
16730 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16731 powerpc32/power7/fpu/s_logbl.c via #include.
16732
d20d4ac2
JM
167332012-05-15 Joseph Myers <joseph@codesourcery.com>
16734
16735 * README.libm: Remove file.
16736
6cdef1ab
L
167372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16738
16739 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16740 count for x32. Use R*_LP and omit operand-size suffix.
16741
0b254d8f
L
167422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16743
16744 * shlib-versions: Move x86_64-.*-linux.* entries to ...
16745 * sysdeps/x86_64/64/shlib-versions: Here. New file.
16746 * sysdeps/x86_64/x32/shlib-versions: New file.
16747
ceb809dc
RM
167482012-05-14 Roland McGrath <roland@hack.frob.com>
16749
16750 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16751 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16752 Use _dl_fatal_printf instead.
16753
37f1abd4
JM
167542012-05-14 Joseph Myers <joseph@codesourcery.com>
16755
16756 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16757 set if not set by the user. Do not allow for being unset.
16758 * sysdeps/unix/sysv/linux/configure: Regenerated.
16759
11de3a33
L
167602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16761
16762 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16763 the `q' suffix from lea and replace .quad with ASM_ADDR.
16764
e02f153a
L
167652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16766
16767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16768 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16769 instead of $17.
16770 (PTR_DEMANGLE): Likewise.
16771
520ae0fd
L
167722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16773
16774 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16775 (LP_OP): Likewise.
16776 (ASM_ADDR): Likewise.
16777 (RAX_LP): Likewise.
16778 (RBP_LP): Likewise.
16779 (RBX_LP): Likewise.
16780 (RCX_LP): Likewise.
16781 (RDI_LP): Likewise.
16782 (RSI_LP): Likewise.
16783 (RSP_LP): Likewise.
16784 (R8_LP): Likewise.
16785 (R9_LP): Likewise.
16786 (R10_LP): Likewise.
16787 (R10_LP): Likewise.
16788 (R11_LP): Likewise.
16789 (R12_LP): Likewise.
16790 (R13_LP): Likewise.
16791 (R14_LP): Likewise.
16792 (R15_LP): Likewise.
16793
b985be81
L
167942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16795
16796 * sysdeps/x86_64/x32/dl-machine.h: New file.
16797
6a4888ff
AJ
167982012-05-14 Andreas Jaeger <aj@suse.de>
16799
16800 * manual/Makefile (subdir): Remove export of subdir.
16801 (all): Remove target.
16802 (.PHONY): Remove all from list.
16803 (mkinstalldirs): Remove.
16804 (.PHONY): Remove installdirs from list.
16805 ($(inst_infodir)/libc.info): Use make-target-directory.
16806 (installdirs): Remove.
16807 (subdir_%): Remove.
16808 (glibc-targets): Remove.
16809 (lib): Remove.
16810 (stubs): Remove.
16811 ($(objpfx)stubs ../po/manual.pot): Remove.
16812 ($(objpfx)stamp%): Remove.
16813 (make-target-directory): Remove.
16814 (subdir_install): Remove.
16815 (routines): Remove.
16816 (aux): Remove.
16817 (sources): Remove.
16818 (objects): Remove.
16819 (headers): Remove.
16820
16821 [BZ #13750]
16822 * manual/.gitignore: Remove, it's not needed anymore.
16823 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16824 all files in it.
16825 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16826 directory.
16827 (texis): Renamed to $(objpfx)texis.
16828 (texis-path): New, contains path to generated files.
16829 (chapters.%): Use texis-path for complete path, add extra argument
16830 libc-texinfo.sh.
16831 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16832 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16833 (summary,texi, stamp-summary): Use complete path of
16834 files. Generate files in build dir.
16835 (dir-add.texi): Build in build dir.
16836 (libm-err.texi,stamp-libm-err): Likewise.
16837 (version.texi, stamp-version): Likewise.
16838 (.%c.texi): Likewise.
16839 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16840 (mostlyclean): Remove target.
16841 (realclean): Remove target.
16842 (generated): Add new variable with contents from mostlyclean and
16843 realclean, remove entries duplicated in common-mostlyclean, add
16844 stamp-libm-err and stamp-version.
16845 (generated-dirs): Add libc directory.
16846 ($(inst_infodir)/libc.info): Install files from build dir.
16847
16848 * manual/install.texi (Configuring and compiling): Adjust since
16849 the info files are not part of the tar ball anymore.
16850
7ac77294
AJ
168512012-05-14 Andreas Jaeger <aj@suse.de>
16852
16853 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16854 variable.
16855
ffb7875d
JM
168562012-05-14 Joseph Myers <joseph@codesourcery.com>
16857
16858 [BZ #13717]
16859 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16860 to 2.2.0 where earlier.
16861 * sysdeps/unix/sysv/linux/configure: Regenerated.
16862 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16863 Remove conditional code.
16864 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16865 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16866 Remove conditional code.
16867 [!__NR_lchown]: Likewise.
16868 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16869 [__NR_lchown]: Likewise.
16870 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16871 comment referencing __ASSUME_LCHOWN_SYSCALL.
16872 * sysdeps/unix/sysv/linux/i386/sigaction.c
16873 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16874 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16875 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16876 Remove conditional code.
16877 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16878 (__protocol_available): Remove #if 0 code.
16879 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16880 conditional code.
16881 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16882 * sysdeps/unix/sysv/linux/kernel-features.h
16883 (__ASSUME_GETCWD_SYSCALL): Don't define.
16884 (__ASSUME_REALTIME_SIGNALS): Likewise.
16885 (__ASSUME_PREAD_SYSCALL): Likewise.
16886 (__ASSUME_PWRITE_SYSCALL): Likewise.
16887 (__ASSUME_POLL_SYSCALL): Likewise.
16888 (__ASSUME_LCHOWN_SYSCALL): Likewise.
16889 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16890 non-SPARC.
16891 (__ASSUME_SIOCGIFNAME): Don't define.
16892 (__ASSUME_MSG_NOSIGNAL): Likewise.
16893 (__ASSUME_SENDFILE): Define unconditionally.
16894 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16895 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16896 conditional code.
16897 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16898 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16899 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16900 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16901 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16902 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16903 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16905 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16906 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16908 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16909 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16911 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16912 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16914 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16915 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16917 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16918 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16920 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16921 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16923 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16924 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16926 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16927 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16928 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16929 Remove conditional code.
16930 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16931 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16932 Remove conditional code.
16933 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16934 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16935 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16936 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16937 Remove conditional code.
16938 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16939 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16940 Remove conditional code.
16941 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16942 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16943 Remove conditional code.
16944 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16945 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16946 Remove conditional code.
16947 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16948 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16949 Remove conditional code.
16950 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16951 * sysdeps/unix/sysv/linux/sh/pwrite64.c
16952 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16953 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16954 * sysdeps/unix/sysv/linux/sigaction.c
16955 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16956 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16957 * sysdeps/unix/sysv/linux/sigpending.c
16958 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16959 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16960 * sysdeps/unix/sysv/linux/sigprocmask.c
16961 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16962 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16963 * sysdeps/unix/sysv/linux/sigsuspend.c
16964 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16965 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16966 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16967 (__libc_missing_rt_sigs): Remove.
16968 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16969 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16970 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16971 Remove conditional code.
16972 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16973 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16974 return 1.
16975 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16976 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16977 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16978 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16979
1bfb7291
AJ
169802012-05-14 Andreas Jaeger <aj@suse.de>
16981
caae5a81
AJ
16982 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16983 it's not used in glibc.
16984 (__coshm1): Likewise.
16985 (__acosh1p): Likewise.
16986 (__sgn): Likewise.
16987
1bfb7291
AJ
16988 * manual/string.texi (Copying and Concatenation): Add missing
16989 variable in concat example.
16990 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16991
c044d724
L
169922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16993
144c5467 16994 [BZ #14103]
c044d724
L
16995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16996 __builtin_clzl with __builtin_clzll.
16997
2523c62b
L
169982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16999
17000 [BZ #14104]
17001 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17002 libc_freeres_ptr.
17003
d7bb4c42
LD
170042012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17005
17006 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17007 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17008 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17009 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17010
9dc4e1fb
MF
170112012-05-14 Mike Frysinger <vapier@gentoo.org>
17012
17013 * NEWS: Update ia64 info.
17014
c7df0112
AS
170152012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17016
17017 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17018 used as bcopy.
17019
dc70356c
TS
170202012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17021
17022 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17023 * sysdeps/unix/syscalls.list (dup3): Likewise.
17024 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17025 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17026
9fb1a21f
L
170272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17028
17029 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17030 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17031
4822a2a5
L
170322012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17033
17034 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17035 thread pointer.
17036 (TLS_IE): Use mov/add instead of movq/addq to load thread
17037 pointer.
17038 (TLS_GD_PREFIX): New.
17039 (TLS_GD): Use it.
17040
842b81d6
DM
170412012-05-11 David S. Miller <davem@davemloft.net>
17042
17043 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17044 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17045 (_FPU_SETCW): Likewise.
17046
1cf463cd
L
170472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17048
17049 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17050 is 32-byte aligned.
17051
60cc4a18
AS
170522012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17053
17054 [BZ #11837]
17055 * iconvdata/gb18030.c: Update tables.
17056 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17057 characters specially.
17058 (BODY for TO_LOOP): Add encoding of missing ranges.
17059
febb44a4
TS
170602012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17061
17062 [BZ #13673]
17063 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17064 * sysdeps/mach/hurd/dup3.c: Likewise.
17065 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17066 * sysdeps/powerpc/memmove.c:: Likewise.
17067
0a10fb9e
L
170682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17069
17070 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17071 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17072
df8a552f
L
170732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17074
17075 * elf/elf.h (R_X86_64_RELATIVE64): New.
17076 (R_X86_64_NUM): Updated.
17077 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17078 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17079 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17080 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17081 tst-quad1pie tst-quad2pie
17082 (modules-names): Add tst-quadmod1 tst-quadmod2.
17083 ($(objpfx)tst-quad1): New dependency.
17084 ($(objpfx)tst-quad2): Likewise.
17085 ($(objpfx)tst-quad1pie): Likewise.
17086 ($(objpfx)tst-quad2pie): Likewise.
17087 * sysdeps/x86_64/tst-quad1.c: New file.
17088 * sysdeps/x86_64/tst-quad1pie.c: New file.
17089 * sysdeps/x86_64/tst-quad2.c: Likewise.
17090 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17091 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17092 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17093 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17094 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17095
f34d6f84
ST
170962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17097
f42d41d1
ST
17098 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17099 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17100 * streams/stropts.h (t_scalar_t): Define type.
17101
3c3571fc
ST
17102 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17103 (_PATH_PRESERVE): Set to "/var/lib".
17104 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17105
61f06bd3
ST
17106 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17107 instead of int.
17108
918d4d71
ST
17109 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17110 if __dir_mkfile succeeded.
17111
f34d6f84
ST
17112 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17113 checking for _hurd_dtablesize. Unlock it right after having
17114 finished _hurd_dtable allocation.
17115
10589b4a
TS
171162012-05-10 Thomas Schwinge <thomas@schwinge.name>
17117
674cdbc7
TS
17118 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17119 * sysdeps/mach/hurd/configure: Regenerated.
17120 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17121 special-casing to...
17122 * sysdeps/gnu/configure.in: ... this new file.
17123 * sysdeps/unix/sysv/linux/configure: Regenerated.
17124 * sysdeps/gnu/configure: New generated file.
17125
8e41b99f
TS
17126 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17127 for Linux: use nsec instead of usec, as well as:
17128 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17129 members of type struct timespec.
17130 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17131 New macros.
17132 (struct stat64): Likewise.
17133 (_STATBUF_ST_NSEC): New macro.
17134 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17135
10589b4a
TS
17136 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17137 __strtoul_internal rather than strtoul.
17138
63643c85
PT
171392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17140
17141 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17142 and reject them.
17143
3faebe6a
ST
171442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17145
17146 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17147 which preserves existing values.
17148 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17149
c6474b07
PT
171502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17151
17152 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17153 TIMEOUT values. Return EINVAL for NFDS values either negative or
17154 greater than FD_SETSIZE.
17155
1043890b
ST
171562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17157
17158 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17159 allocated, call __vm_protect to finish enabling the existing space, and
17160 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17161 allocate the remainder.
17162
37ed8b9b
PT
171632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17164
17165 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17166 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17167
db653660
ST
171682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17169
37ed8b9b
PT
17170 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17171 sysdeps/mach/hurd/readlink.c.
b29d4053 17172
db653660
ST
17173 * posix/tst-sysconf.c (posix_options): Only use
17174 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17175 _POSIX_SYNCHRONIZED_IO when they are defined
17176 * sysdeps/mach/hurd/bits/posix_opt.h:
17177 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17178 (_XOPEN_REALTIME): Undefine macro.
17179 (_XOPEN_REALTIME_THREADS): Undefine macro.
17180 (_XOPEN_SHM): Undefine macro.
17181 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17182 macro to -1.
17183 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17184 macro to -1.
17185 (_POSIX_ASYNC_IO): Undefine macro.
17186 (_POSIX_PRIORITIZED_IO): Undefine macro.
17187 (_POSIX_SPIN_LOCKS): Define macro to -1.
17188
ee16e894
ST
17189 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17190 SA_NODEFER, SA_RESETHAND.
17191 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17192 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17193 F_DUPFD_CLOEXEC.
17194
6103ae3b
TS
171952012-05-10 Thomas Schwinge <thomas@schwinge.name>
17196
17197 * elf/Makefile (pldd-modules): Define unconditionally.
17198
80b4e5f3
TS
171992012-05-10 Thomas Schwinge <thomas@schwinge.name>
17200
17201 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17202
edadcbd6
ST
172032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17204
17205 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17206 Return ENOENT when name is empty.
17207 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17208
80694780
TS
172092012-05-10 Thomas Schwinge <thomas@schwinge.name>
17210
1792c087
TS
17211 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17212
80694780
TS
17213 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17214
6b645f0d
ST
172152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17216
80694780
TS
17217 Fix mlock in all cases except non-readable pages.
17218 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17219 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 17220
6b645f0d
ST
17221 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17222 (__mkdir): When path is `/', just fail with EEXIST.
17223 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17224
e468f8a3
TS
172252012-05-10 Thomas Schwinge <thomas@schwinge.name>
17226
17227 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17228 <sys/uio.h> (for writev).
17229 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17230 and <sys/param.h> (for MIN).
17231
a4186cff
PT
172322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17233
17234 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17235 REQUESTED_TIME. Properly set the remaining time and return EINTR
17236 if interrupted.
17237
510bbf14
TS
172382012-05-10 Thomas Schwinge <thomas@schwinge.name>
17239
17240 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17241 Depend on against $(link-rpcuserlibs).
17242
5d5722e8
ST
172432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17244
a4186cff
PT
17245 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17246 (__libc_stack_end): Do not use attribute_relro.
17247 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17248 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 17249 to libthread-provided value.
a4186cff
PT
17250 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17251 attribute_relro.
5d5722e8 17252
37233df9
TS
172532012-05-10 Thomas Schwinge <thomas@schwinge.name>
17254
be971a2b
TS
17255 [BZ #3748]
17256 * bits/libc-lock.h (__libc_once_get): New macro.
17257 * sysdeps/mach/bits/libc-lock.h: Likewise.
17258 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17259 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17260 instead of using implementation details.
17261
37233df9
TS
17262 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17263 * libio/freopen.c: Likewise.
17264 * libio/freopen64.c: Likewise.
17265 * misc/syslog.c: Likewise.
17266 * nscd/connections.c: Likewise.
17267 * nscd/netgroupcache.c: Likewise.
17268 * sysdeps/posix/getcwd.c: Likewise.
17269
38de94a5
RM
172702012-05-10 Roland McGrath <roland@hack.frob.com>
17271
17272 * math/w_ilogbf.c: Add #include <limits.h>.
17273
67530489
ST
172742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17275
a4186cff 17276 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
17277 path instead of returning without unlocking.
17278
67530489
ST
17279 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17280 immediate-write ioctls.
17281 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17282
5aa3a74a
TS
172832012-05-10 Thomas Schwinge <thomas@schwinge.name>
17284
18bad2ae
TS
17285 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17286 __builtin_frame_address instead of making assumptions about the
17287 location of the return address relative to DATA. Force early load of
17288 the return address.
17289 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17290 __builtin_frame_address.
17291
5aa3a74a
TS
17292 dup3 for GNU Hurd.
17293 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17294 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17295 implement dup3 and do some further code clean-ups.
17296 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17297 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17298
ecd0de9a
ST
172992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17300
cd9fa985
ST
17301 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17302
a4186cff
PT
17303 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17304 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17305 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17306 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17307 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17308 d->port.lock.
802ca5a5 17309
a4186cff
PT
17310 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17311 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17312 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 17313
bcf55240
TS
173142012-05-10 Thomas Schwinge <thomas@schwinge.name>
17315
6960eb42
TS
17316 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17317 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17318 definitions.
17319
eb43375f
TS
17320 accept4 for GNU Hurd.
17321 * include/sys/socket.h (__libc_accept4): New prototype.
17322 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17323 to implement __libc_accept4.
17324 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17325 __libc_accept4.
17326 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17327
bcf55240
TS
17328 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17329 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17330 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17331 signal-defines.sym.
17332
6178c55b
ST
173332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17334
a4186cff 17335 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 17336
6f080c2f
TS
173372012-05-10 Thomas Schwinge <thomas@schwinge.name>
17338
17339 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17340 assertion on O_CLOEXEC flag.
17341 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17342 * hurd/intern-fd.c: Likewise.
17343 * hurd/port2fd.c: Likewise.
17344
bcfe3a54
ST
173452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17346
17347 [BZ #3906]
17348 * bits/in.h (IPV6_PKTINFO): Define new macro.
17349 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17350
89c9aa49
AZ
173512012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17352
17353 [BZ #13954]
17354 [BZ #13955]
17355 [BZ #13956]
17356 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17357 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17358 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17359 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17360 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17361 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17362 * math/libm-test.inc (logb_test) : Additional logb tests.
17363
021db4be
AJ
173642012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17365 Andreas Jaeger <aj@suse.de>
17366
17367 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17368 * configure: Regenerated.
17369 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17370 * config.make.in (link-obsolete-rpc): New substituted variable.
17371 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17372 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17373 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17374 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17375 so that libc.a contains the symbols.
17376 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17377 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17378 * sunrpc/auth_none.c: Likewise.
17379 * sunrpc/auth_unix.c: Likewise.
17380 * sunrpc/authdes_prot.c: Likewise.
17381 * sunrpc/authuxprot.c: Likewise.
17382 * sunrpc/clnt_gen.c: Likewise.
17383 * sunrpc/clnt_perr.c: Likewise.
17384 * sunrpc/clnt_raw.c: Likewise.
17385 * sunrpc/clnt_simp.c: Likewise.
17386 * sunrpc/clnt_tcp.c: Likewise.
17387 * sunrpc/clnt_udp.c: Likewise.
17388 * sunrpc/clnt_unix.c: Likewise.
17389 * sunrpc/des_crypt.c: Likewise.
17390 * sunrpc/des_soft.c: Likewise.
17391 * sunrpc/get_myaddr.c: Likewise.
17392 * sunrpc/key_call.c: Likewise.
17393 * sunrpc/key_prot.c: Likewise.
17394 * sunrpc/netname.c: Likewise.
17395 * sunrpc/pm_getmaps.c: Likewise.
17396 * sunrpc/pm_getport.c: Likewise.
17397 * sunrpc/pmap_clnt.c: Likewise.
17398 * sunrpc/pmap_prot.c: Likewise.
17399 * sunrpc/pmap_prot2.c: Likewise.
17400 * sunrpc/pmap_rmt.c: Likewise.
17401 * sunrpc/publickey.c: Likewise.
17402 * sunrpc/rpc_cmsg.c: Likewise.
17403 * sunrpc/rpc_common.c: Likewise.
17404 * sunrpc/rpc_dtable.c: Likewise.
17405 * sunrpc/rpc_prot.c: Likewise.
17406 * sunrpc/rpc_thread.c: Likewise.
17407 * sunrpc/rtime.c: Likewise.
17408 * sunrpc/svc.c: Likewise.
17409 * sunrpc/svc_auth.c: Likewise.
17410 * sunrpc/svc_raw.c: Likewise.
17411 * sunrpc/svc_run.c: Likewise.
17412 * sunrpc/svc_tcp.c: Likewise.
17413 * sunrpc/svc_udp.c: Likewise.
17414 * sunrpc/svc_unix.c: Likewise.
17415 * sunrpc/svcauth_des.c: Likewise.
17416 * sunrpc/xcrypt.c: Likewise.
17417 * sunrpc/xdr.c: Likewise.
17418 * sunrpc/xdr_array.c: Likewise.
17419 * sunrpc/xdr_float.c: Likewise.
17420 * sunrpc/xdr_intXX_t.c: Likewise.
17421 * sunrpc/xdr_mem.c: Likewise.
17422 * sunrpc/xdr_rec.c: Likewise.
17423 * sunrpc/xdr_ref.c: Likewise.
17424 * sunrpc/xdr_sizeof.c: Likewise.
17425 * sunrpc/xdr_stdio.c: Likewise.
17426
b5c086a2
RM
174272012-05-10 Roland McGrath <roland@hack.frob.com>
17428
17429 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17430 change. Update copyright years.
17431
6d74dd09
JM
174322012-05-10 Joseph Myers <joseph@codesourcery.com>
17433
17434 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17435
28e72501
MK
174362012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17437 Joseph Myers <joseph@codesourcery.com>
17438 Paul Pluzhnikov <ppluzhnikov@google.com>
17439
17440 [BZ #14012]
17441 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17442 requiring rpcgen.
17443 [cross-compiling] (extra-libs): Likewise.
17444 [cross-compiling] (extra-libs-others): Likewise.
17445 [cross-compiling] (librpcsvc-routines): Likewise.
17446 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17447 [cross-compiling] (omit-deps): Likewise.
17448 (sunrpc-CPPFLAGS): New variable.
17449 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17450 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17451 (cross-rpcgen-objs): New variable.
17452 (extra-objs): Append $(cross-rpcgen-objs).
17453 ($(cross-rpcgen-objs)): New rule.
17454 ($(objpfx)cross-rpcgen): Likewise.
17455 (rpcgen-cmd): Define to use $(built-program-file). Expand
17456 comment.
17457 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17458 ($(objpfx)x%.stmp): Likewise.
17459 * sunrpc/proto.h [IS_IN_build] (_): Define.
17460 [IS_IN_build] (_libc_intl_domainname): Likewise.
17461
c8c59454
L
174622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17463
17464 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17465 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17466 and R_X86_64_TPOFF64.
17467
6f27cd16
JM
174682012-05-10 Joseph Myers <joseph@codesourcery.com>
17469
17470 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17471 sysdeps/unix/sysv/syscalls.list.
17472 (stime): Likewise.
17473 (utime): Likewise.
17474 * sysdeps/unix/sysv/syscalls.list: Remove file.
17475
02467e1c
PE
174762012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17477
17478 [BZ #3440]
17479 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17480 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17481 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17482 (__LC_IDENTIFICATION): Make these macros useful in #if
17483 expressions, as required by C99.
17484
da392631
AS
174852012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17486
17487 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17488 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17489 after this.
17490
8115f29b
L
174912012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17492
17493 * stdlib/longlong.h: Updated from GCC.
17494
bdd74070
AJ
174952012-05-09 Andreas Jaeger <aj@suse.de>
17496
edfe0dbe
AJ
17497 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17498 default is first entry.
17499 (run_mode): Set type.
17500 (main): Remove informal message about syslog.
17501 (options): Fix typo.
17502
bcfe3a54
ST
17503 [BZ #14053]
17504 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 17505 to asm.
bcfe3a54
ST
17506 (lrint): Likewise.
17507 (llrintf): Likewise.
17508 (llrint): Likewise.
17509 (rint): Likewise.
17510 (rintf): Likewise.
17511 (nearbyint): Likewise.
17512 (nearbyintf): Likewise.
bdd74070 17513
91d8d69e
AJ
175142012-05-09 Andreas Jaeger <aj@suse.de>
17515 Pedro Alves <palves@redhat.com>
17516
17517 * nscd/nscd.c (run_mode): Use enum.
17518 (main): Cleanup coding style issue.
17519
bb90b80b
AJ
175202012-05-09 Alexandre Oliva <aoliva@redhat.com>
17521 Andreas Jaeger <aj@suse.de>
17522
bcfe3a54
ST
17523 * nscd/nscd.c (go_background): Replaced with...
17524 (run_mode): ... this.
bb90b80b 17525 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
17526 (options): Add -F --foreground.
17527 (main): Implement it.
17528 (parse_opt): Parse it.
bb90b80b 17529
1a4b75a1
AJ
175302012-05-09 Andreas Jaeger <aj@suse.de>
17531
17532 [BZ #14083]
17533 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17534 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17535 -Wconversion warning.
17536 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17537 Likewise.
17538
b1cc2472
JM
175392012-05-09 Joseph Myers <joseph@codesourcery.com>
17540
17541 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17542 == 0.
17543 (LC_ALL): Use macro-int-constant.
17544 (LC_COLLATE): Likewise.
17545 (LC_CTYPE): Likewise.
17546 (LC_MESSAGES): Likewise.
17547 (LC_MONETARY): Likewise.
17548 (LC_NUMERIC): Likewise.
17549 (LC_TIME): Likewise.
17550 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17551 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17552 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17553 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17554 Specify type.
17555 [C99-based standards] (float_t): Expect type.
17556 [C99-based standards] (double_t): Expect type.
17557 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17558 type.
17559 [C99-based standards] (HUGE_VALL): Likewise.
17560 [C99-based standards] (INFINITY): Likewise.
17561 [C99-based standards] (NAN): Likewise.
17562 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17563 [C99-based standards] (FP_NAN): Likewise.
17564 [C99-based standards] (FP_NORMAL): Likewise.
17565 [C99-based standards] (FP_SUBNORMAL): Likewise.
17566 [C99-based standards] (FP_ZERO): Likewise.
17567 [C99-based standards] (FP_FAST_FMA): Use
17568 optional-macro-int-constant. Specify type. Require == 1.
17569 [C99-based standards] (FP_FAST_FMAF): Likewise.
17570 [C99-based standards] (FP_FAST_FMAL): Likewise.
17571 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17572 [C99-based standards] (FP_ILOGBNAN): Likewise.
17573 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17574 Specify type.
17575 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17576 [C99-based standards] (math_errhandling): Specify type.
17577 [ISO99 || ISO11] (signgam): Do not allow.
17578 [non-C99-based standards] (copysignf): Do not allow.
17579 [non-C99-based standards] (exp2f): Likewise.
17580 [non-C99-based standards] (log2f): Likewise.
17581 [non-C99-based standards] (modff): Allow.
17582 [non-C99-based standards] (erff): Do not allow.
17583 [non-C99-based standards] (erfcf): Likewise.
17584 [non-C99-based standards] (gammaf): Likewise.
17585 [non-C99-based standards] (hypotf): Likewise.
17586 [non-C99-based standards] (j0f): Likewise.
17587 [non-C99-based standards] (j1f): Likewise.
17588 [non-C99-based standards] (jnf): Likewise.
17589 [non-C99-based standards] (lgammaf): Likewise.
17590 [non-C99-based standards] (tgammaf): Likewise.
17591 [non-C99-based standards] (y0f): Likewise.
17592 [non-C99-based standards] (y1f): Likewise.
17593 [non-C99-based standards] (ynf): Likewise.
17594 [non-C99-based standards] (isnanf): Likewise.
17595 [non-C99-based standards] (acoshf): Likewise.
17596 [non-C99-based standards] (asinhf): Likewise.
17597 [non-C99-based standards] (atanhf): Likewise.
17598 [non-C99-based standards] (cbrtf): Likewise.
17599 [non-C99-based standards] (expm1f): Likewise.
17600 [non-C99-based standards] (ilogbf): Likewise.
17601 [non-C99-based standards] (log1pf): Likewise.
17602 [non-C99-based standards] (logbf): Likewise.
17603 [non-C99-based standards] (nextafterf): Likewise.
17604 [non-C99-based standards] (remainderf): Likewise.
17605 [non-C99-based standards] (rintf): Likewise.
17606 [non-C99-based standards] (scalbf): Likewise.
17607 [non-C99-based standards] (copysignl): Likewise.
17608 [non-C99-based standards] (exp2l): Likewise.
17609 [non-C99-based standards] (log2l): Likewise.
17610 [non-C99-based standards] (modfl): Allow.
17611 [non-C99-based standards] (erfl): Do not allow.
17612 [non-C99-based standards] (erfcl): Likewise.
17613 [non-C99-based standards] (gammal): Likewise.
17614 [non-C99-based standards] (hypotl): Likewise.
17615 [non-C99-based standards] (j0l): Likewise.
17616 [non-C99-based standards] (j1l): Likewise.
17617 [non-C99-based standards] (jnl): Likewise.
17618 [non-C99-based standards] (lgammal): Likewise.
17619 [non-C99-based standards] (tgammal): Likewise.
17620 [non-C99-based standards] (y0l): Likewise.
17621 [non-C99-based standards] (y1l): Likewise.
17622 [non-C99-based standards] (ynl): Likewise.
17623 [non-C99-based standards] (isnanl): Likewise.
17624 [non-C99-based standards] (acoshl): Likewise.
17625 [non-C99-based standards] (asinhl): Likewise.
17626 [non-C99-based standards] (atanhl): Likewise.
17627 [non-C99-based standards] (cbrtl): Likewise.
17628 [non-C99-based standards] (expm1l): Likewise.
17629 [non-C99-based standards] (ilogbl): Likewise.
17630 [non-C99-based standards] (log1pl): Likewise.
17631 [non-C99-based standards] (logbl): Likewise.
17632 [non-C99-based standards] (nextafterl): Likewise.
17633 [non-C99-based standards] (remainderl): Likewise.
17634 [non-C99-based standards] (rintl): Likewise.
17635 [non-C99-based standards] (scalbl): Likewise.
17636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17637 [non-C99-based standards] (FP_*): Do not allow.
17638 [C99-based standards] (FP_*): Change to
17639 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17640 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17641 allow.
17642 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17643 (SIG_ERR): Likewise.
17644 [X/Open-based standards] (SIG_HOLD): Likewise.
17645 (SIG_IGN): Likewise.
17646 (SIGABRT): Use macro-int-constant. Specify type. Require
17647 positive value.
17648 (SIGFPE): Likewise.
17649 (SIGILL): Likewise.
17650 (SIGINT): Likewise.
17651 (SIGSEGV): Likewise.
17652 (SIGTER): Likewise.
17653 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17654 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17655 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17656 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17657 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17658 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17659 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17660 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17661 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17662 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17663 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17664 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17665 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17666 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17667 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17668 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17669 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17670 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17671 [X/Open-based standards] (SIGTRAP): Likewise.
17672 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17673 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17674 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17675 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17676 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17677 allow.
17678
b9f1922d
IW
176792012-05-08 Ian Wienand <ianw@vmware.com>
17680
17681 [BZ #14080]
17682 * time/tzset.c (__tzset_parse_tz): Update default rules for
17683 daylight time changes in the Energy Policy Act of 2005.
17684
1db86e88
AJ
176852012-05-09 Andreas Jaeger <aj@suse.de>
17686
17687 [BZ #13983]
17688 * elf/ldconfig.c (parse_conf): Change string to make clear that
17689 ldconfig only issued a warning if ld.so.conf does not exist.
17690
dee4a4e3
DM
176912012-05-08 David S. Miller <davem@davemloft.net>
17692
ee0db190
DM
17693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17694 movxtod instead of popping the value on the stack.
17695
dee4a4e3
DM
17696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17697
6a43ec98
CD
176982012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17699
17700 * config.h.in: Add HAVE_ARM_PCS_VFP.
17701
05c2c961
RMG
177022012-05-08 Roland Mc Grath <roland@hack.frob.com>
17703
bcfe3a54
ST
17704 [BZ #13979]
17705 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17706 checking but the checks are disabled for any reason.
05c2c961 17707
4b30f61a
L
177082012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17709
17710 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17711 and ELF64_R_TYPE with ELFW(R_TYPE).
17712
eee2bc67
JM
177132012-05-08 Joseph Myers <joseph@codesourcery.com>
17714
7ea5391a
JM
17715 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17716 (ulimit): Likewise.
17717
eee2bc67
JM
17718 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17719 (settimeofday): Likewise.
17720
abb66a67
MF
177212012-05-08 Mike Frysinger <vapier@gentoo.org>
17722
17723 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17724 a struct th_u2 inside the union, and move tu_block/tu_code into
17725 a new th_u3 union of tu_block/tu_code inside of that. Move
17726 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17727 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17728 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17729 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17730 (th_stuff): Change to th_u1.tu_stuff.
17731 (th_data): Define.
17732 (th_msg): Change to th_u1.th_u2.tu_data.
17733
7f18b530
DM
177342012-05-07 David S. Miller <davem@davemloft.net>
17735
05760585
DM
17736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17737
7f18b530
DM
17738 [BZ #14074]
17739 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17740 (SETUP_PIC_REG): Use it.
17741 (SETUP_PIC_REG_LEAF): Use it.
17742
495fd99f
JM
177432012-05-07 Joseph Myers <joseph@codesourcery.com>
17744
17745 [BZ #13885]
17746 [BZ #13923]
17747 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17748 USE_AS_EXPM1L.
17749 (EXPL_FINITE): Likewise.
17750 (FLDLOG): Likewise.
17751 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17752 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17753 e_expl.S.
17754 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17755 USE_AS_EXPM1L.
17756 (EXPL_FINITE): Likewise.
17757 (FLDLOG): Likewise.
17758 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17759 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17760 e_expl.S.
17761 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
17762 test of -max_value argument for long double.
17763 * sysdeps/i386/fpu/libm-test-ulps: Update.
17764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17765
6693d694
DM
177662012-05-06 David S. Miller <davem@davemloft.net>
17767
17768 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17769 quad soft-float symbols whose references which are compiler
17770 generated.
17771 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17772
6c23e11c
JM
177732012-05-06 Joseph Myers <joseph@codesourcery.com>
17774
d8b82cad
JM
17775 [BZ #13884]
17776 [BZ #13914]
17777 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17778 USE_AS_EXP10L.
17779 (EXPL_FINITE): Likewise.
17780 (FLDLOG): Likewise.
17781 (c0): Likewise.
17782 (c1): Likewise.
17783 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17784 Adjust comments for base varying.
17785 (__expl_finite): Change alias to EXPL_FINITE.
17786 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17787 e_expl.S.
17788 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17789 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17790 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17791 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17792 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17793 USE_AS_EXP10L.
17794 (EXPL_FINITE): Likewise.
17795 (FLDLOG): Likewise.
17796 (c0): Likewise.
17797 (c1): Likewise.
17798 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17799 Adjust comments for base varying.
17800 (__expl_finite): Change alias to EXPL_FINITE.
17801 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
17802 tests for bugs.
17803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17804
6c23e11c
JM
17805 [BZ #14064]
17806 * math/libm-test.inc (check_float_internal): Correct ulp
17807 calculation for subnormal expected results.
17808
29ba805c
AJ
178092012-05-06 Andreas Jaeger <aj@suse.de>
17810
17811 * Makeconfig (+math-flags): New, set to -frounding-math.
17812 (+cflags): Add +math-flags so that all of glibc gets compiled with
17813 it.
17814
17815 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17816
7b17aeda
JM
178172012-05-05 Joseph Myers <joseph@codesourcery.com>
17818
5779f134
JM
17819 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17820 Disable one test.
17821
41498f4d
JM
17822 [BZ #13787]
17823 [BZ #13922]
17824 [BZ #14036]
17825 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17826 (__ieee754_expl): Allow for and saturate large arguments.
17827 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17828 (u_threshold): Likewise.
17829 (__exp): Call __ieee754_exp before checking for overflow and
17830 underflow.
17831 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17832 (u_threshold): Likewise.
17833 (__expf): Call __ieee754_expf before checking for overflow and
17834 underflow.
17835 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17836 (u_threshold): Likewise.
17837 (__expl): Call __ieee754_expl before checking for overflow and
17838 underflow.
17839 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17840 (__ieee754_expl): Allow for and saturate large arguments.
17841 * math/libm-test.inc (exp_test): Add another test. Do not allow
17842 missing overflow exception on overflow.
17843 (expm1_test): Do not allow missing overflow exception on overflow.
17844
6698b8bf
JM
17845 * sysdeps/i386/fpu/e_expl.c: Move to ...
17846 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
17847 rather than using inline asm.
17848 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
17849 * sysdeps/x86_64/fpu/e_expl.S: Copy from
17850 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17851
7b17aeda
JM
17852 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17853 (nice): Likewise.
17854 (poll): Likewise.
17855 (signal): Likewise.
17856 (time): Likewise.
17857 (times): Likewise.
17858
f7c85819
JM
178592012-05-04 Joseph Myers <joseph@codesourcery.com>
17860
17861 * sysdeps/unix/syscalls.list (adjtime): Add entry from
17862 sysdeps/unix/common/syscalls.list.
17863 (fchmod): Likewise.
17864 (fchown): Likewise.
17865 (ftruncate): Likewise.
17866 (getrusage): Likewise.
17867 (gettimeofday): Likewise.
17868 (setpgid): Likewise.
17869 (setregid): Likewise.
17870 (setreuid): Likewise.
17871 (sigaction): Likewise.
17872 (truncate): Likewise.
17873 (vhangup): Likewise.
17874 * sysdeps/unix/common/syscalls.list: Remove file.
17875 * sysdeps/unix/bsd/Implies: Don't include unix/common.
17876 * sysdeps/unix/sysv/linux/Implies: Likewise.
17877
336270d0
L
178782012-05-04 H.J. Lu <hongjiu.lu@intel.com>
17879
17880 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17882 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17883 Moved to ...
17884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17885 Here.
17886 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17887 to ...
17888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17889 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17890 to ...
17891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17892 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17893 to ...
17894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17895 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17896 to ...
17897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17898 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17899 to ...
17900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17901 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17902 to ...
17903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17904 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17905 to ...
17906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17907 Here.
17908 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17909 to ...
17910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17911 Here.
17912 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17913 to ...
17914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17915 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17916 Moved to ...
17917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17918 Here.
17919 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17920 to ...
17921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17922
d128e450
JM
179232012-05-04 Joseph Myers <joseph@codesourcery.com>
17924
fa8ee516
JM
17925 * sysdeps/unix/common/bits/dirent.h: Remove file.
17926 * sysdeps/unix/common/bits/fcntl.h: Likewise.
17927
d128e450
JM
17928 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17929 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17930 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17931 * sysdeps/unix/bsd/isatty.c: Likewise.
17932 * sysdeps/unix/bsd/tcdrain.c: Likewise.
17933 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17934 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17935
ff8faaf0 179362012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 17937
62881be4 17938 [BZ #13563]
31dc8730
AZ
17939 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17940 long double comparison inaccuracies.
17941 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17943
6fef930c
AS
179442012-05-04 Andreas Schwab <schwab@linux-m68k.org>
17945
17946 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17947 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17948
8f203e6c
JM
179492012-05-04 Joseph Myers <joseph@codesourcery.com>
17950
17951 [BZ #14049]
17952 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17953 nonzero digits before rounding a hex value.
17954 * stdlib/tst-strtod.c (tests): Add another test.
17955
5197d9c2
AK
179562012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17957
17958 * sysdeps/s390/fpu/libm-test-ulps: Update.
17959
f0c1dedf
AJ
179602012-05-03 Andreas Jaeger <aj@suse.de>
17961
17962 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17963 does not get optimized out.
17964 (malloc_opt_barrier): New.
17965
a65ef2ae 179662012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 17967 Roland McGrath <roland@hack.frob.com>
a65ef2ae 17968
2b942cb7 17969 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 17970 intermediate file deletion.
2b942cb7 17971 (generated): Add .symlist files.
a65ef2ae 17972
54b71e02
JM
179732012-05-03 Joseph Myers <joseph@codesourcery.com>
17974
17975 [BZ #13775]
17976 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17977 Redirect under this condition.
17978 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17979 [__USE_GNU] (__dprintf_chk): Not under this condition.
17980 [__USE_GNU] (__vdprintf_chk): Likewise.
17981 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17982 under this condition.
17983 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17984 [__USE_XOPEN2K8] (dprintf): Define under this condition.
17985 [__USE_XOPEN2K8] (vdprintf): Likewise.
17986 [__USE_GNU] (__dprintf_chk): Not under this condition.
17987 [__USE_GNU] (__vdprintf_chk): Likewise.
17988 [__USE_GNU] (dprintf): Likewise.
17989 [__USE_GNU] (vdprintf): Likewise.
17990
d3dfcc41
RM
179912012-05-03 Roland McGrath <roland@hack.frob.com>
17992
17993 * elf/Makefile (common-generated): Set this instead of generated for
17994 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
17995 $(all-built-dso)-derived lists.
17996
7ac30cc5
AJ
179972012-05-03 Andreas Jaeger <aj@suse.de>
17998
0c51e550
AJ
17999 * sysdeps/i386/fpu/libm-test-ulps: Update.
18000
7ac30cc5
AJ
18001 * FAQ: Removed.
18002 * FAQ.in: Likewise.
18003 * scripts/gen-FAQ.pl: Likewise.
18004 * manual/install.texi (Installation): Point to online location of
18005 FAQ.
18006 * Makefile (files-for-dist): Remove FAQ.
18007 (FAQ): Remove.
18008
d4c2917f
AM
180092012-05-02 Allan McRae <allan@archlinux.org>
18010
18011 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18012 (LDFLAGS-reldepmod5.so): Likewise.
18013 (LDFLAGS-reldep6mod1.so): Likewise.
18014 (LDFLAGS-reldep6mod4.so): Likewise.
18015 (LDFLAGS-reldep8mod3.so): Likewise.
18016 (LDFLAGS-unload4mod1.so): Likewise.
18017 (LDFLAGS-unload4mod2.so): Likewise.
18018 (LDFLAGS-tst-initorder): Likewise.
18019 (LDFLAGS-tst-initordera2.so): Likewise.
18020 (LDFLAGS-tst-initordera3.so): Likewise.
18021 (LDFLAGS-tst-initordera4.so): Likewise.
18022 (LDFLAGS-tst-initorderb2.so): Likewise.
18023 (LDFLAGS-noload): Likewise.
18024 (LDFLAGS-next): Likewise.
18025 (LDFLAGS-order2mod1.so): Likewise.
18026 (LDFLAGS-order2mod2.so): Likewise.
18027 (LDFLAGS-tst-initorder2): Likewise.
18028 (LDFLAGS-tst-initorder2a.so): Likewise.
18029 (LDFLAGS-tst-initorder2b.so): Likewise.
18030 (LDFLAGS-tst-initorder2c.so): Likewise.
18031 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18032
d77f993f
DM
180332012-05-02 David S. Miller <davem@davemloft.net>
18034
18035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18036
171a70b4
PP
180372012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18038
18039 [BZ #14055]
18040 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18041
0be196ad
AJ
180422012-05-02 Andreas Jaeger <aj@suse.de>
18043
18044 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18045 since we manipulate rounding mode.
18046 (CPPFLAGS-test-idouble.c): Likewise.
18047 (CPPFLAGS-test-ifloat.c): Likewise.
18048 (CFLAGS-test-ldouble.c): Likewise.
18049 (CFLAGS-test-double.c): Likewise.
18050 (CFLAGS-test-float.c): Likewise.
18051 (CFLAGS-test-misc.c): Likewise.
18052 (CFLAGS-test-test-fenv.c): Likewise.
18053
4f9d04aa
AZ
180542012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18055
2b942cb7
RM
18056 [BZ #2550]
18057 [BZ #2570]
18058 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18059 comparisons to determine direction to adjust input.
4f9d04aa 18060
82a79e7d
RM
180612012-05-01 Roland McGrath <roland@hack.frob.com>
18062
f5a01ca9
RM
18063 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18064 output to the target.
18065
90fe4186
RM
18066 * scripts/localplt.awk: New file.
18067 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18068 (check-localplt-CFLAGS): Variable removed.
18069 ($(all-built-dso:=.jmprel)): New static pattern rule.
18070 (generated): Add those targets.
18071 (localplt-built-dso): New variable.
18072 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18073
18074 * elf/check-localplt.c: File removed.
18075
82397ed6
RM
18076 * scripts/check-execstack.awk: New file.
18077 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18078 (check-execstack-CFLAGS): Variable removed.
18079 ($(objpfx)check-execstack.h): Target removed.
18080 ($(objpfx)execstack-default): New target.
18081 (generated): Add that instead of check-execstack.h.
18082 ($(all-built-dso:=.phdr)): New static pattern rule.
18083 (generated): Add those targets.
18084 * elf/check-execstack.c: File removed.
18085
82a79e7d
RM
18086 * scripts/check-textrel.awk: New file.
18087 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18088 (check-textrel-CFLAGS): Variable removed.
18089 (all-built-dso): Use := to define.o
18090 ($(all-built-dso:=.dyn)): New static pattern rule.
18091 (generated): Add those targets.
18092 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18093 * config.make.in (READELF): New substituted variable.
18094 * elf/check-textrel.c: File removed.
18095
62fde54f 180962012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18097
615605c9
JM
18098 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18099 allow.
18100 * conform/data/ctype.h-data [C99-based standards] (isblank):
18101 Expect function.
18102 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18103 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18104 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18105 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18106 Specify type. Require positive value.
18107 (EILSEQ): Likewise.
18108 (ERANGE): Likewise.
18109 [ISO || POSIX] (EILSEQ): Do not expect.
18110 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18111 Specify type. Require positive value.
18112 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18113 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18114 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18115 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18116 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18117 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18118 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18119 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18120 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18121 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18122 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18123 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18124 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18125 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18126 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18127 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18128 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18129 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18130 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18131 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18132 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18133 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18134 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18135 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18136 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18137 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18138 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18139 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18140 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18141 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18142 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18143 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18144 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18145 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18146 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18147 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18148 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18149 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18150 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18151 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18152 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18153 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18154 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18155 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18156 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18157 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18158 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18159 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18160 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18161 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18162 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18163 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18164 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18165 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18166 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18167 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18168 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18169 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18170 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18171 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18172 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18173 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18174 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18175 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18176 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18177 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18178 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18179 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18180 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18181 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18182 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18183 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18184 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18185 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18186 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18187 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18188 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18189 Require >= 2.
18190 (FLT_ROUNDS): Expect as macro, not constant.
18191 (FLT_MANT_DIG): Use macro-int-constant.
18192 (DBL_MANT_DIG): Likewise.
18193 (LDBL_MANT_DIG): Likewise.
18194 (FLT_DIG): Likewise.
18195 (DBL_DIG): Likewise.
18196 (LDBL_DIG): Likewise.
18197 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18198 (DBL_MIN_EXP): Likewise.
18199 (LDBL_MIN_EXP): Likewise.
18200 (FLT_MAX_EXP): Use macro-int-constant.
18201 (DBL_MAX_EXP): Likewise.
18202 (LDBL_MAX_EXP): Likewise.
18203 (FLT_MAX_10_EXP): Likewise.
18204 (DBL_MAX_10_EXP): Likewise.
18205 (LDBL_MAX_10_EXP): Likewise.
18206 (FLT_MAX): Use macro-constant.
18207 (DBL_MAX): Likewise.
18208 (LDBL_MAX): Likewise.
18209 (FLT_EPSILON): Use macro-constant. Give upper bound.
18210 (DBL_EPSILON): Likewise.
18211 (LDBL_EPSILON): Likewise.
18212 (FLT_MIN): Likewise.
18213 (DBL_MIN): Likewise.
18214 (LDBL_MIN): Likewise.
18215 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18216 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18217 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18218 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18219 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18220 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18221 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18222 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18223 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18224 [ISO11] (FLT_TRUE_MIN): Likewise.
18225 [ISO11] (LDBL_TRUE_MIN): Likewise.
18226 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18227 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18228 (SCHAR_MIN): Use macro-int-constant. Specify type.
18229 (SCHAR_MAX): Likewise.
18230 (UCHAR_MAX): Likewise.
18231 (CHAR_MIN): Likewise.
18232 (CHAR_MAX): Likewise.
18233 (MB_LEN_MAX): Use macro-int-constant.
18234 (SHRT_MIN): Use macro-int-constant. Specify type.
18235 (SHRT_MAX): Likewise.
18236 (USHRT_MAX): Likewise.
18237 (INT_MAX): Likewise.
18238 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18239 bound negative.
18240 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18241 bound with "U".
18242 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18243 bound with "L".
18244 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18245 bound negative. Suffix upper bound with "L".
18246 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18247 bound with "UL".
18248 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18249 Specify type.
18250 [C99-based standards] (LLONG_MAX): Likewise.
18251 [C99-based standards] (ULLONG_MAX): Likewise.
18252 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18253 == 0.
18254 [ISO11] (max_align_t): Require type.
18255 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18256
c9140a62
JM
18257 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18258 from $CFLAGS, without defining away __attribute__ calls.
18259 (checknamespace): Use $CFLAGS_namespace.
18260
9af0bf29
JM
18261 * conform/conformtest.pl (@keywords): Only include C99 keywords
18262 for standards based on C99 or C11.
18263
343222a2
JM
18264 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18265 Disable tests.
18266 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18267 UNIX98]: Likewise.
18268
661f8cf0
JM
18269 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18270 usability of symbols in #if.
18271
ee74b9cb
JM
18272 * conform/conformtest.pl: If macro or constant types start
18273 "promoted:", expect the symbol to be of the following type
18274 promoted by the integer promotions.
62fde54f 18275
aafc49b3
JM
18276 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18277 in one place. Also handle "macro-constant".
18278
fefdf574
JM
18279 * conform/conformtest.pl: Only accept expected macro values with
18280 "==". Parse all "macro" lines in one place.
18281 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18282
f2d922fe
JM
18283 * conform/conformtest.pl: Handle braced types on "constant" lines
18284 instead of handling "typed-constant".
18285 * conform/data/signal.h-data: Use "constant" instead of
18286 "typed-constant".
18287
d22956c9
JM
18288 * conform/conformtest.pl: Handle "optional-" at start of lines in
18289 one place rather than duplicating several cases. Handle each
18290 format of "macro" line with initial "optional-".
18291
028e2e38
JM
18292 * conform/conformtest.pl: Only accept expected constant or
18293 optional-constant values with "==". Parse all "constant" lines in
18294 one place. Parse all "optional-constant" lines in one place.
18295 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18296 * conform/data/fmtmsg.h-data: Likewise.
18297 * conform/data/netinet/in.h-data: Likewise.
18298 * conform/data/tar.h-data: Likewise.
18299 * conform/data/limits.h-data: Use "==" form on "constant" and
18300 "optional-constant" lines.
18301
1b8f2850
JM
18302 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18303 Use -std=c99 for XOPEN2K.
18304 (@knownproblems): Remove.
18305 (newtoken): Don't check %isknown.
18306
a05a144b
JM
18307 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18308 Do not expect macro.
18309 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18310 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18311 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18312 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18313 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18314 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18315 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18316 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18317 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18318 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18319 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18320 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18321 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18322 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18323 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18324 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18325 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18326 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18327 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18328 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18329 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18330 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18331 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18332 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18333 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18334 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18335 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18336 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18337 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18338 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18339 [XPG3] (acosh): Likewise.
18340 [XPG3] (asinh): Likewise.
18341 [XPG3] (atanh): Likewise.
18342 [XPG3] (cbrt): Likewise.
18343 [XPG3] (expm1): Likewise.
18344 [XPG3] (ilogb): Likewise.
18345 [XPG3] (log1p): Likewise.
18346 [XPG3] (logb): Likewise.
18347 [XPG3] (nextafter): Likewise.
18348 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18349 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18350 [XPG3] (remainder): Likewise.
18351 [XPG3] (rint): Likewise.
18352 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18353 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18354 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18355 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18356 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18357 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18358 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18359 [UNIX98 || XOPEN2K] (scalb): Expect.
18360 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18361 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18362 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18363 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18364 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18365 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18366 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18367 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18368 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18369 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18370 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18371 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18372 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18373 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18374 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18375 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18376 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18377 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18378 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18379 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18380 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18381 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18382 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18383 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18384 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18385 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18386 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18387 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18388 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18389 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18390 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18391 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18392 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18393 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18394 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18395 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18396 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18397 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18398 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18399 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18400 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18401 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18402 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18403 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18404 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18405 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18406 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18407 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18408 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18409 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18410 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18411 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18412 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18413 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18414 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18415 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18416 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18417 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18418 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18419 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18420 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18421 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18422 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18423 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18424 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18425 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18426 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18427 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18428 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18429 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18430 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18431 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18432 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18433 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18434 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18435 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18436 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18437 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18438 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18439 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18440 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18441 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18442 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18443 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18444 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18445 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18446 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18447 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18448 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18449 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18450 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18451 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18452 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18453 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18454 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18455 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18456 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18457 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18458 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18459 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18460 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18461 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18462 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18463 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18464 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18465 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18466 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18467 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18468 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18469 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18470 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18471 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18472 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18473 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18474 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18475 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18476 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18477 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18478 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18479 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18480 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18481 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18482 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18483 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18484 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18485 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18486 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18487 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18488 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18489 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18490 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18491 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18492 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18493 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18494 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18495 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18496 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18497
73c5ebe3
JM
18498 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18499 _XOPEN_SOURCE_EXTENDED for XPG4.
18500
39c33b6c
JM
18501 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18502
62fde54f
JM
18503 * Makeconfig (localtime): Remove variable.
18504 (inst_localtime-file): Likewise.
18505
0741d64c
AS
185062012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18507
18508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18509 Update.
18510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18511 Update.
18512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18513 Update.
18514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18515 Update.
18516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18517 Update.
18518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18519 Update.
18520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18521 Update.
18522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18523 Update.
18524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18525 Update.
18526
7cb029ee
JM
185272012-05-01 Joseph Myers <joseph@codesourcery.com>
18528
18529 [BZ #2550]
18530 [BZ #2570]
18531 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18532 comparisons to determine direction to adjust input.
18533 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18534 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18535 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18536 Likewise.
18537 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18538 Likewise.
18539 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18540 Likewise.
18541 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18542 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18543 Likewise.
18544 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18545 Likewise.
18546 * math/libm-test.inc (nexttoward_test): Add more tests.
18547
412bd966
AS
185482012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18549
18550 [BZ #14040]
18551 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18552 in version GLIBC_2.1, not GLIBC_2.0.
18553 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18554 Likewise.
18555
9568c0c2
JM
185562012-04-30 Joseph Myers <joseph@codesourcery.com>
18557
adfbc8ac
JM
18558 [BZ #13942]
18559 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18560 (1 - x) * (1 + x).
18561 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18562 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18563 * math/libm-test.inc (acos_test): Add more tests.
18564 (asin_test): Likewise.
18565 * sysdeps/i386/fpu/libm-test-ulps: Update.
18566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18567
5ba3cc69
JM
18568 [BZ #14034]
18569 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18570 of square root.
18571 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18572 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18573 * math/libm-test.inc (acos_test_tonearest): New function.
18574 (acos_test_towardzero): Likewise.
18575 (acos_test_downward): Likewise.
18576 (acos_test_upward): Likewise.
18577 (asin_test_tonearest): Likewise.
18578 (asin_test_towardzero): Likewise.
18579 (asin_test_downward): Likewise.
18580 (asin_test_upward): Likewise.
18581 (main): Call the new functions.
18582 * sysdeps/i386/fpu/libm-test-ulps: Update.
18583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18584
9568c0c2
JM
18585 [BZ #13884]
18586 [BZ #13924]
18587 * math/e_exp10.c: Include <float.h>.
18588 (__ieee754_exp10): Handle underflow here rather than multiplying
18589 large negative argument by M_LN10.
18590 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18591 of __ieee754_expf.
18592 * math/e_exp10l.c: Include <float.h>.
18593 (__ieee754_exp10l): Handle underflow here rather than multiplying
18594 large negative argument by M_LN10l.
18595 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18596 spurious overflow exception on underflow.
18597
5ac3ea17
MP
185982012-04-29 Marek Polacek <polacek@redhat.com>
18599
18600 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18601 (__fortify_function): New macro.
18602 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18603 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18604 __extern_always_inline.
18605 * libio/bits/stdio2.h: Likewise.
18606 * libio/bits/stdio.h: Likewise.
18607 * string/string.h: Likewise.
18608 * string/bits/string3.h: Likewise.
18609 * include/stdio.h: Likewise.
18610 * stdlib/bits/stdlib.h: Likewise.
18611 * stdlib/stdlib.h: Likewise.
18612 * rt/bits/mqueue2.h: Likewise.
18613 * rt/mqueue.h: Likewise.
18614 * posix/bits/unistd.h: Likewise.
18615 * posix/unistd.h: Likewise.
18616 * io/bits/poll2.h: Likewise.
18617 * io/bits/fcntl2.h: Likewise.
18618 * io/fcntl.h: Likewise.
18619 * io/sys/poll.h: Likewise.
18620 * misc/bits/syslog.h: Likewise.
18621 * misc/bits/syslog-ldbl.h: Likewise.
18622 * misc/sys/syslog.h: Likewise.
18623 * socket/bits/socket2.h: Likewise.
18624 * socket/sys/socket.h: Likewise.
18625 * debug/tst-chk1.c: Likewise.
18626 * wcsmbs/bits/wchar2.h: Likewise.
18627 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18628 * wcsmbs/wchar.h: Likewise.
18629
ecf0ebfb
AJ
186302012-04-29 Andreas Jaeger <aj@suse.de>
18631
18632 * Makerules (tests): Remove enable-check-abi protection.
18633 (check-abi-warn): Remove.
18634 (check-abi-%): Remove check-abi-warn usage.
18635
18636 * configure.in: Remove check-abi configure option.
18637 * configure: Regenerated.
18638 * config.make.in (enable-check-abi): Remove.
18639
6d5c57fa
AS
186402012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18641
24c5d07e 18642 [BZ #14033]
ded5180a
AS
18643 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18644 double functions to double *_finite functions.
18645
7e0d315d
AS
18646 [BZ #13941]
18647 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18648 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18649 LDBL_MIN_EXP.
18650 * stdio-common/Makefile (tests): Add tst-sprintf3.
18651 * stdio-common/tst-sprintf3.c: New file.
18652
6d5c57fa
AS
18653 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18654 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18655
0749ff8b
JM
186562012-04-28 Joseph Myers <joseph@codesourcery.com>
18657
18658 * conform/conformtest.pl: Remove duplicate typed-constant
18659 handling.
18660
8dbd5d7b
DM
186612012-04-28 David S. Miller <davem@davemloft.net>
18662
18663 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18664 (check-abi-%): Remove AWK script prerequisite and explicit
18665 abilist directory.
18666 (check-abi): Rewrite to just diff the symlist with the abilist.
18667 (config-tls, config-abi-config): Delete, no longer used.
18668 (update-abi-%): Remove AWK script and explicit abilist directory.
18669 (update-abi): Rewrite to simply compare and conditionally copy the
18670 symlist and the sysdep abilist file. Remove update-abi-config
18671 checks.
18672 * abilist/ld.abilist: Remove.
18673 * abilist/libBrokenLocale.abilist: Remove.
18674 * abilist/libanl.abilist: Remove.
18675 * abilist/libcrypt.abilist: Remove.
18676 * abilist/libdl.abilist: Remove.
18677 * abilist/librt.abilist: Remove.
18678 * abilist/libthread_db.abilist: Remove.
18679 * abilist/libutil.abilist: Remove.
18680 * scripts/extract-abilist.awk: Remove.
18681 * scripts/merge-abilist.awk: Remove.
18682 * sysdeps/generic/libcidn.abilist: New file.
18683 * sysdeps/generic/libnss_compat.abilist: New file.
18684 * sysdeps/generic/libnss_db.abilist: New file.
18685 * sysdeps/generic/libnss_dns.abilist: New file.
18686 * sysdeps/generic/libnss_files.abilist: New file.
18687 * sysdeps/generic/libnss_hesiod.abilist: New file.
18688 * sysdeps/generic/libnss_nis.abilist: New file.
18689 * sysdeps/generic/libnss_nisplus.abilist: New file.
18690 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18691 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18692 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18693 file.
18694 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18695 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18696 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18697 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18698 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18699 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18700 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18701 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18702 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18703 file.
18704 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18705 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18706 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18707 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18708 file.
18709 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18710 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18711 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18712 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18713 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18714 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18715 file.
18716 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18717 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18718 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18719 file.
18720 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18722 New file.
18723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18724 New file.
18725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18726 New file.
18727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18728 New file.
18729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18730 New file.
18731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18732 New file.
18733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18734 New file.
18735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18736 New file.
18737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18738 New file.
18739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18740 New file.
18741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18742 New file.
18743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18744 New file.
18745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18746 New file.
18747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18748 file.
18749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18750 New file.
18751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18752 New file.
18753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18754 file.
18755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18756 New file.
18757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18758 New file.
18759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18760 file.
18761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18762 New file.
18763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18764 New file.
18765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18766 New file.
18767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18768 New file.
18769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18770 New file.
18771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18772 New file.
18773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18775 file.
18776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18777 New file.
18778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18779 file.
18780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18781 file.
18782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18783 file.
18784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18785 file.
18786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18787 file.
18788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18789 New file.
18790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18791 file.
18792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18793 file.
18794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18795 New file.
18796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18797 file.
18798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18800 file.
18801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18802 New file.
18803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18804 file.
18805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18806 file.
18807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18808 file.
18809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18810 file.
18811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18812 file.
18813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18814 New file.
18815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18816 file.
18817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18818 file.
18819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18820 New file.
18821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18822 file.
18823 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18824 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18825 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18826 file.
18827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18828 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18829 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18830 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18831 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18832 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18833 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18834 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18835 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18836 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18839 file.
18840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18841 New file.
18842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18843 file.
18844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18845 file.
18846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18847 file.
18848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18849 file.
18850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18851 file.
18852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18853 New file.
18854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18855 New file.
18856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18857 file.
18858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18859 New file.
18860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18861 file.
18862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18864 file.
18865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18866 New file.
18867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18868 file.
18869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18870 file.
18871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18872 file.
18873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18874 file.
18875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18876 file.
18877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18878 New file.
18879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18880 New file.
18881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18882 file.
18883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18884 New file.
18885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18886 file.
18887
41d73a1b
JM
188882012-04-28 Joseph Myers <joseph@codesourcery.com>
18889
18890 * conform/conformtest.pl: Fix typo in handling typed-constant from
18891 allow-header.
18892
28aeeda4
JM
188932012-04-27 Joseph Myers <joseph@codesourcery.com>
18894
adae8f5e
JM
18895 * README: Cut down references to pre-2.6 Linux kernels and
18896 Linuxthreads. Update lists of configurations in libc and ports
18897 and sort alphabetically. Say "or newer" with Linux kernel version
18898 requirements.
18899
28aeeda4
JM
18900 * config.h.in [IS_IN_build]: Allow compiling without optimization.
18901
a462cb63
RA
189022012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18903
18904 [BZ #887]
18905 * math/libm-test.inc (logb_test_downward): New test to expose
18906 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18907 rounding mode.
18908
6ad3493e
JM
189092012-04-27 Joseph Myers <joseph@codesourcery.com>
18910
18911 [BZ #14027]
18912 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18913 to be done.
18914 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18915 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18916
2ce4f015
JM
189172012-04-26 Joseph Myers <joseph@codesourcery.com>
18918
5aeb141a
JM
18919 * sysdeps/unix/i386/brk.S: Remove file.
18920 * sysdeps/unix/i386/dl-brk.S: Likewise.
18921 * sysdeps/unix/i386/pipe.S: Likewise.
18922 * sysdeps/unix/i386/sigreturn.S: Likewise.
18923 * sysdeps/unix/i386/syscall.S: Likewise.
18924 * sysdeps/unix/i386/vfork.S: Likewise.
18925 * sysdeps/unix/i386/wait.S: Likewise.
18926
7143acae
JM
18927 * sysdeps/unix/common/tcsendbrk.c: Move to ...
18928 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18929
2ce4f015
JM
18930 * configure.in (arm*-none*): Do not allow without
18931 --enable-hacker-mode.
18932 (netbsd*): Remove case setting base_os.
18933 (386bsd*): Likewise.
18934 (freebsd*): Likewise.
18935 (bsdi*): Likewise.
18936 (osf*): Likewise.
18937 (sunos*): Likewise.
18938 (ultrix*): Likewise.
18939 (newsos*): Likewise.
18940 (dynix*): Likewise.
18941 (*bsd*): Likewise.
18942 (sysv*): Likewise.
18943 (isc*): Likewise.
18944 (esix*): Likewise.
18945 (sco*): Likewise.
18946 (minix*): Likewise.
18947 (irix4*): Likewise.
18948 (irix6*): Likewise.
18949 (solaris[2-9]*): Likewise.
18950 (none): Likewise.
18951 * configure: Regenerated.
18952
0ac229c8
AZ
189532012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18954
18955 [BZ #11521]
18956 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18957 overflow or cancellation in calculating denominator.
18958 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18959 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18960 down expression to avoid unexpected rounding in newer GCCs.
18961 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18962
33f244f4
DM
189632012-04-26 David S. Miller <davem@davemloft.net>
18964
18965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18966 long-double compat symbols.
18967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18980
cfa1f3e8
DM
189812012-04-25 David S. Miller <davem@davemloft.net>
18982
18983 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18984 HWCAP_* values only after the memory barriers have been defined.
18985 (atomic_full_barrier): Define.
18986 (atomic_read_barrier): Define.
18987 (atomic_write_barrier): Define.
18988
6e236b92
SP
189892012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18990
18991 * shlib-versions: Add libgcc_s version information.
18992 * sysdeps/generic/libgcc_s.h: Remove.
18993 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18994 libgcc_s.h.
18995 * sysdeps/gnu/unwind-resume.c: Likewise.
18996 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18997
aab39a09
DM
189982012-04-25 David S. Miller <davem@davemloft.net>
18999
19000 * sysdeps/unix/sparc/brk.S: Delete.
19001 * sysdeps/unix/sparc/dl-brk.S: Delete.
19002 * sysdeps/unix/sparc/pipe.S: Delete.
19003 * sysdeps/unix/sparc/sysdep.S: Delete.
19004 * sysdeps/unix/sparc/sysdep.h: Delete.
19005 * sysdeps/unix/sparc/vfork.S: Delete.
19006 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19007 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19008 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19009 ret_ERRVAL, r0, r1, MOVE): Define.
19010 (JUMPTARGET): Remove.
19011 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19012 sysdeps/unix/sparc/sysdep.h
19013 (ENTRY, END): Remove.
19014 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19015
a3cc4f48
JM
190162012-04-25 Joseph Myers <joseph@codesourcery.com>
19017
2ed8cda2
JM
19018 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19019 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19020 -DIS_IN_build.
19021
35d76d59
JM
19022 * timezone/README: Update upstream location and email address for
19023 tzcode and tzdata.
19024 * timezone/zdump.c: Update from tzcode 2012b.
19025 * timezone/zic.c: Likewise.
19026
a3cc4f48
JM
19027 * configure.in (libc_cv_as_needed): Remove test.
19028 * configure: Regenerated.
19029 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19030 conditional definition.
19031 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19032 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19033 * config.make.in (have-as-needed): Remove variable.
19034
ceab42c3
SP
190352012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19036 Paul Pluzhnikov <ppluzhnikov@google.com>
19037
19038 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19039 strings correctly.
19040
3ce2865f
CLT
190412012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19042
19043 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19044 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19045 * sysdeps/sh/strlen.S: Likewise.
19046
f37e0d68
JM
190472012-04-24 Joseph Myers <joseph@codesourcery.com>
19048
ae186e9a
JM
19049 * sysdeps/unix/fork.S: Remove file.
19050 * sysdeps/unix/i386/fork.S: Likewise.
19051 * sysdeps/unix/sparc/fork.S: Likewise.
19052
b96914af
JM
19053 * sysdeps/unix/system.c: Remove file.
19054 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19055
f37e0d68
JM
19056 * sysdeps/unix/getegid.S: Remove file.
19057 * sysdeps/unix/geteuid.S: Likewise.
19058
87ef29ca
RM
190592012-04-24 Roland McGrath <roland@hack.frob.com>
19060
83bcd236
RM
19061 * scripts/check-localplt.awk: New file.
19062 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19063 of diff.
19064 * scripts/data/localplt-generic.data: Add a comment.
19065
87ef29ca
RM
19066 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19067 NODE when __dir_mkfile failed.
19068 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19069 Reported by Ludovic Courtès <ludo@gnu.org>.
19070
e5a6e567
AJ
190712012-04-24 Andreas Jaeger <aj@suse.de>
19072
19073 * Makerules (common-clean): Also remove gen-as-const-headers
19074 files.
19075
c1820385
JM
190762012-04-24 Joseph Myers <joseph@codesourcery.com>
19077
19078 * Makerules (native-compile): Do not change working directory for
19079 build. Use $(OUTPUT_OPTION) in command.
19080 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19081
94e02fc4
AZ
190822012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19083
19084 [BZ #13886]
19085 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19086 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19087 * math/libm-test.inc (floor_test): Add more tests.
19088 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19089
3a533ca3
JM
190902012-04-24 Joseph Myers <joseph@codesourcery.com>
19091
940ab4b3
JM
19092 * sysdeps/unix/getdents.c: Remove file.
19093 * sysdeps/unix/sysv/getdents.c: Likewise.
19094 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19095
90e037bd
JM
19096 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19097 sysdeps/unix/mman/syscalls.list.
19098 (mmap): Likewise.
19099 (mprotect): Likewise.
19100 (msync): Likewise.
19101 (munmap): Likewise.
19102 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19103 * sysdeps/unix/mman/syscalls.list: Remove.
19104 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19105
3a533ca3
JM
19106 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19107 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19108 * configure: Regenerated.
19109 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19110 $(libgcc_s_suffix).
19111 * config.make.in (libgcc_s_suffix): Remove variable.
19112
1ad743de
JM
191132012-04-23 Joseph Myers <joseph@codesourcery.com>
19114
4ad451e2
JM
19115 * sysdeps/unix/sysv/gethostname.c: Move to ...
19116 * sysdeps/posix/gethostname.c: ... here.
19117
5e37ce39
JM
19118 * sysdeps/unix/execve.S: Remove file.
19119
1ad743de
JM
19120 * sysdeps/unix/_exit.S: Remove file.
19121
4e681b5b
AJ
191222012-04-23 Andreas Jaeger <aj@suse.de>
19123
19124 [BZ #13739]
19125 * manual/Makefile: Remove make dist support, there's no
19126 need for a stand-alone documentation tar ball.
19127 (TEXI2DVI): Define always, it's not in Makeconfig.
19128 (dist): Removed.
19129 (tar-it): Removed.
19130 (edition): Removed.
19131 (glibc-doc-$(edition).tar): Removed
19132 (%.Z): Removed.
19133 (%.gz): Removed.
19134 (%.uu): Removed.
19135 (ETAGS): Remove, it's in Makeconfig.
19136 (move-if-change): Remove, it's in Makeconfig.
19137
38686a03 191382012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19139
19140 [BZ #13970]
19141 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19142 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19143 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19144 (strtod_l, strtof_l, strtold_l): Remove __wur.
19145 It is not necessarily an error to ignore strtol's return value.
19146 One can reliably look at the stored endptr to decide whether
19147 the number had valid syntax.
19148
7c0616fa
AJ
191492012-04-21 Andreas Jaeger <aj@suse.de>
19150
803cb6b7 19151 [BZ #13739]
7c0616fa
AJ
19152 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19153
b0fe253f
JM
191542012-04-21 Joseph Myers <joseph@codesourcery.com>
19155
19156 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19157 * sysdeps/unix/sysv/Versions: Remove file.
19158
8280f22d
MT
191592012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19160
19161 [BZ #13927]
19162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19163
75ce411f 191642012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19165
19166 [BZ #7064]
19167 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19168 version from __vm86.
19169
097d59fa
JM
191702012-04-20 Joseph Myers <joseph@codesourcery.com>
19171
a90f3bcb
JM
19172 * sysdeps/unix/common/lxstat.c: Remove file.
19173 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19174
edc7ea78
JM
19175 * sysdeps/unix/sysv/Makefile: Remove file.
19176
cb78c221
JM
19177 * sysdeps/unix/sysv/direct.h: Remove file.
19178
efa6a45f
JM
19179 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19180 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19181 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19182 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19183 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19184 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19185 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19186
9c9f2d0c
JM
19187 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19188
4541c83b
JM
19189 * sysdeps/unix/xmknod.c: Remove file.
19190 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19191
f5d153a0
JM
19192 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19193
aa746595
JM
19194 * sysdeps/unix/sysv/i386/time.S: Remove file.
19195
cce5905e
JM
19196 * sysdeps/unix/fxstat.c: Remove file.
19197 * sysdeps/unix/xstat.c: Likewise.
19198 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19199
37fa3841
JM
19200 * sysdeps/unix/sysv/sigaction.c: Remove file.
19201
ff1962a3
JM
19202 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19203 (sysdep_headers): Remove variable.
19204 [termio.h not in sysdep_headers] (generated): Likewise.
19205 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19206 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19207 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19208 * sysdeps/unix/sysv/tcflow.c: Likewise.
19209 * sysdeps/unix/sysv/tcflush.c: Likewise.
19210 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19211 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19212 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19213 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19214 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19215
e7740d31
JM
19216 * sysdeps/unix/siglist.c: Remove file.
19217
ee06f18b
JM
19218 * sysdeps/unix/getppid.S: Remove file.
19219
097d59fa
JM
19220 * sysdeps/unix/mkdir.c: Remove file.
19221 * sysdeps/unix/rmdir.c: Likewise.
19222
ff3d51ec
AS
192232012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19224
19225 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19226 ERR_MAX value.
19227 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19228 errlist-compat value.
19229
50f81fd7
DM
192302012-04-18 David S. Miller <davem@davemloft.net>
19231
19232 * sysdeps/generic/memcopy.h (reg_char): Delete.
19233 * debug/strcat_chk.c: Use char, not reg_char.
19234 * debug/strcpy_chk.c: Likewise.
19235 * debug/strncat_chk.c: Likewise.
19236 * debug/strncpy_chk.c: Likewise.
19237 * string/memchr.c: Likewise.
19238 * string/memrchr.c: Likewise.
19239 * string/rawmemchr.c: Likewise.
19240 * string/strcat.c: Likewise.
19241 * string/strchr.c: Likewise.
19242 * string/strchrnul.c: Likewise.
19243 * string/strcmp.c: Likewise.
19244 * string/strcpy.c: Likewise.
19245 * string/strncat.c: Likewise.
19246 * string/strncmp.c: Likewise.
19247 * string/strncpy.c: Likewise.
19248
8ff41c46
WS
192492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19250
19251 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19252 __builtin_memcopy is called when src and dest ranges are known to not
19253 overlap.
19254
6b652f46
WS
192552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19256
19257 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19258 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19259 fwd_align_merge macro call.
19260 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19261 bwd_align_merge macro call.
19262 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19263
b282631e
WS
192642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19265
19266 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19267 bwd_align_merge macros.
19268 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19269 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19270 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19271
95aa737c
DM
192722012-04-18 David S. Miller <davem@davemloft.net>
19273
19274 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19275
7a99a614
AJ
192762012-04-18 Andreas Jaeger <aj@suse.de>
19277
19278 [BZ# 6794]
19279 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19280 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19281 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19282
19283 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19284 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19285 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19286
19287 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19288 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19289 Adjust for changed ldbl-128 files.
19290
19291 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19292 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19293 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19294
e5270c23
DM
192952012-04-17 David S. Miller <davem@davemloft.net>
19296
19297 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19298
fb5e92c9
AS
192992012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19300
19301 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19302 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19303 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19304 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19305 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19306 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19307
76da7265
AZ
193082012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19309
19310 [BZ #6794]
19311 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19312 * math/libm-test.inc: Add ilogb errno and exception tests.
19313 * math/w_ilogb.c: New file: ilogb wrapper.
19314 * math/w_ilogbf.c: New file: ilogbf wrapper.
19315 * math/w_ilogbl.c: New file: ilogbl wrapper.
19316 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19317 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19318 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19319 exception being thrown with 0.0 as argument.
19320 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19321 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19322 exception being thrown with 0.0 as argument.
19323 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19324 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19325 exception being thrown with 0.0 as argument.
19326 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19327 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19328 exception being thrown with 0.0 as argument.
19329 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19330 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 19331 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
19332 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19333 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19334 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19335 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19336 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19337 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19338
0396e69d
PB
193392012-04-17 Petr Baudis <pasky@ucw.cz>
19340
19341 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19342 with altivec.
19343
750b5926
MP
193442012-04-16 Marek Polacek <polacek@redhat.com>
19345
19346 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19347
751728a1
MP
193482012-04-16 Marek Polacek <polacek@redhat.com>
19349
19350 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19351 operands of fdivp instruction.
19352
34a27407
L
193532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19354
19355 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19356 * elf/tst-auditmod3b.c: Likewise.
19357 * elf/tst-auditmod4b.c: Likewise.
19358 * elf/tst-auditmod5b.c: Likewise.
19359 * elf/tst-auditmod6b.c: Likewise.
19360 * elf/tst-auditmod6c.c: Likewise.
19361 * elf/tst-auditmod7b.c: Likewise.
19362 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19363 * sysdeps/x86_64/preconfigure.in: Likewise.
19364 * sysdeps/x86_64/preconfigure: Regenerated.
19365
7e73e17d
L
193662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19367
19368 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19369 __ILP32__.
19370
c7a6ab72
AB
193712012-04-13 Antoine Balestrat <merkil33@gmail.com>
19372
19373 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19374 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19375
a9e8e0e0
CL
193762012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19377
19378 [BZ #13973]
19379 * locale/iso-639.def: Fix gl language name. Spotted by
19380 Yaron Shahrabani.
19381
ec98af7d
RM
193822012-04-12 Roland McGrath <roland@hack.frob.com>
19383
19384 [BZ #2074]
19385 * libio/libio.h (__io_write_fn): Update comment.
19386
247c3ede
PB
193872012-04-12 Petr Baudis <pasky@ucw.cz>
19388
19389 [BZ #2074]
19390 * stdio.texi (Hook Functions): The user provided writer function
19391 is not allowed to return -1.
19392
55939d6d
DM
193932012-04-11 David S. Miller <davem@davemloft.net>
19394
19395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19396
90020f5a
MF
193972012-04-11 Mike Frysinger <vapier@gentoo.org>
19398
19399 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19400 Add a leading slash to rtkaio.
19401
288f9098
JM
194022012-04-11 Jim Meyering <meyering@redhat.com>
19403
90020f5a
MF
19404 [BZ #11959]
19405 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19406 It is not necessarily an error to ignore fwrite's return
19407 value. One can reliably use ferror to test for errors after
19408 the fact.
288f9098 19409
4be2b570
L
194102012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19411
19412 * bits/types.h (__snseconds_t): New type.
19413 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19414
19415 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19416 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19417 (__SNSECONDS_T_TYPE): Likewise.
19418 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19419 (__SNSECONDS_T_TYPE): Likewise.
19420 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19421 (__SNSECONDS_T_TYPE): Likewise.
19422
288f9098 194232012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
19424
19425 [BZ #2636]
19426 * manual/time.texi (Processor Time): Return type of times is
19427 elapsed real time since an arbitrary point in the past.
19428 (CPU Time): Move CLK_TCK from here...
19429 (Processor Time): ...to here. Correct description.
19430 * manual/conf.texi (Constants for Sysconf): Correct description of
19431 _SC_CLK_TCK.
19432
d7dd4413
DM
194332012-04-10 David S. Miller <davem@davemloft.net>
19434
19435 [BZ #13967]
19436 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19437 where the is a gap between DT_REL(A) and DT_JMPREL.
19438
b46068fc
L
194392012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19440
19441 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19442 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19443 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19444
73d65cc3
SP
194452012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19446
19447 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19448 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19449 (dl_main): Handle --inhibit-cache.
19450 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19451 _dl_inhibit_cache.
19452 * elf/dl-load.c (_dl_map_object): Use it.
19453 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19454
bcc8d661
JM
194552012-04-09 Joseph Myers <joseph@codesourcery.com>
19456
8f9a2fae
JM
19457 [BZ #13872]
19458 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19459 (__ieee754_powl): Saturate large exponents rather than testing for
19460 overflow of y*log2(x).
19461 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19462 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19463 exceptions.
19464
bcc8d661
JM
19465 [BZ #11521]
19466 * math/s_ctan.c: Include <float.h>.
19467 (__ctan): Avoid internal overflow or cancellation in calculating
19468 denominator.
19469 * math/s_ctanf.c: Likewise.
19470 * math/s_ctanl.c: Likewise.
19471 * math/s_ctanh.c: Likewise.
19472 * math/s_ctanhf.c: Likewise.
19473 * math/s_ctanhl.c: Likewise.
19474 * math/libm-test.inc (ctan_test): Add more tests.
19475 (ctanh_test): Likewise.
19476 * sysdeps/i386/fpu/libm-test-ulps: Update.
19477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19478
823fbbb4
AJ
194792012-04-09 Andreas Jaeger <aj@suse.de>
19480
03879793
AJ
19481 [BZ #6894]
19482 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19483 is an optional BSD extension.
19484
823fbbb4
AJ
19485 [BZ #10254]
19486 * manual/stdio.texi (Opening Streams): Document additional fopen
19487 parameters.
19488
8de131cb
RM
194892012-04-09 Roland McGrath <roland@hack.frob.com>
19490
19491 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19492 %eax without telling the compiler.
19493
c0ed9d7d
CD
194942012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19495
19496 [BZ # 13963]
19497 * manual/install.texi: Use sourceware.org.
19498
c483f6b4
JM
194992012-04-09 Joseph Myers <joseph@codesourcery.com>
19500
d7dd9453
JM
19501 [BZ #13873]
19502 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19503 (__ieee754_pow): Generate overflow and underflow using huge*huge
19504 and tiny*tiny rather than just returning constant infinity or zero
19505 for large exponents.
19506 * math/libm-test.inc (pow_test): Require overflow exceptions for
19507 applicable cases of large exponents.
19508
c483f6b4
JM
19509 [BZ #706]
19510 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19511 (__ieee754_pow): Use iterative multiplication algorithm only for
19512 integer exponents with absolute value below 1024. Check for odd
19513 integer exponents when using algorithm for real exponents.
19514 * math/libm-test.inc (pow_test): Add more tests.
19515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19516
d2de7579
JM
195172012-04-08 Joseph Myers <joseph@codesourcery.com>
19518
19519 [BZ #13705]
19520 * math/libm-test.inc (exp_test): Do not allow overflow exception
19521 on underflow test.
19522
f77f1232
AJ
195232012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19524
19525 [BZ #13705]
19526 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19527 instead of __kernel_standard_f.
19528
3884932b
MF
195292012-04-08 Mike Frysinger <vapier@gentoo.org>
19530
19531 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19532 * sysdeps/x86_64/memset_chk.S: Likewise.
19533
54472e9c
AJ
195342012-04-08 Andreas Jaeger <aj@suse.de>
19535
6ab0fbfc
AJ
19536 [BZ #10153]
19537 * manual/startup.texi (Environment Access): Describe return value
19538 for putenv and setenv.
19539
61efba8c
AJ
19540 [BZ #6895]
19541 * manual/filesys.texi (Directory Entries): Add description for
19542 DT_LNK.
19543
95c3f29a
AJ
19544 [BZ #6890]
19545 * manual/filesys.texi (Directory Entries): Clarify that it's file
19546 system not operating system in the description of DT_UNKNOWN.
19547
54472e9c
AJ
19548 [BZ #6578]
19549 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19550
624254b1
SC
195512012-04-08 Stephen Compall <s11@member.fsf.org>
19552
19553 [BZ #6649]
19554 * manual/llio.texi (Opening and Closing Files): Add cross
19555 reference to explain mode argument.
19556
1e4920e0
MF
195572012-04-07 Mike Frysinger <vapier@gentoo.org>
19558
19559 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19560 * sysdeps/x86_64/memset_chk.S: Likewise.
19561
5ed848f3
DM
195622012-04-07 David S. Miller <davem@davemloft.net>
19563
19564 * elf/elf.h (R_SPARC_WDISP10): Define.
19565 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19566 R_SPARC_SIZE32.
19567 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19568 R_SPARC_SIZE64 and R_SPARC_H34.
19569
96154cd8
CD
195702012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19571
19572 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19573 conditions and remove no longer applicable assertion.
19574
9904dc47
L
195752012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19576
19577 * bits/byteswap.h: Include <features.h>.
19578 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19579 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19580
f8887d0a
L
195812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19582
19583 * bits/byteswap.h (__bswap_16): Removed.
19584 Include <bits/byteswap-16.h> to get __bswap_16.
19585 * sysdeps/i386/bits/byteswap.h: Likewise.
19586 * sysdeps/s390/bits/byteswap.h: Likewise.
19587 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19588 * bits/byteswap-16.h: New file.
19589 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19590 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19591 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19592 * string/Makefile (headers): Add bits/byteswap-16.h.
19593
62470f60
PP
195942012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19595
19596 [BZ #13895]
19597 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19598 extra indirection.
19599 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19600 * nss/tst-nss-static.c: New.
19601
4dad7bab
RM
196022012-04-06 Robert Millan <rmh@gnu.org>
19603
19604 [BZ #6486]
19605 * manual/llio.texi (File Position Primitive): lseek
19606 refers to WHENCE when it really means OFFSET.
19607
e9142a17
AJ
196082012-04-06 Andreas Jaeger <aj@suse.de>
19609
2c040eff
AJ
19610 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19611 strncmp declarations.
19612
e9142a17
AJ
19613 * abilist/libc.abilist: Add __poll and __ppoll.
19614
ff9f1c5f
DM
196152012-04-05 David S. Miller <davem@davemloft.net>
19616
dcd2ae90
DM
19617 * scripts/check-local-headers.sh: Accept a host triplet in the
19618 path matched by the exclude regexp.
19619
993eb054
DM
19620 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19621 definition.
19622 * sysdeps/powerpc/powerpc32/dl-machine.h
19623 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19624 * sysdeps/s390/s390-32/dl-machine.h
19625 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19626 * sysdeps/sparc/sparc32/dl-machine.h
19627 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19628 * sysdeps/sparc/sparc64/dl-machine.h
19629 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19630
ff9f1c5f
DM
19631 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19632 lazy binding.
48e2e132 19633 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
19634 undefined symbol errors.
19635
48e2e132 19636 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
19637 DT_NEEDED entries.
19638
e80d6f94
MM
196392012-04-05 Michael Matz <matz@suse.de>
19640
19641 [BZ #13592]
19642 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19643
349fa79f
AJ
196442012-04-05 Andreas Jaeger <aj@suse.de>
19645
19646 [BZ #13908]
19647 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19648 comment.
19649
f402708f
KK
196502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19651
19652 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19653 which ROUND is no valid rounding mode.
19654
2ecccfc9
KK
196552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19656
19657 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19658 read again.
19659 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19660
8a53f50f
KK
196612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19662
19663 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19664 an exception using FPU order intentionally.
19665
196662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19667
19668 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19669 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19670 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19671 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19672
d653abb7
SJ
196732012-04-05 Simon Josefsson <simon@josefsson.org>
19674
19675 [BZ #12340]
19676 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19677 EINVAL when BUFLEN is too smal.
19678
c3b1bf7d
TS
196792012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19680
19681 [BZ #13553]
19682 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19683 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19684
b1aa60f3
AJ
196852012-04-03 Andreas Jaeger <aj@suse.de>
19686
c3b1bf7d 19687 [BZ #13938]
67f60a26
AJ
19688 * manual/setjmp.texi (System V contexts): Fix sentence.
19689
b1aa60f3
AJ
19690 [BZ #13926]
19691 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19692 New macro for this case.
19693 [!__GNUC__] (__bswap_64): New inline function for this case.
19694 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19695 * bits/byteswap.h: Likewise.
19696 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19697 ull, guard with __GLIBC_HAVE_LONG_LONG.
19698
19699 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19700 __GLIBC_HAVE_LONG_LONG.
19701
19702 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19703 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19704
39c59c35
TMQMF
197052012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19706
19707 [BZ #13691]
19708 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19709 inptr and inend, rather than using last_ch.
19710
135ffda8
DM
197112012-04-02 David S. Miller <davem@davemloft.net>
19712
19713 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19714 * stdio-common/printf-parse.h (read_int): Change return type to
19715 'int', return -1 on INT_MAX overflow.
19716 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19717 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19718 overflows INT_MAX. Check for overflow of in-format-string precision
19719 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19720 SIZE_MAX not INT_MAX for integer overflow test.
19721 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19722 skip the construct in the format string but do not record anything.
19723 * stdio-common/bug22.c: Adjust to test both width/prevision
19724 INT_MAX overflow as well as total length INT_MAX overflow. Check
19725 explicitly for proper errno values.
19726
228c019e
TS
197272012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19728
302cadd3
TS
19729 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19730 CHAR_MAX.
19731 * string/test-strcmp.c [! WIDE]: Likewise.
19732 * time/tst-mktime2.c: Likewise for INT_MAX.
19733 * string/test-string.h: #include <sys/param.h> for MIN.
19734
228c019e
TS
19735 * csu/init-first.c (__libc_init_first): Call __ctype_init.
19736 * sysdeps/i386/init-first.c (init): Likewise.
19737 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19738 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19739 * sysdeps/sh/init-first.c (init): Likewise.
19740
cfa633f5
UD
197412012-04-01 Ulrich Drepper <drepper@gmail.com>
19742
19743 * po/ru.po: Update from translation team.
d1635ef8 19744 * po/vi.po: Likewise.
cfa633f5 19745
6cd0a5ea
SP
197462012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19747
19748 * resolv/nss_dns/dns-host.c: Merge copyright years.
19749
4b43400f
LD
197502012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19751
19752 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19753 Optimize memcpy with prefetch if
19754 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
19755 src, dst pointers have unequal 16 byte alignments.
19756
48c41d04
SP
197572012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19758
19759 [BZ #13928]
19760 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19761 from a CNAME entry and return the minimum ttl for the query.
19762 (gaih_getanswer_slice): Likewise.
19763
b8dc394d
JL
197642012-03-30 Jeff Law <law@redhat.com>
19765
19766 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19767 due to long keys.
19768 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19769 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19770
2f5a5ed0
JL
19771 * resolv/nss_dns/dns-host.c: Update copyright year.
19772
1d39e359
UD
197732012-03-30 Ulrich Drepper <drepper@gmail.com>
19774
c030f70c 19775 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 19776 requests to save a system call. Fix check that all bytes are sent.
c030f70c 19777
1d39e359
UD
19778 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19779 comments for sendmmsg.
19780
197812012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
19782
19783 [BZ #13691]
19784 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19785 with only 1 character between 0x0041 and 0x01b0.
19786 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19787 * wcsmbs/tst-mbsnrtowcs.c: New file.
19788
20fde227
DM
197892012-03-29 David S. Miller <davem@davemloft.net>
19790
19791 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19792 small copies by hand.
19793
984a4237
JL
197942012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19795
19796 [BZ #13761]
19797 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19798 _nss_compat_initgroups_dyn): Fall back to malloc/free
19799 for large group memberships.
19800
18c9d62b
DM
198012012-03-28 David S. Miller <davem@davemloft.net>
19802
88d85d4f
DM
19803 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19804 that branches into memcpy.
19805 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19806 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19807 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19808 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19809 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19810 bits.
19811 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19812 implementation too.
19813 * sysdeps/sparc/mempcpy.S: New file.
19814
e5aa83e1
DM
19815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19816 the IFUNC routine in the libc case.
19817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19818
88570753
DM
19819 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19820 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19821 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19822 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19823 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19824 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19825 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19826 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19827
249d7567
DM
19828 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19829 loop to 256 bytes instead of 64 bytes and fix test signedness.
19830
18c9d62b
DM
19831 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19832 * sysdeps/sparc/sparc32/Makefile: rather than here...
19833 * sysdeps/sparc/sparc64/Makefile: and here.
19834
05f3d1f6
UD
198352012-03-28 Ulrich Drepper <drepper@gmail.com>
19836
19837 * malloc/mallocbug.c: Avoid warnings about unused variables.
19838
86ae07a8
JL
198392012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19840
19841 [BZ #13760]
19842 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19843 in the right place. Discard and retry query if response is
19844 larger than input buffer size.
19845
41bf21a1
JM
198462012-03-28 Joseph Myers <joseph@codesourcery.com>
19847
d6270972
JM
19848 [BZ #369]
19849 [BZ #2678]
19850 [BZ #3866]
19851 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19852 x for large integer exponent.
19853 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19854 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
19855 sign of result as needed afterwards.
19856 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19857 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19858 result for underflowing pow the same as for overflow.
19859 (__kernel_standard_l): Handle powl overflow and underflow here
19860 rather than calling __kernel_standard.
19861 * math/libm-test.inc (pow_test): Add more tests.
19862
414fca03 19863 [BZ #3868]
41bf21a1
JM
19864 [BZ #13879]
19865 [BZ #13910]
19866 [BZ #13911]
19867 [BZ #13912]
19868 [BZ #13913]
19869 [BZ #13915]
19870 [BZ #13916]
19871 [BZ #13917]
19872 [BZ #13918]
19873 [BZ #13919]
19874 [BZ #13920]
19875 [BZ #13921]
19876 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19877 * sysdeps/ieee754/k_standard.c: Include <float.h>.
19878 (__kernel_standard_l): New function.
19879 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19880 __kernel_standard.
19881 * math/w_acosl.c (__acosl): Likewise.
19882 * math/w_asinl.c (__asinl): Likewise.
19883 * math/w_atan2l.c (__atan2l): Likewise.
19884 * math/w_atanhl.c (__atanhl): Likewise.
19885 * math/w_coshl.c (__coshl): Likewise.
19886 * math/w_exp10l.c (__exp10l): Likewise.
19887 * math/w_exp2l.c (__exp2l): Likewise.
19888 * math/w_fmodl.c (__fmodl): Likewise.
19889 * math/w_hypotl.c (__hypotl): Likewise.
19890 * math/w_j0l.c (__j0l, __y0l): Likewise.
19891 * math/w_j1l.c (__j1l, __y1l): Likewise.
19892 * math/w_jnl.c (__jnl, __ynl): Likewise.
19893 * math/w_lgammal.c (__lgammal): Likewise.
19894 * math/w_log10l.c (__log10l): Likewise.
19895 * math/w_log2l.c (__log2l): Likewise.
19896 * math/w_logl.c (__logl): Likewise.
19897 * math/w_powl.c (__powl): Likewise.
19898 * math/w_remainderl.c (__remainderl): Likewise.
19899 * math/w_scalbl.c (sysv_scalbl): Likewise.
19900 * math/w_sinhl.c (__sinhl): Likewise.
19901 * math/w_sqrtl.c (__sqrtl): Likewise.
19902 * math/w_tgammal.c (__tgammal): Likewise.
19903 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19904 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19905 * math/libm-test.inc (acos_test): Add more tests.
19906 (acosh_test): Likewise.
19907 (asin_test): Likewise.
19908 (atanh_test): Likewise.
19909 (exp_test): Likewise.
19910 (exp10_test): Likewise.
19911 (exp2_test): Likewise.
19912 (expm1_test): Likewise.
19913 (lgamma_test): Likewise.
19914 (log_test): Likewise.
19915 (log10_test): Likewise.
19916 (log1p_test): Likewise.
19917 (log2_test): Likewise.
19918 (pow_test): Do not allow some spurious overflow exceptions.
19919 (sqrt_test): Add more tests.
19920 (tgamma_test): Likewise.
19921 (y0_test): Likewise.
19922 (y1_test): Likewise.
19923 (yn_test): Likewise.
19924
dd62fda6
AB
199252012-03-27 Anton Blanchard <anton@samba.org>
19926
19927 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19928 MAP_HUGETLB.
19929 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19930 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19931 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19932
1e3cdfda
AJ
199332012-03-27 David S. Miller <davem@davemloft.net>
19934
b855ab85
DM
19935 * conform/Makefile: Run run-conformtest.sh using $(BASH).
19936
1e3cdfda
AJ
19937 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19938 have-as-vis3 check.
19939
199402012-03-27 Andreas Jaeger <aj@suse.de>
19941
19942 * sysdeps/x86_64/elf/configure.in: Moved to ...
19943 * sysdeps/x86_64/configure.in: ... here.
19944 * sysdeps/x86_64/elf/start.S: Moved to ...
19945 * sysdeps/x86_64/start.S: ... here.
19946 * sysdeps/x86_64/elf/configure: Delete.
19947
19948 * sysdeps/x86_64/configure.in: Merge contents from
19949 sysdeps/i386/configure.in (without i686 check).
19950
19951 * sysdeps/i386/elf/Versions: Merge into ...
19952 * sysdeps/i386/Versions: ... this.
19953 * sysdeps/i386/elf/Versions: Delete file.
19954 * sysdeps/i386/elf/start.S: Moved to ...
19955 * sysdeps/i386/start.S: ...here.
19956 * sysdeps/i386/elf/configure.in: Merge into...
19957 * sysdeps/i386/configure.in: ...here.
19958 * sysdeps/i386/elf/configure.in: Delete file.
19959 * sysdeps/i386/elf/configure: Delete file.
19960
19961 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19962 * debug/backtracesyms.c: ... here.
19963 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19964 * debug/backtracesymsfd.c: ... here.
19965 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19966 * sysdeps/generic/ifunc-sel.h: ... here.
19967
19968 * sysdeps/unix/i386/start.c: Delete file.
19969 * sysdeps/unix/sparc/start.c: Delete file.
19970 * sysdeps/unix/start.c: Delete file.
19971
19972 * sysdeps/sh/elf/configure.in: Moved to ...
19973 * sysdeps/sh/configure.in: ... here.
19974 * sysdeps/sh/elf/start.S: Moved to ...
19975 * sysdeps/sh/start.S: ... here.
19976 * sysdeps/sh/elf/configure: Delete file.
19977
19978 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19979 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19980 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19981 * sysdeps/powerpc/powerpc64/entry.h: ... here.
19982 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19983 * sysdeps/powerpc/powerpc64/start.S: here.
19984 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19985 * sysdeps/powerpc/powerpc64/Makefile: ... this.
19986 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19987 * sysdeps/powerpc/powerpc64/configure.in: ... this.
19988 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19989
19990 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19991 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19992 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19993 * sysdeps/powerpc/powerpc32/start.S: ... here.
19994 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19995 * sysdeps/powerpc/powerpc32/configure.in: ... this.
19996 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19997
19998 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19999 * sysdeps/powerpc/ifunc-sel.h: ... here.
20000 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20001 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20002
20003 * sysdeps/sparc/elf/configure.in: Moved to ...
20004 * sysdeps/sparc/configure.in: ... here.
20005 * sysdeps/sparc/elf/configure: Delete file.
20006 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20007 * sysdeps/sparc/sparc32/start.S: ... here.
20008 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20009 * sysdeps/sparc/sparc64/start.S: ... here.
20010 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20011 * sysdeps/sparc/sparc32/Makefile: ... this.
20012 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20013 * sysdeps/sparc/sparc64/Makefile: ... this.
20014
20015 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20016 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20017 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20018 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20019 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20020 * sysdeps/s390/s390-32/setjmp.S: ... here.
20021 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20022 * sysdeps/s390/s390-32/configure.in: ... here.
20023 * sysdeps/s390/s390-32/elf/configure: Delete file.
20024 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20025 * sysdeps/s390/s390-32/start.S: ... here.
20026
20027 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20028 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20029 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20030 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20031 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20032 * sysdeps/s390/s390-64/setjmp.S: ... here.
20033 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20034 * sysdeps/s390/s390-64/configure.in: ... here
20035 * sysdeps/s390/s390-64/elf/configure: Delete file.
20036 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20037 * sysdeps/s390/s390-64/start.S: ... here.
20038 * sysdeps/s390/s390-64/elf/configure: Delete.
20039
20040 * configure.in: Remove support for elf directories in sysdeps.
20041
20042 * configure: Regenerated.
20043 * sysdeps/i386/configure: Regenerated.
20044 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20045 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20046 * sysdeps/s390/s390-32/configure: Regenerated.
20047 * sysdeps/s390/s390-64/configure: Regenerated.
20048 * sysdeps/sh/configure: Regenerated.
20049 * sysdeps/sparc/configure: Regenerated.
20050 * sysdeps/x86_64/configure: Regenerated.
20051
a3f61311
AS
200522012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20053
c876e002
AS
20054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20055
a3f61311
AS
20056 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20057 denormal result into account.
20058
ac4c54f0
RM
200592012-03-25 Roland McGrath <roland@hack.frob.com>
20060
20061 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20062 Reported by Allan McRae <allan@archlinux.org>.
20063
6a9b9c02
JL
200642012-03-23 Jeff Law <law@redhat.com>
20065
20066 * nss/getnssent.c (__nss_getent): Fix typo.
20067
4c42a0c1
DM
200682012-03-23 David S. Miller <davem@davemloft.net>
20069
20070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20071
1532c7ac
L
200722012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20073
20074 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20075 to pad to uint64_t for each field.
20076 (dl_tls_index): Replace unsigned long with uint64_t.
20077
3ff42526
PP
200782012-03-23 Daniel Jacobowitz <dmj@google.com>
20079 Paul Pluzhnikov <ppluzhnikov@google.com>
20080
20081 [BZ #6528]
20082 * grp/Makefile (otherlibs): Don't set it.
20083 * inet/Makefile (otherlibs): Likewise.
20084 * login/Makefile (otherlibs): Likewise.
20085 * nscd/Makefile (otherlibs): Likewise.
20086 * posix/Makefile (otherlibs): Likewise.
20087 * pwd/Makefile (otherlibs): Likewise.
20088 * rt/Makefile (otherlibs): Likewise.
20089 * sunrpc/Makefile (otherlibs): Likewise.
20090 * nss/Makefile (otherlibs): Likewise.
20091 Add libnss_files to routines and static-only-routines.
20092 ($(objpfx)getent): Remove rule.
20093 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20094 static-only-routines.
20095
7c69cd14
JM
200962012-03-22 Joseph Myers <joseph@codesourcery.com>
20097
20098 [BZ #13892]
20099 * math/s_cexp.c: Include <float.h>.
20100 (__cexp): Handle exp result overflowing not necessarily
20101 overflowing both real and imaginary parts of result.
20102 * math/s_cexpf.c: Likewise.
20103 * math/s_cexpl.c: Likewise.
20104 * math/libm-test.inc (cexp_test): Add more tests.
20105 * sysdeps/i386/fpu/libm-test-ulps: Update.
20106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20107
81b035fe
L
201082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20109
20110 * include/link.h (ELFW): New macro.
20111 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20112 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20113
1da7940c
L
201142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20115
20116 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20117 with uint64_t.
20118
b749dbb9
L
201192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20120
20121 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20122 declaration.
20123 (struct La_x32_retval): Likewise.
20124
2ff87f3f
L
201252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20126
20127 * sysdeps/x86_64/preconfigure.in: New file.
20128 * sysdeps/x86_64/preconfigure: New generated file.
20129
c0df8e69
JM
201302012-03-22 Joseph Myers <joseph@codesourcery.com>
20131
48e44791
JM
20132 [BZ #13824]
20133 * math/e_exp2l.c: Include <float.h>.
20134 (__ieee754_exp2l): Handle overflow and underflow cases
20135 separately. Only pass fractional part of argument to
20136 __ieee754_expl.
20137 * math/libm-test.inc (exp2_test): Add more tests.
20138
c0df8e69
JM
20139 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20140 negating x to take absolute value.
20141 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20142 Likewise.
20143 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20144 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20145 Likewise.
20146 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20147 computing low part if x was negated.
20148 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20149
c8e43ba7
L
201502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20151
20152 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20153 la_x32_gnu_pltexit.
20154 (pltexit): Cast int_retval to ptrdiff_t.
20155 * elf/tst-auditmod3b.c: Likewise.
20156 * elf/tst-auditmod4b.c: Likewise.
20157 * elf/tst-auditmod5b.c: Likewise.
20158 * elf/tst-auditmod6b.c: Likewise.
20159 * elf/tst-auditmod6c.c: Likewise.
20160 * elf/tst-auditmod7b.c: Likewise.
20161
20162 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20163 and x32_gnu_pltexit.
20164
20165 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20166 __ELF_NATIVE_CLASS.
20167 (La_x32_regs): New macro.
20168 (La_x32_retval): Likewise.
20169 (la_x32_gnu_pltenter): New function prototype.
20170 (la_x32_gnu_pltexit): Likewise.
20171
7998fa78
AS
201722012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20173
dcb33988
AS
20174 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20175 exponent.
20176
233fc563
AS
20177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20178
7998fa78
AS
20179 * configure.in (libc_cv_cc_nofma): Check for option to disable
20180 generation of FMA instructions.
20181 * configure: Regenerate.
20182 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20183 * sysdeps/ieee754/dbl-64/Makefile: New file.
20184 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20185 Remove brandred-fma4.
20186 (CFLAGS-brandred-fma4.c): Remove.
20187 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20188 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20189 define.
20190 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20191 define.
20192
8e95c99a
L
201932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20194
20195 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20196 LLONG_MAX != LONG_MAX.
20197 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20198 (_fitoa_word): Likewise.
20199 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20200 LLONG_MAX != LONG_MAX.
20201 * stdio-common/_itowa.h: Include <_itoa.h>.
20202 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20203 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20204 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20205 only if not defined.
20206 (_ITOA_WORD_TYPE): Likewise.
20207 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20208 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20209
6f4db457
DM
202102012-03-21 David S. Miller <davem@davemloft.net>
20211
20212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20213
7785fe5a
L
202142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20215
20216 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20217 of x86_64 when setting libc_cv_slibdir, libdir and
20218 libc_cv_localedir.
20219 * sysdeps/unix/sysv/linux/configure: Regenerated.
20220
4535cd55
JM
202212012-03-21 Joseph Myers <joseph@codesourcery.com>
20222
20223 * manual/lang.texi (Old Varargs): Remove section.
20224 (How Variadic): Update menu.
20225 (va_start): Do not mention varargs.h.
20226
17228132
TS
202272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20228 Joseph Myers <joseph@codesourcery.com>
20229
20230 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20231 link test.
20232 * configure: Regenerated.
20233
8149f976
TS
202342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20235
05f3d1f6
UD
20236 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20237 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20238 conformtest.pl
8149f976 20239
1a4ac776
JM
202402012-03-21 Joseph Myers <joseph@codesourcery.com>
20241
be22ce65
JM
20242 * NOTES: Remove.
20243 * Makefile (files-for-dist): Remove NOTES.
20244 (NOTES): Remove rule.
20245 * README: Don't refer to NOTES.
20246 * manual/creature.texi: Don't include macros.texi.
20247 * manual/intro.texi (creature.texi): Remove comment referring to
20248 NOTES.
20249
40b601fb
JM
20250 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20251 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20252 * configure: Regenerated.
20253 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20254 LIBC_TRY_CC_OPTION.
20255 (libc_cv_as_i686): Likewise.
20256 (libc_cv_cc_avx): Likewise.
20257 (libc_cv_cc_sse2avx): Likewise.
20258 (libc_cv_cc_fma4): Likewise.
20259 (libc_cv_cc_novzeroupper): Likewise.
20260 * sysdeps/i386/configure: Regenerated.
20261
1a4ac776
JM
20262 [BZ #13883]
20263 * sysdeps/i386/fpu/s_cexp.S: Remove.
20264 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20265 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20266 * math/libm-test.inc (cexp_test): Add more tests.
20267 * sysdeps/i386/fpu/libm-test-ulps: Update.
20268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20269
a458e7fe
AM
202702012-03-21 Allan McRae <allan@archlinux.org>
20271
20272 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20273
0cb7efc5
JM
202742012-03-21 Joseph Myers <joseph@codesourcery.com>
20275
20276 [BZ #13871]
20277 * math/w_exp2.c: Do not include <float.h>.
20278 (o_threshold, u_threshold): Remove.
20279 (__exp2): Calculate result before checking finiteness and calling
20280 __kernel_standard.
20281 * math/w_exp2f.c: Likewise.
20282 * math/w_exp2l.c: Likewise.
20283 * math/libm-test.inc (exp2_test): Require overflow exception for
20284 1e6 input.
2460d3aa
JM
20285
20286 [BZ #3866]
20287 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20288 range of signed 64-bit integers before using fistpll. Remove
20289 checks for whether integers fit in mantissa bits.
20290 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20291 the range of signed 32-bit integers before using fistpl. Remove
20292 checks for whether integers fit in mantissa bits.
20293 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20294 (__ieee754_powl): Test for y outside the range of signed 64-bit
20295 integers before using fistpll. Reduce 64-bit values to 63-bit
20296 ones as needed.
20297 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20298 divide-by-zero is raised for zero to large negative powers.
20299 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20300 (__ieee754_powl): Test for y outside the range of signed 64-bit
20301 integers before using fistpll. Reduce 64-bit values to 63-bit
20302 ones as needed.
20303 * math/libm-test.inc (pow_test): Add more tests.
20304
eb96ffb0
L
203052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20306
20307 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20308 <stdio-common/_itoa.h>.
20309 * debug/segfault.c: Likewise.
20310 * elf/dl-cache.c: Likewise.
20311 * elf/dl-minimal.c: Likewise.
20312 * elf/dl-misc.c: Likewise.
20313 * elf/dl-sysdep.c: Likewise.
20314 * elf/dl-version.c: Likewise.
20315 * elf/rtld.c: Likewise.
20316 * hurd/hurdsock.c: Likewise.
20317 * hurd/lookup-retry.c: Likewise.
20318 * malloc/malloc.c: Likewise.
20319 * malloc/mtrace.c: Likewise.
20320 * nscd/nscd_getgr_r.c: Likewise.
20321 * nscd/nscd_getpw_r.c: Likewise.
20322 * nscd/nscd_getserv_r.c: Likewise.
20323 * posix/getopt_init.c: Likewise.
20324 * posix/wordexp.c: Likewise.
20325 * stdio-common/_itoa.c: Likewise.
20326 * stdio-common/printf_fphex.c: Likewise.
20327 * stdio-common/vfprintf.c: Likewise.
20328 * string/_strerror.c: Likewise.
20329 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20330 * sysdeps/i386/i686/hp-timing.h: Likewise.
20331 * sysdeps/mach/_strerror.c: Likewise.
20332 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20333 * sysdeps/mach/hurd/sethostid.c: Likewise.
20334 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20335 * sysdeps/mach/xpg-strerror.c: Likewise.
20336 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20337 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20338 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20339 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20340 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20341 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20342 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20343 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20344 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20345 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20346 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20347 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20348 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20349 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20350 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20351 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20352 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20353 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20354 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20355 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20356 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20357
20358 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20359
20360 * stdio-common/_itoa.h: Moved to ...
20361 * sysdeps/generic/_itoa.h: Here.
20362
20363 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20364
20365 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20366 instead of "_itoa.h" and "_itowa.h".
20367 * stdio-common/vfprintf.: Likewise.
20368
d1af992d
L
203692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20370
20371 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20372 <bits/wordsize.h>.
20373 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20374 (__signbit): Likwise.
20375 (llrintf): Likwise.
20376 (llrint): Likwise.
20377
114883e0
L
203782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20379
20380 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20381 __WORDSIZE != 64.
20382
c135cc1b
JM
203832012-03-20 Joseph Myers <joseph@codesourcery.com>
20384
20385 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20386 OVERFLOW_EXCEPTION_OK.
20387 * math/libm-test.inc ("Philosophy"): Update comment about
20388 exception testing.
20389 (OVERFLOW_EXCEPTION): Define.
20390 (OVERFLOW_EXCEPTION_OK): Likewise.
20391 (INVALID_EXCEPTION_OK): Renumber.
20392 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20393 (IGNORE_ZERO_INF_SIGN): Likewise.
20394 (test_exceptions): Handle FE_OVERFLOW.
20395 (exp10_test): Expect overflow exceptions.
20396 (exp2_test): Likewise.
20397 (expm1_test): Likewise.
20398 (nextafter_test): Likewise.
20399 (pow_test): Likewise.
20400 (scalbn_test): Likewise.
20401 (scalbln_test): Likewise.
20402
95443d88
L
204032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20404
20405 * sysdeps/x86_64/bits/atomic.h
20406 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20407 64bit integer.
20408 (atomic_exchange_acq): Likewise.
20409 (__arch_exchange_and_add_body): Likewise.
20410 (__arch_add_body): Likewise.
20411 (atomic_add_negative): Likewise.
20412 (atomic_add_zero): Likewise.
20413
490df6c4
L
204142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20415
c2722551 20416 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
20417 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20418
5e52b189
L
204192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20420
20421 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20422 Check __x86_64__ instead of __WORDSIZE.
20423
a9879d4c
L
204242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20425
20426 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20427
5df98260
DM
204282012-03-19 David S. Miller <davem@davemloft.net>
20429
e1497744
DM
20430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20431
5df98260
DM
20432 * sysdeps/sparc/fpu/fenv_private.h: New file.
20433 * sysdeps/sparc/fpu/math_private.h: Use it.
20434 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20435 Remove.
20436 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20437 (libc_feholdexcept_setroundl): Remove.
20438 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20439 Remove.
20440 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20441 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20442
b4c35121
L
204432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20444
20445 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20446 int64_t instead of long int.
20447 (INSERT_WORDS64): Likwise.
20448
56965fd7
L
204492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20450
20451 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20452 _Unwind_GetCFA return to _Unwind_Ptr first.
20453
83d1aec8
JM
204542012-03-19 Joseph Myers <joseph@codesourcery.com>
20455
1897ad44
JM
20456 [BZ #13629]
20457 * math/s_clog.c: Include <float.h>.
20458 (__clog): Scale large or subnormal inputs.
20459 * math/s_clogf.c: Likewise.
20460 * math/s_clogl.c: Likewise.
20461 * math/s_clog10.c: Include <float.h>.
20462 (M_LOG10_2): Define.
20463 (__clog10): Scale large or subnormal inputs.
20464 * math/s_clog10f.c: Likewise.
20465 * math/s_clog10l.c: Likewise.
20466 * math/libm-test.inc (clog_test): Add more tests.
20467 (clog10_test): Likewise.
20468 * sysdeps/i386/fpu/libm-test-ulps: Update.
20469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20470
7726d6a9
JM
20471 [BZ #11451]
20472 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20473 x and y.
20474 * math/libm-test.inc (atan2_test): Add another test.
20475
83d1aec8
JM
20476 * Makerules (common-objdir-compile): Remove.
20477 * sysdeps/unix/Makefile (config-generated): Do not add
20478 $(unix-generated) to variable.
20479 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20480 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20481 Remove rule.
20482 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20483 Likewise.
20484 [generic bits/local_lim.h] (before-compile): Do not append to
20485 variable.
20486 [generic bits/local_lim.h] (common-generated): Likewise.
20487 [generic sys/param.h] (before-compile): Do not append to variable.
20488 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20489 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20490 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20491 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20492 include.
20493 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20494 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20495 [generic sys/param.h] ($(addprefix
20496 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20497 [generic sys/param.h] (common-generated): Do not append to
20498 variable.
20499 [generic sys/param.h] (sysdep_headers): Likewise.
20500 [generic bits/errno.h] (before-compile): Do not append to
20501 variable.
20502 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20503 rule.
20504 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20505 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20506 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20507 [generic bits/errno.h] (common-generated): Do not append to
20508 variable.
20509 [generic bits/ioctls.h] (before-compile): Do not append to
20510 variable.
20511 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20512 rule.
20513 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20514 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20515 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20516 rule.
20517 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20518 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20519 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20520 [generic bits/ioctls.h] (common-generated): Do not append to
20521 variable.
20522 [generic sys/syscall.h] (syscall.h): Remove variable.
20523 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20524 rule.
20525 [generic sys/syscall.h] (before-compile): Do not append to
20526 variable.
20527 [generic sys/syscall.h] (common-generated): Likewise.
20528 * sysdeps/unix/errnos-tmpl.c: Remove file.
20529 * sysdeps/unix/errnos.awk: Likewise.
20530 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20531 * sysdeps/unix/ioctls.awk: Likewise.
20532 * sysdeps/unix/mk-local_lim.c: Likewise.
20533 * sysdeps/unix/snarf-ioctls: Likewise.
20534
4851a949
RH
205352012-03-19 Richard Henderson <rth@twiddle.net>
20536
bd37f2ee
RH
20537 * sysdeps/i386/fpu/fenv_private.h: New file.
20538 * sysdeps/i386/fpu/math_private.h: Use it.
20539 (math_opt_barrier, math_force_eval): Remove.
20540 (libc_feholdexcept_setround_53bit): Remove.
20541 (libc_feupdateenv_53bit): Remove.
20542 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20543 (math_opt_barrier, math_force_eval): Remove.
20544 (libc_feholdexcept): Remove.
20545 (libc_feholdexcept_setround): Remove.
20546 (libc_fetestexcept, libc_fesetenv): Remove.
20547 (libc_feupdateenv_test): Remove.
20548 (libc_feupdateenv, libc_feholdsetround): Remove.
20549 (libc_feresetround): Remove.
20550
d0adc922
RH
20551 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20552 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20553
0fe0f1f8
RH
20554 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20555 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20556 (libc_feupdateenv_testl): New.
20557 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20558 (libc_feupdateenv_testf): New.
20559 (libc_feupdateenv): Use libc_feupdateenv_test.
20560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20561 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20562
eb92c487
RH
20563 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20564 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20565 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20566 (libc_feresetround_noex): New.
20567 (libc_feresetround_noexf): New.
20568 (libc_feresetround_noexl): New.
20569 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20570 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20571 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20572 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20573 SET_RESTORE_ROUND.
20574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20575 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20576 (__cos): Likewise.
20577 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20578 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20579 SET_RESTORE_ROUND_NOEX.
20580 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20581 SET_RESTORE_ROUND_NOEXF.
20582 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20583 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20584 (libc_feholdsetroundf): New.
20585 (libc_feresetround, libc_feresetroundf): New.
20586
7d2e8012
RH
20587 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20588 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20589 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20590
b4dabbb4
RH
20591 * sysdeps/generic/math_private.h: Include <fenv.h>.
20592 (default_libc_feholdexcept): New.
20593 (default_libc_feholdexcept_setround): New.
20594 (default_libc_fesetenv, default_libc_feupdateenv): New.
20595 (libc_feholdexcept): Only define if undefined.
20596 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20597 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20598 (libc_feholdexcept_setroundl): Likewise.
20599 (libc_feholdexcept_setround_53bit): Likewise.
20600 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20601 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20602 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20603 (libc_feupdateenv_53bit): Likewise.
20604 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20605 (libc_feholdexcept): Convert from macro to inline function.
20606 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20607 (libc_fesetenv, libc_feupdateenv): Likewise.
20608
4851a949
RH
20609 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20610 not previously defined.
20611 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20612 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20613 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20614 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20615 * sysdeps/ieee754/flt-32/math_private.h: New file.
20616 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20617 math_private.h below SET_FLOAT_WORD.
20618 (__isnan, __isinf_ns, __finite): Remove.
20619 (__isnanf, __isinf_nsf, __finitef): Remove.
20620
e79d442e
AS
206212012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20622
20623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20624
90b80344
DM
206252012-03-17 David S. Miller <davem@davemloft.net>
20626
20627 [BZ #6471]
20628 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20629 for 2.16.
20630
edc21804
DM
206312012-03-16 David S. Miller <davem@davemloft.net>
20632
77e927af
DM
20633 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20634 warnings.
20635
374976dd
DM
20636 [BZ #6471]
20637 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20638 properly.
20639 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20640 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20641 sysdep_routines when subdir is sysvipc.
20642 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20643 __getshmlba helper.
20644
edc21804
DM
20645 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20646
473c3ef3
L
206472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20648
20649 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20650 [__LP64__].
20651
eb0f39b6
L
206522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20653
20654 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20655 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20656 (__lround): Renamed to ...
20657 (__llround): This. Replace long int with long long int.
20658 Define lround functions as aliases of llround functions.
20659 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20660
6b6cd74b
L
206612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20662
20663 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20664 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20665 adresses to uintptr_t. Replace "long int" and "unsigned long
20666 int" with "greg_t" on va_arg.
20667
f1a77b01
L
206682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20669
20670 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20671 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20672
20673 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20674 Move e_machine check before EI_CLASS check. Handle x32
20675 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20676 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20677 SKIP_EM_IA_64 and include
20678 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20679
20680 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20681 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20682 (add_system_dir): New macro.
20683
20684 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20685 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20686
11b90b9f
JM
206872012-03-16 Joseph Myers <joseph@codesourcery.com>
20688
c36e1d23
JM
20689 [BZ #2551]
20690 [BZ #2552]
20691 [BZ #2553]
20692 [BZ #2554]
20693 [BZ #2562]
20694 [BZ #2563]
20695 [BZ #2565]
20696 [BZ #2566]
20697 [BZ #2576]
20698 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20699 (y0): Likewise.
20700 * math/w_j0f.c (j0f): Likewise.
20701 (y0f): Likewise.
20702 * math/w_j0l.c (__j0l): Likewise.
20703 (__y0l): Likewise.
20704 * math/w_j1.c (j1): Likewise.
20705 (y1): Likewise.
20706 * math/w_j1f.c (j1f): Likewise.
20707 (y1f): Likewise.
20708 * math/w_j1l.c (__j1l): Likewise.
20709 (__y1l): Likewise.
20710 * math/w_jn.c (jn): Likewise.
20711 (yn): Likewise.
20712 * math/w_jnf.c (jnf): Likewise.
20713 (ynf): Likewise.
20714 * math/w_jnl.c (__jnl): Likewise.
20715 (__ynl): Likewise.
20716 * math/libm-test.inc (j0_test): Add more tests.
20717 (j1_test): Likewise.
20718 (jn_test): Likewise. Add trailing semicolon to existing test.
20719 (y0_test): Likewise.
20720 (y1_test): Likewise.
20721 * sysdeps/i386/fpu/libm-test-ulps: Update.
20722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20723
11b90b9f
JM
20724 [BZ #13851]
20725 [BZ #13854]
20726 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20727 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20728 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20729 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20730 (__tanl): Set errno for infinite argument.
20731 * sysdeps/i386/fpu/mptan.c: Remove.
20732 * sysdeps/i386/fpu/s_tan.S: Likewise.
20733 * sysdeps/i386/fpu/s_tanl.S: Likewise.
20734 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20735 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20736 * math/libm-test.inc (tan_test): Add more tests and enable more
20737 tests for double and long double.
20738 * sysdeps/i386/fpu/libm-test-ulps: Update.
20739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20740
6a1bd2a1
JK
207412012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20742
20743 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20744 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20745
10a803e0
RM
207462012-03-16 Roland McGrath <roland@hack.frob.com>
20747
20748 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20749 * configure.in: Use it for both main tree and add-ons.
20750 * configure: Regenerated.
20751
f196c7f7
L
207522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20753
20754 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20755
8848d99d
JM
207562012-03-16 Joseph Myers <joseph@codesourcery.com>
20757
96cbe7f4
JM
20758 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20759 in comment.
20760
8848d99d
JM
20761 [BZ #13851]
20762 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20763 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20764 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20765 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20766 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20767 infinite argument.
20768 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20769 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20770 != 0 for prec == 2.
20771 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20772 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20773 * sysdeps/i386/fpu/s_cosl.S: Likewise.
20774 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20775 * sysdeps/i386/fpu/s_sinl.S: Likewise.
20776 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20777 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20778 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20779 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20780 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20781 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20782 * math/libm-test.inc (cos_test): Add more tests and enable more
20783 tests for long double.
20784 (sin_test): Likewise.
20785 (sincos_test): Likewise.
20786 * sysdeps/i386/fpu/libm-test-ulps: Update.
20787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20788
dd7f4703
DM
207892012-03-16 David S. Miller <davem@davemloft.net>
20790
20791 * sysdeps/sparc/fpu/math_private.h: New file.
20792
006f1daa
DM
207932012-03-15 David S. Miller <davem@davemloft.net>
20794
c0c83bc8
DM
20795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20796 file.
e6a62e18 20797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
20798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20799 file.
e6a62e18
DM
20800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20805 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20806 sysdep routines.
20807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20808
88cb87d9
DM
20809 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20810 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20811
006f1daa 20812 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
20813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20814 sparc-ifunc.h
006f1daa 20815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
20816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20817 Likewise.
20818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20819 Likewise.
006f1daa
DM
20820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
20823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20824 Likewise.
006f1daa
DM
20825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
20829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20830 Likewise.
20831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20832 Likewise.
006f1daa
DM
20833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20839 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
20847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
20848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20851 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20852 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20853 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20854 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20855 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20856 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20857
11e0098e
AS
208582012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20859
20860 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20861 scaling.
20862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20863
e85b09d0
AJ
208642012-03-15 Andreas Jaeger <aj@suse.de>
20865
20866 [BZ #13852]
20867 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20868 ieee754/flt-32 implementation for sin, cos and sincos.
20869 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20870 * sysdeps/i386/fpu/s_cosf.S: Likewise.
20871 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20872 * sysdeps/i386/fpu/s_sinf.S: Likewise.
20873 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20874 ieee754/flt-32 implementation for tan.
20875
20876 * math/libm-test.inc (cos_test): Enable some large input tests for
20877 float as well
20878 (sin_test): Likewise.
20879 (sincos_test): Likewise.
20880 (tan_test): Add tests for large input.
20881
20882 * sysdeps/i386/fpu/libm-test-ulps: Update.
20883
81c64153
AJ
208842012-03-15 Andreas Jaeger <aj@suse.de>
20885
20886 [BZ #13658]
20887 * math/libm-test.inc (cos_test): Add more test cases.
20888 (sin_test): Likewise.
20889 (sincos_test): Likewise.
20890
7bbfa5c6
AJ
208912012-03-15 Andreas Jaeger <aj@suse.de>
20892
20893 [BZ #13837]
20894 * math/libm-test.inc (cos_test): Add a test case for large input
20895 value.
20896 (sin_test): Likewise.
20897 (sincos_test): Likewise.
20898
208992012-03-15 Andreas Jaeger <aj@suse.de>,
20900 Joseph Myers <joseph@codesourcery.com>
20901
20902 [BZ #13658]
0671f479 20903 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
20904 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20905 * sysdeps/i386/fpu/branred.c: Likewise.
20906 * sysdeps/i386/fpu/dosincos.c: Likewise.
20907 * sysdeps/i386/fpu/mpa.c: Likewise.
20908 * sysdeps/i386/fpu/s_cos.S: Likewise.
20909 * sysdeps/i386/fpu/s_sin.S: Likewise.
20910 * sysdeps/i386/fpu/s_sincos.S: Likewise.
20911 * sysdeps/i386/fpu/sincos32.c: Likewise.
20912
20913 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20914 Define.
20915 (libc_feupdateenv_53bit): Define.
20916 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20917 Define.
20918 (libc_feupdateenv_53bit): Define.
20919
20920 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20921 53 bit (without extend i386 double precision).
20922
20923 * math/libm-test.inc (sincos_test): Add tests for large input.
20924 (sin): Likewise.
20925 (cos): Likewise.
20926
20927 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20928
9cad04ea
AS
209292012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20930
20931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20932
f7062b9a
DM
209332012-03-15 David S. Miller <davem@davemloft.net>
20934
20935 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20936 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20937 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20938 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
20950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20951 file.
f7062b9a 20952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
20953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20954 file.
f7062b9a 20955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
20956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20957 file.
f7062b9a 20958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
20959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20960 file.
f7062b9a
DM
20961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20962 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20963 fmin/fmax sysdep routines.
20964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20965
7bd951ff
DM
209662012-03-14 David S. Miller <davem@davemloft.net>
20967
559398ab
DM
20968 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20969 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20972 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20973 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20974 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20975 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20980 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20981 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20988 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20989 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20990 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20991 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20992 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20993 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20995 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20996 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20997 routines.
20998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20999 file.
559398ab 21000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21002 file.
559398ab 21003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21005 file.
559398ab 21006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21008 file.
559398ab 21009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21011 file.
559398ab 21012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21014 file.
21015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21016 file.
21017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21018 file.
21019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21020 file.
21021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21022 New file.
21023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21024 file.
21025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21026 file.
559398ab 21027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21029 file.
559398ab 21030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21032 file.
559398ab 21033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21035 file.
559398ab 21036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21038 VIS3 routines.
559398ab
DM
21039
21040 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21041 New file.
21042
5a1c1e32
DM
21043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21044
eae47a36
DM
21045 * sysdeps/sparc/configure.in: New file.
21046 * sysdeps/sparc/configure: Generate.
21047 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21048 * configure: Regenerate.
21049 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21050 * config.make.in (have-as-vis3): New.
21051 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21052 available use -Av9d instead of -Av9a.
21053 * sysdeps/sparc/sparc64/Makefile: Likewise.
21054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21056 New file.
21057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21058 file.
21059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21060 New file.
21061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21062 file.
eae47a36
DM
21063 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21064 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21065 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21066 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21067 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21068
c0c83bc8
DM
21069 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21070 fzeros/fnegs to load 0x80000000 into a float register instead of
21071 using the stack.
7bd951ff
DM
21072 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21073
bd951ccb
JM
210742012-03-14 Joseph Myers <joseph@codesourcery.com>
21075
21076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21077 bits/syscall.h.
21078 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21079 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21080 ($(inst_includedir)/bits/syscall.h): Remove rule.
21081 ($(objpfx)bits/syscall.d): Include instead of
21082 $(objpfx)syscall-list.d.
21083 (generated): Change syscall-list.h and syscall-list.d to
21084 bits/syscall.h and bits/syscall.d.
21085
bb4e6db2
RM
210862012-03-14 Roland McGrath <roland@hack.frob.com>
21087
21088 [BZ #13846]
21089 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21090
aa4a2ae1
JM
210912012-03-14 Joseph Myers <joseph@codesourcery.com>
21092
e456826d
JM
21093 [BZ #13841]
21094 * math/s_csqrt.c: Include <float.h>.
21095 (__csqrt): Scale large or subnormal inputs.
21096 * math/s_csqrtf.c: Likewise.
21097 * math/s_csqrtl.c: Likewise.
21098 * math/libm-test.inc (csqrt_test): Add more tests.
21099 * sysdeps/i386/fpu/libm-test-ulps: Update.
21100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21101
aa4a2ae1
JM
21102 [BZ #13840]
21103 * math/libm-test.inc (hypot_test): Add more tests.
21104
7c10fd35
DM
211052012-03-13 David S. Miller <davem@davemloft.net>
21106
21107 [BZ #13840]
21108 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21109 double-precision for the calculation instead of scaling.
21110
f453b98b
JM
211112012-03-13 Joseph Myers <joseph@codesourcery.com>
21112
21113 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21114 manipulate bits before adding and subtracting TWO52[sx].
21115 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21116 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21117 Likewise.
21118 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21119
09a3453f
DM
211202012-03-13 David S. Miller <davem@davemloft.net>
21121
8e59da90
DM
21122 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21123 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21124 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21125 rtld-global-offsets.h
21126 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21127
2a8ab7f2
DM
21128 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21129 large parameters.
21130
10f62770
DM
21131 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21132
5f0bdb18
DM
21133 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21134 'err' in the ifdef scope in which it is actually used.
21135
09a3453f
DM
21136 * nss/nss_db/db-init.c: Include string.h
21137
b4b2eb5e
DM
211382012-03-12 David S. Miller <davem@davemloft.net>
21139
98bb2f1c
DM
21140 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21141 masking out of the most significant byte of random value used.
21142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21143 Fix coding style in previous change.
21144
b4b2eb5e
DM
21145 * sysdeps/unix/sysv/linux/kernel-features.h
21146 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21147 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21148 expression.
21149 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21150 later.
21151
6e226b09
DM
211522012-03-11 David S. Miller <davem@davemloft.net>
21153
a1bcbd40
DM
21154 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21155 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21156 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21157 for 'resultvar' otherwise things get truncated on 64-bit.
21158
cb9d6174
DM
21159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21160 Fix masking out of the most significant byte of random value used.
21161
6e226b09
DM
21162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21163
058c132d
AS
211642012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21165
21166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21167
2d2cd515
DM
211682012-03-09 David S. Miller <davem@davemloft.net>
21169
21170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21171 variables with appropriate CPP guards.
21172 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21173 frame pointer, not the stack pointer. Correct layout comments. Fix test
21174 on resulting framesize and the management of the outregs buffer for pltexit.
21175 Preserve floating point return values across _dl_call_pltexit call.
21176 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21177 framesize and the management of the outregs buffer for pltexit.
21178 Preserve floating point return values across _dl_call_pltexit
21179 call.
21180 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21181 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21182 (print_exit): Fix format string for return register value.
21183
9a07f9d0
JM
211842012-03-10 Joseph Myers <joseph@codesourcery.com>
21185
21186 * sunrpc/Makefile (others): Add rpcgen.
21187 ($(objpfx)rpcgen): Remove special build rule and dependency on
21188 libc.
21189 * sunrpc/rpcgen.c: New file.
21190
547b5e30
PE
211912012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21192
c524201a
PE
21193 [BZ #13673]
21194 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21195 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21196 * sysdeps/i386/crti.S: Likewise.
21197 * sysdeps/i386/crtn.S: Likewise.
21198 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21199 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21200 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21201 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21202 * sysdeps/sh/crti.S: Likewise.
21203 * sysdeps/sh/crtn.S: Likewise.
21204 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21205
7b6235f2
PE
21206 [BZ #13673]
21207 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21208 with URL.
21209 * locale/programs/locfile-kw.gperf: Likewise.
21210 * locale/programs/charmap-kw.h: Regenerated.
21211 * locale/programs/locfile-kw.h: Likewise.
21212
547b5e30
PE
21213 [BZ #13673]
21214 * intl/plural.y: Replace FSF snail mail address with URL.
21215 * intl/plural.c: Regenerated.
21216
5f0a5dae
RH
212172012-03-09 Richard Henderson <rth@twiddle.net>
21218
21219 * include/math_private.h: Remove file.
21220 * math/math_private.h: Move file ...
21221 * sysdeps/generic/math_private.h: ... here.
21222
b8c03620
RH
21223 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21224 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21225 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21226
4e234f5d 21227 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
21228 and <math_private.h>.
21229 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21230 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21231 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21232 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21233 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21234 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21235 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21236 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21237 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21238 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21239 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21240 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21241 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21242 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21243 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21244 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21245 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21246 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21247 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21248 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21249 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21250 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21251 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21252 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21253 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21254 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21255 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21256 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21257 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21258 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21259 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21260 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21261 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21262 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21263 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21264 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21265 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21266 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21267 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21268 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21269 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21270 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21271 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21272 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21273 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21274 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21275 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21276 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21277 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21278 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21279 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21280 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21281 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21282 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21283 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21284 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21285 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21286 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21287 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21288 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21289 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21290 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21291 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21292 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21293 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21294 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21295 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21296 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21297 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21298 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21299 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21300 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21301 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21302 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21303 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21304 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21305 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21306 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21307 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21308 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21309 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21310 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21311 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21312 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21313 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21314 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21315 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21316 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21317 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21318 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21319 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21320 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21321 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21322 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21323 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21324 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21325 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21326 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21327 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21328 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21329 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21330 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21331 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21332 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21333 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21334 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21335 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21336 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21337 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21338 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21339 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21340 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21341 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21342 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21343 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21344 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21345 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21346 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21347 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21348 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21349 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21350 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21351 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21352 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21353 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21354 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21355 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21356 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21357 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21358 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21359 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21360 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21361 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21362 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21363 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21364 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21365 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21366 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21367 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21368 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21369 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21370 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21371 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21372 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21373 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21374 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21375 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21376 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21377 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21378 * sysdeps/ieee754/k_standard.c: Likewise.
21379 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21380 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21381 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21382 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21383 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21384 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21385 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21386 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21387 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21388 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21389 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21390 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21391 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21392 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21393 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21394 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21395 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21396 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21397 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21398 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21399 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21400 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21401 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21402 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21403 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21404 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21405 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21406 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21407 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21408 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21409 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21410 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21411 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21412 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21413 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21414 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21415 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21416 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21417 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21418 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21419 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21420 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21421 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21422 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21423 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21424 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21425 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21426 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21427 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21428 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21429 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21430 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21431 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21432 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21433 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21434 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21435 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21436 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21437 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21438 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21439 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21440 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21441 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21442 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21443 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21444 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21445 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21446 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21447 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21448 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21449 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21450 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21451 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21452 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21453 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21454 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21455 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21456 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21457 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21458 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21459 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21460 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21461 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21462 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21463 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21464 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21465 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21466 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21467 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21468 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21469 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21470 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21471 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21472 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21473 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21474 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21475 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21476 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21477 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21478 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21479 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21480 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21481 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21482 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21483 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21484 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21485 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21486 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21487 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21488 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21489 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21490 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21491 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21492 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21493 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21494 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21495 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21496 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21497 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21498 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21499 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21500 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21501 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21502 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21503 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21504 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21505 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21506 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21507 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21508 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21509 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21510 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21511 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21512 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21513 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21514 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21515 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21516 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21517 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21518 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21519 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21520 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21521 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21522 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21523 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21524 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21525 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21526 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21527 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21528 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21529 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21530 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21531 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21532 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21533 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21534 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21535 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21536 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21537 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21538 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21539 * sysdeps/ieee754/s_lib_version.c: Likewise.
21540 * sysdeps/ieee754/s_matherr.c: Likewise.
21541 * sysdeps/ieee754/s_signgam.c: Likewise.
21542 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21543 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21544 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21545 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21546 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21547 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21548 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21549 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21550 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21551 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21552 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21553 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21554 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21555 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21556 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21557 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21558 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21559 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21560 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21561 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21562 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 21563
1991fa03
JM
215642012-03-09 Joseph Myers <joseph@codesourcery.com>
21565
21566 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21567 * sunrpc/rpc_main.c: Likewise.
21568 * sunrpc/rpc_svcout.c: Likewise.
21569
60d6f5a6
DM
215702012-03-09 David S. Miller <davem@davemloft.net>
21571
21572 * include/math_private.h: New file.
21573
4962050e
JM
215742012-03-09 Joseph Myers <joseph@codesourcery.com>
21575
02a6f887
JM
21576 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21577 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21578 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21579 from <bits/socket_type.h>.
21580 (enum __socket_type): Don't define here.
21581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21583 bits/socket_type.h.
21584
c6e013c1
JM
21585 [BZ #13566]
21586 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21587 checking __USE_GNU.
21588
4962050e
JM
21589 * Makerules ($(inst_includedir)/%.h): New rule.
21590 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21591 (install-others): Remove variable setting.
21592 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21593
38842f45
RH
215942012-03-08 Richard Henderson <rth@twiddle.net>
21595
67bb6da6
RH
21596 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21597 from macro to inline function; merge with the
21598 !__LIBC_INTERNAL_MATH_INLINES version.
21599 (__ieee754_sqrtf): Likewise.
21600
15194b4b
RH
21601 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21602 to inline function.
21603 (__rintf, __floor, __floorf): Likewise.
21604
64e21ede
RH
21605 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21606 macro to inline function.
21607 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21608
38842f45
RH
21609 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21610 not <math/math_private.h>.
21611
c64bf5fe
DM
216122012-03-08 David S. Miller <davem@davemloft.net>
21613
21614 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21615 copyright year.
21616 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21617
82d86f28
TS
216182012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21619
21620 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21621 normalization.
21622 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21623 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21624
aea5d727
UD
216252012-03-08 Ulrich Drepper <drepper@gmail.com>
21626
21627 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21628 be defined individually, they must be defined as a block. Define
21629 S for printing a string instead of hidint the different by using a
21630 macro for adding the 'l'.
21631 * stdio-common/tst-fphex-wide.c: Adjust.
21632
70bca0a3
MP
216332012-03-07 Marek Polacek <polacek@redhat.com>
21634
21635 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21636
65b81130
MP
216372012-03-08 Marek Polacek <polacek@redhat.com>
21638
21639 [BZ #13806]
21640 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21641 * stdio-common/tst-fphex.c: Define a few macros to make the
21642 test reusable. Use them.
21643 * stdio-common/tst-fphex-wide.c: New file.
21644
07037eeb
JM
216452012-03-08 Joseph Myers <joseph@codesourcery.com>
21646
a7a93d50
JM
21647 [BZ #6911]
21648 * manual/macros.texi (gnusystems): New macro.
21649 (nongnusystems): Likewise.
21650 (gnulinuxhurdsystems): Likewise.
21651 (gnuhurdsystems): Likewise..
21652 (gnulinuxsystems): Likewise.
21653 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21654 variants of the GNU system, not "GNU system".
21655 * manual/conf.texi: Likewise.
21656 * manual/errno.texi: Likewise. Update example of errno macro
21657 expansion.
21658 * manual/filesys.texi: Likewise.
21659 (getumask): Document as specific to GNU/Hurd.
21660 * manual/install.texi: Likewise. Reword some references to
21661 GNU/Linux.
21662 * manual/intro.texi: Likewise.
21663 * manual/io.texi: Likewise.
21664 (File Name Portability): Detail which constraints are inapplicable
21665 to all GNU systems and which are only inapplicable to GNU/Hurd.
21666 * manual/job.texi: Likewise.
21667 * manual/llio.texi: Likewise.
21668 (O_NOCTTY): Document as present on GNU/Linux.
21669 * manual/maint.texi: Likewise.
21670 * manual/memory.texi: Likewise.
21671 * manual/pattern.texi: Likewise.
21672 * manual/pipe.texi: Likewise.
21673 * manual/process.texi: Likewise.
21674 * manual/resource.texi: Likewise.
21675 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21676 child on GNU/Hurd.
21677 * manual/setjmp.texi: Likewise.
21678 * manual/signal.texi: Likewise.
21679 * manual/startup.texi: Likewise.
21680 * manual/stdio.texi: Likewise.
21681 * manual/terminal.texi: Likewise.
21682 (ONLCR): Document as POSIX.
21683 (OXTABS): Document availability on GNU/Linux as XTABS.
21684 (ONOEOT): Document availability separately from other bits.
21685 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21686 * manual/time.texi: Likewise.
21687 * manual/users.texi: Likewise.
21688 * INSTALL: Regenerated.
21689 * sysdeps/gnu/errlist.c: Regenerated.
21690
07037eeb
JM
21691 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21692 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21693 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21694 puts.
21695 * configure: Regenerated.
21696
d1d3431a
JM
216972012-03-07 Joseph Myers <joseph@codesourcery.com>
21698
af6a1e37
JM
21699 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21700 default includes instead of AC_HEADER_CHECK.
21701 * sysdeps/i386/configure: Regenerated.
21702
d1d3431a
JM
21703 [BZ #10716]
21704 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21705 * math/s_cacoshf.c (__cacoshf): Likewise.
21706 * math/s_cacoshl.c (__cacoshl): Likewise.
21707 * math/s_casinh.c (__casinh): Set signs of result from argument.
21708 * math/s_casinhf.c (__casinhf): Likewise.
21709 * math/s_casinhl.c (__casinhl): Likewise.
21710 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21711 (casinh_test): Add more tests.
21712 * sysdeps/i386/fpu/libm-test-ulps: Update.
21713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21714
482ff4da
UD
217152012-03-07 Ulrich Drepper <drepper@gmail.com>
21716
872fda05
UD
21717 * po/zh_TW.po: Update from translation team.
21718
a4300c7a
UD
21719 * login/Makefile (distribute): Remove variable.
21720 * catgets/Makefile: Likewise.
21721 * mach/Makefile: Likewise.
21722 * malloc/Makefile: Likewise.
21723 * misc/Makefile: Likewise.
21724 * iconv/Makefile: Likewise.
21725 * nscd/Makefile: Likewise.
21726 * hurd/Makefile: Likewise.
21727 * manual/Makefile: Likewise.
21728 * locale/Makefile: Likewise.
21729 * intl/Makefile: Likewise.
21730 * conform/Makefile: Likewise.
21731 * nss/Makefile: Likewise.
21732 * time/Makefile: Likewise.
21733 * soft-fp/Makefile: Likewise.
21734 * dirent/Makefile: Likewise.
21735 * gmon/Makefile: Likewise.
21736 * po/Makefile: Likewise.
21737 * rt/Makefile: Likewise.
21738 * socket/Makefile: Likewise.
21739 * math/Makefile: Likewise.
21740 * signal/Makefile: Likewise.
21741 * debug/Makefile: Likewise.
21742 * elf/Makefile: Likewise.
21743 * timezone/Makefile: Likewise.
21744 * stdlib/Makefile: Likewise.
21745 * iconvdata/Makefile: Likewise.
21746 * sunrpc/Makefile: Likewise.
21747 * io/Makefile: Likewise.
21748 * argp/Makefile: Likewise.
21749 * inet/Makefile: Likewise.
21750 * hesiod/Makefile: Likewise.
21751 * grp/Makefile: Likewise.
21752 * csu/Makefile: Likewise.
21753 * wctype/Makefile: Likewise.
21754 * crypt/Makefile: Likewise.
21755 * libio/Makefile: Likewise.
21756 * string/Makefile: Likewise.
21757 * nis/Makefile: Likewise.
21758 * resolv/Makefile: Likewise.
21759 * stdio-common/Makefile: Likewise.
21760 * wcsmbs/Makefile: Likewise.
21761 * dlfcn/Makefile: Likewise.
21762 * posix/Makefile: Likewise.
21763
3b7c4e74 21764 [BZ #6959]
482ff4da
UD
21765 * timezone/Makefile: Don't install timezone files, just the programs
21766 and scripts.
21767
f72ed77d
UD
217682012-03-06 Ulrich Drepper <drepper@gmail.com>
21769
a000466f
UD
21770 * nss/databases.def: Add missing gshadow entry.
21771
f72ed77d
UD
21772 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21773
a53b7a4e
MP
217742012-03-06 Marek Polacek <polacek@redhat.com>
21775
21776 [BZ #13726]
21777 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21778 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21779 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21780 * stdio-common/tst-long-dbl-fphex.c: New file.
21781
e9258400
DM
217822012-03-06 David S. Miller <davem@davemloft.net>
21783
21784 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21785 (set_obp_int): New function.
21786 (get_obp_int): New function.
21787 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
21788 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21789 Avoid unused variable warnings on 'val' and use builtin_expect.
21790 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21791 __builtin_expect.
e9258400
DM
21792 (INLINE_CLONE_SYSCALL): Likewise.
21793
3bd2c723
DM
217942012-03-05 David S. Miller <davem@davemloft.net>
21795
21796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21797
bbb78d03
AS
217982012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21799
884c5db4
AS
21800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21801
bbb78d03
AS
21802 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21803 only for |x| >= 40.
21804 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21805
1c9f702a 218062012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
21807
21808 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21809 Replace gettimeofday with __vdso_gettimeofday.
21810
7be16f82
RM
21811 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21812 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21813 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
21814
21815 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21816 time with __vdso_time.
21817
ed58a00f
JM
218182012-03-05 Joseph Myers <joseph@codesourcery.com>
21819
21820 * manual/lang.texi (size_t): Note types to which size_t may be
21821 equivalent with the GNU C Library, but do not describe when
21822 differences between them are significant.
21823
30ee4ced
AJ
218242012-03-05 Andreas Jaeger <aj@suse.de>
21825
21826 * sysdeps/i386/fpu/libm-test-ulps: Update.
21827
b7cd39e8
JM
218282012-03-05 Joseph Myers <joseph@codesourcery.com>
21829
21830 [BZ #3976]
21831 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21832 (__ieee754_pow): Save and restore rounding mode and use
21833 round-to-nearest for main computations.
21834 * math/libm-test.inc (pow_test_tonearest): New function.
21835 (pow_test_towardzero): Likewise.
21836 (pow_test_downward): Likewise.
21837 (pow_test_upward): Likewise.
21838 (main): Call the new functions.
21839 * sysdeps/i386/fpu/libm-test-ulps: Update.
21840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
21841
21842 [BZ #3976]
21843 * math/libm-test.inc (cosh_test_tonearest): New function.
21844 (cosh_test_towardzero): Likewise.
21845 (cosh_test_downward): Likewise.
21846 (cosh_test_upward): Likewise.
21847 (sinh_test_tonearest): Likewise.
21848 (sinh_test_towardzero): Likewise.
21849 (sinh_test_downward): Likewise.
21850 (sinh_test_upward): Likewise.
21851 (main): Call the new functions.
21852 * sysdeps/i386/fpu/libm-test-ulps: Update.
21853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21854
6c6a98c9
TV
218552012-03-05 Tom de Vries <tom@codesourcery.com>
21856
21857 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21858 default stack guard is set in last bytes.
21859 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21860
21bb2d2e 218612012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 21862
21bb2d2e 21863 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 21864
21bb2d2e
AJ
21865 [BZ #13656]
21866 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21867 possibly allocate from heap instead of stack.
21868 * stdio-common/bug-vfprintf-nargs.c: New file.
21869 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 21870
c6922934
AS
218712012-03-03 Andreas Schwab <schwab@linux-m68k.org>
21872
21873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21874
bc957d53
MP
218752012-03-03 Marek Polacek <polacek@redhat.com>
21876
21877 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21878 * math/math_private.h: Likewise.
21879 * stdlib/tst-strtod.c: Likewise.
21880 * sysdeps/i386/i486/bits/atomic.h: Likewise.
21881 * sysdeps/x86_64/bits/atomic.h: Likewise.
21882
6358490d
DM
218832012-03-02 David S. Miller <davem@davemloft.net>
21884
21885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21889 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21890 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21891 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21892 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21893
01ae168d
RM
218942012-03-02 Roland McGrath <roland@hack.frob.com>
21895
d9a17c07
RM
21896 [BZ #13792]
21897 * manual/examples/README: New file, says the example source files
21898 can be used under GPL>=2.
21899 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21900 line containing just "*/".
21901 * manual/examples/add.c: Add copyright header (GPL>=2).
21902 * manual/examples/argp-ex1.c: Likewise.
21903 * manual/examples/argp-ex2.c: Likewise.
21904 * manual/examples/argp-ex3.c: Likewise.
21905 * manual/examples/argp-ex4.c: Likewise.
21906 * manual/examples/atexit.c: Likewise.
21907 * manual/examples/db.c: Likewise.
21908 * manual/examples/dir.c: Likewise.
21909 * manual/examples/dir2.c: Likewise.
21910 * manual/examples/execinfo.c: Likewise.
21911 * manual/examples/filecli.c: Likewise.
21912 * manual/examples/filesrv.c: Likewise.
21913 * manual/examples/fmtmsgexpl.c: Likewise.
21914 * manual/examples/genpass.c: Likewise.
21915 * manual/examples/inetcli.c: Likewise.
21916 * manual/examples/inetsrv.c: Likewise.
21917 * manual/examples/isockad.c: Likewise.
21918 * manual/examples/longopt.c: Likewise.
21919 * manual/examples/memopen.c: Likewise.
21920 * manual/examples/memstrm.c: Likewise.
21921 * manual/examples/mkfsock.c: Likewise.
21922 * manual/examples/mkisock.c: Likewise.
21923 * manual/examples/mygetpass.c: Likewise.
21924 * manual/examples/pipe.c: Likewise.
21925 * manual/examples/popen.c: Likewise.
21926 * manual/examples/rprintf.c: Likewise.
21927 * manual/examples/search.c: Likewise.
21928 * manual/examples/select.c: Likewise.
21929 * manual/examples/setjmp.c: Likewise.
21930 * manual/examples/sigh1.c: Likewise.
21931 * manual/examples/sigusr.c: Likewise.
21932 * manual/examples/stpcpy.c: Likewise.
21933 * manual/examples/strdupa.c: Likewise.
21934 * manual/examples/strftim.c: Likewise.
21935 * manual/examples/strncat.c: Likewise.
21936 * manual/examples/subopt.c: Likewise.
21937 * manual/examples/swapcontext.c: Likewise.
21938 * manual/examples/termios.c: Likewise.
21939 * manual/examples/testopt.c: Likewise.
21940 * manual/examples/testpass.c: Likewise.
21941 * manual/examples/timeval_subtract.c: Likewise.
21942
01ae168d
RM
21943 [BZ #13792]
21944 * manual/time.texi (Elapsed Time): Move timeval_subtract example
21945 function to ...
21946 * manual/timeval_subtract.c.texi: ... here, new file.
21947
49efa33d
DM
219482012-03-02 David S. Miller <davem@davemloft.net>
21949
21950 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21951
28afd92d
JM
219522012-03-02 Joseph Myers <joseph@codesourcery.com>
21953
804360ed
JM
21954 [BZ #3976]
21955 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21956 (__sin): Save and restore rounding mode and use round-to-nearest
21957 for all computations.
21958 (__cos): Save and restore rounding mode and use round-to-nearest
21959 for all computations.
21960 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21961 <fenv.h>.
21962 (tan): Save and restore rounding mode and use round-to-nearest for
21963 all computations.
21964 * math/libm-test.inc (cos_test_tonearest): New function.
21965 (cos_test_towardzero): Likewise.
21966 (cos_test_downward): Likewise.
21967 (cos_test_upward): Likewise.
21968 (sin_test_tonearest): Likewise.
21969 (sin_test_towardzero): Likewise.
21970 (sin_test_downward): Likewise.
21971 (sin_test_upward): Likewise.
21972 (tan_test_tonearest): Likewise.
21973 (tan_test_towardzero): Likewise.
21974 (tan_test_downward): Likewise.
21975 (tan_test_upward): Likewise.
21976 (main): Call the new functions.
21977 * sysdeps/i386/fpu/libm-test-ulps: Update.
21978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21979
a6d06d7b
JM
21980 [BZ #10135]
21981 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21982 small n, then large n, before computing and testing k+n.
21983 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21984 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21985 Likewise.
21986 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21987 Likewise.
21988 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21989 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21990 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21991 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21992 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21993 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21994 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21995 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21996 * math/libm-test.inc (scalbn_test): Add more tests.
21997 (scalbln_test): Likewise.
21998
07e12bb3
JM
21999 * manual/filesys.texi (mode_t): Describe constraints on size and
22000 signedness, not exact equivalence to a particular type.
22001 (ino_t): Likewise.
22002 (ino64_t): Likewise.
22003 (dev_t): Likewise.
22004 (nlink_t): Likewise.
22005 (blkcnt_t): Likewise.
22006 (blkcnt64_t): Likewise.
22007 * manual/llio.texi (off_t): Likewise.
22008
28afd92d
JM
22009 [BZ #3976]
22010 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22011 (__ieee754_exp): Save and restore rounding mode and use
22012 round-to-nearest for all computations.
22013 * math/libm-test.inc (exp_test_tonearest): New function.
22014 (exp_test_towardzero): Likewise.
22015 (exp_test_downward): Likewise.
22016 (exp_test_upward): Likewise.
22017 (main): Call the new functions.
22018 * sysdeps/i386/fpu/libm-test-ulps: Update.
22019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22020
b1eeb65d
CD
220212012-03-01 Chris Demetriou <cgd@google.com>
22022
22023 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22024 have predictable order.
22025
53362a4b
DM
220262012-03-01 David S. Miller <davem@davemloft.net>
22027
3c969083
DM
22028 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22029
759707de
DM
22030 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22031 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22032 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22033 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22034
dfdb8ff2
DM
22035 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22036 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22037 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22039 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22040 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22041 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22042 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22043 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22044
ead89f96
DM
22045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22046
7f66bd07
DM
22047 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22048 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22049 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22050
53362a4b
DM
22051 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22052 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22053 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22054 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22055 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22056 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22057 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22058 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22059 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22060 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22061 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22062 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22063 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22064 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22065 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22067 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22068 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22069 * sysdeps/sparc/elf/configure: Regenerated.
22070
7b1902cb
JM
220712012-03-01 Joseph Myers <joseph@codesourcery.com>
22072
bec039bc
JM
22073 * configure.in (AS, LD): Require binutils 2.20 or later.
22074 * configure: Regenerated.
22075 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22076 as required minimum version.
22077 * INSTALL: Regenerated.
22078
7b1902cb
JM
22079 [BZ #2541]
22080 [BZ #4108]
22081 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22082 before squaring exponent.
22083 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22084 bottom long double and 27 bits of top long double before squaring
22085 exponent.
22086 * math/libm-test.inc (erfc_test): Add more tests.
22087 * sysdeps/i386/fpu/libm-test-ulps: Update.
22088 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22090
f775c276
KT
220912012-03-01 Kai Tietz <ktietz@redhat.com>
22092
22093 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22094 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22095 containing bit-fields.
22096 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22097 * soft-fp/single.h (_FP_UNION_S): Likewise.
22098 * soft-fp/double.h (_FP_UNION_D): Likewise.
22099
5b8a4d4a
JM
221002012-02-29 Joseph Myers <joseph@codesourcery.com>
22101
0bab47b6
JM
22102 [BZ #13786]
22103 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22104 not include ../strcmp.S.
22105 [USE_AS_STRNCASECMP_L]: Likewise.
22106 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22107 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22108 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22109 (__strncasecmp_l_ia32): Define as alias to
22110 __strncasecmp_l_nonascii.
22111
0fcad3e2
JM
22112 [BZ #5794]
22113 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22114 * sysdeps/i386/fpu/libm-test-ulps: Update.
22115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22116
5b8a4d4a
JM
22117 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22119
8fdceb2e
JL
221202012-02-29 Jeff Law <law@redhat.com>
22121
22122 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22123 out of bounds read.
22124
1f393a11
MP
221252012-02-29 Marek Polacek <polacek@redhat.com>
22126
22127 [BZ #13706]
22128 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22129 * elf/Makefile: Add rules to run tst-unused-dep.out.
22130
8847f037
DM
221312012-02-28 David S. Miller <davem@davemloft.net>
22132
22133 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22134 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22135 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22136 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22137 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22138 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22139
169d7f11
JM
221402012-02-29 Joseph Myers <joseph@codesourcery.com>
22141
22142 * math/libm-test.inc (llround_test): Move one test from
22143 lround_test. Use TEST_f_L in moved test.
22144 (lround_test): Move misplaced test to llround_test. Add testcase
22145 from bug 2561.
22146
39adf059
UD
221472012-02-28 Ulrich Drepper <drepper@gmail.com>
22148
22149 * sysdeps/x86_64/fpu/e_expf.S: New file.
22150 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22151
71b5d1c5
SB
221522012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22153
22154 [BZ #13637]
22155 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22156 of remain_len that may cause incomplete multi-byte character and
22157 false match.
22158 * posix/bug-regex33.c: New file.
22159 * posix/Makefile (tests): Add bug-regex33.
22160
1f77f049
JM
221612012-02-28 Joseph Myers <joseph@codesourcery.com>
22162
22163 * manual/macros.texi: New file.
22164 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22165 * manual/libc.texinfo: Include macros.texi.
22166 * manual/creatute.texi: Likewise.
22167 * manual/install.texi: Likewise.
22168 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22169 @glibcadj{} in references to the GNU C Library.
22170 * manual/charset.texi: Likewise.
22171 * manual/conf.texi: Likewise.
22172 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22173 when not using those macros.
22174 * manual/creature.texi: Likewise.
22175 * manual/crypt.texi: Likewise.
22176 * manual/errno.texi: Likewise.
22177 * manual/filesys.texi: Likewise.
22178 * manual/header.texi: Likewise.
22179 * manual/install.texi: Likewise.
22180 * manual/intro.texi: Likewise.
22181 * manual/io.texi: Likewise.
22182 * manual/job.texi: Likewise.
22183 * manual/lang.texi: Likewise.
22184 * manual/libc.texiinfo: Likewise.
22185 * manual/llio.texi: Likewise.
22186 * manual/locale.texi: Likewise.
22187 * manual/maint.texi: Likewise.
22188 * manual/math.texi: Likewise.
22189 * manual/memory.texi: Likewise.
22190 * manual/message.texi: Likewise.
22191 * manual/nss.texi: Likewise.
22192 * manual/pattern.texi: Likewise.
22193 * manual/process.texi: Likewise.
22194 * manual/resource.texi: Likewise.
22195 * manual/search.texi: Likewise.
22196 * manual/setjmp.texi: Likewise.
22197 * manual/signal.texi: Likewise.
22198 * manual/socket.texi: Likewise.
22199 * manual/startup.texi: Likewise.
22200 * manual/stdio.texi: Likewise.
22201 * manual/string.texi: Likewise.
22202 * manual/sysinfo.texi: Likewise.
22203 * manual/syslog.texi: Likewise.
22204 * manual/terminal.texi: Likewise.
22205 * manual/time.texi: Likewise.
22206 * manual/users.texi: Likewise.
22207 * INSTALL: Regenerated.
22208 * NOTES: Regenerated.
d40c5d54 22209 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22210
450bf206
AS
222112012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22212
22213 * include/dirent.h: Include <dirstream.h> before
22214 <dirent/dirent.h>.
22215
741a235b
DM
222162012-02-28 David S. Miller <davem@davemloft.net>
22217
22218 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22219 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22220 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22221 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22222
d6b5aa58
DM
222232012-02-27 David S. Miller <davem@davemloft.net>
22224
1aff59a3
DM
22225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22227 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22228 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22229
d6b5aa58
DM
22230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22231 frame pointer instead of stack pointer relative arg slot.
22232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22233 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22234 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22235
433f48bf
CD
222362012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22237
22238 [BZ #3992]
22239 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22240
d674b76d
DM
222412012-02-27 David S. Miller <davem@davemloft.net>
22242
22243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22247 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22248 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22249 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22250 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22251
0e7727f7
JM
222522012-02-27 Joseph Myers <joseph@codesourcery.com>
22253
22254 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22255 later. Allow versions 5-9.
43be4ca2 22256 * configure: Regenerated.
0e7727f7
JM
22257 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22258 required minimum version and 4.6 as recommended version. Do not
22259 mention bugs in GCC 2.7 and 2.8.
43be4ca2 22260 * INSTALL: Regenerated.
0e7727f7 22261
a78bc654
DM
222622012-02-27 David S. Miller <davem@davemloft.net>
22263
428d5830
DM
22264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22268 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22269 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22270 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22271 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22272
a78bc654
DM
22273 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22274 manipulate bits before adding and subtracting TWO112[sx].
22275 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22276
4579f81c
RM
222772012-02-27 Roland McGrath <roland@hack.frob.com>
22278
36c8acb4
RM
22279 [BZ #13775]
22280 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22281 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22282 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22283 being in POSIX, because they are in 1003.1-2008.
22284
84ad622b
RM
22285 * rt/tst-aio.c: Include <fcntl.h>.
22286 * rt/tst-aio7.c: Likewise.
22287 * rt/tst-aio64.c: Likewise.
22288
4579f81c
RM
22289 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22290
abd923db
JM
222912012-02-27 Joseph Myers <joseph@codesourcery.com>
22292
22293 * manual/install.texi (--with-headers): Describe headers as
22294 interface headers, not private headers.
22295 (Specific advice for GNU/Linux systems): Describe use of headers
22296 from "make headers_install", not private headers from older
22297 kernels.
43be4ca2 22298 * INSTALL: Regenerated.
abd923db
JM
22299 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22300 Change to 2.6.19.
22301 * sysdeps/unix/sysv/linux/configure: Regenerated.
22302
6664049b
JM
22303 * manual/llio.texi (fclean): Remove documentation.
22304
bb8b6697
JM
22305 * manual/Makefile (libc-texi-generated): New variable. Include
22306 version.texi.
22307 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22308 $(libc-texi-generated), not duplicated list of files.
22309 (version.texi, stamp-version): New rules.
22310 (realclean): Remove $(libc-texi-generated), not individual files
22311 from that list. Do not remove dir-add.texinfo.
22312 * manual/libc.texinfo: Comment out uses of edition numbers and
22313 references to printed manual. Remove last-updated dates.
22314 (EDITION): Comment out.
22315 (ISBN): Likewise.
22316 (VERSION, UPDATED): Remove.
22317 (version.texi): Include.
22318
12e5c3b9
AS
223192012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22320
22321 * sysdeps/posix/spawni.c: Include <signal.h>.
22322 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22323 * sysdeps/pthread/aio_fsync.c: Likewise.
22324
4efeffc1 223252012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 22326
ba63ba08
UD
22327 * conform/Makefile (tests): Run only when not cross-compiling and
22328 when fast-check is not defined.
22329
d94a4670
UD
22330 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22331 * conform/data/limits.h-data: Fixes for POSIX2008.
22332 * conform/run-conformtest.sh: Run all tests.
22333 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22334 headers.
22335 * include/bits/dlfcn.h: Likewise.
22336 * include/langinfo.h: Likewise.
22337 * include/monetary.h: Likewise.
22338 * include/sys/poll.h: Likewise.
22339
22340 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22341 for __USE_GNU.
22342 * posix/spawn.h: Define __need_sigset_t.
22343 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22344 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22345 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22346 to get sigevent_t only.
22347 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22348 only for __USE_GNU.
22349 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22350 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22351 process_vm_writev only for __USE_GNU.
22352 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
22353
22354 * conform/Makefile: For now ignore errors from run-conformtest.
22355 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22356 POSIX to avoid namespace pollution. Don't prepend headers.
22357 * conform/data/aio.h-data: Fixes for POSIX testing.
22358 * conform/data/fcntl.h-data: Likewise.
22359 * conform/data/glob.h-data: Likewise.
22360 * conform/data/grp.h-data: Likewise.
22361 * conform/data/pthread.h-data: Likewise.
22362 * conform/data/pwd.h-data: Likewise.
22363 * conform/data/signal.h-data: Likewise.
22364 * conform/data/spawn.h-data: Likewise.
22365 * conform/data/stdio.h-data: Likewise.
22366 * conform/data/stdlib.h-data: Likewise.
22367 * conform/data/stropts.h-data: Likewise.
22368 * conform/data/sys/mman.h-data: Likewise.
22369 * conform/data/sys/stat.h-data: Likewise.
22370 * conform/data/sys/types.h-data: Likewise.
22371 * conform/data/sys/wait.h-data: Likewise.
22372 * conform/data/time.h-data: Likewise.
22373 * conform/data/unistd.h-data: Likewise.
22374 * conform/data/utime.h-data: Likewise.
22375
22376 * io/sys/stat.h: fchmod was always in POSIX.
22377 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22378 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22379 * rt/aio.h: Define __need_timespec before including <time.h>.
22380 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22381 struct. Add forward declaration of pthread_attr_t and use it in
22382 sigevent.
22383 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22384 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22385 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22386 always remove CLK_TCK definition.
22387
c20105c3
AS
223882012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22389
22390 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22391
7a270350
UD
223922012-02-25 Ulrich Drepper <drepper@gmail.com>
22393
31341567
UD
22394 * conform/run-conformtest.sh: New file.
22395 * conform/Makefile: Run run-conformtest for tests.
22396 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22397 support.
22398
22399 * conform/data/uchar.h-data: New file.
22400 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22401 * conform/data/arpa/inet.h-data: Likewise.
22402 * conform/data/assert.h-data: Likewise.
22403 * conform/data/complex.h-data: Likewise.
22404 * conform/data/cpio.h-data: Likewise.
22405 * conform/data/ctype.h-data: Likewise.
22406 * conform/data/dirent.h-data: Likewise.
22407 * conform/data/dlfcn.h-data: Likewise.
22408 * conform/data/errno.h-data: Likewise.
22409 * conform/data/fcntl.h-data: Likewise.
22410 * conform/data/float.h-data: Likewise.
22411 * conform/data/fmtmsg.h-data: Likewise.
22412 * conform/data/fnmatch.h-data: Likewise.
22413 * conform/data/ftw.h-data: Likewise.
22414 * conform/data/glob.h-data: Likewise.
22415 * conform/data/grp.h-data: Likewise.
22416 * conform/data/iconv.h-data: Likewise.
22417 * conform/data/inttypes.h-data: Likewise.
22418 * conform/data/langinfo.h-data: Likewise.
22419 * conform/data/libgen.h-data: Likewise.
22420 * conform/data/limits.h-data: Likewise.
22421 * conform/data/locale.h-data: Likewise.
22422 * conform/data/math.h-data: Likewise.
22423 * conform/data/monetary.h-data: Likewise.
22424 * conform/data/mqueue.h-data: Likewise.
22425 * conform/data/ndbm.h-data: Likewise.
22426 * conform/data/net/if.h-data: Likewise.
22427 * conform/data/netdb.h-data: Likewise.
22428 * conform/data/netinet/in.h-data: Likewise.
22429 * conform/data/nl_types.h-data: Likewise.
22430 * conform/data/poll.h-data: Likewise.
22431 * conform/data/pthread.h-data: Likewise.
22432 * conform/data/pwd.h-data: Likewise.
22433 * conform/data/regex.h-data: Likewise.
22434 * conform/data/sched.h-data: Likewise.
22435 * conform/data/search.h-data: Likewise.
22436 * conform/data/semaphore.h-data: Likewise.
22437 * conform/data/setjmp.h-data: Likewise.
22438 * conform/data/signal.h-data: Likewise.
22439 * conform/data/spawn.h-data: Likewise.
22440 * conform/data/stdarg.h-data: Likewise.
22441 * conform/data/stdio.h-data: Likewise.
22442 * conform/data/stdlib.h-data: Likewise.
22443 * conform/data/string.h-data: Likewise.
22444 * conform/data/strings.h-data: Likewise.
22445 * conform/data/stropts.h-data: Likewise.
22446 * conform/data/sys/ipc.h-data: Likewise.
22447 * conform/data/sys/mman.h-data: Likewise.
22448 * conform/data/sys/msg.h-data: Likewise.
22449 * conform/data/sys/resource.h-data: Likewise.
22450 * conform/data/sys/select.h-data: Likewise.
22451 * conform/data/sys/sem.h-data: Likewise.
22452 * conform/data/sys/shm.h-data: Likewise.
22453 * conform/data/sys/socket.h-data: Likewise.
22454 * conform/data/sys/stat.h-data: Likewise.
22455 * conform/data/sys/statvfs.h-data: Likewise.
22456 * conform/data/sys/time.h-data: Likewise.
22457 * conform/data/sys/timeb.h-data: Likewise.
22458 * conform/data/sys/times.h-data: Likewise.
22459 * conform/data/sys/types.h-data: Likewise.
22460 * conform/data/sys/uio.h-data: Likewise.
22461 * conform/data/sys/un.h-data: Likewise.
22462 * conform/data/sys/utsname.h-data: Likewise.
22463 * conform/data/sys/wait.h-data: Likewise.
22464 * conform/data/syslog.h-data: Likewise.
22465 * conform/data/tar.h-data: Likewise.
22466 * conform/data/termios.h-data: Likewise.
22467 * conform/data/utime.h-data: Likewise.
22468 * conform/data/utmpx.h-data: Likewise.
22469 * conform/data/varargs.h-data: Likewise.
22470 * conform/data/wchar.h-data: Likewise.
22471 * conform/data/wctype.h-data: Likewise.
22472 * conform/data/wordexp.h-data: Likewise.
22473
22474 * include/stropts.h: New file.
22475 * include/uchar.h: New file.
22476 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22477 * include/assert.h: Likewise.
22478 * include/ctype.h: Likewise.
22479 * include/dirent.h: Likewise.
22480 * include/dlfcn.h: Likewise.
22481 * include/fcntl.h: Likewise.
22482 * include/fnmatch.h: Likewise.
22483 * include/glob.h: Likewise.
22484 * include/grp.h: Likewise.
22485 * include/libio.h: Likewise.
22486 * include/locale.h: Likewise.
22487 * include/math.h: Likewise.
22488 * include/net/if.h: Likewise.
22489 * include/netdb.h: Likewise.
22490 * include/netinet/in.h: Likewise.
22491 * include/pthread.h: Likewise.
22492 * include/pwd.h: Likewise.
22493 * include/regex.h: Likewise.
22494 * include/sched.h: Likewise.
22495 * include/search.h: Likewise.
22496 * include/setjmp.h: Likewise.
22497 * include/signal.h: Likewise.
22498 * include/stdio.h: Likewise.
22499 * include/stdlib.h: Likewise.
22500 * include/string.h: Likewise.
22501 * include/sys/cdefs.h: Likewise.
22502 * include/sys/mman.h: Likewise.
22503 * include/sys/msg.h: Likewise.
22504 * include/sys/resource.h: Likewise.
22505 * include/sys/select.h: Likewise.
22506 * include/sys/socket.h: Likewise.
22507 * include/sys/stat.h: Likewise.
22508 * include/sys/statvfs.h: Likewise.
22509 * include/sys/time.h: Likewise.
22510 * include/sys/times.h: Likewise.
22511 * include/sys/uio.h: Likewise.
22512 * include/sys/utsname.h: Likewise.
22513 * include/sys/wait.h: Likewise.
22514 * include/termios.h: Likewise.
22515 * include/time.h: Likewise.
22516 * include/ulimit.h: Likewise.
22517 * include/unistd.h: Likewise.
22518 * include/utime.h: Likewise.
22519 * include/wchar.h: Likewise.
22520 * include/wctype.h: Likewise.
22521 * include/wordexp.h: Likewise.
22522
22523 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22524
7a270350
UD
22525 * time/time.h: TIME_UTC must be a macro.
22526 Make timespec_get available for ISO C11 only as well.
22527
7724defc
UD
225282012-02-24 Ulrich Drepper <drepper@gmail.com>
22529
22530 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22531 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22532
6b1d1d46
JM
225332012-02-24 Joseph Myers <joseph@codesourcery.com>
22534
22535 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 22536
0f8bbd69
JM
225372012-02-24 Joseph Myers <joseph@codesourcery.com>
22538
22539 * manual/texinfo.tex: Update to version 2012-01-19.16.
22540
66ab80bc
JM
225412012-02-24 Joseph Myers <joseph@codesourcery.com>
22542
22543 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22544
74981cc5
RM
225452012-02-24 Roland McGrath <roland@hack.frob.com>
22546
ee968201
RM
22547 [BZ #13738]
22548 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22549 * manual/fdl-1.3.texi: New file.
22550 * manual/fdl-1.1.texi: File removed.
22551
74981cc5
RM
22552 [BZ #13738]
22553 * manual/libc.texinfo (FDL_VERSION): New @set.
22554 Use it for mention of FDL in cover text.
22555 (Documentation License): Use it in @include file name.
22556
7bb764bc
JM
225572012-02-22 Joseph Myers <joseph@codesourcery.com>
22558 Roland McGrath <roland@hack.frob.com>
22559
22560 [BZ #5461]
22561 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22562 not LONG_LONG_MAX and LONG_LONG_MIN.
22563 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22564 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22565 name.
22566 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22567
6cbeae47
JM
225682012-02-22 Joseph Myers <joseph@codesourcery.com>
22569
22570 [BZ #2547]
22571 [BZ #11365]
22572 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22573 manipulate bits before adding and subtracting TWO23[sx].
22574 * math/libm-test.inc (nearbyint_test): Add more tests.
22575
fe45ce09
JM
225762012-02-22 Joseph Myers <joseph@codesourcery.com>
22577
22578 [BZ #2548]
22579 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22580 bits before adding and subtracting TWO23[sx].
22581 * math/libm-test.inc (rint_test): Add more tests.
22582 (rint_test_tonearest): Likewise.
22583 (rint_test_towardzero): Likewise.
22584 (rint_test_downward): Likewise.
22585 (rint_test_upward: Likewise.
22586
ff3b3d82
JM
225872012-02-22 Joseph Myers <joseph@codesourcery.com>
22588
22589 [BZ #10110]
22590 * include/stdc-predef.h: New file. Extracted from features.h.
22591 * include/features.h: Include stdc-predef.h.
22592 * Makefile (headers): Add stdc-predef.h.
22593 * CONFORMANCE (Compiler limitations): Update.
22594
ef0aab35
JM
225952012-02-22 Joseph Myers <joseph@codesourcery.com>
22596
22597 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22598
58639409
DM
225992012-02-21 David S. Miller <davem@davemloft.net>
22600
22601 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22602 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22603
c0e70b25
DM
226042012-02-20 David S. Miller <davem@davemloft.net>
22605
22606 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22607 using a normal save/restore sequence, rather than allocating a
22608 dummy stack frame just to store a frame pointer and restore.
22609 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22610
fb06851d
JM
226112012-02-21 Joseph Myers <joseph@codesourcery.com>
22612
22613 * manual/install.texi: Fix stray word in line-wrapped comment.
22614
7a8b71c3
DM
226152012-02-20 David S. Miller <davem@davemloft.net>
22616
d510c123
DM
22617 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22618 both binutils and gcc support GOTDATA.
22619
0722d7c2
DM
22620 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22621 "rd %pc" in the PIC register setup sequences.
22622
3d2b3019
DM
22623 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22624 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22625 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22626 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22627 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22628 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22629 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22630 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22631 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22632 (SYSCALL_ERROR_HANDLER): Likewise.
22633 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22634 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22635 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22636 (SYSCALL_ERROR_HANDLER): Likewise.
22637
c80098a9
DM
22638 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22639 (HAVE_GCC_GOTDATA): New.
22640 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22641 relocation support in both binutils and gcc.
22642 * sysdeps/sparc/elf/configure: Regenerate.
22643
3a2545a0
DM
22644 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22645 * sysdeps/sparc/sparc32/elf/configure: Delete.
22646 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22647 * sysdeps/sparc/sparc64/elf/configure: Delete.
22648 * sysdeps/sparc/elf/configure.in: New file.
22649 * sysdeps/sparc/elf/configure: Generate.
22650
7a8b71c3
DM
22651 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22652 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22653 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22654 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22655 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22656
f1e86fca
JM
226572012-02-21 Joseph Myers <joseph@codesourcery.com>
22658
22659 * manual/install.texi: Do not mention specific glibc version
22660 numbers.
22661 * manual/libc.texinfo (VERSION, UPDATED): Update.
22662 (@copying): Use @copyright{} and range of years.
22663
0e7dfaef
JM
226642012-02-21 Joseph Myers <joseph@codesourcery.com>
22665
22666 [BZ #13695]
22667 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22668 [crti.S not in sysdirs] (generated): Do not append.
22669 [crti.S not in sysdirs] (omit-deps): Likewise.
22670 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22671 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22672 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22673 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22674 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22675 Likewise.
22676 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22677 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22678 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22679 * csu/defs.awk: Remove file.
22680 * sysdeps/generic/initfini.c: Likewise.
22681 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22682 variable.
22683 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22684 Likewise.
22685
599af3ca
JM
226862012-02-20 Joseph Myers <joseph@codesourcery.com>
22687
22688 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22689 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22690 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22691 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22692 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22693 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22694 <bits/epoll.h>.
22695 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22696 (__EPOLL_PACKED): Define to empty if not defined by
22697 <bits/epoll.h>.
22698 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22699 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22700 bits/epoll.h.
22701
0e499750
JM
227022012-02-20 Joseph Myers <joseph@codesourcery.com>
22703
22704 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22705 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22706 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22707 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22708 <bits/timerfd.h>.
22709 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22710 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22711 bits/timerfd.h.
22712
5ad91f6e
JM
227132012-02-20 Joseph Myers <joseph@codesourcery.com>
22714
22715 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22716 in C locale.
22717 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22718 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22719 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22721
06b99b02
AJ
227222012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22723
22724 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22725 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22726
7638c0fd
AS
227272012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22728
22729 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22730 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22731 defined.
22732 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22733 Likewise.
22734 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22735 entry for 2.16.
22736
92221550
AJ
227372012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22738
22739 * math/w_acos.c: Use non-signaling floating-point comparisons.
22740 * math/w_acosf.c: Likewise.
22741 * math/w_acosh.c: Likewise.
22742 * math/w_acoshf.c: Likewise.
22743 * math/w_acoshl.c: Likewise.
22744 * math/w_acosl.c: Likewise.
22745 * math/w_asin.c: Likewise.
22746 * math/w_asinf.c: Likewise.
22747 * math/w_asinl.c: Likewise.
22748 * math/w_atanh.c: Likewise.
22749 * math/w_atanhf.c: Likewise.
22750 * math/w_atanhl.c: Likewise.
22751 * math/w_exp2.c: Likewise.
22752 * math/w_exp2f.c: Likewise.
22753 * math/w_exp2l.c: Likewise.
22754 * math/w_j0.c: Likewise.
22755 * math/w_j0f.c: Likewise.
22756 * math/w_j0l.c: Likewise.
22757 * math/w_j1.c: Likewise.
22758 * math/w_j1f.c: Likewise.
22759 * math/w_j1l.c: Likewise.
22760 * math/w_jn.c: Likewise.
22761 * math/w_jnf.c: Likewise.
22762 * math/w_log.c: Likewise.
22763 * math/w_log10.c: Likewise.
22764 * math/w_log10f.c: Likewise.
22765 * math/w_log10l.c: Likewise.
22766 * math/w_log2.c: Likewise.
22767 * math/w_log2f.c: Likewise.
22768 * math/w_log2l.c: Likewise.
22769 * math/w_logf.c: Likewise.
22770 * math/w_logl.c: Likewise.
22771 * math/w_sqrt.c: Likewise.
22772 * math/w_sqrtf.c: Likewise.
22773 * math/w_sqrtl.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22775 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22776 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22777 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22778 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22779
ebaf36eb
JM
227802012-02-19 Joseph Myers <joseph@codesourcery.com>
22781
22782 [BZ #9739]
22783 * manual/string.texi (strnlen): Use correct parameter name in
22784 equivalent expression.
22785
71c254a6
JM
227862012-02-19 Joseph Myers <joseph@codesourcery.com>
22787
22788 [BZ #11174]
22789 * manual/users.texi (seteuid): Consistently use neweuid for
22790 argument name.
22791
16d2c631
JM
227922012-02-19 Joseph Myers <joseph@codesourcery.com>
22793
22794 [BZ #13704]
22795 * manual/nss.texi (Services in the NSS configuration): Correct
22796 list of services in example configuration file.
22797
cd837b09
NB
227982012-02-19 Nick Bowler <nbowler@draconx.ca>
22799
22800 [BZ #11322]
22801 * manual/arith.texi: Remove statements about negative zero
22802 behaving identically to zero.
22803
02c4bbad
JM
228042012-02-18 Joseph Myers <joseph@codesourcery.com>
22805
22806 [BZ #5993]
22807 * manual/install.texi: Do not document upgrading from libc5.
22808
366842e7
JM
228092012-02-18 Joseph Myers <joseph@codesourcery.com>
22810
22811 [BZ #4596]
22812 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22813
dd54084d
DM
228142012-02-18 David S. Miller <davem@davemloft.net>
22815
22816 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22817 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22818 %o7 across the call.
22819 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22820 instead.
22821 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22822 SETUP_PIC_REG_LEAF.
22823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22824 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22825 * sysdeps/sparc/crtn.S: Likewise.
22826
2bcc53a3
UD
228272012-02-17 Ulrich Drepper <drepper@gmail.com>
22828
22829 * aout/Makefile: Remove.
22830
09c093b5
RK
228312012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22832
22833 [BZ #13058]
22834 * manual/examples/argp-ex1.c (main): Format definition in GNU
22835 style.
22836 * manual/examples/argp-ex2.c (main): Likewise.
22837 * manual/examples/argp-ex3.c (main): Likewise.
22838 * manual/examples/argp-ex4.c (main): Likewise.
22839 * manual/examples/longopt.c (main): Use new-style prototype
22840 definition.
22841 * manual/examples/strncat.c (main): Specify return type and use
22842 (void) for arguments.
22843 * manual/examples/subopt.c (main): Use char **argv argument.
22844
2ee633a2
JM
228452012-02-17 Joseph Myers <joseph@codesourcery.com>
22846
22847 [BZ #5077]
22848 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22849 rounding modes.
22850
0520adde
FB
228512012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
22852
22853 [BZ #6907]
22854 * manual/string.texi (strchr): Change when strchrnul is
22855 recommended.
22856
3f4081cd
DGM
228572012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
22858
22859 [BZ #174]
22860 * manual/locale.texi (setlocale): Document LOCPATH.
22861
d1b10e78
JM
228622012-02-17 Joseph Myers <joseph@codesourcery.com>
22863
22864 [BZ #10210]
22865 * manual/process.texi (execle): Move @dots{} before last argument.
22866
79c6869c
PB
228672012-02-17 Paul Bolle <pebolle@tiscali.nl>
22868
22869 [BZ #12047]
22870 * manual/charset.texi (Generic Charset Conversion): Fix typo
22871 (LC_TYPE -> LC_CTYPE).
22872
cc6e48bc
NB
228732012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
22874
22875 [BZ #5805]
22876 * manual/arith.texi (scalbn): Use @var{} on parameter names.
22877 (scalbnf): Likewise.
22878 (scalbnl): Likewise.
22879 (scalbln): Likewise.
22880 (scalblnf): Likewise.
22881 (scalblnl): Likewise.
22882 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22883 (vwarnx): Likewise.
22884 (verr): Likewise.
22885 (verrx): Likewise.
22886 * manual/filesys.texi (telldir): Use braces around return type.
22887 * manual/llio.texi (mmap): Add space after comma.
22888 (mmap64): Likewise.
22889 * manual/math.texi (jn): Use @var{} on parameter names.
22890 (jnf): Likewise.
22891 (jnl): Likewise.
22892 (yn): Likewise.
22893 (ynf): Likewise.
22894 (ynl): Likewise.
22895 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22896 line.
22897 * manual/resource.texi (ulimit): Use @dots{} instead of literal
22898 "...".
22899 (sched_get_priority_min): Remove semicolon on @deftypefun line.
22900 (sched_get_priority_max): Likewise.
22901 * manual/signal.texi (sigvec): Add space after comma.
22902 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22903 names.
22904 (if_indextoname): Likewise.
22905 (if_freenameindex): Likewise.
22906 (sendto): Use ',' instead of '.' in prototype.
22907 * manual/startup.texi (syscall): Use @dots{} instead of literal
22908 "...".
22909 * manual/stdio.texi (__fpending): Separate initial words of
22910 paragraph from @deftypefun line.
22911 * manual/syslog.texi (syslog): Use @dots{} instead of literal
22912 "...".
22913 (vsyslog): Use @var{} on parameter names.
22914 * manual/terminal.texi (stty): Use @var{} on parameter names.
22915 * manual/users.texi (getutmp): Use @var{} on parameter names.
22916 (getutmpx): Likewise.
22917
5b23062f
JM
229182012-02-17 Joseph Myers <joseph@codesourcery.com>
22919
22920 [BZ #6884]
22921 * manual/stdio.texi (fopen): Fix typos in description of
22922 ",ccs=STRING".
22923
8dee4833
AJ
229242012-02-17 Aurelien Jarno <aurelien@aurel32.net>
22925
22926 [BZ #4026]
22927 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22928 get clock_id definition.
22929
9078ce93
TS
229302012-02-17 Thomas Schwinge <thomas@schwinge.name>
22931
22932 [BZ #4822]
22933 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22934 (madvise): Cast every argument to void on its own.
22935
3835c55f
JM
229362012-02-17 Joseph Myers <joseph@codesourcery.com>
22937
22938 [BZ #9902]
22939 * manual/startup.texi (Exit Status): Fix typo.
22940
35c47e37
JM
229412012-02-17 Joseph Myers <joseph@codesourcery.com>
22942
22943 [BZ #10140]
22944 * manual/examples/argp-ex1.c: Include <stdlib.h>.
22945 * manual/examples/argp-ex2.c: Likewise.
22946 * manual/examples/argp-ex3.c: Likewise.
22947
e3b69ca7
RH
229482012-02-16 Richard Henderson <rth@redhat.com>
22949
22950 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22951 * sysdeps/s390/s390-32/initfini.c: Remove.
22952 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22953 * sysdeps/s390/s390-64/initfini.c: Remove.
22954
df83af67
KK
229552012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22956
22957 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22958 compiler output for sysdeps/generic/initfini.c.
22959 * sysdeps/sh/elf/initfini.c: Remove file.
22960
f63f3380
DM
229612012-02-16 David S. Miller <davem@davemloft.net>
22962
fb59b3a4
DM
22963 [BZ #11494]
22964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22965
f63f3380
DM
22966 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22967 * sysdeps/sparc/crti.S: New file.
22968 * sysdeps/sparc/crtn.S: New file.
22969 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22970 * sysdeps/sparc/sparc64/Makefile: Likewise.
22971
df6a4a4a
MF
229722012-02-15 Mike Frysinger <vapier@gentoo.org>
22973
6dd8f3dc 22974 [BZ #3335]
df6a4a4a
MF
22975 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22976
1cac7236
RM
229772012-02-15 Roland McGrath <roland@hack.frob.com>
22978
d2c736f8
RM
22979 [BZ #4822]
22980 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22981
1cac7236
RM
22982 * mach/devstream.c (cookie_io_functions_t): Macro removed.
22983 (write, read, close): Likewise.
22984 Patch by Aurelien Jarno <aurelien@aurel32.net>.
22985
8e475601
JM
229862012-02-15 Joseph Myers <joseph@codesourcery.com>
22987
22988 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22989 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22990 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22991 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22992 <bits/signalfd.h>.
22993 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22995 bits/signalfd.h.
22996
ed656b40
MP
229972012-02-14 Marek Polacek <polacek@redhat.com>
22998
22999 * sysdeps/x86_64/crti.S: New file.
23000 * sysdeps/x86_64/crtn.S: New file.
23001 * sysdeps/x86_64/elf/initfini.c: Remove file.
23002
2a979d3a
JM
230032012-02-13 Joseph Myers <joseph@codesourcery.com>
23004
23005 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23006 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23007 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23008 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23009 <bits/inotify.h>.
23010 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23011 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23012 bits/inotify.h.
23013
2a418ac3
JM
230142012-02-13 Joseph Myers <joseph@codesourcery.com>
23015
23016 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23017 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23018 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23019 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23020 <bits/eventfd.h>.
23021 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23023 bits/eventfd.h.
23024
fb779be7
TS
230252012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23026
e19e83c5
RM
23027 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23028 __feraiseexcept instead of feraiseexcept.
7c35ffed 23029
fb779be7
TS
23030 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23031 nanosleep invocations.
23032 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23033 strings, and add error checking for a nanosleep invocations.
23034
59ba27a6
PE
230352012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23036
23037 Replace FSF snail mail address with URLs, as per GNU coding standards.
23038 Most of the snail mail addresses were wrong anyway, and omitting
23039 them makes the source code easier to maintain. Almost all of the
23040 changes are to license notices and to locale LC_IDENTIFICATION
23041 addresses, except for this one:
23042 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23043 not its snail mail address.
23044
57b957eb
RH
230452012-02-09 Richard Henderson <rth@twiddle.net>
23046
af850b1c
RH
23047 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23048 of kernel-features.h.
23049
57b957eb
RH
23050 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23051
6b73181a
MP
230522012-02-08 Marek Polacek <polacek@redhat.com>
23053
23054 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23055 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23056 * sysdeps/gnu/_G_config.h: Likewise.
23057 * sysdeps/generic/_G_config.h: Likewise.
23058
26ecc33a
AS
230592012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23060
6c6dbc63
AS
23061 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23062 tests.
23063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23064
e216c012
AS
23065 * sysdeps/powerpc/powerpc32/crti.S: New file.
23066 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23067 * sysdeps/powerpc/powerpc64/crti.S: New file.
23068 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23069
26ecc33a
AS
23070 * Makeconfig (have-initfini): Don't set.
23071 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23072 * configure.in (nopic_initfini): Don't substitute.
23073 * config.h.in (HAVE_INITFINI): Don't #undef.
23074 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23075 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23076
3add8e13
JM
230772012-02-08 Joseph Myers <joseph@codesourcery.com>
23078
23079 Support crti.S and crtn.S provided directly by architectures.
23080 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23081 [crti.S in sysdirs] (omit-deps): Likewise.
23082 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23083 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23084 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23085 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23086 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23087 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23088 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23089 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23090 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23091 compiler output for sysdeps/generic/initfini.c.
23092 * sysdeps/i386/elf/Makefile: Remove file.
23093 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23094
a22f12b4
MP
230952012-02-07 Marek Polacek <polacek@redhat.com>
23096
23097 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23098 * sysdeps/gnu/_G_config.h: Likewise.
23099 * sysdeps/mach/hurd/_G_config.h: Likewise.
23100
148cf100
MP
231012012-02-07 Marek Polacek <polacek@redhat.com>
23102
23103 * math/Makefile (tests): Add tst-CMPLX2.
23104 * math/tst-CMPLX2.c: New file.
23105
cfdc0dd7
AS
231062012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23107
84ba42c4
AS
23108 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23109
cfdc0dd7
AS
23110 * math/libm-test.inc (jn_test): Add missing L suffix.
23111
622c86f4
MP
231122012-02-06 Marek Polacek <polacek@redhat.com>
23113
23114 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23115 * sysdeps/i386/fpu/e_powf.S: Likewise.
23116 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23117 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23118 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23119 * sysdeps/i386/fpu/e_pow.S: Likewise.
23120 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23121 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23122 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23123 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23124 * sysdeps/i386/fpu/e_log2.S: Likewise.
23125 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23126 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23127 * sysdeps/i386/fpu/e_powl.S: Likewise.
23128 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23129 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23130 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23131 * sysdeps/i386/fpu/e_logl.S: Likewise.
23132 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23133 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23134 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23135 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23136 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23137 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23138 * sysdeps/i386/fpu/e_log.S: Likewise.
23139 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23140 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23141 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23142 * sysdeps/i386/fpu/e_logf.S: Likewise.
23143 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23144 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23145 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23146 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23147 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23148 * sysdeps/i386/fpu/e_log10.S: Likewise.
23149 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23150 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23151 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23152 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23153 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23154 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23155 * sysdeps/i386/asm-syntax.h: Likewise.
23156 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23157 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23158 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23159 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23160 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23161 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23162 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23163 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23164 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23165 * sysdeps/powerpc/sysdep.h: Likewise.
23166 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23167 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23168
d4a54ac6
JM
231692012-02-06 Joseph Myers <joseph@codesourcery.com>
23170
23171 [BZ #411]
23172 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23173
314054ea
JM
231742012-02-06 Joseph Myers <joseph@codesourcery.com>
23175
23176 * sysdeps/i386/sysdep.h: Include <features.h>.
23177 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23178 version.
23179
d8e0ca50
JM
231802012-02-05 Joseph Myers <joseph@codesourcery.com>
23181
23182 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23183 Define.
23184 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23185 LOAD_PIC_REG_STR.
23186
b1da7dd9
JM
231872012-02-03 Joseph Myers <joseph@codesourcery.com>
23188
23189 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23190 (SETUP_PIC_REG): Use GET_PC_THUNK.
23191 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23192 macro.
23193
9a1d9254
JM
231942012-02-03 Joseph Myers <joseph@codesourcery.com>
23195
23196 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23197 for non-PIC compilation.
23198 (SETUP_PIC_REG): Add .p2align directive.
23199 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23200 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23201 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23202 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23203 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23204 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23205 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23206 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23207 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23208 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23209 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23210 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23211 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23212 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23213 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23214 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23215 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23216 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23217 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23218 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23219 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23220 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23221 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23222 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23223 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23224 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23225 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23226 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23227 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23228 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23229 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23230 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23231 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23232 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23233 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23234 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23235 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23236 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23237 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23238 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23239 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23240
65dc3b75
JM
232412012-02-03 Joseph Myers <joseph@codesourcery.com>
23242
23243 * math/tst-CMPLX.c: Include <stdio.h>.
23244
d55bf177
JM
232452012-01-31 Joseph Myers <joseph@codesourcery.com>
23246
23247 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23248 float.
23249 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23250 * sysdeps/sparc/bits/mathdef.h: Likewise.
23251
69db4f8f
MP
232522012-01-31 Marek Polacek <polacek@redhat.com>
23253
23254 * libio/libio.h: Don't define _PARAMS.
23255 * locale/programs/config.h: Don't define PARAMS.
23256 * stdlib/strtol_l.c: Likewise.
23257 (__strtol_l): Remove PARAMS from the prototype.
23258
41b81892
UD
232592012-01-31 Ulrich Drepper <drepper@gmail.com>
23260
3b49edc0
UD
23261 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23262 names. Just use the correct names. Remove unnecessary wrapper
23263 functions.
23264 * malloc/arena.c: Likewise.
23265 * malloc/hooks.c: Likewise.
23266
41b81892
UD
23267 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23268 ARENA_TEST says not to. Simplify test for creation of a new arena.
23269 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23270
27a25b6e
UD
232712012-01-30 Ulrich Drepper <drepper@gmail.com>
23272
23273 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23274 into tail calls.
23275 (update_get_addr): New function.
23276 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23277 GET_ADDR_MODULE parameter.
23278
c8a89e7d
JM
232792012-01-30 Joseph Myers <joseph@codesourcery.com>
23280
23281 * crypt/cert.c: Remove __STDC__ conditionals.
23282 * crypt/crypt-entry.c: Likewise.
23283 * crypt/crypt_util.c: Likewise.
23284 * libio/filedoalloc.c: Likewise.
23285 * libio/fileops.c: Likewise.
23286 * libio/genops.c: Likewise.
23287 * libio/iofclose.c: Likewise.
23288 * libio/iofdopen.c: Likewise.
23289 * libio/iofopen.c: Likewise.
23290 * libio/iofopen64.c: Likewise.
23291 * libio/iogetdelim.c: Likewise.
23292 * libio/iopopen.c: Likewise.
23293 * libio/obprintf.c: Likewise.
23294 * libio/oldfileops.c: Likewise.
23295 * libio/oldiofclose.c: Likewise.
23296 * libio/oldiofdopen.c: Likewise.
23297 * libio/oldiofopen.c: Likewise.
23298 * libio/oldiopopen.c: Likewise.
23299 * libio/wfiledoalloc.c: Likewise.
23300 * libio/wgenops.c: Likewise.
23301 * locale/programs/xmalloc.c: Likewise.
23302 * misc/syslog.c: Likewise.
23303 * stdio-common/xbug.c: Likewise.
23304 * string/memchr.c: Likewise.
23305 * string/memcmp.c: Likewise.
23306 * string/memrchr.c: Likewise.
23307 * string/rawmemchr.c: Likewise.
23308 * sysdeps/posix/getcwd.c: Likewise.
23309 * time/strftime_l.c: Likewise.
23310
3b100462
JM
233112012-01-30 Joseph Myers <joseph@codesourcery.com>
23312
23313 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
23314 * config.make.in (config-cflags-sse2avx): Define.
23315 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23316 Fix typo.
23317
607998af
CM
233182012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23319
23320 * scripts/config.guess: Update from upstream config git repository.
23321 * scripts/config.sub: Likewise.
23322
3601428f
CM
233232012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23324
3ac8b282
CM
23325 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23326 (EM_NUM): Update.
23327 (R_TILEPRO_*, R_TILEGX_*): New macros.
23328
e034841e
CM
23329 * scripts/firstversions.awk: Fix bug in version range handling.
23330
540d7568
CM
23331 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23332
3601428f
CM
23333 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23334
463de862
CM
23335 * include/sys/epoll.h: New file.
23336 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23337 libc_hidden_def.
23338
73139a76
UD
233392012-01-28 Ulrich Drepper <drepper@gmail.com>
23340
96bc5b45
UD
23341 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23342 Avoid unnecessary __WORDSIZE == 64 test.
23343 (fmaxf): Use VEX format if possible.
23344 (fmax): Likewise.
23345 (fminf): Likewise.
23346 (fmin): Likewise.
23347
56f6f6a2
UD
23348 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23349 * math/math_private.h: Remove libc_fegetround* and
23350 libc_fesetround*.
23351 * sysdeps/i386/configure.in: Check for -msse2avx.
23352 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23353 also if SSE2AVX is defined.
23354 Remove libc_fegetround* and libc_fesetround*.
23355 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23356 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23357 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23358 of HAS_YMM_USABLE.
23359 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23360 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23361 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23362 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23363 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23364
73139a76
UD
23365 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23366
d73f93a4
AZ
233672012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23368
23369 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23370 size is not set.
23371 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23372
6ee65ed6
UD
233732012-01-27 Ulrich Drepper <drepper@gmail.com>
23374
23375 [BZ #13618]
23376 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23377 relocation.
23378 * Makeconfig (libm): Define.
23379 * elf/Makefile: Add rules to build and run tst-relsort1.
23380 * elf/tst-relsort1.c: New file.
23381 * elf/tst-relsort1mod1.c: New file.
23382 * elf/tst-relsort1mod2.c: New file.
23383
8db21882
JM
233842012-01-27 Joseph Myers <joseph@codesourcery.com>
23385
23386 * math/s_ldexp.c: Remove __STDC__ conditionals.
23387 * math/s_ldexpf.c: Likewise.
23388 * math/s_ldexpl.c: Likewise.
23389 * math/s_nextafter.c: Likewise.
23390 * math/s_nexttowardf.c: Likewise.
23391 * math/s_significand.c: Likewise.
23392 * math/s_significandf.c: Likewise.
23393 * math/s_significandl.c: Likewise.
23394 * math/w_jnl.c: Likewise.
23395 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23396 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23397 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23398 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23399 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23400 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23401 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23402 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23403 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23404 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23405 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23406 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23407 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23408 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23409 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23410 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23411 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23412 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23413 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23414 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23415 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23416 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23417 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23418 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23419 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23420 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23421 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23422 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23423 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23424 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23425 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23426 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23427 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23428 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23429 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23430 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23431 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23432 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23433 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23434 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23435 * sysdeps/ieee754/k_standard.c: Likewise.
23436 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23438 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23440 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23441 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23442 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23445 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23447 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23448 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23449 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23450 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23451 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23452 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23453 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23454 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23455 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23456 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23457 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23458 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23459 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23460 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23461 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23462 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23463 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23464 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23465 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23466 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23467 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23468 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23469 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23470 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23471 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23472 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23473 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23474 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23475 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23476 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23477 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23478 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23479 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23480 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23481 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23482 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23483 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23484 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23485 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23486 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23487 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23488 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23489 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23490 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23491 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23492 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23493 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23494 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23495 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23496 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23497 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23498 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23499 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23500 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23501 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23502 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23503 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23504 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23505 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23506 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23507 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23508 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23509 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23510 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23511 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23512 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23513 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23514 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23515 * sysdeps/ieee754/s_matherr.c: Likewise.
23516 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23517 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23518 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23519 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23520
965a54a4
JM
235212012-01-26 Joseph Myers <joseph@codesourcery.com>
23522
23523 * crypt/md5.h: Remove __STDC__ conditionals.
23524 * libio/libioP.h: Likewise.
23525 * locale/programs/config.h: Likewise.
23526 * sysdeps/generic/sysdep.h: Likewise.
23527 * sysdeps/i386/asm-syntax.h: Likewise.
23528 * sysdeps/s390/asm-syntax.h: Likewise.
23529 * sysdeps/unix/sysdep.h: Likewise.
23530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23532
7071ad79
JM
235332012-01-26 Joseph Myers <joseph@codesourcery.com>
23534
23535 * libio/libio.h: Remove __STDC__ conditionals.
23536 * malloc/obstack.h: Likewise.
23537 * math/complex.h: Likewise.
23538 * math/math.h: Likewise.
23539 * sysdeps/generic/_G_config.h: Likewise.
23540 * sysdeps/gnu/_G_config.h: Likewise.
23541 * sysdeps/mach/hurd/_G_config.h: Likewise.
23542 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23543 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23544 * sysdeps/sparc/bits/mathdef.h: Likewise.
23545
afc5ed09
UD
235462012-01-26 Ulrich Drepper <drepper@gmail.com>
23547
23548 [BZ #13583]
23549 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 23550 Clean up HAS_* macros.
afc5ed09 23551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
23552 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23553 possible.
23554 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23555 HAS_AVX.
23556 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23557 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23558 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23559 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23560 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 23561
bdb6de1d
JM
235622012-01-25 Joseph Myers <joseph@codesourcery.com>
23563
23564 * elf/tst-unique3.cc (gets): Remove declaration.
23565 * elf/tst-unique3lib.cc (gets): Likewise.
23566 * elf/tst-unique3lib2.cc (gets): Likewise.
23567 * elf/tst-unique4.cc (gets): Likewise.
23568
b15549e6
UD
235692012-01-24 Ulrich Drepper <drepper@gmail.com>
23570
23571 * include/stdio.h: Add C++ protection. Add gets declarations and
23572 definitions.
23573 * debug/tst-chk1.c: Don't declare gets here.
23574 * stdio-common/tst-gets.c: Likewise.
23575
a037381f
JM
235762012-01-24 Joseph Myers <joseph@codesourcery.com>
23577
23578 * posix/glob: Remove directory.
23579
f1d4aa75
JM
235802012-01-24 Joseph Myers <joseph@codesourcery.com>
23581
23582 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23583
81c0c964
PT
235842012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23585
23586 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23587 of the non-standard EPFNOSUPPORT.
23588
0ea698ae
ST
235892011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23590
23591 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23592 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23593 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23594
d220b117
UD
235952012-01-21 Ulrich Drepper <drepper@gmail.com>
23596
23597 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23598
3e1aa84e
UD
235992012-01-20 Ulrich Drepper <drepper@gmail.com>
23600
23601 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23602 transient errors.
23603 * nscd/grpcache.c (cache_addgr): Likewise.
23604 * nscd/hstcache.c (cache_addhst): Likewise.
23605 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23606 * nscd/pwdcache.c (cache_addpw): Likewise.
23607 * nscd/servicescache.c (cache_addserv): Likewise.
23608
400aa020
UD
236092012-01-16 Ulrich Drepper <drepper@gmail.com>
23610
d77e7869
UD
23611 * malloc/malloc.c: Various cleanups.
23612 * malloc/hooks.c: Likewise.
23613
400aa020
UD
23614 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23615 * stdlib/bug-fmtmsg1.c: New file.
23616
23617 * stdlib/fmtmsg.c (init): Add missing unlock.
23618 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23619
e0a309cf
MP
236202012-01-12 Marek Polacek <polacek@redhat.com>
23621
23622 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23623 and _GNU_SOURCE.
23624
929d11c7
WS
236252012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23626
23627 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23628 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23629 macro to ensure uniqueness of label name.
23630 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23631 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23632
41d0e869
UD
236332012-01-11 Ulrich Drepper <drepper@gmail.com>
23634
0cc5ed3b
UD
23635 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23636
41d0e869
UD
23637 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23638 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23639 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23640 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23641
a47a831a
UD
236422012-01-10 Ulrich Drepper <drepper@gmail.com>
23643
daa891c0
UD
23644 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23645
23646 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23647 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23648 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23649
e58ef0f2
UD
23650 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23651
a47a831a 23652 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
23653 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23654 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 23655 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
23656
23657 * math/bits/math-finite.h: Add ldexp support.
23658
a0bfc9c7
MP
236592012-01-10 Marek Polacek <polacek@redhat.com>
23660
23661 * locale/programs/localedef.h (show_archive_content): Add noreturn
23662 attribute.
23663
d6e97a1d
UD
236642012-01-09 Ulrich Drepper <drepper@gmail.com>
23665
23666 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23667
d5835c26
UD
236682012-01-08 Ulrich Drepper <drepper@gmail.com>
23669
e5f484c6
UD
23670 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23671
d5835c26
UD
23672 * io/Makefile (headers): Add bits/poll2.h.
23673
d1f741e9
WS
236742011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23675
23676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23677 typo #include statement.
23678
ec09c1c4
UD
236792012-01-08 Ulrich Drepper <drepper@gmail.com>
23680
23681 * include/sys/cdefs.h: Define __attribute_alloc_size.
23682 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23683 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23684 * elf/pldd.c: Likewise.
23685 * iconv/iconv_charmap.c: Likewise.
23686 * iconv/iconvconfig.c: Likewise.
23687 * iconv/strtab.c: Likewise.
23688 * locale/programs/locale.c: Likewise.
23689 * locale/programs/localedef.h: Likewise.
23690 * locale/programs/simple-hash.c: Likewise.
23691 * nscd/nscd.h: Likewise.
23692 * nss/makedb.c: Likewise.
23693 * sysdeps/generic/ldconfig.h: Likewise.
23694 * locale/programs/localedef.c: Remove xmalloc prototype.
23695 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23696
20b38e03
PP
236972012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23698
23699 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23700 appropriate.
23701
a0da5fe1
UD
237022012-01-08 Ulrich Drepper <drepper@gmail.com>
23703
1d5a644a 23704 * math/Makefile (tests): Add tst-CMPLX.
669704fd 23705 * math/tst-CMPLX.c: New file.
1d5a644a 23706
8784a6db
UD
23707 * math/complex.h (CMPLXL): Fix typo.
23708
d9a216c0
UD
23709 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23710 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23711 GLIBC_2.16.
23712 * debug/tst-chk1.c: Add poll and ppoll tests.
23713 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23714 * include/sys/poll.h: Add hidden proto for ppoll.
23715 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23716 * sysdeps/mach/hurd/ppoll.c: Likewise.
23717 * io/ppoll.c: Likewise.
23718 * debug/poll_chk.c: New file.
23719 * debug/ppoll_chk.c: New file.
23720 * include/bits/poll2.h: New file.
23721 * io/bits/poll2.h: New file.
23722
ac097f5c
UD
23723 [BZ #1350]
23724 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23725
2119dcfa
UD
23726 * configure.in: static is always set to yes. Remove.
23727 * config.make.in: Don't set build-static.
23728 * Makeconfig: Remove use of build-static.
23729 * dlfcn/Makefile: Likewise.
23730 * elf/Makefile: Likewise.
23731 * math/Makefile: Likewise.
23732 * misc/Makefile: Likewise.
23733 * nptl/Makefile: Likewise.
23734 * sysdeps/mach/hurd/Makefile: Likewise.
23735
121766a9
UD
23736 * configure.in: PWD_P is not used anymore.
23737 * config.make.in: Remove PWD_P entry.
23738
51a1d39c 23739 * configure.in: Remove last remnants of RANLIB.
8720d066 23740 No need to check for signed size_t anymore.
215f4bdc
UD
23741 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23742 and IA-64.
3857022a 23743 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
23744 * aclocal.m4: Likewise.
23745
d3ed7225
UD
23746 * wcsmbs/mbrtoc16.c: Implement using towc function.
23747 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23748 * wcsmbs/wcsmbsload.c: Likewise.
23749 * iconv/gconv_simple.c: Likewise.
23750 * iconv/gconv_int.h: Likewise.
23751 * iconv/gconv_builtin.h: Likewise.
23752 * iconv/iconv_prog.c: Remove CHAR16 handling.
23753
23754 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23755
23756 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23757
a0da5fe1
UD
23758 * configure.in: Remove --with-elf and --enable-bounded options.
23759 Dont set base_machine for ia64. More non-ELF conditions removed.
23760 Remove testing and setting of leading underscore information.
23761 * config.make.in (build-bounded): Set to no.
23762 * config.h.in: Remove NO_UNDERSCORES entry.
23763 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
23764 them.
23765 * csu/start.c: Remove !NO_UNDERSCORE code.
23766 * locale/localeinfo.h: Likewise.
23767 * sysdeps/generic/machine-gmon.h: Likewise.
23768 * sysdeps/generic/sysdep.h: Likewise.
23769 * sysdeps/i386/sysdep.h: Likewise.
23770 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23771 * sysdeps/mach/sysdep.h: Likewise.
23772 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23773 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23774 * sysdeps/sh/sysdep.h: Likewise.
23775 * sysdeps/sparc/sparc32/alloca.S: Likewise.
23776 * sysdeps/unix/i386/sysdep.S: Likewise.
23777 * sysdeps/unix/sparc/start.c: Likewise.
23778 * sysdeps/unix/sparc/sysdep.S: Likewise.
23779 * sysdeps/unix/sparc/sysdep.h: Likewise.
23780 * sysdeps/unix/start.c: Likewise.
23781 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23782 * sysdeps/x86_64/sysdep.h: Likewise.
23783
df78418a
UD
237842012-01-07 Ulrich Drepper <drepper@gmail.com>
23785
a784e502
UD
23786 [BZ #13553]
23787 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23788 for non-gcc.
23789 * argp/argp-fmtstream.h: Use const instead __const.
23790 * argp/argp.h: Likewise.
23791 * assert/assert.h: Likewise.
23792 * bits/fenv.h: Likewise.
23793 * bits/sched.h: Likewise.
23794 * bits/sigset.h: Likewise.
23795 * bits/sigthread.h: Likewise.
23796 * catgets/nl_types.h: Likewise.
23797 * conform/data/pthread.h-data: Likewise.
23798 * crypt/crypt-private.h: Likewise.
23799 * crypt/crypt.h: Likewise.
23800 * crypt/crypt_util.c: Likewise.
23801 * ctype/ctype.h: Likewise.
23802 * debug/execinfo.h: Likewise.
23803 * debug/mbsnrtowcs_chk.c: Likewise.
23804 * debug/mbsrtowcs_chk.c: Likewise.
23805 * debug/wcsnrtombs_chk.c: Likewise.
23806 * debug/wcsrtombs_chk.c: Likewise.
23807 * debug/wcstombs_chk.c: Likewise.
23808 * dirent/dirent.h: Likewise.
23809 * dlfcn/dlfcn.h: Likewise.
23810 * elf/neededtest4.c: Likewise.
23811 * grp/grp.h: Likewise.
23812 * gshadow/gshadow.h: Likewise.
23813 * iconv/gconv.h: Likewise.
23814 * iconv/gconv_int.h: Likewise.
23815 * iconv/gconv_simple.c: Likewise.
23816 * iconv/iconv.h: Likewise.
23817 * iconv/loop.c: Likewise.
23818 * iconv/skeleton.c: Likewise.
23819 * include/aio.h: Likewise.
23820 * include/aliases.h: Likewise.
23821 * include/argz.h: Likewise.
23822 * include/arpa/inet.h: Likewise.
23823 * include/assert.h: Likewise.
23824 * include/dirent.h: Likewise.
23825 * include/dlfcn.h: Likewise.
23826 * include/execinfo.h: Likewise.
23827 * include/fcntl.h: Likewise.
23828 * include/fenv.h: Likewise.
23829 * include/glob.h: Likewise.
23830 * include/grp.h: Likewise.
23831 * include/libintl.h: Likewise.
23832 * include/mntent.h: Likewise.
23833 * include/netdb.h: Likewise.
23834 * include/pwd.h: Likewise.
23835 * include/rpc/netdb.h: Likewise.
23836 * include/sched.h: Likewise.
23837 * include/search.h: Likewise.
23838 * include/shadow.h: Likewise.
23839 * include/signal.h: Likewise.
23840 * include/stdio.h: Likewise.
23841 * include/stdlib.h: Likewise.
23842 * include/string.h: Likewise.
23843 * include/sys/socket.h: Likewise.
23844 * include/sys/stat.h: Likewise.
23845 * include/sys/statfs.h: Likewise.
23846 * include/sys/statvfs.h: Likewise.
23847 * include/sys/syslog.h: Likewise.
23848 * include/sys/time.h: Likewise.
23849 * include/sys/uio.h: Likewise.
23850 * include/time.h: Likewise.
23851 * include/unistd.h: Likewise.
23852 * include/utmp.h: Likewise.
23853 * include/wchar.h: Likewise.
23854 * include/wctype.h: Likewise.
23855 * inet/aliases.h: Likewise.
23856 * inet/arpa/inet.h: Likewise.
23857 * inet/netinet/ether.h: Likewise.
23858 * inet/netinet/in.h: Likewise.
23859 * intl/libintl.h: Likewise.
23860 * io/bits/fcntl2.h: Likewise.
23861 * io/fcntl.h: Likewise.
23862 * io/ftw.h: Likewise.
23863 * io/sys/poll.h: Likewise.
23864 * io/sys/stat.h: Likewise.
23865 * io/sys/statfs.h: Likewise.
23866 * io/sys/statvfs.h: Likewise.
23867 * io/utime.h: Likewise.
23868 * libio/bits/stdio.h: Likewise.
23869 * libio/bits/stdio2.h: Likewise.
23870 * libio/libio.h: Likewise.
23871 * libio/libioP.h: Likewise.
23872 * libio/stdio.h: Likewise.
23873 * locale/lc-ctype.c: Likewise.
23874 * locale/locale.h: Likewise.
23875 * login/utmp.h: Likewise.
23876 * malloc/arena.c: Likewise.
23877 * malloc/malloc.c: Likewise.
23878 * malloc/malloc.h: Likewise.
23879 * malloc/mcheck.c: Likewise.
23880 * malloc/mtrace.c: Likewise.
23881 * math/bits/mathcalls.h: Likewise.
23882 * math/fenv.h: Likewise.
23883 * math/math_private.h: Likewise.
23884 * misc/bits/error.h: Likewise.
23885 * misc/bits/syslog.h: Likewise.
23886 * misc/err.h: Likewise.
23887 * misc/error.h: Likewise.
23888 * misc/fstab.h: Likewise.
23889 * misc/mntent.h: Likewise.
23890 * misc/regexp.h: Likewise.
23891 * misc/search.h: Likewise.
23892 * misc/sgtty.h: Likewise.
23893 * misc/sys/mman.h: Likewise.
23894 * misc/sys/syslog.h: Likewise.
23895 * misc/sys/uio.h: Likewise.
23896 * misc/sys/xattr.h: Likewise.
23897 * misc/ttyent.h: Likewise.
23898 * nis/rpcsvc/ypclnt.h: Likewise.
23899 * nss/nss.h: Likewise.
23900 * posix/bits/unistd.h: Likewise.
23901 * posix/fnmatch.h: Likewise.
23902 * posix/glob.h: Likewise.
23903 * posix/sched.h: Likewise.
23904 * posix/spawn.h: Likewise.
23905 * posix/sys/wait.h: Likewise.
23906 * posix/unistd.h: Likewise.
23907 * posix/wordexp.h: Likewise.
23908 * pwd/pwd.h: Likewise.
23909 * resolv/netdb.h: Likewise.
23910 * resource/sys/resource.h: Likewise.
23911 * rt/aio.h: Likewise.
23912 * rt/bits/mqueue2.h: Likewise.
23913 * rt/mqueue.h: Likewise.
23914 * shadow/shadow.h: Likewise.
23915 * signal/signal.h: Likewise.
23916 * socket/send.c: Likewise.
23917 * socket/sendto.c: Likewise.
23918 * socket/sys/socket.h: Likewise.
23919 * stdio-common/printf.h: Likewise.
23920 * stdlib/bits/stdlib.h: Likewise.
23921 * stdlib/fmtmsg.h: Likewise.
23922 * stdlib/monetary.h: Likewise.
23923 * stdlib/stdlib.h: Likewise.
23924 * stdlib/ucontext.h: Likewise.
23925 * streams/stropts.h: Likewise.
23926 * string/argz.h: Likewise.
23927 * string/bits/string2.h: Likewise.
23928 * string/string.h: Likewise.
23929 * string/strings.h: Likewise.
23930 * sunrpc/rpc/auth.h: Likewise.
23931 * sunrpc/rpc/auth_des.h: Likewise.
23932 * sunrpc/rpc/clnt.h: Likewise.
23933 * sunrpc/rpc/netdb.h: Likewise.
23934 * sunrpc/rpc/pmap_clnt.h: Likewise.
23935 * sunrpc/rpc/xdr.h: Likewise.
23936 * sysdeps/generic/inttypes.h: Likewise.
23937 * sysdeps/generic/net/if.h: Likewise.
23938 * sysdeps/generic/sys/swap.h: Likewise.
23939 * sysdeps/gnu/net/if.h: Likewise.
23940 * sysdeps/gnu/utmpx.h: Likewise.
23941 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23942 * sysdeps/i386/i486/bits/string.h: Likewise.
23943 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23944 * sysdeps/s390/bits/string.h: Likewise.
23945 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23946 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23947 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23948 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23949 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23950 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23951 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23952 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23953 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23954 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23955 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23956 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23957 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23958 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23959 * sysdeps/unix/sysv/linux/readv.c: Likewise.
23960 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23961 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23963 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23964 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23965 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23966 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23967 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23968 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23969 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23970 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23971 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23972 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23973 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23974 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23975 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23976 * sysvipc/sys/ipc.h: Likewise.
23977 * sysvipc/sys/msg.h: Likewise.
23978 * sysvipc/sys/sem.h: Likewise.
23979 * sysvipc/sys/shm.h: Likewise.
23980 * termios/termios.h: Likewise.
23981 * time/sys/time.h: Likewise.
23982 * time/time.h: Likewise.
23983 * wcsmbs/bits/wchar2.h: Likewise.
23984 * wcsmbs/uchar.h: Likewise.
23985 * wcsmbs/wchar.h: Likewise.
23986 * wctype/wctype.h: Likewise.
23987
0269750c
UD
23988 [BZ #13551]
23989 * Makeconfig: Remove all but ELF support including AIX support.
23990 * Makerules: Likewise.
23991 * config.h.in: Likewise.
23992 * config.make.in: Likewise.
23993 * configure: Likewise.
23994 * configure.in: Likewise.
23995 * csu/Makefile: Likewise.
23996 * csu/version.c: Likewise.
23997 * debug/Makefile: Likewise.
23998 * dlfcn/Makefile: Likewise.
23999 * elf/Makefile: Likewise.
24000 * extra-lib.mk: Likewise.
24001 * iconv/Makefile: Likewise.
24002 * include/libc-symbols.h: Likewise.
24003 * include/shlib-compat.h: Likewise.
24004 * resolv/Makefile: Likewise.
24005 * resolv/res_libc.c: Likewise.
24006 * rt/Makefile: Likewise.
24007 * sysdeps/i386/asm-syntax.h: Likewise.
24008 * sysdeps/i386/sysdep.h: Likewise.
24009 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24010 * sysdeps/mach/sysdep.h: Likewise.
24011 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24012 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24013 * sysdeps/s390/asm-syntax.h: Likewise.
24014 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24015 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24016 * sysdeps/sh/sysdep.h: Likewise.
24017 * sysdeps/unix/sparc/sysdep.h: Likewise.
24018 * sysdeps/wordsize-32/divdi3.c: Likewise.
24019 * sysdeps/x86_64/sysdep.h: Likewise.
24020
00bbd29b
UD
24021 * argp/Versions: Remove _argp_unlock_xxx.
24022
24023 [BZ #13559]
24024 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24025 * abilist/libBrokenLocale.abilist: Likewise.
24026 * abilist/libanl.abilist: Likewise.
24027 * abilist/libc.abilist: Likewise.
24028 * abilist/libcrypt.abilist: Likewise.
24029 * abilist/libdl.abilist: Likewise.
24030 * abilist/libm.abilist: Likewise.
24031 * abilist/libnsl.abilist: Likewise.
24032 * abilist/libpthread.abilist: Likewise.
24033 * abilist/libresolv.abilist: Likewise.
24034 * abilist/librt.abilist: Likewise.
24035 * abilist/libthread_db.abilist: Likewise.
24036 * abilist/libutil.abilist: Likewise.
24037 * abilist/libnss_db.abilist: New file.
24038
24039 * scripts/abilist.awk: Add support for indirect functions.
24040
a2693a0e
UD
24041 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24042
3f05895f
UD
24043 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24044
ecb6fb48
UD
24045 * shlib-versions: Remove entries for ports architectures.
24046
664f8cb9
UD
24047 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24048 files in ports.
24049 * elf/stackguard-macros.h: Remove support for IA-64.
24050 * elf/tst-auditmod1.c: Likewise.
24051 * sysdeps/generic/ldsodefs.h: Likewise.
24052
7ae81d88
UD
24053 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24054 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24055 configure files.
24056
bdeba135
UD
24057 [BZ #13552]
24058 * configure.in: Remove --enable-omitfp support.
24059 * FAQ.in: Adjust.
24060 * config.make.in: Likewise.
24061 * Makeconfig: Likewise.
24062 * manual/install.texi: Likewise.
24063
d75a0a62
UD
24064 In case anyone cares, the IA-64 architecture could move to ports.
24065 * sysdeps/ia64/*: Removed.
24066 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24067 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24068
dcc9756b
UD
24069 [BZ #13555]
24070 * configure.in: Remove entries for unsupported architectures.
24071
d3761ebc 24072 [BZ #13533]
9954432e
UD
24073 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24074 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24075 routines.
24076 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24077 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24078 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24079 fall back to using wcrtomb.
24080 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24081 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24082 renaming.
24083 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24084 * wcsmbs/tst-c16c32-1.c: New file.
24085
24086 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24087 local variable.
24088
c3a87236
UD
24089 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24090
28926a1b
UD
24091 * elf/tst-unique3.cc: Add explicit declaration of gets.
24092 * elf/tst-unique3lib.cc: Likewise.
24093 * elf/tst-unique3lib2.cc: Likewise.
24094 * elf/tst-unique4.cc: Likewise.
24095
df78418a
UD
24096 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24097
8ecd6b2a
JM
240982012-01-06 Joseph Myers <joseph@codesourcery.com>
24099
24100 [BZ #13566]
24101 * assert/assert.h (static_assert): Don't define for C++.
24102 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24103 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24104
9f115170
UD
241052012-01-03 Ulrich Drepper <drepper@gmail.com>
24106
5e0d0300
UD
24107 * iconv/loop.c (single loop): Fix assertion in storing of
24108 remaining bytes.
24109
9f115170
UD
24110 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24111
81fb02b0
UD
241122012-01-01 Ulrich Drepper <drepper@gmail.com>
24113
24114 * posix/getconf.c: Update copyright year.
24115 * nss/getent.c: Likewise.
a316c1f6 24116 * nss/makedb.c: Likewise.
81fb02b0
UD
24117 * iconv/iconvconfig.c: Likewise.
24118 * iconv/iconv_prog.c: Likewise.
24119 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24120 * elf/pldd.c: Likewise.
24121 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24122 * catgets/gencat.c: Likewise.
24123 * csu/version.c: Likewise.
24124 * elf/ldd.bash.in: Likewise.
24125 * elf/sprof.c (print_version): Likewise.
24126 * locale/programs/locale.c: Likewise.
24127 * locale/programs/localedef.c: Likewise.
a316c1f6 24128 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24129 * nscd/nscd.c (print_version): Likewise.
24130 * debug/xtrace.sh: Likewise.
24131 * malloc/memusage.sh: Likewise.
24132 * malloc/mtrace.pl: Likewise.
24133 * debug/catchsegv.sh: Likewise.
24134
2ba92745
JJ
241352011-12-30 Jakub Jelinek <jakub@redhat.com>
24136
24137 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24138 pure attribute.
24139
dadebdae
UD
241402011-12-24 Ulrich Drepper <drepper@gmail.com>
24141
d3761ebc 24142 [BZ #13533]
db6af3eb
UD
24143 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24144 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24145 transformations.
24146 * iconv/gconv_int.h: Likewise.
24147 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24148 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24149 from libc for GLIBC_2.16.
24150 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24151 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24152 * wcsmbs/uchar.h: Really define mbstate_t.
24153 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24154 * wcsmbs/c16rtomb.c: New file.
24155 * wcsmbs/mbrtoc16.c: New file.
24156 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24157 for C/POSIX locale.
24158 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24159 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24160
dadebdae
UD
24161 * wcsmbs/wchar.h: Add missing __restrict.
24162
67371b56
UD
241632011-12-23 Ulrich Drepper <drepper@gmail.com>
24164
74033a25
UD
24165 [BZ #13532]
24166 * time/Makefile (routines): Add timespec_get.
24167 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24168 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24169 timespec for ISO C11.
24170 * time/timespec_get.c: New file.
24171 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24172 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24173
380d7e87
UD
24174 [BZ #13531]
24175 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24176 * stdlib/stdlib.h: Declare aligned_alloc.
24177 * Versions.def: Add GLIBC_2.16 for libc.
24178 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24179
4e9e7a35
UD
24180 [BZ 13527]
24181 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24182 ISO C11.
24183
380d7e87 24184 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24185 code.
24186
03a71829
UD
24187 [BZ #13528]
24188 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24189
839e283e
UD
24190 [BZ #13529]
24191 * assert/assert.h (static_assert): Define.
24192
ce5294e2 24193 * version.h: Update for 2.16 development version.
90fa7312 24194
8d44e150 24195 [BZ #13526]
d7809905
UD
24196 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24197 _ISOC11_SOURCE.
24198
c0da14cd
UD
24199 * version.h (RELEASE): Bump for 2.15 release.
24200 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24201
530a3249
MP
24202 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24203 Patch by Marek Polacek <mpolacek@redhat.com>.
24204
67371b56
UD
24205 * bits/byteswap.h: Protect long long constants with __extension__.
24206 * sysdeps/i386/bits/byteswap.h: Likewise.
24207 * sysdeps/ia64/bits/byteswap.h: Likewise.
24208 * sysdeps/s390/bits/byteswap.h: Likewise.
24209 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24210
15db4de1
LD
242112011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24212
24213 [BZ #13540]
bbe315ea
LD
24214 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24215 destination buffer.
15db4de1
LD
24216 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24217
2b2596b1
MP
242182011-12-23 Marek Polacek <polacek@redhat.com>
24219
24220 * elf/dl-addr.c (determine_info): Add inline keyword.
24221 * elf/tst-auditmod4b.c (check_avx): Likewise.
24222 * elf/tst-auditmod6b.c (check_avx): Likewise.
24223 * elf/tst-auditmod6c.c (check_avx): Likewise.
24224 * elf/tst-auditmod7b.c (check_avx): Likewise.
24225
70c6c246
UD
242262011-12-23 Ulrich Drepper <drepper@gmail.com>
24227
24228 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24229 !__SSE_MATH__.
24230
c044cf14
LD
242312011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24232
15db4de1 24233 [BZ #13540]
c044cf14
LD
24234 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24235 processing for last bytes.
24236
6b13d9d9
BH
242372011-08-06 Bruno Haible <bruno@clisp.org>
24238
d455f537
BH
24239 [BZ #13061]
24240 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24241 U+0385, not to U+1FEE.
24242
6b13d9d9
BH
24243 [BZ #13062]
24244 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24245 entry for U+00A5 U+0301.
24246
db910efd
UD
242472011-12-22 Ulrich Drepper <drepper@gmail.com>
24248
27deeafc
UD
24249 [BZ #13166]
24250 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24251 buffer for the output is too small.
24252
aed9d171
UD
24253 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24254 optimization.
24255
db910efd
UD
24256 [BZ #13185]
24257 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24258 SSE flags if possible.
24259
2bd779ae
LD
242602011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24261
e7f9dac3 24262 [BZ #13540]
2bd779ae
LD
24263 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24264 processing for last bytes.
24265
154bfc16
JM
242662011-12-22 Joseph Myers <joseph@codesourcery.com>
24267
24268 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24269 (syscall-list-default-options, syscall-list-default-condition)
24270 (syscall-list-includes): Define.
24271 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24272 list of ABIs and options and #if conditions for each ABI. Do not
24273 handle common syscalls between ABIs specially.
24274 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24275 Remove.
24276 (syscall-list-variants, syscall-list-32bit-options)
24277 (syscall-list-32bit-condition, syscall-list-64bit-options)
24278 (syscall-list-64bit-condition): Define.
24279 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24280 (syscall-list-variants, syscall-list-32bit-options)
24281 (syscall-list-32bit-condition, syscall-list-64bit-options)
24282 (syscall-list-64bit-condition): Define.
24283 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24284 Remove.
24285 (syscall-list-variants, syscall-list-32bit-options)
24286 (syscall-list-32bit-condition, syscall-list-64bit-options)
24287 (syscall-list-64bit-condition): Define.
24288 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24289 Remove.
24290 (syscall-list-variants, syscall-list-32bit-options)
24291 (syscall-list-32bit-condition, syscall-list-64bit-options)
24292 (syscall-list-64bit-condition): Define.
24293
21eaf3a5
UD
242942011-12-22 Ulrich Drepper <drepper@gmail.com>
24295
16c6f992
UD
24296 * locale/iso-639.def: Add brx entry.
24297
41043168
UD
24298 [BZ #13328]
24299 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24300 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24301
21eaf3a5
UD
24302 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24303 __feraiseexcept_renamed.
24304
e3a851a2
UD
243052011-12-21 Ulrich Drepper <drepper@gmail.com>
24306
4920765e
UD
24307 [BZ #13538]
24308 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24309 EPOLLET with unsigned values.
24310 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24311 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24312
e3a851a2
UD
24313 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24314 to large cancellation.
24315 * math/s_cacoshf.c: Likewise.
24316 * math/s_cacoshl.c: Likewise.
24317
b27e24b8
RK
243182011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24319
24320 [BZ #13305]
aebefeee 24321 [BZ #12786]
b27e24b8
RK
24322 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24323 * math/s_cacoshf.c: Likewise.
24324 * math/s_cacoshl.c: Likewise.
24325
ee190f67
UD
243262011-12-21 Ulrich Drepper <drepper@gmail.com>
24327
24328 [BZ #13439]
24329 * iconv/gconv.h: Define __GCONV_SWAP.
24330 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24331 * iconvdata/utf-16.c: Likewise.
24332 * iconvdata/utf-32.c: Likewise.
24333
707f25df
AS
243342011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24335
24336 [BZ #13524]
24337 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24338 numerator after shifting it by one limb.
24339
d2daaa1e
RÁE
243402011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24341
24342 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24343 under [__USE_EXTERN_INLINES].
24344
a4647e72
UD
243452011-12-17 Ulrich Drepper <drepper@gmail.com>
24346
24347 [BZ #13446]
24348 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24349
f0b264f1
AZ
243502011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24351
24352 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24353 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24354 optimized code.
24355 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24356 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24357 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24358 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24359 for strncasecmp/strncasecmp_l compilation.
24360 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24361 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24362
8ef4f244
MP
243632011-12-08 Marek Polacek <mpolacek@redhat.com>
24364
24365 [BZ #13484]
24366 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24367 of __asm__.
24368
97ac2654
UD
243692011-12-17 Ulrich Drepper <drepper@gmail.com>
24370
24371 [BZ #13506]
24372 * time/tzfile.c (__tzfile_read): Check values from file header.
24373
91d2a845
WS
243742011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24375
24376 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24377 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24378 * powerpc/powerpc32/dl-start.S: Likewise.
24379 * powerpc/powerpc32/elf/start.S: Likewise.
24380 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24381 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24382 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24383 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24384 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24385 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24386 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24387 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24388 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24389 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24390 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24391 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24392 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24393 * powerpc/powerpc32/memset.S: Likewise.
24394 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24395 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24396 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24397 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24398 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24399 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24400 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24401 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24402 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24403 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24404 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24405 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24406 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24407
a1267ba1
AZ
244082011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24409
24410 * math/libm-test.inc: Added more nearbyint tests.
24411 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24412 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24413 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24414 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24415
ad8ac1bd
RL
244162011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24417
24418 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24419 FD_CLOEXEC.
24420
1d3e4b61
UD
244212011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24422
24423 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24424 Add wcscpy-ssse3 wcscpy-c.
24425 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24426 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24427 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24428 * sysdeps/x86_64/wcschr.S: New file.
24429 * sysdeps/x86_64/wcsrchr.S: New file.
24430 * string/test-strcmp.c: Remove checking of wcscmp function for
24431 wrong alignments.
24432 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24433 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24434 wcsrchr-sse2 wcsrchr-c.
24435 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24436 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24437 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24438 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24439 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24440 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24441 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24442 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24443 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24444 * wcsmbc/wcschr.c (WCSCHR): New macro.
24445
5b330a2d
UD
244462011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24447
24448 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24449 * wcsmbs/test-wcsrchr.c: New file.
24450 * string/test-strrchr.c: Add wcsrchr support.
24451 (WIDE): New macro.
24452 * wcsmbs/test-wcscpy.c: New file.
24453 * string/test-strcpy.c: Add wcscpy support.
24454 (WIDE): New macro.
26428b7c 24455
f039c043
UD
244562011-12-10 Ulrich Drepper <drepper@gmail.com>
24457
24458 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24459 the inner loop.
24460
850fb039
AS
244612011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24462
24463 [BZ #13472]
24464 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24465
4efbd5cb
UD
244662011-12-04 Ulrich Drepper <drepper@gmail.com>
24467
52ff5dd0 24468 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 24469 Minor optimizations.
52ff5dd0 24470
4efbd5cb
UD
24471 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24472 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24473 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24474
8a426e12
UD
244752011-12-03 Ulrich Drepper <drepper@gmail.com>
24476
aff2453d
UD
24477 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24478 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24479 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24480 for gcc to avoid warnings.
24481 * inet/Makefile (tests): Add tst-checks.
24482 * inet/tst-checks.c: New file.
24483
24484 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24485 warning.
24486
24487 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24488 __wmemcmp_sse2.
24489
24490 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24491 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24492
8a426e12
UD
24493 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24494
9bea3473
UD
244952011-12-02 Ulrich Drepper <drepper@gmail.com>
24496
3a965496
UD
24497 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24498 problem.
24499
9bea3473
UD
24500 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24501
f101631b
UD
245022011-11-29 Joseph Myers <joseph@codesourcery.com>
24503
24504 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24505 conditional on GCC version.
24506 (__arch_compare_and_exchange_val_8_acq)
24507 (__arch_compare_and_exchange_val_16_acq)
24508 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24509 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24510 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24511
a98275aa
UD
245122011-12-02 Joseph Myers <joseph@codesourcery.com>
24513
24514 * sysdeps/sh/backtrace.c: New file.
24515
d4cc29a2
AS
245162011-12-02 Andreas Schwab <schwab@redhat.com>
24517
24518 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24519 parenthesis.
24520
6257af2d
AS
245212011-12-01 Andreas Schwab <schwab@redhat.com>
24522
24523 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24524 falling back to utime.
24525
b5f44c1a
AS
245262011-11-30 Andreas Schwab <schwab@redhat.com>
24527
24528 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24529 expectations for float.
24530
f3a6cc0a
AS
245312011-11-29 Andreas Schwab <schwab@redhat.com>
24532
24533 * locale/weight.h (findidx): Add parameter len.
24534 * locale/weightwc.h (findidx): Likewise.
24535 * posix/fnmatch_loop.c (FCT): Adjust caller.
24536 * posix/regcomp.c (build_equiv_class): Likewise.
24537 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24538 * posix/regexec.c (check_node_accept_bytes): Likewise.
24539 * string/strcoll_l.c (STRCOLL): Likewise.
24540 * string/strxfrm_l.c (STRXFRM): Likewise.
24541
9d65ea3a
UD
245422011-11-17 Ulrich Drepper <drepper@gmail.com>
24543
24544 * Makefile.in: Remove CVSOPT handling.
24545 * configure.in: Remove use of AC_REVISION.
24546 * iconvdata/Makefile (distribute): No need to filter out CVS.
24547 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24548 handling.
24549
5583a086
AS
245502011-11-16 Andreas Schwab <schwab@redhat.com>
24551
24552 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24553 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24554 [USE_AS_STRNCASECMP_L]: Likewise.
24555 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24556 NO_TLS_DIRECT_SEG_REFS.
24557 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24558 Fix argument offsets for non-PIC.
24559 [USE_AS_STRNCASECMP_L]: Likewise.
24560 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24561 NO_TLS_DIRECT_SEG_REFS.
24562
d62a8200
UD
245632011-11-15 Ulrich Drepper <drepper@gmail.com>
24564
9d65ea3a 24565 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
24566 O_CLOEXEC.
24567 * locale/loadlocale.c (_nl_load_locale): Likewise.
24568
09f93bd3
AS
245692011-11-15 Andreas Schwab <schwab@redhat.com>
24570
446514f9
AS
24571 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24572 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24573 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24574 (SYSCALL_GETTIME): Set errno on error.
24575
09f93bd3
AS
24576 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24577 count references to noai6ai_cached.
24578
312be3f9
UD
245792011-11-15 Ulrich Drepper <drepper@gmail.com>
24580
24581 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24582
24583 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24584 FD_CLOEXEC for /proc/self/maps.
24585
24586 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24587 FD_CLOEXEC for /proc/meminfo.
24588
24589 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24590 gai.conf.
24591
24592 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24593 FD_CLOEXEC for given file.
24594
24595 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24596
24597 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24598 FD_CLOEXEC for /etc/hosts.
24599 (_gethtent): Likewise.
24600
24601 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24602
24603 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24604 cancellation and set FD_CLOEXEC for /etc/netgroup.
24605
24606 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24607 reading /etc/publickey.
24608
24609 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24610 allow cancellation when reading /etc/group.
24611
24612 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24613 cancellation.
24614 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24615
24616 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24617 when using data file.
24618
24619 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24620
24621 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24622 (write_nis_obj): Use "c" and "e" in fopen.
24623
24624 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24625
24626 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24627
24628 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24629
24630 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24631
24632 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24633 locale.alias.
24634
24635 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24636
24637 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24638
24639 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24640
24641 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24642 file parsing and set FD_CLOEXEC.
24643
82af0fa8
UD
246442011-11-14 Ulrich Drepper <drepper@gmail.com>
24645
24646 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24647
a5fb313c
AS
246482011-11-14 Andreas Schwab <schwab@redhat.com>
24649
24650 * malloc/arena.c (arena_get2): Don't call reused_arena when
24651 _int_new_arena failed.
24652
6abf3465
UD
246532011-11-14 Ulrich Drepper <drepper@gmail.com>
24654
24655 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24656 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24657 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24658 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24659 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24660 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24661 to compile strcasecmp and strncasecmp.
24662 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24663 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24664
24665 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24666
76e3966e
UD
246672011-11-13 Ulrich Drepper <drepper@gmail.com>
24668
24669 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24670 locale-defines.sym to gen-as-const-headers.
24671 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24672 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24673 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24674 to compile strcasecmp and strncasecmp.
24675 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24676 strcasecmp_l and strncasecmp_l.
24677 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24678 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24679 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24680 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24681 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24682 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24683 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24684 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24685 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24686 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24687 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24688
ab26144e
UD
246892011-11-12 Ulrich Drepper <drepper@gmail.com>
24690
7edb22ef
UD
24691 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24692 result of SYSDEP_GETTIME_CPU to retval.
24693 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24694 parameter list to macro. Remove trailing semicolon. Adjust users.
24695
9694fc44
UD
24696 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24697 variable.
24698
8ad89ef8
UD
24699 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24700 mantissa words.
24701 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24702
0c822ef9
UD
24703 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24704 from unused variable.
24705
874e0564
UD
24706 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24707 DWARF definitions.
24708 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24709 for assembling.
24710
3a2edc79
UD
24711 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24712 over namespaces.
24713
f3c2577f
UD
24714 * sunrpc/rpc_prot.c (rejected): Fix case value.
24715
294ce126
UD
24716 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24717 unsigned long long int to avoid warnings in shift.
24718
5e2b63c6
UD
24719 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24720 of use of trans.
24721 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24722 variable tmp.
24723
e7f4b08e
UD
24724 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24725 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24726 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24727
ab26144e
UD
24728 * nis/nis_table.c (nis_list): Use variable of correct type for
24729 result of __follow_path call.
24730
8a6d5255
AZ
247312011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24732
24733 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24734 of math functions ceil, trunc, floor, round, and sqrt, when
24735 avaliable on the platform.
24736 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24737 name clash.
24738 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24739 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24740 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24741
aaddc98c
MP
247422011-10-30 Marek Polacek <mpolacek@redhat.com>
24743
24744 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24745 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24746
95b7042b
RM
247472011-11-11 Roland McGrath <roland@hack.frob.com>
24748
24749 * include/unistd.h: Fix __readlink return type.
24750 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24751
57769839
UD
247522011-11-11 Ulrich Drepper <drepper@gmail.com>
24753
24754 * stdlib/ucontext.h: Undo last change for makecontext.
24755
edc5984d
AS
247562011-11-11 Andreas Schwab <schwab@redhat.com>
24757
98591e58
AS
24758 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24759
edc5984d
AS
24760 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24761 * setjmp/setjmp.h: Mark functions as non-leaf.
24762 * setjmp/bits/setjmp2.h: Likewise.
24763 * stdlib/ucontext.h: Likewise.
24764
77cdc054
AS
247652011-11-10 Andreas Schwab <schwab@redhat.com>
24766
24767 * malloc/arena.c (_int_new_arena): Don't increment narenas.
24768 (reused_arena): Don't check arena limit.
24769 (arena_get2): Atomically check arena limit.
24770
fe72eebd
UD
247712011-11-08 Ulrich Drepper <drepper@gmail.com>
24772
5f078c32
UD
24773 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24774 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24775
fe72eebd
UD
24776 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24777 instructions.
24778
ae1bc2fa
AS
247792011-11-07 Andreas Schwab <schwab@redhat.com>
24780
7583a88d
AS
24781 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24782 handler when locking.
24783
ae1bc2fa
AS
24784 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24785 Fix size of allocated buffer.
24786
10fb0bfa
AS
247872011-11-04 Andreas Schwab <schwab@redhat.com>
24788
998832a4
AS
24789 [BZ #10103]
24790 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24791 declarations for long double functions.
24792 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24793
10fb0bfa
AS
24794 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24795
3d7ba52b
AS
247962011-11-03 Andreas Schwab <schwab@redhat.com>
24797
a9ae54a1
AS
24798 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24799 installed.
24800
3d7ba52b
AS
24801 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24802 is disabled.
24803
bc8db248
ST
248042011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24805
24806 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24807
45b96dd6
AS
248082011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24809
647776f6
AS
24810 * include/alloca.h (stackinfo_alloca_round): Define.
24811 (extend_alloca): Use it.
24812 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24813 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24814 here.
24815
d91a8b93
AS
24816 * scripts/check-local-headers.sh: Ignore libaudit.h.
24817
45b96dd6
AS
24818 * nscd/Makefile (extra-objs): Make recursively expanded.
24819
432d41ce
UD
248202011-11-01 Ulrich Drepper <drepper@gmail.com>
24821
34372fc6
UD
24822 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24823 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24824
fadb59f8
UD
24825 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24826 * posix/tst-rfc3484-2.c: Likewise.
24827 * posix/tst-rfc3484-3.c: Likewise.
24828
78239589
UD
24829 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24830 process_vm_writev.
24831 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24832 process_vm_writev.
24833 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24834 process_vm_writev from libc using GLIBC_2.15 version.
24835
432d41ce
UD
24836 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24837
02f9c6cf
PP
248382011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24839
24840 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24841 stack usage.
24842
3a2c0242
UD
248432011-10-31 Ulrich Drepper <drepper@gmail.com>
24844
f4ec4833
UD
24845 [BZ #13367]
24846 * nss/getent.c (initgroups_keys): Show error message in case no group
24847 names are given.
24848
3a2c0242
UD
24849 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24850 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24851 __bump_nl_timestamp.
24852 * nscd/connections (nscd_init): When host database is served open
24853 netlink socket and request notification about configuration changes.
24854 (main_loop_poll): Track netlink file descriptor and bump timestamp
24855 in case data becomes available.
24856 (main_loop_epoll): Likewise.
24857 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24858 (database_pers_head): Add extra_data fileds.
24859 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24860 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24861 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24862 Adjust caller.
24863 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24864 in6ai data, call __free_in6ai.
24865 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24866 Add -DHAVE_NETLINK.
24867 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
24868 interface information. Reuse previous data if netlink timestamp
24869 is not changed.
24870 (__bump_nl_timestamp): New function.
24871 (__free_in6ai): New function.
24872
636064eb
UD
248732011-10-30 Ulrich Drepper <drepper@gmail.com>
24874
24875 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24876 close_not_cancel_no_status here.
24877 (__check_pf): Reorganize code a bit to not call close twice if OOM.
24878
9beb2334
UD
248792011-10-29 Ulrich Drepper <drepper@gmail.com>
24880
6ef76f3b
UD
24881 [BZ #13276]
24882 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24883 return value.
24884
0ffc4f3e 24885 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
24886 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24887 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24888
cb95113e
UD
248892011-07-03 Andreas Jaeger <aj@suse.de>
24890
24891 [BZ #10709]
24892 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24893 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24894 * math/libm-test.inc (sin_test): Add test case.
24895
a1b560ff
UD
248962011-10-29 Ulrich Drepper <drepper@gmail.com>
24897
c9aaface
UD
24898 [BZ #13337]
24899 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24900 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24901
d272e7f1
UD
24902 * elf/chroot_canon.c (chroot_canon): Cleanups.
24903
1bc33071
UD
24904 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24905
1760874d
TJ
24906 [BZ #13335]
24907 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24908 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24909
51d91b18
UD
24910 * string/test-strchr.c: Make usable for strchrnul testing.
24911 * string/test-strchrnul.c: New file.
24912 * string/Makefile (strop-tests): Add strchrnul.
24913
a1b560ff 24914 * po/it.po: Update from translation team.
b611fb81 24915 * po/es.po: Likewise.
a1b560ff 24916
a5b81e1f
UD
249172011-10-28 Ulrich Drepper <drepper@gmail.com>
24918
fd52bc6d
UD
24919 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24920 the three constants needed as parameters. Drop the others.
24921 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24922 __m128i_strloadu_tolower.
52e4b9eb
UD
24923 Create and initialize variable zero and use it in all the places
24924 where _mm_setzero_si128 was used.
fd52bc6d 24925
a5b81e1f
UD
24926 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24927 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24928 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24929 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24930 anymore.
24931 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24932 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24933 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24934 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24935 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24936 __mpranred, __mptan.
24937 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24938 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24939 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24940 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24941 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24942 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24943 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24944 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24945 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24946
b4343346
AS
249472011-10-28 Andreas Schwab <schwab@redhat.com>
24948
0c92d8a8
AS
24949 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24950 redefine if SHARED.
24951 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24952
b4343346
AS
24953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24954 wide char related routines to wcsmbs subdir.
24955
3871f58f
AS
249562011-10-27 Andreas Schwab <schwab@redhat.com>
24957
24958 [BZ #13344]
24959 * misc/sys/cdefs.h (__THROWNL): Define.
24960 * posix/unistd.h: Use __THREADNL instead of __THREAD
24961 for memory synchronization functions.
24962
94d44d9f
RM
249632011-10-26 Roland McGrath <roland@hack.frob.com>
24964
21b64b15 24965 [BZ #13349]
94d44d9f
RM
24966 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24967 doesn't exist.
24968 * manual/stdio.texi (Obstack Streams): Node removed.
24969
f6ce9294
AS
249702011-10-26 Andreas Schwab <schwab@redhat.com>
24971
80479147
AS
24972 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24973 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24974 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24975
f6ce9294
AS
24976 * math/math_private.h (math_force_eval): Allow non-addressable
24977 arguments.
24978 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24979
618280a1
UD
249802011-10-25 Ulrich Drepper <drepper@gmail.com>
24981
e0016b11
UD
24982 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24983 file is not needed.
24984
24985 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24986 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24987 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24988 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24989 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24990 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24991 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24992 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24993 Add AVX variants.
24994 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24995 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24996 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24997 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24998 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24999 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25000 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25001 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25002 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25003 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25004 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25005 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25006 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25007 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25008 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25009 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25010 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25011 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25012 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25013
25014 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25015 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25016
618280a1
UD
25017 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25018 place. Use VEX encoding when compiling for AVX.
25019
37822576
AS
250202011-10-25 Andreas Schwab <schwab@redhat.com>
25021
1f1e1947
AS
25022 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25023 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25024
37822576
AS
25025 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25026
31ea014d
UD
250272011-10-25 Ulrich Drepper <drepper@gmail.com>
25028
d7826aa1 25029 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25030 useless if() expression.
d7826aa1
UD
25031 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25032 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25033 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25034 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25035 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25036 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25037 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25038 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25039 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25040 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25041 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25042 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25043 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25044 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25045 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25046 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25047 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25048 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25049 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25050
31ea014d
UD
25051 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25052
16437fec
AS
250532011-10-25 Andreas Schwab <schwab@redhat.com>
25054
25055 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25056 condition.
25057 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25058
31d3cc00
UD
250592011-10-25 Ulrich Drepper <drepper@gmail.com>
25060
25061 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25062 .text section. Avoid duplicate constants.
25063 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25064 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25065 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25066 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25067 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25068 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25070 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25071 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25072 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25073 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25074 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25075 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25076 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25077 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25078 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25079 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25080 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25081 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25082 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25083 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25084 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25085 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25086 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25087 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25088 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25089 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25090 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25091 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25092 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25093 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25094 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25095 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25096 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25097 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25098 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25099 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25100 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25101 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25102 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25103 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25104 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25105 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25106 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25107 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25108
58985aa9
UD
251092011-10-24 Ulrich Drepper <drepper@gmail.com>
25110
202c9deb
UD
25111 * sysdeps/x86_64/dla.h: Move to ...
25112 * sysdeps/x86_64/fpu/dla.h: ...here.
25113 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25114 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25115
af968f62
UD
25116 * config.make.in: Add have-mfma4 entry.
25117 * configure.in: Substitute libc_cv_cc_fma4.
25118 * math/Makefile (dbl-only-routines): Add sincostab.
25119 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25120 Use __sincostab not sincos.
25121 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25122 name is a macro.
25123 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25124 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25125 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25127 using __copysign.
25128 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25129 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25130 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25131 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25132 and __inv.
25133 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25134 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25135 __copysign.
25136 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25137 define aliases when function name is a macro.
25138 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25139 sysdeps/ieee754/dbl-64/sincos.tbl.
25140 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25141 fma4-enabled routines.
25142 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25143 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25144 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25145 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25146 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25147 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25148 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25149 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25150 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25151 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25152 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25153 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25154 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25155 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25156 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25157 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25158 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25159 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25160 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25161 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25162 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25163 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25164 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25165 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25166 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25167 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25168 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25169 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25170 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25171 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25172
58985aa9
UD
25173 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25174 rename.
25175 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25176 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25177 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25178 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25179 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25180 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25181 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25182 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25183
a201fbcf
AS
251842011-10-24 Andreas Schwab <schwab@redhat.com>
25185
25186 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25187
fc2ee42a
LD
251882011-10-23 Ulrich Drepper <drepper@gmail.com>
25189
bb3129bd
UD
25190 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25191
0275fff8
UD
25192 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25193 prediction.
25194 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25195
2fa2ae85
UD
25196 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25197 Remove unused variable magic_bits.
25198 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25199
fc2ee42a
LD
25200 * string/strnlen.c: Define and use STRNLEN macro.
25201 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25202 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25203 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25204 * wcsmbs/wcslen.c: Define and use WCSLEN.
25205 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25206 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25207 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25208 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25209 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25210 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25211 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25212
ce7dd29f
LD
252132011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25214
25215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25216 strnlen-sse2-no-bsf.
25217 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25218 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25219 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25220 Add strnlen support.
25221 (USE_AS_STRNLEN): New macro.
25222 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25223 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25224 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25225 * sysdeps/x86_64/wcslen.S: New file.
25226
979c70a3
MZ
252272011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25228
25229 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25230 XMM-moves are used for copying on small sizes.
25231
2d09f82f
LD
252322011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25233
25234 * wcsmbs/Makefile (strop-tests): Add wcschr.
25235 * wcsmbs/test-wcschr.c: New file.
25236 * string/test-strchr.c: Update.
25237 Add wcschr support.
25238 (WIDE): New macro.
25239
619fccca
LD
252402011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25241
2d09f82f 25242 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
25243 * wcsmbs/test-wcslen.c: New file.
25244 * string/test-strlen.c: Update.
25245 Add wcslen support.
25246 (WIDE): New macro.
25247
09f699ea
UD
252482011-10-23 Ulrich Drepper <drepper@gmail.com>
25249
25250 * po/it.po: Update from translation team.
25251
95584d3b
LD
252522011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25253
25254 * sysdeps/x86_64/wcscmp.S: Update.
25255 Fix wrong comparison semantics.
25256 wcscmp shall use signed comparison not unsigned.
25257 Don't use substraction to avoid overflow bug.
25258 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25259 * wcsmbc/wcscmp.c: Likewise.
25260 * string/test-strcmp.c: Likewise.
25261 Add new tests to check cases with negative values.
25262
c8b3296b
UD
252632011-10-23 Ulrich Drepper <drepper@gmail.com>
25264
25265 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25266 * sysdeps/x86_64/dla.h: ...here. New file.
25267 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25268 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25269 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25270 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25271 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25272 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25273 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25274 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25275 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25276
246ad57a
AS
252772011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25278
25279 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25280 __ynl_finite aliases.
25281
a1a87169
UD
252822011-10-22 Ulrich Drepper <drepper@gmail.com>
25283
0d355eb7
UD
25284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25285
a1a87169
UD
25286 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25287 define DLA_FMA.
25288 [DLA_FMA] (EMULV): Use DLA_FMA.
25289 [DLA_FMA] (MUL12): Use EMULV.
25290 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25291 that are not needed.
25292 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25293 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25294 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25295 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25296 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25297 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25298 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25299
ee2aafe0
AS
253002011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25301
25302 * math/s_nan.c: Undef __nan.
25303 * math/s_nanf.c: Undef __nanf.
25304 * math/s_nanl.c: Undef __nanl.
25305 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25306 "math_private.h".
25307
bc62c2fb
UD
253082011-10-22 Ulrich Drepper <drepper@gmail.com>
25309
77425c63
UD
25310 * math/s_catan.c: Add branch predictions.
25311 * math/s_catanf.c: Likewise.
25312 * math/s_catanh.c: Likewise.
25313 * math/s_catanhf.c: Likewise.
25314 * math/s_catanhl.c: Likewise.
25315 * math/s_catanl.c: Likewise.
25316 * math/s_cexp.c: Likewise.
25317 * math/s_cexpf.c: Likewise.
25318 * math/s_cexpl.c: Likewise.
25319 * math/s_clog.c: Likewise.
25320 * math/s_clog10.c: Likewise.
25321 * math/s_clog10f.c: Likewise.
25322 * math/s_clog10l.c: Likewise.
25323 * math/s_clogf.c: Likewise.
25324 * math/s_clogl.c: Likewise.
25325 * math/s_csqrt.c: Likewise.
25326 * math/s_csqrtf.c: Likewise.
25327 * math/s_csqrtl.c: Likewise.
25328 * math/s_ctanf.c: Likewise.
25329 * math/s_ctanh.c: Likewise.
25330 * math/s_ctanhf.c: Likewise.
25331 * math/s_ctanhl.c: Likewise.
25332 * math/s_ctanl.c: Likewise.
25333
bc62c2fb
UD
25334 * math/math_private.h: Define __nan, __nanf, __nanl.
25335 * math/s_cacosh.c: Include <math_private.h>.
25336 * math/s_cacoshl.c: Likewise.
25337 * math/s_casinh.c: Likewise.
25338 * math/s_casinhf.c: Likewise.
25339 * math/s_casinhl.c: Likewise.
25340 * math/s_ccos.c: Rely entire on ccosh.
25341 * math/s_ccosf.c: Rely entire on ccoshf.
25342 * math/s_ccosl.c: Rely entirely on ccoshl.
25343 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25344 Remove tests for FE_INVALID.
25345 * math/s_ccoshf.c: Likewise.
25346 * math/s_ccoshl.c: Likewise.
25347 * math/s_csin.c: Likewise.
25348 * math/s_csinf.c: Likewise.
25349 * math/s_csinh.c Likewise.
25350 * math/s_csinhf.c: Likewise.
25351 * math/s_csinhl.c: Likewise.
25352 * math/s_csinl.c: Likewise.
25353 * math/s_ctan.c: Likewise.
25354 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25355 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25356 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25357
8ec250a4
UD
253582011-10-21 Ulrich Drepper <drepper@gmail.com>
25359
c196fed8
UD
25360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25361 compilation problems.
25362
8ec250a4
UD
25363 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25364 __builtin_expect.
25365
8d4f46c6
UD
253662011-10-20 Ulrich Drepper <drepper@gmail.com>
25367
ed72b654
UD
25368 * sysdeps/i386/configure.in: Test for -mfma4 option.
25369 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25370 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25371 COMMON_CPUID_INDEX_80000001.
25372 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25373 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25374 use it if FMA3 is not supported.
25375 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25376
8d4f46c6
UD
25377 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25378 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25379
d45c60c2
AS
253802011-10-20 Andreas Schwab <schwab@redhat.com>
25381
25382 [BZ #12892]
25383 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25384 it would create a cycle with a link time dependency.
25385
d9a4d2ab
UD
253862011-10-19 Ulrich Drepper <drepper@gmail.com>
25387
855d1560
UD
25388 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25389 instruction.
25390 * string/Makefile (strop-tests): Add rawmemchr.
25391 * string/test-rawmemchr.c: New file.
25392
d9a4d2ab
UD
25393 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25394 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25395 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25396 when compiling str{,n}casecmp and when AVX is available. Hook up
25397 new optimized code in initializers.
25398
8f3b1ffe
AS
253992011-10-19 Andreas Schwab <schwab@redhat.com>
25400
25401 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25402 __feraiseexcept instead of feraiseexcept.
25403
d38f1dba
UD
254042011-10-18 Ulrich Drepper <drepper@gmail.com>
25405
d9a8d0ab
UD
25406 * math/math_private.h: Define defaults for libc_fetestexcept and
25407 libc_feupdateenv.
25408 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25409 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25410 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25411 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25412 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25413 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25414 libc_fetestexcept and libc_feupdateenv.
25415
4855e3dd
UD
25416 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25417 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25418 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25419 * sysdeps/x86_64/fpu/math_private.h: Define special version of
25420 libc_feholdexcept_setround.
25421
581d30e3
UD
25422 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25423 Add s_nearbyint-c and s_nearbyintf-c.
25424 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25425 nearbyintf inlines.
25426 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25427 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25428 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25429 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25430
d38f1dba
UD
25431 * math/math_private.h: Define defaults for libc_fegetround,
25432 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25433 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25434 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25435 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25436 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25437 standard functions.
25438 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25439 Remove comments and hacks for old compiler versions.
25440 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25441 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25442 libc_feholdexceptl.
25443
caa6c9d8
AS
254442011-10-18 Andreas Schwab <schwab@redhat.com>
25445
25446 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
25447 (__feraiseexcept_renamed): Add __NTH.
25448 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
25449 namespace violations.
25450
97c066e6
UD
254512011-10-17 Ulrich Drepper <drepper@gmail.com>
25452
99ce7b04
UD
25453 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25454
1004d182
UD
25455 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25456
228a984d
UD
25457 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25458 recently added interfaces.
25459 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25460
c8553a6a
UD
25461 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25462 about macro parameter expansion.
25463
ed22dcf6
UD
25464 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25465 __NO_MATH_INLINES is defined. Cleanups.
25466
25467 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25468 and __floorf is target has SSE4.1.
25469 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25470 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25471 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25472 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25473
b171c137
UD
25474 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25475 name.
25476 (floorf): Likewise.
25477
97c066e6
UD
25478 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25479
629f62ef
AS
254802011-10-17 Andreas Schwab <schwab@redhat.com>
25481
49a43d80
AS
25482 * misc/sys/cdefs.h: Fix last change.
25483
629f62ef
AS
25484 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25485 database lookup.
25486
e453f6cd
UD
254872011-10-16 Ulrich Drepper <drepper@gmail.com>
25488
aa78043a
UD
25489 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25490
ad0f5cad
UD
25491 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25492 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25494 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25495 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25496 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25497 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25498 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25499 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25500 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25501 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25502 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25503 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25504 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25505 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25506 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25507 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25508 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25509 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25510 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25511 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25512 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25513
25514 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25515 ceil, ceilf, floor, floorf.
25516
25517 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25518 Perform IRELATIVE relocations last.
25519
e453f6cd
UD
25520 * elf/do-rel.h: Add another parameter nrelative, replacing the
25521 local variable with the same name. Change name of the function
25522 to end in Rel or Rela (uppercase).
25523 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25524 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25525 elf_dynamic_do_##reloc function.
25526
fd5bdc09
UD
255272011-10-15 Ulrich Drepper <drepper@gmail.com>
25528
79b195b5
UD
25529 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25530 is sufficient, at least on modern CPUs.
25531
d4a28569
UD
25532 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25533
b61099b5
UD
25534 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25535 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25536
bcf01e6d
UD
25537 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25538 __expl_finite.
25539 * math/bits/math-finite.h: Add entries for exp.
25540 * math/e_expl.c: Add __*_finite alias.
25541 * sysdeps/i386/fpu/e_exp.S: Likewise.
25542 * sysdeps/i386/fpu/e_expf.S: Likewise.
25543 * sysdeps/i386/fpu/e_expl.c: Likewise.
25544 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25545 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25546 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25547 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25548 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25549 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25550 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25551
ba1a0d59
UD
25552 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25553 is sufficient, at least on modern CPUs.
25554
fd5bdc09
UD
25555 * ctype/ctype-info.c (__ctype_init): Define.
25556 * include/ctype.h (__ctype_init): Declare.
25557 (__ctype_b_loc): The variable is always initialized.
25558 (__ctype_toupper_loc): Likewise.
25559 (__ctype_tolower_loc): Likewise.
25560 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25561 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25562
7872cfb0
AS
255632011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25564
b468825a
AS
25565 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25566
7872cfb0
AS
25567 * configure.in: Also look in $cxxmachine/include for C++ system
25568 headers.
25569
be13f7bf
LD
255702011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25571
25572 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25573 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25574 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25575 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25576 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25577 (USE_AS_WMEMCMP): New macro.
25578 Fixing indents.
25579 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25580 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25581 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25582 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25584 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25585 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25586 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25587 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25588 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25589 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25590 (USE_AS_WMEMCMP): New macro.
25591 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25592 * sysdeps/string/test-memcmp.c: Update.
25593 Fix simple_wmemcmp.
25594 Add new tests.
25595 * wcsmbs/wmemcmp.c: Update.
25596 (WMEMCMP): New macro.
25597 Fix overflow bug.
25598
556a2007
AJ
255992011-10-12 Andreas Jaeger <aj@suse.de>
25600
25601 [BZ #13268]
25602 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25603
538faaa7
UD
256042011-10-15 Ulrich Drepper <drepper@gmail.com>
25605
ab6737ff
UD
25606 * libio/iofwide.c (do_length): Avoid warning.
25607
538faaa7
UD
25608 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25609
396a21b1
UD
256102011-10-14 Ulrich Drepper <drepper@gmail.com>
25611
cdf2901f
UD
25612 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25613
38ad40ce
UD
25614 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25615 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25616 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25617 * sysdeps/i386/i686/fpu/e_log.S: New file.
25618 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25619 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25620
396a21b1
UD
25621 * ctype/ctype.h: Add support for inlined isXXX functions when
25622 compiling C++ code.
25623
6b1f68c9
AS
256242011-10-14 Andreas Schwab <schwab@redhat.com>
25625
349290c0
AS
25626 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25627
6b1f68c9
AS
25628 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25629
f2282d42
RM
256302011-10-13 Roland McGrath <roland@hack.frob.com>
25631
25632 [BZ #13291]
25633 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25634
5298ffa8
AS
256352011-10-13 Andreas Schwab <schwab@redhat.com>
25636
714fad23
AS
25637 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25638 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25639 feraiseexcept.
25640
81dcc7fb
AS
25641 * sysdeps/x86_64/memrchr.S: Check for zero size.
25642
5298ffa8
AS
25643 * string/stratcliff.c: Add memrchr tests.
25644
951fbcec
LD
256452011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25646
25647 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25648 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25649 rawmemchr-sse2 rawmemchr-sse2-bsf.
25650 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25651 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25652 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25653 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25654 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25655 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25656 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25657 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25658 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25659 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25660 * string/memrchr.c (MEMRCHR): New macro.
25661
0ac5ae23
UD
256622011-10-12 Ulrich Drepper <drepper@gmail.com>
25663
25664 Add integration with gcc's -ffinite-math-only and optimize wrapper
25665 functions in libm.
25666 * Versions.def: Define GLIBC_2.15 version for libm.
25667 * math/Makefile (headers): Add bits/math-finite.h.
25668 * math/bits/math-finite.h: New file.
25669 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25670 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25671 * math/e_acoshl.c: Add __*_finite alias.
25672 * math/e_acosl.c: Likewise.
25673 * math/e_asinl.c: Likewise.
25674 * math/e_atan2l.c: Likewise.
25675 * math/e_atanhl.c: Likewise.
25676 * math/e_coshl.c: Likewise.
25677 * math/e_exp10.c: Likewise.
25678 * math/e_exp10f.c: Likewise.
25679 * math/e_exp10l.c: Likewise.
25680 * math/e_exp2l.c: Likewise.
25681 * math/e_fmodl.c: Likewise.
25682 * math/e_gammal_r.c: Likewise.
25683 * math/e_hypotl.c: Likewise.
25684 * math/e_j0l.c: Likewise.
25685 * math/e_j1l.c: Likewise.
25686 * math/e_jnl.c: Likewise.
25687 * math/e_lgammal_r.c: Likewise.
25688 * math/e_log10l.c: Likewise.
25689 * math/e_log2l.c: Likewise.
25690 * math/e_logl.c: Likewise.
25691 * math/e_powl.c: Likewise.
25692 * math/e_sinhl.c: Likewise.
25693 * math/e_sqrtl.c: Likewise.
25694 * math/e_scalb.c: Completely rewritten and optimized.
25695 * math/e_scalbf.c: Likewise.
25696 * math/e_scalbl.c: Likewise.
25697 * math/w_acos.c: Likewise.
25698 * math/w_acosf.c: Likewise.
25699 * math/w_acosl.c: Likewise.
25700 * math/w_acosh.c: Likewise.
25701 * math/w_acoshf.c: Likewise.
25702 * math/w_acoshl.c: Likewise.
25703 * math/w_asin.c: Likewise.
25704 * math/w_asinf.c: Likewise.
25705 * math/w_asinl.c: Likewise.
25706 * math/w_atan2.c: Likewise.
25707 * math/w_atan2f.c: Likewise.
25708 * math/w_atan2l.c: Likewise.
25709 * math/w_atanh.c: Likewise.
25710 * math/w_atanhf.c: Likewise.
25711 * math/w_atanhl.c: Likewise.
25712 * math/w_exp10.c: Likewise.
25713 * math/w_exp10f.c: Likewise.
25714 * math/w_exp10l.c: Likewise.
25715 * math/w_fmod.c: Likewise.
25716 * math/w_fmodf.c: Likewise.
25717 * math/w_fmodl.c: Likewise.
25718 * math/w_j0.c: Likewise.
25719 * math/w_j0f.c: Likewise.
25720 * math/w_j0l.c: Likewise.
25721 * math/w_j1.c: Likewise.
25722 * math/w_j1f.c: Likewise.
25723 * math/w_j1l.c: Likewise.
25724 * math/w_jn.c: Likewise.
25725 * math/w_jnf.c: Likewise.
25726 * math/w_log.c: Likewise.
25727 * math/w_logf.c: Likewise.
25728 * math/w_logl.c: Likewise.
25729 * math/w_log10.c: Likewise.
25730 * math/w_log10f.c: Likewise.
25731 * math/w_log10l.c: Likewise.
25732 * math/w_log2.c: Likewise.
25733 * math/w_log2f.c: Likewise.
25734 * math/w_log2l.c: Likewise.
25735 * math/w_pow.c: Likewise.
25736 * math/w_powf.c: Likewise.
25737 * math/w_powl.c: Likewise.
25738 * math/w_remainder.c: Likewise.
25739 * math/w_remainderf.c: Likewise.
25740 * math/w_remainderl.c: Likewise.
25741 * math/w_scalb.c: Likewise.
25742 * math/w_scalbf.c: Likewise.
25743 * math/w_scalbl.c: Likewise.
25744 * math/w_sqrt.c: Likewise.
25745 * math/w_sqrtf.c: Likewise.
25746 * math/w_sqrtl.c: Likewise.
25747 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25748 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
25749 used.
25750 * math/math_private.h: Declare __kernel_standard_f.
25751 * math/w_cosh.c: Remove cruft and optimize a bit.
25752 * math/w_coshf.c: Likewise.
25753 * math/w_coshl.c: Likewise.
25754 * math/w_exp2.c: Likewise.
25755 * math/w_exp2f.c: Likewise.
25756 * math/w_exp2l.c: Likewise.
25757 * math/w_hypot.c: Likewise.
25758 * math/w_hypotf.c: Likewise.
25759 * math/w_hypotl.c: Likewise.
25760 * math/w_lgamma.c: Likewise.
25761 * math/w_lgamma_r.c: Likewise.
25762 * math/w_lgammaf.c: Likewise.
25763 * math/w_lgammaf_r.c: Likewise.
25764 * math/w_lgammal.c: Likewise.
25765 * math/w_lgammal_r.c: Likewise.
25766 * math/w_sinh.c: Likewise.
25767 * math/w_sinhf.c: Likewise.
25768 * math/w_sinhl.c: Likewise.
25769 * math/w_tgamma.c: Likewise.
25770 * math/w_tgammaf.c: Likewise.
25771 * math/w_tgammal.c: Likewise.
25772 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25773 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25774 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25775 Minor optimizations. Pretty printing. Remove cruft.
25776 * sysdeps/i386/fpu/e_acosf.S: Likewise.
25777 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25778 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25779 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25780 * sysdeps/i386/fpu/e_acosl.c: Likewise.
25781 * sysdeps/i386/fpu/e_asin.S: Likewise.
25782 * sysdeps/i386/fpu/e_asinf.S: Likewise.
25783 * sysdeps/i386/fpu/e_atan2.S: Likewise.
25784 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25785 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25786 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25787 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25788 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25789 * sysdeps/i386/fpu/e_exp10.S: Likewise.
25790 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25791 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25792 * sysdeps/i386/fpu/e_exp2.S: Likewise.
25793 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25794 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25795 * sysdeps/i386/fpu/e_fmod.S: Likewise.
25796 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25797 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25798 * sysdeps/i386/fpu/e_hypot.S: Likewise.
25799 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25800 * sysdeps/i386/fpu/e_log.S: Likewise.
25801 * sysdeps/i386/fpu/e_log10.S: Likewise.
25802 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25803 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25804 * sysdeps/i386/fpu/e_log2.S: Likewise.
25805 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25806 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25807 * sysdeps/i386/fpu/e_logf.S: Likewise.
25808 * sysdeps/i386/fpu/e_logl.S: Likewise.
25809 * sysdeps/i386/fpu/e_pow.S: Likewise.
25810 * sysdeps/i386/fpu/e_powf.S: Likewise.
25811 * sysdeps/i386/fpu/e_powl.S: Likewise.
25812 * sysdeps/i386/fpu/e_remainder.S: Likewise.
25813 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25814 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25815 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25816 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25817 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25818 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25819 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25820 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25821 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25822 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25823 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25824 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25825 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25826 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25827 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25828 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25829 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25830 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25831 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25832 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25833 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25834 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25835 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25837 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25838 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25839 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25840 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25841 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25842 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25843 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25844 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25845 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25846 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25847 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25848 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25849 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25850 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25851 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25852 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25853 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25854 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25855 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25856 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25857 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25858 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25859 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25860 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25861 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25862 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25863 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25864 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25865 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25866 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25867 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25868 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25869 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25870 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25871 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25872 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25873 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25874 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25875 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25876 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25877 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25878 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25879 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25880 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25881 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25882 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25883 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25884 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25885 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25886 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25887 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25888 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25889 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25890 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25891 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25892 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25893 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25894 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25895 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25897 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25898 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25901 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25902 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25903 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25904 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25905 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25906 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25907 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25908 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25909 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25910 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25911 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25912 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25913 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25914 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25915 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25916 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25917 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25918 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25919 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25920 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25921 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25922 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25923 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25924 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25925 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25926 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25927 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25928 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25929 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25930 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25931 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
25932 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25933 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25934 (__isnanf): Likewise.
25935 (__isinf_ns): Likewise.
25936 (__isinf_nsf): Likewise.
25937 (__finite): Likewise.
25938 (__finitef): Likewise.
25939 (__ieee754_sqrt): Define as macro.
25940 (__ieee754_sqrtf): Define as macro.
25941 (__ieee754_sqrtl): Define as macro.
25942 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25943 inlined copy.
25944 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25945 __FINITE_MATH_ONLY__ consistent.
25946 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25947
12cc2fcd
AS
259482011-10-10 Andreas Schwab <schwab@linux-m68k.org>
25949
a843a204
AS
25950 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25951 of rawmemchr.
25952
12cc2fcd
AS
25953 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25954
c853acd5
UD
259552011-10-09 Ulrich Drepper <drepper@gmail.com>
25956
25957 * po/ja.po: Update from translation team.
25958
c658d255
RM
259592011-10-08 Roland McGrath <roland@hack.frob.com>
25960
110946e4
RM
25961 * locale/programs/locarchive.c (prepare_address_space): New function.
25962 (create_archive, enlarge_archive, open_archive): Use it.
25963
50604220
RM
25964 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25965 inside [SHARED], where it is used.
25966
c658d255
RM
25967 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25968
25969 * nss/getent.c (netgroup_keys): Remove unused variable.
25970 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25971
6a621eb7
UD
259722011-10-08 Ulrich Drepper <drepper@gmail.com>
25973
7edb55ce
UD
25974 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25975 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25976 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25977 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25978 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25979 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25980 * math/Makefile (libm-calls): Add s_isinf_ns.
25981 * math/divtc3.c: Use __isinf_nsl instead of isinf.
25982 * math/multc3.c: Likewise.
25983 * math/s_casin.c: Likewise.
25984 * math/s_casinf.c: Likewise.
25985 * math/s_casinl.c: Likewise.
25986 * math/s_ccos.c: Likewise.
25987 * math/s_ccosf.c: Likewise.
25988 * math/s_ccosl.c: Likewise.
25989 * math/s_ctan.c: Likewise.
25990 * math/s_ctanf.c: Likewise.
25991 * math/s_ctanh.c: Likewise.
25992 * math/s_ctanhf.c: Likewise.
25993 * math/s_ctanhl.c: Likewise.
25994 * math/s_ctanl.c: Likewise.
25995 * math/w_fmod.c: Likewise.
25996 * math/w_fmodf.c: Likewise.
25997 * math/w_fmodl.c: Likewise.
25998 * math/w_remainder.c: Likewise.
25999 * math/w_remainderf.c: Likewise.
26000 * math/w_remainderl.c: Likewise.
26001 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26002 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26003 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26004 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26005 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26006 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26007 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26008 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26009
187da0ae
UD
26010 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26011 of the number.
26012 * stdio-common/printf_fphex.c: Likewise.
26013 * stdio-common/printf_size.c: Likewise.
26014
9277c064
UD
26015 * math/e_exp10.c: Include math_private.h using <...> not "...".
26016 * math/e_exp10f.c: Likewise.
26017 * math/e_exp10l.c: Likewise.
26018 * math/e_exp2l.c: Likewise.
26019 * math/e_j0l.c: Likewise.
26020 * math/e_j1l.c: Likewise.
26021 * math/e_jnl.c: Likewise.
26022 * math/e_lgammal_r.c: Likewise.
26023 * math/e_rem_pio2l.c: Likewise.
26024 * math/e_scalb.c: Likewise.
26025 * math/e_scalbf.c: Likewise.
26026 * math/e_scalbl.c: Likewise.
26027 * math/k_cosl.c: Likewise.
26028 * math/k_sinl.c: Likewise.
26029 * math/k_tanl.c: Likewise.
26030 * math/s_cacoshf.c: Likewise.
26031 * math/s_catan.c: Likewise.
26032 * math/s_catanf.c: Likewise.
26033 * math/s_catanh.c: Likewise.
26034 * math/s_catanhf.c: Likewise.
26035 * math/s_catanhl.c: Likewise.
26036 * math/s_catanl.c: Likewise.
26037 * math/s_ccosh.c: Likewise.
26038 * math/s_ccoshf.c: Likewise.
26039 * math/s_ccoshl.c: Likewise.
26040 * math/s_cexp.c: Likewise.
26041 * math/s_cexpf.c: Likewise.
26042 * math/s_cexpl.c: Likewise.
26043 * math/s_clog.c: Likewise.
26044 * math/s_clog10.c: Likewise.
26045 * math/s_clog10f.c: Likewise.
26046 * math/s_clog10l.c: Likewise.
26047 * math/s_clogf.c: Likewise.
26048 * math/s_clogl.c: Likewise.
26049 * math/s_csin.c: Likewise.
26050 * math/s_csinf.c: Likewise.
26051 * math/s_csinh.c: Likewise.
26052 * math/s_csinhf.c: Likewise.
26053 * math/s_csinhl.c: Likewise.
26054 * math/s_csinl.c: Likewise.
26055 * math/s_csqrt.c: Likewise.
26056 * math/s_csqrtf.c: Likewise.
26057 * math/s_csqrtl.c: Likewise.
26058 * math/s_ctan.c: Likewise.
26059 * math/s_ctanf.c: Likewise.
26060 * math/s_ctanh.c: Likewise.
26061 * math/s_ctanhf.c: Likewise.
26062 * math/s_ctanhl.c: Likewise.
26063 * math/s_ctanl.c: Likewise.
26064 * math/s_ldexp.c: Likewise.
26065 * math/s_ldexpf.c: Likewise.
26066 * math/s_ldexpl.c: Likewise.
26067 * math/s_significand.c: Likewise.
26068 * math/s_significandf.c: Likewise.
26069 * math/s_significandl.c: Likewise.
26070 * math/w_acos.c: Likewise.
26071 * math/w_acosf.c: Likewise.
26072 * math/w_acosh.c: Likewise.
26073 * math/w_acoshf.c: Likewise.
26074 * math/w_acoshl.c: Likewise.
26075 * math/w_acosl.c: Likewise.
26076 * math/w_asin.c: Likewise.
26077 * math/w_asinf.c: Likewise.
26078 * math/w_asinl.c: Likewise.
26079 * math/w_atan2.c: Likewise.
26080 * math/w_atan2f.c: Likewise.
26081 * math/w_atan2l.c: Likewise.
26082 * math/w_atanh.c: Likewise.
26083 * math/w_atanhf.c: Likewise.
26084 * math/w_atanhl.c: Likewise.
26085 * math/w_cosh.c: Likewise.
26086 * math/w_coshf.c: Likewise.
26087 * math/w_coshl.c: Likewise.
26088 * math/w_dremf.c: Likewise.
26089 * math/w_exp10.c: Likewise.
26090 * math/w_exp10f.c: Likewise.
26091 * math/w_exp10l.c: Likewise.
26092 * math/w_exp2.c: Likewise.
26093 * math/w_exp2f.c: Likewise.
26094 * math/w_fmod.c: Likewise.
26095 * math/w_fmodf.c: Likewise.
26096 * math/w_fmodl.c: Likewise.
26097 * math/w_hypot.c: Likewise.
26098 * math/w_hypotf.c: Likewise.
26099 * math/w_hypotl.c: Likewise.
26100 * math/w_j0.c: Likewise.
26101 * math/w_j0f.c: Likewise.
26102 * math/w_j0l.c: Likewise.
26103 * math/w_j1.c: Likewise.
26104 * math/w_j1f.c: Likewise.
26105 * math/w_j1l.c: Likewise.
26106 * math/w_jn.c: Likewise.
26107 * math/w_jnf.c: Likewise.
26108 * math/w_jnl.c: Likewise.
26109 * math/w_lgamma.c: Likewise.
26110 * math/w_lgamma_r.c: Likewise.
26111 * math/w_lgammaf.c: Likewise.
26112 * math/w_lgammaf_r.c: Likewise.
26113 * math/w_lgammal.c: Likewise.
26114 * math/w_lgammal_r.c: Likewise.
26115 * math/w_log.c: Likewise.
26116 * math/w_log10.c: Likewise.
26117 * math/w_log10f.c: Likewise.
26118 * math/w_log10l.c: Likewise.
26119 * math/w_log2.c: Likewise.
26120 * math/w_log2f.c: Likewise.
26121 * math/w_log2l.c: Likewise.
26122 * math/w_logf.c: Likewise.
26123 * math/w_logl.c: Likewise.
26124 * math/w_pow.c: Likewise.
26125 * math/w_powf.c: Likewise.
26126 * math/w_powl.c: Likewise.
26127 * math/w_remainder.c: Likewise.
26128 * math/w_remainderf.c: Likewise.
26129 * math/w_remainderl.c: Likewise.
26130 * math/w_scalb.c: Likewise.
26131 * math/w_scalbf.c: Likewise.
26132 * math/w_scalbl.c: Likewise.
26133 * math/w_sinh.c: Likewise.
26134 * math/w_sinhf.c: Likewise.
26135 * math/w_sinhl.c: Likewise.
26136 * math/w_sqrt.c: Likewise.
26137 * math/w_sqrtf.c: Likewise.
26138 * math/w_sqrtl.c: Likewise.
26139 * math/w_tgamma.c: Likewise.
26140 * math/w_tgammaf.c: Likewise.
26141 * math/w_tgammal.c: Likewise.
26142
6a621eb7
UD
26143 * po/ja.po: Update from translation team.
26144
bf582445
AJ
261452011-09-29 Andreas Jaeger <aj@suse.de>
26146
f9efbf3a
AJ
26147 [BZ #13179]
26148 * sunrpc/netname.c (netname2host): Fix logic.
26149
bf582445
AJ
26150 [BZ #6779]
26151 [BZ #6783]
26152 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26153 correctly.
26154 * math/w_remainder.c (__remainder): Likewise.
26155 * math/w_remainderf.c (__remainderf): Likewise.
26156 * math/libm-test.inc (remainder_test): Add test cases.
26157
48693bea
AK
261582011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26159
26160 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26161 sdiv_qrnnd.
26162
42622229
LD
261632011-10-07 Ulrich Drepper <drepper@gmail.com>
26164
26165 * string/test-memcmp.c: Avoid unncessary #defines.
26166 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26167
093ecf92
LD
261682011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26169
26170 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26171 Use new sse2 version for core i3 - i7 as it's faster
26172 than sse42 version.
26173 (bit_Prefer_PMINUB_for_stringop): New.
26174 * sysdeps/x86_64/rawmemchr.S: Update.
26175 Replace with faster SSE2 version.
26176 * sysdeps/x86_64/memrchr.S: New file.
26177 * sysdeps/x86_64/memchr.S: Update.
26178 Replace with faster SSE2 version.
26179
fde56e5c
MP
261802011-09-12 Marek Polacek <mpolacek@redhat.com>
26181
26182 * elf/dl-load.c (lose): Add cast to avoid warning.
26183
21fd49a9
UD
261842011-10-07 Ulrich Drepper <drepper@gmail.com>
26185
5a06e643
UD
26186 * po/ca.po: Update from translation team.
26187
684ae515
UD
26188 * inet/getnetgrent_r.c: Hook up nscd.
26189 * nscd/Makefile (routines): Add nscd_netgroup.
26190 (nscd-modules): Add netgroupcache.
26191 (CFLAGS-netgroupcache.c): Define.
26192 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26193 (cache_search): Add const to second parameter.
26194 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26195 INNETGR.
26196 (dbs): Add netgrdb entry.
26197 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26198 (verify_persistent_db): Handle netgrdb.
26199 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26200 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26201 GETFDNETGR.
26202 (netgroup_response_header): Define.
26203 (innetgroup_response_header): Define.
26204 (datahead): Add netgroup_response_header and innetgroup_response_header
26205 elements.
26206 * nscd/nscd.conf: Add entries for netgroup cache.
26207 * nscd/nscd.h (dbtype): Add netgrdb.
26208 (_PATH_NSCD_NETGROUP_DB): Define.
26209 (netgroup_iov_disabled): Declare.
26210 (xmalloc, xcalloc, xrealloc): Move declarations here.
26211 (cache_search): Adjust prototype.
26212 Add netgroup-related prototypes.
26213 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26214 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26215 (__nscd_innetgr): Declare.
26216 * nscd/selinux.c (perms): Use access_vector_t as element type and
26217 add netgroup-related initializers.
26218 * nscd/netgroupcache.c: New file.
26219 * nscd/nscd_netgroup.c: New file.
26220 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26221 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26222 For four parameters use innetgr.
26223 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26224 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26225 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26226 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26227
21fd49a9
UD
26228 * nscd/connections.c (register_traced_file): Don't register file
26229 for disabled databases.
26230
054c0457
UD
262312011-10-06 Ulrich Drepper <drepper@gmail.com>
26232
32b63198
UD
26233 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26234
054c0457
UD
26235 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26236 from tree and freeing node.
26237
64031225
JO
262382011-09-25 Jiri Olsa <jolsa@redhat.com>
26239
26240 * nss/nsswitch.c (__nss_database_lookup): Handle
26241 nss_parse_service_list out of memory case.
26242
0490345c
JO
262432011-09-15 Jiri Olsa <jolsa@redhat.com>
26244
26245 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26246 out of memory case.
26247
3a62d00d
AS
262482011-10-04 Andreas Schwab <schwab@redhat.com>
26249
26250 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26251 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26252 pass it down.
26253 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26254 elf_machine_rela, elf_machine_lazy_rel.
26255 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26256 (ELF_DYNAMIC_DO_REL): Likewise.
26257 (ELF_DYNAMIC_DO_RELA): Likewise.
26258 (ELF_DYNAMIC_RELOCATE): Likewise.
26259 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26260 to ELF_DYNAMIC_DO_REL.
26261 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26262 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26263 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26264 elf_machine_rela.
26265 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26266 skip_ifunc, don't call ifunc function if non-zero.
26267 (elf_machine_rela): Likewise.
26268 (elf_machine_lazy_rel): Likewise.
26269 (elf_machine_lazy_rela): Likewise.
26270 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26271 (elf_machine_lazy_rel): Likewise.
26272 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26273 Likewise.
26274 (elf_machine_lazy_rel): Likewise.
26275 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26276 Likewise.
26277 (elf_machine_lazy_rel): Likewise.
26278 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26279 (elf_machine_lazy_rel): Likewise.
26280 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26281 (elf_machine_lazy_rel): Likewise.
26282 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26283 (elf_machine_lazy_rel): Likewise.
26284 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26285 (elf_machine_lazy_rel): Likewise.
26286 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26287 (elf_machine_lazy_rel): Likewise.
26288 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26289 (elf_machine_lazy_rel): Likewise.
26290
68577918
UD
262912011-09-28 Ulrich Drepper <drepper@gmail.com>
26292
26293 * nss/nss_files/files-init.c (_nss_files_init): Use static
26294 initialization for all the *_traced_file variables.
26295
68822d74
AS
262962011-09-28 Andreas Schwab <schwab@redhat.com>
26297
26298 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26299
2056100b
RM
263002011-09-27 Roland McGrath <roland@hack.frob.com>
26301
26302 [BZ #13226]
26303 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26304
32c76b63
AS
263052011-09-27 Andreas Schwab <schwab@redhat.com>
26306
26307 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26308 Reread the line before reparsing it.
26309
bf972c9d
AS
263102011-09-26 Andreas Schwab <schwab@redhat.com>
26311
26312 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26313
e057a1b5
JM
263142011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26315 Maxim Kuvyrkov <maxim@codesourcery.com>
26316 Joseph Myers <joseph@codesourcery.com>
26317
26318 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26319 if needed for __stack_chk_guard.
26320
bc7e1c36
RM
263212011-09-19 Roland McGrath <roland@hack.frob.com>
26322
ecb1482f
RM
26323 * sysdeps/posix/spawni.c (script_execute): Always define it.
26324 It will be optimized away if unused.
26325 (maybe_script_execute): New function.
26326 (__spawni): Call it.
26327
bc7e1c36
RM
26328 * Makerules: Don't include tls.make.
26329 (config-tls): Always set to thread.
26330 * tls.make.c: File removed.
26331
1c3b002b
MF
263322011-09-19 Mike Frysinger <vapier@gentoo.org>
26333
26334 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26335 * config.make.in (CPPFLAGS-config): New substituted variable.
26336
2840865d
UD
263372011-09-15 Ulrich Drepper <drepper@gmail.com>
26338
88738eb6
UD
26339 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26340
cbf645a6 26341 [BZ #13192]
2840865d
UD
26342 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26343 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26344
b402e91a
RM
263452011-09-15 Roland McGrath <roland@hack.frob.com>
26346
26347 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26348 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26349 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26350 (CALL_FAIL): Likewise.
26351 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26352 (CALL_FAIL): Macro removed.
26353 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26354
4c1a1f71
UD
263552011-09-15 Ulrich Drepper <drepper@gmail.com>
26356
26357 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26358 for __FINITE_MATH_ONLY__ == 1.
26359
edc121be
AS
263602011-09-15 Andreas Schwab <schwab@redhat.com>
26361
26362 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26363 __ieee754_sqrt instead of sqrt.
26364 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26365 __ieee754_sqrtf instead of sqrtf.
26366 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26367 __floorf instead of floorf.
26368 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26369 __floorf, __truncf instead of floorf, truncf.
26370
cd205654
UD
263712011-09-14 Ulrich Drepper <drepper@gmail.com>
26372
ee4d0315
UD
26373 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26374
cd205654
UD
26375 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26376 __extern_always_inline.
26377 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26378 32-bit.
26379
48b67d71
AS
263802011-09-14 Andreas Schwab <schwab@redhat.com>
26381
26382 * elf/rtld.c (dl_main): Also relocate in dependency order when
26383 doing symbol dependency testing.
26384
1ae12c75
AS
263852011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26386
26387 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26388 Always define `refsym'.
26389
995a80df
AS
263902011-09-13 Andreas Schwab <schwab@redhat.com>
26391
e529793b
AS
26392 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26393 (__FD_ELT): Renamed from __FDELT.
26394 * misc/bits/select2.h (__FD_ELT): Likewise.
26395 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26396 __FD_MASK instead of __FDELT, __FDMASK.
26397 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26398 Likewise.
26399 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26400 Likewise.
26401
52d4fef8
AS
26402 * elf/Makefile (gen-ldd): Fix pattern.
26403
995a80df
AS
26404 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26405 (init_tls): Likewise.
26406
8682f8b0
UD
264072011-09-12 Ulrich Drepper <drepper@gmail.com>
26408
26409 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26410
de82006d
AS
264112011-09-12 Andreas Schwab <schwab@redhat.com>
26412
a7c8e6a1
AS
26413 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26414 `struct cmsghdr *' instead of `void *'.
26415 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26416 Likewise.
26417
0f31fe77
AS
264182011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26419
26420 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26421 if non-absolute.
26422 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26423 ldd_rewrite_script.
0f31fe77 26424
32b4c839
UD
264252011-09-11 Ulrich Drepper <drepper@gmail.com>
26426
83cd1420
UD
26427 * configure.in: Remove --with-tls option.
26428 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26429 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26430 out in case it is missing.
26431 * sysdeps/ia64/elf/configure.in: Likewise.
26432 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26433 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26434 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26435 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26436 * sysdeps/sh/elf/configure.in: Likewise.
26437 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26438 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26439 * sysdeps/x86_64/elf/configure.in: Likewise.
26440 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26441 * sysdeps/mach/hurd/tls.h: Likewise.
26442
633f745d
UD
26443 [BZ #13067]
26444 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26445
f318beb8
UD
26446 [BZ #13090]
26447 * configure.in: Fix use of AC_INIT.
26448
32b4c839
UD
26449 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26450
3ce1f295
UD
264512011-09-10 Ulrich Drepper <drepper@gmail.com>
26452
bb016596
UD
26453 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26454 __set_errno.
8e58439c
UD
26455 * malloc/hooks.c: Likewise.
26456
aebae053 26457 [BZ #11929]
02d46fc4
UD
26458 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26459 variables statically.
26460 (narenas): Initialize.
26461 (list_lock): Initialize.
bb016596
UD
26462 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26463 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
26464 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26465 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26466 Add initializers to main_arena and mp_.
26467 (malloc_state): Remove pagesize member. Change all users to use
26468 GLRO(dl_pagesize).
26469
26470 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26471 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26472 is always initialized.
26473
22a89187
UD
26474 * malloc/malloc.c: Removed unused configurations and dead code.
26475 * malloc/arena.c: Likewise.
26476 * malloc/hooks.c: Likewise.
02d46fc4 26477 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 26478
d063d164
UD
26479 * include/tls.h: Removed. USE___THREAD must always be defined.
26480 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26481 * elf/dl-libc.c: Likewise.
26482 * elf/dl-tsd.c: Likewise.
26483 * include/errno.h: Likewise.
26484 * include/netdb.h: Likewise.
26485 * include/resolv.h: Likewise.
26486 * inet/herrno-loc.c: Likewise.
26487 * inet/herrno.c: Likewise.
26488 * malloc/arena.c: Likewise.
26489 * malloc/hooks.c: Likewise.
26490 * malloc/malloc.c: Likewise.
26491 * resolv/res-state.c: Likewise.
26492 * resolv/res_libc.c: Likewise.
26493 * sysdeps/i386/dl-machine.h: Likewise.
26494 * sysdeps/ia64/dl-machine.h: Likewise.
26495 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26496 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26497 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26498 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26499 * sysdeps/sh/dl-machine.h: Likewise.
26500 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26501 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26502 * sysdeps/unix/i386/sysdep.S: Likewise.
26503 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26504 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26505 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26506 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26507 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26508 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26509 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26510 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26511 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26513 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26514 * sysdeps/x86_64/dl-machine.h: Likewise.
26515 * tls.make.c: Likewise.
26516
3ce1f295
UD
26517 * configure.in: Remove --with-__thread option. Make tests for
26518 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26519 tls_model attribute fail if no support is available. Remove
26520 USE_IN_LIBIO.
26521 * Makeconfig: Adjust for dropped configure option. All features are
26522 now mandatory.
26523 * Makerules: Likewise.
26524 * Versions.def: Likewise.
26525 * argp/argp-fmtstream.c: Likewise.
26526 * argp/argp-fmtstream.h: Likewise.
26527 * argp/argp-help.c: Likewise.
26528 * assert/assert.c: Likewise.
26529 * config.h.in: Likewise.
26530 * config.make.in: Likewise.
26531 * configure: Likewise.
26532 * configure.in: Likewise.
26533 * csu/Versions: Likewise.
26534 * csu/init.c: Likewise.
26535 * elf/tst-audit2.c: Likewise.
26536 * elf/tst-tls10.c: Likewise.
26537 * elf/tst-tls10.h: Likewise.
26538 * elf/tst-tls11.c: Likewise.
26539 * elf/tst-tls12.c: Likewise.
26540 * elf/tst-tls14.c: Likewise.
26541 * elf/tst-tlsmod11.c: Likewise.
26542 * elf/tst-tlsmod12.c: Likewise.
26543 * elf/tst-tlsmod13.c: Likewise.
26544 * elf/tst-tlsmod13a.c: Likewise.
26545 * elf/tst-tlsmod14a.c: Likewise.
26546 * elf/tst-tlsmod15b.c: Likewise.
26547 * elf/tst-tlsmod16a.c: Likewise.
26548 * elf/tst-tlsmod16b.c: Likewise.
26549 * elf/tst-tlsmod7.c: Likewise.
26550 * elf/tst-tlsmod8.c: Likewise.
26551 * elf/tst-tlsmod9.c: Likewise.
26552 * gmon/gmon.c: Likewise.
26553 * grp/fgetgrent_r.c: Likewise.
26554 * grp/putgrent.c: Likewise.
26555 * hurd/fopenport.c: Likewise.
26556 * include/libc-symbols.h: Likewise.
26557 * include/tls.h: Likewise.
26558 * intl/gettextP.h: Likewise.
26559 * intl/loadinfo.h: Likewise.
26560 * locale/global-locale.c: Likewise.
26561 * locale/localeinfo.h: Likewise.
26562 * mach/devstream.c: Likewise.
26563 * malloc/arena.c: Likewise.
26564 * malloc/set-freeres.c: Likewise.
26565 * misc/err.c: Likewise.
26566 * misc/getttyent.c: Likewise.
26567 * misc/mntent_r.c: Likewise.
26568 * posix/getopt.c: Likewise.
26569 * posix/wordexp.c: Likewise.
26570 * pwd/fgetpwent_r.c: Likewise.
26571 * resolv/Versions: Likewise.
26572 * resolv/res_hconf.c: Likewise.
26573 * shadow/fgetspent_r.c: Likewise.
26574 * shadow/putspent.c: Likewise.
26575 * stdio-common/printf_fphex.c: Likewise.
26576 * stdio-common/tmpfile.c: Likewise.
26577 * stdlib/abort.c: Likewise.
26578 * stdlib/fmtmsg.c: Likewise.
26579 * sunrpc/auth_unix.c: Likewise.
26580 * sunrpc/clnt_perr.c: Likewise.
26581 * sunrpc/clnt_tcp.c: Likewise.
26582 * sunrpc/clnt_udp.c: Likewise.
26583 * sunrpc/clnt_unix.c: Likewise.
26584 * sunrpc/openchild.c: Likewise.
26585 * sunrpc/svc_simple.c: Likewise.
26586 * sunrpc/svc_tcp.c: Likewise.
26587 * sunrpc/svc_udp.c: Likewise.
26588 * sunrpc/svc_unix.c: Likewise.
26589 * sunrpc/xdr.c: Likewise.
26590 * sunrpc/xdr_array.c: Likewise.
26591 * sunrpc/xdr_rec.c: Likewise.
26592 * sunrpc/xdr_ref.c: Likewise.
26593 * sunrpc/xdr_stdio.c: Likewise.
26594
1248c1c4
PB
265952011-09-09 Ulrich Drepper <drepper@gmail.com>
26596
26597 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26598
265992011-07-03 Andreas Jaeger <aj@suse.de>
26600
26601 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26602 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26603 regenerate with gen-libm-tests.pl.
26604
266052010-05-12 Petr Baudis <pasky@suse.cz>
26606
26607 [BZ #11589]
26608 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26609 around j0() zero points by switching to j1().
26610 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26611 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26612 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26613 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26614
f22e1074
UD
266152011-09-09 Ulrich Drepper <drepper@gmail.com>
26616
f19009c1
UD
26617 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26618 instead of 0.
26619 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 26620 instead of 0.
f19009c1
UD
26621 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26622 Patch in part by Pavel Roskin <proski@gnu.org>.
26623
3f8cc204
UD
26624 [BZ #13138]
26625 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26626 realloc.
26627 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26628 Free memory block if necessary.
26629
f22e1074
UD
26630 [BZ #12847]
26631 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26632 be NULL. Don't lock in this case.
26633
0a2349f9
RM
266342011-09-09 Roland McGrath <roland@hack.frob.com>
26635
26636 * elf/elf.h (ELFOSABI_GNU): New macro.
26637 (ELFOSABI_LINUX): Define to that.
26638
f3cdd467
DZ
266392011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26640
26641 * string/strncat.c (strncat): Undef the symbol in case it has been
26642 defined in bits/string.h.
26643
74718d13
UD
266442011-09-09 Ulrich Drepper <drepper@gmail.com>
26645
633e9e0f
UD
26646 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26647
0a2349f9 26648 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
26649 link map.
26650
f9924780
AJ
266512011-08-17 Andreas Jaeger <aj@suse.de>
26652
26653 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26654
7f5517aa
PP
266552011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26656 Ian Lance Taylor <iant@google.com>
26657
26658 * math/libm-test.inc (lround_test): New testcase.
26659 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26660
762011fe
UD
266612011-09-08 Ulrich Drepper <drepper@gmail.com>
26662
92963737
UD
26663 * Makefile: Remove support for automatic cvs check-ins.
26664 * Makerules: Likewise.
26665 * config.make.in: Likewise.
26666 * configure.in: Likewise.
26667 * intl/Makefile: Likewise.
26668 * locale/Makefile: Likewise.
26669 * po/Makefile: Likewise.
26670 * posix/Makefile: Likewise.
26671 * sysdeps/gnu/Makefile: Likewise.
26672 * sysdeps/mach/hurd/Makefile: Likewise.
26673 * sysdeps/sparc/sparc32/Makefile: Likewise.
26674
b0727fd8
JS
26675 [BZ #13118]
26676 * posix/Makefile (bug-regex32-ENV): Define.
26677 Patch by John Stanley <jpsinthemix@verizon.net>.
26678
a0f33f99
UD
26679 * misc/Makefile (headers): Add bits/select2.h.
26680 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26681 * misc/bits/select2.h: New file.
26682 * include/bits/select2.h: New file.
26683 * debug/Makefile (routines): Add fdelt_chk.
26684 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26685 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26686 FD_ISSET.
26687 * debug/fdelt_chk.c: New file.
26688
762011fe
UD
26689 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26690 * wcsmbs/test-wmemcmp.c: Likewise.
26691 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 26692 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
26693
266942011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26695
26696 * string/Makefile (strop-tests): Add memcmp.
26697 * string/test-wmemcmp.c: New file.
26698 * string/test-memcmp.c: Add wmemcmp support.
26699
7f513ec8
RM
267002011-09-08 Roland McGrath <roland@hack.frob.com>
26701
0442afb4
RM
26702 [BZ #13153]
26703 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26704 2011-07-19 change.
26705
7f513ec8
RM
26706 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26707 garbage value in a __mach_port_mod_refs call in the cases of the
26708 task-self and thread-self ports.
26709
a12b2239
ST
267102011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26711
26712 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26713
610f9ab4
AS
267142011-09-08 Andreas Schwab <schwab@redhat.com>
26715
7f513ec8 26716 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 26717
48882a1a
LD
267182011-09-07 Ulrich Drepper <drepper@gmail.com>
26719
b49865be
UD
26720 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26721
fdc86bc9
UD
26722 * elf/dl-libc.c (dlerror_run): Pass back error code from
26723 dl_catch_error.
26724
c966526a
UD
26725 [BZ #13123]
26726 * elf/dl-load.c (lose): Free l_origin if it is valid.
26727
48882a1a
LD
26728 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26729 names.
26730 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26731 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26732 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26733 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26734 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26735 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26736
77a2a8b4
AZ
267372011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26738
26739 * sysdeps/powerpc/fpu/e_hypot.c: New file.
26740 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26741 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26742 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26743 * sysdeps/powerpc/fpu/k_cosf.c: New file.
26744 * sysdeps/powerpc/fpu/k_sinf.c: New file.
26745 * sysdeps/powerpc/fpu/s_cosf.c: New file.
26746 * sysdeps/powerpc/fpu/s_sinf.c: New file.
26747 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26748 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26749
24f579d8
AM
267502011-08-15 Alan Modra <amodra@gmail.com>
26751
26752 [BZ #13092]
26753 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26754 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26755 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
26756 ppc_mcount to static-only-routines.
26757 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26758 __mcount_internal.
26759 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26760 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26761
3d4837df
UD
267622011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26763
26764 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26765 for finite and infinity parameters.
26766
22700377
WS
267672011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26768
26769 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26770 and add nop instructions for throughput optimization.
26771 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26772
5025581e
WS
267732011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26774
26775 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26776 aligned copy for power7 with vector-scalar instructions.
26777 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26778
08a300c9
L
267792011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26780
26781 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26782 AVX check.
26783
59178ef9
AS
267842011-09-07 Andreas Schwab <schwab@redhat.com>
26785
26786 [BZ #13144]
26787 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26788 last change.
26789
e38ba7ab
UD
267902011-09-07 Ulrich Drepper <drepper@gmail.com>
26791
26792 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26793 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26794 syscall wrapper around clock_gettime in __vdso_clock_gettime.
26795 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26796 clock_gettime.
26797
d53a73ac
UD
267982011-09-06 Ulrich Drepper <drepper@gmail.com>
26799
fc8bffcc
UD
26800 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26801 Forgot to demangle the pointer.
26802
ceaa0c5d
UD
26803 * sysdeps/i386/sysdep.h: Define atom_text_section.
26804 * sysdeps/x86_64/sysdep.h: Likewise.
26805 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26806 section with atom_text_section.
26807 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26808 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26809 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26810 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26811 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26812
a77d3c17
UD
26813 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26814 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26815 already be defined. Change to take two parameters and don't assign
26816 result to variable. Adjust all users.
26817 Define INTERNAL_GETTIME if not already defined.
26818 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26819 call.
26820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26821 HAVE_CLOCK_GETTIME_VSYSCALL.
26822 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26823
d53a73ac
UD
26824 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26825 gettimeofday vsyscall, just use time.
26826
a8f84144
AS
268272011-09-06 Andreas Schwab <schwab@redhat.com>
26828
26829 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26830 <errno.h>.
26831
ef606249
UD
268322011-09-06 Ulrich Drepper <drepper@gmail.com>
26833
26834 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26835 syscall on x86-64.
26836 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26837 syscall.
26838 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26839 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26840 syscall if possible.
26841
6585cb60
UD
268422011-09-05 Ulrich Drepper <drepper@gmail.com>
26843
26844 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26845 e_ident. Don't pass to find_mapsXX.
26846 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
26847
a5f524e4
LD
268482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26849
26850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26851 strchr-sse2-no-bsf strrchr-sse2-no-bsf
26852 * sysdeps/x86_64/multiarch/strchr.S: Update.
26853 Check bit_slow_BSF bit.
26854 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26855 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26856 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26857
554881ef
UD
268582011-09-05 Ulrich Drepper <drepper@gmail.com>
26859
d96de963
UD
26860 [BZ #13134]
26861 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26862 before glibc 2.15.
26863 (tryshell): Define.
26864 (__spawni): Change last parameter to be flag. Test
26865 SPAWN_XFLAGS_USE_PATH flag to use path or not.
26866 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26867 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26868 * posix/spawni.c: Likewise.
26869 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26870 * posix/spawnp.c: Likewise. Change normal version to use
26871 SPAWN_XFLAGS_USE_PATH.
26872 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26873 SPAWN_XFLAGS_TRY_SHELL.
26874
d48e5868
UD
26875 [BZ #13150]
26876 * posix/glob.h: Remove gcc 1.x support.
26877
554881ef
UD
26878 [BZ #13068]
26879 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26880
693fb948
LD
268812011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26882
26883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26884 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26885 strrchr-sse2-bsf
26886 * sysdeps/i386/i686/multiarch/strchr.S: New file.
26887 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26888 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26889 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26890 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26891 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26892
1b48c537
UD
268932011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26894
49d42c37
UD
26895 * sysdeps/x86_64/wcscmp.S: New file.
26896
1b48c537
UD
26897 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26898 wcscmp-c wcscmp-sse2
26899 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26900 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26901 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26902 * wcsmbs/wcscmp.c: Allow renaming.
26903
15c95c5d
DM
269042011-09-05 David S. Miller <davem@davemloft.net>
26905
26906 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26907 stack slot, rather than the struct return pointer slot.
26908 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26909 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26911 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26912
2f0ad8f3
UD
269132011-09-05 Ulrich Drepper <drepper@gmail.com>
26914
d88ae418
UD
26915 * po/ja.po: Update from translation team.
26916
2f0ad8f3
UD
26917 [BZ #13144]
26918 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26919 kernel in 64-bit binaries.
26920
5f4318d1
DM
269212011-09-01 David S. Miller <davem@davemloft.net>
26922
26923 * elf/elf.h (HWCAP_SPARC_*): Move to..
26924 * sysdeps/sparc/sysdep.h: this new file and add new values.
26925 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26926 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26927 _DL_HWCAP_COUNT to 24.
26928 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26929 entries.
26930 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26931 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26932 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26933 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26934 instead of magic constants.
26935 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26936
3ba57516
DM
269372011-08-31 David S. Miller <davem@davemloft.net>
26938
26939 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26940 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26941 Reimplement to do errno handling inline.
26942 (SYSCALL_ERROR_HANDLER): New macro.
26943 (__SYSCALL_STRING): Do not do errno handling in asm.
26944 (__CLONE_SYSCALL_STRING): Delete.
26945 (__INTERNAL_SYSCALL_STRING): Delete.
26946 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26947 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26948 (PSEUDO): Reimplement to do errno handling inline.
26949 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26950 (SYSCALL_ERROR_HANDLER): New macro.
26951 (__SYSCALL_STRING): Do not do errno handling in asm.
26952 (__CLONE_SYSCALL_STRING): Delete.
26953 (__INTERNAL_SYSCALL_STRING): Delete.
26954 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26955 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26956 i386.
26957 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26958 (inline_syscall*): Add 'err' argument.
26959 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26960 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26961 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26962 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26963
26964 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26965 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26966
2bc17433
AS
269672011-08-30 Andreas Schwab <schwab@redhat.com>
26968
26969 * elf/rtld.c (dl_main): Relocate objects in dependency order.
26970
fbeb5f4d
JO
269712011-08-29 Jiri Olsa <jolsa@redhat.com>
26972
26973 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26974 directive.
26975
ad69cc26
DM
269762011-08-24 David S. Miller <davem@davemloft.net>
26977
26978 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26979
39dd69df
AS
269802011-08-24 Andreas Schwab <schwab@redhat.com>
26981
26982 * elf/Makefile: Add rules to build and run unload8 test.
26983 * elf/unload8.c: New file.
26984 * elf/unload8mod1.c: New file.
26985 * elf/unload8mod1x.c: New file.
26986 * elf/unload8mod2.c: New file.
26987 * elf/unload8mod3.c: New file.
26988
26989 * elf/dl-close.c (_dl_close_worker): Reset private search list if
26990 it wasn't used.
26991
2c0b250a
DM
269922011-08-23 David S. Miller <davem@davemloft.net>
26993
26994 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26995 subtract stack bias.
26996 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26997 %sp not %fp in calculations.
26998 (_JMPBUF_UNWINDS_ADJ): Likewise.
26999
22044b48
DM
27000 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27001 (aio_suspend): Call it to force an exception region around the
27002 AIO_MISC_WAIT() invocation.
27003
2cae4995
AS
270042011-08-23 Andreas Schwab <schwab@redhat.com>
27005
27006 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27007 backslash.
27008
873a772e
AJ
270092011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27010
27011 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27012 protection macro.
27013 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27014 and <dl-machine.h>.
27015 (Elf64_FuncDesc): Remove.
27016
25ad0df1
DM
270172011-08-22 David S. Miller <davem@davemloft.net>
27018
27019 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27020 sigaltstack check, add missing cfi directives.
27021 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27022 missing cfi directives, and sigaltstack handling.
27023
e888bcbe
AS
270242011-08-16 Andreas Schwab <schwab@redhat.com>
27025
27026 [BZ #11724]
27027 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27028 object is seen twice.
27029 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27030
27031 * elf/Makefile (distribute): Add tst-initorder2.c.
27032 (tests): Add tst-initorder2.
27033 (modules-names): Add tst-initorder2a tst-initorder2b
27034 tst-initorder2c tst-initorder2d. Add rules to build them.
27035 ($(objpfx)tst-initorder2.out): New rule.
27036 * elf/tst-initorder2.c: New file.
27037 * elf/tst-initorder2.exp: New file.
27038
87162f46
AS
270392011-08-22 Andreas Schwab <schwab@redhat.com>
27040
70538b7f
AS
27041 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27042
f55ffe58
AS
27043 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27044 dependencies back to end of function.
27045
87162f46
AS
27046 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27047 $(elfobjdir)/ld.so.
27048
91b392a4
UD
270492011-08-21 Ulrich Drepper <drepper@gmail.com>
27050
27051 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27052 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27053 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27054 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27055 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27056 of __vdso_gettimeofday.
27057 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27058 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27059 attribute_hidden.
27060 (_libc_vdso_platform_setup): Remove initialization of
27061 __vdso_gettimeofday and __vdso_time.
27062
5c43483f
UD
270632011-08-20 Ulrich Drepper <drepper@gmail.com>
27064
775a77e7
UD
27065 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27066 and fgetc_unlocked.
27067 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27068 getc_unlocked.
89f447ed 27069
49c74ba9
UD
27070 * elf/dl-open.c (add_to_global): Report additions to the global scope
27071 for LD_DEBUG=scopes.
27072 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27073 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27074
5c43483f
UD
27075 [BZ #13114]
27076 * stdio-common/Makefile (tests): Add bug24.
27077 * stdio-common/bug24.c: New file.
27078
a101b025
AJ
270792011-08-19 Andreas Jaeger <aj@suse.de>
27080
27081 [BZ #13114]
27082 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27083 non-existant file when using close-on-exec mode.
27084
c88f1766
UD
270852011-08-20 Ulrich Drepper <drepper@gmail.com>
27086
0276a718
UD
27087 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27088 the very first instruction.
27089
c88f1766
UD
27090 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27091 the CFI state in the end.
27092 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27093 inclusion of dl-trampoline.h.
27094 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27095
51ccffa0
AS
270962011-08-19 Andreas Schwab <schwab@redhat.com>
27097
94d7165f
AS
27098 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27099 expectations for long double.
27100
51ccffa0
AS
27101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27102 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27103
fd708658 271042011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27105
27106 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27107 artificual limit depends upon the system page size.
27108
44f0a71e
UD
271092011-08-17 Ulrich Drepper <drepper@gmail.com>
27110
27111 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27112 * resolv/Makefile: Define CFLAGS-libresolv.
27113
8de79a24
AS
271142011-08-17 Andreas Schwab <schwab@redhat.com>
27115
27116 * nss/makedb.c (compute_tables): Make variables used in nested
27117 function static.
27118
27724598
UD
271192011-08-17 Ulrich Drepper <drepper@gmail.com>
27120
c5305d88
UD
27121 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27122 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27123 if buffer was too small.
27124
27724598
UD
27125 * elf/pldd.c (main): Attach to all threads in the process.
27126 Rewrite /proc handling to use *at functions.
27127
076fe015
UD
271282011-08-16 Ulrich Drepper <drepper@gmail.com>
27129
174baab3
UD
27130 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27131 specifies first scope to show.
27132 (dl_open_worker): Update callers. Move printing scope of new
27133 object to before the relocation.
44f0a71e 27134 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27135 * sysdeps/generic/ldsodefs.h: Update declaration.
27136
076fe015
UD
27137 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27138 string for the scope number.
27139
a60df2c3
UD
271402011-08-14 Ulrich Drepper <drepper@gmail.com>
27141
27142 * nscd/servicescache.c (cache_addserv): Make sure written is always
27143 initialized.
27144
5e4287d1
RM
271452011-08-14 Roland McGrath <roland@hack.frob.com>
27146
85ae0589
RM
27147 * sysdeps/i386/i486/bits/atomic.h
27148 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27149 statement expression, so as to suppress "set but not used" warning.
27150 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27151
69f63097
RM
27152 * string/strncat.c (STRNCAT): Use prototype definition.
27153
675456ef
RM
27154 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27155 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27156 -Iprograms here.
27157 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27158 (localedef-modules): Add localedef.
27159 (locale-modules): Add locale.
27160
5e4287d1
RM
27161 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27162 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27163 to avoid a warning.
27164
9c96ff23
DM
271652011-08-14 David S. Miller <davem@davemloft.net>
27166
27167 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27168 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27169
f9ddf089
UD
271702011-08-13 Ulrich Drepper <drepper@gmail.com>
27171
44f0a71e 27172 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27173 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27174 * elf/rtld.c (dl_main): Set l_name of vDSO.
27175 Call _dl_show_scope when DL_DEBUG_SCOPES.
27176 (process_dl_debug): Recognize scopes flag and also set it for all.
27177 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27178 Declare _dl_show_scope.
27179
1dc27704
UD
27180 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27181 (do_dlopen): Pass caller_dlopen to dl_open.
27182 (__libc_dlopen_mode): Initialize caller_dlopen.
27183
f9ddf089
UD
27184 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27185 of libc. Make tolower call locale-independent. Optimize a bit by
27186 using isdigit instead of isalnum.
27187 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27188
9ac533d3
UD
271892011-08-12 Ulrich Drepper <drepper@gmail.com>
27190
27191 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27192 was a dependency or dynamically loaded.
27193
89edf2e9
UD
271942011-08-11 Ulrich Drepper <drepper@gmail.com>
27195
8e999d29
UD
27196 * intl/l10nflist.c: Allow architecture-specific pop function.
27197 * sysdeps/x86_64/l10nflist.c: New file.
27198
89edf2e9
UD
27199 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27200 classification.
27201
14d96785
AS
272022011-08-10 Andreas Schwab <schwab@redhat.com>
27203
27204 * include/dirent.h: Add libc_hidden_proto for scandirat and
27205 scandirat64. Don't declare __scandirat64.
27206 * dirent/scandirat.c: Add libc_hidden_def.
27207 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27208 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27209
6761ac04
DM
272102011-08-10 David S. Miller <davem@davemloft.net>
27211
27212 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27213 enum.
27214 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27215 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27216 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27217
c55fbd1e
UD
272182011-08-09 Ulrich Drepper <drepper@gmail.com>
27219
27220 * Versions.def [libc]: Add GLIBC_2.15.
27221 * dirent/Makefile (routines): Add scandirat and scandirat64.
27222 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27223 GLIBC_2.15.
27224 * dirent/dirent.h: Declare scandirat and scandirat64.
27225 * dirent/scandirat.c: New file.
27226 * dirent/scandirat64.c: New file.
27227 * sysdeps/wordsize-64/scandirat.c: New file.
27228 * sysdeps/wordsize-64/scandirat64.c: New file.
27229 * dirent/opendir.c: Define opendirat.
27230 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27231 using scandirat.
27232 * dirent/scandir64.c: Adjust for scandir.c change.
27233 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27234 __scandirat64, and __scandir_cancel_handler.
27235 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27236 additional parameter and use openat instead of open (outside of ld.so).
27237 Add new __opendir as wrapper around __opendirat.
27238 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27239 here without requiring old scandirat implementation.
27240
879165f2
UD
272412011-08-08 Ulrich Drepper <drepper@gmail.com>
27242
27243 * dirent/scandir.c (cancel_handler): Renamed to
27244 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27245 defined. Adjust users.
27246 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27247 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27248
cb7e923b
UD
272492011-08-04 Ulrich Drepper <drepper@gmail.com>
27250
16292edd
UD
27251 * string/test-string.h (IMPL): Use __STRING to expand name and then
27252 stringify it.
27253
cb7e923b
UD
27254 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27255 of cleanups.
27256
cff82933
LD
272572011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27258
27259 * string/Makefile: Update.
27260 (strop-tests): Append strncat.
27261 * string/test-wcscmp.c: New file.
27262 New comprehensive test for wcscmp.
27263 * string/test-strcmp.c: Update.
27264 (WIDE): New define.
27265
9be9bfcc
AS
272662011-07-22 Andreas Schwab <schwab@redhat.com>
27267
27268 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27269 line.
27270
2e96f1c7
AS
272712011-07-26 Andreas Schwab <schwab@redhat.com>
27272
27273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27274 encoding to ACE if AI_IDN.
27275
85188888
JJ
272762011-08-01 Jakub Jelinek <jakub@redhat.com>
27277
27278 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27279 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27280
5fa16e9b
LD
272812011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27282
27283 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27284 Fix overflow bug in strncat.
27285 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27286
27287 * string/test-strncat.c: Update.
27288 Add new tests for checking overflow bugs.
27289
272902011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27291
27292 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27293 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27294 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27295 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27296 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27297 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27298 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27299 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27300 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27301
27302 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27303 (USE_AS_STRCAT): Define.
27304 Add strcat and strncat support.
27305 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27306
8c1a459f
AS
273072011-07-25 Andreas Schwab <schwab@redhat.com>
27308
27309 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27310 __n bigger than INT_MAX+1.
27311 (__strncmp_g): Likewise.
27312
bba33c28
UD
273132011-07-23 Ulrich Drepper <drepper@gmail.com>
27314
798be72d
UD
27315 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27316 * libio/stido.h: Likewise.
27317
8accd4dc
UD
27318 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27319 (AF_NFC): Define.
27320 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27321 (AF_NFC): Define.
27322
cbff0d96
UD
27323 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27324 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27325 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27326 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27327 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27328
9191c04a
UD
27329 [BZ #13021]
27330 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27331 installed.
27332
bba33c28
UD
27333 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27334 typo.
27335 (_dl_x86_64_save_sse): Likewise.
27336
90f139dd
UD
273372011-07-22 Ulrich Drepper <drepper@gmail.com>
27338
1aae088a
UD
27339 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27340 OSXSAVE.
27341 (_dl_x86_64_save_sse): Likewise.
27342
8e2045f5
UD
27343 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27344
90f139dd
UD
27345 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27346
1d002f25
AS
273472011-07-21 Andreas Schwab <schwab@redhat.com>
27348
27349 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27350 change.
27351 (_dl_x86_64_save_sse): Use correct AVX check.
27352
21137f89
UD
273532011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27354
27355 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27356 bug in strncpy/strncat.
27357 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27358
a65c0b7a
UD
273592011-07-21 Ulrich Drepper <drepper@gmail.com>
27360
27361 * string/tester.c (test_strcat): Add tests for different alignments
27362 of source and destination.
27363 (test_strncat): Likewise.
27364
6986b98a
UD
273652011-07-20 Ulrich Drepper <drepper@gmail.com>
27366
90bb2039
UD
27367 [BZ #12852]
27368 * posix/glob.c (glob): Check passed in values before using them in
27369 expressions to avoid some overflows.
27370 (glob_in_dir): Likewise.
27371
5644ef54
UD
27372 [BZ #13007]
27373 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27374 check for AVX enablement so that we don't crash with old kernels and
27375 new hardware.
27376 * elf/tst-audit4.c: Add same checks here.
27377 * elf/tst-audit6.c: Likewise.
27378
27379 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 27380
bfc9dc9b
AS
273812011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27382
27383 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27384
702e64bb
UD
273852011-07-20 Ulrich Drepper <drepper@gmail.com>
27386
27387 * po/cs.po: Update from translation team.
27388 * po/bg.po: Likewise.
27389
295e904f
MP
273902011-07-12 Marek Polacek <mpolacek@redhat.com>
27391
27392 * misc/sys/cdefs.h: Add support for const attribute.
27393 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27394 to gnu_dev_{major,minor,makedev} functions.
27395
3ff94596
MP
273962011-07-20 Marek Polacek <mpolacek@redhat.com>
27397
27398 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27399
28b59fca
AS
274002011-07-20 Andreas Schwab <schwab@redhat.com>
27401
27402 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27403 strlen results.
27404
19df733e
AK
274052011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27406
27407 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27408 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27409 register in order to avoid conflicts with the soft frame pointer
27410 being held in r11 when necessary.
27411 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27412 (INTERNAL_VSYSCALL_NCS): Likewise.
27413
c8835729
MP
274142011-07-14 Marek Polacek <mpolacek@redhat.com>
27415
27416 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27417 * elf/dl-fini.c (_dl_fini): Adjust caller.
27418 * elf/dl-close.c (_dl_close_worker): Likewise.
27419 * sysdeps/generic/ldsodefs.h: Adjust declaration.
27420
b902330c
MP
274212011-07-15 Marek Polacek <mpolacek@redhat.com>
27422
8991e135
MP
27423 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27424 "aux_cache->nlibs < 0".
27425
b902330c
MP
27426 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27427 in the reload-count case.
27428
99710781
LD
274292011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27430
27431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27432 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27433 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27434 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27435 * sysdeps/x86_64/multiarch/strcat.S: New file.
27436 * sysdeps/x86_64/multiarch/strncat.S: New file.
27437 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27438 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27439 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27440 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27441 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27442 (USE_AS_STRCAT): Define.
27443 Add strcat and strncat support.
27444 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27445 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27446 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27447 * string/strncat.c: Update.
27448 (USE_AS_STRNCAT): Define.
27449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27450 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27451 and i7.
27452 * sysdeps/x86_64/multiarch/init-arch.h
27453 (bit_Prefer_PMINUB_for_stringop): New.
27454 (index_Prefer_PMINUB_for_stringop): Likewise.
27455 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27456 bit_Prefer_PMINUB_for_stringop.
27457
7dc6bd90
UD
274582011-07-19 Ulrich Drepper <drepper@gmail.com>
27459
27460 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27461 buffer64.
27462 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27463 of casting of buffer.
27464 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27465 buffer32 and buffer64.
27466 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27467 writes instead of casting of buffer.
27468 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27469 buffer32.
27470 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27471 casting of buffer.
27472
e0e72284
AS
274732011-07-19 Andreas Schwab <schwab@redhat.com>
27474
27475 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27476
feb1eb0b
UD
274772011-07-19 Ulrich Drepper <drepper@gmail.com>
27478
27479 * nscd/nscd.c (termination_handler): Don't do anything for a database
27480 if it has not yet been initialized.
27481
298711ff
UD
274822011-07-18 Ulrich Drepper <drepper@gmail.com>
27483
27484 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27485
274862011-07-15 Marek Polacek <mpolacek@redhat.com>
27487
27488 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27489
f9d68389
UD
274902011-07-18 Ulrich Drepper <drepper@gmail.com>
27491
27492 * po/nl.po: Update from translation team.
27493 * po/sv.po: Likewise.
27494
db290cf5
RM
274952011-07-16 Roland McGrath <roland@hack.frob.com>
27496
27497 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27498 now disallowed by GCC.
5c550700 27499
fd5e21c7
RM
27500 * configure.in (use-default-link): Default to yes if a test -shared
27501 link meets our qualifications.
27502 * configure: Regenerated.
27503
5c550700
RM
27504 * config.make.in (output-format): New variable.
27505 * configure.in: Check for ld --print-output-format support.
27506 * configure: Regenerated.
27507 * Makerules ($(common-objpfx)format.lds)
27508 [$(output-format) != unknown]: Just use $(output-format),
27509 instead of the linker-script munging.
27510
9fa2c032
RM
275112011-07-14 Roland McGrath <roland@hack.frob.com>
27512
a6928d51
RM
27513 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27514 of $(common-objpfx)shlib.lds.
27515 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27516
661607b3
RM
27517 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27518 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27519
9fa2c032
RM
27520 * configure.in (-z relro check): Adjust test code to add a large
27521 writable data section after it.
27522 * configure: Regenerated.
27523
defe9061
RM
275242011-07-11 Roland McGrath <roland@hack.frob.com>
27525
27526 * configure.in (-z relro check): Fix test code to make the variable
27527 truly const.
27528 * configure: Regenerated.
27529
319b9ad4
UD
275302011-07-11 Ulrich Drepper <drepper@gmail.com>
27531
27532 * nscd/nscd.h (struct traced_file): Define.
27533 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27534 elements. Add traced_files.
27535 (inotify_fd): Declare.
27536 (register_traced_file): Declare.
27537 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27538 (inotify_fd): Export.
27539 (resolv_conf_descr): Remove.
27540 (nscd_init): Move inotify descriptor creation to main.
27541 Don't register files for notification here.
27542 (register_traced_file): New function.
27543 (invalidate_cache): Don't use reset_res to determine whether to call
27544 res_init, go through the list of registered files.
27545 (main_loop_poll): The inotify descriptors are now stored in the
27546 structures for the traced files.
27547 (main_loop_epoll): Likewise
27548 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27549 to __nss_disable_nscd.
27550 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27551 for a database anymore. Check the records for all the registered
27552 files instead.
27553 * nss/Makefile (libnss_files-routines): Add files-init.
27554 (libnss_db-routines): Add db-init.
27555 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27556 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27557 * nss/nss_db/db-init.c: New file.
27558 * nss/nss_files/files-init.c: New file.
27559 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27560 __nss_lookup_function.
27561 (__nss_lookup_function): Call nss_load_library.
27562 (nss_load_all_libraries): New function.
27563 (__nss_disable_nscd): Take parameter with callback function for files
27564 to register. Set is_nscd. Load all the DSOs for the NSS modules
27565 used for the cached services.
27566 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27567 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27568 options for features to all the files in nscd.
27569
27570 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27571
23bee3e8
RM
275722011-07-10 Roland McGrath <roland@hack.frob.com>
27573
27574 * csu/elf-init.c (__libc_csu_init): Comment typo.
27575
46a5b7f0
UD
275762011-07-09 Ulrich Drepper <drepper@gmail.com>
27577
27578 * po/pl.po: Update from translation team.
27579 * po/ja.po: Likewise.
27580 * po/ru.po: Likewise.
27581 * po/ko.po: Likewise.
27582 * po/fr.po: Likewise.
27583
d30cf5bb
RM
275842011-07-09 Roland McGrath <roland@hack.frob.com>
27585
113ddea4
RM
27586 * configure.in (.ctors/.dtors header and trailer check):
27587 Use an empirical test on a built program.
27588 * configure: Regenerated.
27589
574920b4
RM
27590 * configure.in (-z relro check): Use an empirical test on a built DSO.
27591 Detect, but do not require, on ia64.
27592 * configure: Regenerated.
27593
d30cf5bb
RM
27594 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27595 Update tests that use readelf to use $READELF instead.
27596 * configure: Regenerated.
27597
8538fdb3
UD
275982011-07-08 Ulrich Drepper <drepper@gmail.com>
27599
27600 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27601 if the result is not used.
27602
04d08991
AJ
276032011-07-05 Andreas Jaeger <aj@suse.de>
27604
27605 [BZ#9696]
27606 * stdlib/tst-strtod.c: Add testcase.
27607
de283087
AD
276082011-07-07 Ulrich Drepper <drepper@gmail.com>
27609
4e5f31c8 27610 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 27611 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
27612 The latter has a higher limit. Take additional parameter to pass to
27613 the new function.
27614 (__pathconf): Pass file to __statfs_link_max.
27615 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27616 __statfs_link_max.
27617 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27618 __statfs_link_max.
27619
de283087
AD
27620 [BZ #12868]
27621 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27622 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27623 Handle Lustre.
27624 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27625 (__statfs_filesize_max): Likewise.
27626 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27627
c75fa153
AJ
276282011-07-05 Andreas Jaeger <aj@suse.de>
27629
27630 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27631
1a544854
UD
276322011-07-06 Marek Polacek <mpolacek@redhat.com>
27633
27634 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27635 `status' variable.
27636 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27637 Likewise.
27638
6f0eec67
UD
276392011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27640
27641 * Makefile (strop-tests): Add strncat.
27642 * string/test-strncat.c: New file.
27643
aae30307
UD
276442011-06-30 Marek Polacek <mpolacek@redhat.com>
27645
27646 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27647
c0cfb5eb
UD
276482011-06-21 Andreas Jaeger <aj@suse.de>
27649
27650 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27651 Copy rule from iconvdata/Makefile.
27652
01636b21
UD
276532011-07-06 Ulrich Drepper <drepper@gmail.com>
27654
27655 [BZ #12922]
27656 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27657 but no long options are defined, just return 'W'.
27658
9895c8bc
UD
276592011-06-22 Marek Polacek <mpolacek@redhat.com>
27660
27661 [BZ #9696]
27662 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27663
5d4cf042
UD
276642011-07-06 Ulrich Drepper <drepper@gmail.com>
27665
27666 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27667 netgroups to read.
960e5535 27668 (innetgr): Likewise.
5d4cf042 27669
751eb97e
RM
276702011-07-05 Roland McGrath <roland@hack.frob.com>
27671
27672 * config.make.in (install_root): Default to $(DESTDIR).
27673
f15f1e45
UD
276742011-07-05 Ulrich Drepper <drepper@gmail.com>
27675
27676 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27677
4e34ac6a
RM
276782011-07-02 Roland McGrath <roland@hack.frob.com>
27679
5e9b6af4
RM
27680 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27681
84f9ea0f
RM
27682 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27683 containing directory rather than embedding absolute directory names.
27684
ea5ee9f7
RM
27685 * scripts/check-local-headers.sh: Rewritten using awk.
27686 Match by word, not by line. Print error messages for matches.
27687 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27688
1b74661a
RM
27689 * Makerules [shlib-lds-flags empty]:
27690 ($(common-objpfx)libc_pic.opts): New target.
27691 ($(common-objpfx)libc_pic.os.clean): New target.
27692 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27693
27694 * config.make.in (OBJCOPY): New variable.
27695 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27696 * configure: Regenerated.
27697
f781ef40
RM
27698 * config.make.in (use-default-link): New variable.
27699 * configure.in (use_default_link): Grok --with-default-link to set it.
27700 * configure: Regenerated.
27701 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27702 (shlib-lds, shlib-lds-flags): Define to empty.
27703
2d4fa81e
RM
27704 * Makerules (shlib-lds): New variable.
27705 (shlib-lds-flags): New variable.
27706 (build-shlib, build-moduile, build-module-asneeded): Use it.
27707 ($(common-objpfx)libc.so): Use $(shlib-lds).
27708 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27709 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27710
31fffa6b
RM
27711 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27712 DT_FLAGS/DT_FLAGS_1 with zero flags.
27713
4e34ac6a
RM
27714 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27715 linker script munging.
27716
fcfc776b
UD
277172011-07-02 Ulrich Drepper <drepper@gmail.com>
27718
27719 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27720 as 128-bit value.
27721 * crypt/sha512.c (sha512_process_block): Perform total addition using
27722 128-bit if possible.
27723 (__sha512_finish_ctx): Likewise.
27724 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27725 as 64-bit value.
27726 * crypt/sha256.c (SWAP64): Define.
27727 (sha256_process_block): Perform total addition using 64-bit if
27728 possible.
27729 (__sha256_finish_ctx): Likewise.
27730
99231d9a
UD
277312011-07-01 Ulrich Drepper <drepper@gmail.com>
27732
27733 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
27734 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27735 * nscd/hstcache.c (cache_addhst): Likewise.
27736 * nscd/grpcache.c (cache_addgr): Likewise.
27737 * nscd/aicache.c (addhstaiX): Likewise
27738 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27739
445b4a53
TK
277402011-07-01 Thorsten Kukuk <kukuk@suse.de>
27741
27742 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27743 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27744 * nscd/hstcache.c (cache_addhst): Likewise.
27745 * nscd/grpcache.c (cache_addgr): Likewise.
27746 * nscd/aicache.c (addhstaiX): Likewise
27747
6d4d8e8e
AS
277482011-07-01 Andreas Schwab <schwab@redhat.com>
27749
27750 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27751 domain only when needed.
27752
89f654c5
AS
277532011-06-30 Andreas Schwab <schwab@redhat.com>
27754
27755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27756 is always restored.
27757
cf3b23ff
UD
277582011-06-29 Ulrich Drepper <drepper@gmail.com>
27759
27760 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27761 are re-adding the entry.
27762 * nscd/servicescache.c (cache_addserv): Likewise.
27763
751626f9
AJ
277642011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27765
27766 * sysdeps/generic/dl-irel.h: fix protection against multiple
27767 inclusions.
27768 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27769
9113ea1f
UD
277702011-06-28 Ulrich Drepper <drepper@gmail.com>
27771
5c0b8d90
UD
27772 [BZ #12935]
27773 * malloc/memusage.sh: Fix quoting in message.
27774 * debug/xtrace.sh: Likewise.
27775
9113ea1f
UD
27776 * configure.in: Remove support for --experimental-malloc option, make
27777 it the default.
27778 * config.make.in: Likewise.
27779 * malloc/Makefile: Likewise.
27780
a4172181
AS
277812011-06-27 Andreas Schwab <schwab@redhat.com>
27782
27783 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27784 two-byte characters.
27785
78a7eee7
RM
277862011-06-27 Roland McGrath <roland@hack.frob.com>
27787
62bede13
RM
27788 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27789 AC_CACHE_CHECK invocation.
27790 * configure: Regenerated.
27791
78a7eee7
RM
27792 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27793
5ce33a62
UD
277942011-06-27 Ulrich Drepper <drepper@gmail.com>
27795
034807a9
UD
27796 [BZ #12350]
27797 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27798 bit from old_res_options.
27799
4902da17
UD
27800 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27801
5ce33a62
UD
27802 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27803 value type for setfct.
27804
c2344f56
L
278052011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27806
27807 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27808 __gettimeofday instead of gettimeofday.
27809
68468076
UD
278102011-06-26 Ulrich Drepper <drepper@gmail.com>
27811
27812 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27813
acb0d739
L
278142011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27815
27816 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27817
27818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27819 info.
27820
8912479f
L
278212011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27822
27823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27824 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27825 strcpy-sse2-unaligned strncpy-sse2-unaligned
27826 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27827 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27828 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27829 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27830 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27831 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27832 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27833 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27834 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27835 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27836 (STRCPY): Support SSE2 and SSSE3 versions.
27837
d5495a11
UD
278382011-06-24 Ulrich Drepper <drepper@gmail.com>
27839
27840 [BZ #12874]
27841 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27842 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27843 kernels which artificially limit size of requests.
27844
0b1cbaae
L
278452011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27846
27847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27848 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27849 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27850 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27851 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27852 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27853 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27854 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27855 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27856 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27857 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27858 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27859 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27860 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27861 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27863 Enable unaligned load optimization for Intel Core i3, i5 and i7
27864 processors.
27865 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27866 Define.
27867 (index_Fast_Unaligned_Load): Define.
27868 (HAS_FAST_UNALIGNED_LOAD): Define.
27869
07f494a0
MP
278702011-06-23 Marek Polacek <mpolacek@redhat.com>
27871
27872 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27873
fa3fc0fe
UD
278742011-06-22 Ulrich Drepper <drepper@gmail.com>
27875
27876 [BZ #12907]
27877 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27878 until it is clear that the information is realy needed.
27879 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27880
e12df166
AS
278812011-06-22 Andreas Schwab <schwab@redhat.com>
27882
27883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27884
852eb34d
UD
278852011-06-22 Ulrich Drepper <drepper@gmail.com>
27886
84e2a551
UD
27887 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27888 /sys/devices/system/cpu/online if it is usable.
27889
852eb34d
UD
27890 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27891 reading the information from the /proc filesystem to once a second.
27892
6e502e19
UD
278932011-06-21 Andreas Jaeger <aj@suse.de>
27894
27895 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27896 NULL after inclusion of kernel headers.
27897
75d39ff2
UD
278982011-06-21 Ulrich Drepper <drepper@gmail.com>
27899
51f9aa6a
UD
27900 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27901 calls to internal_setent.
27902
c0244a9d
UD
27903 [BZ #12885]
27904 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27905 addresses using gethostbyname4_r ignore IPv4 addresses.
27906
c5e3c2ae
UD
27907 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27908 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
27909
75d39ff2
UD
27910 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27911
42675c6f
DM
279122011-06-20 David S. Miller <davem@davemloft.net>
27913
27914 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27915 inclusions.
27916 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27917
27918 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27919 (elf_irel): Use it.
27920 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27921 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27922 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27923 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27924 * sysdeps/x86_64/dl-irel.h: Likewise.
27925
27926 * elf/dl-runtime.c: Use elf_ifunc_invoke.
27927 * elf/dl-sym.c: Likewise.
27928
57912a71
UD
279292011-06-15 Ulrich Drepper <drepper@gmail.com>
27930
27931 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
27932 need to dereference resplen2.
27933
ee22793d
AS
279342011-06-14 Andreas Schwab <schwab@redhat.com>
27935
27936 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27937
a9e836b0
UD
279382011-06-15 Ulrich Drepper <drepper@gmail.com>
27939
77fb9117
UD
27940 * Makeconfig: Define vardbdir and inst_vardbdir.
27941 * nss/Makefile: Add rules to install db-Makefile.
27942
40c1b22c
UD
27943 * nss/nss_db/db-XXX.c: Cleanup.
27944
9f2da732
UD
27945 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27946 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27947 GLIBC_PRIVATE.
27948 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27949 * nss/makedb.c: Implement -g option to specify that value strings
27950 are generated and should not be added to table iterated over for
27951 get*ent calls.
27952 * nss/nss_db/db-initgroups.c: New file.
27953
82e9a1f7
UD
27954 * nss/getent.c: Add support for initgroups lookups through getgrouplist
27955 interface.
27956
c41af17e
UD
27957 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27958 (internal_getgrouplist): Adjust to name change.
27959 Update use_initgroups_entry if this is not the first call.
27960 * nss/databases.def: Add initgroups entry.
27961
a9e836b0
UD
27962 * nss/makedb.c (compute_tables): Check result of multiple hash table
27963 sizes to minimize maximum chain length.
27964
2666d441
UD
279652011-06-14 Ulrich Drepper <drepper@gmail.com>
27966
27967 * Versions.def: Add entry for libnss_db.
27968 * shlib-versions: Likewise.
27969 * nss/Makefile: Add rules to build libnss_db.
27970 * nss/Versions: Add libnss_db information. Organize libnss_files
27971 entries better.
27972 * nss/db-Makefile: Add gshadow support. Change rules for the new
27973 makedb progra. Some minor improvements to generate smaller files.
27974 * nss/nss_db/nss_db.h: Move NSS database header data structures to
27975 here from...
27976 * nss/makedb.c: ...here.
27977 Improve database format to be smaller and require less memory at
27978 runtime.
27979 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
27980 db anymore.
27981 * nss/nss_db/db-netgrp.c: Likewise.
27982 * nss/nss_db/db-open.c: Likewise.
27983 * nss/nss_files/flies-XXX.x: Adjust comments.
27984 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27985 * nss/nss_files/files-grp.c: Likewise.
27986 * nss/nss_files/files-hosts.c: Likewise.
27987 * nss/nss_files/files-network.c: Likewise.
27988 * nss/nss_files/files-proto.c: Likewise.
27989 * nss/nss_files/files-pwd.c: Likewise.
27990 * nss/nss_files/files-rpc.c: Likewise.
27991 * nss/nss_files/files-service.c: Likewise.
27992 * nss/nss_files/files-sgrp.c: Likewise.
27993 * nss/nss_files/files-spwd.c: Likewise.
27994 * nss/nss_db/db-alias.c: Removed.
27995 * nss/nss_db/dummy-db.h: Removed.
27996
9ee76b5a
UD
279972011-06-02 Ulrich Drepper <drepper@gmail.com>
27998
27999 * nss/makedb.c: Rewritten to not use database library.
28000 * nss/Makefile: Update to build new makedb program.
28001
c71ca1f8
AJ
280022011-06-14 Andreas Jaeger <aj@suse.de>
28003
28004 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28005 memset declaration.
28006
3154bfb8
UD
280072011-06-10 Andreas Schwab <schwab@redhat.com>
28008
28009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28010 tmpbuf.
28011
b350afab
RM
280122011-06-10 Roland McGrath <roland@hack.frob.com>
28013
decd4e50
RM
28014 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28015 * elf/Makefile ($(objpfx)ld.so): Likewise.
28016
5615eaf2
RM
28017 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28018 Don't list ld.so twice in dependencies.
28019
28020 * posix/bug-regex31.c: Include <stdlib.h>.
28021
28022 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28023
28024 * nis/nss_compat/compat-spwd.c
28025 (getspent_next_nss_netgr): Remove unused variable.
28026 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28027
28028 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28029 nonmembers" output to use the right array.
28030
28031 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28032
28033 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28034
28035 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28036 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28037 * catgets/gencat.c (read_input_file): Likewise.
28038 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28039
28040 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28041 variable definition inside #if's controlling its use.
28042
28043 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28044
28045 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28046
28047 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28048
28049 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28050 unreachable code.
28051
28052 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28053
b68e08db
RM
28054 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28055 * configure: Regenerated.
28056
b350afab
RM
28057 * Makerules: Revert last change.
28058 * elf/Makefile: Likewise.
28059
28368601
RM
280602011-06-09 Roland McGrath <roland@hack.frob.com>
28061
28062 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28063 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28064 (reloc-link): Likewise.
28065
11988f8f
UD
280662011-06-09 Ulrich Drepper <drepper@gmail.com>
28067
28068 * elf/Makefile: Add rules to build pldd.
28069 * elf/pldd.c: New file.
28070 * elf/pldd-xx.c: New file.
28071
e80fab37
UD
280722011-06-07 Ulrich Drepper <drepper@gmail.com>
28073
28074 * version.h: Update for 2.15 development version.
28075
9b849836
DM
280762011-06-07 David S. Miller <davem@davemloft.net>
28077
28078 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28079 ifuncs.
28080 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28081 elf_machine_lazy_rel): Likewise.
28082 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28083 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28084 elf_machine_lazy_rel): Likewise.
28085 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28086 dl_hwcap via passed in argument.
28087 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28088 Likewise.
28089
5a31b283
AK
280902011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28091
28092 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28093
069e52f8
RM
280942011-06-06 Roland McGrath <roland@hack.frob.com>
28095
28096 [BZ #12849]
28097 * manual/fdl-1.1.texi: New file, verbatim from:
28098 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28099 * manual/lgpl-2.1.texi: New file, verbatim from:
28100 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28101 * manual/Makefile (licenses): New variable, list those new file names.
28102 (texis): Use it.
28103 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28104
28105 * manual/fdl.texi: File removed.
28106 * manual/lesser.texi: File removed.
28107 * manual/libc.texinfo (Copying, Documentation License):
28108 Use new @include file names, put @appendix directive before @include.
28109
f16846a5
JJ
281102011-06-04 Jakub Jelinek <jakub@redhat.com>
28111
28112 [BZ #12841]
28113 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28114 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28115 (mq_open): Add __NTH.
28116
3d29045b
L
281172011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28118
28119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28120 Assume Intel Core i3/i5/i7 processor if AVX is available.
28121
8c297311
UD
281222011-05-31 Ulrich Drepper <drepper@gmail.com>
28123
28124 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28125 typo.
28126
c8fc0c91
UD
281272011-05-31 Andreas Schwab <schwab@redhat.com>
28128
28129 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28130 memory. Use alloca_account. Fix memory leak when retrying.
28131
5b27a807
UD
281322011-05-31 Ulrich Drepper <drepper@gmail.com>
28133
356f8bc6
UD
28134 * version.h (RELEASE): Bump for 2.14 release.
28135 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28136
5b27a807
UD
28137 * config.make.in (RANLIB): Remove entry.
28138
01f16ab0
UD
281392011-05-30 Ulrich Drepper <drepper@gmail.com>
28140
41fce8bd
UD
28141 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28142 (libc.pot): Work around missing support for .ksh extension in xgettext.
28143
4769ae77
UD
28144 [BZ #12684]
28145 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28146 if both request failed.
28147 (send_dg): In case of server errors clear resplen or *resplen2.
28148
6b1e7d19
UD
28149 [BZ #12454]
28150 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28151 when there are multiple maps.
28152 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28153 (_dl_fini): Remove test here.
28154
01f16ab0
UD
28155 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28156
b1ebd700
UD
281572011-05-29 Ulrich Drepper <drepper@gmail.com>
28158
7ae22829
UD
28159 [BZ #12350]
28160 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28161 bit from old_res_options.
28162 (gaih_inet): Likewise.
28163
553149f6 28164 [BZ #11099]
18a84741 28165 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28166 as signed.
28167
652ffab1
UD
28168 * resolv/res_init.c (res_setoptions): Make the code more compact.
28169
16985fd0
UD
28170 [BZ #11558]
28171 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28172 set RES_USEVC.
28173
0464f746
UD
28174 [BZ #11634]
28175 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28176
7d17596c
UD
28177 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28178
cf6bbbd7
UD
28179 [BZ #11781]
28180 * malloc/malloc.h: Declare malloc hook variables as volatile.
28181
13f1ab36
UD
28182 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28183 in last patch.
28184
b1ebd700
UD
28185 [BZ #11799]
28186 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28187 raise in the comment.
80e2212d
UD
28188 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28189 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28190 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28191
ce67228d
UD
281922011-05-28 Ulrich Drepper <drepper@gmail.com>
28193
8887a920
UD
28194 [BZ #12811]
28195 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28196 grow the buffers more if it already has to be sufficient.
28197 (build_wcs_upper_buffer): Likewise.
28198 * posix/regexec.c (check_matching): Likewise.
28199 (clean_state_log_if_needed): Likewise.
28200 (extend_buffers): Don't enlarge buffers beyond size of the input
28201 buffer.
28202 Patches mostly by Emil Wojak <emil@wojak.eu>.
28203 * posix/bug-regex32.c: New file.
28204 * posix/Makefile (tests): Add bug-regex32.
28205
4f031072
UD
28206 * locale/findlocale.c (_nl_find_locale): Return right away if
28207 _nl_explode_name failed.
28208 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28209
d0478f0c
UD
28210 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28211
de81b246
UD
28212 * debug/xtrace.sh: Unify messages.
28213 * malloc/memusage.sh: Likewise.
28214
c738465a
UD
28215 [BZ #12813]
28216 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28217 time symbol from vDSO. Substitute with vsyscall if not available.
28218 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28219 __vdso_time.
28220
f1f929d7
UD
28221 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28222 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28223 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28224 Add sendmmsg and internal_sendmmsg.
28225 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28226 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28227 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28228
ce67228d
UD
28229 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28230 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28231 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28232
e57420c6
UD
282332011-05-27 Ulrich Drepper <drepper@gmail.com>
28234
a8509ca5
UD
28235 [BZ #12813]
28236 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28237 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28238 available.
28239 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28240 __vdso_getcpu.
28241
e57420c6
UD
28242 [BZ #12814]
28243 * iconvdata/Makefile (tests): Add bug-iconv9.
28244 * iconvdata/bug-iconv9.c: New file.
28245
4d07db15
AS
282462011-05-27 Andreas Schwab <schwab@redhat.com>
28247
28248 [BZ #12814]
28249 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28250
ea486f69
JJ
282512011-05-25 Jakub Jelinek <jakub@redhat.com>
28252
28253 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28254 (struct user_regs_struct): Change intcs field back to cs.
28255
6f038433
UD
282562011-05-25 Ulrich Drepper <drepper@gmail.com>
28257
28258 * po/ja.po: Update from translation team.
28259
67f86a25
UD
282602011-05-23 Ulrich Drepper <drepper@gmail.com>
28261
28262 [BZ #12795]
28263 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28264 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28265
def7fbd6
AS
282662011-05-20 Andreas Schwab <schwab@redhat.com>
28267
28268 * stdlib/longlong.h: Update from GCC.
28269
f50ef8f1
AS
282702011-05-23 Andreas Schwab <schwab@redhat.com>
28271
28272 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28273 parameter name.
28274 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28275 Add parameter name.
28276 (__sysconf): Pass it down.
28277
de7ce8f1
UD
282782011-05-22 Ulrich Drepper <drepper@gmail.com>
28279
f2962a71
UD
28280 [BZ #12671]
28281 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28282 some situations.
28283 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28284 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28285 add in in __libc_use_alloca calls. Adjust callers.
28286 (glob): Use malloc in some situations.
28287
de7ce8f1
UD
28288 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28289 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28290 pltexit.
28291
aec84f53
UD
282922011-05-21 Ulrich Drepper <drepper@gmail.com>
28293
05bb4a68
UD
28294 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28295 and CLOCK_BOOTTIME_ALARM.
28296
7ea72f99
UD
28297 [BZ #12782]
28298 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28299 is returned.
28300
7e4afad5
UD
28301 * string/_strerror.c (__strerror_r): Print negative errors as signed
28302 numbers.
28303
8e211fec
UD
28304 [BZ #12777]
28305 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28306 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28307 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28308
f7d82dc9
UD
28309 * configure.in: Fix typo in redirection and correct removal of test
28310 files in two cases.
28311
cc9e536d
UD
28312 [BZ #12788]
28313 * locale/setlocale.c (new_composite_name): Fix test to check for
28314 identical name of all categories.
28315
aec84f53
UD
28316 [BZ #12792]
28317 * libio/filedoalloc.c (local_isatty): New function.
28318 (_IO_file_doallocate): Use local_isatty.
28319 * stdio-common/perror.c (perror): In case a new stream is used
28320 forward the stream error.
28321 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28322 error flag.
28323
78e64fdc
RT
283242011-05-20 Ulrich Drepper <drepper@gmail.com>
28325
34a9094f
UD
28326 [BZ #11869]
28327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28328 alloca.
28329 * include/alloca.h (extend_alloca_account): Define.
28330
78e64fdc
RT
28331 [BZ #11857]
28332 * posix/regex.h: Fix comments with documentation of user-accessible
28333 fields after compilation and describe correct free'ing of pattern
28334 after re_compile_pattern.
28335 Patch by Reuben Thomas <rrt@sc3d.org>.
28336
457bddfc
RA
283372011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28338
28339 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28340 and -mno-altivec to prevent the compiler from using Altivec and/or
28341 VSX instructions when the corresponding registers are not available.
28342
a4527b51
AS
283432011-05-19 Andreas Schwab <schwab@redhat.com>
28344
28345 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28346
ed690b2f
UD
283472011-05-19 Ulrich Drepper <drepper@gmail.com>
28348
28349 * libio/freopen.c (freopen): Use __dup2, not dup2.
28350 * libio/freopen64.c (freopen64): Likewise.
28351
8db73634
L
283522011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28353
28354 [BZ #12775]
28355 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28356 * math/Makefile (tests): Add test-powl.
28357 (CFLAGS-test-powl.c): Define.
28358 * math/test-powl.c: New file.
28359
0a197a9d
L
283602011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28361
28362 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28363
ee30c380
UD
283642011-05-17 Ulrich Drepper <drepper@gmail.com>
28365
28366 [BZ #11837]
28367 * iconvdata/gb18030.c: Update to GB18020-2005.
28368
6ce75379
UD
283692011-05-16 Ulrich Drepper <drepper@gmail.com>
28370
a4b89fd8
AR
28371 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28372 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28373 Patch by Aharon Robbins <arnold@skeeve.com>.
28374
ea389b12
UD
28375 [BZ #11892]
28376 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28377 on the stack.
28378
68a3f91f
UD
28379 [BZ #11895]
28380 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28381 through underflows.
28382
15cc7dd1
UD
28383 [BZ #12766]
28384 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28385 point to strings before performing equality test for error_one_per_line
28386 mode.
28387
f3799213
UD
28388 [BZ #11697]
28389 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28390
d79a9c94
UD
28391 [BZ #11820]
28392 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28393 (struct user_fpregs_struct): Avoid __uint*_t types.
28394
56e5eb46
UD
28395 [BZ #6420]
28396 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28397 symbol info. Use it instead of calling _dl_addr locally.
28398 (lock_and_info): New function.
28399 (tr_freehook): Call lock_and_info and pass symbol info as additional
28400 parameter to tr_where.
28401 (tr_mallochook): Likewise.
28402 (tr_reallochook): Likewise.
28403 (tr_memalignhook): Likewise.
28404
6ce75379
UD
28405 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28406 used and couldn't be at all thread-safe.
28407
f8a3b5bf
UD
284082011-05-15 Ulrich Drepper <drepper@gmail.com>
28409
94b7cc37
UD
28410 * libio/freopen.c (freopen): Don't close old file descriptor
28411 before the new one is opened. Instead dup the new file descriptor
28412 to the old one after the new stream is created.
28413 * libio/freopen64.c (freopen64): Likewise.
28414 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28415 * libio/fileops.c (_IO_new_file_close_it): Handle new
28416 _IO_FLAGS2_NOCLOSE flag.
28417 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28418 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28419 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28420 _IO_FLAGS2_NOCLOSE flag.
28421 * include/unistd.h: Add hidden_proto for dup3.
28422 Define __have_dup3.
28423 * io/dup3.c: Define hidden symbol.
28424 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28425
bd25564e
UD
28426 [BZ #7101]
28427 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28428 when an incomplete long option is used.
28429 * posix/tst-getopt_long1.c: New file.
28430 * posix/Makefile (tests): Add tst-getopt_long1.
28431
c84cfef4
UD
28432 [BZ #10138]
28433 * scripts/config.guess: Update from autoconf-2.68.
28434 * scripts/config.sub: Likewise.
28435
3b85df27
UD
28436 [BZ #10157]
28437 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28438 tests into ...
28439 (has_cpuclock): ...this. New function.
28440 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28441 macro here based on has_cpuclock code.
28442
15a856b1
UD
28443 [BZ #10149]
28444 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28445 First byte (not low byte) is now always NUL.
28446 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28447
05f399e6
UD
28448 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28449 Use non-cancelable interfaces.
28450
10a52685 28451 [BZ #9809]
94ecc67d
UD
28452 * locale/iso-639.def: Add entry for Sorani.
28453
f8a3b5bf
UD
28454 [BZ #11901]
28455 * include/stdlib.h: Move include protection to the right place.
28456 Define abort_msg_s. Declare __abort_msg with it.
28457 * stdlib/abort.c (__abort_msg): Adjust type.
28458 * assert/assert.c (__assert_fail_base): New function. Majority
28459 of code from __assert_fail. Allocate memory for __abort_msg with
28460 mmap.
28461 (__assert_fail): Now call __assert_fail_base.
28462 * assert/assert-perr.c: Remove bulk of implementation. Use
28463 __assert_fail_base.
28464 * include/assert.hL Declare __assert_fail_base.
28465 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28466 mmap.
28467 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28468
1af4e298
UD
284692011-05-14 Ulrich Drepper <drepper@gmail.com>
28470
f8a3b5bf 28471 [BZ #11952]
d26dfc60
MG
28472 [BZ #12453]
28473 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28474 until all modules are registered in the DTV.
28475 * elf/Makefile: Add rules to build and run tst-tls19.
28476 * elf/tst-tls19.c: New file.
28477 * elf/tst-tls19mod1.c: New file.
28478 * elf/tst-tls19mod2.c: New file.
28479 * elf/tst-tls19mod3.c: New file.
28480 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28481
2fc54d6f
UD
28482 [BZ #12083]
28483 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28484 correctly.
28485
98d76b46
UD
28486 [BZ #12601]
28487 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28488 two-byte sequence errors.
28489 * iconvdata/Makefile (tests): Add bug-iconv8.
28490 * iconvdata/bug-iconv8.c: New file.
28491
da3c19ef
UD
28492 [BZ #12626]
28493 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28494 buf2 definition.
28495
ca408c15
UD
28496 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28497
d6f67f7d
UD
28498 [BZ #12432]
28499 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28500 (dummy_getcfa): New function.
28501 (init): Get _Unwind_GetCFA address, use dummy if not found.
28502 (backtrace_helper): In recursion check, also check whether CFA changes.
28503 (__backtrace): Completely initialize arg.
28504
1af4e298 28505 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
28506 storing incomplete byte sequence in state object. Avoid testing for
28507 guaranteed too small input if we know there is enough data available.
1af4e298 28508
da62f81b
AS
285092011-05-11 Andreas Schwab <schwab@redhat.com>
28510
28511 * Makeconfig (+link-pie): Indent.
28512 * Rules (binaries-pie): Define if $(have-fpie) and
28513 $(build-shared).
28514 (binaries-shared): Also filter out $(binaries-pie).
28515 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28516 * nscd/Makefile (others-pie): Add nscd.
28517 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28518 ($(objpfx)nscd): Remove command override.
28519 * login/Makefile (others-pie): Add pt_chown.
28520 ($(objpfx)pt_chown): Remove command override.
28521 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28522 remove command overrides.
28523
fcabc0f8
UD
285242011-05-13 Ulrich Drepper <drepper@gmail.com>
28525
20030ae6
UD
28526 * libio/tst_putwc.c: Fix error messages.
28527
fcabc0f8
UD
28528 [BZ #12724]
28529 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28530 currently writing and seek to current position when not.
28531 * libio/Makefile (tests): Add bug-fclose1.
28532 * libio/bug-fclose1.c: New file.
28533
320a5dc0
PB
285342011-05-12 Ulrich Drepper <drepper@gmail.com>
28535
28536 [BZ #12511]
28537 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28538 don't set DF_1_NODELETE here.
28539 (do_lookup_x): When entering new entry test for copy relocation
28540 and if necessary set DF_1_NODELETE flag.
28541 * elf/tst-unique4.cc: New file.
28542 * elf/tst-unique4.h: New file.
28543 * elf/tst-unique4lib.cc: New file.
28544 * elf/Makefile: Add rules to build and run tst-unique4.
28545 Patch by Piotr Bury <pbury@goahead.com>.
28546
22836f52
UD
285472011-05-11 Ulrich Drepper <drepper@gmail.com>
28548
f574184a
UD
28549 [BZ #12052]
28550 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28551
e1fb097f
UD
28552 [BZ #12625]
28553 * misc/mntent_r.c (addmntent): Flush the stream after the output
28554
22836f52
UD
28555 [BZ #12393]
28556 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28557 (is_trusted_path_normalize): Skip initial colon. Append slash
28558 to empty buffer. Duplicate is_trusted_path code but allow
28559 constructed patch to be prefix.
28560 (is_dst): Allow $ORIGIN followed by /.
28561 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28562 Correct testing of result of is_trusted_path_normalize
28563 (decompose_rpath): Fix warning.
28564
7b3b0b2a
UD
285652011-05-10 Ulrich Drepper <drepper@gmail.com>
28566
28567 [BZ #11257]
28568 * grp/initgroups.c (internal_getgrouplist): When we found the service
28569 list through the initgroups entry in nsswitch.conf do not always
28570 continue on a successful lookup. Don't always use the
eac80ce2 28571 __nss_group_database value if it is set.
7b3b0b2a
UD
28572 * nss/nsswitch.conf (initgroups): Change action for successful db
28573 lookup to continue for compatibility.
28574
2a81eaa5
UD
285752011-05-09 Ulrich Drepper <drepper@gmail.com>
28576
be97a69e
UD
28577 [BZ #11532]
28578 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28579 and CP774 modules.
28580 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28581 and CP774 modules.
28582 * iconvdata/tst-tables.sh: Likewise.
28583 * iconvdata/cp770.c: New file.
28584 * iconvdata/cp771.c: New file.
28585 * iconvdata/cp772.c: New file.
28586 * iconvdata/cp773.c: New file.
28587 * iconvdata/cp774.c: New file.
28588 * iconvdata/testdata/CP770: New file.
28589 * iconvdata/testdata/CP770..UTF8: New file.
28590 * iconvdata/testdata/CP771: New file.
28591 * iconvdata/testdata/CP771..UTF8: New file.
28592 * iconvdata/testdata/CP772: New file.
28593 * iconvdata/testdata/CP772..UTF8: New file.
28594 * iconvdata/testdata/CP773: New file.
28595 * iconvdata/testdata/CP773..UTF8: New file.
28596 * iconvdata/testdata/CP774: New file.
28597 * iconvdata/testdata/CP774..UTF8: New file.
28598
28599 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28600 END CHARMAP line.
28601 * iconvdata/gen-8bit-gap.sh: Likewise.
28602 * iconvdata/gen-8bit.sh: Likewise.
28603
c1e9e399
UD
28604 * locale/iso-639.def: Add ary entry.
28605
24c55fb3 28606 [BZ #11258]
96b4b1b0
UD
28607 * locale/C-translit.h.in: Add U20A1 transliteration.
28608
bdc2f971
KB
28609 [BZ #12178]
28610 * locale/iso-639.def: Add wae entry.
28611 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28612
2952b117
UD
28613 [BZ #12545]
28614 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28615 for n.
28616
2a81eaa5
UD
28617 [BZ #12711]
28618 * locale/C-translit.h.in: Add entry for U20B9.
28619 Patch by pravin.d.s@gmail.com.
28620
28377d1b
UD
286212011-05-08 Ulrich Drepper <drepper@gmail.com>
28622
7fb90fb8
UD
28623 [BZ #12713]
28624 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28625 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
28626 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28627 in rtld. Use *stat64.
7fb90fb8 28628 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 28629 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 28630 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
28631 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28632 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28633 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28634 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28635 __fstatat64 macros.
7fb90fb8
UD
28636 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28637 * dirent/rewinddir.c: Add libc_hidden_def.
28638 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 28639 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 28640
28377d1b
UD
28641 * include/dirent.h (__alloc_dir): Add flags parameter.
28642 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28643 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28644 __alloc_dir.
28645 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28646 from fdopendir if O_CLOEXEC is already set.
28647
66bdbaa4
AM
286482011-03-15 Alan Modra <amodra@gmail.com>
28649
28650 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28651 l_tls_firstbyte_offset non-zero. Save padding offset in
28652 l_tls_firstbyte_offset for later use.
28653 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28654 freeing static tls block.
28655
95721191
JN
286562011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28657
28658 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28659 where #ifdef was intended. The intent is to prevent ARG_MAX from
28660 being defined by the kernel headers.
28661
f87dfb1f
UD
286622011-05-07 Ulrich Drepper <drepper@gmail.com>
28663
28664 [BZ #12734]
28665 * resolv/resolv.h: Define RES_NOTLDQUERY.
28666 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28667 no-tld-query and set RES_NOTLDQUERY.
28668 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28669 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28670 modern BIND to search name as TLD unless forbidden.
28671
47c3cd7a
UD
286722011-05-07 Petr Baudis <pasky@suse.cz>
28673 Ulrich Drepper <drepper@gmail.com>
28674
28675 [BZ #12393]
28676 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28677 (is_trusted_path): ...to here.
c1e9ea35 28678 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 28679 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 28680 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 28681
8a35c912
PP
286822011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28683
28684 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28685 __BEGIN/__END_DECLS.
28686
acd41f47
UD
286872011-05-06 Ulrich Drepper <drepper@gmail.com>
28688
28689 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28690 NSS_STATUS_NOTFOUND if no record was found.
28691
597df647
AS
286922011-05-05 Andreas Schwab <schwab@redhat.com>
28693
28694 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28695 (headers-not-in-tirpc): Remove rpc/netdb.h
28696 * resolv/netdb.h: Revert last change.
28697
b9af1301
PP
286982011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28699
28700 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28701 circular dependency between libgcc.a and libc.a.
28702
4e34d5f5
AS
287032011-05-05 Andreas Schwab <schwab@redhat.com>
28704
28705 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28706 * nis/Makefile: Don't install rpcsvc/*.
28707 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28708 instead of <rpc/types.h>.
28709 (MAXHOSTNAMELEN): Define.
28710
00ee369c
AS
287112011-05-03 Andreas Schwab <schwab@redhat.com>
28712
28713 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28714
0b592a30
MB
287152011-04-28 Maciej Babinski <mbabinski@google.com>
28716
28717 [BZ #12714]
28718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28719 gethostbyname4_r when IPv6 results are possible.
28720
6e04cbbe
UD
287212011-05-02 Ulrich Drepper <drepper@gmail.com>
28722
28723 [BZ #12723]
28724 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28725 _PC_PIPE_BUF handling.
28726
e4ecafe0
BH
287272011-04-30 Bruno Haible <bruno@clisp.org>
28728
28729 [BZ #12717]
28730 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28731 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28732 to 'int'.
28733 * inet/getnameinfo.c (getnameinfo): Likewise.
28734
125ee683
UD
287352011-04-29 Ulrich Drepper <drepper@gmail.com>
28736
28737 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28738 to groups setting in database lookup.
28739 * nss/nsswitch.conf: Add initgroups entry.
28740
b722481a
EB
287412011-04-22 Ulrich Drepper <drepper@gmail.com>
28742
28743 [BZ #12685]
28744 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28745 mode string.
28746 Patch by Eric Blake <eblake@redhat.com>.
28747
4df46dbd
L
287482011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28749
28750 * sunrpc/Makefile (need-export-routines): Add svc_run.
28751 (routines): Remove svc_run.
28752 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28753 * sunrpc/clnt_perr.c (clnt_perrno): Export.
28754 * sunrpc/svc_run.c (svc_run): Likewise.
28755 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28756
e84142d2
UD
287572011-04-21 Ulrich Drepper <drepper@gmail.com>
28758
28759 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28760 problem in reallocation in last patch.
28761
877175d8
UD
287622011-04-20 Ulrich Drepper <drepper@gmail.com>
28763
28764 * sunrpc/Makefile: Move inclusion of Rules.
28765
ab8eed78
UD
287662011-04-19 Ulrich Drepper <drepper@gmail.com>
28767
28768 * nss/nss_files/files-initgroups.c: New file.
28769 * nss/Makefile (libnss_files-routines): Add files-initgroups.
28770 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28771 _nss_files_initgroups_dyn.
28772
e3d8f584
RS
287732011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28774
28775 * elf/elf.h (R_ARM_IRELATIVE): Define.
28776
af190f45
UD
287772011-04-19 Ulrich Drepper <drepper@gmail.com>
28778
28779 * po/ru.po: Update from translation team.
28780
53cf59ef
UD
287812011-04-17 Ulrich Drepper <drepper@gmail.com>
28782
28783 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28784 dependencies.
28785
4c559bcd
MF
287862011-02-06 Mike Frysinger <vapier@gentoo.org>
28787
28788 [BZ #12653]
28789 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28790 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28791 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28792 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28793 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28794
4420675c
AS
287952011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28796
28797 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28798 differing bytes.
28799 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28800 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28801 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28802
75ea32ab
UD
288032011-04-17 Ulrich Drepper <drepper@gmail.com>
28804
28805 [BZ #12420]
28806 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28807 storing it.
28808 * stdlib/bug-getcontext.c: New file.
28809 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28810
27390476
AK
288112011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28812
28813 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28814 instructions into .machine "z9-109".
28815 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28816 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28817
10442705
AK
288182011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28819
28820 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28821 between environment variables and auxiliary vector.
28822
7b57bfe5
UD
288232011-04-16 Ulrich Drepper <drepper@gmail.com>
28824
28825 * Makefile: Add rules to build linkobj/libc.so.
28826 * include/libc-symbols.h: Define libc_hidden_nolink.
28827 * include/rpc/auth.h: Mark functions which are to be hidden.
28828 * include/rpc/auth_des.h: Likewise.
28829 * include/rpc/auth_unix.h: Likewise.
28830 * include/rpc/clnt.h: Likewise.
28831 * include/rpc/des_crypt.h: Likewise.
28832 * include/rpc/key_prot.h: Likewise.
28833 * include/rpc/pmap_clnt.h: Likewise.
28834 * include/rpc/pmap_prot.h: Likewise.
28835 * include/rpc/pmap_rmt.h: Likewise.
28836 * include/rpc/rpc_msg.h: Likewise.
28837 * include/rpc/svc.h: Likewise.
28838 * include/rpc/svc_auth.h: Likewise.
28839 * include/rpc/xdr.h: Likewise.
28840 * nis/Makefile: Link all DSOs against linkobj/libc.so.
28841 * nss/Makefile: Likewise.
28842 * sunrpc/Makefile: Don't install headers. Build library with normal
28843 entry points. Don't build rpcinfo. Link RPC tests appropriately.
28844 * sunrpc/auth_des.c: Hide exported symbols by default, export some
28845 for the compat linking library. Remove use of INTDEF/INTUSE.
28846 * sunrpc/auth_none.c: Likewise.
28847 * sunrpc/auth_unix.c: Likewise.
28848 * sunrpc/authdes_prot.c: Likewise.
28849 * sunrpc/authuxprot.c: Likewise.
28850 * sunrpc/clnt_gen.c: Likewise.
28851 * sunrpc/clnt_perr.c: Likewise.
28852 * sunrpc/clnt_raw.c: Likewise.
28853 * sunrpc/clnt_simp.c: Likewise.
28854 * sunrpc/clnt_tcp.c: Likewise.
28855 * sunrpc/clnt_udp.c: Likewise.
28856 * sunrpc/clnt_unix.c: Likewise.
28857 * sunrpc/des_crypt.c: Likewise.
28858 * sunrpc/des_soft.c: Likewise.
28859 * sunrpc/get_myaddr.c: Likewise.
28860 * sunrpc/key_call.c: Likewise.
28861 * sunrpc/key_prot.c: Likewise.
28862 * sunrpc/netname.c: Likewise.
28863 * sunrpc/pm_getmaps.c: Likewise.
28864 * sunrpc/pm_getport.c: Likewise.
28865 * sunrpc/pmap_clnt.c: Likewise.
28866 * sunrpc/pmap_prot.c: Likewise.
28867 * sunrpc/pmap_prot2.c: Likewise.
28868 * sunrpc/pmap_rmt.c: Likewise.
28869 * sunrpc/publickey.c: Likewise.
28870 * sunrpc/rpc_cmsg.c: Likewise.
28871 * sunrpc/rpc_common.c: Likewise.
28872 * sunrpc/rpc_dtable.c: Likewise.
28873 * sunrpc/rpc_prot.c: Likewise.
28874 * sunrpc/rpc_thread.c: Likewise.
28875 * sunrpc/rtime.c: Likewise.
28876 * sunrpc/svc.c: Likewise.
28877 * sunrpc/svc_auth.c: Likewise.
28878 * sunrpc/svc_authux.c: Likewise.
28879 * sunrpc/svc_raw.c: Likewise.
28880 * sunrpc/svc_run.c: Likewise.
28881 * sunrpc/svc_simple.c: Likewise.
28882 * sunrpc/svc_tcp.c: Likewise.
28883 * sunrpc/svc_udp.c: Likewise.
28884 * sunrpc/svc_unix.c: Likewise.
28885 * sunrpc/svcauth_des.c: Likewise.
28886 * sunrpc/xcrypt.c: Likewise.
28887 * sunrpc/xdr.c: Likewise.
28888 * sunrpc/xdr_array.c: Likewise.
28889 * sunrpc/xdr_float.c: Likewise.
28890 * sunrpc/xdr_intXX_t.c: Likewise.
28891 * sunrpc/xdr_mem.c: Likewise.
28892 * sunrpc/xdr_rec.c: Likewise.
28893 * sunrpc/xdr_ref.c: Likewise.
28894 * sunrpc/xdr_sizeof.c: Likewise.
28895 * sunrpc/xdr_stdio.c: Likewise.
28896
e6c61494
UD
288972011-04-10 Ulrich Drepper <drepper@gmail.com>
28898
28899 [BZ #12650]
28900 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28901 * sysdeps/ia64/dl-tls.h: Likewise.
28902 * sysdeps/powerpc/dl-tls.h: Likewise.
28903 * sysdeps/s390/dl-tls.h: Likewise.
28904 * sysdeps/sh/dl-tls.h: Likewise.
28905 * sysdeps/sparc/dl-tls.h: Likewise.
28906 * sysdeps/x86_64/dl-tls.h: Likewise.
28907 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28908
34fe483e
AS
289092011-03-14 Andreas Schwab <schwab@redhat.com>
28910
28911 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28912 rpath element also skip the following colon.
28913 (expand_dynamic_string_token): Add is_path parameter and pass
28914 down to DL_DST_REQUIRED and _dl_dst_substitute.
28915 (decompose_rpath): Call expand_dynamic_string_token with
28916 non-zero is_path. Ignore empty rpaths.
28917 (_dl_map_object_from_fd): Call expand_dynamic_string_token
28918 with zero is_path.
28919
f12a32e6
AS
289202011-04-08 Andreas Schwab <schwab@linux-m68k.org>
28921
28922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28923 Make cancelable.
28924
38a7d692
UD
289252011-04-09 Ulrich Drepper <drepper@gmail.com>
28926
28927 [BZ #12655]
28928 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28929 Patch by Filipe David Manana <fdmanana@apache.org>.
28930
e451d22b
AS
289312011-04-07 Andreas Schwab <schwab@redhat.com>
28932
28933 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28934 Maintain aligned stack.
28935 (CHECK_RSP): Remove unused macro.
28936
dedc7c7b
UD
289372011-04-03 Ulrich Drepper <drepper@gmail.com>
28938
28939 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28940 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28941
94521213
UD
289422011-04-02 Ulrich Drepper <drepper@gmail.com>
28943
28944 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28945
8cb700c0 28946 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 28947
0354e355
L
289482011-03-26 H.J. Lu <hongjiu.lu@intel.com>
28949
28950 [BZ #12518]
28951 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28952 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28953 * sysdeps/x86_64/memmove.c: New file.
28954 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28955 (memcpy): Renamed to ...
28956 (__new_memcpy): This.
28957 (memcpy): Provide GLIBC_2_14 memcpy.
28958 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28959 (memcpy): Provide GLIBC_2_2_5 memcpy.
28960
8593482f
UD
289612011-04-01 Ulrich Drepper <drepper@gmail.com>
28962
28963 [BZ #12631]
28964 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28965
81a5726b
AS
289662011-03-30 Andreas Schwab <schwab@redhat.com>
28967
28968 * misc/syncfs.c: New file.
28969 * misc/Makefile (routines): Add syncfs.
28970 * posix/unistd.h: Declare syncfs.
28971 * sysdeps/unix/syscalls.list: Add syncfs.
28972
00e5419f
AS
289732011-04-01 Andreas Schwab <schwab@redhat.com>
28974
28975 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28976 open_by_handle_at.
28977 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28978 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28979 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28980 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28981 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28982 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28983 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28984
748876bf
UD
289852011-04-01 Ulrich Drepper <drepper@gmail.com>
28986
658e451d
UD
28987 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28988 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28989 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28990 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28991 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28992 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28993 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28994
748876bf
UD
28995 * io/Makefile: Compile fallocate.c, fallocate64.c, and
28996 sync_file_range.c with -fexceptions.
28997 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28998 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28999 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29000 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29001 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29002 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29003 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29004 sync_file_range as cancellation point
29005 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29006 now a wrapper around __call_sync_file_range with cancellation handling.
29007 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29008 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29009 function name to __call_sync_file_range.
29010 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29011 Add call_sync_file_range.
748876bf 29012
6e63d5e1
AS
290132011-04-01 Andreas Schwab <schwab@redhat.com>
29014
29015 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29016 bits/timex.h.
6e63d5e1 29017
46998f74
UD
290182011-04-01 Ulrich Drepper <drepper@gmail.com>
29019
4c1423ed
UD
29020 * iconv/iconv.h: Fix typo in comment.
29021 * io/fcntl.h: Likewise.
29022 * libio/stdio.h: Likewise.
29023 * posix/spawn.h: Likewise.
29024 * posix/unistd.h: Likewise.
29025 * stdlib/stdlib.h: Likewise.
29026 * time/time.h: Likewise.
29027 * wcsmbs/wchar.h: Likewise.
29028
158648c0
UD
29029 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29030 open_by_handle): Add.
29031 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29032 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29033 Augment a few comments.
29034 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29035 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29036 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29038 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29039 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29040 open_by_handle.
29041
46998f74
UD
29042 * io/fcntl.h (AT_EMPTY_PATH): Define.
29043
83fe108b
UD
290442011-03-30 Ulrich Drepper <drepper@gmail.com>
29045
29046 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29047 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29048 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29049 to...
29050 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29051 * Versions.def: Add GLIBC_2.14.
29052 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29053 Export.
83fe108b 29054
bb242059
UD
290552011-03-22 Ulrich Drepper <drepper@gmail.com>
29056
29057 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29058 round counter.
29059 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29060
c97a1282
L
290612011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29062
29063 [BZ #12597]
29064 * string/test-strncmp.c (do_page_test): New function.
29065 (check2): Likewise.
29066 (test_main): Call check2.
29067 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29068
2a115601
UD
290692011-03-20 Ulrich Drepper <drepper@gmail.com>
29070
29071 [BZ #12587]
29072 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29073 Handle cache information in CPU leaf 4.
29074 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29075
8126d904
UD
290762011-03-18 Ulrich Drepper <drepper@gmail.com>
29077
042c49c6 29078 [BZ #12583]
8126d904
UD
29079 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29080 character representation.
29081 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29082
ccfe366e
RA
290832011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29084
29085 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29086 END(__isnan) to END(__isnanf) to match function entry point/label
29087 EALIGN(__isnanf,...).
29088
c6e13027
JJ
290892011-03-10 Jakub Jelinek <jakub@redhat.com>
29090
29091 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29092
33f85a3f
UD
290932011-03-10 Ulrich Drepper <drepper@gmail.com>
29094
028478fa
UD
29095 [BZ #12510]
29096 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29097 copy from the symbol referenced in the relocation to initialize the
29098 used variable.
29099 Patch by Piotr Bury <pbury@goahead.com>.
29100 * elf/Makefile: Add rules to build and tst-unique3.
29101 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29102 * elf/tst-unique3.cc: New file.
29103 * elf/tst-unique3.h: New file.
29104 * elf/tst-unique3lib.cc: New file.
29105 * elf/tst-unique3lib2.cc: New file.
29106
33f85a3f
UD
29107 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29108
03592fc7
MF
291092011-03-10 Mike Frysinger <vapier@gentoo.org>
29110
29111 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29112 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29113 to _start.
03592fc7 29114
6a5ee102
UD
291152011-03-06 Ulrich Drepper <drepper@gmail.com>
29116
29117 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29118 to-be-loaded object along a path to loader is ld.so.
29119
7e4ba49c
HJ
291202011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29121 Ulrich Drepper <drepper@gmail.com>
29122
29123 * sysdeps/x86_64/memset.S: After aligning destination, code
29124 branches to different locations depending on the value of
29125 misalignment, when multiarch is enabled. Fix this.
29126
291272011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29128
29129 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29130 Set _x86_64_preferred_memory_instruction for AMD processsors.
29131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29132 Set bit_Prefer_SSE_for_memop for AMD processors.
29133
13a804de
UD
291342011-03-04 Ulrich Drepper <drepper@gmail.com>
29135
29136 * libio/fmemopen.c (fmemopen): Optimize a bit.
29137
9d25c392
AS
291382011-03-03 Andreas Schwab <schwab@redhat.com>
29139
29140 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29141
a5543c6a
RM
291422011-03-03 Roland McGrath <roland@redhat.com>
29143
29144 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29145
012d35f7
DM
291462011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29147
7e4ba49c 29148 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29149 __bzero_ultra1 instead of __memset_ultra1.
29150
4bff6e01
AS
291512011-02-23 Andreas Schwab <schwab@redhat.com>
29152 Ulrich Drepper <drepper@gmail.com>
29153
29154 [BZ #12509]
29155 * include/link.h (struct link_map): Add l_orig_initfini.
29156 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29157 returning unsuccessfully.
29158 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29159 close of a file loaded at startup, restore the original l_initfini
29160 list.
29161 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29162 list, store the pointer.
29163 * elf/Makefile ($(objpfx)noload-mem): New rule.
29164 (noload-ENV): Define.
29165 (tests): Add $(objpfx)noload-mem.
29166 * elf/noload.c: Include <memcheck.h>.
29167 (main): Call mtrace. Close all opened handles.
29168
f2092faf
AS
291692011-02-17 Andreas Schwab <schwab@redhat.com>
29170
29171 [BZ #12454]
29172 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29173 dependencies are missing.
29174
6c8a2e88
ST
291752011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29176
f2092faf 29177 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29178 Hurd needs munmap.
29179 * sysdeps/mach/hurd/ifreq.h: New file.
29180
84a42118
PB
291812011-01-27 Petr Baudis <pasky@suse.cz>
29182 Ulrich Drepper <drepper@gmail.com>
29183
071f805e 29184 [BZ 12445]#
84a42118
PB
29185 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29186 to extend_alloca().
29187 * stdio-common/bug23.c: New file.
29188 * stdio-common/Makefile (tests): Add bug23.
29189
e23fe25b
AS
291902010-09-28 Andreas Schwab <schwab@redhat.com>
29191 Ulrich Drepper <drepper@gmail.com>
29192
29193 [BZ #12489]
29194 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29195 before performing relro protection. At old place add assertion
29196 to make sure nothing changed.
29197
d3f02e10
NS
291982011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29199 Glauber de Oliveira Costa <glommer@gmail.com>
29200
29201 * elf/elf.h: Add new ARM TLS relocs.
29202
d55fd7a5
RA
292032011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29204
29205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29206 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29207 cast from r3.
29208 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29209 'tests' variable.
29210 * sysdeps/wordsize-64/tst-writev.c: New file.
29211
2206397e
RA
292122011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29213
29214 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29215 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29216 insns in _dl_start to prevent a TOC reference before relocs are
29217 resolved.
29218
e9433893
UD
292192011-02-15 Ulrich Drepper <drepper@gmail.com>
29220
29221 [BZ #12469]
29222 * Makeconfig: Remove RANLIB definition.
29223 * Makerules: Don't use RANLIB.
29224 * aclocal.m4: Remove ranlib test.
29225 * configure.in: No need to check for ranlib.
29226 * elf/rtld-Rules: Don't use RANLIB.
29227
f75286c6
ST
292282011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29229
8e31c82d
ST
29230 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29231 protection macro.
29232 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29233 inclusion protection macro.
29234
f75286c6
ST
29235 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29236 SIGRTMIN and SIGRTMAX and print information in that case only when
29237 SIGRTMIN is defined.
29238
c1d0e639
JJ
292392011-02-11 Jakub Jelinek <jakub@redhat.com>
29240
29241 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29242 arginfo fn returning -1.
29243
29244 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29245 and thousands string is zero terminated.
29246
edf9294e
AS
292472011-02-03 Andreas Schwab <schwab@redhat.com>
29248
29249 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29250 sysdeps/unix/sysv/linux/bits/socket.h.
29251
2b7e92df
ST
292522011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29253
edf9294e
AS
29254 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29255 (__CPU_COUNT): Remove old macros.
29256 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29257 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29258 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
29259 (__sched_cpualloc, __sched_cpufree): Add declarations.
29260
a4c7ea7b
UD
292612011-02-05 Ulrich Drepper <drepper@gmail.com>
29262
29263 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29264 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29265 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29266 (readdhstai): Return value of addhstaiX call.
29267 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29268 (addgrbyX): Return value returned by cache_addgr.
29269 (readdgrbyname): Return value returned by addgrbyX.
29270 (readdgrbygid): Likewise.
29271 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29272 (addpwbyX): Return value returned by cache_addpw.
29273 (readdpwbyname): Return value returned by addhstbyX.
29274 (readdpwbyuid): Likewise.
29275 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29276 (addservbyX): Return value returned by cache_addserv.
29277 (readdservbyname): Return value returned by addservbyX:
29278 (readdservbyport): Likewise.
29279 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29280 (addhstbyX): Return value returned by cache_addhst.
29281 (readdhstbyname): Return value returned by addhstbyX.
29282 (readdhstbyaddr): Likewise.
29283 (readdhstbynamev6): Likewise.
29284 (readdhstbyaddrv6): Likewise.
29285 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29286 (readdinitgroups): Return value returned by addinitgroupsX.
29287 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29288 (prune_cache): Keep track of timeout value of re-added entries.
29289 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29290 * nscd/nscd.h: Adjust prototypes of readd* functions.
29291
a0bf67cc
RM
292922011-02-04 Roland McGrath <roland@redhat.com>
29293
29294 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29295 (nis_stats): Likewise.
29296 * nis/nis_modify.c (nis_modify): Likewise.
29297 * nis/nis_remove.c (nis_remove): Likewise.
29298 * nis/nis_add.c (nis_add): Likewise.
29299
29300 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29301
29302 * posix/fnmatch_loop.c: Add some consts.
29303
29304 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29305
435b95eb
L
293062011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29307
29308 [BZ #12460]
29309 * config.make.in (config-cflags-novzeroupper): Define.
29310 * configure.in: Substitute libc_cv_cc_novzeroupper.
29311 * elf/Makefile (AVX-CFLAGS): Define.
29312 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29313 (CFLAGS-tst-auditmod4a.c): Likewise.
29314 (CFLAGS-tst-auditmod4b.c): Likewise.
29315 (CFLAGS-tst-auditmod6b.c): Likewise.
29316 (CFLAGS-tst-auditmod6c.c): Likewise.
29317 (CFLAGS-tst-auditmod7b.c): Likewise.
29318 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29319
8517b15e
UD
293202011-02-02 Ulrich Drepper <drepper@gmail.com>
29321
29322 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29323 function to the callback.
29324 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29325
10a656fe
AS
293262011-02-02 Andreas Schwab <schwab@redhat.com>
29327
29328 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29329 of errno.
29330
968dad0a
UD
293312011-01-19 Ulrich Drepper <drepper@gmail.com>
29332
9f94d2ea 29333 [BZ #11724]
968dad0a
UD
29334 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29335 of constructors.
29336 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29337 of destructors.
29338 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29339
29340 [BZ #11724]
29341 * elf/Makefile: Add rules to build and run new test.
29342 * elf/tst-initorder.c: New file.
29343 * elf/tst-initorder.exp: New file.
29344 * elf/tst-initordera1.c: New file.
29345 * elf/tst-initordera2.c: New file.
29346 * elf/tst-initordera3.c: New file.
29347 * elf/tst-initordera4.c: New file.
29348 * elf/tst-initorderb1.c: New file.
29349 * elf/tst-initorderb2.c: New file.
29350 * elf/tst-order-a1.c: New file.
29351 * elf/tst-order-a2.c: New file.
29352 * elf/tst-order-a3.c: New file.
29353 * elf/tst-order-a4.c: New file.
29354 * elf/tst-order-b1.c: New file.
29355 * elf/tst-order-b2.c: New file.
29356 * elf/tst-order-main.c: New file.
29357 New test case by George Gensure <werkt0@gmail.com>.
29358
86e92359
UD
293592010-10-01 Andreas Schwab <schwab@redhat.com>
29360
29361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29362 decoding ACE if AI_CANONIDN.
29363
5d5732b0
UD
293642011-01-18 Ulrich Drepper <drepper@gmail.com>
29365
29366 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29367
a77e8cbc
UD
293682011-01-17 Ulrich Drepper <drepper@gmail.com>
29369
6392473f
UD
29370 * version.h (RELEASE): Bump for 2.13 release.
29371 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29372
620a0529
UD
29373 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29374
18ba70a5
UD
29375 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29376 MADV_NOHUGEPAGE.
32465c3e
UD
29377 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29378 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29379 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29380 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29381 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29382 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29383
c0dafcf1
UD
29384 * posix/getconf.c: Update copyright year.
29385 * catgets/gencat.c: Likewise.
29386 * csu/version.c: Likewise.
29387 * debug/catchsegv.sh: Likewise.
29388 * debug/xtrace.sh: Likewise.
29389 * elf/ldconfig.c: Likewise.
29390 * elf/ldd.bash.in: Likewise.
29391 * elf/sprof.c (print_version): Likewise.
29392 * iconv/iconv_prog.c: Likewise.
29393 * iconv/iconvconfig.c: Likewise.
29394 * locale/programs/locale.c: Likewise.
29395 * locale/programs/localedef.c: Likewise.
29396 * malloc/memusage.sh: Likewise.
29397 * malloc/mtrace.pl: Likewise.
29398 * nscd/nscd.c (print_version): Likewise.
29399 * nss/getent.c: Likewise.
29400
a77e8cbc
UD
29401 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29402 PF_CAIF, and PF_ALG.
29403 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29404
77e8bddf
AS
294052011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29406
1f20b93a
AS
29407 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29408 (modules-names): Use them.
29409 (ifunc-test-modules, ifunc-pie-tests): Define.
29410 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29411 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29412 (test-extras): Likewise.
29413 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29414 $(compile-command.c).
29415 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29416 (all-built-dso): Define.
29417 (check-textrel.out, check-execstack.out): Depend on it.
29418
77e8bddf
AS
29419 * configure.in: Don't override --enable-multi-arch.
29420
bc425b33
UD
294212011-01-15 Ulrich Drepper <drepper@gmail.com>
29422
29423 [BZ #6812]
29424 * nscd/hstcache.c (tryagain): Define.
29425 (cache_addhst): Return tryagain not notfound for temporary errors.
29426 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29427 failed.
29428
794c3ad3
UD
294292011-01-14 Ulrich Drepper <drepper@gmail.com>
29430
70181fdd
UD
29431 [BZ #10563]
29432 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29433 to make the syscall.
29434 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29435
794c3ad3
UD
29436 [BZ #12378]
29437 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29438 and fall back to matching as normal character if the string ends before
29439 the matching ']' is found. This is what POSIX requires.
29440 * posix/testfnm.c: Adjust test result.
29441 * posix/globtest.sh: Adjust test result. Add new test.
29442 * posix/tst-fnmatch.input: Likewise.
29443 * posix/tst-fnmatch2.c: Add new test.
29444
68dc9497
AS
294452010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29446
29447 * elf/Makefile (check-execstack): Revert last change. Depend on
29448 check-execstack.h.
29449 (check-execstack.h): New target.
29450 (generated): Add check-execstack.h.
29451 * elf/check-execstack.c: Include "check-execstack.h".
29452 (main): Revert last change.
29453 (handle_file): Return zero if GNU_STACK is absent and
29454 DEFAULT_STACK_PERMS doesn't include PF_X.
29455
451f001b
UD
294562011-01-13 Ulrich Drepper <drepper@gmail.com>
29457
cfa28e56
UD
29458 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29459 in child fails because the descriptor is already closed.
8cf8ce17
UD
29460 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29461 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29462 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 29463
1086d70d
UD
29464 [BZ #12397]
29465 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29466 syscall.
29467
451f001b
UD
29468 [BZ #10484]
29469 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29470 temporary buffer used to handle multi lookups locally.
a85b5cb4 29471 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 29472
08769175
UD
294732011-01-12 Ulrich Drepper <drepper@gmail.com>
29474
29475 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29476 loader is ld.so.
29477
5e49c52e
UD
294782011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29479
29480 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29481 alignment for SSE2.
29482
60522a5f
UD
294832011-01-12 Ulrich Drepper <drepper@gmail.com>
29484
29485 [BZ #12394]
29486 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29487 characters. When rounding increased number of integer digits recompute
29488 number of groups.
29489 * stdio-common/tst-grouping.c: New file.
29490 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29491
f257bbd7
UD
294922011-01-09 Ulrich Drepper <drepper@gmail.com>
29493
29494 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29495 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29496
29497 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29498 void.
29499 * bits/select.h: Likewise.
29500
fa9c15cb
UD
295012011-01-08 Ulrich Drepper <drepper@gmail.com>
29502
29503 * po/ja.po: Update from translation team.
29504
16c2895f
DM
295052011-01-04 David S. Miller <davem@sunset.davemloft.net>
29506
29507 [BZ #11155]
29508 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29509 implementation just like for lxstat, fxstatat, et al.
29510
2543fef2
JM
295112010-12-27 Jim Meyering <meyering@redhat.com>
29512
29513 [BZ #12348]
29514 * posix/regexec.c (build_trtable): Return failure indication upon
29515 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29516
98727dbe
UD
295172010-12-25 Ulrich Drepper <drepper@gmail.com>
29518
5bd6dc5c
UD
29519 [BZ #12201]
29520 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29521 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29522 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29523 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29524
97983464
UD
29525 [BZ #12207]
29526 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29527
98727dbe
UD
29528 [BZ #12204]
29529 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29530 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29531
4a531bb0
L
295322010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29533
29534 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29535 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29536 script has SORT_BY_INIT_PRIORITY.
29537 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29538 NO_CTORS_DTORS_SECTIONS is defined.
29539 * elf/soinit.c: Likewise.
29540 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29541 NO_CTORS_DTORS_SECTIONS is defined.
29542 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29543 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29544 * sysdeps/sh/init-first.c: Likewise.
29545 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29546
07eb4b71
UD
295472010-12-24 Ulrich Drepper <drepper@gmail.com>
29548
29549 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29550 always use the slow path.
29551
30950a5f
RA
295522010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29553
29554 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29555 similar rule which adds the sysdep directories to the header search in
29556 order to pick up the correct platform stackinfo.h.
29557 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29558 perform test if it is, otherwise return successfully without testing.
29559 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29560 DEFAULT_STACK_PERMS define in stackinfo.h.
29561 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29562 defined in stackinfo.h.
29563 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29564 DEFAULT_STACK_PERMS defined in stackinfo.h.
29565 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29566 * sysdeps/ia64/stackinfo.h: Likewise.
29567 * sysdeps/s390/stackinfo.h: Likewise.
29568 * sysdeps/sh/stackinfo.h: Likewise.
29569 * sysdeps/sparc/stackinfo.h: Likewise.
29570 * sysdeps/x86_64/stackinfo.h: Likewise.
29571 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29572 PF_X for powerpc64. Retain PF_X for powerpc32.
29573
db753e2c
UD
295742010-12-19 Ulrich Drepper <drepper@gmail.com>
29575
14b697f7
UD
29576 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29577 accurately.
db753e2c
UD
29578 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29579 GETDENTS_64BIT_ALIGNED.
29580
28300719
UD
295812010-12-14 Ulrich Drepper <dreper@gmail.com>
29582
14b697f7 29583 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 29584
4f197237
AS
295852010-12-10 Andreas Schwab <schwab@redhat.com>
29586
dbb0472f
AS
29587 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29588 _GNU_SOURCE.
29589
4f197237
AS
29590 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29591 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29592 Remove __restrict.
29593 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29594 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29595
fb88ac72
UD
295962010-12-09 Ulrich Drepper <drepper@gmail.com>
29597
29598 [BZ #11655]
29599 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29600 are initialized.
29601
42acbb92
JJ
296022010-12-09 Jakub Jelinek <jakub@redhat.com>
29603
29604 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29605
c038d98d
UD
296062010-12-03 Ulrich Drepper <drepper@gmail.com>
29607
29608 * po/it.po: Update from translation team.
29609
3a4a2499
L
296102010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29611
29612 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29613 unused codes.
29614
1e24cf6e
UD
296152010-11-30 Ulrich Drepper <drepper@gmail.com>
29616
29617 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29618
a7690819
AS
296192010-11-24 Andreas Schwab <schwab@redhat.com>
29620
29621 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29622 specially.
29623 (gaih_getanswer_slice): Likewise.
29624
3bf8d1b1
JJ
296252010-10-20 Jakub Jelinek <jakub@redhat.com>
29626
29627 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29628
6db52fbb
PB
296292010-05-31 Petr Baudis <pasky@suse.cz>
29630
29631 [BZ #11149]
29632 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29633 silently even in the chroot mode.
29634
eaca7569
UD
296352010-11-22 Ulrich Drepper <drepper@gmail.com>
29636
29637 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29638 last patch a bit. Pretty printing
29639
3056dcdb
UD
296402010-05-31 Petr Baudis <pasky@suse.cz>
29641
29642 [BZ #10085]
29643 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29644 initialization of skip_initgroups_dyn.
29645
cf7c9078
UD
296462010-11-19 Ulrich Drepper <drepper@gmail.com>
29647
29648 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29649 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29650
a1fb5e3e
UD
296512010-11-16 Ulrich Drepper <drepper@gmail.com>
29652
29653 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29654
3540d66b
AS
296552010-11-11 Andreas Schwab <schwab@redhat.com>
29656
29657 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29658 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29659 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29660 ($(objpfx)tst-fnmatch-mem): New rule.
29661 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29662 * posix/tst-fnmatch.c (main): Call mtrace.
29663
13b69574
L
296642010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29665
29666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29667 Support Intel processor model 6 and model 0x2c.
29668
da93d214
LM
296692010-11-10 Luis Machado <luisgpm@br.ibm.com>
29670
29671 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29672 signed comparison.
29673
8ca52c6e
L
296742010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29675
29676 [BZ #12205]
29677 * string/test-strncasecmp.c (check_result): New function.
29678 (do_one_test): Use it.
29679 (check1): New function.
29680 (test_main): Use it.
29681 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29682 Support strcasecmp and strncasecmp.
29683
69da074d
UD
296842010-11-08 Ulrich Drepper <drepper@gmail.com>
29685
29686 [BZ #12194]
29687 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29688 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29689
ff02d528
L
296902010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29691
29692 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29693 IFUNC support.
29694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29695 memset-x86-64.
29696 * sysdeps/x86_64/multiarch/bzero.S: New file.
29697 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29698 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29699 * sysdeps/x86_64/multiarch/memset.S: New file.
29700 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29702 Set bit_Prefer_SSE_for_memop for Intel processors.
29703 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29704 Define.
29705 (index_Prefer_SSE_for_memop): Define.
29706 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29707
344d0b54
LM
297082010-11-04 Luis Machado <luisgpm@br.ibm.com>
29709
29710 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29711 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29712
c0dde15b
UD
297132010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29714
29715 [BZ #12191]
29716 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29717 (__x86_64_raw_data_cache_size_half): Likewise.
29718 (__x86_64_raw_shared_cache_size): Likewise.
29719 (__x86_64_raw_shared_cache_size_half): Likewise.
29720
29721 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29722 (__x86_64_raw_data_cache_size_half): Likewise.
29723 (__x86_64_raw_shared_cache_size): Likewise.
29724 (__x86_64_raw_shared_cache_size_half): Likewise.
29725 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29726 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29727 and __x86_64_raw_shared_cache_size_half. Round
29728 __x86_64_data_cache_size_half, __x86_64_data_cache_size
29729 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29730 to multiple of 256 bytes.
29731
0e516e0e
MS
297322010-11-03 Ulrich Drepper <drepper@gmail.com>
29733
29734 [BZ #12167]
29735 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29736 of inacessible symlinks. Verify result of symlink before returning it.
29737 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29738 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29739
0e012e87
ER
297402010-10-28 Erich Ritz <erichritz@gmail.com>
29741
29742 * math/math.h (isinf): Fix typo in comment.
29743
de0ff7bc
UD
297442010-11-01 Ulrich Drepper <drepper@gmail.com>
29745
29746 * po/da.po: Update from translation team.
29747
fa41c84d
UD
297482010-10-26 Ulrich Drepper <drepper@gmail.com>
29749
29750 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29751 is added to the list.
29752
f0967738
AK
297532010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29754 Ulrich Drepper <drepper@gmail.com>
29755
29756 * elf/dl-object.c (_dl_new_object): Don't append the new object to
29757 the global list here. Move code to...
29758 (_dl_add_to_namespace_list): ...here. New function.
29759 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29760 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29761 * elf/dl-load.c (lose): Don't remove the element from the list.
29762 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29763 (_dl_map_object): Likewise.
29764
297652010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
29766
29767 [BZ #12159]
29768 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29769 into all bytes of SSE register.
29770 Patch by Richard Li <richardpku@gmail.com>.
29771
f0967738 297722010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
29773
29774 [BZ #12140]
29775 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29776 perturbing.
29777
d0b9e94f
MB
297782010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29779
29780 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29781 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29782 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29783 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29785 submachine.
29786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29787
8e9f92e9
AS
297882010-10-22 Andreas Schwab <schwab@redhat.com>
29789
29790 * include/dlfcn.h (__RTLD_SECURE): Define.
29791 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
29792 mode & __RTLD_SECURE instead.
29793 (open_path): Rename preloaded parameter to secure.
29794 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29795 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29796 * elf/dl-deps.c (openaux): Likewise.
29797 * elf/rtld.c (struct map_args): Remove is_preloaded.
29798 (map_doit): Don't use it.
29799 (dl_main): Likewise.
29800 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29801 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29802
bc96fbda
AS
298032010-09-09 Andreas Schwab <schwab@redhat.com>
29804
29805 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29806 (sysd-rules-targets): Remove duplicates.
29807 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29808 rtld-%.$o dependency.
29809
22cd1c9b
AS
298102010-10-18 Andreas Schwab <schwab@redhat.com>
29811
29812 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29813 _dl_map_object do it.
29814
18edac48
UD
298152010-10-19 Ulrich Drepper <drepper@gmail.com>
29816
29817 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29818 fast fma builtins, define the macros in the C99 standard.
29819 (FP_FAST_FMAF): Likewise.
29820 (FP_FAST_FMAL): Likewise.
29821 * sysdeps/x86_64/bits/mathdef.h: Likewise.
29822
29823 * bits/mathdef.h: Update copyright year.
29824 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29825
d2050124
MM
298262010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29827
29828 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29829 builtins, define the macros in the C99 standard.
29830 (FP_FAST_FMAF): Likewise.
29831 (FP_FAST_FMAL): Likewise.
29832 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29833 multiply/add.
29834 (FP_FAST_FMAF): Likewise.
29835
475facd1
JJ
298362010-10-15 Jakub Jelinek <jakub@redhat.com>
29837
29838 [BZ #3268]
29839 * math/libm-test.inc (fma_test): Some new testcases.
29840 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29841 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29842 y and infinite z. Do multiplication by C already in long double.
29843 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29845 y and infinite z. Do bitwise or of inexact bit into u.d.
29846 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
29847 * sysdeps/i386/fpu/s_fmaf.S: Removed.
29848 * sysdeps/i386/fpu/s_fma.S: Removed.
29849 * sysdeps/i386/fpu/s_fmal.S: Removed.
29850
7c08a05c
JJ
298512010-10-16 Jakub Jelinek <jakub@redhat.com>
29852
29853 [BZ #3268]
29854 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29856 computation is not scheduled after fetestexcept. Fix value
29857 of minimum denormal long double.
29858
f3f7372d
JJ
298592010-10-14 Jakub Jelinek <jakub@redhat.com>
29860
29861 [BZ #3268]
29862 * math/libm-test.inc (fma_test): Add some more tests.
29863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29864 correctly.
29865
14d43591
AS
298662010-10-15 Andreas Schwab <schwab@redhat.com>
29867
29868 * scripts/data/localplt-s390-linux-gnu.data: New file.
29869 * scripts/data/localplt-s390x-linux-gnu.data: New file.
29870
5e908464
JJ
298712010-10-13 Jakub Jelinek <jakub@redhat.com>
29872
29873 [BZ #3268]
29874 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29875 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29876 instead of dbl-64.
29877 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29878 inlines.
29879 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29880 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29881 if one of x and y is very large and the other is subnormal.
29882 * sysdeps/s390/fpu/s_fmaf.c: New file.
29883 * sysdeps/s390/fpu/s_fma.c: New file.
29884 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29885 * sysdeps/powerpc/fpu/s_fma.S: New file.
29886 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29887 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29888 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29889
298902010-10-12 Jakub Jelinek <jakub@redhat.com>
29891
29892 [BZ #3268]
29893 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29894 fma tests.
29895 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29896 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29897 * sysdeps/i386/i686/multiarch/s_fma.c: Include
29898 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29899 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29900 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29901 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29902
b833d51f
UD
299032010-10-12 Ulrich Drepper <drepper@redhat.com>
29904
29905 [BZ #12078]
29906 * posix/regcomp.c (parse_branch): One more memory leak plugged.
29907 * posix/bug-regex31.input: Add test case.
29908
1751705d
UD
299092010-10-11 Ulrich Drepper <drepper@gmail.com>
29910
e9b9cbf5
UD
29911 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29912 * posix/bug-regex31.input: New file.
29913
29914 [BZ #12078]
29915 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29916 (parse_sub_exp): Fix last change, use postorder.
29917
ef06edbe
UD
29918 * posix/bug-regex31.c: New file.
29919 * posix/Makefile: Add rules to build and run bug-regex31.
29920
a129c80d
UD
29921 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29922
29923 [BZ #12078]
29924 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29925
b76b818e
UD
29926 [BZ #12108]
29927 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29928 to have entries in sys_siglist.
29929
1751705d
UD
29930 [BZ #12093]
29931 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29932 be NULL.
29933
9ff8d36f
JJ
299342010-10-07 Jakub Jelinek <jakub@redhat.com>
29935
29936 [BZ #3268]
29937 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29938 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29939 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29940 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29941 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29942 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29943 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29944 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29945 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29946 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29947 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29948 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29949 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29950 * math/ftestexcept.c (fetestexcept): Likewise.
29951 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29952 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29953 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29954 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29955 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29956 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29957 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29958
af325969
UD
299592010-10-11 Ulrich Drepper <drepper@gmail.com>
29960
c579b202 29961 [BZ #12107]
af325969
UD
29962 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29963 newline.
29964
67a67b95
UD
299652010-10-06 Ulrich Drepper <drepper@gmail.com>
29966
29967 * string/bug-strstr1.c: New file.
29968 * string/Makefile: Add rules to build and run bug-strstr1.
29969
5fb308bc
EB
299702010-10-05 Eric Blake <eblake@redhat.com>
29971
29972 [BZ #12092]
29973 * string/str-two-way.h (two_way_long_needle): Always clear memory
29974 when skipping input due to the shift table.
29975
45db99c7
UD
299762010-10-03 Ulrich Drepper <drepper@gmail.com>
29977
3b111893
UD
29978 [BZ #12005]
29979 * malloc/mcheck.c: Handle large requests.
29980
45db99c7
UD
29981 [BZ #12077]
29982 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29983 for strncmp and strncasecmp.
29984 * string/stratcliff.c: Add tests for strcmp and strncmp.
29985 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29986
cf7a1eb8
NI
299872010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29988
29989 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29990 __set_fpscr.
29991
6484ba5e
AJ
299922010-09-30 Andreas Jaeger <aj@suse.de>
29993
29994 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29995 (CGROUP_SUPER_MAGIC): Define.
29996 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29997 Handle btrfs and cgroup file systems.
29998 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29999 Likewise.
30000
91c42559
LM
300012010-09-27 Luis Machado <luisgpm@br.ibm.com>
30002
30003 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30004 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30005
87a97932
AK
300062010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30007
30008 [BZ #12067]
30009 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30010 trying to locate the ELF header.
30011
c21cc9bc
AS
300122010-09-27 Andreas Schwab <schwab@redhat.com>
30013
30014 [BZ #11611]
30015 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30016 Mask out sign-bit copies when constructing f_fsid.
30017
315970f6
PB
300182010-09-24 Petr Baudis <pasky@suse.cz>
30019
30020 * debug/stack_chk_fail_local.c: Add missing licence exception.
30021 * debug/warning-nop.c: Likewise.
30022
1ac7a2c7
JM
300232010-09-15 Joseph Myers <joseph@codesourcery.com>
30024
30025 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30026 implementing getdents64 using getdents syscall, set d_type if
30027 __ASSUME_GETDENTS32_D_TYPE.
30028
56801c50
AS
300292010-09-16 Andreas Schwab <schwab@redhat.com>
30030
30031 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30032 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30033
dda51327
UD
300342010-09-21 Ulrich Drepper <drepper@redhat.com>
30035
30036 [BZ #12037]
30037 * posix/unistd.h: Undo change of feature selection for ftruncate from
30038 2010-01-11.
30039
8ffcee4a
UD
300402010-09-20 Ulrich Drepper <drepper@redhat.com>
30041
a545ecd9 30042 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30043 detection.
30044
e24f0a8b
AS
300452010-09-20 Andreas Schwab <schwab@redhat.com>
30046
30047 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30048 fanotify_mark.
30049 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30050
7291c56f
AS
300512010-09-14 Andreas Schwab <schwab@redhat.com>
30052
30053 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30054 variables after CHECK_SP call.
30055 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30056
bc5fb037
AS
300572010-09-13 Andreas Schwab <schwab@redhat.com>
30058 Ulrich Drepper <drepper@redhat.com>
30059
30060 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30061 re-relocationg ld.so.
30062 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30063 _dl_init_paths call.
30064 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30065 here anymore.
30066
e66e7419
UD
300672010-09-14 Ulrich Drepper <drepper@redhat.com>
30068
30069 * resolv/res_init.c (__res_vinit): Count the default server we added.
30070
c044aa75
CLT
300712010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30072 Ulrich Drepper <drepper@redhat.com>
30073
30074 [BZ #11968]
30075 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30076 (____longjmp_chk): Use %ebx for saving value across system call.
30077 Add unwind info.
30078
32cf4069
AS
300792010-09-06 Andreas Schwab <schwab@redhat.com>
30080
30081 * manual/Makefile: Don't mix pattern rules with normal rules.
30082
817328ee
AS
300832010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30084
30085 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30086 operation.
30087 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30088 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30089 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30090 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30091 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30092 Likewise.
30093
29fddf61
UD
300942010-09-04 Ulrich Drepper <drepper@redhat.com>
30095
30096 [BZ #11979]
30097 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30098 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30099
0959ffc9
UD
301002010-09-02 Ulrich Drepper <drepper@redhat.com>
30101
30102 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30103 * sysdeps/x86_64/addmul_1.S: Likewise.
30104 * sysdeps/x86_64/lshift.S: Likewise.
30105 * sysdeps/x86_64/mul_1.S: Likewise.
30106 * sysdeps/x86_64/rshift.S: Likewise.
30107 * sysdeps/x86_64/sub_n.S: Likewise.
30108 * sysdeps/x86_64/submul_1.S: Likewise.
30109
ece29840
ST
301102010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30111
0959ffc9
UD
30112 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30113 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30114 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30115 * bits/sched.h [__need_schedparam]
ece29840 30116 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30117 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30118 (__defined_schedparam): Define to 1.
ece29840
ST
30119 (__sched_param): New structure, identical to sched_param.
30120 (__need_schedparam): Undefine.
30121
e53a31fe
MF
301222010-08-31 Mike Frysinger <vapier@gentoo.org>
30123
fdc0c10d
MF
30124 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30125 (epoll_create1): Declare.
30126
e53a31fe
MF
30127 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30128
a726d796
AS
301292010-08-31 Andreas Schwab <schwab@redhat.com>
30130
30131 [BZ #7066]
30132 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30133 shifting retval into place.
30134
2f3e3dc7
UD
301352010-09-01 Ulrich Drepper <drepper@redhat.com>
30136
f2933da9
UD
30137 * nis/rpcsvc/nis.h: Update copyright notice.
30138 * nis/rpcsvc/nis.x: Likewise.
30139 * nis/rpcsvc/nis_callback.h: Likewise.
30140 * nis/rpcsvc/nis_callback.x: Likewise.
30141 * nis/rpcsvc/nis_object.x: Likewise.
30142 * nis/rpcsvc/nis_tags.h: Likewise.
30143 * nis/rpcsvc/yp.h: Likewise.
30144 * nis/rpcsvc/yp.x: Likewise.
30145 * nis/rpcsvc/ypupd.h: Likewise.
30146 * nis/yp_xdr.c: Likewise.
30147 * nis/ypupdate_xdr.c: Likewise.
30148
2f3e3dc7
UD
30149 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30150 mainly the body of pmap_getport. Add parameters to specify timeouts.
30151 (pmap_getport): Use __libc_rpc_getport.
30152 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30153 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30154 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30155
f3dcc2f9
AS
301562010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30157
30158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30159 fanotify_mark.
30160
6d34eb5b
RM
301612010-08-27 Roland McGrath <roland@redhat.com>
30162
30163 * sysdeps/i386/i686/multiarch/Makefile
30164 (CFLAGS-varshift.c): New variable.
30165
9ea3de11
UD
301662010-08-27 Ulrich Drepper <drepper@redhat.com>
30167
c96d23fc
UD
30168 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30169 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30170
9ea3de11
UD
30171 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30172
30173 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30174
623aac7f
L
301752010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30176
30177 * sysdeps/x86_64/strlen.S: Unroll the loop.
30178 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30179 strlen-sse2 strlen-sse2-bsf.
30180 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30181 __strlen_no_bsf if bit_Slow_BSF is set.
30182 (__strlen_sse42): Removed.
30183 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30184 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30185
8b2b7715
RM
301862010-08-25 Roland McGrath <roland@redhat.com>
30187
30188 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30189 * sysdeps/x86_64/multiarch/varshift.c: New file.
30190 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30191 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30192 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30193 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30194
e73015f2
L
301952010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30196
30197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30198 strlen-sse2 strlen-sse2-bsf.
30199 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30200 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30201 (__strlen_sse2): Removed.
30202 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30203 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30205 bit_Slow_BSF for Atom.
30206 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30207 (index_Slow_BSF): Define.
30208 (HAS_SLOW_BSF): Define.
30209
df24a73e
UD
302102010-08-25 Ulrich Drepper <drepper@redhat.com>
30211
30212 [BZ #10851]
30213 * resolv/res_init.c (__res_vinit): When no server address at all
30214 is given default to loopback.
30215
f2ac4868
RM
302162010-08-24 Roland McGrath <roland@redhat.com>
30217
09055553
RM
30218 * configure.in: Remove config-name.h generation.
30219 * configure: Regenerated.
30220 * config-name.in: File removed.
30221 * scripts/config-uname.sh: New file.
30222 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30223 ($(objdir)config-name.h): New target.
30224
f2ac4868
RM
30225 * sunrpc/rpc_parse.h: Avoid nested comment.
30226
73f27d5e
RH
302272010-08-24 Richard Henderson <rth@redhat.com>
30228 Ulrich Drepper <drepper@redhat.com>
30229 H.J. Lu <hongjiu.lu@intel.com>
30230
30231 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30232 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30233 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30234 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30235 _mm_alignr_epi8 with _mm_loadu_si128.
30236 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30237 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30238 (__m128i_shift_right): Removed.
30239 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30240 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30241 * sysdeps/x86_64/multiarch/varshift.h: New file.
30242 * sysdeps/x86_64/multiarch/varshift.S: New file.
30243
84b9230c
MF
302442010-08-21 Mike Frysinger <vapier@gentoo.org>
30245
30246 * configure.in: Move assembler checks to before sysdep dir checking.
30247
9bbd0ddc
PB
302482010-08-20 Petr Baudis <pasky@suse.cz>
30249
30250 * LICENSES: Sync the sunrpc license.
30251
9da4bb31
UD
302522010-08-19 Ulrich Drepper <drepper@redhat.com>
30253
a7ab6ec8
UD
30254 * sunrpc/auth_des.c: Update copyright notice once again.
30255 * sunrpc/auth_none.c: Likewise.
30256 * sunrpc/auth_unix.c: Likewise.
30257 * sunrpc/authdes_prot.c: Likewise.
30258 * sunrpc/authuxprot.c: Likewise.
30259 * sunrpc/bindrsvprt.c: Likewise.
30260 * sunrpc/clnt_gen.c: Likewise.
30261 * sunrpc/clnt_perr.c: Likewise.
30262 * sunrpc/clnt_raw.c: Likewise.
30263 * sunrpc/clnt_simp.c: Likewise.
30264 * sunrpc/clnt_tcp.c: Likewise.
30265 * sunrpc/clnt_udp.c: Likewise.
30266 * sunrpc/clnt_unix.c: Likewise.
30267 * sunrpc/des_crypt.c: Likewise.
30268 * sunrpc/des_soft.c: Likewise.
30269 * sunrpc/get_myaddr.c: Likewise.
30270 * sunrpc/getrpcport.c: Likewise.
30271 * sunrpc/key_call.c: Likewise.
30272 * sunrpc/key_prot.c: Likewise.
30273 * sunrpc/openchild.c: Likewise.
30274 * sunrpc/pm_getmaps.c: Likewise.
30275 * sunrpc/pm_getport.c: Likewise.
30276 * sunrpc/pmap_clnt.c: Likewise.
30277 * sunrpc/pmap_prot.c: Likewise.
30278 * sunrpc/pmap_prot2.c: Likewise.
30279 * sunrpc/pmap_rmt.c: Likewise.
30280 * sunrpc/rpc/auth.h: Likewise.
30281 * sunrpc/rpc/auth_unix.h: Likewise.
30282 * sunrpc/rpc/clnt.h: Likewise.
30283 * sunrpc/rpc/des_crypt.h: Likewise.
30284 * sunrpc/rpc/key_prot.h: Likewise.
30285 * sunrpc/rpc/netdb.h: Likewise.
30286 * sunrpc/rpc/pmap_clnt.h: Likewise.
30287 * sunrpc/rpc/pmap_prot.h: Likewise.
30288 * sunrpc/rpc/pmap_rmt.h: Likewise.
30289 * sunrpc/rpc/rpc.h: Likewise.
30290 * sunrpc/rpc/rpc_des.h: Likewise.
30291 * sunrpc/rpc/rpc_msg.h: Likewise.
30292 * sunrpc/rpc/svc.h: Likewise.
30293 * sunrpc/rpc/svc_auth.h: Likewise.
30294 * sunrpc/rpc/types.h: Likewise.
30295 * sunrpc/rpc/xdr.h: Likewise.
30296 * sunrpc/rpc_clntout.c: Likewise.
30297 * sunrpc/rpc_cmsg.c: Likewise.
30298 * sunrpc/rpc_common.c: Likewise.
30299 * sunrpc/rpc_cout.c: Likewise.
30300 * sunrpc/rpc_dtable.c: Likewise.
30301 * sunrpc/rpc_hout.c: Likewise.
30302 * sunrpc/rpc_main.c: Likewise.
30303 * sunrpc/rpc_parse.c: Likewise.
30304 * sunrpc/rpc_parse.h: Likewise.
30305 * sunrpc/rpc_prot.c: Likewise.
30306 * sunrpc/rpc_sample.c: Likewise.
30307 * sunrpc/rpc_scan.c: Likewise.
30308 * sunrpc/rpc_scan.h: Likewise.
30309 * sunrpc/rpc_svcout.c: Likewise.
30310 * sunrpc/rpc_tblout.c: Likewise.
30311 * sunrpc/rpc_util.c: Likewise.
30312 * sunrpc/rpc_util.h: Likewise.
30313 * sunrpc/rpcinfo.c: Likewise.
30314 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30315 * sunrpc/rpcsvc/key_prot.x: Likewise.
30316 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30317 * sunrpc/rpcsvc/mount.x: Likewise.
30318 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30319 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30320 * sunrpc/rpcsvc/rex.x: Likewise.
30321 * sunrpc/rpcsvc/rstat.x: Likewise.
30322 * sunrpc/rpcsvc/rusers.x: Likewise.
30323 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30324 * sunrpc/rpcsvc/spray.x: Likewise.
30325 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30326 * sunrpc/rtime.c: Likewise.
30327 * sunrpc/svc.c: Likewise.
30328 * sunrpc/svc_auth.c: Likewise.
30329 * sunrpc/svc_authux.c: Likewise.
30330 * sunrpc/svc_raw.c: Likewise.
30331 * sunrpc/svc_run.c: Likewise.
30332 * sunrpc/svc_simple.c: Likewise.
30333 * sunrpc/svc_tcp.c: Likewise.
30334 * sunrpc/svc_udp.c: Likewise.
30335 * sunrpc/svc_unix.c: Likewise.
30336 * sunrpc/svcauth_des.c: Likewise.
30337 * sunrpc/xcrypt.c: Likewise.
30338 * sunrpc/xdr.c: Likewise.
30339 * sunrpc/xdr_array.c: Likewise.
30340 * sunrpc/xdr_float.c: Likewise.
30341 * sunrpc/xdr_mem.c: Likewise.
30342 * sunrpc/xdr_rec.c: Likewise.
30343 * sunrpc/xdr_ref.c: Likewise.
30344 * sunrpc/xdr_sizeof.c: Likewise.
30345 * sunrpc/xdr_stdio.c: Likewise.
30346
9da4bb31
UD
30347 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30348 handling.
30349
bdaa77bc
AS
303502010-08-19 Andreas Schwab <schwab@redhat.com>
30351
30352 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30353
fe2f79db
LM
303542010-08-19 Luis Machado <luisgpm@br.ibm.com>
30355
30356 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30357 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30358 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30359 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30360 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30361 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30362 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30363 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30364 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30365 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30366 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30367 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30368 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30369 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30370
b9b42ee0
AB
303712010-07-26 Anton Blanchard <anton@samba.org>
30372
30373 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30374 * malloc/arena.c (heap_trim): Likewise.
30375
1c06ba31
UD
303762010-08-16 Ulrich Drepper <drepper@redhat.com>
30377
30378 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30379 here. Not...
30380 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30381 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30382
f8392f40
L
303832010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30384
30385 * sysdeps/i386/elf/Makefile: New file.
30386
3162f12e
AS
303872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30388
30389 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30390 from fanotify_init.
30391 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30392 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30393
28c90b2c
UD
303942010-08-15 Ulrich Drepper <drepper@redhat.com>
30395
30396 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30397 of strncasecmp_l.
1feccb6c 30398 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 30399
ca6bb004
UD
304002010-08-14 Ulrich Drepper <drepper@redhat.com>
30401
e9f82e0d
UD
30402 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30403 strncase_l-nonascii.
30404 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30405 Add strncase_l-ssse3.
30406 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30407 * sysdeps/x86_64/strcmp.S: Likewise.
30408 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30409 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30410 * sysdeps/x86_64/strncase.S: New file.
30411 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30412 * sysdeps/x86_64/strncase_l.S: New file.
30413 * string/Makefile (strop-tests): Add strncasecmp.
30414 * string/test-strncasecmp.c: New file.
30415
30416 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30417 warning.
30418
ca6bb004
UD
30419 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30420 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30421
052fa7b3
AS
304222010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30423
30424 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30425
962dba78
UD
304262010-08-12 Ulrich Drepper <drepper@redhat.com>
30427
30428 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30429 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30430 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30431
bebff237
AM
304322010-05-01 Alan Modra <amodra@gmail.com>
30433
30434 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30435 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30436 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30437 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30438 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30439 tidying. Don't tail-call __sigjmp_save for static lib.
30440 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30441 save location.
30442 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30443 (CALL_MCOUNT): Add eh info, and nop after bl.
30444 (TAIL_CALL_SYSCALL_ERROR): New macro.
30445 (PSEUDO_RET): Use it.
30446 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30447 Correct save location of integer regs and cr.
30448 (_dl_profile_resolve): Correct cr save location. Delete nops
30449 after bl when SHARED. Reduce cfi size a little by better
30450 placement of cfi directives.
30451 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30452 make a stack frame. Instead use parm save area as a temp.
30453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30454 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30456 Don't make a stack frame for parent, use parm save area.
30457 Increase child stack frame to 112 bytes. Don't save unused reg,
30458 and adjust reg usage. Set up cfi on error recovery and
30459 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30461 (__makecontext): Add dummy nop after jump to exit.
30462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30463 Use correct parm save area and cr save, reduce stack frame.
30464 Correct cfi for possible PSEUDO_RET frame setup.
30465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30466 Branch to local label emitted by PSEUDO_RET rather than
30467 __syscall_error.
30468
02637374
AS
304692010-08-12 Andreas Schwab <schwab@redhat.com>
30470
30471 [BZ #11904]
30472 * locale/programs/locale.c (print_assignment): New function.
30473 (show_locale_vars): Use it.
30474
c3e2f19b
UD
304752010-08-11 Ulrich Drepper <drepper@redhat.com>
30476
3cdaa6ad
UD
30477 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30478 field.
30479 (struct statfs64): Likewise.
30480 (_STATFS_F_FLAGS): Define.
30481 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30482 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30483 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30484 (ST_VALID): Define locally.
30485 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30486 __statvfs_getflags, use the provided value.
30487 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30488 __ASSUME_STATFS_F_FLAGS.
30489
754f7da3
UD
30490 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30491
10b3bedc
UD
30492 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30493 Add sys/fanotify.h.
30494 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30495 fanotify_mask for GLIBC_2.13.
30496 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30497 fanotify_init and fanotify_mark.
30498 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30499 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30500
c08fb0d7
UD
30501 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30502 Add prlimit.
30503 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30504 prlimit64 for GLIBC_2.13.
30505 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30506 prlimit64.
30507 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30508 syscall.
30509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30510 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30511 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30512 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30513 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30514 add prlimit alias.
30515 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30516
15bac72b
UD
30517 [BZ #11903]
30518 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30519 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30520
c3e2f19b
UD
30521 * nss/Makefile: Add rules to build and run tst-nss-test1.
30522 * shlib-versions: Add entry for libnss_test1.
30523 * nss/nss_test1.c: New file.
30524 * nss/tst-nss-test1.c: New file.
30525
30526 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30527 (__nss_configure_lookup): Set appropriate entry in
30528 __nss_configure_lookup to true.
30529 * nss/nsswitch.h: Define enum with indeces of databases in
30530 databases and __nss_database_custom arrays. Declare
30531 __nss_database_custom.
30532 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30533 to avoid using nscd when custom rules are installed.
30534 * nss/getXXbyYY_r.c: Likewise.
30535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30536
30537 * nss/nss_files/files-parse.c: Whitespace fixes.
30538
f15ce4d8
UD
305392010-08-09 Ulrich Drepper <drepper@redhat.com>
30540
30541 [BZ #11883]
30542 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30543 * posix/fnmatch_loop.c: Likewise.
30544
d22e4cc9
AK
305452010-07-17 Andi Kleen <ak@linux.intel.com>
30546
30547 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30548 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30549 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30550 * Versions.def [GLIBC_2.13]: Add.
30551
805bc17d
UD
305522010-08-06 Ulrich Drepper <drepper@redhat.com>
30553
30554 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30555 Also fail if tpwd after pwuid call is NULL.
30556
5a42321d
ST
305572010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30558
30559 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30560 when converting to ms.
30561
fd3ebeda
ST
305622010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30563
30564 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30565 EOPNOTSUPP errors with ENOTTY.
30566 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30567 EOPNOTSUPP errors with ENOTTY.
30568
73507d3a
UD
305692010-07-31 Ulrich Drepper <drepper@redhat.com>
30570
30571 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30572 Add strcasecmp_l-ssse3.
30573 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30574 strcasecmp.
30575 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30576 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30577 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30578
fe36dd02
UD
305792010-07-30 Ulrich Drepper <drepper@redhat.com>
30580
66f6765a
UD
30581 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30582
42e08a54
UD
30583 * string/Makefile (strop-tests): Add strcasecmp.
30584 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30585 strcasecmp_l-nonascii.
30586 (gen-as-const-headers): Add locale-defines.sym.
30587 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30588 * sysdeps/x86_64/strcasecmp.S: New file.
30589 * sysdeps/x86_64/strcasecmp_l.S: New file.
30590 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30591 * sysdeps/x86_64/locale-defines.sym: New file.
30592 * string/test-strcasecmp.c: New file.
30593
fe36dd02
UD
30594 * string/test-strcasestr.c: Test both ends of the range of characters.
30595 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30596
48cbc0d6
RM
305972010-07-29 Roland McGrath <roland@redhat.com>
30598
76e6d6bc 30599 [BZ #11856]
48cbc0d6
RM
30600 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30601
880113d9
UD
306022010-07-27 Ulrich Drepper <drepper@redhat.com>
30603
30604 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30605 for ld.so.
30606
deb9cabb
AS
306072010-07-27 Andreas Schwab <schwab@redhat.com>
30608
30609 * manual/memory.texi (Malloc Tunable Parameters): Document
30610 M_PERTURB.
30611
1c7570ff
RM
306122010-07-26 Roland McGrath <roland@redhat.com>
30613
30614 [BZ #11840]
30615 * configure.in (-fgnu89-inline check): Set and substitute
30616 gnu89_inline, not libc_cv_gnu89_inline.
30617 * configure: Regenerated.
30618 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30619
24fb0f88
UD
306202010-07-26 Ulrich Drepper <drepper@redhat.com>
30621
30622 * string/test-strnlen.c: New file.
30623 * string/Makefile (strop-tests): Add strnlen.
30624 * string/tester.c (test_strnlen): Add a few more test cases.
30625 * string/tst-strlen.c: Better error reporting.
30626
30627 * sysdeps/x86_64/strnlen.S: New file.
30628
8e96b93a
UD
306292010-07-24 Ulrich Drepper <drepper@redhat.com>
30630
30631 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30632 lower-latency instructions.
30633
dbc676d4
UD
306342010-07-23 Ulrich Drepper <drepper@redhat.com>
30635
30636 * string/test-strcasestr.c: New file.
30637 * string/test-strstr.c: New file.
30638 * string/Makefile (strop-tests): Add strstr and strcasestr.
30639 * string/str-two-way.h: Don't undefine MAX.
30640 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30641
f6a31e0e
AS
306422010-07-21 Andreas Schwab <schwab@redhat.com>
30643
30644 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30645 strcasestr-nonascii.
30646 (CFLAGS-strcasestr-nonascii.c): Define.
30647 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30648 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30649 Remove unused attribute.
30650
5dbc3b6c
RM
306512010-07-20 Roland McGrath <roland@redhat.com>
30652
30653 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30654 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30655 ld.so.cache was broken. With it, there is no way to disable dsocaps
30656 like LD_HWCAP_MASK can disable hwcaps.
30657
23d101d8
EPM
306582010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30659
30660 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30661
cc9f2e47
UD
306622010-07-16 Ulrich Drepper <drepper@redhat.com>
30663
30664 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30665 call in strcasestr.
30666 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30667 __strcasestr_sse42_nonascii.
30668 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30669 strcasestr-nonascii.c.
30670 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30671
77c1b069
LM
306722010-06-15 Luis Machado <luisgpm@br.ibm.com>
30673
30674 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30675 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30676 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30677 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30678
440566c3
UD
306792010-07-09 Ulrich Drepper <drepper@redhat.com>
30680
30681 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30682 fcntl.
30683
5be9d05d
AS
306842010-07-06 Andreas Schwab <schwab@redhat.com>
30685
c30b7ee2 30686 [BZ #11577]
5be9d05d
AS
30687 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30688 dl_signal_cerror.
30689
8a492a67
UD
306902010-07-06 Ulrich Drepper <drepper@redhat.com>
30691
30692 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30693 _PC_PIPE_BUF using F_GETPIPE_SZ.
30694
713df3d5
RM
306952010-07-05 Roland McGrath <roland@redhat.com>
30696
30697 * manual/arith.texi (Rounding Functions): Fix rint description
30698 implicit in round description.
30699
702e8f14
UD
307002010-07-02 Ulrich Drepper <drepper@redhat.com>
30701
30702 * elf/Makefile: Fix linking for a few tests to make recent linker
30703 happy.
30704
52ed8be9
AS
307052010-06-30 Andreas Schwab <schwab@redhat.com>
30706
30707 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30708 $(common-objpfx)libc_nonshared.a.
30709
f47c9a11
LM
307102010-06-21 Luis Machado <luisgpm@br.ibm.com>
30711
30712 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30713 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30714 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30715 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30716 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30717 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30718 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30719 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30734 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30735 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30736 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30737 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30738 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30739 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30740 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30741 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30742 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30743 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30744 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30745 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30760
6fb8cbcb
L
307612010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30762
30763 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30764 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
30765 * string/memmove.c (memmove): Renamed to ...
30766 (MEMMOVE): ...this. Default to memmove.
30767 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30768 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30769 (END_CHK): Define.
30770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30771 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30772 mempcpy-ssse3-back memmove-ssse3-back.
30773 * sysdeps/x86_64/multiarch/bcopy.S: New file .
30774 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30775 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30776 * sysdeps/x86_64/multiarch/memcpy.S: New file.
30777 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30778 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30779 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30780 * sysdeps/x86_64/multiarch/memmove.c: New file.
30781 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30782 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30783 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30784 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30785 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30786 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30787 Define.
30788 (index_Fast_Copy_Backward): Define.
30789 (HAS_ARCH_FEATURE): Define.
30790 (HAS_FAST_REP_STRING): Define.
30791 (HAS_FAST_COPY_BACKWARD): Define.
30792
4e733bac 307932010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
30794
30795 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30796 Restore proper fallback handling.
30797
63c4ed22
UD
307982010-06-19 Ulrich Drepper <drepper@redhat.com>
30799
ac2b484c
UD
30800 [BZ #11701]
30801 * posix/group_member.c (__group_member): Correct checking loop.
30802
63c4ed22
UD
30803 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30804 OOM in getpwuid_r correctly. Return error number when the caller
30805 should return, otherwise -1.
30806 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30807 call returning > 0 value.
30808 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30809
765ade4b
AS
308102010-06-07 Andreas Schwab <schwab@redhat.com>
30811
30812 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30813 libc_nonshared.a from targets in modules-names.
30814
80da2e09
KS
308152010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30816
30817 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30818 requires it.
30819
158db122
LM
308202010-06-10 Luis Machado <luisgpm@br.ibm.com>
30821
30822 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30823 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30824 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30825 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30826
caa78cf8
AS
308272010-06-02 Andreas Schwab <schwab@redhat.com>
30828
30829 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30830
b2ef2c01
UD
308312010-06-14 Ulrich Drepper <drepper@redhat.com>
30832
30833 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30834 and F_GETPIPE_SZ.
30835 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30836 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30839 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30840 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30841
fbd643b6
RM
308422010-06-14 Roland McGrath <roland@redhat.com>
30843
30844 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30845
f32f2869
JJ
308462010-06-07 Jakub Jelinek <jakub@redhat.com>
30847
30848 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
30849 __REDIRECT followed by __THROW.
30850 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30851 * posix/getopt.h (getopt): Likewise.
30852
2a50c078
EPM
308532010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30854
30855 * hurd/lookup-at.c (__file_name_lookup_at): Accept
30856 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
30857 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30858 in AT_FLAGS.
30859 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30860 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30861
eb5ad2eb
LM
308622010-05-28 Luis Machado <luisgpm@br.ibm.com>
30863
30864 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30865
3c88fe1e
L
308662010-05-26 H.J. Lu <hongjiu.lu@intel.com>
30867
30868 [BZ #11640]
30869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30870 Properly check family and model.
30871
d2f73151
TY
308722010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
30873
30874 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30875
ebd2e13d
LM
308762010-05-24 Luis Machado <luisgpm@br.ibm.com>
30877
30878 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30879
b32b8b45
UD
308802010-05-21 Ulrich Drepper <drepper@redhat.com>
30881
30882 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30883 symbol reference.
30884
9acbe24d
AS
308852010-05-19 Andreas Schwab <schwab@redhat.com>
30886
30887 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30888 symbol reference.
30889
f0ccf6ea
AS
308902010-05-21 Andreas Schwab <schwab@redhat.com>
30891
3d04ff3a
AS
30892 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30893 and internal_recvmmsg.
30894 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30895 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30896 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30897 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30898
f0ccf6ea
AS
30899 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30900 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30901 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30902
5b08ac57
AS
309032010-05-20 Andreas Schwab <schwab@redhat.com>
30904
30905 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30906
4828935d
LM
309072010-05-17 Luis Machado <luisgpm@br.ibm.com>
30908
30909 POWER7 optimizations.
30910 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30911 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30912
373d545e
UD
309132010-05-19 Ulrich Drepper <drepper@redhat.com>
30914
30915 * version.h: Update for 2.13 development version.
30916
21a2b1ae
AS
309172010-05-12 Andrew Stubbs <ams@codesourcery.com>
30918
30919 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30920 exceptions. Return 0.
30921
3f7dcb2b
RM
309222010-05-07 Roland McGrath <roland@redhat.com>
30923
30924 * elf/ldconfig.c (main): Add a const.
30925
5f24d53a 309262010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 30927
a160f8d8
UD
30928 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30929 (args_options): Add no-idn option.
30930 (ahosts_keys_int): Add idn_flags to ai_flags.
30931 (parse_option): Handle 'i' option to clear idn_flags.
30932
5f24d53a
UD
30933 * malloc/malloc.c (_int_free): Possible race in the most recently
30934 added check. Only act on the data if no current modification
30935 happened.
265bb1ce
UD
30936
30937See ChangeLog.17 for earlier changes.