]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix i386 exp10 missing underflows (bug 18966).
[thirdparty/glibc.git] / ChangeLog
1 2015-09-15 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #18875]
4 [BZ #18966]
5 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
6 (MO): New macro.
7 (__ieee754_exp10): For small results, force underflow exception
8 and remove excess range and precision from return value.
9 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
10 (MO): New macro.
11 (__ieee754_exp10f): For small results, force underflow exception
12 and remove excess range and precision from return value.
13 * math/auto-libm-test-in: Add more tests of exp10.
14 * math/auto-libm-test-out: Regenerated.
15
16 2015-09-14 Joseph Myers <joseph@codesourcery.com>
17
18 [BZ #18875]
19 [BZ #18961]
20 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
21 (MO): New macro.
22 (__ieee754_exp): For small results, force underflow exception and
23 remove excess range and precision from return value.
24 (__exp_finite): Likewise.
25 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
26 (MO): New macro.
27 (__ieee754_expf): For small results, force underflow exception and
28 remove excess range and precision from return value.
29 (__expf_finite): Likewise.
30 * math/auto-libm-test-in: Add more tests of exp.
31 * math/auto-libm-test-out: Regenerated.
32
33 [BZ #16521]
34 [BZ #18875]
35 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
36 small results.
37 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
38 (MO): New macro.
39 (__ieee754_exp2): For small results, force underflow exception and
40 remove excess range and precision from return value.
41 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
42 (MO): New macro.
43 (__ieee754_exp2f): For small results, force underflow exception
44 and remove excess range and precision from return value.
45 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
46 (MO): New macro.
47 (__ieee754_exp2l): Force underflow exception for small results.
48 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
49 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
50 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
51 (MO): New macro.
52 (__ieee754_exp2l): Force underflow exception for small results.
53 * math/auto-libm-test-in: Add more tests or exp2.
54 * math/auto-libm-test-out: Regenerated.
55
56 2015-09-14 Carlos O'Donell <carlos@redhat.com>
57
58 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
59
60 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
61 /dev/null.
62
63 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
64
65 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
66 io fs process)): Drop spurious backslash.
67
68 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
69
70 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
71 Use sysinfo system call instead of parsing /proc/meminfo.
72 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
73 Likewise.
74
75 2015-09-11 Mike Frysinger <vapier@gentoo.org>
76
77 [BZ #16985]
78 * programs/localedef.c (main): Display argv[remaining] when
79 output_path is NULL.
80
81 2015-09-11 Joseph Myers <joseph@codesourcery.com>
82
83 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
84 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
85 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
86 tanh.
87 * math/auto-libm-test-out: Regenerated.
88 * sysdeps/i386/fpu/libm-test-ulps: Update.
89 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
90 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
91 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92
93 2015-09-11 Roland McGrath <roland@hack.frob.com>
94
95 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
96 Use 'override' keyword to freeze the value here, preventing
97 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
98
99 2015-09-11 Joseph Myers <joseph@codesourcery.com>
100
101 [BZ #14912]
102 * sysdeps/aarch64/bits/atomic.h: Move to ...
103 * sysdeps/aarch64/atomic-machine.h: ...here.
104 (_AARCH64_BITS_ATOMIC_H): Rename macro to
105 _AARCH64_ATOMIC_MACHINE_H.
106 * sysdeps/alpha/bits/atomic.h: Move to ...
107 * sysdeps/alpha/atomic-machine.h: ...here.
108 * sysdeps/arm/bits/atomic.h: Move to ...
109 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
110 * bits/atomic.h: Move to ...
111 * sysdeps/generic/atomic-machine.h: ...here.
112 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
113 * sysdeps/i386/bits/atomic.h: Move to ...
114 * sysdeps/i386/atomic-machine.h: ...here.
115 * sysdeps/ia64/bits/atomic.h: Move to ...
116 * sysdeps/ia64/atomic-machine.h: ...here.
117 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
118 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
119 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
120 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
121 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
122 * sysdeps/microblaze/bits/atomic.h: Move to ...
123 * sysdeps/microblaze/atomic-machine.h: ...here.
124 * sysdeps/mips/bits/atomic.h: Move to ...
125 * sysdeps/mips/atomic-machine.h: ...here.
126 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
127 * sysdeps/powerpc/bits/atomic.h: Move to ...
128 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
129 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
130 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
131 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
132 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
133 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
134 <atomic-machine.h> instead of <bits/atomic.h>.
135 * sysdeps/s390/bits/atomic.h: Move to ...
136 * sysdeps/s390/atomic-machine.h: ...here.
137 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
138 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
139 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
140 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
141 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
142 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
143 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
144 * sysdeps/tile/bits/atomic.h: Move to ...
145 * sysdeps/tile/atomic-machine.h: ...here.
146 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
147 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
148 <sysdeps/tile/atomic-machine.h> instead of
149 <sysdeps/tile/bits/atomic.h>.
150 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
151 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
152 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
153 <sysdeps/tile/atomic-machine.h> instead of
154 <sysdeps/tile/bits/atomic.h>.
155 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
156 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
157 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
158 <sysdeps/arm/atomic-machine.h> instead of
159 <sysdeps/arm/bits/atomic.h>.
160 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
161 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
162 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
163 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
164 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
165 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
166 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
167 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
168 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
169 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
170 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
171 * sysdeps/x86_64/bits/atomic.h: Move to ...
172 * sysdeps/x86_64/atomic-machine.h: ...here.
173 * include/atomic.h: Include <atomic-machine.h> instead of
174 <bits/atomic.h>.
175
176 * sysdeps/mips/mips32/libm-test-ulps: Update.
177 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
178
179 [BZ #18952]
180 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
181 not convert non-integer negative arguments to int to determine the
182 value of signgam.
183 * math/auto-libm-test-in: Add more tests of lgamma.
184 * math/auto-libm-test-out: Regenerated.
185
186 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
187 cosh, csqrt, erfc, expm1 and lgamma.
188 * math/auto-libm-test-out: Regenerated.
189 * sysdeps/i386/fpu/libm-test-ulps: Update.
190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
191
192 2015-09-10 Joseph Myers <joseph@codesourcery.com>
193
194 [BZ #2542]
195 [BZ #2543]
196 [BZ #2558]
197 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
198 __lgamma_neg for arguments from -28.0 to -2.0.
199 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
200 __lgamma_negf for arguments from -15.0 to -2.0.
201 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
202 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
203 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
204 Call __lgamma_negl for arguments from -33.0 to -2.0.
205 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
206 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
207 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
208 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
209 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
210 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
211 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
212 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
213 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
214 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
215 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
216 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
217 (__lgamma_neg): Likewise.
218 (__lgamma_negl): Likewise.
219 (__lgamma_product): Likewise.
220 (__lgamma_productl): Likewise.
221 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
222 * math/auto-libm-test-in: Add more tests of lgamma.
223 * math/auto-libm-test-out: Regenerated.
224 * sysdeps/i386/fpu/libm-test-ulps: Update.
225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
226
227 2015-09-09 Justin Maggard <jmaggard@netgear.com>
228
229 [BZ #18675]
230 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
231
232 2015-09-08 Joseph Myers <joseph@codesourcery.com>
233
234 [BZ #14912]
235 * bits/libc-lock.h: Move to ...
236 * sysdeps/generic/libc-lock.h: ...here.
237 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
238 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
239 * sysdeps/mach/hurd/libc-lock.h: ...here.
240 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
241 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
242 * sysdeps/mach/bits/libc-lock.h: Move to ...
243 * sysdeps/mach/libc-lock.h: ...here.
244 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
245 * sysdeps/nptl/bits/libc-lock.h: Move to ...
246 * sysdeps/nptl/libc-lock.h: ...here.
247 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
248 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
249 * sysdeps/nptl/libc-lockP.h: ...here.
250 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
251 * crypt/crypt_util.c: Include <libc-lock.h> instead of
252 <bits/libc-lock.h>.
253 * dirent/scandir-tail.c: Likewise.
254 * dlfcn/dlerror.c: Likewise.
255 * elf/dl-close.c: Likewise.
256 * elf/dl-iteratephdr.c: Likewise.
257 * elf/dl-lookup.c: Likewise.
258 * elf/dl-open.c: Likewise.
259 * elf/dl-support.c: Likewise.
260 * elf/dl-writev.h: Likewise.
261 * elf/rtld.c: Likewise.
262 * grp/fgetgrent.c: Likewise.
263 * gshadow/fgetsgent.c: Likewise.
264 * gshadow/sgetsgent.c: Likewise.
265 * iconv/gconv_conf.c: Likewise.
266 * iconv/gconv_db.c: Likewise.
267 * iconv/gconv_dl.c: Likewise.
268 * iconv/gconv_int.h: Likewise.
269 * iconv/gconv_trans.c: Likewise.
270 * include/link.h: Likewise.
271 * inet/getnameinfo.c: Likewise.
272 * inet/getnetgrent.c: Likewise.
273 * inet/getnetgrent_r.c: Likewise.
274 * intl/bindtextdom.c: Likewise.
275 * intl/dcigettext.c: Likewise.
276 * intl/finddomain.c: Likewise.
277 * intl/gettextP.h: Likewise.
278 * intl/loadmsgcat.c: Likewise.
279 * intl/localealias.c: Likewise.
280 * intl/textdomain.c: Likewise.
281 * libidn/idn-stub.c: Likewise.
282 * libio/libioP.h: Likewise.
283 * locale/duplocale.c: Likewise.
284 * locale/freelocale.c: Likewise.
285 * locale/newlocale.c: Likewise.
286 * locale/setlocale.c: Likewise.
287 * login/getutent_r.c: Likewise.
288 * login/getutid_r.c: Likewise.
289 * login/getutline_r.c: Likewise.
290 * login/utmp-private.h: Likewise.
291 * login/utmpname.c: Likewise.
292 * malloc/mtrace.c: Likewise.
293 * misc/efgcvt.c: Likewise.
294 * misc/error.c: Likewise.
295 * misc/fstab.c: Likewise.
296 * misc/getpass.c: Likewise.
297 * misc/mntent.c: Likewise.
298 * misc/syslog.c: Likewise.
299 * nis/nis_call.c: Likewise.
300 * nis/nis_callback.c: Likewise.
301 * nis/nss-default.c: Likewise.
302 * nis/nss_compat/compat-grp.c: Likewise.
303 * nis/nss_compat/compat-initgroups.c: Likewise.
304 * nis/nss_compat/compat-pwd.c: Likewise.
305 * nis/nss_compat/compat-spwd.c: Likewise.
306 * nis/nss_nis/nis-alias.c: Likewise.
307 * nis/nss_nis/nis-ethers.c: Likewise.
308 * nis/nss_nis/nis-grp.c: Likewise.
309 * nis/nss_nis/nis-hosts.c: Likewise.
310 * nis/nss_nis/nis-network.c: Likewise.
311 * nis/nss_nis/nis-proto.c: Likewise.
312 * nis/nss_nis/nis-pwd.c: Likewise.
313 * nis/nss_nis/nis-rpc.c: Likewise.
314 * nis/nss_nis/nis-service.c: Likewise.
315 * nis/nss_nis/nis-spwd.c: Likewise.
316 * nis/nss_nisplus/nisplus-alias.c: Likewise.
317 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
318 * nis/nss_nisplus/nisplus-grp.c: Likewise.
319 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
320 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
321 * nis/nss_nisplus/nisplus-network.c: Likewise.
322 * nis/nss_nisplus/nisplus-proto.c: Likewise.
323 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
324 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
325 * nis/nss_nisplus/nisplus-service.c: Likewise.
326 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
327 * nis/ypclnt.c: Likewise.
328 * nptl/libc_pthread_init.c: Likewise.
329 * nss/getXXbyYY.c: Likewise.
330 * nss/getXXent.c: Likewise.
331 * nss/getXXent_r.c: Likewise.
332 * nss/nss_db/db-XXX.c: Likewise.
333 * nss/nss_db/db-netgrp.c: Likewise.
334 * nss/nss_db/nss_db.h: Likewise.
335 * nss/nss_files/files-XXX.c: Likewise.
336 * nss/nss_files/files-alias.c: Likewise.
337 * nss/nsswitch.c: Likewise.
338 * posix/regex_internal.h: Likewise.
339 * posix/wordexp.c: Likewise.
340 * pwd/fgetpwent.c: Likewise.
341 * resolv/res_hconf.c: Likewise.
342 * resolv/res_libc.c: Likewise.
343 * shadow/fgetspent.c: Likewise.
344 * shadow/lckpwdf.c: Likewise.
345 * shadow/sgetspent.c: Likewise.
346 * socket/opensock.c: Likewise.
347 * stdio-common/reg-modifier.c: Likewise.
348 * stdio-common/reg-printf.c: Likewise.
349 * stdio-common/reg-type.c: Likewise.
350 * stdio-common/vfprintf.c: Likewise.
351 * stdio-common/vfscanf.c: Likewise.
352 * stdlib/abort.c: Likewise.
353 * stdlib/cxa_atexit.c: Likewise.
354 * stdlib/fmtmsg.c: Likewise.
355 * stdlib/random.c: Likewise.
356 * stdlib/setenv.c: Likewise.
357 * string/strsignal.c: Likewise.
358 * sunrpc/auth_none.c: Likewise.
359 * sunrpc/bindrsvprt.c: Likewise.
360 * sunrpc/create_xid.c: Likewise.
361 * sunrpc/key_call.c: Likewise.
362 * sunrpc/rpc_thread.c: Likewise.
363 * sysdeps/arm/backtrace.c: Likewise.
364 * sysdeps/generic/ldsodefs.h: Likewise.
365 * sysdeps/generic/stdio-lock.h: Likewise.
366 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
367 * sysdeps/i386/backtrace.c: Likewise.
368 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
369 * sysdeps/m68k/backtrace.c: Likewise.
370 * sysdeps/mach/hurd/cthreads.c: Likewise.
371 * sysdeps/mach/hurd/dirstream.h: Likewise.
372 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
373 * sysdeps/nptl/malloc-machine.h: Likewise.
374 * sysdeps/nptl/stdio-lock.h: Likewise.
375 * sysdeps/posix/dirstream.h: Likewise.
376 * sysdeps/posix/getaddrinfo.c: Likewise.
377 * sysdeps/posix/system.c: Likewise.
378 * sysdeps/pthread/aio_suspend.c: Likewise.
379 * sysdeps/s390/s390-32/backtrace.c: Likewise.
380 * sysdeps/s390/s390-64/backtrace.c: Likewise.
381 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
382 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
383 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
384 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
385 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
386 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
387 * sysdeps/unix/sysv/linux/system.c: Likewise.
388 * sysdeps/x86_64/backtrace.c: Likewise.
389 * time/alt_digit.c: Likewise.
390 * time/era.c: Likewise.
391 * time/tzset.c: Likewise.
392 * wcsmbs/wcsmbsload.c: Likewise.
393 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
394 instead of <bits/libc-lock.h> in comment.
395
396 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
397
398 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
399 Only use .set mips2 if the current ISA is below mips2.
400 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
401 Likewise.
402 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
403 mips32r2 if the current ISA is below mips32r2.
404 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
405 (TLS_IE): Updated to use the TLD_RDHWR macro.
406 (TLS_LE): Likewise.
407 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
408 __ASSEMBLER__ condition.
409
410 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
411
412 Fix parallel build of before-compile targets.
413
414 * sysdeps/mach/Makefile ($(patsubst
415 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
416 mach-before-compile target.
417 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
418 io fs process)): Move rule to dedicated hurd-before-compile target.
419
420 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
421
422 Fix rules generating headers in hurd/ and mach/ when initial make call
423 has subdir= explicitly set.
424
425 * sysdeps/mach/Makefile ($(patsubst
426 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
427 calling $(MAKE).
428 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
429 io fs process)): Force subdir to hurd when calling $(MAKE).
430 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
431 subdir to mach when calling $(MAKE).
432
433 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
434
435 Check sysheaders when looking for Mach and Hurd headers
436
437 * sysdeps/mach/configure.ac: Add sysheaders check.
438 * sysdeps/mach/configure: Regenerate.
439 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
440 * sysdeps/mach/hurd/configure: Regenerate.
441
442 2015-09-04 Roland McGrath <roland@hack.frob.com>
443
444 [BZ #18921]
445 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
446 Fix inverted sense of test of 'o_directory_works' value.
447 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
448 Bernhard Voelker <mail@bernhard-voelker.de>.
449
450 2015-09-04 Joseph Myers <joseph@codesourcery.com>
451
452 [BZ #14912]
453 * bits/linkmap.h: Move to ...
454 * sysdeps/generic/linkmap.h: ...here.
455 * sysdeps/aarch64/bits/linkmap.h: Move to ...
456 * sysdeps/aarch64/linkmap.h: ...here.
457 * sysdeps/arm/bits/linkmap.h: Move to ...
458 * sysdeps/arm/linkmap.h: ...here.
459 * sysdeps/hppa/bits/linkmap.h: Move to ...
460 * sysdeps/hppa/linkmap.h: ...here.
461 * sysdeps/ia64/bits/linkmap.h: Move to ...
462 * sysdeps/ia64/linkmap.h: ...here.
463 * sysdeps/mips/bits/linkmap.h: Move to ...
464 * sysdeps/mips/linkmap.h: ...here.
465 * sysdeps/s390/bits/linkmap.h: Move to ...
466 * sysdeps/s390/linkmap.h: ...here.
467 * sysdeps/sh/bits/linkmap.h: Move to ...
468 * sysdeps/sh/linkmap.h: ...here.
469 * sysdeps/x86/bits/linkmap.h: Move to ...
470 * sysdeps/x86/linkmap.h: ...here.
471 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
472
473 2015-09-04 Andreas Schwab <schwab@suse.de>
474
475 [BZ #18635]
476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
477 (__makecontext): Terminate FDE before return label.
478 (__novec_makecontext): Likewise.
479
480 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
481
482 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
483 first member of struct sv in syscall macro.
484
485 2015-09-04 Joseph Myers <joseph@codesourcery.com>
486
487 [BZ #14912]
488 * bits/stdio-lock.h: Move to ...
489 * sysdeps/generic/stdio-lock.h: ...here.
490 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
491 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
492 * sysdeps/nptl/stdio-lock.h: ...here.
493 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
494 * include/libio.h: Include <stdio-lock.h> instead of
495 <bits/stdio-lock.h>.
496 * sysdeps/nptl/fork.c: Likewise.
497 * sysdeps/pthread/flockfile.c: Likewise.
498 * sysdeps/pthread/ftrylockfile.c: Likewise.
499 * sysdeps/pthread/funlockfile.c: Likewise.
500
501 [BZ #14912]
502 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
503 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
504 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
505 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
506 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
507 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
508 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
509
510 2015-09-03 Roland McGrath <roland@hack.frob.com>
511
512 * elf/Makefile (test-xfail-tst-protected1a): New variable.
513 (test-xfail-tst-protected1b): New variable.
514
515 2015-09-03 Joseph Myers <joseph@codesourcery.com>
516
517 [BZ #14912]
518 * bits/libc-tsd.h: Move to ...
519 * sysdeps/generic/libc-tsd.h: ...here.
520 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
521 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
522 * sysdeps/mach/hurd/libc-tsd.h: ...here.
523 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
524 * include/ctype.h: Include <libc-tsd.h> instead of
525 <bits/libc-tsd.h>.
526 * include/rpc/rpc.h: Likewise.
527 * locale/localeinfo.h: Likewise.
528 * sunrpc/rpc_thread.c: Likewise.
529 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
530 * sysdeps/nptl/malloc-machine.h: Likewise.
531
532 * Makefile (headers): Remove bits/libc-lock.h.
533 * libio/Makefile (headers): Remove bits/stdio-lock.h.
534
535 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
536 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
537 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
538 <bits/stdio-lock.h>.
539 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
540 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
541
542 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
543
544 [BZ #18757]
545 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
546 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
547 BZ #18757.
548
549 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
550
551 * malloc/mtrace.pl: Filter out NULL entries.
552
553 2015-09-01 Joseph Myers <joseph@codesourcery.com>
554
555 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
556 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
557 macro.
558
559 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
560 (TCP_CC_INFO): Likewise.
561 (TCP_SAVE_SYN): Likewise.
562 (TCP_SAVED_SYN): Likewise.
563
564 2015-08-31 Brett Neumeier <brett@neumeier.us>
565
566 [BZ #18870]
567 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
568
569 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
570
571 [BZ #18873]
572 Fix broken overflow check in posix_fallocate
573 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
574 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
575 Fix parenthesization typo.
576
577 2015-08-28 Mike Frysinger <vapier@gentoo.org>
578
579 [BZ #18887]
580 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
581 tst-mntent-blank-passno.
582 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
583 * misc/tst-mntent-blank-corrupt.c: New test.
584 * misc/tst-mntent-blank-passno.c: New test ripped from ...
585 * misc/tst-mntent.c (do_test): ... here.
586
587 2015-08-29 Mike Frysinger <vapier@gentoo.org>
588
589 [BZ #4404]
590 * po/de.po: Fix SIGALRM typo.
591
592 2015-08-28 James Perkins <james@loowit.net>
593
594 * time/tst-strptime2.c (tests): Replace short list of test
595 strings for strptime %z specifier with code which exhaustively
596 tests every combination of sign and 0 to 5 digits. Tests for
597 rejection of invalid strings.
598
599 2015-08-28 James Perkins <james@loowit.net>
600
601 [BZ #16141]
602 * time/strptime_l.c (__strptime_internal): Fix %z minutes
603 calculation, removing incorrect decimal time rounding, so that
604 all minute values result in a valid seconds value.
605 * time/strptime_l.c (__strptime_internal): Extend %z time zone
606 offset range limits to UTC-99:59 through UTC+99:59 to parse
607 current and historical use cases.
608 * time/tst-strptime2.c (tests): Modify and add tests for the
609 strptime %z input field descriptor, specifically conversion of
610 minutes to seconds and validating an offset range of -9959 to
611 +9959.
612
613 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
614 Dmitry V. Levin <ldv@altlinux.org>
615
616 [BZ #18877]
617 * posix/Makefile (tests): Add tst-mmap-offset.
618 * posix/tst-mmap.c: New file.
619 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
620 offset calculation for negative values.
621
622 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
623
624 * sysdeps/i386/init-arch.h: New file.
625 * sysdeps/i386/i586/init-arch.h: Likewise.
626 * sysdeps/i386/i686/init-arch.h: Likewise.
627 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
628 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
629 * sysdeps/x86/cpu-features.h (bit_I586): New.
630 (bit_I686): Likewise.
631 (bit_CX8): Likewise.
632 (bit_CMOV): Likewise.
633 (index_CX8): Likewise.
634 (index_CMOV): Likewise.
635 (index_I586): Likewise.
636 (index_I686): Likewise.
637 (reg_CX8): Likewise.
638 (reg_CMOV): Likewise.
639 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
640 available at compile-time.
641 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
642 available at compile-time.
643 * sysdeps/x86/init-arch.h (USE_I586): New macro.
644 (USE_I686): Likewise.
645
646 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
647
648 * sysdeps/i386/bcopy.S: New file.
649 * sysdeps/i386/bzero.S: Likewise.
650 * sysdeps/i386/memcpy.S: Likewise.
651 * sysdeps/i386/memmove.S: Likewise.
652 * sysdeps/i386/mempcpy.S: Likewise.
653 * sysdeps/i386/memset.S: Likewise.
654 * sysdeps/i386/bzero.c: Removed.
655 * sysdeps/i386/memset.c: Likewise.
656 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
657 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
658 * sysdeps/i386/i586/memset_chk.S: Likewise.
659 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
660 * sysdeps/i386/memcpy_chk.S: Here.
661 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
662 * sysdeps/i386/memmove_chk.S: Here.
663 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
664 * sysdeps/i386/mempcpy_chk.S: Likewise.
665 * sysdeps/i386/i686/memset_chk.S: Moved to ...
666 * sysdeps/i386/memset_chk.S: Likewise.
667
668 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
669
670 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
671 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
672 file, move DIAG_POP_NEEDS_COMMENT to end of file.
673 * soft-fp/fmadf4.c: Ditto.
674 * soft-fp/fmatf4.c: Ditto.
675
676 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
677
678 * sysdeps/i386/i586/Implies: Removed.
679 * sysdeps/i386/i686/Implies: Likewise.
680
681 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
682
683 * sysdeps/i386/i486/strlen.S: Moved to ...
684 * sysdeps/i386/strlen.S: Here.
685
686 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
687
688 * sysdeps/i386/i486/strcat.S: Moved to ...
689 * sysdeps/i386/strcat.S: Here.
690
691 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
692
693 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
694 * sysdeps/i386/pthread_spin_trylock.S: Here.
695 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
696 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
697
698 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
699
700 * sysdeps/i386/i486/string-inlines.c: Moved to ...
701 * sysdeps/i386/string-inlines.c: Here.
702
703 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
704
705 * sysdeps/i386/i486/htonl.S: Moved ...
706 * sysdeps/i386/htonl.S: here.
707
708 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
709
710 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
711 * sysdeps/i386/bits/atomic.h: Here.
712
713 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
714
715 * sysdeps/i386/i486/Versions: Removed.
716
717 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
718
719 [BZ #2898]
720 * misc/mktemp.c: Add mkdtemp to the link_warning message.
721 Based on patch by Aurelien Jarno.
722
723 2015-08-26 Stan Shebs <stanshebs@google.com>
724
725 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
726 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
727
728 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
729
730 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
731 * sysdeps/powerpc/dl-procinfo.c:
732 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
733 feature so it shows when LD_SHOW_AUXV=1.
734
735 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
736
737 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
738 (__arch_compare_and_exchange_val_32_acq): Remove and use common
739 definition. ISA 2.07B no longer requires full sync.
740
741 2015-08-26 Mike Frysinger <vapier@gentoo.org>
742
743 [BZ #18863]
744 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
745 (si_call_addr): Define.
746 (si_syscall): Define.
747 (si_arch): Define.
748
749 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
750
751 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
752 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
753 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
754 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
755 (__memset_zero_constant_len_parameter): New.
756 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
757 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
758 (__memset_zero_constant_len_parameter): Don't define if
759 __memset_chk or USE_AS_BZERO are defined.
760
761 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
762 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
763 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
764
765 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
766 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
767 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
768 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
769 comments.
770 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
771 -mno-mmx for $(all-rtld-routines).
772 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
773 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
774 i386.
775
776 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
777
778 * sysdeps/generic/unwind.h
779 (_Unwind_Word): Use __mode__(__unwind_word__)
780 instead of __mode__(__word__).
781 (_Unwind_Sword): Likewise.
782
783 * sysdeps/s390/s390-64/utf8-utf16-z9.c
784 (MAX_NEEDED_INPUT): New define.
785 (MAX_NEEDED_OUTPUT): New define.
786
787 * NEWS: New item for IBM z13 string optimizations.
788
789 * sysdeps/s390/multiarch/memrchr-c.c: New File.
790 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
791 * sysdeps/s390/multiarch/memrchr.c: Likewise.
792 * sysdeps/s390/multiarch/Makefile
793 (sysdep_routines): Add memrchr functions.
794 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
795 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
796
797 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
798 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
799 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
800 * sysdeps/s390/multiarch/Makefile
801 (sysdep_routines): Add wmemcmp functions.
802 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
803 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
804 * benchtests/bench-wmemcmp.c: New File.
805 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
806
807 * sysdeps/s390/multiarch/wmemset-c.c: New File.
808 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
809 * sysdeps/s390/multiarch/wmemset.c: Likewise.
810 * sysdeps/s390/multiarch/Makefile
811 (sysdep_routines): Add wmemset functions.
812 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
813 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
814 * wcsmbs/wmemset.c: Use WMEMSET if defined.
815 * string/test-memset.c: Add wmemset support.
816 * wcsmbs/test-wmemset.c: New File.
817 * wcsmbs/Makefile (strop-tests): Add wmemset.
818 * benchtests/bench-memset.c: Add wmemset support.
819 * benchtests/bench-wmemset.c: New File.
820 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
821
822 * sysdeps/s390/multiarch/memccpy-c.c: New File.
823 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
824 * sysdeps/s390/multiarch/memccpy.c: Likewise.
825 * sysdeps/s390/multiarch/Makefile
826 (sysdep_routines): Add memccpy functions.
827 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
828 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
829 * string/memccpy.c: Use MEMCCPY if defined.
830
831 * sysdeps/s390/multiarch/memchr-vx.S: New File.
832 * sysdeps/s390/multiarch/memchr.c: Likewise.
833 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
834 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
835 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
836 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
837 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
838 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
839 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
840 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
841 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
842 and rawmemchr functions.
843 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
844 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
845 and wmemchr.
846 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
847 * string/test-memchr.c: Add wmemchr support.
848 * wcsmbs/test-wmemchr.c: New File.
849 * wcsmbs/Makefile (strop-tests): Add wmemchr.
850 * benchtests/bench-memchr.c: Add wmemchr support.
851 * benchtests/bench-wmemchr.c: New File.
852 * benchtests/Makefile (wcsmbs-bench): wmemchr.
853
854 * sysdeps/s390/multiarch/strcspn-c.c: New File.
855 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
856 * sysdeps/s390/multiarch/strcspn.c: Likewise.
857 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
858 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
859 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
860 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
861 wcscspn functions.
862 * sysdeps/s390/multiarch/ifunc-impl-list.c
863 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
864 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
865 * string/test-strcspn.c: Add wcscspn support.
866 * wcsmbs/test-wcscspn.c: New File.
867 * wcsmbs/Makefile (strop-tests): Add wcscspn.
868 * benchtests/bench-strcspn.c: Add wcscspn support.
869 * benchtests/bench-wcscspn.c: New File.
870 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
871
872 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
873 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
874 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
875 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
876 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
877 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
878 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
879 wcspbrk functions.
880 * sysdeps/s390/multiarch/ifunc-impl-list.c
881 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
882 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
883 * string/test-strpbrk.c: Add wcspbrk support.
884 * wcsmbs/test-wcspbrk.c: New File.
885 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
886 * benchtests/bench-strpbrk.c: Add wcspbrk support.
887 * benchtests/bench-wcspbrk.c: New File.
888 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
889
890 * sysdeps/s390/multiarch/strspn-c.c: New File.
891 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
892 * sysdeps/s390/multiarch/strspn.c: Likewise.
893 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
894 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
895 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
896 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
897 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
898 wcsspn functions.
899 * sysdeps/s390/multiarch/ifunc-impl-list.c
900 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
901 * string/test-strspn.c: Add wcsspn support.
902 * wcsmbs/test-wcsspn.c: New File.
903 * wcsmbs/Makefile (strop-tests): Add wcsspn.
904 * benchtests/bench-strspn.c: Add wcsspn support.
905 * benchtests/bench-wcsspn.c: New File.
906 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
907
908 * sysdeps/s390/multiarch/strrchr-c.c: New File.
909 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
910 * sysdeps/s390/multiarch/strrchr.c: Likewise.
911 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
912 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
913 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
914 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
915 wcsrchr functions.
916 * sysdeps/s390/multiarch/ifunc-impl-list.c
917 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
918 * benchtests/bench-wcsrchr.c: New File.
919 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
920
921 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
922 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
923 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
924 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
925 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
926 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
927 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
928 wcschrnul functions.
929 * sysdeps/s390/multiarch/ifunc-impl-list.c
930 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
931 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
932 * string/test-strchr.c: Add wcschrnul support.
933 * wcsmbs/test-wcschrnul.c: New File.
934 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
935 * benchtests/bench-strchr.c: Add wcschrnul support.
936 * benchtests/bench-wcschrnul.c: New File.
937 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
938
939 * sysdeps/s390/multiarch/strchr-c.c: New File.
940 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
941 * sysdeps/s390/multiarch/strchr.c: Likewise.
942 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
943 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
944 * sysdeps/s390/multiarch/wcschr.c: Likewise.
945 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
946 wcschr functions.
947 * sysdeps/s390/multiarch/ifunc-impl-list.c
948 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
949 * string/strchr.c (STRCHR): Define and use macro.
950 * benchtests/bench-wcschr.c: New File.
951 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
952
953 * sysdeps/s390/multiarch/strncmp-c.c: New File.
954 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
955 * sysdeps/s390/multiarch/strncmp.c: Likewise.
956 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
957 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
958 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
959 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
960 wcsncmp functions.
961 * sysdeps/s390/multiarch/ifunc-impl-list.c
962 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
963 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
964 * benchtests/bench-strncmp.c: Add wcsncmp support.
965 * benchtests/bench-wcsncmp.c: New File.
966 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
967
968 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
969 * sysdeps/s390/multiarch/strcmp.c: Likewise.
970 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
971 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
972 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
973 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
974 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
975 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
976 wcscmp functions.
977 * sysdeps/s390/multiarch/ifunc-impl-list.c
978 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
979 * string/strcmp.c (STRCMP): Define and use macro.
980 * benchtests/bench-wcscmp.c: New File.
981 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
982 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
983 instead of _HAVE_STRING_ARCH_memchr.
984
985 * sysdeps/s390/multiarch/strncat-c.c: New File.
986 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
987 * sysdeps/s390/multiarch/strncat.c: Likewise.
988 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
989 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
990 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
991 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
992 wcsncat functions.
993 * sysdeps/s390/multiarch/ifunc-impl-list.c
994 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
995 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
996 * string/test-strncat.c: Add wcsncat support.
997 * wcsmbs/test-wcsncat.c: New File.
998 * wcsmbs/Makefile (strop-tests): Add wcsncat.
999 * benchtests/bench-strncat.c: Add wcsncat support.
1000 * benchtests/bench-wcsncat.c: New File.
1001 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1002
1003 * sysdeps/s390/multiarch/strcat-c.c: New File.
1004 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1005 * sysdeps/s390/multiarch/strcat.c: Likewise.
1006 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1007 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1008 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1009 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1010 wcscat functions.
1011 * sysdeps/s390/multiarch/ifunc-impl-list.c
1012 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1013 * string/strcat.c (STRCAT): Define and use macro.
1014 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1015 * string/test-strcat.c: Add wcscat support.
1016 * wcsmbs/test-wcscat.c: New File.
1017 * wcsmbs/Makefile (strop-tests): Add wcscat.
1018 * benchtests/bench-strcat.c: Add wcscat support.
1019 * benchtests/bench-wcscat.c: New File.
1020 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1021
1022 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1023 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1024 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1025 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1026 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1027 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1028 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1029 wcpncpy functions.
1030 * sysdeps/s390/multiarch/ifunc-impl-list.c
1031 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1032 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1033 * string/test-stpncpy.c: Add wcpncpy support.
1034 * wcsmbs/test-wcpncpy.c: New File.
1035 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1036 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1037 * benchtests/bench-wcpncpy.c: New File.
1038 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1039
1040 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1041 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1042 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1043 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1044 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1045 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1046 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1047 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1048 wcsncpy functions.
1049 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1050 * sysdeps/s390/multiarch/ifunc-impl-list.c
1051 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1052 * string/test-strncpy.c: Add wcsncpy support.
1053 * wcsmbs/test-wcsncpy.c: New File.
1054 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1055 * benchtests/bench-strncpy.c: Add wcsncpy support.
1056 * benchtests/bench-wcsncpy.c: New File.
1057 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1058
1059 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1060 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1061 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1062 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1063 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1064 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1065 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1066 wcpcpy functions.
1067 * string/stpcpy.c: Use STPCPY if defined.
1068 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1069 * sysdeps/s390/multiarch/ifunc-impl-list.c
1070 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1071 * string/test-stpcpy.c: Add wcpcpy support.
1072 * wcsmbs/test-wcpcpy.c: New File.
1073 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1074 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1075 * benchtests/bench-wcpcpy.c: New File.
1076 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1077
1078 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1079 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1080 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1081 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1082 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1083 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1084 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1085 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1086 wcscpy functions.
1087 * sysdeps/s390/multiarch/ifunc-impl-list.c
1088 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1089 * benchtests/bench-wcscpy.c: New File.
1090 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1091
1092 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1093 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1094 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1095 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1096 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1097 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1098 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1099 wcsnlen functions.
1100 * sysdeps/s390/multiarch/ifunc-impl-list.c
1101 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1102 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1103 * string/test-strnlen.c: Add wcsnlen support.
1104 * wcsmbs/test-wcsnlen.c: New File.
1105 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1106 * benchtests/bench-strnlen.c: Add wcsnlen support.
1107 * benchtests/bench-wcsnlen.c: New File.
1108 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1109
1110 * sysdeps/s390/multiarch/Makefile: New File.
1111 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1112 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1113 * sysdeps/s390/multiarch/strlen.c: Likewise.
1114 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1115 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1116 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1117 * string/strlen.c (STRLEN): Define and use macro.
1118 * sysdeps/s390/multiarch/ifunc-impl-list.c
1119 (IFUNC_VX_IMPL): New macro function.
1120 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1121 * benchtests/Makefile (wcsmbs-bench): New variable.
1122 (string-bench-all): Added wcsmbs-bench.
1123 * benchtests/bench-wcslen.c: New File.
1124
1125 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1126 s390_vx_libc_ifunc2): New macro function.
1127
1128 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1129 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1130 assembler support.
1131 * sysdeps/s390/configure: Regenerated.
1132
1133 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1134 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1135
1136 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1137 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1138 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1139
1140 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1141 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1142 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1143 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1144 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1145 (memcmp, bcmp): Use __memcmp_default as alias source.
1146 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1147 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1148 Rename to __memcmp_default.
1149 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1150 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1151 (memcpy): Use __memcpy_default as alias source.
1152 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1153 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1154 Rename to __memcpy_default.
1155 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1156 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1157 (memset): Use __memset_default as alias source.
1158 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1159 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1160 Rename to __memset_default.
1161 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1162 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1163 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1164 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1165 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1166 (memcmp, bcmp): Use __memcmp_default as alias source.
1167 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1168 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1169 Rename to __memcmp_default.
1170 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1171 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1172 (memcpy): Use __memcpy_default as alias source.
1173 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1174 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1175 Rename to __memcpy_default.
1176 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1177 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1178 (memset): Use __memset_default as alias source.
1179 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1180 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1181 Rename to __memset_default.
1182 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1183 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1184
1185 [BZ #18610]
1186 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1187 __ieee_instruction_pointer to __unused.
1188 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1189 __ieee_instruction_pointer.
1190 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1191 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1192 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1193 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1194 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1195 Mark dxc-field as reserved.
1196
1197 2015-08-25 Roland McGrath <roland@hack.frob.com>
1198
1199 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1200 if the weak reference is not null.
1201
1202 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1203
1204 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1205
1206 [BZ #11214]
1207 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1208
1209 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1210
1211 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1212 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1213 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1214 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1215 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1216 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1217 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1218 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1219 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1220 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1221 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1222 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1223 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1224 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1225 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1226 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1227 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1228 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1229
1230 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1231
1232 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1233 register other than r0 for tabort, it has special meaning.
1234 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1235 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1236 transaction before starting syscall.
1237
1238 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1239
1240 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1241
1242 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1243
1244 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1245
1246 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1247 * sysdeps/x86_64/rtld-memset.S: Likewise.
1248 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1249 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1250 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1251 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1252
1253 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1254
1255 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1256
1257 * debug/strcpy_chk.c: Improve performance.
1258 * debug/stpcpy_chk.c: Likewise.
1259 * sysdeps/x86_64/strcpy_chk.S: Remove.
1260 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1261
1262 [BZ #18240]
1263 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1264
1265 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1266
1267 [BZ #15128]
1268 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1269 ifuncmain8.
1270 (modules-names): Add ifuncmod8.
1271 ($(objpfx)ifuncmain8): New rule.
1272 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1273 <cpuid.h>.
1274 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1275 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1276 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1277 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1278 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1279 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1280 * sysdeps/x86_64/ifuncmain8.c: New file.
1281 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1282 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1283 Removed.
1284 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1285 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1286 Change rtld_savespace_sse to __glibc_unused2.
1287 (RTLD_CHECK_FOREIGN_CALL): Removed.
1288 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1289 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1290 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1291
1292 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1293
1294 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1295
1296 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1297
1298 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1299 Unconditionally set __fpcr to avoid uninialized warning.
1300 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1301
1302 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1303
1304 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1305 is corrupt.
1306
1307 * malloc/arena.c (arena_get2): Drop unused argument.
1308 (arena_lock): Adjust.
1309 (arena_get_retry): Likewise.
1310
1311 2015-08-24 Andreas Schwab <schwab@suse.de>
1312
1313 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1314 Don't define.
1315 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1316 (__ASSUME_IPC64): Don't undef.
1317 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1318 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1319 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1320 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1321 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1322 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1323 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1324 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1325 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1326 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1327 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1328 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1329 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1330 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1331 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1332 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1333 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1334 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1335 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1336 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1337 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1338
1339 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1340
1341 * manual/Makefile (install): Only build manual when perl is available.
1342
1343 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1344
1345 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1346 '#undef memcpy' by '#undef memchr'.
1347
1348 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1349
1350 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1351 memchr not point to the internal __GI_memchr implementation.
1352
1353 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1354
1355 * timezone/Makefile (CFLAGS-zdump.c): Remove
1356 -Wno-strict-prototypes.
1357 (CFLAGS-zic.c): Likewise.
1358 (CFLAGS-ialloc.c): Likewise.
1359 (CFLAGS-scheck.c): Likewise.
1360
1361 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1362 -Wno-error=undef.
1363
1364 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1365
1366 * i386/i686/multiarch/strcasestr-c.c: Removed.
1367 * x86_64/multiarch/strcasestr.c: Likewise.
1368 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1369 Remove strcasestr.
1370
1371 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1372
1373 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1374
1375 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1376 variables for high and low parts before possibly modifying them.
1377
1378 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1379
1380 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1381 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1382 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1383 of "multiarch/init-arch.h".
1384 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1385 * sysdeps/x86/init-arch.h: This.
1386
1387 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1388
1389 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1390 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1391
1392 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1393
1394 [BZ #17787]
1395 * manual/macros.texi: Add twoexp macro.
1396 * manual/filesys.texi: Fix exponents.
1397 * manual/llio.texi: Likewise.
1398 * manual/stdio.texi: Likewise.
1399
1400 2015-08-20 Florian Weimer <fweimer@redhat.com>
1401
1402 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1403 incorrect use.
1404
1405 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1406
1407 [BZ #18370]
1408 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1409 whose real or imaginary part has small absolute value.
1410 * math/s_csqrtf.c (__csqrtf): Likewise.
1411 * math/s_csqrtl.c (__csqrtl): Likewise.
1412 * math/auto-libm-test-in: Add more tests of csqrt.
1413 * math/auto-libm-test-out: Regenerated.
1414 * sysdeps/i386/fpu/libm-test-ulps: Update.
1415
1416 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1417
1418 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1419 __ppc_set_ppr_very_low): New functions.
1420 * manual/platform.texi: Add documentation about
1421 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1422
1423 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1424
1425 * string/stpncpy.c (stpncpy): Improve performance using
1426 __strnlen/memcpy/memset.
1427
1428 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1429
1430 [BZ #18796]
1431 * scripts/test-installation.pl: Don't add -lmvec to build options if
1432 libmvec wasn't built.
1433
1434 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1435
1436 [BZ #14341]
1437 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1438 case when there is a gap between DT_REL and DT_JMPREL sections.
1439 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1440 (LDFLAGS-tst-split-dynreloc): New.
1441 (tst-split-dynreloc-ENV): Likewise.
1442 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1443 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1444
1445 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1446
1447 [BZ #18822]
1448 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1449 attribute_hidden.
1450 (__xstat64_conv): Likewise.
1451 (__xstat32_conv): Likewise.
1452
1453 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1454
1455 [BZ #18822]
1456 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1457 Don't load %ebx when calling __setcontext. Call __setcontext
1458 with HIDDEN_JUMPTARGET.
1459 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1460 libc_hidden_def.
1461
1462 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1463
1464 * sysdeps/i386/i686/Makefile
1465 [$(subdir) == string] (sysdep_routines): Moved to ...
1466 * sysdeps/i386/Makefile: Here.
1467 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1468 * sysdeps/i386/cacheinfo.c: Here.
1469 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1470 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1471 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1472 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1473
1474 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1475
1476 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1477 __i586__ is defined.
1478 (HAS_I686): Defined to 1 if __i686__ is defined.
1479
1480 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1481
1482 * elf/Makefile [$(have-z-execstack) = yes]
1483 (CPPFLAGS-tst-execstack.c): New variable.
1484
1485 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1486 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1487 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1488 UTMPX || _HAVE_UT_TV].
1489 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1490 UTMPX || _HAVE_UT_TV - 0].
1491
1492 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1493
1494 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1495 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1496 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1497
1498 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1499
1500 * sysdeps/powerpc/dl-procinfo.c:
1501 (_dl_powerpc_cap_flags): Added missing strings for some
1502 hwcap features.
1503 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1504
1505 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1506
1507 Port the 0x7efe...feff pattern to GCC 6.
1508 See Steve Ellcey's bug report in:
1509 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1510 * string/memrchr.c (MEMRCHR):
1511 * string/rawmemchr.c (RAWMEMCHR):
1512 * string/strchr.c (strchr):
1513 * string/strchrnul.c (STRCHRNUL):
1514 Rewrite code to avoid issues with signed shift overflow.
1515
1516 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
1517
1518 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1519 whether cpuid is available only if HAS_CPUID is 0.
1520 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1521 (HAS_I586): Likewise.
1522 (HAS_I686): Likewise.
1523
1524 2015-08-18 Zack Weinberg <zackw@panix.com>
1525
1526 * misc/Versions (libc): Add GLIBC_2.23.
1527
1528 2015-08-18 Alan Modra <amodra@gmail.com>
1529
1530 [BZ #18421]
1531 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1532 .Lp__global.
1533 (_start): Load %dp via .Lp__global.
1534 [!SHARED]: Use .section .rodata.
1535
1536 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1537
1538 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1539 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1540
1541 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1542
1543 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1544 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1545
1546 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1547
1548 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1549 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1550
1551 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1552
1553 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1554 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1555
1556 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1557
1558 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1559 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1560
1561 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1562
1563 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1564 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1565
1566 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1567
1568 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1569
1570 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1571
1572 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1573 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
1574 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1575 (__ASSUME_LWS_CAS): Delete.
1576
1577 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1578
1579 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1580 * sysdeps/hppa/configure: Regenerated.
1581 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1582 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1583 * sysdeps/hppa/nptl/tls.h: Likewise.
1584
1585 2015-08-17 Joseph Myers <joseph@codesourcery.com>
1586
1587 [BZ #18823]
1588 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1589 for scaling up small arguments.
1590 * math/s_csqrtf.c (__csqrtf): Likewise.
1591 * math/s_csqrtl.c (__csqrtl): Likewise.
1592 * math/auto-libm-test-in: Add more tests of csqrt.
1593 * math/auto-libm-test-out: Regenerated.
1594
1595 2015-08-17 Andreas Schwab <schwab@suse.de>
1596
1597 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1598 version set GLIBC_2.19.
1599
1600 2015-08-16 Zack Weinberg <zackw@panix.com>
1601
1602 [BZ #18681]
1603 * misc/regexp.h: This interface is no longer supported.
1604 Remove all contents, leaving only an #error directive.
1605 * misc/regexp.c (loc1, loc2, locs, step, advance):
1606 Demote to compatibility symbols.
1607
1608 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
1609
1610 [BZ #18084]
1611 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1612 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1613 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1614 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1615 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1616 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1617 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1618 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1619 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1620
1621 2015-08-15 Zack Weinberg <zackw@panix.com>
1622
1623 [BZ #18795]
1624 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1625 buffer length is known to be too large, not if it's known to be
1626 small enough.
1627 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1628 overflow at runtime, involving a length parameter, twice: once
1629 with a compile-time constant length parameter, once without.
1630
1631 2015-08-14 Joseph Myers <joseph@codesourcery.com>
1632
1633 [BZ #18824]
1634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1635 scaling x * y up instead of down.
1636 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1637 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1638 * math/auto-libm-test-in: Add more tests of fma.
1639 * math/auto-libm-test-out: Regenerated.
1640
1641 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1642
1643 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1644
1645 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1646
1647 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1648 unnecessary movq.
1649 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1650 Likewise.
1651
1652 2015-08-13 Joseph Myers <joseph@codesourcery.com>
1653
1654 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1655 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1656 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1657 and tgamma.
1658 * math/auto-libm-test-out: Regenerated.
1659 * sysdeps/i386/fpu/libm-test-ulps: Update.
1660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1661
1662 [BZ #16520]
1663 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1664 (__tanh): Force underflow exception for arguments with small
1665 absolute value.
1666 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1667 (__tanhf): Force underflow exception for arguments with small
1668 absolute value.
1669 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1670 (__tanhl): Force underflow exception for arguments with small
1671 absolute value.
1672 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1673 (__tanhl): Force underflow exception for arguments with small
1674 absolute value.
1675 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1676 (__tanhl): Force underflow exception for arguments with small
1677 absolute value.
1678 * math/auto-libm-test-in: Add more tests of tanh.
1679 * math/auto-libm-test-out: Regenerated.
1680 * sysdeps/i386/fpu/libm-test-ulps: Update.
1681
1682 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1683
1684 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1685 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1686
1687 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1688
1689 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1690 <cpuid.h>.
1691
1692 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1693
1694 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1695 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1696
1697 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1698
1699 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1700 Remove $(objpfx)init-arch.o.
1701 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1702 init-arch.
1703 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1704 (INIT_ARCH_EXT): Defined as empty.
1705 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1706 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1707 __init_cpu_features call. Replace HAS_XXX with
1708 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1709 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1710 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1711 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1712 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1713 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1714 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1715 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1716 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1717 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1718 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1719 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1720 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1721 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1722 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1723 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1724 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1725 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1726 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1727 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1728 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1729 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1730 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1731 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1732 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1733 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1734 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1735 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1736 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1737 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1738 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1739 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1740 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1741 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1742 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1743 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1744
1745 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1746
1747 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1748 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1749 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1750 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1751 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1752 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1753 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1754 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1755 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1756 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1757 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1758 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
1759 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1760 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1761 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1762 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1763 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1764 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1765 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1766 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1767 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1768 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1769 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1770 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1771 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1772 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1773 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1774 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1775 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1776 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1777 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1778 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1779 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1780 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1781 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1782 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1783 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1784 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1785 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1786 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1787 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1788 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1789 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1790
1791 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1792
1793 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1794 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1795 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1796 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1797 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1798 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1799 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1800 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1801 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1802 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1803 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1804 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1805 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1806 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1807 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1808 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1809 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1810 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1811 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1812 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1813 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1814 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1815 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1816 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1817 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1818 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1819 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1820 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
1821 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1822 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1823 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1824 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1825 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1826 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1827 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1828 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1829 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1830 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1831 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1832 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1833 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1834 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1835 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1836
1837 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1838
1839 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1840 (dl_platform_init): Call init_cpu_features.
1841 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1842 * sysdeps/i386/i686/cacheinfo.c
1843 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1844 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1845 * sysdeps/i386/i686/multiarch/Versions: Removed.
1846 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1847 Removed.
1848 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1849 * sysdeps/unix/sysv/linux/x86/Makefile
1850 (libpthread-sysdep_routines): Remove init-arch.
1851 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1852 <sysdeps/x86_64/dl-procinfo.c> instead of
1853 sysdeps/generic/dl-procinfo.c>.
1854 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1855 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1856 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1857 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1858 [$(subdir) == elf] (tests-static): Add
1859 tst-get-cpu-features-static.
1860 * sysdeps/x86/Versions: New file.
1861 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1862 * sysdeps/x86/cpu-features.c: Likewise.
1863 * sysdeps/x86/cpu-features.h: Likewise.
1864 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1865 * sysdeps/x86/libc-start.c: Likewise.
1866 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1867 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1868 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1869 * sysdeps/x86_64/dl-procinfo.c: Likewise.
1870 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1871 Assume USE_MULTIARCH is defined and don't check it.
1872 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1873 (is_amd): Likewise.
1874 (max_cpuid): Likewise.
1875 (intel_check_word): Likewise.
1876 (__cache_sysconf): Don't call __init_cpu_features.
1877 (__x86_preferred_memory_instruction): Removed.
1878 (init_cacheinfo): Don't call __init_cpu_features. Replace
1879 __cpu_features with GLRO(dl_x86_cpu_features).
1880 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1881 (dl_platform_init): Call init_cpu_features.
1882 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1883 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1884 * sysdeps/x86_64/multiarch/Versions: Removed.
1885 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1886 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1887 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1888 Removed.
1889 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1890
1891 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1892
1893 [BZ #18820]
1894 * libio/Makefile (test-fmemopen-mem): New test.
1895 * libio/test-fmemopen.c (do_bz18820): New test.
1896 * libio/fmemopen.c (__fmemopen): Fix memory leak.
1897 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1898
1899 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1900
1901 [BZ #16734]
1902 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1903 (FREE_BUF): Delete.
1904 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1905 * libio/genops.c (_IO_setb): Use malloc and free directly.
1906 (_IO_default_doallocate, _IO_default_finish): Likewise.
1907 ( _IO_unbuffer_all): Likewise.
1908 ( libc_freeres_fn): Likewise.
1909 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1910 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1911 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1912 (_IO_wdefault_doallocate): Likewise.
1913
1914 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1915
1916 [BZ #18086]
1917 * sysdeps/posix/nice.c (nice): Restore old errno.
1918 * posix/tst-nice.c (do_test): Add test for BZ #18086.
1919
1920 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
1921
1922 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1923
1924 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1925
1926 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1927 __bcopy and add a weak_alias to bcopy.
1928 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1929 for static build.
1930
1931 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1932 cleanup macro usage.
1933 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1934 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1935 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1936 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1937 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1938 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1939 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1940 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1941 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1942 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1943 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1944 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1945 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1946 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1947 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1948 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1949 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1950 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1951 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1952
1953 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1954 libc_hidden_def.
1955 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1956
1957 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1958 (sysdep_routines): Add strstr-ppc64.
1959 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1960
1961 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1962
1963 [BZ #18778]
1964 * elf/Makefile (tests): Add Add tst-nodelete2.
1965 (modules-names): Add tst-nodelete2mod.
1966 (tst-nodelete2mod.so-no-z-defs): New.
1967 ($(objpfx)tst-nodelete2): Likewise.
1968 ($(objpfx)tst-nodelete2.out): Likewise.
1969 (LDFLAGS-tst-nodelete2): Likewise.
1970 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1971 out of loop through all loaded libraries.
1972 * elf/tst-nodelete2.c: New file.
1973 * elf/tst-nodelete2mod.c: Likewise.
1974 * elf/tst-znodelete-zlib.cc: Delete.
1975
1976 2015-08-11 Andreas Schwab <schwab@suse.de>
1977
1978 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1979 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1980 (__openat64_nocancel): Likewise.
1981
1982 2015-08-11 Joseph Myers <joseph@codesourcery.com>
1983
1984 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1985 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1986 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1987 * math/auto-libm-test-out: Regenerated.
1988 * sysdeps/i386/fpu/libm-test-ulps: Update.
1989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1990
1991 2015-08-10 Joseph Myers <joseph@codesourcery.com>
1992
1993 [BZ #18790]
1994 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1995 threshold for returning +/- 1.
1996 * math/auto-libm-test-in: Add more tests of tanh.
1997 * math/auto-libm-test-out: Regenerated.
1998 * sysdeps/i386/fpu/libm-test-ulps: Update.
1999
2000 2015-08-10 Andreas Schwab <schwab@suse.de>
2001
2002 [BZ #18781]
2003 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2004 MORE_OFLAGS to oflag.
2005 * io/test-lfs.c (do_test): Test openat64.
2006
2007 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2008
2009 [BZ #18789]
2010 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2011 smaller threshold for returning the argument.
2012 * math/auto-libm-test-in: Add more tests of sinh.
2013 * math/auto-libm-test-out: Regenerated.
2014 * sysdeps/i386/fpu/libm-test-ulps: Update.
2015
2016 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2017
2018 [BZ #18674]
2019 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2020 break.
2021
2022 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2023
2024 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2025 (generated): Don't add $(addprefix z.,$(tzfiles)).
2026
2027 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2028
2029 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2030 * scripts/sysd-rules.awk: Likewise.
2031
2032 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2033
2034 * iconvdata/tst-tables.sh: Change echo -n to printf.
2035 * nss/db-Makefile: Likewise.
2036 * posix/tst-getconf.sh: Likewise.
2037 * stdio-common/tst-unbputc.sh: Likewise.
2038
2039 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2040
2041 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2042 MADV_*_PAGES defines behind this feature check.
2043
2044 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2045
2046 [BZ #18480]
2047 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2048 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2049 Define.
2050 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2051 LOAD_REGS_5, LOAD_REGS_6): Update.
2052 (INTERNAL_SYSCALL): Update using new LOAD defines.
2053 (INTERNAL_SYSCALL_NCS): Likewise.
2054 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2055
2056 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2057
2058 [BZ #16734]
2059 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2060
2061 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2062
2063 [BZ #17905]
2064 * catgets/Makefile (tst-catgets-mem): New test.
2065 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2066 * catgets/open_catalog.c (__open_catalog): Likewise.
2067 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2068
2069 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2070
2071 [BZ #18787]
2072 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2073 clobber registers.
2074 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2075 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2076 Cast return to __typeof (oldval).
2077
2078 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2079
2080 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2081 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2082 and delete sys/syscall.h include.
2083
2084 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2085
2086 [BZ #16517]
2087 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2088 (tan): Force underflow exception for arguments with small absolute
2089 value.
2090 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2091 (__kernel_tanf): Force underflow exception for arguments with
2092 small absolute value.
2093 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2094 (__kernel_tanl): Force underflow exception for arguments with
2095 small absolute value.
2096 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2097 (__kernel_tanl): Force underflow exception for arguments with
2098 small absolute value.
2099 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2100 (__kernel_tanl): Force underflow exception for arguments with
2101 small absolute value.
2102 * math/auto-libm-test-in: Add more tests of tan.
2103 * math/auto-libm-test-out: Regenerated.
2104
2105 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2106
2107 Fix sysdeps/i386/fpu/s_scalbn.S build
2108
2109 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2110
2111 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2112
2113 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2114
2115 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2116
2117 Fix gcrt0.o compilation
2118
2119 When static-start-installed-name is different from
2120 start-installed-name, we must not use the shared objects.
2121
2122 * csu/Makefile
2123 (extra-objs): Add gmon-start.o when building shared library and
2124 $(static-start-installed-name) is different from
2125 $(start-installed-name).
2126 $(objpfx)g$(static-start-installed-name): When building shared
2127 library and $(static-start-installed-name) is different from
2128 $(static-start-installed-name), revert to non-shared rule,
2129 i.e. using $(objpfx)% and gmon-start.o.
2130
2131 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2132
2133 [BZ #16519]
2134 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2135 (__ieee754_sinh): Force underflow exception for arguments with
2136 small absolute value.
2137 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2138 (__ieee754_sinhf): Force underflow exception for arguments with
2139 small absolute value.
2140 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2141 (__ieee754_sinhl): Force underflow exception for arguments with
2142 small absolute value.
2143 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2144 (__ieee754_sinhl): Force underflow exception for arguments with
2145 small absolute value.
2146 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2147 (__ieee754_sinhl): Force underflow exception for arguments with
2148 small absolute value.
2149 * math/auto-libm-test-in: Add more tests of sinh.
2150 * math/auto-libm-test-out: Regenerated.
2151 * sysdeps/i386/fpu/libm-test-ulps: Update.
2152
2153 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2154
2155 * libio/oldfileops.c: Include unistd.h.
2156
2157 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2158
2159 * stdlib/isomac.c: Include ctype.h.
2160
2161 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2162
2163 * dirent/tst-seekdir.c (main): Converted to ...
2164 (do_test): ... this.
2165 (TEST_FUNCTION): New macro.
2166 Include test-skeleton.c.
2167 * elf/tst-dlmodcount.c (main): Converted to ...
2168 (do_test): ... this.
2169 (TEST_FUNCTION): New macro.
2170 Include test-skeleton.c.
2171 * elf/tst-order-main.c (main): Converted to ...
2172 (do_test): ... this.
2173 (TEST_FUNCTION): New macro.
2174 Include test-skeleton.c.
2175 * elf/tst-pie2.c (main): Converted to ...
2176 (do_test): ... this.
2177 (TEST_FUNCTION): New macro.
2178 Include test-skeleton.c.
2179 * inet/tst-ether_aton.c (main): Converted to ...
2180 (do_test): ... this.
2181 (TEST_FUNCTION): New macro.
2182 Include test-skeleton.c.
2183 * misc/tst-mntent.c (main): Converted to ...
2184 (do_test): ... this.
2185 (TEST_FUNCTION): New macro.
2186 Include test-skeleton.c.
2187 * misc/tst-tsearch.c (main): Converted to ...
2188 (do_test): ... this.
2189 (TEST_FUNCTION): New macro.
2190 Include test-skeleton.c.
2191 * posix/tst-regexloc.c (main): Converted to ...
2192 (do_test): ... this.
2193 (TEST_FUNCTION): New macro.
2194 Include test-skeleton.c.
2195 * resolv/tst-aton.c (main): Converted to ...
2196 (do_test): ... this.
2197 (TEST_FUNCTION): New macro.
2198 Include test-skeleton.c.
2199 * stdio-common/test-fwrite.c (main): Converted to ...
2200 (do_test): ... this.
2201 (TEST_FUNCTION): New macro.
2202 Include test-skeleton.c.
2203 * stdio-common/tst-ferror.c (main): Converted to ...
2204 (do_test): ... this.
2205 (TEST_FUNCTION): New macro.
2206 Include test-skeleton.c.
2207 * stdio-common/tst-printf.c (main): Converted to ...
2208 (do_test): ... this.
2209 (TEST_FUNCTION): New macro.
2210 Include test-skeleton.c.
2211 * stdio-common/tst-printfsz.c (main): Converted to ...
2212 (do_test): ... this.
2213 (TEST_FUNCTION): New macro.
2214 Include test-skeleton.c.
2215 * stdlib/tst-strtod.c (main): Converted to ...
2216 (do_test): ... this.
2217 (TEST_FUNCTION): New macro.
2218 Include test-skeleton.c.
2219 * string/tst-strlen.c (main): Converted to ...
2220 (do_test): ... this.
2221 (TEST_FUNCTION): New macro.
2222 Include test-skeleton.c.
2223 * string/tst-svc.c (main): Converted to ...
2224 (do_test): ... this.
2225 (TEST_FUNCTION): New macro.
2226 Include test-skeleton.c.
2227 * time/tst-strptime.c (main): Converted to ...
2228 (do_test): ... this.
2229 (TEST_FUNCTION): New macro.
2230 Include test-skeleton.c.
2231 * timezone/tst-timezone.c (main): Converted to ...
2232 (do_test): ... this.
2233 (TEST_FUNCTION): New macro.
2234 Include test-skeleton.c.
2235
2236 2015-08-05 Zack Weinberg <zackw@panix.com>
2237
2238 * misc/regexp.h: Update comments.
2239
2240 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2241
2242 [BZ #18635]
2243 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2244 before return label.
2245
2246 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2247
2248 [BZ #18661]
2249 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2250 when calling __errno_location.
2251 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2252 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2253
2254 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2255
2256 [BZ #18661]
2257 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2258 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2259 __gettimeofday.
2260
2261 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2262
2263 [BZ #18661]
2264 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2265 (__start_context): Don't use pop to restore %rdi so that stack
2266 is aligned to 16 bytes when calling __setcontext.
2267
2268 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2269
2270 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2271 only for libc.
2272 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2273
2274 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2275
2276 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2277 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2278 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2279
2280 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2281
2282 * string/memccpy.c (memccpy):
2283 Improve performance by using memchr/memcpy/__mempcpy.
2284
2285 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2286
2287 * string/strncpy.c (strncpy):
2288 Improve performance by using __strnlen/memcpy.
2289
2290 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2291
2292 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2293 Optimize to avoid an unnecessary FPCR read.
2294
2295 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2296
2297 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2298 Optimize to reduce FPCR/FPSR accesses.
2299
2300 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2301
2302 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2303 dead->data[category] != NULL.
2304
2305 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2306
2307 [BZ #18647]
2308 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2309 and |x| close to 1, use absolute value of x when computing log.
2310 * math/auto-libm-test-in: Add more tests of pow.
2311 * math/auto-libm-test-out: Regenerated.
2312
2313 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2314
2315 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2316 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2317 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2318
2319 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2320
2321 [BZ #18525]
2322 * locales/km_KH: Remove timezone definition.
2323 * locales/lo_LA: Likewise.
2324 * locales/my_MM: Likewise.
2325 * locales/nan_TW@latin: Likewise.
2326 * locales/th_TH: Likewise.
2327 * locales/uk_UA: Likewise.
2328
2329 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2330
2331 [BZ #18265]
2332 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2333 (wcsncat): Likewise.
2334 (wcscmp): Likewise.
2335 (wcsncmp): Likewise.
2336
2337 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2338
2339 * test-skeleton.c (usage): New function.
2340 (main): Call usage when opt is '?'.
2341
2342 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2343
2344 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2345 before first use.
2346
2347 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2348
2349 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2350 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2351 in there too.
2352
2353 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2354
2355 * version.h (RELEASE): Set to "development".
2356 (VERSION): Set to "2.22.90"
2357
2358 * version.h (RELEASE): Set to "stable".
2359 (VERSION): Set to "2.22"
2360 * include/features.h (__GLIBC_MINOR__): Set to 22.
2361
2362 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2363
2364 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2365 Restructure macro to avoid "value computed is not used" warning.
2366 (atomic_compare_and_exchange_val_acq): Likewise.
2367
2368 2015-08-04 Andreas Schwab <schwab@suse.de>
2369
2370 [BZ #18635]
2371 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2372 ret.
2373 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2374
2375 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2376
2377 * po/pl.po: Updated translation.
2378 * po/uk.po: Likewise.
2379 * po/fi.po: Likewise.
2380 * po/ko.po: Likewise.
2381 * po/ru.po: Likewise.
2382 * po/vi.po: Likewise.
2383
2384 2015-07-31 Zack Weinberg <zackw@panix.com>
2385
2386 [BZ #18681]
2387 * regexp.h: Add unconditional #warning stating that this header
2388 will be removed soon. Revise banner comment to match.
2389 (compile): Consistently use ERROR instead of RETURN to report
2390 errors (partial fix for bz#18681).
2391 * regexp.c: Don't include regexp.h. Remove some unnecessary
2392 declarations.
2393
2394 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2395
2396 * po/libc.pot: Regenerated.
2397
2398 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2399
2400 [BZ #18740]
2401 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2402 float-vlen4-arch-ext-cflags): Removed.
2403 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2404 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2405
2406 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2407
2408 [BZ #14113]
2409 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2410 aligned to __aligned__.
2411 (pthread_cond_t, pthread_rwlock_t): Likewise.
2412
2413 2015-07-30 Torvald Riegel <triegel@redhat.com>
2414
2415 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2416
2417 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2418
2419 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2420 (struct sigaction): Change sa_flags from a long to an int, and add
2421 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2422
2423 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2424
2425 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2426 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2427 sysdeps/generic/sysdep.h include.
2428 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2429 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2430 sysdeps/hppa/sysdep.h.
2431 (ENTRY, PSEUDO): Undefine before defining.
2432
2433 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2434
2435 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2436 from scratch to use INTERNAL_SYSCALL.
2437
2438 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2439
2440 [BZ #18078]
2441 * scripts/check-localplt.awk: Support alternate relocations.
2442 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2443 sections.
2444 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2445 malloc entries with + REL R_386_GLOB_DAT.
2446 * sysdeps/x86_64/localplt.data: New file.
2447
2448 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2449
2450 [BZ #18731]
2451 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2452 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2453 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2454
2455 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2456
2457 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2458
2459 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2460
2461 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2462 directly in terms of __sync_fetch_and_add and delete (int) cast.
2463
2464 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2465
2466 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2467 the -D_ASM_IA64_CURRENT_H flag.
2468
2469 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2470
2471 [BZ #18641]
2472 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2473
2474 2015-07-27 Andreas Schwab <schwab@suse.de>
2475
2476 * conform/conformtest.pl (checknamespace): Filter out string
2477 literals while tokenizing.
2478
2479 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2480
2481 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2482 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2483 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2484
2485 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2486
2487 * nptl/tst-join7mod.c: Add #include <string.h>.
2488
2489 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2490
2491 * sysdeps/nios2/libm-test-ulps: Update.
2492
2493 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2494
2495 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2496 Fix order of arguments to the rt_sigprocmask syscall.
2497 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2498 Likewise.
2499
2500 2015-07-24 Roland McGrath <roland@hack.frob.com>
2501
2502 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2503
2504 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2505
2506 [BZ #18457]
2507 * nptl/Makefile (tests): New test case tst-join7.
2508 (modules-names): New test case module tst-join7mod.
2509 * nptl/tst-join7.c: New file.
2510 * nptl/tst-join7mod.c: New file.
2511 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2512 all translation units in libc.so, libpthread.so and rtld.
2513
2514 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2515
2516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2517
2518 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
2519
2520 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2521 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2522 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2523 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2524 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2525 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2526 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2527 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2528 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2529 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2530 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2531 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2532 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2533 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2534 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2535 implementation.
2536
2537 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2538
2539 [BZ #17711]
2540 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2541 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2542 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2543 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2544 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2545 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2546
2547 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2548
2549 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2550 instead of just saying load lock in the comments.
2551
2552 2015-07-23 Roland McGrath <roland@hack.frob.com>
2553
2554 * sysdeps/unix/Subdirs: Moved ...
2555 * sysdeps/posix/Subdirs: ... here.
2556 * login/pty.h (struct termios, struct winsize): Add forward decls.
2557 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2558 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2559 * sysdeps/arm/nacl/libc.abilist: Updated.
2560 * sysdeps/nacl/libutil.abilist: New file.
2561
2562 * bits/signum.h: Update comments to mention 1003.1-2013 too.
2563 (SIGWINCH): New macro.
2564
2565 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2566 * sysdeps/arm/nacl/libc.abilist: Add it.
2567
2568 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2569
2570 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2571
2572 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2573
2574 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2575 Swap __glibc_reserved0 and sa_flags order.
2576
2577 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2578
2579 [BZ #18657]
2580 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2581 are pending TLS destructor calls.
2582 * include/link.h (struct link_map): Add concurrency note for
2583 L_TLS_DTOR_COUNT.
2584 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2585 Don't touch the link map flag. Atomically increment
2586 l_tls_dtor_count.
2587 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2588 Avoid taking the load lock and don't touch the link map flag.
2589 * stdlib/tst-tls-atexit-nodelete.c: New test case.
2590 * stdlib/Makefile (tests): Use it.
2591 * stdlib/tst-tls-atexit.c (do_test): dlopen
2592 tst-tls-atexit-lib.so again before dlclose. Add conditionals
2593 to allow tst-tls-atexit-nodelete test case to use it.
2594
2595 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2596
2597 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2598 to bits/types.h.
2599 (msgqnum_t): New typedef.
2600 (msglen_t): Likewise.
2601 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
2602 and msg_qbytes type to msglen_t.
2603
2604 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2605
2606 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2607 pad0 to __glibc_reserved0.
2608 (struct stat64): Likewise.
2609
2610 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2611
2612 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2613 Change sa_flags from a long to an int and add __glibc_reserved0 before
2614 it for padding.
2615
2616 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2617
2618 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2619 anonymous by deleting "siginfo" name.
2620
2621 2015-07-21 Roland McGrath <roland@hack.frob.com>
2622
2623 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2624 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2625 rather than __nacl_irt_filename.
2626 * sysdeps/nacl/xstat.c (__xstat): Likewise.
2627
2628 * NEWS: New item for arm-nacl port.
2629 * sysdeps/arm/nacl/libc.abilist: New file.
2630 * sysdeps/nacl/ld.abilist: New file.
2631 * sysdeps/nacl/libBrokenLocale.abilist: New file.
2632 * sysdeps/nacl/libanl.abilist: New file.
2633 * sysdeps/nacl/libcrypt.abilist: New file.
2634 * sysdeps/nacl/libdl.abilist: New file.
2635 * sysdeps/nacl/libm.abilist: New file.
2636 * sysdeps/nacl/libpthread.abilist: New file.
2637 * sysdeps/nacl/libresolv.abilist: New file.
2638 * sysdeps/nacl/librt.abilist: New file.
2639
2640 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
2641
2642 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2643 __startcontext to initialize the new context.
2644 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2645 up CFI directive to forbid further backtracing.
2646
2647 2015-07-21 Marko Myllynen <myllynen@redhat.com>
2648
2649 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2650 reference.
2651 * charmaps/ANSI_X3.4-1968: Likewise.
2652 * charmaps/BS_4730: Likewise.
2653 * charmaps/BS_VIEWDATA: Likewise.
2654 * charmaps/CP1250: Likewise.
2655 * charmaps/CP1251: Likewise.
2656 * charmaps/CP1252: Likewise.
2657 * charmaps/CP1253: Likewise.
2658 * charmaps/CP1254: Likewise.
2659 * charmaps/CP1255: Likewise.
2660 * charmaps/CP1256: Likewise.
2661 * charmaps/CSN_369103: Likewise.
2662 * charmaps/EBCDIC-DK-NO: Likewise.
2663 * charmaps/GB_1988-80: Likewise.
2664 * charmaps/GREEK-CCITT: Likewise.
2665 * charmaps/GREEK7: Likewise.
2666 * charmaps/INIS-8: Likewise.
2667 * charmaps/ISIRI-3342: Likewise.
2668 * charmaps/ISO_2033-1983: Likewise.
2669 * charmaps/ISO_5427-EXT: Likewise.
2670 * locales/POSIX: Likewise.
2671 * locales/ar_SA: Likewise.
2672 * locales/be_BY: Likewise.
2673 * locales/be_BY@latin: Likewise.
2674 * locales/ca_ES: Likewise.
2675 * locales/cs_CZ: Likewise.
2676 * locales/da_DK: Likewise.
2677 * locales/de_BE: Likewise.
2678 * locales/de_CH: Likewise.
2679 * locales/de_LU: Likewise.
2680 * locales/en_AU: Likewise.
2681 * locales/en_BW: Likewise.
2682 * locales/en_CA: Likewise.
2683 * locales/en_DK: Likewise.
2684 * locales/en_GB: Likewise.
2685 * locales/en_IE: Likewise.
2686 * locales/en_NZ: Likewise.
2687 * locales/en_ZA: Likewise.
2688 * locales/en_ZW: Likewise.
2689 * locales/es_AR: Likewise.
2690 * locales/es_BO: Likewise.
2691 * locales/es_CL: Likewise.
2692 * locales/es_CO: Likewise.
2693 * locales/es_DO: Likewise.
2694 * locales/es_EC: Likewise.
2695 * locales/es_ES: Likewise.
2696 * locales/es_HN: Likewise.
2697 * locales/es_MX: Likewise.
2698 * locales/es_PA: Likewise.
2699 * locales/es_PE: Likewise.
2700 * locales/es_PY: Likewise.
2701 * locales/es_SV: Likewise.
2702 * locales/es_US: Likewise.
2703 * locales/es_UY: Likewise.
2704 * locales/es_VE: Likewise.
2705 * locales/et_EE: Likewise.
2706 * locales/fa_IR: Likewise.
2707 * locales/fo_FO: Likewise.
2708 * locales/fr_CA: Likewise.
2709 * locales/fr_CH: Likewise.
2710 * locales/gv_GB: Likewise.
2711 * locales/he_IL: Likewise.
2712 * locales/hr_HR: Likewise.
2713 * locales/id_ID: Likewise.
2714 * locales/is_IS: Likewise.
2715 * locales/it_CH: Likewise.
2716 * locales/iw_IL: Likewise.
2717 * locales/kl_GL: Likewise.
2718 * locales/ko_KR: Likewise.
2719 * locales/kw_GB: Likewise.
2720 * locales/lg_UG: Likewise.
2721 * locales/lt_LT: Likewise.
2722 * locales/lv_LV: Likewise.
2723 * locales/mi_NZ: Likewise.
2724 * locales/nhn_MX: Likewise.
2725 * locales/nl_BE: Likewise.
2726 * locales/pl_PL: Likewise.
2727 * locales/sk_SK: Likewise.
2728 * locales/sl_SI: Likewise.
2729 * locales/sv_FI: Likewise.
2730 * locales/tl_PH: Likewise.
2731 * locales/tr_TR: Likewise.
2732 * locales/vi_VN: Likewise.
2733
2734 2015-07-21 Khem Raj <raj.khem@gmail.com>
2735
2736 [BZ #17475]
2737 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2738 of tu_IN and bh_IN.
2739
2740 2015-07-21 Mike Frysinger <vapier@gentoo.org>
2741
2742 [BZ #18694]
2743 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2744 bits/wordsize.h.
2745 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2746
2747 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2748
2749 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2750 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2751 (spawn_thread): New function.
2752 (load): Rename to reg_dtor_and_close. Move dlopen to...
2753 (do_test): ... here. Use IS_LOADED to test for its
2754 availability.
2755
2756 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
2757
2758 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2759
2760 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
2761
2762 [BZ #18696]
2763 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2764 si_addr_bnd.
2765 (si_lower): New.
2766 (si_upper): Likewise.
2767
2768 2015-07-16 David S. Miller <davem@davemloft.net>
2769
2770 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2771
2772 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2773
2774 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2775 buffer.
2776 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2777 fail output information.
2778
2779 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2780
2781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2782 and strstr-ppc64..
2783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2784 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2785 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2786 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2787 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2788
2789 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2790
2791 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2792 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2793 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2794 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2795
2796 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2797
2798 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2799 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2800 rtld_hidden_proto.
2801 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2802
2803 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2804
2805 * tst-nodelete-opened.c (do_test): Add comment to clarify how
2806 the test can fail.
2807
2808 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2809
2810 [BZ #18676]
2811 * elf/tst-nodelete-opened.c: New test case.
2812 * elf/tst-nodelete-opened-lib.c: New test case module.
2813 * elf/Makefile (tests, modules-names): Use them.
2814 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2815 early.
2816
2817 2015-07-15 David S. Miller <davem@davemloft.net>
2818
2819 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2820 futex-intenal.h
2821 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2822 * sysdeps/sparc/sparc64/Makefile: Likewise.
2823 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2824 Remove space from macro define.
2825 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2826
2827 2015-07-15 Pravin Satpute <psatpute@redhat.com>
2828
2829 [BZ #17475]
2830 * locale/iso-639.def: Update Bhili and Tulu language codes as
2831 per iso639-3.
2832
2833 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
2834
2835 * elf/tst-leaks1.c (main): Converted to ...
2836 (do_test): ... this.
2837 (TEST_FUNCTION): New macro.
2838 Include test-skeleton.c.
2839 * localedata/tst-langinfo.c (main): Converted to ...
2840 (do_test): ... this.
2841 (TEST_FUNCTION): New macro.
2842 Include test-skeleton.c.
2843 * math/test-fpucw.c (main): Converted to ...
2844 (do_test): ... this.
2845 (TEST_FUNCTION): New macro.
2846 Include test-skeleton.c.
2847 * math/test-tgmath.c (main): Converted to ...
2848 (do_test): ... this.
2849 (TEST_FUNCTION): New macro.
2850 Include test-skeleton.c.
2851 * math/test-tgmath2.c (main): Converted to ...
2852 (do_test): ... this.
2853 (TEST_FUNCTION): New macro.
2854 Include test-skeleton.c.
2855 * setjmp/tst-setjmp.c (main): Converted to ...
2856 (do_test): ... this.
2857 (TEST_FUNCTION): New macro.
2858 Include test-skeleton.c.
2859 * stdio-common/tst-sscanf.c (main): Converted to ...
2860 (do_test): ... this.
2861 (TEST_FUNCTION): New macro.
2862 Include test-skeleton.c.
2863 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2864 (do_test): ... this.
2865 (TEST_FUNCTION): New macro.
2866 Include test-skeleton.c.
2867
2868 * elf/tst-audit9.c (main): Converted to ...
2869 (do_test): ... this.
2870 (TEST_FUNCTION): New macro.
2871 Include test-skeleton.c.
2872
2873 2015-07-15 Mike Frysinger <vapier@gentoo.org>
2874
2875 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2876
2877 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2878
2879 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2880 New variable.
2881
2882 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2883
2884 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2885
2886 2015-07-14 Roland McGrath <roland@hack.frob.com>
2887
2888 * sysdeps/generic/dl-fileid.h: New file.
2889 * sysdeps/posix/dl-fileid.h: New file.
2890 * sysdeps/nacl/dl-fileid.h: New file.
2891 * include/link.h: Include <dl-fileid.h>.
2892 (struct link_map): Replace l_dev and l_ino with l_file_id.
2893 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2894 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
2895 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
2896
2897 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2898
2899 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2900
2901 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2902
2903 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2904 Add iff $CXX is set.
2905 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2906 Likewise.
2907 (tst-nodelete-zmodiff): Likewise.
2908 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2909
2910 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2911
2912 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2913
2914 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
2915
2916 * sysdeps/aarch64/fpu/math_private.h
2917 (define math_opt_barrier): Add AArch64 version.
2918 (math_force_eval): Likewise.
2919
2920 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
2921
2922 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2923
2924 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
2925
2926 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2927 %ld with %jd and cast to intmax_t.
2928 (do_test_length_zero): Likewise.
2929
2930 2015-07-10 Roland McGrath <roland@hack.frob.com>
2931
2932 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2933
2934 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
2935
2936 * sysdeps/tile/libm-test-ulps: Regenerated.
2937
2938 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2939 Comment out the whole function, not just its body.
2940
2941 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2942
2943 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2944 locks.
2945
2946 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2947
2948 2015-07-10 Torvald Riegel <triegel@redhat.com>
2949
2950 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2951 (sem_assume_only_signals_cause_futex_EINTR): Remove.
2952
2953 2015-07-10 Torvald Riegel <triegel@redhat.com>
2954
2955 * sysdeps/nptl/futex-internal.h: New file.
2956 * sysdeps/nacl/futex-internal.h: New file.
2957 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2958 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2959 error checking.
2960 (setxid_unmark_thread): Likewise.
2961 (__nptl_setxid): Likewise.
2962 (__wait_lookup_done): Likewise.
2963 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2964 * nptl/nptl-init.c (sighandler_setxid): Likewise.
2965 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2966 * nptl/pthread_once.c (clear_once_control): Likewise.
2967 (__pthread_once_slow): Likewise.
2968 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2969 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2970 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2971 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2972 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2973 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2974 Likewise.
2975 (__pthread_rwlock_rdlock): Likewise.
2976 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2977 Likewise.
2978 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2979 Likewise.
2980 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2981 Likewise.
2982 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2983 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2984 Likewise.
2985 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2986 __ASSUME_PRIVATE_FUTEX check.
2987 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2988 Check that shared futexes are supported.
2989 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2990 wrappers with error checking.
2991 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2992 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2993 * nptl/pthread_barrierattr_setpshared.c
2994 (pthread_barrierattr_setpshared): Check that shared futexes are
2995 supported.
2996 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2997 Likewise.
2998 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2999 Likewise.
3000 * nptl/sem_init.c (futex_private_if_supported): Remove.
3001 (__new_sem_init): Adapt and check that shared futexes are supported.
3002 * nptl/sem_open.c (sem_open): Likewise.
3003 * nptl/sem_post.c (futex_wake): Remove.
3004 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3005 (do_futex_wait): Use futex wrappers with error checking.
3006 * nptl/sem_wait.c: Include lowlevellock.h.
3007 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3008 Use futex_supports_pshared.
3009 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3010 Use futex wrappers with error checking.
3011 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3012 Likewise.
3013 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3014 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3015 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3016 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3017 (futex_wake): Likewise.
3018 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3019 (do_futex_wait): Use futex wrappers with error checking.
3020 (__new_sem_wait_slow): Update EINTR handling.
3021 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3022
3023 2015-07-09 Martin Sebor <msebor@redhat.com>
3024
3025 [BZ #18435]
3026 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3027 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3028 * nptl/Makefile (test-xfail-tst-once5): Define.
3029
3030 2015-07-09 Roland McGrath <roland@hack.frob.com>
3031
3032 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3033 * elf/dl-minimal.c: For readability, reorder some definitions and
3034 introduce more page breaks. Include <stdio.h>.
3035 (__libc_fatal): New function.
3036
3037 * include/unistd.h: Add rtld_hidden_proto for _exit.
3038 * posix/_exit.c: Add rtld_hidden_def.
3039 * sysdeps/mach/hurd/_exit.c: Likewise.
3040 * sysdeps/nacl/_exit.c: Likewise.
3041 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3042 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3043
3044 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3045
3046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3047 bndmov encoding with zero displacement.
3048
3049 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3050 H.J. Lu <hongjiu.lu@intel.com>
3051
3052 [BZ #18134]
3053 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3054 * sysdeps/i386/configure: Regenerated.
3055 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3056 (_dl_runtime_profile): Save and restore Intel MPX return bound
3057 registers when calling _dl_call_pltexit. Add
3058 PRESERVE_BND_REGS_PREFIX before return.
3059 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3060 (LRV_BND1_OFFSET): Likewise.
3061 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3062 lrv_bnd1.
3063 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3064 typo in bndmov encoding.
3065 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3066 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3067 branch instructions to preserve bounds.
3068
3069 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3070
3071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3072 [GLIBC_2.22]: Add fmemopen.
3073
3074 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3075
3076 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3077 returns an error, also try to use host port from __mach_host_self for
3078 the __vm_wire call.
3079 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3080
3081 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3082
3083 [BZ #18400]
3084 [BZ #18648]
3085 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3086 Fix pr_uid and pr_gid members.
3087 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3088 definition to elf_greg_t.
3089
3090 2015-07-08 Roland McGrath <roland@hack.frob.com>
3091
3092 [BZ #18383]
3093 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3094 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3095 * sysdeps/arm/configure: Regenerated.
3096 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3097 (test-xfail-tst-tlsalign-static): Variable removed.
3098
3099 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3100 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3101 rather than explicit 'ln -s'.
3102
3103 * resolv/rpc/netdb.h: New file.
3104 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3105
3106 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3107
3108 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3109 length buffers.
3110 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3111 test-skeleton.c.
3112
3113 [BZ #6544]
3114 [BZ #11216]
3115 [BZ #12836]
3116 [BZ #13151]
3117 [BZ #13152]
3118 [BZ #14292]
3119 * include/stdio.h (fmemopen): Remove hidden prototype.
3120 (__fmemopen): Add new hidden prototype.
3121 * libio/Makefile: Add oldfmemopen object.
3122 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3123 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3124 compliance.
3125 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3126 symbol compatibility.
3127 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3128 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3129 fmemopen.
3130 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3131 on append and read mode.
3132 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3133 fmemopen.
3134 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3135 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3136 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3137 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3138 Likewise.
3139 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3140 [GLIBC_2.22]: Likewise.
3141 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3142 Likewise.
3143 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3144 Likewise.
3145 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3146 [GLIBC_2.22]: Likewise.
3147 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3148 [GLIBC_2.22]: Likewise.
3149 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3150 [GLIBC_2.22]: Likewise.
3151 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3152 [GLIBC_2.22]: Likewise.
3153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3154 [GLIBC_2.22]: Likewise.
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3156 [GLIBC_2.22]: Likewise.
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3158 [GLIBC_2.22]: Likewise.
3159 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3160 Likewise.
3161 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3162 Likewise.
3163 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3164 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3165 [GLIBC_2.22]: Likewise.
3166 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3167 [GLIBC_2.22]: Likewise.
3168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3169 [GLIBC_2.22]: Likewise.
3170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3171 [GLIBC_2.22]: Likewise.
3172 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3173 Likewise.
3174 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3175 Likewise.
3176 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3177 Likewise.
3178 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3179 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3180
3181 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3182
3183 [BZ #18643]
3184 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3185 IPV6_PATHMTU, and IPV6_DONTFRAG.
3186
3187 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3188
3189 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3190 and _IO_UNBUFFERED.
3191 * libio/oldfileops.c: Likewise.
3192 * libio/wfileops.c: Likewise.
3193
3194 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3195
3196 * nscd/selinux.c: Delete selinux/flask.h include.
3197
3198 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3199
3200 [BZ #18641]
3201 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3202 (putpwent): Likewise.
3203 (getpwnam): Likewise.
3204 (getpwent_r): Likewise.
3205 (getpwuid_r): Likewise.
3206 (getpwnam_r): Likewise.
3207 (fgetpwent_r): Likewise.
3208
3209 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3210
3211 [BZ #18557]
3212 * inet/rcmd.c (__validuser2_sa): Check user first to
3213 short-circuit host check.
3214
3215 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3216 Mikhail Ilin <m.ilin@samsung.com>
3217
3218 [BZ #17833]
3219 * elf/Makefile (tests): Add tst-nodelete.
3220 (modules-names): Add tst-nodelete-uniquemod.
3221 (tst-nodelete-uniquemod.so-no-z-defs): New.
3222 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3223 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3224 ($(objpfx)tst-nodelete): Likewise.
3225 ($(objpfx)tst-nodelete.out): Likewise.
3226 (LDFLAGS-tst-nodelete): Likewise.
3227 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3228 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3229 implement forced object deletion.
3230 (_dl_close): Pass false to _dl_close_worker.
3231 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3232 * elf/tst-nodelete.cc: New file.
3233 * elf/tst-nodeletelib.cc: Likewise.
3234 * elf/tst-znodeletelib.cc: Likewise.
3235 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3236
3237 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3238
3239 [BZ #18508]
3240 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3241 Depend on $(libdl).
3242 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3243 is not called infinitely times.
3244 (backtrace_helper): New function.
3245 (trace_arg): New struct.
3246 (st1): Enlarge stack size.
3247 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3248 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3249 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3250 Likewise.
3251
3252 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3253
3254 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3255
3256 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3257
3258 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3259 Include sys/types.h instead of bits/types.h.
3260 Remove inclusion of bits/wordsize.h.
3261
3262 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3263
3264 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3265 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3266 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3267 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3268 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3269 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3270
3271 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3272
3273 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3274 link-defines.sym.
3275 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3276 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3277 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3278 and LR_SIZE.
3279 * sysdeps/i386/link-defines.sym: New file.
3280
3281 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3282
3283 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3284 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3285 ($(objpfx)tst-audit3): New rule.
3286 ($(objpfx)tst-audit3.out): Likewise.
3287 * sysdeps/i386/tst-audit3.c: New file.
3288 * sysdeps/i386/tst-audit3.h: Likewise.
3289 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3290 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3291
3292 2015-07-07 Torvald Riegel <triegel@redhat.com>
3293
3294 [BZ #18633]
3295 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3296 pointer in C code.
3297 (__strcat_c): Likewise.
3298 (__strcat_g): Likewise.
3299
3300 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3301
3302 [BZ #18592]
3303 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3304
3305 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3306
3307 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3308 New function. (__ieee754_sqrtf): New function.
3309 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3310 New function.
3311 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3312 New function.
3313
3314 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3315
3316 * sysdeps/ieee754/support.c: Remove unused file.
3317
3318 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3319
3320 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3321 registers instead of d ones so the layout is kernel abi compatible.
3322 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3323 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3324 Likewise.
3325
3326 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3327
3328 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3329
3330 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3331
3332 [BZ #18619]
3333 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3334 and return argument in case of subnormal argument.
3335
3336 2015-07-01 Martin Sebor <msebor@redhat.com>
3337
3338 [BZ #18435]
3339 * nptl/Makefile: Add tst-once5.cc.
3340 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3341 Remove macro redefinitions.
3342 * nptl/tst-once5.cc: New test.
3343
3344 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3345
3346 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3347
3348 * sysdeps/arm/libm-test-ulps: Regenerated.
3349
3350 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3351 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3352
3353 2015-06-30 Torvald Riegel <triegel@redhat.com>
3354
3355 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3356 lll_lock_wait_private and lll_futex_wake probes.
3357
3358 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3359 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3360 Likewise.
3361 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3362 atomic_spin_nop.
3363 * sysdeps/x86_64/bits/atomic.h: Likewise.
3364 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3365 to atomic_spin_nop and move ...
3366 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3367 ... here and ...
3368 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3369 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3370 atomic_spin_nop instead of BUSY_WAIT_NOP.
3371 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3372 Likewise.
3373 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3374 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3375 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3376 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3377 instead of atomic_delay.
3378
3379 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3380
3381 [BZ #18613]
3382 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3383 X_ADJ not X when adjusting exponent.
3384 (__ieee754_gamma_r): Do intermediate computations in
3385 round-to-nearest then adjust overflowing and underflowing results
3386 as needed.
3387 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3388 of X_ADJ not X when adjusting exponent.
3389 (__ieee754_gammaf_r): Do intermediate computations in
3390 round-to-nearest then adjust overflowing and underflowing results
3391 as needed.
3392 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3393 log of X_ADJ not X when adjusting exponent.
3394 (__ieee754_gammal_r): Do intermediate computations in
3395 round-to-nearest then adjust overflowing and underflowing results
3396 as needed. Use 1.0L not 1.0f as numerator of division.
3397 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3398 log of X_ADJ not X when adjusting exponent.
3399 (__ieee754_gammal_r): Do intermediate computations in
3400 round-to-nearest then adjust overflowing and underflowing results
3401 as needed. Use 1.0L not 1.0f as numerator of division.
3402 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3403 of X_ADJ not X when adjusting exponent.
3404 (__ieee754_gammal_r): Do intermediate computations in
3405 round-to-nearest then adjust overflowing and underflowing results
3406 as needed. Use 1.0L not 1.0f as numerator of division.
3407 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3408 to auto-libm-test-in.
3409 (tgamma_test): Use ALL_RM_TEST.
3410 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3411 tests of tgamma with spurious-overflow.
3412 * math/auto-libm-test-out: Regenerated.
3413 * math/gen-libm-have-vector-test.sh: Do not check for START.
3414 * sysdeps/i386/fpu/libm-test-ulps: Update.
3415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3416
3417 [BZ #18612]
3418 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3419 arguments, just return 0.5 times the argument, with underflow
3420 forced as needed.
3421 * math/auto-libm-test-in: Add more tests of j1.
3422 * math/auto-libm-test-out: Regenerated.
3423
3424 [BZ #16559]
3425 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3426 (__ieee754_j1): Force underflow exception for small results.
3427 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3428 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3429 (__ieee754_j1f): Force underflow exception for small results.
3430 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3431 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3433 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3434 (__ieee754_j1l): Force underflow exception for small results.
3435 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3436 * math/auto-libm-test-in: Add more tests of j1 and jn.
3437 * math/auto-libm-test-out: Regenerated.
3438
3439 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3440 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3441 (PF_MPLS): Likewise.
3442 (AF_IB): Likewise.
3443 (AF_MPLS): Likewise.
3444 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3445 value and macro.
3446 (MS_RMT_MASK): Include MS_LAZYTIME.
3447
3448 2015-06-26 Mel Gorman <mgorman@suse.de>
3449
3450 [BZ #18502]
3451 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3452 already minimal.
3453
3454 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3455
3456 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3457 (DT_MIPS_NUM): Update.
3458 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3459 DT_MIPS_RLD_MAP_REL.
3460
3461 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3462
3463 [BZ #16559]
3464 [BZ #18602]
3465 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3466 round-to-nearest internally then recompute results that
3467 underflowed to zero in the original rounding mode.
3468 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3469 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3470 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3471 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3472 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3473 * sysdeps/i386/fpu/libm-test-ulps: Update.
3474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3475
3476 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3477
3478 * NEWS: Fixed description of link with vector math library.
3479
3480 2015-06-25 Andreas Schwab <schwab@suse.de>
3481
3482 [BZ #18549]
3483 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3484 * libio/test-fmemopen.c (do_test): Add test for it.
3485
3486 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3487
3488 [BZ #17841]
3489 * Makeconfig (no-pie-ldflag): New.
3490 (+link): Set to $(+link-pie) if default to PIE.
3491 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3492 * config.make.in (build-pie-default): New.
3493 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3494 is default. AC_SUBST.
3495 * configure: Regenerated.
3496 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3497
3498 2015-06-24 Roland McGrath <roland@hack.frob.com>
3499
3500 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3501 to 'unsigned int'.
3502
3503 * resolv/gai_misc.h (struct waitlist): Change type of field
3504 counterp to 'volatile unsigned int *'.
3505 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3506 FUTEXADDR and OLDVAL.
3507 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3508 Give local variable TOTAL type 'volatile unsigned int'.
3509 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3510 * resolv/gai_suspend.c (gai_suspend):
3511 Give local variable CNTR type 'unsigned int'.
3512
3513 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3514 counterp to 'volatile unsigned int *'.
3515 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3516 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3517 (aio_suspend): Give local variable CNTR type 'unsigned int'.
3518 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3519 Give local variable TOTAL type 'volatile unsigned int'.
3520 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3521
3522 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3523
3524 [BZ #18383]
3525 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3526 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
3527 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3528 comment for i386/x86-64.
3529 (test-xfail-tst-tlsalign-extern-static): Removed.
3530
3531 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3532
3533 * math/test-double.h: New file.
3534 * math/test-float.h: Likewise.
3535 * math/test-ldouble.h: Likewise.
3536 * math/test-math-inline.h: Likewise.
3537 * math/test-math-no-inline.h: Likewise.
3538 * math/test-math-scalar.h: Likewise.
3539 * math/test-math-vector.h: Likewise.
3540 * math/test-vec-loop.h: Remove file. Contents moved into
3541 test-math-vector.h.
3542 * math/libm-test.inc (MATHCONST): Do not document macro.
3543 * math/test-double.c: Include test-double.h, test-math-no-inline.h
3544 and test-math-scalar.h.
3545 (FUNC): Remove macro.
3546 (FUNC_TEST): Likewise.
3547 (FLOAT): Likewise.
3548 (MATHCONST): Likewise.
3549 (PRINTF_EXPR): Likewise.
3550 (PRINTF_XEXPR): Likewise.
3551 (PRINTF_NEXPR): Likewise.
3552 (TEST_DOUBLE): Likewise.
3553 (TEST_MATHVEC): Likewise.
3554 (__NO_MATH_INLINES): Likewise.
3555 * math/test-float.c: Include test-float.h, test-math-no-inline.h
3556 and test-math-scalar.h.
3557 (FUNC): Remove macro.
3558 (FUNC_TEST): Likewise.
3559 (FLOAT): Likewise.
3560 (MATHCONST): Likewise.
3561 (PRINTF_EXPR): Likewise.
3562 (PRINTF_XEXPR): Likewise.
3563 (PRINTF_NEXPR): Likewise.
3564 (TEST_FLOAT): Likewise.
3565 (TEST_MATHVEC): Likewise.
3566 (__NO_MATH_INLINES): Likewise.
3567 * math/test-idouble.c: Include test-double.h, test-math-inline.h
3568 and test-math-scalar.h.
3569 (FUNC): Remove macro.
3570 (FUNC_TEST): Likewise.
3571 (FLOAT): Likewise.
3572 (MATHCONST): Likewise.
3573 (PRINTF_EXPR): Likewise.
3574 (PRINTF_XEXPR): Likewise.
3575 (PRINTF_NEXPR): Likewise.
3576 (TEST_DOUBLE): Likewise.
3577 (TEST_MATHVEC): Likewise.
3578 (TEST_INLINE): Likewise.
3579 (__NO_MATH_INLINES): Likewise.
3580 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3581 test-math-scalar.h.
3582 (FUNC): Remove macro.
3583 (FUNC_TEST): Likewise.
3584 (FLOAT): Likewise.
3585 (MATHCONST): Likewise.
3586 (PRINTF_EXPR): Likewise.
3587 (PRINTF_XEXPR): Likewise.
3588 (PRINTF_NEXPR): Likewise.
3589 (TEST_FLOAT): Likewise.
3590 (TEST_MATHVEC): Likewise.
3591 (TEST_INLINE): Likewise.
3592 (__NO_MATH_INLINES): Likewise.
3593 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3594 and test-math-scalar.h.
3595 (FUNC): Remove macro.
3596 (FUNC_TEST): Likewise.
3597 (FLOAT): Likewise.
3598 (MATHCONST): Likewise.
3599 (PRINTF_EXPR): Likewise.
3600 (PRINTF_XEXPR): Likewise.
3601 (PRINTF_NEXPR): Likewise.
3602 (TEST_LDOUBLE): Likewise.
3603 (TEST_MATHVEC): Likewise.
3604 (TEST_INLINE): Likewise.
3605 (__NO_MATH_INLINES): Likewise.
3606 * math/test-ldouble.c: Include test-ldouble.h,
3607 test-math-no-inline.h and test-math-scalar.h.
3608 (FUNC): Remove macro.
3609 (FUNC_TEST): Likewise.
3610 (FLOAT): Likewise.
3611 (MATHCONST): Likewise.
3612 (PRINTF_EXPR): Likewise.
3613 (PRINTF_XEXPR): Likewise.
3614 (PRINTF_NEXPR): Likewise.
3615 (TEST_LDOUBLE): Likewise.
3616 (TEST_MATHVEC): Likewise.
3617 (__NO_MATH_INLINES): Likewise.
3618 * math/test-double-vlen2.h: Include test-double.h,
3619 test-math-no-inline.h and test-math-vector.h.
3620 (FLOAT): Remove macro.
3621 (FUNC): Likewise.
3622 (MATHCONST): Likewise.
3623 (PRINTF_EXPR): Likewise.
3624 (PRINTF_XEXPR): Likewise.
3625 (PRINTF_NEXPR): Likewise.
3626 (TEST_DOUBLE): Likewise.
3627 (TEST_MATHVEC): Likewise.
3628 (__NO_MATH_INLINES): Likewise.
3629 (CNCT): Likewise.
3630 (CONCAT): Likewise.
3631 (WRAPPER_NAME): Likewise.
3632 (WRAPPER_DECL): Likewise.
3633 (WRAPPER_DECL_ff): Likewise.
3634 (WRAPPER_DECL_fFF): Likewise.
3635 (VECTOR_WRAPPER): Likewise.
3636 (VECTOR_WRAPPER_ff): Likewise.
3637 (VECTOR_WRAPPER_fFF): Likewise.
3638 (VEC_LEN): New macro.
3639 * math/test-double-vlen4.h: Include test-double.h,
3640 test-math-no-inline.h and test-math-vector.h.
3641 (FLOAT): Remove macro.
3642 (FUNC): Likewise.
3643 (MATHCONST): Likewise.
3644 (PRINTF_EXPR): Likewise.
3645 (PRINTF_XEXPR): Likewise.
3646 (PRINTF_NEXPR): Likewise.
3647 (TEST_DOUBLE): Likewise.
3648 (TEST_MATHVEC): Likewise.
3649 (__NO_MATH_INLINES): Likewise.
3650 (CNCT): Likewise.
3651 (CONCAT): Likewise.
3652 (WRAPPER_NAME): Likewise.
3653 (WRAPPER_DECL): Likewise.
3654 (WRAPPER_DECL_ff): Likewise.
3655 (WRAPPER_DECL_fFF): Likewise.
3656 (VECTOR_WRAPPER): Likewise.
3657 (VECTOR_WRAPPER_ff): Likewise.
3658 (VECTOR_WRAPPER_fFF): Likewise.
3659 (VEC_LEN): New macro.
3660 * math/test-double-vlen8.h: Include test-double.h,
3661 test-math-no-inline.h and test-math-vector.h.
3662 (FLOAT): Remove macro.
3663 (FUNC): Likewise.
3664 (MATHCONST): Likewise.
3665 (PRINTF_EXPR): Likewise.
3666 (PRINTF_XEXPR): Likewise.
3667 (PRINTF_NEXPR): Likewise.
3668 (TEST_DOUBLE): Likewise.
3669 (TEST_MATHVEC): Likewise.
3670 (__NO_MATH_INLINES): Likewise.
3671 (CNCT): Likewise.
3672 (CONCAT): Likewise.
3673 (WRAPPER_NAME): Likewise.
3674 (WRAPPER_DECL): Likewise.
3675 (WRAPPER_DECL_ff): Likewise.
3676 (WRAPPER_DECL_fFF): Likewise.
3677 (VECTOR_WRAPPER): Likewise.
3678 (VECTOR_WRAPPER_ff): Likewise.
3679 (VECTOR_WRAPPER_fFF): Likewise.
3680 (VEC_LEN): New macro.
3681 * math/test-float-vlen4.h: Include test-float.h,
3682 test-math-no-inline.h and test-math-vector.h.
3683 (FLOAT): Remove macro.
3684 (FUNC): Likewise.
3685 (MATHCONST): Likewise.
3686 (PRINTF_EXPR): Likewise.
3687 (PRINTF_XEXPR): Likewise.
3688 (PRINTF_NEXPR): Likewise.
3689 (TEST_FLOAT): Likewise.
3690 (TEST_MATHVEC): Likewise.
3691 (__NO_MATH_INLINES): Likewise.
3692 (CNCT): Likewise.
3693 (CONCAT): Likewise.
3694 (WRAPPER_NAME): Likewise.
3695 (WRAPPER_DECL): Likewise.
3696 (WRAPPER_DECL_ff): Likewise.
3697 (WRAPPER_DECL_fFF): Likewise.
3698 (VECTOR_WRAPPER): Likewise.
3699 (VECTOR_WRAPPER_ff): Likewise.
3700 (VECTOR_WRAPPER_fFF): Likewise.
3701 (VEC_LEN): New macro.
3702 * math/test-float-vlen8.h: Include test-float.h,
3703 test-math-no-inline.h and test-math-vector.h.
3704 (FLOAT): Remove macro.
3705 (FUNC): Likewise.
3706 (MATHCONST): Likewise.
3707 (PRINTF_EXPR): Likewise.
3708 (PRINTF_XEXPR): Likewise.
3709 (PRINTF_NEXPR): Likewise.
3710 (TEST_FLOAT): Likewise.
3711 (TEST_MATHVEC): Likewise.
3712 (__NO_MATH_INLINES): Likewise.
3713 (CNCT): Likewise.
3714 (CONCAT): Likewise.
3715 (WRAPPER_NAME): Likewise.
3716 (WRAPPER_DECL): Likewise.
3717 (WRAPPER_DECL_ff): Likewise.
3718 (WRAPPER_DECL_fFF): Likewise.
3719 (VECTOR_WRAPPER): Likewise.
3720 (VECTOR_WRAPPER_ff): Likewise.
3721 (VECTOR_WRAPPER_fFF): Likewise.
3722 (VEC_LEN): New macro.
3723 * math/test-float-vlen16.h: Include test-float.h,
3724 test-math-no-inline.h and test-math-vector.h.
3725 (FLOAT): Remove macro.
3726 (FUNC): Likewise.
3727 (MATHCONST): Likewise.
3728 (PRINTF_EXPR): Likewise.
3729 (PRINTF_XEXPR): Likewise.
3730 (PRINTF_NEXPR): Likewise.
3731 (TEST_FLOAT): Likewise.
3732 (TEST_MATHVEC): Likewise.
3733 (__NO_MATH_INLINES): Likewise.
3734 (CNCT): Likewise.
3735 (CONCAT): Likewise.
3736 (WRAPPER_NAME): Likewise.
3737 (WRAPPER_DECL): Likewise.
3738 (WRAPPER_DECL_ff): Likewise.
3739 (WRAPPER_DECL_fFF): Likewise.
3740 (VECTOR_WRAPPER): Likewise.
3741 (VECTOR_WRAPPER_ff): Likewise.
3742 (VECTOR_WRAPPER_fFF): Likewise.
3743 (VEC_LEN): New macro.
3744 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3745 test-vec-loop.h.
3746 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3747 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3748 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3749 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3750 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3751 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3752 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3753
3754 2015-06-24 Roland McGrath <roland@hack.frob.com>
3755
3756 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3757 (__getlogin_r): ... this.
3758
3759 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3760
3761 [BZ #18594]
3762 * math/s_ccosh.c (__ccosh): Compare with least normal value
3763 instead of comparing class with FP_SUBNORMAL.
3764 * math/s_ccoshf.c (__ccoshf): Likewise.
3765 * math/s_ccoshl.c (__ccoshl): Likewise.
3766 * math/s_cexp.c (__cexp): Likewise.
3767 * math/s_cexpf.c (__cexpf): Likewise.
3768 * math/s_cexpl.c (__cexpl): Likewise.
3769 * math/s_csin.c (__csin): Likewise.
3770 * math/s_csinf.c (__csinf): Likewise.
3771 * math/s_csinh.c (__csinh): Likewise.
3772 * math/s_csinhf.c (__csinhf): Likewise.
3773 * math/s_csinhl.c (__csinhl): Likewise.
3774 * math/s_csinl.c (__csinl): Likewise.
3775 * math/s_ctan.c (__ctan): Likewise.
3776 * math/s_ctanf.c (__ctanf): Likewise.
3777 * math/s_ctanh.c (__ctanh): Likewise.
3778 * math/s_ctanhf.c (__ctanhf): Likewise.
3779 * math/s_ctanhl.c (__ctanhl): Likewise.
3780 * math/s_ctanl.c (__ctanl): Likewise.
3781 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3782 csin, csinh, ctan and ctanh.
3783 * math/auto-libm-test-out: Regenerated.
3784 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3785 * sysdeps/i386/fpu/libm-test-ulps: Update.
3786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3787
3788 2015-06-24 Roland McGrath <roland@hack.frob.com>
3789
3790 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3791 return value is wrong, print the expected value too.
3792
3793 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3794
3795 [BZ #18585]
3796 * elf/readlib.c (is_gdb_python_file): New.
3797 (process_file): Don't issue errors on filenames with -gdb.py
3798 suffix.
3799
3800 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3801
3802 * math/auto-libm-test-in: Add more tests of csin and csinh.
3803 * math/auto-libm-test-out: Regenerated.
3804 * math/libm-test.inc (csin_test_data): Remove tests moved to
3805 auto-libm-test-in.
3806 (csinh_test_data): Likewise.
3807
3808 [BZ #18593]
3809 * math/s_csin.c (__csin): Negate before rather than after possibly
3810 overflowing multiplication.
3811 * math/s_csinf.c (__csinf): Likewise.
3812 * math/s_csinh.c (__csinh): Likewise.
3813 * math/s_csinhf.c (__csinhf): Likewise.
3814 * math/s_csinhl.c (__csinhl): Likewise.
3815 * math/s_csinl.c (__csinl): Likewise.
3816 * math/auto-libm-test-in: Add some tests of csin and csinh.
3817 * math/auto-libm-test-out: Regenerated.
3818 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3819 (csinh_test_data): Likewise.
3820 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3821
3822 [BZ #18586]
3823 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3824 underflow exception for small results.
3825
3826 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
3827
3828 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3829 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3830 variable and included header.
3831 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3832 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3833 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3834 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3835 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3836 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3837 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3838 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3839 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3840 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3841 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3842 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3843 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3844 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3845 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3846 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3847
3848 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3849
3850 [BZ #16526]
3851 [BZ #16538]
3852 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3853 (__sin): Force underflow exception for arguments with small
3854 absolute value.
3855 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3856 (__kernel_sinf): Force underflow exception for arguments with
3857 small absolute value.
3858 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3859 (__kernel_sincosl): Force underflow exception for arguments with
3860 small absolute value.
3861 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3862 (__kernel_sinl): Force underflow exception for arguments with
3863 small absolute value.
3864 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3865 (__kernel_sincosl): Force underflow exception for arguments with
3866 small absolute value.
3867 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3868 (__kernel_sinl): Force underflow exception for arguments with
3869 small absolute value.
3870 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3871 (__kernel_sinl): Force underflow exception for arguments with
3872 small absolute value.
3873 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3874 (__kernel_sinf): Force underflow exception for arguments with
3875 small absolute value.
3876 * math/auto-libm-test-in: Add more tests of sin and sincos.
3877 * math/auto-libm-test-out: Regenerated.
3878
3879 [BZ #18245]
3880 [BZ #18583]
3881 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3882 (__kernel_standard_l): Use feholdexcept and fesetenv around
3883 conversion to double instead of special-casing overflow and
3884 underflow.
3885 * math/libm-test.inc (fmod_test_data): Add more tests.
3886 (remainder_test_data): Likewise.
3887 (sqrt_test_data): Likewise.
3888
3889 2015-06-23 Torvald Riegel <triegel@redhat.com>
3890
3891 [BZ #17403]
3892 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3893 atomic_read_barrier, atomic_write_barrier): Define.
3894 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3895 atomic_read_barrier, atomic_write_barrier): Define.
3896
3897 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3898
3899 * math/Makefile [$(PERL) != no]
3900 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3901 dependency on libm-test.stmp below the inclusion of Rules.
3902
3903 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
3904
3905 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3906 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3907 and included header.
3908 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3909 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3910 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3911 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3912 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3913 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3914 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3915 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3916 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3917 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3918 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3919 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3920 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3921 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3922 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3923 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3924 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3925 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3926 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3927
3928 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3929
3930 [BZ #18371]
3931 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3932 intermediate but not final result might underflow.
3933 * math/s_csqrtf.c (__csqrtf): Likewise.
3934 * math/s_csqrtl.c (__csqrtl): Likewise.
3935 * math/auto-libm-test-in: Add more tests of csqrt.
3936 * math/auto-libm-test-out: Regenerated.
3937 * sysdeps/i386/fpu/libm-test-ulps: Update.
3938
3939 [BZ #18219]
3940 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3941 threshold on absolute value of exponent for which scaling is used.
3942 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3943 * math/auto-libm-test-in: Add more tests of exp2.
3944 * math/auto-libm-test-out: Regenerated.
3945
3946 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
3947
3948 [BZ #17977]
3949 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3950 when initializing interface list, based on the bug analysis
3951 and the patch proposed by Eric Newton.
3952 * resolv/tst-res_hconf_reorder.c: New test.
3953 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3954 tst-res_hconf_reorder.
3955 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3956 and $(shared-thread-library).
3957 (tst-res_hconf_reorder-ENV): New variable.
3958
3959 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3960 in comment.
3961
3962 2015-06-22 Joseph Myers <joseph@codesourcery.com>
3963
3964 [BZ #16353]
3965 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3966 (__expm1): Force underflow exception for arguments with small
3967 absolute value.
3968 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3969 (__expm1f): Force underflow exception for arguments with small
3970 absolute value.
3971 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3972 (__expm1): Force underflow exception for arguments with small
3973 absolute value.
3974 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3975 (__expm1f): Force underflow exception for arguments with small
3976 absolute value.
3977 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3978 Check for small arguments before calling __expm1.
3979 * math/auto-libm-test-in: Do not mark underflow exceptions as
3980 possibly missing for bug 16353.
3981 * math/auto-libm-test-out: Regenerated.
3982
3983 2015-06-22 Andreas Schwab <schwab@suse.de>
3984
3985 [BZ #18513]
3986 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3987 PTR queries.
3988
3989 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
3990
3991 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3992
3993 * string/strcoll_l.c: Remove unused struct element idxnow.
3994
3995 2015-06-21 Joseph Myers <joseph@codesourcery.com>
3996
3997 [BZ #18569]
3998 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3999 underflow and return argument in case of subnormal argument.
4000 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4001 Likewise.
4002 * math/auto-libm-test-in: Add more tests of expm1.
4003 * math/auto-libm-test-out: Regenerated.
4004
4005 [BZ #16361]
4006 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4007 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4008 tiny results.
4009 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4010 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4011 tiny results.
4012 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4013 mark underflow exceptions as possibly missing for bug 16361.
4014 * math/auto-libm-test-out: Regenerated.
4015
4016 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4017
4018 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4019 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4020 Remove variable.
4021 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4022 (test-xfail-XOPEN2K8/utmpx.h/conform).
4023
4024 * conform/conformtest.pl ($xerrors): New variable.
4025 (note_error): New function.
4026 (compiletest): New argument $xfail. Use not_error.
4027 (runtest): Likewise.
4028 (top level): Handle xfail- lines. Update calls to compiletest and
4029 runtest. Handle xfail- and optional- in headers listed with
4030 allow-header.
4031 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4032 (O_EXEC): Likewise.
4033 (O_SEARCH): Likewise.
4034 * conform/data/stropts.h-data (ioctl): Likewise.
4035 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4036 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4037 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4038 (msghdr.msg_controllen): Likewise.
4039 (cmsghdr.cmsg_len): Likewise.
4040 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4041 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4042 variable.
4043 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4044 (test-xfail-XPG4/stropts.h/conform): Likewise.
4045 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4046 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4047 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4048 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4049 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4050 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4051 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4052 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4053 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4054 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4055 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4056 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4057 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4058 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4059 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4060 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4061 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4062 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4063 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4064
4065 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4066
4067 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4068 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4069 definitions for proper unfolding of __MATHDECL_VEC.
4070
4071 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4072
4073 * benchtests/bench-strcoll.c:
4074 Include string.h.
4075 (main): Remove unused variable res.
4076
4077 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4078
4079 * timezone/Makefile (%/UTC %/Universal):
4080 Generate test-result files for UTC and Universal.
4081
4082 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4083
4084 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4085
4086 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4087
4088 [BZ #16350]
4089 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4090 for arguments with small absolute value.
4091 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4092 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4093 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4094 (__asinh): Force underflow exception for arguments with small
4095 absolute value.
4096 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4097 (__asinhf): Force underflow exception for arguments with small
4098 absolute value.
4099 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4100 (__asinhl): Force underflow exception for arguments with small
4101 absolute value.
4102 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4103 (__asinhl): Force underflow exception for arguments with small
4104 absolute value.
4105 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4106 (__asinhl): Force underflow exception for arguments with small
4107 absolute value.
4108 * math/auto-libm-test-in: Do not mark underflow exceptions as
4109 possibly missing for bug 16350.
4110 * math/auto-libm-test-out: Regenerated.
4111
4112 * include/bits/ipc.h: Remove file.
4113 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4114 variable.
4115 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4116 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4117 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4118 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4119 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4120 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4121 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4122 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4123 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4124
4125 * math/auto-libm-test-in: Remove spurious underflow allowance for
4126 tests of cexp.
4127 * math/auto-libm-test-out: Regenerated.
4128
4129 [BZ #18558]
4130 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4131 unconditional definition.
4132 (MCAST_BLOCK_SOURCE): Likewise.
4133 (MCAST_UNBLOCK_SOURCE): Likewise.
4134 (MCAST_LEAVE_GROUP): Likewise.
4135 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4136 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4137 (MCAST_MSFILTER): Likewise.
4138 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4139 Remove variable.
4140 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4141 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4142 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4143 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4144 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4145
4146 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4147
4148 * NEWS: Mention addition of x86_64 vector sincosf.
4149 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4150 * math/test-float-vlen4.h: Likewise.
4151 * math/test-float-vlen8.h: Likewise.
4152 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4153 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4154 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4155 * sysdeps/x86_64/fpu/Versions: New versions added.
4156 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4157 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4158 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4159 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4160 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4161 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4162 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4163 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4164 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4165 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4166 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4167 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4168 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4169 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4170 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4171 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4172 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4173 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4174 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4175 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4176 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4177 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4178 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4179 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4180
4181 * NEWS: Mention addition of x86_64 vector sincos.
4182 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4183 * math/math.h (__MATHDECL_VEC): New macro.
4184 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4185 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4186 declaration under condition.
4187 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4188 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4189 TEST_VEC_LOOP change.
4190 * math/test-double-vlen4.h: Likewise.
4191 * math/test-double-vlen8.h: Likewise.
4192 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4193 * math/test-float-vlen4.h: Likewise.
4194 * math/test-float-vlen8.h: Likewise.
4195 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4196 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4197 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4198 * sysdeps/x86_64/fpu/Versions: New versions added.
4199 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4200 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4201 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4202 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4203 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4204 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4205 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4206 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4207 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4208 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4209 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4210 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4211 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4212 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4213 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4214 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4215 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4216 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4217 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4218 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4219 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4220 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4221 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4222 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4223
4224 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4225 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4226 redirections for powf.
4227 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4228 * sysdeps/x86_64/fpu/Versions: New versions added.
4229 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4230 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4231 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4232 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4233 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4234 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4235 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4236 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4237 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4238 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4239 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4240 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4241 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4242 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4243 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4244 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4245 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4246 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4247 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4248 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4249 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4250 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4251 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4252 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4253 * math/test-float-vlen16.h: Fixed 2 argument macro.
4254 * math/test-float-vlen4.h: Likewise.
4255 * math/test-float-vlen8.h: Likewise.
4256 * NEWS: Mention addition of x86_64 vector powf.
4257
4258 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4259
4260 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4261 and redefine.
4262 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4263 and redefine.
4264 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4265 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4267
4268 [BZ #18553]
4269 * resource/getpriority.c (getpriority): Rename to __getpriority
4270 and define as weak alias of __getpriority.
4271 * resource/setpriority.c (setpriority): Rename to __setpriority
4272 and define as weak alias of __setpriority.
4273 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4274 __getpriority and define as weak alias of __getpriority.
4275 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4276 __setpriority and define as weak alias of __setpriority.
4277 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4278 strong name.
4279 (setpriority): Use __setpriority as strong name.
4280 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4281 __getpriority and define as weak alias of __getpriority.
4282 * include/sys/resource.h (__getpriority): Declare. Use
4283 libc_hidden_proto.
4284 (__setpriority): Likewise.
4285 (getpriority): Don't use libc_hidden_proto.
4286 (setpriority): Likewise.
4287 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4288 getpriority. Call __setpriority instead of setpriority.
4289 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4290 Remove variable.
4291
4292 [BZ #18547]
4293 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4294 as weak alias of __getttynam. Use prototype function definition.
4295 Call __setttyent, __getttyent and __endttyent instead of
4296 setttyent, getttyent and endttyent.
4297 (getttyent): Rename to __getttyent and define as weak alias of
4298 __getttyent. Call __setttyent instead of setttyent. Call
4299 __fgets_unlocked instead of fgets_unlocked.
4300 (setttyent): Rename to __setttyent and define as weak alias of
4301 __setttyent.
4302 (endttyent): Rename to __endttyent and define as weak alias of
4303 __endttyent.
4304 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4305 (__setttyent): Likewise.
4306 (__endttyent): Likewise.
4307 (getttyent): Don't use libc_hidden_proto.
4308 (setttyent): Likewise.
4309 (endttyent): Likewise.
4310 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4311 __endttyent instead of setttyent, getttyent and endttyent.
4312 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4313 Remove variable.
4314
4315 [BZ #18546]
4316 * socket/recv.c (__recv): Use libc_hidden_def.
4317 * socket/socket.c (__socket): Likewise.
4318 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4319 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4320 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4321 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4322 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4323 libc_hidden_def.
4324 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4325 libc_hidden_weak.
4326 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4327 Use libc_hidden_proto.
4328 (__recv): Likewise.
4329 * socket/Versions (libc): Export __recv and __socket at version
4330 GLIBC_PRIVATE.
4331 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4332 instead of recv.
4333 (init_mq_netlink): Call __socket instead of socket.
4334 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4335 Remove variable.
4336
4337 [BZ #18545]
4338 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4339 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4340 hidden_weak.
4341 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4342 define as alias of __mq_timedsend. Use hidden_weak.
4343 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4344 __mq_timedsend as strong name.
4345 (mq_timedreceive): Use __mq_timedreceive as strong name.
4346 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4347 (__mq_timedreceive): Likewise.
4348 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4349 __mq_timedreceive instead of mq_timedreceive.
4350 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4351 instead of mq_timedsend.
4352 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4353 Remove variable.
4354
4355 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4356 hidden_def and hidden_weak instead of libc_hidden_def and
4357 libc_hidden_weak.
4358 (top level): Refer to hidden_def in comment.
4359 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4360 macro. Use it instead of libc_hidden_def.
4361 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4362 specify __GI_* name explicitly.
4363 (mq_timedreceive): Likewise.
4364 (mq_setattr): Likewise.
4365
4366 [BZ #18544]
4367 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4368 __pthread_barrier_init and define as weak alias of
4369 __pthread_barrier_init.
4370 * sysdeps/sparc/nptl/pthread_barrier_init.c
4371 (pthread_barrier_init): Likewise.
4372 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4373 __pthread_barrier_wait and define as weak alias of
4374 __pthread_barrier_wait.
4375 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4376 (pthread_barrier_wait): Likewise.
4377 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4378 (pthread_barrier_wait): Likewise.
4379 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4380 (pthread_barrier_wait): Likewise.
4381 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4382 (pthread_barrier_wait): Likewise.
4383 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4384 __pthread_barrier_wait at version GLIBC_PRIVATE.
4385 * include/pthread.h (__pthread_barrier_init): Declare.
4386 (__pthread_barrier_wait): Likewise.
4387 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4388 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4389 (helper_thread): Likewise.
4390 (init_mq_netlink): Call __pthread_barrier_init instead of
4391 pthread_barrier_init.
4392
4393 [BZ #18542]
4394 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4395 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4396 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4397 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4398 vswscanf.
4399 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4400 Remove variable.
4401
4402 [BZ #18540]
4403 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4404 strong alias of _IO_fflush. Use libc_hidden_def.
4405 * libio/iofflush_u.c (fflush_unlocked): Rename to
4406 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4407 Use libc_hidden_weak.
4408 * include/stdio.h (__fflush_unlocked): Declare. Use
4409 libc_hidden_proto.
4410 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4411 fflush_unlocked.
4412 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4413 Remove variable.
4414
4415 [BZ #18539]
4416 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4417 define as weak alias of __addseverity.
4418 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4419 Remove variable.
4420 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4421 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4422 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4423
4424 [BZ #18536]
4425 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4426 (__tfind): Likewise.
4427 (__tdelete): Likewise.
4428 (__twalk): Likewise.
4429 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4430 __twalk to GLIBC_PRIVATE.
4431 * include/search.h (__tsearch): Use libc_hidden_proto.
4432 (__tfind): Likewise.
4433 (__tdelete): Likewise.
4434 (__twalk): Likewise.
4435 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4436 Call __tdelete instead of tdelete.
4437 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4438 tfind. Call __tsearch instead of tsearch.
4439 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4440 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4441 Remove variable.
4442 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4443
4444 [BZ #18534]
4445 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4446 (dprintf): Define as a weak alias of __dprintf, not a strong
4447 alias.
4448 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4449 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4450 dprintf.
4451 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4452 Remove variable.
4453 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4454 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4455
4456 [BZ #18533]
4457 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4458 not a strong alias.
4459 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4460 Remove variable.
4461
4462 [BZ #18532]
4463 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4464 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4465 (in6addr_loopback): Rename to __in6addr_loopback and define as
4466 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4467 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4468 libc_hidden_proto.
4469 (__in6addr_any): Likewise.
4470 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4471 in6addr_any.
4472 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4473 variable.
4474 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4475
4476 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4477
4478 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4479 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4480 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4481 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4482 redirections for pow.
4483 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4484 * sysdeps/x86_64/fpu/Versions: New versions added.
4485 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4486 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4487 build of SSE, AVX2 and AVX512 IFUNC versions.
4488 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4489 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4490 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4491 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4492 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4493 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4494 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4495 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4496 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4497 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4498 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4499 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4500 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4501 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4502 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4503 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4504 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4505 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4506 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4507 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4508 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4509 * NEWS: Mention addition of x86_64 vector pow.
4510
4511 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4512 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4513 redirections for expf.
4514 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4515 * sysdeps/x86_64/fpu/Versions: New versions added.
4516 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4517 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4518 build of SSE, AVX2 and AVX512 IFUNC versions.
4519 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4520 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4521 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4522 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4523 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4524 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4525 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4526 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4527 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4528 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4529 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4530 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4531 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4532 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4533 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4534 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4535 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4536 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4537 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4538 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4539 * NEWS: Mention addition of x86_64 vector expf.
4540
4541 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4542 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4543 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4544 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4545 redirections for exp.
4546 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4547 * sysdeps/x86_64/fpu/Versions: New versions added.
4548 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4549 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4550 build of SSE, AVX2 and AVX512 IFUNC versions.
4551 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4552 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4553 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4554 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4555 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4556 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4557 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4558 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4559 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4560 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4561 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4562 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4563 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4564 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4565 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4566 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4567 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4568 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4569 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4570 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4571 * NEWS: Mention addition of x86_64 vector exp.
4572
4573 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4574 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4575 redirections for logf.
4576 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4577 * sysdeps/x86_64/fpu/Versions: New versions added.
4578 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4579 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4580 build of SSE, AVX2 and AVX512 IFUNC versions.
4581 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4582 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4583 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4584 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4585 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4586 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4587 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4588 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4589 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4590 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4591 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4592 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4593 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4594 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4595 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4596 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4597 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4598 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4599 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4600 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4601 * NEWS: Mention addition of x86_64 vector logf.
4602
4603 * bits/libm-simd-decl-stubs.h: Added stubs for log.
4604 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4605 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4606 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4607 redirections for log.
4608 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4609 * sysdeps/x86_64/fpu/Versions: New versions added.
4610 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4611 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4612 build of SSE, AVX2 and AVX512 IFUNC versions.
4613 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4614 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4615 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4616 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4617 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4618 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4619 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4620 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4621 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4622 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4623 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4624 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4625 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4626 test.
4627 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4628 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4629 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4630 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4631 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4632 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4633 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4634 * NEWS: Mention addition of x86_64 vector log.
4635
4636 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
4637
4638 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4639 cfi_adjust_cfa_offset argument.
4640 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4641 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4642
4643 [BZ #18034]
4644 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4645 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4646 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4647 ordering using ldar.
4648 (_dl_tlsdesc_dynamic): Likewise.
4649 (_dl_tlsdesc_return_lazy): Likewise.
4650 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4651 relaxed atomics instead of volatile and synchronize with release store.
4652 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4653 volatile.
4654 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4655
4656 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
4657
4658 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4659 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4660 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4661 * sysdeps/x86_64/fpu/Versions: New versions added.
4662 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4663 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4664 build of SSE, AVX2 and AVX512 IFUNC versions.
4665 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4666 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4667 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4668 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4669 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4670 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4671 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4672 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4673 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4674 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4675 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4676 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4677 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4678 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4679 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4680 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4681 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4682 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4683 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4684 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4685 * NEWS: Mention addition of x86_64 vector sinf.
4686
4687 2015-06-14 Joseph Myers <joseph@codesourcery.com>
4688
4689 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4690 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4691 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4692 Remove variable.
4693 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4694 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4695
4696 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4697
4698 [BZ #18530]
4699 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4700 strong alias of _IO_fputs. Use libc_hidden_def.
4701 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4702 and define as weak alias of __fputs_unlocked. Use
4703 libc_hidden_weak.
4704 * include/stdio.h (__fputs_unlocked): Declare. Use
4705 libc_hidden_proto.
4706 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4707 fputs_unlocked.
4708
4709 [BZ #18529]
4710 * resolv/netdb.h [__USE_POSIX]: Change condition to
4711 [__USE_XOPEN2K].
4712 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4713 not expect.
4714 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4715 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4716 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4717 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4718 [XPG4 || UNIX98] (AI_ALL): Likewise.
4719 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4720 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4721 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4722 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4723 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4724 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4725 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4726 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4727 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4728 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4729 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4730 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4731 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4732 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4733 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4734 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4735 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4736 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4737 [XPG4 || UNIX98] (gai_strerror): Likewise.
4738 [XPG4 || UNIX98] (getaddrinfo): Likewise.
4739 [XPG4 || UNIX98] (getnameinfo): Likewise.
4740
4741 [BZ #18528]
4742 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4743 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4744 __USE_XOPEN2K8].
4745 (getgrent): Likewise.
4746 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4747 expect.
4748 [XPG3 || POSIX2008] (endgrent): Likewise.
4749 [XPG3] (setgrent): Likewise.
4750 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4751 variable.
4752 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4753
4754 [BZ #18527]
4755 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4756 define as weak alias of __getlogin_r. Use libc_hidden_weak.
4757 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4758 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4759 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4760 * include/unistd.h (__getlogin_r): Declare. Use
4761 libc_hidden_proto.
4762 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4763 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4764 variable.
4765 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4766 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4767 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4768
4769 2015-06-12 Martin Sebor <msebor@redhat.com>
4770
4771 [BZ #18512]
4772 * Makerules (check-install-supported): New target.
4773 (install): Add check-install-supported as a dependency.
4774 * manual/install.texi (Installing the C Library): Document
4775 that overriding prefix and exec_prefix is not supported.
4776 Mention DESTDIR.
4777 * INSTALL: Regenerate from the above.
4778
4779 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4780
4781 [BZ #18519]
4782 * posix/Versions (libc): Export __libc_pread at version
4783 GLIBC_PRIVATE.
4784 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4785 instead of pread.
4786 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4787 variable.
4788
4789 [BZ #18522]
4790 * misc/efgcvt_r.c
4791 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4792 (cvt_symbol): Use weak_alias instead of strong_alias.
4793 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4794 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4795 Remove variable.
4796 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4797 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4798
4799 [BZ #18520]
4800 * inet/herrno.c (h_errno): Rename to __h_errno.
4801 (__libc_h_errno): Define as alias of __h_errno not h_errno.
4802 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4803 to __h_errno instead of h_errno.
4804 * nptl/herrno.c (h_errno): Rename to __h_errno.
4805 (__h_errno_location): Refer to __h_errno not h_errno.
4806 * resolv/Versions (h_errno): Rename to __h_errno.
4807 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4808 Remove variable.
4809 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4810
4811 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
4812
4813 * configure.ac: More strict check for AVX512 assembler support.
4814 * configure: Regenerated.
4815
4816 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4817 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4818 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4819 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4820 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4821 * sysdeps/x86_64/fpu/Versions: New versions added.
4822 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4823 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4824 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4825 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4826 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4827 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4828 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4829 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4830 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4831 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4832 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4833 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4834 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4835 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4836 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4837 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4838 test.
4839 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4840 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4841 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4842 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4843 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4844 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4845 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4846 * NEWS: Mention addition of x86_64 vector sin.
4847
4848 2015-06-11 Florian Weimer <fweimer@redhat.com>
4849
4850 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4851 comment.
4852
4853 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
4854
4855 [BZ #18479]
4856 * nptl/pt-interp.c: New file.
4857 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4858 Add pt-interp.
4859 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4860 $(common-objpfx)runtime-linker.h.
4861
4862 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
4863
4864 * Makeconfig (+interp): Remove unused variable.
4865 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4866 only. Depend on $(common-objpfx)runtime-linker.h instead of
4867 $(elf-objpfx)runtime-linker.h.
4868 ($(elf-objpfx)runtime-linker.h): Rename to
4869 $(common-objpfx)runtime-linker.h and move ...
4870 * Makerules [$(build-shared) = yes]: ... here.
4871 * elf/interp.c: Include <runtime-linker.h> instead of
4872 <elf/runtime-linker.h>.
4873
4874 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4875
4876 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4877 (__gettimeofday_syscall): Remove vsyscall fallback.
4878 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4879 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4880 Add syscall fallback function.
4881 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4882 if vDSO is not present.
4883 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4884 fallback function.
4885 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4886 present.
4887 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4888 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4889
4890 2015-06-09 Joseph Myers <joseph@codesourcery.com>
4891
4892 [BZ #18497]
4893 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4894 of wcscmp.
4895 (wcscmp): Define as weak alias of WCSCMP.
4896 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4897 wcscoll.
4898 (USE_HIDDEN_DEF): Define.
4899 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4900 __wcscoll. Don't use libc_hidden_weak.
4901 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4902 wcscmp.
4903 * sysdeps/i386/i686/multiarch/wcscmp-c.c
4904 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4905 __GI_wcscmp.
4906 (weak_alias): Undefine and redefine.
4907 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4908 __wcscmp and define as weak alias of __wcscmp.
4909 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4910 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
4911 (__wcscoll): Likewise.
4912 (wcscmp): Don't use libc_hidden_proto.
4913 (wcscoll): Likewise.
4914 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4915 wcscoll.
4916 * posix/regexec.c (check_node_accept_bytes): Likewise.
4917 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4918 variable.
4919 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4920 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4921
4922 [BZ #18507]
4923 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4924 __fstatvfs and define as weak alias of __fstatvfs. Use
4925 libc_hidden_weak.
4926 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4927 and define as weak alias of __statvfs. Use libc_hidden_weak.
4928 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4929 Define as alias of __fstatvfs, not fstatvfs.
4930 (fstatvfs64): Likewise.
4931 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4932 Define as alias of __statvfs, not statvfs.
4933 (statvfs64): Likewise.
4934 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4935 Remove variable.
4936
4937 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4938
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4940 (HAVE_GETCPU_VSYSCALL): Define.
4941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4942 (HAVE_GETCPU_VSYSCALL): Likewise.
4943 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4944 * sysdeps/unix/sysv/linux/sched_getcpu.c
4945 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4946 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4947 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4948 prototype.
4949 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4950 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4951 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4952 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4953 Define.
4954 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4955 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4956 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4957 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4958
4959 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
4960
4961 * sysdeps/x86_64/fpu/Makefile: New file.
4962 * sysdeps/x86_64/fpu/Versions: New file.
4963 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4964 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4965 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4966 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4967 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4968 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4969 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4970 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4971 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4972 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4973 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4974 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4975 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4976 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4977 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4978 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4979 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4980 * sysdeps/x86_64/configure.ac: Options for libmvec build.
4981 * sysdeps/x86_64/configure: Regenerated.
4982 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4983 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4984 * manual/install.texi (Configuring and compiling): Document
4985 --disable-mathvec.
4986 * INSTALL: Regenerated.
4987 * NEWS: Mention addition of libmvec and x86_64 vector cos.
4988
4989 * math/Makefile: Added rules for vector tests.
4990 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4991 declaration under condition.
4992 * math/test-double-vlen2.h: New file.
4993 * math/test-double-vlen4.h: New file.
4994 * math/test-double-vlen8.h: New file.
4995 * math/test-vec-loop.h: Added initialization macro.
4996 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4997 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4998 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4999 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5000 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5001 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5002 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5003 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5004 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5005 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5006 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5007
5008 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5009 * sysdeps/x86_64/fpu/Versions: New versions added.
5010 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5011 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5012 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5013 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5014 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5015 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5016 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5017 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5018 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5019 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5020 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5021 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5022 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5023 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5024 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5025 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5026 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5027 * NEWS: Mention addition of x86_64 vector cosf.
5028
5029 * math/Makefile: Added CFLAGS for new tests.
5030 * math/test-float-vlen16.h: New file.
5031 * math/test-float-vlen4.h: New file.
5032 * math/test-float-vlen8.h: New file.
5033 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5034 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5035 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5036 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5037 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5038 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5039 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5040 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5041 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5042 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5043 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5044
5045 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5046
5047 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5048 * locale/programs/ld-ctype.c: Likewise.
5049
5050 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5051
5052 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5053 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5054 bit_ZMM16_31_state): New macro.
5055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5056 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5057
5058 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5059
5060 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5061
5062 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5063
5064 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5065
5066 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5067
5068 [BZ #18498]
5069 * libio/memstream.c (open_memstream): Rename to __open_memstream
5070 and define as weak alias of __open_memstream.
5071 * include/stdio.h (__open_memstream): Declare. Use
5072 libc_hidden_proto.
5073 (open_memstream): Don't use libc_hidden_proto.
5074 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5075 open_memstream.
5076 * posix/getopt.c (_getopt_internal_r): Likewise.
5077 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5078 variable.
5079 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5080 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5081 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5082
5083 [BZ #18496]
5084 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5085 instead of wcrtomb.
5086
5087 [BZ #18483]
5088 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5089 [__USE_XOPEN2K8]. Remove redundant #endif.
5090 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5091 Remove redundant #if.
5092 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5093 Remove variable.
5094 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5095 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5096
5097 [BZ #18495]
5098 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5099 (__iswlower): Likewise.
5100 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5101 (__iswlower): Likewise.
5102 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5103 instead of towlower.
5104 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5105 instead of iswlower. Call __towupper instead of towupper.
5106 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5107 instead of iswalnum.
5108
5109 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5110
5111 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5112 errors to stderr.
5113
5114 2015-06-05 Florian Weimer <fweimer@redhat.com>
5115
5116 [BZ #15661]
5117 [BZ #17322]
5118 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5119 Check for overflow properly. Check for O_APPEND. Ignore large
5120 file system block sizes. Add comments about problems.
5121 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5122 * manual/filesys.texi (Storage Allocation): New node.
5123
5124 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5125
5126 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5127 cancellable syscalls.
5128 (SYS_ify): Add guard to no redefine it.
5129 (INLINE_SYSCALL): Likewise.
5130 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5131 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5132 SYSCALL_CANCEL instead.
5133 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5134 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5135 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5136 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5137 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5138 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5139 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5140 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5141 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5142 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5143 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5144 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5145 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5146 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5147 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5148 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5149 Likewise.
5150 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5151 (__libc_pread64): Likewise.
5152 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5153 (__libc_preadv): Likewise.
5154 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5155 (__libc_readv64): Likewise.
5156 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5157 (__libc_pwrite): Likewise.
5158 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5159 (__libc_pwrite64): Likewise.
5160 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5161 (__libc_pwritev): Likewise.
5162 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5163 (__libc_pwritev64): Likewise.
5164 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5165 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5166 (sync_file_range): Likewise.
5167 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5168 Likewise.
5169 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5170 Likewise.
5171 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5172 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5173 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5174 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5175 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5176 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5177 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5178 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5180 Likewise.
5181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5182 (__libc_read64): Likewise.
5183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5184 Likewise.
5185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5186 Likewise.
5187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5188 Likewise.
5189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5190 Likewise.
5191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5192 (__libc_pread64): Likewise.
5193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5194 Likewise.
5195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5196 (__libc_pwrite64): Likewise.
5197 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5198 (sync_file_range): Likewise.
5199 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5200 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5201 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5202 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5203 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5204 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5205 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5206 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5207 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5208 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5209 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5210 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5211 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5212 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5213 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5214 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5215 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5216 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5217 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5218 Likewise.
5219 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5220 Likewise.
5221 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5222 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5223 Likewise.
5224 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5225 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5226 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5227 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5228 Likewise.
5229 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5230 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5231 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5232 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5233 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5234
5235 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5236
5237 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5238 Include dl-vdso.
5239 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5240 Use VDSO routines for gettimeofday, clock_gettime if
5241 available.
5242 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5243 Declare VDSO symbols.
5244 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5245 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5246 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5247 * sysdeps/unix/sysv/linux/arm/Versions: Add
5248 __vdso_clock_gettime.
5249
5250 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5251
5252 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5253 be an inline implementation regardless of library is built within.
5254 (open_not_cancel_2): Likewise.
5255 (__read_nocancel): Likewise.
5256 (__write_nocancel): Likewise.
5257 (openat_not_cancel): Likewise.
5258 (openat_not_cancel_3): Likewise.
5259 (openat64_not_cancel): Likewise.
5260 (openat64_not_cancel_3): Likewise.
5261 (__close_nocancel): Likewise.
5262 (pause_not_cancel): Likewise.
5263 (nanosleep_not_cancel): Likewise.
5264 (sigsuspend_not_cancel): Likewise.
5265
5266 2015-06-04 Torvald Riegel <triegel@redhat.com>
5267
5268 [BZ #14958]
5269 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5270 wake-up.
5271 (__pthread_rwlock_rdlock_slow): Likewise.
5272 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5273 Likewise.
5274 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5275 Likewise.
5276 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5277 * nptl/tst-rwlock16.c: New file.
5278 * nptl/Makefile (tests): Add new test.
5279
5280 2015-06-04 Torvald Riegel <triegel@redhat.com>
5281
5282 [BZ #18324]
5283 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5284 missing wake-up of readers.
5285 * nptl/tst-rwlock15.c: New file.
5286 * nptl/Makefile (tests): Add new test.
5287
5288 2015-06-03 Roland McGrath <roland@hack.frob.com>
5289
5290 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5291 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5292 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5293 and __nacl_supply_interface_rtld.
5294 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5295 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5296 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5297 Add __nacl_supply_interface_rtld.
5298 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5299
5300 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5301
5302 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5303 isfinite.
5304 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5305 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5306
5307 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5308
5309 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5310 __signbit* with standard C99 macros.
5311 * math/e_exp10l.c: Likewise.
5312 * math/e_exp2l.c: Likewise.
5313 * math/e_scalb.c: Likewise.
5314 * math/e_scalbf.c: Likewise.
5315 * math/e_scalbl.c: Likewise.
5316 * math/s_ldexp.c: Likewise.
5317 * math/s_ldexpf.c: Likewise.
5318 * math/s_ldexpl.c: Likewise.
5319 * math/w_atan2.c: Likewise.
5320 * math/w_atan2f.c: Likewise.
5321 * math/w_atan2l.c: Likewise.
5322 * math/w_cosh.c: Likewise.
5323 * math/w_coshf.c: Likewise.
5324 * math/w_coshl.c: Likewise.
5325 * math/w_exp10.c: Likewise.
5326 * math/w_exp10f.c: Likewise.
5327 * math/w_exp10l.c: Likewise.
5328 * math/w_exp2.c: Likewise.
5329 * math/w_exp2f.c: Likewise.
5330 * math/w_exp2l.c: Likewise.
5331 * math/w_fmod.c: Likewise.
5332 * math/w_fmodf.c: Likewise.
5333 * math/w_fmodl.c: Likewise.
5334 * math/w_hypot.c: Likewise.
5335 * math/w_hypotf.c: Likewise.
5336 * math/w_hypotl.c: Likewise.
5337 * math/w_jnl.c: Likewise.
5338 * math/w_lgamma.c: Likewise.
5339 * math/w_lgamma_r.c: Likewise.
5340 * math/w_lgammaf.c: Likewise.
5341 * math/w_lgammaf_r.c: Likewise.
5342 * math/w_lgammal.c: Likewise.
5343 * math/w_lgammal_r.c: Likewise.
5344 * math/w_pow.c: Likewise.
5345 * math/w_powf.c: Likewise.
5346 * math/w_powl.c: Likewise.
5347 * math/w_remainder.c: Likewise.
5348 * math/w_remainderf.c: Likewise.
5349 * math/w_remainderl.c: Likewise.
5350 * math/w_scalb.c: Likewise.
5351 * math/w_scalbf.c: Likewise.
5352 * math/w_scalbl.c: Likewise.
5353 * math/w_scalbln.c: Likewise.
5354 * math/w_scalblnf.c: Likewise.
5355 * math/w_scalblnl.c: Likewise.
5356 * math/w_sinh.c: Likewise.
5357 * math/w_sinhf.c: Likewise.
5358 * math/w_sinhl.c: Likewise.
5359 * math/w_tgamma.c: Likewise.
5360 * math/w_tgammaf.c: Likewise.
5361 * math/w_tgammal.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5369 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5370 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5371 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5372 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5373 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5374 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5375 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5376 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5377 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5378 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5379 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5380 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5381 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5382 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5383 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5384 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5385 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5386 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5387 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5388 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5389 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5390 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5391 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5392 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5393 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5394 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5395 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5396 * stdio-common/printf_fp.c: Likewise.
5397 * stdio-common/printf_fphex.c: Likewise.
5398 * stdio-common/printf_size.c: Likewise.
5399
5400 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5401
5402 [BZ #18470]
5403 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5404 strnlen.
5405 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5406 Remove variable.
5407 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5408 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5409 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5410 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5411 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5412 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5413 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5414 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5415 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5416 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5417
5418 [BZ #18468]
5419 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5420 weak alias of __wmemchr. Use libc_hidden_weak.
5421 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5422 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5423 instead of wmemchr.
5424
5425 2015-06-02 Roland McGrath <roland@hack.frob.com>
5426
5427 [BZ #18383]
5428 * elf/tst-tlsalign-extern.c: New file.
5429 * elf/tst-tlsalign-extern-static.c: New file.
5430 * elf/tst-tlsalign-vars.c: New file.
5431 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5432 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5433 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5434 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5435 (test-xfail-tst-tlsalign-extern-static): New variable.
5436
5437 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5438
5439 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5440 Use variable name _sc_err instead of err.
5441 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5442 instead of ret.
5443 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5444 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5445 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5446 (INLINE_SYSCALL): Likewise.
5447
5448 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5449 * include/string.h (__strnlen): Use libc_hidden_proto.
5450 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5451 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5452 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5453 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5454 (libc_hidden_def): Undefine and redefine.
5455 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5456 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5457 __GI_strnlen.
5458 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5459 libc_hidden_def.
5460 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5461
5462 [BZ #18469]
5463 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5464 weak alias of __towlower. Use libc_hidden_weak.
5465 (towupper): Rename to __towupper and define as weak alias of
5466 __towupper. Use libc_hidden_weak.
5467 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5468 (__towupper): Likewise.
5469 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5470 __towlower instead of towlower.
5471
5472 2015-06-02 Roland McGrath <roland@hack.frob.com>
5473
5474 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5475 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5476
5477 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5478
5479 * sysdeps/aarch64/libm-test-ulps: Update.
5480
5481 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5482
5483 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5484 Define.
5485 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5486 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5487 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5488 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5489 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5490 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5491 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5492
5493 2015-06-01 Martin Sebor <msebor@redhat.com>
5494
5495 [BZ #18116]
5496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5497 (__setcontext): Use extended four-operand version of mtsf whenever
5498 possible.
5499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5500 (__novec_swapcontext): Likewise.
5501
5502 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5503
5504 * benchtests/scripts/compare_bench.py: New file.
5505 * benchtests/scripts/import_bench.py (mean): New function.
5506 (split_list): Likewise.
5507 (do_for_all_timings): Likewise.
5508 (compress_timings): Likewise.
5509
5510 * benchtests/scripts/import_bench.py: New file.
5511 * benchtests/scripts/validate_benchout.py: Import import_bench
5512 instead of jsonschema.
5513 (validate_bench): Remove function.
5514 (main): Use import_bench.
5515
5516 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
5517
5518 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5519 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5520
5521 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5522
5523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5524
5525 2015-05-28 Roland McGrath <roland@hack.frob.com>
5526
5527 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5528 set THREAD_SELF->tid to a magic value and futex-wake it.
5529 Pass its address to the thread_exit system call.
5530 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5531 bit is clear.
5532 * sysdeps/nacl/lowlevellock.h: New file.
5533 * sysdeps/nacl/lll_timedwait_tid.c: New file.
5534
5535 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5536 Add TIMEOUT to current time, don't subtract it.
5537
5538 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
5539
5540 [BZ #2981]
5541 [BZ #18422]
5542 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5543 ($(objpfx)tst-audit2.out): Also depend on
5544 $(objpfx)tst-auditmod9b.so.
5545 * elf/tst-audit2.c: Include <dlfcn.h>.
5546 (calloc_called): New.
5547 (calloc): Allow to be called more than once.
5548 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5549
5550 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
5551
5552 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5553 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5554
5555 2015-05-27 Marko Myllynen <myllynen@redhat.com>
5556
5557 * stdlib/monetary.h: Fix comment.
5558
5559 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
5560
5561 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5562 Avoid using variables in #defines that might cause shadowing.
5563 (INTERNAL_VSYSCALL_CALL): Likewise.
5564
5565 2015-05-26 Roland McGrath <roland@hack.frob.com>
5566
5567 * sysdeps/nacl/lll_timedlock_wait.c: New file.
5568
5569 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5570 * nptl/lll_timedlock_wait.c: ... to this new file.
5571 * nptl/Makefile (libpthread-routines): Add it.
5572 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5573 * nptl/lll_timedwait_tid.c: ... to this new file.
5574 * nptl/Makefile (libpthread-routines): Add it.
5575 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5576 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5577 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5578 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5579 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5580 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5581 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5582 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5583 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5584 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5585
5586 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5587
5588 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5589 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5590 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5591 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5592 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5593 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5594 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5595 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5596 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5597 * sysdeps/unix/sysv/linux/tile/sysdep.h
5598 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5599 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5600 using vDSO syscall macro.
5601
5602 2015-05-26 Andriy Rysin <arysin@gmail.com>
5603
5604 [BZ #17293]
5605 * uk_UA: Fix sorting order for Ukrainian locale
5606
5607 2015-05-26 Marko Myllynen <myllynen@redhat.com>
5608
5609 * stdlib/monetary.h: Fix comment.
5610
5611 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5612
5613 [BZ #18234]
5614 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5615 st_mtim and st_ctim members.
5616 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5617 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5618 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5619 (struct stat64): Likewise.
5620 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5621 (struct stat64): Likewise.
5622 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5623 (struct stat64): Likewise.
5624
5625 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5626
5627 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5628 Define and include sysdep-vdso.h.
5629 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5630 Likewise.
5631 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5632 Likewise.
5633 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5634 Define with VDSO_SYMBOL and use PTR_MANGLE.
5635 (__vdso_clock_gettime): Likewise.
5636 (__vdso_clock_getres): Likewise.
5637 (_libc_vdso_platform_setup): Likewise.
5638 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5639 Likewise.
5640 (_libc_vdso_platform_setup): Likewise.
5641 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5642 Likewise.
5643 (__vdso_clock_gettime): Likewise.
5644 (__vdso_clock_getres): Likewise.
5645 (__vdso_get_tbfreq): Likewise.
5646 (__vdso_getcpu): Likewise.
5647 (__vdso_time): Likewise.
5648 (__vdso_sigtramp_rt64): Likewise.
5649 (__vdso_signtramp32): Likewise.
5650 (__vdso_sigtramp_rt32): Likewise.
5651 (_libc_vdso_platform_setup): Likewise.
5652 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5653 Likewise.
5654 (__vdso_clock_gettime): Likewise.
5655 (__vdso_clock_getres): Likewise.
5656 (_libc_vdso_platform_setup): Likewise.
5657 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5658 Likewise.
5659 (__vdso_clock_gettime): Likewise.
5660 (_libc_vdso_platform_setup): Likewise.
5661 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5662 Likewise.
5663 (__vdso_getcpu): Likewise.
5664 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5665 Use VDSO_SYMBOL macro to define.
5666 (__vdso_clock_gettime): Likewise.
5667 (__vdso_clock_getres): Likewise.
5668 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5669 Likewise.
5670 (__vdso_clock_gettime): Likewise.
5671 (__vdso_clock_getres): Likewise.
5672 (__vdso_get_tbfreq): Likewise.
5673 (__vdso_getcpu): Likewise.
5674 (__vdso_time): Likewise.
5675 (__vdso_sigtramp_rt64): Likewise.
5676 (__vdso_signtramp32): Likewise.
5677 (__vdso_sigtramp_rt32): Likewise.
5678 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5679 Likewise.
5680 (__vdso_clock_gettime): Likewise.
5681 (__vdso_clock_getres): Likewise.
5682 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5683 Likewise.
5684 (__vdso_clock_gettime): Likewise.
5685 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5686 Likewise.
5687 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
5688 macro.
5689 (INTERNAL_VSYSCALL): Likewise.
5690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5691 Remove macro.
5692 (INTERNAL_VSYSCALL): Likewise.
5693 (INTERNAL_VSYSCALL_NCS): Likewise.
5694 (INTERNAL_VSYSCALL_CALL): New macro.
5695 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5696 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5697 Likewise.
5698 (INTERNAL_VSYSCALL): Likewise.
5699 (INTERNAL_VSYSCALL_NCS): Likewise.
5700 (INTERNAL_VSYSCALL_CALL): New macro.
5701 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5703 (INLINE_VSYSCALL): Remove macro.
5704 (INTERNAL_VSYSCALL): Remove macro.
5705 (INTERNAL_VSYSCALL_NCS): Remove macro.
5706 (INTERNAL_VSYSCALL_CALL): New macro.
5707 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5708 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5709 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5710 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5711 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5713 (INLINE_VSYSCALL): Remove macro.
5714 (INTERNAL_VSYSCALL): Likewise.
5715 (INTERNAL_VSYSCALL_NCS): Likewise.
5716 (INTERNAL_VSYSCALL_CALL): New macro.
5717 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5718 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5719 PTR_DEMANGLE on vDSO pointer.
5720 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5721 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5722 macro.
5723 (INTERNAL_SYSCALL): Likewise.
5724 (INTERNAL_VSYSCALL_NCS): Remove macro.
5725 (INTERNAL_VSYSCALL_CALL): New macro.
5726 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5727 Remove macro.
5728 (INTERNAL_VSYSCALL): Likewise.
5729 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5730 sysdep-vdso.h instead of libc-vdso.h.
5731 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5732 definition.
5733 (INLINE_VSYSCALL): Likewise.
5734 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5735 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5736 definition.
5737 (INLINE_VSYSCALL): Likewise.
5738 (INTERNAL_VSYSCALL): Likewise.
5739 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5740 * sysdeps/unix/sysv/linux/timespec_get.c
5741 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5742 (timespec_get): Use ANSI prototype.
5743 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5744 and definition for Linux.
5745
5746 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
5747
5748 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5749 * include/libc-symbols.h: libmvec_hidden_* macro series added.
5750
5751 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
5752
5753 [BZ #2981]
5754 [BZ #18410]
5755 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5756 for missing DT_PLTRELSZ.
5757
5758 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
5759
5760 Remove obsolete aliases that broke 'locale -a'
5761 [BZ #18412]
5762 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5763 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5764 breaking some applications that use 'locale -a' output.
5765 Change the encoding of this file from Latin-1 to ASCII to avoid
5766 other potential problems with people grepping this file.
5767
5768 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5769
5770 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5771 -fasynchronous-unwind-tables.
5772 (CFLAGS-sendto.c): Likewise.
5773 (CFLAGS-sendmsg.c): Likewise.
5774 (CFLAGS-connect.c): Likewise.
5775 (CFLAGS-recvmsg.c): Likewise.
5776 (CFLAGS-recvfrom.c): Likewise.
5777 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5778 (SOCKETCALL): New macro: non-cancellable socketcall.
5779 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5780 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5781 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5782 * sysdeps/unix/sysv/linux/accept.c: New file.
5783 * sysdeps/unix/sysv/linux/bind.c: Likewise.
5784 * sysdeps/unix/sysv/linux/connect.c: Likewise.
5785 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5786 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5787 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5788 * sysdeps/unix/sysv/linux/listen.c: Likewise.
5789 * sysdeps/unix/sysv/linux/recv.c: Likewise.
5790 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5791 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5792 * sysdeps/unix/sysv/linux/send.c: Likewise.
5793 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5794 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5795 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5796 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5797 * sysdeps/unix/sysv/linux/socket.c: Likewise.
5798 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5799 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5800 prototype.
5801 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5802 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5803 instead of __internal_xxx function.
5804 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5805 prototype.
5806 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5807 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5808 instead of __internal_xxx function.
5809 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5810 prototype.
5811 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5812 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5813 instead of __internal_xxx function.
5814 * sysdeps/unix/sysv/linux/accept.S: Remove file.
5815 * sysdeps/unix/sysv/linux/bind.S: Likewise.
5816 * sysdeps/unix/sysv/linux/connect.S: Likewise.
5817 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5818 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5819 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5820 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5821 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5822 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5823 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5824 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5825 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5826 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5827 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5828 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5829 * sysdeps/unix/sysv/linux/listen.S: Likewise.
5830 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5831 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5832 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5833 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5836 * sysdeps/unix/sysv/linux/recv.S: Likewise.
5837 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5838 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5839 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5840 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5841 * sysdeps/unix/sysv/linux/send.S: Likewise.
5842 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5843 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5844 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5845 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5846 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5847 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5848 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5849 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5850 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5851 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5852 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5853 socketcall is implemented in GLIBC.
5854
5855 2015-05-22 Joseph Myers <joseph@codesourcery.com>
5856
5857 * soft-fp/fmadf4.c: Include <libc-internal.h>.
5858 (__fma): Ignore uninitialized warnings around packing.
5859 * soft-fp/fmasf4.c: Include <libc-internal.h>.
5860 (__fmaf): Ignore uninitialized warnings around packing.
5861 * soft-fp/fmatf4.c: Include <libc-internal.h>.
5862 (__fmal): Ignore uninitialized warnings around packing.
5863
5864 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5865 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5866 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5867 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5868
5869 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5870 switch statement into default case.
5871 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5872
5873 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5874 a conditional in forcing "inexact".
5875 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5876 Likewise.
5877
5878 2015-05-22 Roland McGrath <roland@hack.frob.com>
5879
5880 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5881 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5882 for each INTERNAL_SYSCALL use.
5883
5884 2015-05-22 Joseph Myers <joseph@codesourcery.com>
5885
5886 [BZ #438]
5887 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5888 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5889 variable.
5890
5891 [BZ #18444]
5892 * string/basename.c (basename): Rename to __basename and define as
5893 weak alias of __basename. Use libc_hidden_weak.
5894 * include/string.h (__basename): Declare. Use libc_hidden_proto.
5895 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5896 __basename instead of basename.
5897 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5898 Remove variable.
5899 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5900
5901 2015-05-18 Florian Weimer <fweimer@redhat.com>
5902
5903 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5904 (_IO_JUMPS_FILE_plus): New.
5905 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5906 _IO_CAST_FIELD_ACCESS.
5907 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5908 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5909 * libio/freopen.c (freopen): Likewise.
5910 * libio/freopen64.c (freopen64): Likewise.
5911 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5912 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5913 * libio/iofwide.c (_IO_fwide): Likewise.
5914 * libio/memstream.c (open_memstream): Likewise.
5915 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5916 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5917 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5918
5919 2015-05-21 Joseph Myers <joseph@codesourcery.com>
5920
5921 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5922 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5923 NADJ.
5924 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5925 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5926 NADJ.
5927 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5928 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5929 NADJ.
5930
5931 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5932 (p == 4) case.
5933
5934 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5935 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5936 Remove variable.
5937 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5938 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5939 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5940
5941 2015-05-21 Florian Weimer <fweimer@redhat.com>
5942
5943 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5944 Adjust jump table label generation macros.
5945
5946 2015-05-21 Florian Weimer <fweimer@redhat.com>
5947
5948 * stdio-common/vfprintf.c (vfprintf): Move local variables
5949 args_malloced, specs, specs_malloced, and the code after
5950 do_positional to the printf_positional function.
5951 (printf_positional): New function.
5952
5953 2015-05-21 Florian Weimer <fweimer@redhat.com>
5954
5955 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5956 function.
5957 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5958 STEP4_TABLE, process_arg): Move macro definitions
5959 out of the vfprintf function. (Cosmetic change only.)
5960
5961 2015-05-21 Carlos O'Donell <carlos@redhat.com>
5962
5963 * benchtests/Makefile (stdio-common-bench): Define.
5964 (benchset): Add stdio-common-bench.
5965 * sprintf-inputs: New file.
5966 * sprintf-source.c: New file.
5967
5968 2015-05-21 Andreas Schwab <schwab@suse.de>
5969
5970 [BZ #13028]
5971 [BZ #17053]
5972 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5973 of struct __res_state.
5974 * resolv/res_send.c (__libc_res_nsend): Likewise.
5975 (get_nsaddr): New function.
5976 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5977 statp directly.
5978
5979 2015-05-20 Joseph Myers <joseph@codesourcery.com>
5980
5981 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5982 -D_POSIX_C_SOURCE=199506L.
5983
5984 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5985
5986 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5987 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5988 Do not mention otherwise.
5989 [POSIX] (_XOPEN_VERSION): Do not expect.
5990 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5991 [POSIX] (_POSIX2_C_BIND): Likewise.
5992 [POSIX] (_POSIX2_VERSION): Likewise.
5993 [POSIX] (_XOPEN_XPG2): Likewise.
5994 [POSIX] (_XOPEN_XPG3): Likewise.
5995 [POSIX] (_XOPEN_XPG4): Likewise.
5996 [POSIX] (_XOPEN_UNIX): Likewise.
5997 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5998 [POSIX] (_POSIX_BARRIERS): Likewise.
5999 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6000 [POSIX] (_POSIX_CPUTIME): Likewise.
6001 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6002 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6003 [POSIX] (_POSIX_SHELL): Likewise.
6004 [POSIX] (_POSIX_SPAWN): Likewise.
6005 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6006 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6007 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6008 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6009 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6010 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6011 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6012 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6013 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6014 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6015 [POSIX] (_POSIX2_PBS): Likewise.
6016 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6017 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6018 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6019 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6020 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6021 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6022 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6023 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6024 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6025 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6026 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6027 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6028 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6029 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6030 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6031 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6032 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6033 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6034 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6035 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6036 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6037 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6038 [POSIX] (_SC_2_C_BIND): Likewise.
6039 [POSIX] (_SC_2_C_VERSION): Likewise.
6040 [POSIX] (_SC_2_PBS): Likewise.
6041 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6042 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6043 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6044 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6045 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6046 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6047 [POSIX] (_SC_BARRIERS): Likewise.
6048 [POSIX] (_SC_BASE): Likewise.
6049 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6050 [POSIX] (_SC_DEVICE_IO): Likewise.
6051 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6052 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6053 [POSIX] (_SC_FD_MGMT): Likewise.
6054 [POSIX] (_SC_FIFO): Likewise.
6055 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6056 [POSIX] (_SC_FILE_LOCKING): Likewise.
6057 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6058 [POSIX] (_SC_IOV_MAX): Likewise.
6059 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6060 [POSIX] (_SC_NETWORKING): Likewise.
6061 [POSIX] (_SC_PAGE_SIZE): Likewise.
6062 [POSIX] (_SC_PASS_MAX): Likewise.
6063 [POSIX] (_SC_PIPE): Likewise.
6064 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6065 [POSIX] (_SC_REGEXP): Likewise.
6066 [POSIX] (_SC_SHELL): Likewise.
6067 [POSIX] (_SC_SIGNALS): Likewise.
6068 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6069 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6070 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6071 [POSIX] (_SC_USER_GROUPS): Likewise.
6072 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6073 [POSIX] (_SC_STREAMS): Likewise.
6074 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6075 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6076 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6077 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6078 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6079 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6080 [POSIX] (_PC_FILESIZEBITS): Likewise.
6081 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6082 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6083 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6084 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6085 [POSIX] (uid_t): Likewise.
6086 [POSIX] (gid_t): Likewise.
6087 [POSIX] (off_t): Likewise.
6088 [POSIX] (pid_t): Likewise.
6089 [POSIX] (cuserid): Allow.
6090 (_SC_2_CHAR_TERM): Require constant.
6091 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6092 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6093 variable.
6094
6095 2015-05-20 Roland McGrath <roland@hack.frob.com>
6096
6097 * sysdeps/nacl/pthread-pids.h: New file.
6098 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6099 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6100
6101 * nptl/pthread-pids.h: New file.
6102 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6103 * nptl/nptl-init.c: Include <pthread-pids.h>.
6104 (__pthread_initialize_minimal_internal):
6105 Call __pthread_initialize_pids instead of set_tid_address syscall.
6106
6107 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6108 * sysdeps/posix/usleep.c: ... here.
6109
6110 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6111
6112 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6113 call_pselect6 object.
6114 [$(subdir) = io]: Remove call_sync_file_range object.
6115 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6116 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6117 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6118 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6119
6120 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6121
6122 * math/s_cproj.c: Add include "math_private.h".
6123 * math/s_cprojf.c: Likewise.
6124 * math/s_cprojl.c: Likewise.
6125
6126 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6127
6128 [BZ #18244]
6129 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6130 high mantissa bit when testing whether P is a NaN.
6131 * math/libm-test.inc (remainder_test_data): Add more tests.
6132 (remquo_test_data): Likewise.
6133
6134 [BZ #18049]
6135 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6136 below -32, return the argument, with underflow if subnormal.
6137 * math/auto-libm-test-in: Add more tests of atanh.
6138 * math/auto-libm-test-out: Regenerated.
6139
6140 2015-05-19 Roland McGrath <roland@hack.frob.com>
6141
6142 [BZ #18434]
6143 * nptl/tst-sem15.c: New file.
6144 * nptl/Makefile (tests): Add it.
6145 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6146 s/<</>>/ to fix typo in EOVERFLOW check.
6147 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6148
6149 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6150
6151 * manual/strings.texi (envz_remove): Fix typo in safety
6152 annotations.
6153
6154 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6155 Steve Ellcey <sellcey@imgtec.com>
6156
6157 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6158 in order to avoid strict alias warnings.
6159 (iruserok_af): Ditto for ra.
6160
6161 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6162
6163 [BZ #17581]
6164 * malloc/hooks.c
6165 (magicbyte): Convert to a function and avoid returning 0x01.
6166 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6167 (mem2chunk_check): Fix unsigned comparisons to zero.
6168 Hoist defs of sz and magic.
6169
6170 2015-05-19 Richard Henderson <rth@redhat.com>
6171
6172 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6173
6174 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6175
6176 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6177
6178 [BZ #16159]
6179 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6180 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6181 (reused_arena): Find a non-corrupt arena.
6182 (heap_trim): Pass arena to unlink.
6183 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6184 malloc_printerr.
6185 (top_check): Likewise.
6186 (free_check): Likewise.
6187 (realloc_check): Likewise.
6188 * malloc/malloc.c (malloc_printerr): Add arena argument.
6189 (unlink): Likewise.
6190 (munmap_chunk): Adjust.
6191 (ARENA_CORRUPTION_BIT): New macro.
6192 (arena_is_corrupt): Likewise.
6193 (set_arena_corrupt): Likewise.
6194 (sysmalloc): Use mmap if there are no usable arenas.
6195 (_int_malloc): Likewise.
6196 (__libc_malloc): Don't fail if arena_get returns NULL.
6197 (_mid_memalign): Likewise.
6198 (__libc_calloc): Likewise.
6199 (__libc_realloc): Adjust for additional argument to
6200 malloc_printerr.
6201 (_int_free): Likewise.
6202 (malloc_consolidate): Likewise.
6203 (_int_realloc): Likewise.
6204 (_int_memalign): Don't touch corrupt arenas.
6205 * malloc/tst-malloc-backtrace.c: New test case.
6206
6207 * Makefile (summarize-tests): Fix return value on success.
6208
6209 * manual/string.texi (Envz Functions): Add envz_remove.
6210
6211 2015-05-18 Roland McGrath <roland@hack.frob.com>
6212
6213 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6214 (invalid_name): New function, broken out of ...
6215 (__opendirat): ... here. Call it.
6216 (need_isdir_precheck): New function, broken out of ...
6217 (__opendirat): ... here. Call it.
6218 Use __fxstatat64, not __xstatat64.
6219 (opendir_oflags): New function, broken out of ...
6220 (__opendirat): ... here. Call it.
6221 (opendir_tail): New function, broken out of ...
6222 (__opendirat): ... here. Call it.
6223 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6224 opendir_tail, rather than punting to __opendirat.
6225 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6226
6227 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6228
6229 * .gitignore: Ignore generated *.pyc.
6230
6231 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6232
6233 * include/stdio.h: Define __need_wint_t.
6234 * test-skeleton.c: Avoid `for' loop initial declaration.
6235 * nptl/tst-initializers1.c: Use test-skeleton.c.
6236
6237 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6238
6239 [BZ #18418]
6240 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6241
6242 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6243
6244 [BZ #16352]
6245 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6246 (__ieee754_atanh): Force underflow exception for results with
6247 small absolute value.
6248 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6249 (__ieee754_atanhf): Force underflow exception for results with
6250 small absolute value.
6251 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6252 (__ieee754_atanh): Force underflow exception for results with
6253 small absolute value.
6254 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6255 (__ieee754_atanhf): Force underflow exception for results with
6256 small absolute value.
6257 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6258 (__ieee754_atanhl): Force underflow exception for results with
6259 small absolute value.
6260 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6261 (__ieee754_atanhl): Force underflow exception for results with
6262 small absolute value.
6263 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6264 (__ieee754_atanhl): Force underflow exception for results with
6265 small absolute value.
6266 * math/auto-libm-test-in: Do not allow missing underflow
6267 exceptions from atanh.
6268 * math/auto-libm-test-out: Regenerated.
6269
6270 [BZ #18221]
6271 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6272 2**-28 as threshold for returning x or +/- 1/x.
6273 * math/auto-libm-test-in: Add more tests of tan.
6274 * math/auto-libm-test-out: Regenerated.
6275
6276 [BZ #18220]
6277 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6278 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6279 * math/auto-libm-test-in: Add another test of lgamma.
6280 * math/auto-libm-test-out: Regenerated.
6281
6282 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6283
6284 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6285 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6286 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6287 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6288 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6289 (ADD2A): Use fabs. (SUB2A): Use fabs.
6290 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6291 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6293 (log1): Use fabs. (my_log2): Use fabs.
6294 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6295 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6296 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6297 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6298 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6299 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6300 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6301 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6302 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6303 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6304 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6305
6306 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6307
6308 [BZ #18217]
6309 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6310 as threshold for returning 1 - x.
6311 * math/auto-libm-test-in: Add more tests of erfc.
6312 * math/auto-libm-test-out: Regenerated.
6313
6314 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6315
6316 [BZ #18196]
6317 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6318 threshold for large arguments.
6319 * math/auto-libm-test-in: Add another test of atan.
6320 * math/auto-libm-test-out: Regenerated.
6321
6322 [BZ #16339]
6323 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6324 (__log1p): Force underflow exception for results with small
6325 absolute value.
6326 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6327 (__log1pf): Force underflow exception for results with small
6328 absolute value.
6329 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6330 (__log1p): Force underflow exception for results with small
6331 absolute value.
6332 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6333 (__log1pf): Force underflow exception for results with small
6334 absolute value.
6335 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6336 (__log1pl): Force underflow exception for results with small
6337 absolute value.
6338 * math/auto-libm-test-in: Do not allow missing underflow
6339 exceptions from log1p.
6340 * math/auto-libm-test-out: Regenerated.
6341
6342 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6343 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6344
6345 [BZ #16704]
6346 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6347
6348 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6349
6350 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6351 (libmvec): New variable.
6352 * configure.ac: Added option for mathvec build.
6353 * configure: Regenerated.
6354 * mathvec/Depend: New file.
6355 * mathvec/Makefile: New file.
6356 * shlib-versions: Added libmvec.
6357 * math/Makefile: Added rule for libm.so installation.
6358
6359 * bits/math-vector.h: New file.
6360 * bits/libm-simd-decl-stubs.h: New header.
6361 * math/Makefile (headers): Added new header
6362 libm-simd-decl-stubs.h.
6363 * math/math.h (__MATHCALL_VEC): New macro.
6364
6365 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6366 for conditions in testing functions.
6367 * math/Makefile: Added call of libm-have-vector-test.sh.
6368 * math/libm-test.inc (HAVE_VECTOR): New macros.
6369
6370 * math/libm-test.inc: START refactored.
6371 * math/test-double.c (TEST_MATHVEC): Add define.
6372 * math/test-float.c: Likewise.
6373 * math/test-idouble.c: Likewise.
6374 * math/test-ifloat.c: Likewise.
6375 * math/test-ildoubl.c: Likewise.
6376 * math/test-ldouble.c: Likewise.
6377 * sysdeps/generic/math-tests-arch.h
6378 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6379 architecture check.
6380
6381 * math/test-double.c (FUNC_TEST): New macro.
6382 * math/test-float.c: Likewise.
6383 * math/test-idouble.c: Likewise.
6384 * math/test-ifloat.c: Likewise.
6385 * math/test-ildoubl.c: Likewise.
6386 * math/test-ldouble.c: Likewise.
6387 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6388
6389 2015-05-13 Roland McGrath <roland@hack.frob.com>
6390
6391 * sysdeps/nacl/fdopendir.c: New file.
6392
6393 * dirent/scandir-tail.c: New file.
6394 * dirent/scandir64-tail.c: New file.
6395 * dirent/Makefile (routines): Add them.
6396 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6397 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6398 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6399 [!SCANDIR] (SCANDIR_TAIL): New macro.
6400 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6401 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6402 (SCANDIRAT): Macro removed.
6403 (SCANDIR_TAIL): New macro.
6404 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6405 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6406 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6407 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6408 (READDIR): Macro removed.
6409 (SCANDIR_TAIL): New macro.
6410 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6411 (SCANDIR_TAIL): New macro.
6412
6413 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6414 * dirent/scandir-cancel.c: ... to this new file.
6415 * dirent/Makefile (routines): Add it.
6416 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6417 * sysdeps/unix/sysv/linux/i386/scandir64.c
6418 (SKIP_SCANDIR_CANCEL): Macro removed.
6419 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6420
6421 * dirent/tst-scandir.c: New file.
6422 * dirent/tst-scandir64.c: New file.
6423 * dirent/Makefile (tests): Add them.
6424
6425 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6426
6427 [BZ #18409]
6428 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6429
6430 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6431
6432 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6433 list.
6434
6435 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6436
6437 * benchtests/bench-strcoll.c: New benchmark.
6438 * benchtests/Makefile: Generate locales and run benchmark.
6439 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6440 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6441 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6442 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6443 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6444 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6445 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6446 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6447 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6448 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6449 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6450 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6451 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6452 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6453 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6454 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6455 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6456 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6457 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6458 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6459 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6460 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6461 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6462 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6463
6464 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6465
6466 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6467 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6468
6469 2015-05-12 Roland McGrath <roland@hack.frob.com>
6470
6471 * posix/uname-values.h: New file.
6472 * posix/uname.c: Include that instead of <config-name.h>.
6473 * sysdeps/nacl/uname-values.h: New file.
6474 * sysdeps/arm/nacl/uname-values.h: New file.
6475
6476 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6477
6478 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6479 splitting into fields.
6480
6481 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6482
6483 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6484 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6485 * locale/localeinfo.h: Add enum collation_encoding_type.
6486 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6487 * programs/ld-collate.c (collate_output): Add encoding type info.
6488 * string/strcoll_l.c (STRDIFF): New function.
6489 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6490 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6491
6492 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6493
6494 [BZ #18397]
6495 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6496 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6497 <fpu_control.h> instead of <math/fpu_control.c>.
6498 * sysdeps/mips/mips32/fpu/Makefile: New file.
6499
6500 2015-05-11 Andreas Schwab <schwab@suse.de>
6501
6502 [BZ #18007]
6503 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6504 nss_endgrent.
6505 (_nss_compat_endgrent): Call nss_endgrent.
6506 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6507 nss_endpwent.
6508 (_nss_compat_endpwent): Call nss_endpwent.
6509 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6510 needent, call nss_setspent only if non-zero.
6511 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6512 (internal_endspent): Don't call nss_endspent.
6513 (_nss_compat_endspent): Call nss_endspent.
6514 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6515 Remove. All uses removed.
6516 (internal_setent): Remove parameter stayopen, add parameter
6517 stream. Use it instead of global variable.
6518 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6519 (internal_endent, internal_getent): Add parameter stream. Use it
6520 instead of global variable.
6521 (CONCAT(_nss_files_end,ENTNAME))
6522 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6523 (_nss_files_get##name##_r): Pass local stream. Remove locking.
6524 * nss/nss_files/files-alias.c (position, last_use): Remove. All
6525 uses removed.
6526 (internal_setent, internal_endent): Add parameter stream. Use it
6527 instead of global variable.
6528 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6529 stream.
6530 (get_next_alias): Add parameter stream.
6531 (_nss_files_getaliasent_r): Pass global stream.
6532 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
6533 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6534 (_nss_files_gethostbyname4_r): Pass local stream to
6535 internal_setent, internal_getent and internal_endent. Remove
6536 locking.
6537
6538 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6539
6540 * tst-strfmon1.c (tests): Update expected currency symbol.
6541
6542 2015-05-08 Roland McGrath <roland@hack.frob.com>
6543
6544 * sysdeps/nacl/gethostname.c: New file.
6545
6546 2015-05-08 Joseph Myers <joseph@codesourcery.com>
6547
6548 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6549 and sinh.
6550 * math/auto-libm-test-out: Regenerated.
6551 * sysdeps/i386/fpu/libm-test-ulps: Update.
6552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6553
6554 2015-05-08 Carlos O'Donell <carlos@redhat.com>
6555
6556 [BZ #18125]
6557 * stdlib/tst-setcontext3.c: New file.
6558 * stdlib/tst-setcontext3.sh: New file.
6559 * stdlib/Makefile (tests): Add tst-setcontext3.
6560 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6561 to verify test program created output file.
6562 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6563 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6564 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6565 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6566
6567 2015-05-06 Roland McGrath <roland@hack.frob.com>
6568
6569 [BZ #18383]
6570 * elf/tst-tlsalign.c: New file.
6571 * elf/tst-tlsalign-static.c: New file.
6572 * elf/tst-tlsalign-lib.c: New file.
6573 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6574 (tests-static): Add tst-tlsalign-static.
6575 (modules-names): Add tst-tlsalign-lib.
6576 (test-xfail-tst-tlsalign): New variable.
6577 (test-xfail-tst-tlsalign-static): New variable.
6578
6579 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6580 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6581
6582 2015-05-06 Joseph Myers <joseph@codesourcery.com>
6583
6584 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6585 csqrt, erfc, sin and sincos.
6586 * math/auto-libm-test-out: Regenerated.
6587 * sysdeps/i386/fpu/libm-test-ulps: Update.
6588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6589
6590 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6591
6592 * sysdeps/aarch64/libm-test-ulps: Update.
6593
6594 2015-05-05 Joseph Myers <joseph@codesourcery.com>
6595
6596 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6597 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6598 * math/auto-libm-test-out: Regenerated.
6599 * sysdeps/i386/fpu/libm-test-ulps: Update.
6600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6601
6602 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
6603
6604 [BZ #18265]
6605 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6606 (wcsncpy): Likewise.
6607
6608 2015-05-05 Florian Weimer <fweimer@redhat.com>
6609
6610 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6611 Assume __ASSUME_FALLOCATE is always true.
6612 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6613 (__posix_fallocate64_l64): Likweise.
6614 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6615 (posix_fallocate): Likewise.
6616 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6617 (__posix_fallocate64_l64): Likewise.
6618 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6619 [!__ASSUME_FALLOCATE]: Add comment.
6620
6621 2015-05-05 Florian Weimer <fweimer@redhat.com>
6622
6623 * sysdeps/unix/sysv/linux/i386/Makefile
6624 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6625 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6626 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6627 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6628 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6629 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6630 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6631
6632 2015-05-02 Joseph Myers <joseph@codesourcery.com>
6633
6634 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6635 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6636 tgamma.
6637 * math/auto-libm-test-out: Regenerated.
6638 * sysdeps/i386/fpu/libm-test-ulps: Update.
6639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6640
6641 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6642
6643 * math/auto-libm-test-in: Add more tests of tgamma.
6644 * math/auto-libm-test-out: Regenerated.
6645 * sysdeps/i386/fpu/libm-test-ulps: Update.
6646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6647
6648 * math/auto-libm-test-in: Add more tests of tanh.
6649 * math/auto-libm-test-out: Regenerated.
6650 * sysdeps/i386/fpu/libm-test-ulps: Update.
6651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6652
6653 * math/auto-libm-test-in: Add more tests of tan.
6654 * math/auto-libm-test-out: Regenerated.
6655 * sysdeps/i386/fpu/libm-test-ulps: Update.
6656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6657
6658 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6659 * math/auto-libm-test-out: Regenerated.
6660 * sysdeps/i386/fpu/libm-test-ulps: Update.
6661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6662
6663 * math/auto-libm-test-in: Add another test of pow.
6664 * math/auto-libm-test-out: Regenerated.
6665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6666
6667 * math/auto-libm-test-in: Add more tests of lgamma.
6668 * math/auto-libm-test-out: Regenerated.
6669 * sysdeps/i386/fpu/libm-test-ulps: Update.
6670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6671
6672 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6673 log1p.
6674 * math/auto-libm-test-out: Regenerated.
6675 * sysdeps/i386/fpu/libm-test-ulps: Update.
6676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6677
6678 2015-05-01 Mark Wielaard <mjw@redhat.com>
6679
6680 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6681 Elf64_Chdr structs and ELFCOMPRESS constants.
6682
6683 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6684
6685 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6686 expm1.
6687 * math/auto-libm-test-out: Regenerated.
6688 * sysdeps/i386/fpu/libm-test-ulps: Update.
6689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6690
6691 * math/auto-libm-test-in: Add more tests of erf and erfc.
6692 * math/auto-libm-test-out: Regenerated.
6693 * sysdeps/i386/fpu/libm-test-ulps: Update.
6694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6695
6696 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
6697
6698 * config.h.in (HAVE_AARCH64_BE): Add.
6699
6700 2015-04-30 Joseph Myers <joseph@codesourcery.com>
6701
6702 * math/auto-libm-test-in: Add more tests of csqrt.
6703 * math/auto-libm-test-out: Regenerated.
6704 * sysdeps/i386/fpu/libm-test-ulps: Update.
6705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6706
6707 * math/auto-libm-test-in: Add more tests of cosh and sinh.
6708 * math/auto-libm-test-out: Regenerated.
6709 * sysdeps/i386/fpu/libm-test-ulps: Update.
6710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6711
6712 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6713
6714 2015-04-29 Roland McGrath <roland@hack.frob.com>
6715
6716 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6717 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6718
6719 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6720 (euidaccess, eaccess): Define as weak aliases.
6721
6722 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6723 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
6724 but __suseconds_t is often 'long int' so some sources assume that
6725 type is being used (e.g. they use %ld to print tv_usec).
6726
6727 2015-04-29 Florian Weimer <fweimer@redhat.com>
6728
6729 [BZ #18007]
6730 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6731 (CVE-2014-8121)
6732 * nss/tst-nss-getpwent.c: New file.
6733 * nss/Makefile (tests): Add new test.
6734
6735 2015-04-28 Joseph Myers <joseph@codesourcery.com>
6736
6737 [BZ #18346]
6738 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6739 exponents less than 48 as cases where high part of mantissa needs
6740 examining to determine whether argument is integral.
6741 * math/libm-test.inc (round_test_data): Add more tests.
6742
6743 2015-04-28 Mark Wielaard <mjw@redhat.com>
6744
6745 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6746
6747 2015-04-27 David S. Miller <davem@davemloft.net>
6748
6749 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6750 __tls_get_addr.
6751 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6752
6753 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
6754
6755 [BZ#18333]
6756 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6757
6758 2015-04-27 Florian Weimer <fweimer@redhat.com>
6759
6760 [BZ#18333]
6761 * time/tzset.c (parse_tzname): Return error on memory allocation
6762 failure.
6763 * test-skeleton.c (struct temp_name_list): Change type of name
6764 member to non-const.
6765 (add_temp_file): Create a copy of the file name.
6766 (delete_temp_files): Deallocate memory.
6767 (create_temp_file): Add comment.
6768
6769 2015-04-24 Florian Weimer <fweimer@redhat.com>
6770
6771 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6772 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6773
6774 2015-04-24 Roland McGrath <roland@hack.frob.com>
6775
6776 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6777 * sysdeps/arm/configure: Regenerated.
6778
6779 2015-04-24 Florian Weimer <fweimer@redhat.com>
6780
6781 [BZ #17715]
6782 * time/tzfile.c (__tzfile_read): Check for large values of
6783 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
6784 * time/tzset.c (__tzstring_len): New function, based on the old
6785 __tzstring function.
6786 (__tzstring): Call __tzstring_len.
6787 (parse_tzname): New helper function extracted from
6788 __tzset_parse_tz. Call __tzstring_len, without making a copy of
6789 the input string.
6790 (parse_offset): New helper function extracted from
6791 __tzset_parse_tz. Replace switch with fallthrough with
6792 initialization before sscanf.
6793 (parse_rule): Likewise.
6794 (__tzset_parse_tz): Rewrite using the new helper functions. Use
6795 new-style function definition.
6796 * timezone/Makefile (tests): Add tst-tzset.
6797 (tst-tzset.out): Dependencies on time zone files.
6798 (tst-tzset-ENV): Set TZDIR.
6799 (testdata/XT%): Copy crafted time zone files.
6800 * timezone/README: Mention crafted time zone files.
6801 * timezone/testdata/XT1, timezone/testdata/XT2,
6802 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6803 files.
6804 * timezone/tst-tzset.c: New test.
6805
6806 2015-04-24 Florian Weimer <fweimer@redhat.com>
6807
6808 * Makeconfig (+gccwarn): Remove -Winline.
6809
6810 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6811
6812 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6813
6814 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6815
6816 * NEWS: Mention sysconf() cache information support for s390.
6817 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6818
6819 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
6820
6821 * math/k_casinh.c (__kernel_casinh): Use __copysign.
6822 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6823 (__nearbyint): Likewise.
6824 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6825 (copysignl): Likewise.
6826
6827 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
6828
6829 [BZ #18287]
6830 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6831 based on padding. (CVE-2015-1781)
6832
6833 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6834
6835 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6836 libc-vdso.h.
6837 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6838 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6839 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6840 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6841 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6842 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6843 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6844 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6845 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6846 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6847 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6848 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6849 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6850 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6851 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6852 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6853 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6854 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6855 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6856 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6857 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6858 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6859 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6860
6861 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
6862
6863 * stdlib/setenv.c (__add_to_environ):
6864 Dump core quickly if setenv (..., NULL, ...) is called.
6865 This time, do it the right way, and pacify GCC with a pragma.
6866
6867 2015-04-17 Roland McGrath <roland@hack.frob.com>
6868
6869 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6870 IMAP->l_prev cannot be null, and #if out the code for the contrary
6871 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6872 believe that NS (&_dl_ns[NSID]) could point outside the array.
6873
6874 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6875 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6876 before using NSID as an index.
6877
6878 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
6879
6880 [BZ #17825]
6881 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6882 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6883 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6884
6885 2015-04-17 Roland McGrath <roland@hack.frob.com>
6886
6887 Add preliminary port to Google Native Client on ARM.
6888 * abi-tags (.*-.*-nacl.*): New entry.
6889 * sysdeps/arm/nacl: New directory.
6890 * sysdeps/nacl: New directory.
6891
6892 2015-04-16 David S. Miller <davem@davemloft.net>
6893
6894 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6895 lowlevellock-futex.h
6896
6897 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
6898
6899 * sysdeps/tile/configure.ac: New file.
6900 * sysdeps/tile/configure: Regenerated.
6901
6902 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6903
6904 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
6905 conditionals for weak_alias and libc_hidden_weak.
6906 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6907 libc_hidden_weak and weak_alias.
6908 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6909 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6910 and weak_alias for static one.
6911
6912 2015-04-15 David S. Miller <davem@davemloft.net>
6913
6914 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6915
6916 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6917
6918 [BZ #18206]
6919 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6920 Use signed comparision instead of substraction to avoid
6921 overflow bug.
6922 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6923 Take the sign of ret.
6924 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6925 Do not expect precise return values. Only the sign matters.
6926 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6927 * wcsmbs/test-wcsncmp.c: New File.
6928 * string/test-strncmp.c: Add wcsncmp support.
6929
6930 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6931
6932 [BZ #6792]
6933 * math/w_log1p.c: New file.
6934 * math/w_log1pf.c: Likewise.
6935 * math/w_log1pl.c: Likewise.
6936 * math/Makefile (libm-calls): Add w_log1p.
6937 * math/s_log1pl.c (log1pl): Remove weak_alias.
6938 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6939 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6940 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6941 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6942 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6943 [NO_LONG_DOUBLE] (log1pl): Likewise.
6944 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6945 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6946 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6947 (log1p): Remove long_double_symbol.
6948 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6949 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6950 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6951 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6952 remove weak_alias for corresponding log1p function.
6953 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6954 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6955 * sysdeps/ia64/fpu/w_log1p.c: New file.
6956 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6957 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6958 * math/libm-test.inc (log1p_test_data): Add errno expectations.
6959
6960 2015-04-10 Joseph Myers <joseph@codesourcery.com>
6961
6962 [BZ #18247]
6963 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6964 decimal exponent by 1.
6965 * stdlib/tst-strtod-round-data: Add more tests.
6966 * stdlib/tst-strtod-round.c (tests): Regenerated.
6967
6968 2015-04-09 Joseph Myers <joseph@codesourcery.com>
6969
6970 * math/auto-libm-test-in: Add more tests of clog and clog10.
6971 * math/auto-libm-test-out: Regenerated.
6972 * sysdeps/i386/fpu/libm-test-ulps: Update.
6973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6974
6975 2015-04-09 Roland McGrath <roland@hack.frob.com>
6976
6977 * Makeconfig (module-cppflags): Exclude all .v.i files.
6978 (skip-module-cppflags): Variable removed.
6979
6980 * configure.ac (libc_config_ok): Initialize before reading
6981 preconfigure scripts, not after.
6982 * configure: Regenerated.
6983
6984 * test-skeleton.c (TIMEOUT): Move #define to top level.
6985 (main): Grok environment variable TEST_DIRECT. If set, print
6986 test expectation details into that file and then behave as if
6987 given --direct.
6988
6989 2015-04-09 Florian Weimer <fweimer@redhat.com>
6990
6991 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6992 warning on 32-bit.
6993
6994 2015-04-08 David S. Miller <davem@davemloft.net>
6995
6996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6997
6998 2015-04-08 Joseph Myers <joseph@codesourcery.com>
6999
7000 * math/auto-libm-test-in: Add more tests of atanh.
7001 * math/auto-libm-test-out: Regenerated.
7002 * sysdeps/i386/fpu/libm-test-ulps: Update.
7003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7004
7005 * math/auto-libm-test-in: Add more tests of atan.
7006 * math/auto-libm-test-out: Regenerated.
7007 * sysdeps/i386/fpu/libm-test-ulps: Update.
7008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7009
7010 2015-04-08 Florian Weimer <fweimer@redhat.com>
7011
7012 * elf/pldd.c (main): Rewrite to use struct
7013 scratch_buffer instead of extend_alloca.
7014 * elf/pldd-xx.c (find_maps): Likewise.
7015 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7016 <alloca.h>.
7017 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7018 scratch_buffer instead of extend_alloca.
7019 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7020 grp/compat-initgroups.c.
7021 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7022 Rewrite to use struct scratch_buffer instead of extend_alloca.
7023 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7024 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7025
7026 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7027
7028 * math/auto-libm-test-in: Add more tests of cbrt.
7029 * math/auto-libm-test-out: Regenerated.
7030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7031
7032 * math/auto-libm-test-in: Add more tests of cabs.
7033 * math/auto-libm-test-out: Regenerated.
7034 * sysdeps/i386/fpu/libm-test-ulps: Update.
7035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7036
7037 [BZ #18210]
7038 [BZ #18211]
7039 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7040 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7041 computations.
7042 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7043 clog10.
7044 * math/auto-libm-test-out: Regenerated.
7045 * sysdeps/i386/fpu/libm-test-ulps: Update.
7046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7047
7048 [BZ #18197]
7049 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7050 (atan): Set FE_TONEAREST mode for internal computations.
7051 * math/auto-libm-test-in: Add more tests of atan.
7052 * math/auto-libm-test-out: Regenerated.
7053
7054 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7055
7056 [BZ #17930]
7057 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7058
7059 2015-04-07 Florian Weimer <fweimer@redhat.com>
7060
7061 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7062
7063 2015-04-07 Florian Weimer <fweimer@redhat.com>
7064
7065 * include/scratch_buffer.h: New file.
7066 * malloc/scratch_buffer_grow.c: Likewise.
7067 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7068 * malloc/scratch_buffer_set_array_size.c: Likewise.
7069 * malloc/tst-scratch_buffer.c: Likewise.
7070 * malloc/Makefile (routines): Add scratch_buffer_grow.
7071 (tests): Add test case.
7072 * malloc/Versions (GLIBC_PRIVATE): Export
7073 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7074 __libc_scratch_buffer_set_array_size.
7075
7076 2015-04-06 Richard Henderson <rth@redhat.com>
7077
7078 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7079 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7080
7081 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7082 unsigned int before printing.
7083
7084 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7085
7086 [BZ #17596]
7087 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7088 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7089
7090 2015-04-02 Florian Weimer <fweimer@redhat.com>
7091
7092 * include/libc-internal.h (libc_max_align_t): Define.
7093
7094 2015-04-02 Andreas Schwab <schwab@suse.de>
7095
7096 [BZ #16850]
7097 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7098
7099 2015-04-02 Mel Gorman <mgorman@suse.de>
7100
7101 [BZ #17195]
7102 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7103 as well as the main arena.
7104
7105 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7106
7107 [BZ #18185]
7108 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7109 sharing L2 cache to 2 for Silvermont/Knights Landing.
7110
7111 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7112
7113 [BZ #17711]
7114 * config.make.in (have-protected-data): New.
7115 * configure.ac: Check linker support for protected data symbol.
7116 * configure: Regenerated.
7117 * elf/Makefile (modules-names): Add tst-protected1moda and
7118 tst-protected1modb if $(have-protected-data) is yes.
7119 (tests): Add tst-protected1a and tst-protected1b if
7120 $(have-protected-data) is yes.
7121 ($(objpfx)tst-protected1a): New.
7122 ($(objpfx)tst-protected1b): Likewise.
7123 (tst-protected1modb.so-no-z-defs): Likewise.
7124 * elf/tst-protected1a.c: New file.
7125 * elf/tst-protected1b.c: Likewise.
7126 * elf/tst-protected1mod.h: Likewise.
7127 * elf/tst-protected1moda.c: Likewise.
7128 * elf/tst-protected1modb.c: Likewise.
7129
7130 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7131
7132 [BZ #17711]
7133 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7134 indicates it is called from do_lookup_x on relocation against
7135 protected data, skip the data definion in the executable from
7136 copy reloc.
7137 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7138 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7139 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7140 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7141 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7142 otherwise to 0.
7143 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7144 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7145 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7146 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7147 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7148 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7149
7150 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7151
7152 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7153 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7154
7155 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7156
7157 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7158 THREAD_SETMEM_NC.
7159 * sysdeps/x86_64/nptl/tls.h: Ditto.
7160
7161 2015-03-27 Roland McGrath <roland@hack.frob.com>
7162
7163 * dlfcn/tststatic.c (main): Converted to ...
7164 (do_test): ... this.
7165 (TEST_FUNCTION): New macro.
7166 Include test-skeleton.c.
7167
7168 2015-03-26 Alan Modra <amodra@gmail.com>
7169
7170 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7171 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7172 zero for undefined weak.
7173 (elf_machine_plt_conflict): Similarly.
7174
7175 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7176
7177 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7178 atanh.
7179 * math/auto-libm-test-out: Regenerated.
7180 * sysdeps/i386/fpu/libm-test-ulps: Update.
7181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7182
7183 * math/auto-libm-test-in: Add another test of asin.
7184 * math/auto-libm-test-out: Regenerated.
7185 * sysdeps/i386/fpu/libm-test-ulps: Update.
7186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7187
7188 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7189 Remove macro.
7190 (LLL_EBX_REG): Likewise.
7191 (LLL_ENTER_KERNEL): Likewise.
7192
7193 * math/auto-libm-test-in: Add more tests of asin.
7194 * math/auto-libm-test-out: Regenerated.
7195 * sysdeps/i386/fpu/libm-test-ulps: Update.
7196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7197
7198 [BZ #18138]
7199 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7200 libc_do_syscall_args): New structure.
7201 (INTERNAL_SYSCALL_MAIN_0): New macro.
7202 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7203 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7204 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7205 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7206 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7207 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7208 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7209 Replace conditional definitions by conditional definitions of ....
7210 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7211 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7212 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7213 (libpthread-sysdep_routines): Add libc-do-syscall.
7214 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7215 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7216 to __NR_futex not 240.
7217
7218 2015-03-25 Alan Modra <amodra@gmail.com>
7219
7220 * NEWS: Advertise TLS optimization.
7221 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7222 (DT_PPC_NUM): Increment.
7223 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7224 (CHECK_STATIC_TLS): Use here.
7225 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7226 TLS descriptors.
7227 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7228 * sysdeps/powerpc/dl-tls.c: New file.
7229 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7230 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7231 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7232 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7236
7237 2015-03-25 Alan Modra <amodra@gmail.com>
7238
7239 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7240 for overlapping .opd entries" to "support...".
7241 * sysdeps/powerpc/powerpc64/configure: Regenerate
7242
7243 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7244
7245 * math/auto-libm-test-in: Add more tests of acos.
7246 * math/auto-libm-test-out: Regenerated.
7247 * sysdeps/i386/fpu/libm-test-ulps: Update.
7248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7249
7250 * math/auto-libm-test-in: Add more tests of expm1.
7251 * math/auto-libm-test-out: Regenerated.
7252 * sysdeps/i386/fpu/libm-test-ulps: Update.
7253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7254
7255 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7256
7257 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7258 * math/auto-libm-test-out: Regenerated.
7259 * sysdeps/i386/fpu/libm-test-ulps: Update.
7260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7261
7262 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7264
7265 * math/auto-libm-test-in: Add more tests of log2.
7266 * math/auto-libm-test-out: Regenerated.
7267 * sysdeps/i386/fpu/libm-test-ulps: Update.
7268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7269
7270 2015-03-23 Roland McGrath <roland@hack.frob.com>
7271
7272 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7273 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7274 _IO_IS_APPENDING bit in READ_WRITE instead.
7275
7276 2015-03-23 Florian Weimer <fweimer@redhat.com>
7277
7278 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7279 (__determine_cpumask_size): Replace extend_alloca with a
7280 variable-length array. Do not treat res == 0 as an error.
7281
7282 2015-03-23 Florian Weimer <fweimer@redhat.com>
7283
7284 [BZ #18100]
7285 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7286 and integer overflow.
7287 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7288 (main): Add integer overflow tests.
7289 * manual/pattern.texi (Calling Wordexp): Document additional use
7290 for WRDE_SYNTAX.
7291
7292 2015-03-23 Alan Modra <amodra@gmail.com>
7293
7294 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7295 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7296 and false branch of conditional.
7297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7298 Likewise.
7299
7300 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7301
7302 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7303 libc-modules.h
7304 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7305 unused declaration of _hurd_intr_rpc_msg_in_trap.
7306 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7307 defined instead of whether it is non-zero.
7308 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7309 input constraint instead of both input and output constraint. Use ecx
7310 clobber instead of %ecx.
7311 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7312 mutex_unlock): Use a statement expression instead of an expression list.
7313 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7314 type to vm_size_t instead of vm_address_t.
7315 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7316 defined instead of whether it is non-zero.
7317 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7318 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7319 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7320 comparisons with mapaddr.
7321 * nscd/nscd-client.h: Include <time.h>.
7322 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7323 9th parameter to __vm_region instead of int.
7324 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7325 * scripts/check-local-headers.sh (exclude): Add device/,
7326 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7327 cthreads.h.
7328
7329 2015-03-19 Roland McGrath <roland@hack.frob.com>
7330
7331 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7332 to account for alignment padding.
7333 * sysdeps/arm/memmove.S: Likewise.
7334
7335 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7336
7337 * sysdeps/unix/sysv/linux/generic/README: New file.
7338
7339 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7340
7341 [BZ #18138]
7342 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7343 (futex_abstimed_wait)
7344 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7345 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7346 of lll_futex_timed_wait.
7347
7348 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7349
7350 [BZ #17542]
7351 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7352
7353 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7354
7355 [BZ #17090]
7356 [BZ #17620]
7357 [BZ #17621]
7358 [BZ #17628]
7359 * NEWS: Update.
7360 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7361 entries with Static TLS too. Skip entries past the end of the
7362 allocated DTV, from Alan Modra.
7363 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7364 Static TLS DTV entry set up from...
7365 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7366 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7367 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7368 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7369 for Static TLS.
7370 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7371 that the slot we find is associated with the given map before
7372 using its generation count.
7373 * nptl_db/db_info.c: Include ldsodefs.h.
7374 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7375 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7376 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7377 (link_map::l_tls_offset): New struct field.
7378 (dtv_t::counter): Likewise.
7379 (rtld_global): New struct.
7380 (_rtld_global): New rtld variable.
7381 (dl_tls_dtv_slotinfo_list): New rtld global field.
7382 (dtv_slotinfo_list): New struct.
7383 (dtv_slotinfo): Likewise.
7384 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7385 (td_lookup): Rename to...
7386 (td_mod_lookup): ... this. Use new mod parameter instead of
7387 LIBPTHREAD_SO.
7388 * nptl_db/td_thr_tlsbase.c: Include link.h.
7389 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7390 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7391 addresses even if the DTV is out of date or missing them.
7392 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7393 index zero-length arrays.
7394 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7395 (td_lookup): Make it a macro implemented in terms of...
7396 (td_mod_lookup): ... this declaration.
7397 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7398 (DB_MAIN_VARIABLE): Likewise.
7399
7400 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7401
7402 [BZ #18134]
7403 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7404
7405 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7406
7407 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7408
7409 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7410
7411 [BZ #18128]
7412 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7413 (atomic_add, atomic_increment_and_test)
7414 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7415
7416 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7417
7418 * stdlib/setenv.c (__add_to_environ):
7419 Dump core quickly if setenv (..., NULL, ...) is called.
7420
7421 2015-03-13 Roland McGrath <roland@hack.frob.com>
7422
7423 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7424 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7425 all the necessary asm magic in one place.
7426 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7427 using those.
7428
7429 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7430
7431 [BZ #14906]
7432 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7433 traced file mtime. Use consistent log message.
7434 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7435 (register_traced_file): Call install_watches. Always set mtime.
7436 (invalidate_cache): Iterate over all trace files. Call install_watches.
7437 (inotify_check_files): Don't inline. Handle watching parent
7438 directories and configuration file movement in and out.
7439 (handle_inotify_events): New function.
7440 (main_loop_poll): Call handle_inotify_events.
7441 (main_loop_epoll): Likewise.
7442 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7443 (struct traced_file): Use array of inotify fds. Add parent directory,
7444 and basename.
7445 (struct database_dyn): Remove unused file_mtime.
7446 (init_traced_file): New inline function.
7447 (define_traced_file): New macro.
7448 * nss/nss_db/db-init.c: Use define_traced_file.
7449 (_nss_db_init): Use init_traced_file.
7450 * nss/nss_files/files-init.c: Use define_traced_file.
7451 (_nss_files_init): Use init_traced_file.
7452
7453 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7454
7455 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7456 [_LIBC]: Do not include <stdlib.h>.
7457 [!_LIBC] (abort): Remove declaration.
7458 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7459 _FP_STATIC_ASSERT instead of conditionally calling abort.
7460 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7461 (_FP_EXTEND_CNAN): Likewise.
7462 (FP_TRUNC): Likewise.
7463 (__FP_CLZ): Likewise.
7464 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7465
7466 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7467
7468 * manual/string.texi (XPG basename): Fix prototype.
7469
7470 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7471
7472 [BZ #18080]
7473 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7474 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7475 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7476 (__setcontext): Likewise.
7477 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7478 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7479 Call rt_sigprocmask syscall one time to set new signal mask
7480 and retrieve the current signal mask instead of two calls.
7481 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7482 (__swapcontext): Likewise.
7483 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7484 * stdlib/tst-setcontext2.c: New file.
7485
7486 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7487
7488 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7489
7490 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7491
7492 [BZ #18093]
7493 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7494 the wrong size.
7495
7496 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7497
7498 [BZ #18043]
7499 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7500
7501 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7502
7503 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7504 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7505 Remove define.
7506 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7507 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7508 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7509 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7510 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7511 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7512 define.
7513 * nptl_db/td_symbol_list.c (td_lookup): Remove
7514 HAVE_ASM_GLOBAL_DOT_NAME code.
7515 * sysdeps/powerpc/powerpc64/configure.ac: Remove
7516 HAVE_ASM_GLOBAL_DOT_NAME check.
7517 * sysdeps/powerpc/powerpc64/configure: Regenerate.
7518 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7519 (DOT_LABEL): Remove define.
7520 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7521 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7522 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7523 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7524 (__TLS_GET_ADDR): Likewise.
7525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7526 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7527
7528 2015-03-11 Carlos O'Donell <carlos@redhat.com>
7529
7530 [BZ #18111]
7531 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7532 (_FPU_SETCW): Initialize cw from fpsr before storing.
7533 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7534 (fesetexceptflag): Rewrite using fpu_control.h.
7535 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7536
7537 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
7538
7539 [BZ #18110]
7540 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7541 asms.
7542 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7543
7544 2015-03-11 Joseph Myers <joseph@codesourcery.com>
7545
7546 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7547 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7548 abort.
7549 (_FP_FMA): Likewise.
7550 (_FP_DIV): Likewise.
7551
7552 2015-03-10 Roland McGrath <roland@hack.frob.com>
7553
7554 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7555 with 0 in that case.
7556 * Makefile (summarize-tests): New canned sequence, factored out of
7557 commands for targets tests and xtests. Display summary lines that
7558 don't start with PASS: or XFAIL: rather than ones that do start with
7559 ERROR: or FAIL:. Make the commands fail if any summary lines fail
7560 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7561 do start with ERROR: or FAIL:.
7562 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7563 (except for [$(build-shared) = yes]).
7564 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7565 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7566 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7567 * nptl/Makefile: Revert 2015-03-04 changes.
7568 [$(CXX) empty] (tests-unsupported): New variable.
7569 * debug/Makefile: Likewise.
7570
7571 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7572 gnulib file. Replace __attribute with __attribute__ throughout.
7573
7574 2015-03-10 Carlos O'Donell <carlos@redhat.com>
7575
7576 * sysdeps/hppa/fpu/libm-test-ulps: Update.
7577
7578 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7579
7580 [BZ #18104]
7581 * math/auto-libm-test-in: Add another test of pow.
7582 * math/auto-libm-test-out: Regenerated.
7583
7584 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7585
7586 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7587 $(config-cflags-nofma).
7588
7589 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7590
7591 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7592 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7593 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7594 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7595 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7596 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7597 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7598 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7599 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7600 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7601 Add comment on closing #endif.
7602
7603 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7604
7605 * posix/wordexp.c (CHAR_IN_SET): New macro.
7606 (parse_param): Use it.
7607
7608 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7609
7610 * sysdeps/powerpc/fpu/libm-test-ulps: update.
7611
7612 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7613
7614 [BZ #18043]
7615 * posix/wordexp.c (parse_param): Fix buffer overflow.
7616 * posix/wordexp-test.c (test_case): Add test case.
7617
7618 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7619
7620 [BZ #18042]
7621 * posix/wordexp.c (parse_backtick): Fix off-by-one.
7622 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7623
7624 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7625
7626 [BZ #18043]
7627 * posix/wordexp-test.c (test_case): Add test for BZ #18043
7628 (do_bz18043): Delete.
7629 (at_page_end): New.
7630 (testit): Refactor to have words at the edge of unreadable page.
7631
7632 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7633
7634 [BZ #16734]
7635 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7636 Cleanup read-only streams as well.
7637 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7638
7639 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7640
7641 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7642 <bits/libc-lockP.h>
7643
7644 2015-03-07 Joseph Myers <joseph@codesourcery.com>
7645
7646 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
7647 on [__KERNEL__].
7648 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7649 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7650 * soft-fp/op-common.h (_FP_DECL): Likewise.
7651
7652 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
7653
7654 * elf/ifuncdep2.c (global): Replace
7655 __attribute__((visibility("protected"))) with
7656 asm (".protected global").
7657 * elf/ifuncmod1.c (global): Likewise.
7658 * elf/ifuncmod5.c (global): Likewise.
7659
7660 2015-03-06 Joseph Myers <joseph@codesourcery.com>
7661
7662 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7663 <asm/sfp-machine.h> instead of <sfp-machine.h>.
7664
7665 2015-03-06 Roland McGrath <roland@hack.frob.com>
7666
7667 * manual/install.texi (Configuring and compiling):
7668 Document test-wrapper-env-only.
7669 * INSTALL: Regenerated.
7670
7671 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7672
7673 [BZ #18043]
7674 * posix/wordexp.c (parse_param): Fix buffer overflow.
7675 * posix/wordexp-test.c (do_bz18043): Add test case.
7676
7677 2015-03-06 Vincent Bernat <vincent@bernat.im>
7678
7679 * time/tst-strptime2.c (do_test): Ensure failing tests are
7680 reported correctly.
7681 * time/tst-strptime3.c (do_test): Likewise.
7682
7683 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
7684
7685 Fix aio_error thread-safety.
7686 * sysdeps/pthread/aio_error.c: New file
7687 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7688 synchronization.
7689
7690 2015-03-06 Florian Weimer <fweimer@redhat.com>
7691
7692 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7693 (group_number, vfprintf): Use it.
7694 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7695 (JUMP, REF): Use it.
7696 (WORK_BUFFER_SIZE): New enum constant.
7697 (process_arg, vfprintf): Use it.
7698
7699 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
7700
7701 * manual/errno.texi (Error Messages): Complete example function
7702 by adding missing #define.
7703 (program_invocation_name): Add statement indicating GNU
7704 extension and reference which header file declares the variable.
7705 (program_invocation_short_name): Likewise.
7706
7707 2015-03-06 Mike Frysinger <vapier@gentoo.org>
7708
7709 * manual/errno.texi (Error Messages): Delete strerror ISO C89
7710 compatibility note.
7711
7712 2015-03-05 Roland McGrath <roland@hack.frob.com>
7713
7714 * Makeconfig (test-wrapper-env-only): New variable.
7715 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7716 then use that with $(test-wrapper-env-only) rather than using
7717 $(test-wrapper-env) $(run-program-env) $($*-ENV).
7718
7719 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
7720
7721 [BZ #18082]
7722 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7723 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7724 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7725 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7726 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7727 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7728 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7729 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7730 Likewise.
7731 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7732 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7733 Likewise.
7734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7735 Likewise.
7736 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7737 Likewise.
7738 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7739 Likewise.
7740 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7741 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7742 Likewise.
7743 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7744 Likewise.
7745 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7746 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7747
7748 2015-03-04 Roland McGrath <roland@hack.frob.com>
7749
7750 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7751 (ETH_ALEN): New macro.
7752 (struct ether_addr): Use it for length of ether_addr_octet.
7753
7754 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7755 (setdb): Don't call __nss_configure_lookup for "rpc".
7756 (do_test): Don't call test_rpc.
7757 (output_rpcent, test_rpc): Functions moved ...
7758 * sunrpc/test-rpcent.c: ... to this new file.
7759 * sunrpc/Makefile (tests): Add it.
7760
7761 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7762 __xpg_sigpause.
7763 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7764 * nptl/tst-signal6.c: Likewise.
7765 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7766 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7767
7768 * configure.ac (libc_cv_cxx_link_ok): New check.
7769 Reset CXX to empty if it fails to link.
7770 * configure: Regenerated.
7771 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7772 bug-atexit3-lib only if $(CXX) is nonempty.
7773 * nptl/Makefile (tests): Likewise for tst-cancel24.
7774 (tests, tests-static): Likewise for tst-cancel24-static.
7775 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7776 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7777 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7778 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7779
7780 2015-03-04 Andreas Schwab <schwab@suse.de>
7781
7782 [BZ #17631]
7783 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7784 for non-GCC compilers.
7785 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7786 Likewise.
7787
7788 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7789
7790 [BZ #17776]
7791 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7792 integer before bitwise and assembly operations.
7793 (feclearexcept): Likewise.
7794 * math/test-fenvinline.c: New file.
7795 * math/Makefile: Add test-fenvinline test.
7796
7797 2015-03-03 Alan Modra <amodra@gmail.com>
7798
7799 [BZ #16512]
7800 * scripts/localplt.awk: Strip off symbol version.
7801 * NEWS: Mention bug fix.
7802
7803 2015-03-02 Roland McGrath <roland@hack.frob.com>
7804
7805 * sysdeps/pthread/timer_routines.c
7806 (timer_free_list, thread_free_list, thread_active_list): Make static.
7807
7808 2015-03-02 Joseph Myers <joseph@codesourcery.com>
7809
7810 [BZ #17779]
7811 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7812 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7813 Undefine.
7814 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7815 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7816 Likewise.
7817 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7818 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7819 Likewise.
7820
7821 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7822
7823 [BZ #18036]
7824 * posix/fnmatch_loop.c (END): Detect invalid pattern.
7825 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7826
7827 2015-03-02 Andreas Schwab <schwab@suse.de>
7828
7829 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7830 variable name.
7831
7832 2015-03-02 Florian Weimer <fweimer@redhat.com>
7833
7834 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7835 Return error status.
7836
7837 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
7838
7839 [BZ #15969]
7840 * locale/findlocale.c (_nl_find_locale): Introduce const
7841 version of loc_name and drop unsafe type casts.
7842
7843 2015-02-27 Roland McGrath <roland@hack.frob.com>
7844
7845 * dlfcn/tststatic2.c (main): Converted to ...
7846 (do_test): ... this.
7847 (TEST_FUNCTION): New macro.
7848 Include test-skeleton.c.
7849
7850 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
7851
7852 [BZ #17711]
7853 * elf/Makefile (tests): Add vismain only if PIE is enabled.
7854 (tests-pie): Add vismain.
7855 (CFLAGS-vismain.c): New.
7856 * elf/vismain.c: Add comments for PIE requirement.
7857
7858 2015-02-27 Joseph Myers <joseph@codesourcery.com>
7859
7860 [BZ #18046]
7861 [BZ #18047]
7862 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7863 0x1p-56L as threshold for just returning the argument.
7864 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7865 0x1p-32L as threshold for just returning the argument.
7866 * math/auto-libm-test-in: Add more tests of atanh.
7867 * math/auto-libm-test-out: Regenerated.
7868 * sysdeps/i386/fpu/libm-test-ulps: Update.
7869 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7870
7871 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
7872
7873 * string/bcopy.c (bcopy): Call memmove for performance.
7874
7875 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
7876
7877 * string/bzero.c (__bzero): Call memset for performance.
7878
7879 2015-02-27 John David Anglin <dave.anglin@bell.net>
7880
7881 [BZ #18068]
7882 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7883 to 00100000.
7884
7885 2015-02-27 Joseph Myers <joseph@codesourcery.com>
7886
7887 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7888
7889 2015-02-26 Joseph Myers <joseph@codesourcery.com>
7890
7891 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7892 (__kernel_standard): Use CSTR macro when setting exc.name.
7893 * sysdeps/ieee754/Makefile [$(subdir) = math]
7894 (CFLAGS-k_standard.c): Remove variable.
7895
7896 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7897 setting p and q from "else if" to "else".
7898 (qzero): Likewise.
7899 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7900 (qone): Likewise.
7901 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7902 (qzerof): Likewise.
7903 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7904 (qonef): Likewise.
7905 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7906 (qzero): Likewise.
7907 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7908 (qone): Likewise.
7909
7910 [BZ #18038]
7911 [BZ #18039]
7912 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7913 return pi/2 for arguments below 0x1p-113L.
7914 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7915 return pi/2 for arguments below 0x1p-106L.
7916 * math/auto-libm-test-in: Add more tests of acos.
7917 * math/auto-libm-test-out: Regenerated.
7918
7919 [BZ #16351]
7920 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7921 (MO): New macro.
7922 (__ieee754_asin): Force underflow exception for results with small
7923 absolute value.
7924 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7925 (MO): New macro.
7926 (__ieee754_asinf): Force underflow exception for results with
7927 small absolute value.
7928 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7929 (__ieee754_asin): Force underflow exception for results with small
7930 absolute value.
7931 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7932 (__ieee754_asinf): Force underflow exception for results with
7933 small absolute value.
7934 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7935 (__ieee754_asinl): Force underflow exception for results with
7936 small absolute value.
7937 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7938 (__ieee754_asinl): Force underflow exception for results with
7939 small absolute value.
7940 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7941 (__ieee754_asinl): Force underflow exception for results with
7942 small absolute value.
7943 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7944 Include <math.h>.
7945 * math/auto-libm-test-in: Do not mark underflow exceptions as
7946 possibly missing for bug 16351.
7947 * math/auto-libm-test-out: Regenerated.
7948
7949 [BZ #18030]
7950 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7951 of power of 2 down when low part has opposite sign.
7952 * math/libm-test.inc (logb_test_data): Add more tests.
7953
7954 2015-02-26 Andreas Schwab <schwab@suse.de>
7955
7956 [BZ #18032]
7957 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7958 over collating symbol inside a bracket expression. Minor cleanup.
7959 * posix/tst-fnmatch3.c (do_test): Add test case.
7960
7961 2015-02-26 Joseph Myers <joseph@codesourcery.com>
7962
7963 [BZ #18029]
7964 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7965 Adjust exponent of power of 2 down when low part has opposite
7966 sign.
7967 * math/libm-test.inc (ilogb_test_data): Add more tests.
7968
7969 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
7970
7971 [BZ #15969]
7972 * locale/findlocale.c (_nl_find_locale): Fix constness error in
7973 the previous change.
7974
7975 [BZ #15969]
7976 * locale/findlocale.c (_nl_find_locale): Retry archive search
7977 after alias expansion.
7978
7979 2015-02-25 Roland McGrath <roland@hack.frob.com>
7980
7981 * iconv/tst-iconv3.c (main): Converted to ...
7982 (do_test): ... this.
7983 (TEST_FUNCTION): New macro.
7984 Include test-skeleton.c.
7985
7986 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7987 (convert): Make function static.
7988 (test_unalign): Likewise. Add const to argument pointee types.
7989 (main): Replace with static function do_test.
7990 Print "Succeeded." only if RET is zero.
7991 (TEST_FUNCTION): New macro.
7992 Include test-skeleton.c.
7993
7994 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7995 returns a null pointer.
7996
7997 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7998
7999 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8000 to __memcpy_ppc only for static builds.
8001
8002 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8003
8004 [BZ #18020]
8005 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8006 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8007 * math/auto-libm-test-in: Add more tests of asinh.
8008 * math/auto-libm-test-out: Regenerated.
8009 * sysdeps/i386/fpu/libm-test-ulps: Update.
8010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8011
8012 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8013
8014 [BZ #15850]
8015 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8016 and ip6_mtuinfo definitions here.
8017 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8018 in this define too. Update comment.
8019
8020 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8021
8022 * elf/sprof.c (load_shobj): Tweak error message to match others.
8023
8024 2015-02-24 Kevin Easton <kevin@guarana.org>
8025
8026 [BZ #16145] (partial fix)
8027 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8028 to reduce lock contention.
8029
8030 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8031
8032 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8033 (struct timex): Update time comment.
8034 (ADJ_SETOFFSET): Define.
8035
8036 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8037
8038 [BZ #18019]
8039 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8040 2**56 not 2**28 as threshold for log (2x) formula.
8041 * math/auto-libm-test-in: Add more tests of acosh.
8042 * math/auto-libm-test-out: Regenerated.
8043 * sysdeps/i386/fpu/libm-test-ulps: Update.
8044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8045
8046 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8047
8048 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8049 parenthesis around the buf assignment.
8050 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8051
8052 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8053
8054 [BZ #16783]
8055 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8056 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8057 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8058 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8059 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8060 * math/libm-test.inc (scalb_test_data): Add more tests.
8061
8062 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8063
8064 [BZ #17916]
8065 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8066 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8067
8068 2015-02-24 Eric Rannaud <e@nanocritical.com>
8069
8070 [BZ #17523]
8071 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8072 * io/bits/fcntl2.h (open): Use it.
8073 (openat): Likewise.
8074 * io/open.c (__libc_open): Likewise.
8075 * io/open64.c (__libc_open64): Likewise.
8076 * io/open64_2.c (__open64_2): Likewise.
8077 * io/open_2.c (__open_2): Likewise.
8078 * io/openat.c (__openat): Likewise.
8079 * io/openat64.c (__openat64): Likewise.
8080 * io/openat64_2.c (__openat64_2): Likewise.
8081 * io/openat_2.c (__openat_2): Likewise.
8082 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8083 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8084 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8085 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8086 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8087 (__open_nocancel): Likewise.
8088 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8089 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8090 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8091
8092 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8093
8094 [BZ #14841]
8095 * resolv/gethnamaddr.c (getanswer): Skip logging if
8096 RES_USE_DNSSEC is set.
8097 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8098
8099 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8100
8101 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8102
8103 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8104
8105 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8106 201304L, for Unicode 7.
8107
8108 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8109
8110 [BZ #17836]
8111 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8112 shared library. Add gmon-start.os otherwise.
8113 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8114 $(objpfx)gmon-start.os if builing shared library.
8115 ($(objpfx)g$(static-start-installed-name)): Likewise.
8116
8117 2015-02-23 Andreas Schwab <schwab@suse.de>
8118
8119 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8120
8121 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8122
8123 [BZ #17269]
8124 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8125 (enlarge_userbuf): Likewise.
8126
8127 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8128
8129 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8130 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8131 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8132 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8133
8134 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8135
8136 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8137 expression inside statement expression.
8138
8139 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8140
8141 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8142 <sysdeps/nptl/lowlevellock.h> and remove macros and
8143 functions that are now defined there.
8144 (SYS_futex): Remove.
8145 (lll_compare_and_swap): Remove.
8146 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8147
8148 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8149
8150 [BZ #17999]
8151 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8152 instead of scandirat.
8153 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8154 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8155 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8156 __scandirat.
8157 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8158 (__scandirat): Declare. Use libc_hidden_proto.
8159 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8160 Remove variable.
8161 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8162
8163 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8164
8165 [BZ #15319]
8166 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8167 (MO): New macro.
8168 (__ieee754_atan2): For results with small absolute value, force
8169 underflow exception and remove excess range and precision from
8170 return value.
8171 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8172 (MO): New macro.
8173 (__ieee754_atan2f): For results with small absolute value, force
8174 underflow exception and remove excess range and precision from
8175 return value.
8176 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8177 (MO): New macro.
8178 (__atan): For results with small absolute value, force underflow
8179 exception and remove excess range and precision from return value.
8180 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8181 (MO): New macro.
8182 (__atanf): For results with small absolute value, force underflow
8183 exception and remove excess range and precision from return value.
8184 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8185 <math.h>.
8186 (__ieee754_atan2): Force underflow exception for results with
8187 small absolute value.
8188 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8189 <math_private.h>.
8190 (atan): Force underflow exception for results with small absolute
8191 value.
8192 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8193 (__atanf): Force underflow exception for results with small
8194 absolute value.
8195 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8196 <math.h>.
8197 (__atanl): Force underflow exception for results with small
8198 absolute value.
8199 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8200 (__atanl): Force underflow exception for results with small
8201 absolute value.
8202 * sysdeps/x86/fpu/bits/mathinline.h
8203 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8204 (__ieee754_atan2): Only define inline for long double.
8205 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8206 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8207 * math/auto-libm-test-in: Do not mark underflow exceptions as
8208 possibly missing for bug 15319. Add more tests of atan2.
8209 * math/auto-libm-test-out: Regenerated.
8210 * math/libm-test.inc (casin_test_data): Do not mark underflow
8211 exceptions as possibly missing for bug 15319.
8212 (casinh_test_data): Likewise.
8213 * sysdeps/i386/fpu/libm-test-ulps: Update.
8214
8215 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8216
8217 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8218 * sysdeps/mips/bits/endian.h: Fix comments.
8219
8220 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8221
8222 [BZ #17996]
8223 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8224 (hdestroy_r): Likewise.
8225 (hsearch_r): Likewise.
8226 (__hcreate_r): Declare and use libc_hidden_proto.
8227 (__hdestroy_r): Likewise.
8228 (__hsearch_r): Likewise.
8229 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8230 (hcreate): Call __hcreate_r instead of hcreate_r.
8231 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8232 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8233 as weak alias of __hcreate_r.
8234 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8235 __hdestroy_r.
8236 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8237 __hsearch_r.
8238 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8239 Remove variable.
8240 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8241 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8242 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8243 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8244
8245 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8246
8247 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8248 arena_lock into a single arena_get.
8249
8250 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8251
8252 * dl-reloc.c: Inlucde libc-internal.h.
8253 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8254 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8255 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8256 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8257 (grow_heap): Likewise.
8258 * malloc/malloc.c: Include libc-internal.h.
8259 (do_check_malloc): Call powerof2.
8260 (sysmalloc): Use pagesize. Call ALIGN_UP.
8261 (systrim): Use pagesize.
8262 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8263 (__libc_valloc): Use pagesize.
8264 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8265
8266 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8267
8268 [BZ #17991]
8269 * include/sys/resource.h (__getrlimit64): Declare. Use
8270 libc_hidden_proto.
8271 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8272 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8273 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8274 getrlimit64.
8275 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8276 __getrlimit64.
8277 [!getrlimit64] (getrlimit64): Define as weak alias of
8278 __getrlimit64. Use libc_hidden_weak.
8279 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8280 using __getrlimit64 not __new_getrlimit64.
8281 (__GI_getrlimit64): Likewise.
8282 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8283 Likewise.
8284 (__GI_getrlimit64): Likewise.
8285 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8287 (getrlimit): Add __getrlimit64 alias.
8288 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8289 Likewise.
8290 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8291 Remove variable.
8292 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8293 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8294
8295 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8296
8297 * libio/fileops.c: Add missing sys/mman.h
8298 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8299
8300 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8301
8302 * manual/math.texi (Errors in Math Functions): Clarify goals
8303 regarding inexact and underflow exceptions.
8304
8305 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8306
8307 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8308 * sysdeps/mips/memset.S: Ditto.
8309
8310 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8311
8312 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8313
8314 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8315
8316 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8317 (__v1longjmp): Remove versioned symbol.
8318 (__v1siglongjmp): Remove alias and versioned symbol.
8319 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8320 (__v2siglongjmp): Likewise.
8321
8322 2015-02-16 Torvald Riegel <triegel@redhat.com>
8323
8324 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8325
8326 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8327
8328 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8329
8330 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8331
8332 [BZ #17987]
8333 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8334 zero result does not depend on the sign resulting from
8335 subtraction.
8336 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8337 Likewise.
8338 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8339 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8340 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8341 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8342 * math/libm-test.inc (remquo_test_data): Add more tests.
8343
8344 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8345
8346 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8347 Problem reported by J William Piggott.
8348
8349 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8350
8351 [BZ #17978]
8352 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8353 products 4 * y and 2 * y where those would overflow.
8354 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8355 Likewise.
8356 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8357 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8358 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8359 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8360 * math/libm-test.inc (remquo_test_data): Add more tests.
8361
8362 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8363
8364 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8365 [defined _COMPILING_NEWLIB].
8366 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8367 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8368
8369 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8370 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8371
8372 2015-02-16 Torvald Riegel <triegel@redhat.com>
8373
8374 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8375 acquired.
8376
8377 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8378
8379 [BZ #17792]
8380 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8381 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8382 HOST_STACK_END_ADDR): Likewise.
8383
8384 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8385
8386 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8387 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8388 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8389
8390 2015-02-13 Roland McGrath <roland@hack.frob.com>
8391
8392 * sysdeps/generic/c++-types.data: New file.
8393 * sysdeps/generic/ld.abilist: New file.
8394 * sysdeps/generic/libBrokenLocale.abilist: New file.
8395 * sysdeps/generic/libanl.abilist: New file.
8396 * sysdeps/generic/libc.abilist: New file.
8397 * sysdeps/generic/libcrypt.abilist: New file.
8398 * sysdeps/generic/libdl.abilist: New file.
8399 * sysdeps/generic/libm.abilist: New file.
8400 * sysdeps/generic/libpthread.abilist: New file.
8401 * sysdeps/generic/libresolv.abilist: New file.
8402 * sysdeps/generic/librt.abilist: New file.
8403
8404 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8405
8406 [BZ #17569]
8407 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8408 Compute absolute value of x as modified by fmod, not original
8409 value of x.
8410 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8411 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8412 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8413 RUN_TEST_ffI_f1_mod8.
8414 (remquo_test_data): Add more tests.
8415
8416 2015-02-13 Roland McGrath <roland@hack.frob.com>
8417
8418 * sysdeps/init_array/pt-crti.S: New file.
8419
8420 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8421
8422 [BZ #17967]
8423 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8424 __builtin_fmaf instead of relying on contraction of a * b + c.
8425
8426 2015-02-12 J William Piggott <elseifthen@gmx.com>
8427
8428 [BZ #17969]
8429 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8430 node.
8431
8432 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8433
8434 [BZ #17964]
8435 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8436 __builtin_fma instead of relying on contraction of a * b + c.
8437
8438 2015-02-12 Roland McGrath <roland@hack.frob.com>
8439
8440 * Makeconfig (ASFLAGS): Add -Werror=undef.
8441 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8442 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8443 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8444
8445 * Makeconfig (after-link): New variable.
8446 (+link-pie, +link-pie-tests): Use it.
8447 (+link-static, +link-static-tests): Likewise.
8448 (+link, +link-tests): Likewise.
8449 * Makerules (build-module, build-module-asneeded): Likewise.
8450 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8451 Likewise.
8452 * elf/Makefile ($(objpfx)ld.so): Likewise.
8453
8454 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8455
8456 [BZ #17965]
8457 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8458 both struct timeval and struct timespec.
8459
8460 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8461
8462 [BZ #16560]
8463 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8464 and redefine.
8465 (__ieee754_exp2l): Do not multiply small fractional parts by
8466 M_LN2l.
8467 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8468 small argument.
8469 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8470 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8471 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8472 * math/auto-libm-test-in: Add more tests of exp2.
8473 * math/auto-libm-test-out: Regenerated.
8474
8475 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8476
8477 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8478 unaligned path.
8479
8480 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8481
8482 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8483 little endian.
8484
8485 2015-02-12 Andreas Schwab <schwab@suse.de>
8486
8487 [BZ #15790]
8488 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8489 Filter out elision flags from value returned in kind.
8490 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8491 * nptl/tst-pthread-mutexattr.c: New file.
8492
8493 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8494
8495 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8496 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8497 into gnu-gnu, and update comment to refer to abi-tags.
8498
8499 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8500
8501 [BZ #15467]
8502 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8503 (__sincos): Set errno to EDOM for infinite argument.
8504 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8505 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8506 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8507 (__sincosl): Set errno to EDOM for infinite argument.
8508 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8509 (__sincosl): Set errno to EDOM for infinite argument.
8510 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8511 (__sincosl): Set errno to EDOM for infinite argument.
8512 * math/libm-test.inc (sincos_test_data): Test errno setting.
8513
8514 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
8515
8516 * string/strxfrm_l.c: Remove #define STRCMP.
8517 * string/strcoll_l.c: Remove #define STRLEN.
8518 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8519 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8520
8521 2015-02-10 Joseph Myers <joseph@codesourcery.com>
8522
8523 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8524 * sysdeps/mips/mips32/sfp-machine.h: ... here.
8525 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8526 * sysdeps/mips/mips64/Makefile: ... here.
8527 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8528 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8529 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8530 * sysdeps/mips/mips64/sfp-machine.h: ... here.
8531 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8532 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8533 * sysdeps/mips/mips64/n64/Implies: Likewise.
8534
8535 2015-02-10 Roland McGrath <roland@hack.frob.com>
8536
8537 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8538 <sys/time.h>, <string.h>, and <errno.h>.
8539 (dest_offset, dest_address, value, zero): Remove unused variables.
8540 (ldouble): Remove typedef.
8541 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8542 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
8543 1). Fix code style.
8544 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8545 (check): Function removed.
8546 (CHECK): New macro.
8547 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
8548 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8549 Don't call set_sigaction_FP and remove_sigaction_FP here.
8550 (ldouble_test): Just use 'long double' as macro argument, no need for
8551 the 'ldouble' typedef.
8552 (do_test): Set up SIGFPE handler at start, using plain signal rather
8553 than sigaction. Fix code style.
8554
8555 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
8556
8557 [BZ #17949]
8558 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8559 jump label.
8560
8561 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8562
8563 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8564 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8565
8566 * sysdeps/powerpc/configure.ac: Remove file.
8567 * sysdeps/powerpc/configure: Likewise.
8568
8569 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8570 [sysdep_routines]: Remove wordcopy-power6 object.
8571 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8572 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8573 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8574 (__memmove_ppc32): Likewise.
8575 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8576 file.
8577 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8578 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8579 Remove preprocessor.
8580
8581 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8582 [sysdep_routines]: Remove wide chars objects.
8583 [wcsmbs]: New rule for wide char objects.
8584
8585 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8586 Remove wordcopy-power6 obejct.
8587 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8588 Use local call for wordcopy and memcpy symbols.
8589 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8590 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8591 implementation for loader.
8592 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8593
8594 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8595 Remove wordcopy-power7 object.
8596 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8597 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8598 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8599 (_wordcopy_fwd_dest_aligned): Likewise.
8600 (_wordcopy_bwd_aligned): Likewise.
8601 (_wordcopy_bwd_dest_aligned): Likewise.
8602
8603 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8604 Rewrite to call __memmove_ppc instead of include default
8605 implementation.
8606
8607 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8608 Remove wide chars objects.
8609 [wcsmbs]: New rule for wide char objects.
8610
8611 2015-02-09 Andreas Schwab <schwab@suse.de>
8612
8613 [BZ #17912]
8614 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8615 in terms of __O_DIRECTORY.
8616
8617 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8618
8619 * time/getdate.c: Include <stdbool.h>.
8620 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8621 call PTR_MANGLE.
8622 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8623 PTR_DEMANGLE.
8624
8625 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
8626
8627 Add ersatz _Static_assert on older C hosts
8628 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8629 pre-C11 C platform that is not known to support _Static_assert.
8630
8631 2015-02-07 Richard Braun <rbraun@sceen.net>
8632
8633 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8634 sigstate.
8635 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8636
8637 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8638
8639 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8640 priority against unexistent AIO_PRIO_DELTA_MAX.
8641 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8642 instead of int.
8643 * misc/fchflags.c (fchflags): Likewise.
8644 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8645 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8646 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8647 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8648 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8649 Declare macros.
8650 [__USE_MISC] (chflags, fchflags): Declare functions.
8651 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8652 EINVAL when nfds is greater than FD_SETSIZE.
8653 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8654 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8655 45.
8656 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8657 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8658 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8659 MACH_RCV_TIMED_OUT.
8660 * hurd/hurd/signal.h (_hurd_self_sigstate,
8661 _hurd_critical_section_lock, _hurd_critical_section_unlock):
8662 Explicit casts from void *.
8663 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8664 * abi-tags: Rename gnu-gnu os into gnu.
8665
8666 [BZ #4719]
8667 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8668 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8669 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8670 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8671 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8672 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8673
8674 [BZ #17944]
8675 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8676 duplicates ADDR->sun_path with sockaddr LEN limitation.
8677 * sysdeps/mach/hurd/connect.c: Include <string.h>
8678 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8679 * sysdeps/mach/hurd/sendmsg.c: Likewise.
8680 * sysdeps/mach/hurd/sendto.c: Likewise.
8681 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8682 implementing it by hand.
8683
8684 2015-02-06 Roland McGrath <roland@hack.frob.com>
8685
8686 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8687 Use sfi_breg on ldr.
8688 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8689 Likewise.
8690
8691 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8692 it's defined.
8693 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8694 Test SIGSETXID only if it's defined.
8695
8696 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8697
8698 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8699 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
8700
8701 * nptl/tst-align2.c: Moved ...
8702 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8703 * nptl/Makefile (tests): Remove tst-align2.
8704 * sysdeps/unix/sysv/linux/Makefile
8705 [$(subdir) = nptl] (tests): Add tst-align-clone.
8706 * nptl/tst-getpid1.c: Moved ...
8707 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8708 * nptl/tst-getpid2.c: Moved ...
8709 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8710 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8711 * sysdeps/unix/sysv/linux/Makefile
8712 [$(subdir) = nptl] (tests): ... here.
8713 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8714 * sysdeps/unix/sysv/linux/Makefile
8715 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8716
8717 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8718 Drop trailing \n from perror argument. Use return rather than exit.
8719
8720 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8721 on [SA_SIGINFO].
8722 * nptl/tst-cancel21.c (do_test): Likewise.
8723 * debug/tst-backtrace6.c: Include <signal.h> first thing.
8724 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8725 [!SA_SIGINFO]: Make it a stub test.
8726
8727 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8728 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8729
8730 * posix/tst-getlogin.c: Move to ...
8731 * login/tst-getlogin.c: ... here.
8732 * posix/Makefile (tests): Move tst-getlogin to ...
8733 * login/Makefile (tests): ... here.
8734
8735 * libio/tst-atime.c (do_test): Move local variables SV and E
8736 inside [ST_NOATIME] conditional.
8737
8738 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8739
8740 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8741
8742 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8743 (wait_code): New function replaces macro.
8744 Call nanosleep rather than syscall.
8745
8746 * nptl/pt-system.c: Rewritten. Put everything under
8747 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8748 Use IFUNC to redirect when possible.
8749
8750 * nptl/pt-longjmp.c: Rewritten. Put everything under
8751 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8752 Use IFUNC to redirect when possible.
8753
8754 * nptl/pt-fork.c: Rewritten. Put everything under
8755 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8756 Use IFUNC to redirect when possible.
8757 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8758
8759 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8760 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8761 unconditionally nowadays. This included the only reference to
8762 __vdso_clock_gettime that appears outside libc proper.
8763 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8764 Remove version set (containing only __vdso_clock_gettime).
8765 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8766 Add attribute_hidden.
8767 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8768 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8769 libc_hidden_data_def.
8770 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8771 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8772
8773 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8774 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8775 setrpcent, and getrpcport to ...
8776 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8777 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8778 getrpcbynumber_r, and getrpcent_r to ...
8779 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8780 * inet/getrpcbyname.c: Moved ...
8781 * sunrpc/getrpcbyname.c: ... here.
8782 * inet/getrpcbyname_r.c: Moved ...
8783 * sunrpc/getrpcbyname_r.c: ... here.
8784 * inet/getrpcbynumber.c: Moved ...
8785 * sunrpc/getrpcbynumber.c: ... here.
8786 * inet/getrpcbynumber_r.c: Moved ...
8787 * sunrpc/getrpcbynumber_r.c: ... here.
8788 * inet/getrpcent.c: Moved ...
8789 * sunrpc/getrpcent.c: ... here.
8790 * inet/getrpcent_r.c: Moved ...
8791 * sunrpc/getrpcent_r.c: ... here.
8792 * inet/Makefile (routines): Move those to ...
8793 * sunrpc/Makefile (routines): ... here.
8794 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8795 the $(subdirs) list.
8796 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
8797 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8798 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8799 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8800
8801 * elf/Makefile (routines): Include $(all-dl-routines), not just
8802 $(dl-routines).
8803 (rtld-routines): Likewise. Use = rather than :=.
8804 * sysdeps/aarch64/Makefile [$(subdir) = elf]
8805 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8806 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8807 * sysdeps/arm/Makefile: Likewise.
8808 * sysdeps/i386/Makefile: Likewise.
8809 * sysdeps/x86_64/Makefile: Likewise.
8810 * sysdeps/hppa/Makefile [$(subdir) = elf]
8811 (sysdep_routines, sysdep-rtld-routines): Don't add
8812 $(sysdep-dl-routines) to these.
8813 * sysdeps/ia64/Makefile: Likewise.
8814 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8815 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8816 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8817 Don't add dl-static to these; sysdep-dl-routines alone is enough.
8818 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8819 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8820 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8821 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8822 * sysdeps/powerpc/Makefile [$(subdir) = elf]
8823 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8824 these; sysdep-dl-routines alone is enough.
8825
8826 2015-02-06 Joseph Myers <joseph@codesourcery.com>
8827
8828 [BZ #17932]
8829 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8830 where multiplication results in zero and third argument is finite
8831 and nonzero.
8832 * math/auto-libm-test-in: Add more tests of fma.
8833 * math/auto-libm-test-out: Regenerated.
8834
8835 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8836 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8837 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8838 (_FP_CMP_EQ): Likewise.
8839 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8840
8841 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8842 extra argument CHECK_NAN. Redefine as wrapper around
8843 _FP_EXTEND_CNAN.
8844
8845 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
8846
8847 * version.h (RELEASE): Set to "stable".
8848 (VERSION): Set to "2.21"
8849 * include/features.h (__GLIBC_MINOR__): Set to 21.
8850
8851 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8852
8853 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8854 Paul Eggert <eggert@cs.ucla.edu>
8855
8856 [BZ #16618]
8857 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8858 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8859 size in bytes. Store needed elements in wpmax. Use needed size
8860 in bytes for extend_alloca.
8861
8862 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
8863
8864 * manual/install.texi: Latest tested versions are GCC 4.9.2,
8865 binutls 2.25, and texinfo 5.2.
8866 * INSTALL: Regenerate.
8867 * sysdeps/nios2/configure: Regenerate.
8868 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8869 * manual/contrib.texi: Update.
8870 * po/be.po: Update.
8871 * po/bg.po: Update.
8872 * po/ca.po: Update.
8873 * po/cs.po: Update.
8874 * po/da.po: Update.
8875 * po/de.po: Update.
8876 * po/el.po: Update.
8877 * po/eo.po: Update.
8878 * po/es.po: Update.
8879 * po/fi.po: Update.
8880 * po/fr.po: Update.
8881 * po/gl.po: Update.
8882 * po/hr.po: Update.
8883 * po/hu.po: Update.
8884 * po/ia.po: Update.
8885 * po/id.po: Update.
8886 * po/it.po: Update.
8887 * po/ja.po: Update.
8888 * po/ko.po: Update.
8889 * po/lt.po: Update.
8890 * po/nb.po: Update.
8891 * po/nl.po: Update.
8892 * po/pl.po: Update.
8893 * po/pt_BR.po: Update.
8894 * po/ru.po: Update.
8895 * po/rw.po: Update.
8896 * po/sk.po: Update.
8897 * po/sl.po: Update.
8898 * po/sv.po: Update.
8899 * po/tr.po: Update.
8900 * po/uk.po: Update.
8901 * po/vi.po: Update.
8902 * po/zh_CN.po: Update.
8903 * po/zh_TW.po: Update.
8904
8905 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8906 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8907 * sysdeps/hppa/dl-irel.h: Remove #warning.
8908 * sysdeps/hppa/entry.h: Provide prototype for
8909 __canonicalize_funcptr_for_compare and cast argument.
8910 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8911 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8912 * sysdeps/hppa/sotruss-lib.c: New file.
8913 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8914 (atomic_compare_and_exchange_val_acq): Use __typeof__.
8915 (atomic_compare_and_exchange_bool_acq): Likewise.
8916 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8917 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8918
8919 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8920 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8921 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8922
8923 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8924
8925 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8926 called function in non-PIC case.
8927
8928 2015-01-31 David S. Miller <davem@davemloft.net>
8929
8930 * sysdeps/sparc/sparc32/bits/atomic.h
8931 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8932 unlock not after it.
8933 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8934 volatile register usage warnings from the compiler.
8935
8936 * sysdeps/sparc/nptl/sem_init.c: Delete.
8937 * sysdeps/sparc/nptl/sem_post.c: Delete.
8938 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8939 * sysdeps/sparc/nptl/sem_wait.c: Delete.
8940 * sysdeps/sparc/sparc32/sem_init.c: New file.
8941 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8942 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8943 padding explicitly initialized.
8944 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8945 padding for in-semaphore spinlock.
8946 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8947 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8948 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8949 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8950 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8951 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8952 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8953 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8954 version.
8955 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8956 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8957
8958 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
8959
8960 [BZ #17801]
8961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8962 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8963 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8964 New.
8965 (index_AVX_Fast_Unaligned_Load): Likewise.
8966 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8967 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8968 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8969 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8970 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8971 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8972 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8973 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8974 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8975
8976 2015-01-29 Andreas Schwab <schwab@suse.de>
8977
8978 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8979
8980 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8981
8982 [BZ #17892]
8983 * nscd/nscd_stat.c (send_stats): Initialize DATA.
8984
8985 2015-01-28 Martin Sebor <msebor@redhat.com>
8986
8987 * math/README.libm-test: Clarify. Add "How to read the test output."
8988
8989 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
8990
8991 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8992 Define to 0.
8993
8994 2015-01-28 Joseph Myers <joseph@codesourcery.com>
8995
8996 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8997 (__HAVE_64B_ATOMICS): Define to 0.
8998
8999 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9000
9001 [BZ #17885]
9002 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9003 value to set as new flag.
9004
9005 [BZ #16576]
9006 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9007 and use _ARCH_PPCSQ instead.
9008 (__ieee754_sqrt): Likewise.
9009 (__ieee754_sqrtf): Likewise.
9010 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9011 _ARCH_PPCSQ is defined.
9012 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9013 fsqrt instruction.
9014 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9015 _ARCH_PPCSQ is defined.
9016 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9017 fsqrts instruction.
9018 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9019
9020 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9021
9022 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9023 bug (GCC BZ #64739).
9024
9025 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9026
9027 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9028 Mark _retval as used.
9029 (lll_futex_wake_unlock): Likewise.
9030 (lll_futex_timed_wait_requeue_pi): Likewise.
9031
9032 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9033 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9034 register variables.
9035
9036 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9037 libm_hidden_def.
9038
9039 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9040 (__bswap_64): Mark as __always_inline.
9041
9042 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9043
9044 [BZ #15378]
9045 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9046 when none of the search directories exist.
9047
9048 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9049
9050 [BZ #17869]
9051 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9052 power8 in .machine directive.
9053
9054 [BZ #17868]
9055 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9056 set dependency from opd value.
9057
9058 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9059
9060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9061 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9062 architecture.
9063
9064 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9065
9066 [BZ #17870]
9067 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9068 with uint64_t.
9069 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9070 (uint64_t) 1.
9071 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9072 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9073 Replace 1UL with (uint64_t) 1.
9074 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9075 int with uint64_t.
9076
9077 2015-01-23 Roland McGrath <roland@hack.frob.com>
9078
9079 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9080 (if_freenameindex): Likewise.
9081
9082 * resource/getrlimit64.c: Add missing libc_hidden_def.
9083
9084 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9085
9086 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9087 __label__.
9088 (_FP_FMA): Likewise.
9089 (_FP_TO_INT_ROUND): Likewise.
9090 (_FP_FROM_INT): Likewise.
9091
9092 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9093
9094 [BZ #16418]
9095 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9096 Make code racy and cancel safe.
9097
9098 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9099
9100 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9101 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9102 attribution.
9103
9104 * pwd/tst-getpw.c: Rewrite.
9105
9106 [BZ #17702]
9107 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9108 (modules-names): Add moddummy1 and moddummy2.
9109 ($(objpfx)tst-rec-dlopen): Define.
9110 * dlfcn/moddummy1.c: New file.
9111 * dlfcn/moddummy2.c: New file.
9112 * dlfcn/tst-rec-dlopen.c: New file.
9113 * elf/dl-cache.c (_dl_load_cache_lookup):
9114 Return char*. Copy result with alloca/strcpy/strdup.
9115 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9116 returns char*. Free cached. If not saving realname
9117 free cached.
9118 * elf/dl-open.c (dl_open_worker): Do not assert that
9119 _r_debug->r_state is RT_CONSISTENT.
9120 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9121 returns char*.
9122
9123 2015-01-21 Torvald Riegel <triegel@redhat.com>
9124 Carlos O'Donell <carlos@redhat.com>
9125
9126 [BZ #12674]
9127 * nptl/sem_waitcommon.c: New file.
9128 * nptl/sem_wait.c: Include sem_waitcommon.c.
9129 (__sem_wait_cleanup, do_futex_wait): Remove.
9130 (__new_sem_wait): Adapt.
9131 (__new_sem_trywait): New function.
9132 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9133 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9134 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9135 (sem_timedwait): Adapt.
9136 * nptl/sem_post.c (__new_sem_post): Adapt.
9137 (futex_wake): New function.
9138 (__old_sem_post): Add release MO fence.
9139 * nptl/sem_open.c (sem_open): Adapt.
9140 * nptl/sem_init.c (__new_sem_init): Adapt.
9141 (futex_private_if_supported): New function.
9142 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9143 (__old_sem_getvalue): Add using previous code.
9144 * sysdeps/nptl/internaltypes.h: Adapt.
9145 * nptl/tst-sem13.c (do_test): Adapt.
9146 * nptl/tst-sem11.c (main): Adapt.
9147 * nptl/sem_trywait.c: Remove.
9148 * nptl/DESIGN-sem.txt: Remove.
9149 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9150 (gen-as-const-headers): Remove structsem.sym.
9151 * nptl/structsem.sym: Remove.
9152 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9153 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9154 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9155 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9156 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9157 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9158 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9159 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9160 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9161 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9162 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9163 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9164 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9165 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9166 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9167 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9168 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9169 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9170 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9171 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9172 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9173 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9174
9175 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9176
9177 * INSTALL: Regenerated.
9178
9179 * po/libc.pot: Regenerated.
9180
9181 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9182 Sandra Loosemore <sandra@codesourcery.com>
9183 Andrew Jenner <andrew@codesourcery.com>
9184 Joseph Myers <joseph@codesourcery.com>
9185 Nathan Sidwell <nathan@codesourcery.com>
9186
9187 * NEWS: Mention new Nios II port.
9188 * sysdeps/nios2/Implies: New file.
9189 * sysdeps/nios2/Makefile: New file.
9190 * sysdeps/nios2/Subdirs: New file.
9191 * sysdeps/nios2/Versions: New file.
9192 * sysdeps/nios2/__longjmp.S: New file.
9193 * sysdeps/nios2/abort-instr.h: New file.
9194 * sysdeps/nios2/backtrace.c: New file.
9195 * sysdeps/nios2/bits/endian.h: New file.
9196 * sysdeps/nios2/bits/fenv.h: New file.
9197 * sysdeps/nios2/bits/link.h: New file.
9198 * sysdeps/nios2/bits/setjmp.h: New file.
9199 * sysdeps/nios2/bsd-_setjmp.S: New file.
9200 * sysdeps/nios2/bsd-setjmp.S: New file.
9201 * sysdeps/nios2/configure: New generated file.
9202 * sysdeps/nios2/configure.ac: New file.
9203 * sysdeps/nios2/crti.S: New file.
9204 * sysdeps/nios2/crtn.S: New file.
9205 * sysdeps/nios2/dl-init.c: New file.
9206 * sysdeps/nios2/dl-machine.h: New file.
9207 * sysdeps/nios2/dl-sysdep.h: New file.
9208 * sysdeps/nios2/dl-tls.h: New file.
9209 * sysdeps/nios2/dl-trampoline.S: New file.
9210 * sysdeps/nios2/gccframe.h: New file.
9211 * sysdeps/nios2/gmp-mparam.h: New file.
9212 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9213 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9214 * sysdeps/nios2/ldsodefs.h: New file.
9215 * sysdeps/nios2/libc-tls.c: New file.
9216 * sysdeps/nios2/libm-test-ulps: New file.
9217 * sysdeps/nios2/machine-gmon.h: New file.
9218 * sysdeps/nios2/math-tests.h: New file.
9219 * sysdeps/nios2/math_private.h: New file.
9220 * sysdeps/nios2/memusage.h: New file.
9221 * sysdeps/nios2/nptl/Makefile: New file.
9222 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9223 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9224 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9225 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9226 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9227 * sysdeps/nios2/nptl/tls.h: New file.
9228 * sysdeps/nios2/preconfigure: New file.
9229 * sysdeps/nios2/s_fma.c: New file.
9230 * sysdeps/nios2/s_fmaf.c: New file.
9231 * sysdeps/nios2/setjmp.S: New file.
9232 * sysdeps/nios2/sfp-machine.h: New file.
9233 * sysdeps/nios2/sotruss-lib.c: New file.
9234 * sysdeps/nios2/stackguard-macros.h: New file.
9235 * sysdeps/nios2/stackinfo.h: New file.
9236 * sysdeps/nios2/start.S: New file.
9237 * sysdeps/nios2/sysdep.h: New file.
9238 * sysdeps/nios2/tls-macros.h: New file.
9239 * sysdeps/nios2/tst-audit.h: New file.
9240 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9241 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9242 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9243 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9244 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9245 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9246 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9247 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9248 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9249 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9250 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9251 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9252 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9253 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9254 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9255 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9256 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9257 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9258 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9259 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9260 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9261 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9262 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9263 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9264 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9265 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9266 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9267 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9268 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9269 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9270 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9271 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9272 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9273 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9274 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9275 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9276 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9277 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9278 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9279 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9280 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9281 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9282 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9283 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9284
9285 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9286
9287 [BZ #17844]
9288 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9289 (getutent): Use weak_alias in non SHARED case
9290 and default_symbol_version in SHARED case.
9291 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9292 (getutent_r, pututline): Likewise.
9293 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9294 (getutid): Likewise.
9295 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9296 (getutid_r): Likewise.
9297 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9298 (getutline): Likewise.
9299 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9300 (getutline_r): Likewise.
9301 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9302 (updwtmp): Likewise.
9303
9304 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9305
9306 [BZ #17848]
9307 * sysdeps/s390/s390-32/memcmp.S
9308 (memcmp_g5): Rename to __memcmp_g5.
9309 * sysdeps/s390/s390-32/memcpy.S
9310 (memcpy_g5): Rename to __memcpy_g5.
9311 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9312 (memcpy_mvcle) Rename to __memcpy_mvcle.
9313 * sysdeps/s390/s390-32/memset.S
9314 (memset_g5): Rename to __memset_g5.
9315 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9316 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9317 and use prefixed functions.
9318 * sysdeps/s390/s390-32/multiarch/memcmp.S
9319 (memcmp_z196): Rename to __memcmp_z196.
9320 (memcmp_z10): Rename to __memcmp_z10.
9321 (memcmp): Set alias to __memcmp_g5.
9322 (bcmp): Set alias to __memcmp_g5.
9323 * sysdeps/s390/s390-32/multiarch/memcpy.S
9324 (memcpy_z196): Rename to __memcpy_z196.
9325 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9326 (memcpy_z10): Rename to __memcpy_z10.
9327 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9328 (memcpy): Set alias to __memcpy_g5.
9329 * sysdeps/s390/s390-32/multiarch/memset.S
9330 (memset_z196): Rename to __memset_z196.
9331 Jump to __memset_mvcle instead of memset_mvcle.
9332 (memset_z10): Rename to __memset_z10.
9333 Jump to __memset_mvcle instead of memset_mvcle.
9334 (memset_mvcle) Rename to __memset_mvcle.
9335 (memset): Set alias to __memset_g5.
9336 * sysdeps/s390/s390-64/memcmp.S
9337 (memcmp_z900): Rename to __memcmp_z900.
9338 * sysdeps/s390/s390-64/memcpy.S
9339 (memcpy_z900): Rename to __memcpy_z900.
9340 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9341 (memcpy_mvcle) Rename to __memcpy_mvcle.
9342 * sysdeps/s390/s390-64/memset.S
9343 (memset_z900): Rename to __memset_z900.
9344 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9345 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9346 and use prefixed functions.
9347 * sysdeps/s390/s390-64/multiarch/memcmp.S
9348 (memcmp_z196): Rename to __memcmp_z196.
9349 (memcmp_z10): Rename to __memcmp_z10.
9350 (memcmp): Set alias to __memcmp_z900.
9351 (bcmp): Set alias to __memcmp_z900.
9352 * sysdeps/s390/s390-64/multiarch/memcpy.S
9353 (memcpy_z196): Rename to __memcpy_z196.
9354 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9355 (memcpy_z10): Rename to __memcpy_z10.
9356 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9357 (memcpy): Set alias to __memcpy_z900.
9358 * sysdeps/s390/s390-64/multiarch/memset.S
9359 (memset_z196): Rename to __memset_z196.
9360 Jump to __memset_mvcle instead of memset_mvcle.
9361 (memset_z10): Rename to __memset_z10.
9362 Jump to __memset_mvcle instead of memset_mvcle.
9363 (memset_mvcle) Rename to __memset_mvcle.
9364 (memset): Set alias to __memset_z900.
9365
9366 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9367
9368 [BZ #17748]
9369 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9370 __fesetenv instead of fesetenv.
9371
9372 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9373
9374 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9375 macro.
9376
9377 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9378
9379 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9380 regression on LE.
9381
9382 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9383 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9384 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9385 strncmp-power8 object.
9386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9387 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9388 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9389 * NEWS: Update.
9390
9391 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9392 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9393
9394 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9395 trailing byte check.
9396
9397 2015-01-13 David S. Miller <davem@davemloft.net>
9398
9399 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9400
9401 2015-01-13 Roland McGrath <roland@hack.frob.com>
9402
9403 * login/logout.c (logout): Use memset rather than bzero.
9404 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9405 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9406 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9407 (_gethtbyaddr): Likewise.
9408 * locale/programs/simple-hash.c (bcopy): Macro removed.
9409
9410 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9411
9412 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9413 Add strcmp-power8 object.
9414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9415 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9416 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9417 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9418 __strcmp_power8 implementation.
9419 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9420 * NEWS: Update.
9421
9422 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9423 Add strncpy-power8 and stpncpy-power8 objects.
9424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9425 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9426 implementations.
9427 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9428 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9429 __stpncpy_power8 implementation.
9430 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9431 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9432 __strncpy_power8 implementation.
9433 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9434 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9435 * NEWS: Update.
9436
9437 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9438 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9439 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9440
9441 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9442 strncat-power8 object.
9443 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9444 __strcat_power8 implementation.
9445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9446 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9447 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9448 optimized strcat for power8.
9449
9450 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9451 strcpy-power8 and stpcpy-power8 objects.
9452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9453 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9454 implementations.
9455 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9456 multiarch stpcpy implementation for POWER8.
9457 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9458 multiarch strcpy implementation for POWER8.
9459 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9460 __strcpy_power8 function.
9461 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9462 stpcpy for POWER8.
9463 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9464 strcpy for POWER8.
9465 * NEWS: Update.
9466
9467 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9468
9469 [BZ #16009]
9470 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9471 weights and rules. Use do_xfrm_cached if data fits in cache,
9472 do_xfrm otherwise. Moved former main loop to...
9473 * (do_xfrm_cached): New function.
9474 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9475 find_idx, find_position and stack_push.
9476 * (find_idx): New function.
9477 * (find_position): Likewise.
9478 * localedata/sort-test.sh: Added test run for do_xfrm.
9479 * localedata/xfrm-test.c (main): Added command line option
9480 -nocache to run the test with strings that are too large for
9481 the STRXFRM cache.
9482
9483 2015-01-13 Torvald Riegel <triegel@redhat.com>
9484
9485 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9486 variable to lll_futex_wake call, not the value itself.
9487
9488 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9489
9490 [BZ #17803]
9491 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9492 twom64. Adjust value to 0x1p-64L.
9493 (__scalblnl): Only return standard underflowing result for K <=
9494 -64 not K <= -63; adjust exponent for underflowing result by 64
9495 not 63.
9496 * math/libm-test.inc (scalbn_test_data): Add more tests.
9497 (scalbln_test_data): Likewise.
9498
9499 [BZ #17834]
9500 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9501 0x1p63L.
9502 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9503 not HX.
9504 * math/libm-test.inc (scalbn_test_data): Add more tests.
9505 (scalbln_test_data): Likewise.
9506
9507 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9508 Stefani Seibold <stefani@seibold.net>
9509
9510 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9511 (sysdep_routines): Add dl-vdso here, ...
9512 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9513 (sysdep_routines): ... not here.
9514 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9515 fallback when vDSO is not presented.
9516 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9517 Define with libc_hidden_proto/libc_hidden_data_def definitions.
9518 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9519 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9520 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9521 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9522 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9523 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9524 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9525 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9526 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
9527 fallback configurable symbol when vDSO is not available.
9528 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9529 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
9530 be able to redefine fallback symbol when vDSO is not available.
9531 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9532 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9533
9534 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9535
9536 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9537 (TLS_INIT_TP): Add tm_capable initialization.
9538 (TLS_DEFINE_INIT_TP): Likewise.
9539 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9540 TCB.
9541 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9542 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9543 calculation.
9544 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9545 transactoion is lock elision is built and TCB tm_capable is set.
9546 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9548 (INTERNAL_SYSCALL_NCS): Likewise.
9549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9550 (INTERNAL_SYSCALL_NCS): Likewise.
9551 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9552
9553 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9554 for powerpc.
9555 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9556 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9557 and remove it for 32 bits case.
9558 [pthread_rwlock_t] (__rwelision): New field for lock elision.
9559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9560 initialization.
9561 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9562 Disable lock elision with rdlocks if elision is not available.
9563
9564 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9565 (sysdep_routines): Add lock elision objects.
9566 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9567 [pthread_mutex_t] (__spins): Rework to add lock elision field.
9568 [pthread_mutex_t] (__elision): Add field.
9569 [__PTHREAD_SPINS]: Adjust to init lock elision field.
9570 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9571 elision definitions for powerpc.
9572 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9573 implementation of lock elision for powerpc.
9574 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9575 implementation of timed lock elision for powerpc.
9576 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9577 implementation of trylock with lock elision for powerpc.
9578 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9579 implementaion of unlock for lock elision for powerpc.
9580 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9581 automatic enable lock elision for mutexes.
9582 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9583 transaction execution definitions for powerpc.
9584 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9585 definitions.
9586 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9587 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9588 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9589 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9590 * NEWS: Update.
9591
9592 2015-01-09 Roland McGrath <roland@hack.frob.com>
9593
9594 * sysdeps/posix/shm-directory.c: Use <> rather than ""
9595 for #include of <shm-directory.h>.
9596
9597 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
9598
9599 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9600 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9601
9602 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
9603
9604 [BZ #17791]
9605 * NEWS: Mention bug fix.
9606 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9607 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9608 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9609
9610 2015-01-09 Torvald Riegel <triegel@redhat.com>
9611
9612 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9613
9614 2015-01-09 Torvald Riegel <triegel@redhat.com>
9615
9616 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9617
9618 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9619
9620 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9621 pointer and cast to uintptr_t.
9622
9623 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9624
9625 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9626 removed.
9627 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9628
9629 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9630
9631 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9632 of 0.
9633
9634 2015-01-08 Roland McGrath <roland@hack.frob.com>
9635
9636 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9637 <nptl/pthreadP.h> instead.
9638 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9639
9640 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9641 already defined.
9642 [__SIGRTMIN] (init): Function removed.
9643 [__SIGRTMIN] (initialized): Variable removed.
9644 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9645 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9646 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9647 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9648 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9649 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9650 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9651 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9652 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9653 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9654 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9655 * sysdeps/nptl/allocrtsig.c: New file.
9656 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9657 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9658 * sysdeps/generic/testrtsig.h: File removed.
9659
9660 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9661 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9662
9663 * nptl/nptl-init.c (pthread_functions): Conditionalize
9664 .ptr__nptl_setxid initialization on [SIGSETXID].
9665
9666 * sysdeps/nptl/sys/procfs.h: New file.
9667 * nptl_db/Makefile (headers): Add it.
9668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9669
9670 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9671 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9672 * nptl/pthread_attr_setaffinity.c: Include it.
9673 * nptl/pthread_setattr_default_np.c: Likewise.
9674 * nptl/check-cpuset.h: New file.
9675
9676 2015-01-08 Richard Henderson <rth@redhat.com>
9677
9678 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9679 (CFLAGS-tst-execstack-prog.c): Likewise.
9680 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9681
9682 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
9683 Sandra Loosemore <sandra@codesourcery.com>
9684 Andrew Jenner <andrew@codesourcery.com>
9685 Joseph Myers <joseph@codesourcery.com>
9686 Nathan Sidwell <nathan@codesourcery.com>
9687
9688 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9689 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9690 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9691 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9692 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9693 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9694 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9695 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9696 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9697 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9698 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9699 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9700 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9701 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9702 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9703 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9704 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9705
9706 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9707
9708 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9709 timespec struct member in syscall macro.
9710 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9711 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9712 first timeval struct member in syscall macro.
9713 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9714
9715 2015-01-07 Joseph Myers <joseph@codesourcery.com>
9716
9717 [BZ #17748]
9718 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9719 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9720 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9721 __feupdateenv and define as weak alias of __feupdateenv. Use
9722 libm_hidden_weak.
9723 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9724 libm_hidden_def.
9725 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9726 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
9727 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9728 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9729 libm_hidden_def.
9730 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9731 __feupdateenv and define as weak alias of __feupdateenv. Use
9732 libm_hidden_weak.
9733 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9734 libm_hidden_def.
9735 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9736 __feupdateenv and define as weak alias of __feupdateenv. Use
9737 libm_hidden_weak.
9738 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9739 libm_hidden_def.
9740 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9741 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9742 (__feupdateenv): Likewise.
9743 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9744 __feupdateenv and define as weak alias of __feupdateenv. Use
9745 libm_hidden_weak.
9746 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9747 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9748 libm_hidden_def.
9749 * sysdeps/tile/math_private.h (__feupdateenv): New inline
9750 function.
9751 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9752 libm_hidden_def.
9753 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9754 __feupdateenv instead of feupdateenv.
9755 (default_libc_feupdateenv_test): Likewise.
9756 (libc_feresetround_ctx): Likewise.
9757
9758 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9759
9760 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9761 prototype.
9762
9763 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
9764
9765 * posix/regcomp.c (parse_bracket_exp): Initialize type to
9766 COLL_SYM in a couple of places to avoid uninitialized variable
9767 wanings on tilegx gcc 4.8.2.
9768
9769 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9770
9771 * sysdeps/aarch64/strcpy.S: New file.
9772 * sysdeps/aarch64/stpcpy.S: New file.
9773 * NEWS: Updated.
9774
9775 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9776
9777 * sysdeps/aarch64/strrchr.S: New file.
9778 * NEWS: Updated.
9779
9780 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
9781
9782 [BZ #17658]
9783 * stdlib/setenv.c: Fix memory leak when setting large,
9784 duplicate string.
9785
9786 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
9787
9788 [BZ #17273]
9789 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9790 and tabs from buffer before parsing fstab entry.
9791 * misc/tst-mntent.c (main): Add test for mount entry with
9792 trailing spaces and tabs.
9793
9794 2015-01-06 Joseph Myers <joseph@codesourcery.com>
9795
9796 [BZ #17748]
9797 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
9798 * math/fesetround.c (fesetround): Rename to __fesetround and
9799 define as weak alias of __fesetround. Use libm_hidden_weak.
9800 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9801 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9802 * sysdeps/arm/fesetround.c (fesetround): Likewise.
9803 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9804 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9805 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9806 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9807 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9808 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9809 __fesetround_inline.
9810 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9811 __fesetround_inline instead of __fesetround.
9812 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9813 __fesetround and define as weak alias of __fesetround. Use
9814 libm_hidden_weak. Call __fesetround_inline instead of
9815 __fesetround.
9816 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9817 __fesetround and define as weak alias of __fesetround. Use
9818 libm_hidden_weak.
9819 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9820 Likewise.
9821 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9822 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9823 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9824 * sysdeps/tile/math_private.h (__fesetround): New inline function.
9825 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9826 __fesetround and define as weak alias of __fesetround. Use
9827 libm_hidden_weak.
9828 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9829 __fesetround instead of fesetround.
9830 (default_libc_feholdexcept_setround): Likewise.
9831 (libc_feholdsetround_ctx): Likewise.
9832 (libc_feholdsetround_noex_ctx): Likewise.
9833
9834 [BZ #17748]
9835 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9836 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9837 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9838 and define as weak alias of __fesetenv. Use libm_hidden_weak.
9839 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9840 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9841 define as weak alias of __fesetenv. Use libm_hidden_weak.
9842 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9843 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9844 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9845 define as weak alias of __fesetenv. Use libm_hidden_weak.
9846 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9847 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9848 define as weak alias of __fesetenv. Use libm_hidden_weak.
9849 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9850 libm_hidden_def.
9851 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9852 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9853 Likewise.
9854 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9855 define as weak alias of __fesetenv. Use libm_hidden_weak.
9856 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9857 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9858 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9859 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9860 and define as weak alias of __fesetenv. Use libm_hidden_weak.
9861 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9862 __fesetenv instead of fesetenv.
9863 (libc_feresetround_noex_ctx): Likewise.
9864 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9865 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9866 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9867 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9868 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9869 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9870 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9871 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9872 (__feupdateenv): Likewise.
9873 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9874 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9875 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9876 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9877
9878 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
9879
9880 [BZ #17806]
9881 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9882 addresses have been freed.
9883
9884 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
9885
9886 * resolv/res_init.c (__res_vinit): Improve comments about nserv
9887 and nservall.
9888
9889 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
9890
9891 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9892 Clean up check_pf allocation pattern. addresses
9893
9894 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9895
9896 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9897 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9898 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9899 * nptl/pthread_exit.c (__pthread_exit): Likewise.
9900 * nptl/pthread_join.c (pthread_join): Likewise.
9901 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9902 * sysdeps/posix/waitid.c (__waitid): Likewise.
9903 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9904 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9905 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9906 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9907 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9908 Likewise.
9909 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9910 (__libc_pread64): Likewise.
9911 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9912 (__libc_pwrite): Likewise.
9913 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9914 (__libc_pwrite64): Likewsie.
9915 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9916 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9917 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9918 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9919 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9920 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9921 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9923 Likewise.
9924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9925 (__libc_pread64): Likewise.
9926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9927 Likewise.
9928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9929 (__libc_pwrite64): Likewise.
9930 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9931 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9932 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9933 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9934 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9935 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9936 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9937 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9938 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9939 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9940 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9941 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9942 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9943 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9944 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9945 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9946 Likewise.
9947
9948 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9949
9950 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9951 (CFLAGS-test-double.c): Likewise.
9952 (CFLAGS-test-ldouble.c): Likewise.
9953 (CPPFLAGS-test-ifloat.c): Likewise.
9954 (CPPFLAGS-test-idouble.c): Likewise.
9955 (CPPFLAGS-test-ildoubl.c): Likewise.
9956 (CFLAGS-test-test-fenv.c): Remove variable.
9957 (CFLAGS-test-misc.c): Likewise.
9958
9959 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
9960
9961 [BZ #17797]
9962 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9963 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9964 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9965 CLOCKS_PER_SEC == 1000000.
9966 * time/clocktest.c (main): Replace %ld with %jd and cast to
9967 intmax_t.
9968
9969 2015-01-05 Roland McGrath <roland@hack.frob.com>
9970
9971 * sysdeps/generic/unwind-resume.h: New file.
9972 * sysdeps/gnu/unwind-resume.c: Include it.
9973 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9974 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9975 argument list.
9976 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9977 global rather than static.
9978 (_Unwind_Resume): Update user.
9979 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9980 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
9981 rather than static. Add __attribute__ ((cold)).
9982 (_Unwind_Resume, __gcc_personality_v0): Update callers.
9983 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9984 * sysdeps/arm/arm-unwind-resume.S: New file.
9985 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9986 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9987 * sysdeps/arm/Makefile [$(subdir) = csu]
9988 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9989 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9990 Add rt-arm-unwind-resume.
9991 [$(subdir) = nptl]
9992 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9993 Add pt-arm-unwind-resume.
9994 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9995 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9996
9997 2015-01-05 Joseph Myers <joseph@codesourcery.com>
9998
9999 [BZ #17748]
10000 * include/fenv.h (__feholdexcept): Declare. Use
10001 libm_hidden_proto.
10002 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10003 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10004 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10005 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10006 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10007 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10008 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10009 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10010 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10011 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10012 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10013 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10014 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10015 (feholdexcept): Likewise.
10016 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10017 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10018 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10019 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10020 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10021 __feholdexcept instead of feholdexcept.
10022 (default_libc_feholdexcept_setround): Likewise.
10023
10024 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10025
10026 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10027 to avoid using stl/str to align destination.
10028
10029 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10030
10031 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10032
10033 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10034
10035 [BZ #17796]
10036 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10037 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10038 Define as weak alias not strong alias.
10039
10040 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10041
10042 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10043 bltzal with addiupc.
10044 (RTLD_START): Ditto.
10045
10046 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10047
10048 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10049 for __vdso_* functions in declarations.
10050 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10051 definitions.
10052 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10053 INTERNAL_VSYSCALL): Use struct return types to check for error.
10054
10055 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10056 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10057 function with cast from llround().
10058 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10059 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10060 Define.
10061
10062 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10063
10064 [BZ #17793]
10065 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10066 Define as weak alias not strong alias.
10067
10068 [BZ #17635]
10069 * ctype/ctype-c99.c: New file. isblank implementation moved from
10070 ...
10071 * ctype/ctype-extn.c: ... here.
10072 (__isblank_l): Move to ...
10073 * ctype/ctype-c99_l.c: ... here. New file.
10074 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10075 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10076 Remove variable.
10077 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10078 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10079 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10080 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10081 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10082
10083 [BZ #17777]
10084 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10085 (posix_fadvise64): Define as weak alias not strong alias.
10086 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10087 (posix_fallocate64): Likewise.
10088 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10089 Remove variable.
10090 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10091 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10092 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10093 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10094 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10095
10096 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10097
10098 [BZ #16191]
10099 * NEWS: Mention bug fix.
10100 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10101 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10102 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10103 (HOST_STACK_END_ADDR): Likewise.
10104
10105 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10106
10107 [BZ #17748]
10108 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10109 * math/fegetround.c (fegetround): Rename to __fegetround and
10110 define as weak alias of __fegetround. Use libm_hidden_weak.
10111 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10112 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10113 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10114 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10115 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10116 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10117 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10118 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10119 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10120 Undefine after rather than before function definition; use
10121 parentheses around function name in definition.
10122 (__fegetround): Also undefine macro after function definition.
10123 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10124 __fegetround and define as weak alias of __fegetround. Use
10125 libm_hidden_weak. Do not undefine as macro.
10126 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10127 Likewise.
10128 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10129 __fegetround and define as weak alias of __fegetround. Use
10130 libm_hidden_weak.
10131 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10132 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10133 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10134 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10135 __fegetround and define as weak alias of __fegetround. Use
10136 libm_hidden_weak.
10137 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10138 __fegetround instead of fegetround.
10139
10140 [BZ #17782]
10141 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10142 Condition macro definition on [__USE_MISC].
10143
10144 [BZ #17781]
10145 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10146 (struct sigaction): Change type of sa_flags field to int.
10147
10148 [BZ #17780]
10149 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10150 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10151 __glibc_reserved0.
10152
10153 * nptl/version.c (banner): Use single year in copyright notice.
10154
10155 * NEWS: Update copyright dates.
10156 * catgets/gencat.c (print_version): Likewise.
10157 * csu/version.c (banner): Likewise.
10158 * debug/catchsegv.sh: Likewise.
10159 * debug/pcprofiledump.c (print_version): Likewise.
10160 * debug/xtrace.sh (do_version): Likewise.
10161 * elf/ldconfig.c (print_version): Likewise.
10162 * elf/ldd.bash.in: Likewise.
10163 * elf/pldd.c (print_version): Likewise.
10164 * elf/sotruss.sh: Likewise.
10165 * elf/sprof.c (print_version): Likewise.
10166 * iconv/iconv_prog.c (print_version): Likewise.
10167 * iconv/iconvconfig.c (print_version): Likewise.
10168 * locale/programs/locale.c (print_version): Likewise.
10169 * locale/programs/localedef.c (print_version): Likewise.
10170 * login/programs/pt_chown.c (print_version): Likewise.
10171 * malloc/memusage.sh (do_version): Likewise.
10172 * malloc/memusagestat.c (print_version): Likewise.
10173 * malloc/mtrace.pl: Likewise.
10174 * manual/libc.texinfo: Likewise.
10175 * nptl/version.c (banner): Likewise.
10176 * nscd/nscd.c (print_version): Likewise.
10177 * nss/getent.c (print_version): Likewise.
10178 * nss/makedb.c (print_version): Likewise.
10179 * posix/getconf.c (main): Likewise.
10180 * scripts/test-installation.pl: Likewise.
10181 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10182
10183 2015-01-02 Will Newton <will.newton@linaro.org>
10184
10185 * sysdeps/arm/armv7/configure: Removed.
10186 * sysdeps/arm/armv7/configure.ac: Likewise.
10187
10188 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10189
10190 * All files with FSF copyright notices: Update copyright dates
10191 using scripts/update-copyrights.
10192 * intl/plural.c: Regenerated.
10193 * locale/programs/charmap-kw.h: Likewise.
10194 * locale/programs/locfile-kw.h: Likewise.
10195
10196 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10197
10198 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10199
10200 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10201
10202 [BZ #17748]
10203 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10204 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10205 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10206 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10207 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10208 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10209 define as weak alias of __fegetenv. Use libm_hidden_weak.
10210 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10211 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10212 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10213 define as weak alias of __fegetenv. Use libm_hidden_weak.
10214 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10215 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10216 define as weak alias of __fegetenv. Use libm_hidden_weak.
10217 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10218 libm_hidden_def.
10219 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10220 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10221 Likewise.
10222 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10223 define as weak alias of __fegetenv. Use libm_hidden_weak.
10224 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10225 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10226 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10227 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10228 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10229 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10230 __fegetenv instead of fegetenv.
10231 (libc_feholdsetround_noex_ctx): Likewise.
10232
10233 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10234
10235 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10236 (Elf_MIPS_ABIFlags_v0): New structure.
10237 (EF_MIPS_FP64): Define.
10238 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10239 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10240 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10241 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10242 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10243 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10244 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10245 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10246 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10247 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10248 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10249 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10250 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10251 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10252 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10253 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10254 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10255 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10256 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10257 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10258 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10259 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10260 field.
10261 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10262 EF_MIPS_FP64.
10263 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10264 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10265 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10266 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10267 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10268 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10269 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10270 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10271 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10272 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10273 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10274 record the current FP ABI extension.
10275 (mips-mode-switch): Define to show if kernel headers support mode
10276 switching.
10277 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10278 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10279 supported SYSV ABI version to 3.
10280 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10281 feature.
10282
10283 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10284 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10285
10286 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10287 path.
10288 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10289
10290 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10291
10292 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10293 __fegetround and redefine to call __fegetround. Remove condition
10294 on [!__NO_MATH_INLINES].
10295 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10296 function.
10297 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10298 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10299 Remove macro.
10300 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10301 instead of <fenv_libc.h>.
10302 (__llrintl): Call fegetround instead of __fegetround.
10303 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10304 instead of <fenv_libc.h>.
10305 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10306 (__lrintl): Call fegetround instead of __fegetround.
10307 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10308 instead of <fenv_libc.h>.
10309 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10310 (__rintl): Call fegetround instead of __fegetround.
10311
10312 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10313
10314 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10315 arrays.
10316
10317 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10318
10319 [BZ #17775]
10320 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10321 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10322 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10323
10324 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10325
10326 * sysdeps/i386/tls-macros.h: Include <features.h>.
10327 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10328 (TLS_IE): Likewise.
10329 (TLS_LD): Likewise.
10330 (TLS_GD): Likewise.
10331 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10332 define for GCC >= 5.0.
10333
10334 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10335
10336 * math/test-fenv.c (test_single_exception, set_single_exc,
10337 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10338 feexcp_mask_test, feenable_test, fe_single_test): Add
10339 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10340 case where they are not used.
10341 * math/libm-test.inc: Likewise.
10342 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10343 unused in the absence of FP rounding/exception support.
10344 * stdio-common/tst-printf-round.c: Likewise.
10345 * stdlib/tst-strtod-round.c: Likewise.
10346 * stdlib/tst-strtod-underflow.c: Likewise.
10347
10348 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10349
10350 [BZ #17723]
10351 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10352 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10353 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10354 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10355 libm_hidden_weak.
10356 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10357 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10358 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10359 libm_hidden_def.
10360 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10361 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10362 libm_hidden_weak.
10363 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10364 Likewise.
10365 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10366 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10367 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10368 libm_hidden_weak.
10369 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10370 libm_hidden_def.
10371 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10372 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10373 (__feraiseexcept): Likewise.
10374 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10375 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10376 libm_hidden_weak.
10377 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10378 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10379 libm_hidden_def.
10380 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10381 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10382 Use libm_hidden_def.
10383 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10384 libm_hidden_def.
10385 (feraiseexcept): Define as weak not strong alias. Use
10386 libm_hidden_weak.
10387 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10388 New inline function. Factored out of ...
10389 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10390 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10391 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10392 feraiseexcept.
10393 * math/w_acos.c (__acos): Likewise.
10394 * math/w_asin.c (__asin): Likewise.
10395 * math/w_ilogb.c (__ilogb): Likewise.
10396 * math/w_j0.c (y0): Likewise.
10397 * math/w_j1.c (y1): Likewise.
10398 * math/w_jn.c (yn): Likewise.
10399 * math/w_log.c (__log): Likewise.
10400 * math/w_log10.c (__log10): Likewise.
10401 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10402 * sysdeps/aarch64/fpu/math_private.h
10403 (libc_feupdateenv_test_aarch64): Likewise.
10404 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10405 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10406 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10407 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10408 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10409 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10410 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10411 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10412 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10413 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10414
10415 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10416
10417 [BZ #17732]
10418 * io/test-utime.c (main): Replace %ld with %jd and cast to
10419 intmax_t.
10420 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10421 * nptl/tst-mutex5.c: Include <stdint.h>.
10422 (do_test): Replace %ld with %jd and cast to intmax_t.
10423 * posix/tst-regex.c (run_test): Likewise.
10424 (run_test_backwards): Likewise.
10425 * rt/tst-clock.c: Include <stdint.h>.
10426 (clock_test): Replace %ld with %jd and cast to intmax_t.
10427 * rt/tst-cpuclock1.c: Include <stdint.h>.
10428 (do_test): Replace %lu with %ju and cast to uintmax_t.
10429 * rt/tst-cpuclock2.c: Include <stdint.h>.
10430 (do_test): Replace %lu with %ju and cast to uintmax_t.
10431 * rt/tst-mqueue1.c: Include <stdint.h>.
10432 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10433 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10434 intmax_t.
10435 * rt/tst-mqueue4.c (do_test): Likewise.
10436 * rt/tst-timer4.c: Include <stdint.h>.
10437 (check_ts): Replace %ld with %jd and cast to intmax_t.
10438 (do_test): Likewise.
10439 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10440 and cast to intmax_t.
10441 * sysdeps/pthread/tst-timer.c (main): Likewise.
10442 * time/clocktest.c (main): Likewise.
10443 * time/tst-posixtz.c (do_test): Likewise.
10444 * timezone/tst-timezone.c (main): Likewise.
10445
10446 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10447 H.J. Lu <hongjiu.lu@intel.com>
10448
10449 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10450 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10451 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10452 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10453 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10454 version if bit_Fast_Unaligned_Load is set.
10455 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10456 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10457 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10458 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10459 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10460 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10461 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10462 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10463 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10464 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10465 to 4.
10466 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10467 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10468 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10469 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10470
10471 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10472
10473 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10474 instead of #if to avoid a Wundef warning.
10475 * stdlib/tst-limits.c (do_test): Likewise.
10476
10477 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10478 parallel other exception macros.
10479 (fegetenv): Convert from macro to extern inline so that it applies
10480 retroactively to inline functions already seen by the compiler.
10481 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10482
10483 * posix/Makefile (before-compile): Use $(objpfx) for
10484 posix-conf-vars-def.h.
10485
10486 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10487
10488 * posix/getconf.c (main): Use size_t for type of I.
10489 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10490 NSPEC.
10491
10492 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10493 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10494 * posix/posix-envs.def: Likewise.
10495 * sysdeps/posix/sysconf.c: Likewise.
10496 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10497 (specs): Remove array.
10498 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10499 array.
10500
10501 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10502 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10503 (__sysconf): Use CONF_IS_* macros.
10504
10505 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10506 ($(objpfx)posix-conf-vars-def.h): New target.
10507 * posix/posix-conf-vars.list: New file.
10508 * posix/posix-conf-vars.h: New file.
10509 * posix/confstr.c: Include posix-conf-vars.h.
10510 (confstr): Use CONF_IS_* macros.
10511 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10512 CONF_IS_* macros.
10513 * scripts/gen-posix-conf-vars.awk: New file.
10514
10515 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
10516
10517 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10518 fegetround): Add no-op macros to avoid linknamespace issues.
10519
10520 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10521 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10522
10523 * sysdeps/unix/sysv/linux/tile/sysdep.h
10524 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10525 assembly-specific section to avoid a redefinition warning.
10526
10527 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10528 long before casting to pointer to avoid a cast warning.
10529
10530 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
10531
10532 * sysdeps/tile/tilegx/Implies: New file.
10533
10534 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
10535
10536 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10537
10538 2014-12-23 Florian Weimer <fweimer@redhat.com>
10539
10540 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10541
10542 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10543
10544 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10545 not define.
10546 * sysdeps/unix/sysv/linux/utimes.c: Do not include
10547 <kernel-features.h>.
10548 (__utimes) [__NR_utimes]: Make code unconditional.
10549 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10550 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10551 (__ASSUME_UTIMES): Do not undefine.
10552 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10553 (__ASSUME_UTIMES): Likewise.
10554 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10555 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10556 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10557 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10558
10559 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10560
10561 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10562
10563 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
10564
10565 [BZ #17747]
10566 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10567 alias to weak alias for j0l, y0l.
10568 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10569 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10570
10571 [BZ #17746]
10572 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10573 conversion.
10574
10575 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10576
10577 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10578 to zero if not already defined.
10579
10580 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10581
10582 [BZ #17724]
10583 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10584 (__kernel_standard_f): Remove. Moved to k_standardf.c.
10585 (__kernel_standard_l): Remove. Moved to k_standardl.c with
10586 (char *) casts added.
10587 * sysdeps/ieee754/k_standardf.c: New file.
10588 * sysdeps/ieee754/k_standardl.c: Likewise.
10589 * math/Makefile (libm-support): Remove k_standard.
10590 (libm-calls): Add k_standard.
10591
10592 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10593
10594 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10595 Optimize to avoid an unnecessary FPCR read.
10596
10597 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10598
10599 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10600 Optimize to reduce FPCR/FPSR accesses.
10601
10602 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10603
10604 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10605 Call libc_fetestexcept_aarch64.
10606
10607 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10608
10609 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10610 Call libc_fesetround_aarch64.
10611
10612 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10613
10614 [BZ #17733]
10615 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10616 (__bind): Do not define as weak alias.
10617 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10618 define.
10619 (__getsockname): Do not define as weak alias.
10620
10621 2014-12-22 Will Newton <will.newton@linaro.org>
10622
10623 * manual/install.texi: Document that we require bison 2.7
10624 or above.
10625 * INSTALL: Regenerate.
10626 * configure.ac: Use AC_CHECK_PROG_VER instead of
10627 AC_PATH_PROG when checking for bison and check for
10628 version 2.7 or above.
10629 * configure: Regenerate.
10630
10631 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
10632
10633 [BZ #17745]
10634 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10635 * sysdeps/tile/ffsll.c (ffsll): To here.
10636
10637 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10638
10639 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10640
10641 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10642 if not defined.
10643 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10644 definition.
10645 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10646 hidden ___tls_get_addr.
10647 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10648 hidden __tls_get_addr.
10649 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10650 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10651 Likewise.
10652
10653 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
10654
10655 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10656 _dl_init call.
10657
10658 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10659
10660 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10661 from "call _dl_init@PLT".
10662 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10663
10664 2014-12-21 Anders Kaseorg <andersk@mit.edu>
10665
10666 * manual/search.texi: (Array Sort Function): Clarify stable sorting
10667 guarantees.
10668
10669 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
10670
10671 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10672
10673 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10674
10675 [BZ #17744]
10676 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10677 strnlen.
10678
10679 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10680
10681 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10682 of multu on MIPSr6.
10683 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10684 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10685 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10686 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10687 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10688
10689 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10690
10691 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10692 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10693 (PTR_SUBU): Use subu for mips32r6/mips64r6.
10694 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10695 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10696 mips32r6/mips64r6.
10697 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10698
10699 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
10700
10701 * string/strncat.c (STRNCAT): Simplify implementation.
10702
10703 2014-12-19 David S. Miller <davem@davemloft.net>
10704
10705 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10706 access the quad as both a long double and as a series of 4 words.
10707
10708 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10709 link_map->l_info array access.
10710
10711 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10712
10713 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10714
10715 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10716 * math/atest-exp2.c (TIMEOUT): Likewise.
10717 * math/atest-sincos.c (TIMEOUT): Likewise.
10718
10719 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10720
10721 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10722 -Wno-error with -fno-builtin-lround.
10723
10724 2014-12-19 Torvald Riegel <triegel@redhat.com>
10725
10726 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10727 Contains futex constants and functions moved over from ...
10728 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
10729 <lowlevellock-futex.h>.
10730 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10731 (lll_timedwait_tid): Add comments and parentheses around macro
10732 arguments.
10733
10734 2014-12-19 Torvald Riegel <triegel@redhat.com>
10735
10736 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10737 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
10738 (__lll_private_flag): Remove.
10739 (lll_futex_wait): Likewise.
10740 (lll_futex_timed_wait): Likewise.
10741 (lll_futex_wake): Likewise.
10742 (lll_futex_requeue): Likewise.
10743 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10744 (__lll_timedwait_tid): Spell out argument names.
10745 (lll_timedwait_tid): Add comments and parentheses around macro
10746 arguments.
10747 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10748 LLL_SHARED and LLL_PRIVATE usable from assembly code.
10749
10750 2014-12-19 Torvald Riegel <triegel@redhat.com>
10751
10752 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10753 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10754 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10755 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10756 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10757 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10758 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10759 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10760 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10761 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10762 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10763 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10764 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10765 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10766 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10767 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10768 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10769 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10770 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10771
10772 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10773
10774 * sysdeps/x86_64/x32/Makefile: New file.
10775
10776 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10777
10778 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10779 1L with (mp_limb_t) 1.
10780
10781 2014-12-17 Roland McGrath <roland@hack.frob.com>
10782
10783 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10784 * nptl/libc_pthread_init.c: ... here.
10785 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10786 * nptl/register-atfork.c: ... here.
10787
10788 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10789 Use pthread_sigmask rather than INTERNAL_SYSCALL.
10790 Use assert_perror to check its return value.
10791 (__gai_create_helper_thread): Likewise.
10792
10793 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10794
10795 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10796
10797 2014-12-17 Joseph Myers <joseph@codesourcery.com>
10798
10799 [BZ #17725]
10800 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10801 __profil_counter.
10802 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10803 Likewise.
10804 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10805 Likewise.
10806 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10807 Likewise.
10808 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10809 (profil_counter): Likewise.
10810 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10811 (profil_counter): Likewise.
10812 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10813 Likewise.
10814 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10815 Likewise.
10816 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10817 (profil_counter): Likewise.
10818 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10819 Likewise.
10820 [!__profil_counter] (profil_counter): Define as weak alias of
10821 __profil_counter.
10822 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10823 (profil_counter): Rename to __profil_counter.
10824 [!__profil_counter] (profil_counter): Define as weak alias of
10825 __profil_counter.
10826 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10827 (profil_counter): Rename to __profil_counter.
10828 [!__profil_counter] (profil_counter): Define as weak alias of
10829 __profil_counter.
10830 * sysdeps/posix/profil.c: Update comment referring to
10831 profil_counter.
10832 (__profil): Use __profil_counter instead of profil_counter.
10833 * sysdeps/posix/sprofil.c (profil_counter): Rename to
10834 __profil_counter. Use __profil_counter_ushort and
10835 __profil_counter_uint in definitions.
10836 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10837 instead of profil_counter_uint and profil_counter_ushort.
10838
10839 [BZ #17722]
10840 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10841 define as weak alias of __inet_makeaddr.
10842 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10843 as weak alias of __inet_addr.
10844 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10845 as weak alias of __inet_pton. Use libc_hidden_weak.
10846 * include/arpa/inet.h (__inet_pton): Declare. Use
10847 libc_hidden_proto.
10848 (inet_makeaddr): Don't use libc_hidden_proto.
10849 (__inet_makeaddr): Declare. Use libc_hidden_proto.
10850 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10851 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
10852 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10853 Remove variable.
10854 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10855 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10856
10857 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
10858
10859 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10860
10861 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10862
10863 * stdio-common/bug-vfprintf-nargs.c (do_test):
10864 Cast value to intptr_t to avoid format warning
10865 for usage with PRIdPTR printing macro.
10866
10867 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10868
10869 * libio/tst-widetext.c (do_test):
10870 Use format type %td instead of %Zd for ptrdiff_t
10871 in order to avoid format warning.
10872
10873 2014-12-17 Andreas Schwab <schwab@suse.de>
10874
10875 * nscd/mem.c (gc): Add size_t cast to match printf format.
10876
10877 2014-12-16 Roland McGrath <roland@hack.frob.com>
10878
10879 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10880 (init): Apply PTR_MANGLE to pointers before storing them.
10881 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10882 before using them.
10883
10884 2014-12-16 Joseph Myers <joseph@codesourcery.com>
10885
10886 [BZ #17719]
10887 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10888 define as weak alias of __memrchr.
10889 (__memrchr): Do not define as strong alias of memrchr.
10890 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10891 Remove variable.
10892 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10893 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10894 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10895
10896 [BZ #17717]
10897 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10898 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
10899 (if_indextoname): Rename to __if_indextoname and define as weak
10900 alias of __if_indextoname. Use libc_hidden_weak.
10901 (if_freenameindex): Rename to __if_freenameindex and define as
10902 weak alias of __if_freenameindex.
10903 (if_nameindex): Rename to __if_nameindex and define as weak alias
10904 of __if_nameindex.
10905 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10906 __if_nametoindex and define as weak alias of __if_nametoindex.
10907 Use libc_hidden_weak.
10908 (if_freenameindex): Rename to __if_freenameindex and define as
10909 weak alias of __if_freenameindex.
10910 (if_nameindex): Rename to __if_nameindex and define as weak alias
10911 of __if_nameindex.
10912 (if_indextoname): Rename to __if_indextoname and define as weak
10913 alias of __if_indextoname. Use libc_hidden_weak.
10914 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10915 __if_nametoindex and define as weak alias of __if_nametoindex.
10916 Use libc_hidden_weak.
10917 (if_freenameindex): Rename to __if_freenameindex and define as
10918 weak alias of __if_freenameindex. Use libc_hidden_weak.
10919 (if_nameindex_netlink): Use __if_freenameindex instead of
10920 if_freenameindex.
10921 (if_nameindex): Rename to __if_nameindex and define as weak alias
10922 of __if_nameindex. Use libc_hidden_weak.
10923 (if_indextoname): Rename to __if_indextoname and define as weak
10924 alias of __if_indextoname. Use libc_hidden_weak.
10925 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10926 libc_hidden_proto.
10927 [!_ISOMAC] (__if_freenameindex): Likewise.
10928 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10929 if_nametoindex.
10930 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10931 variable.
10932 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10933 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10934 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10935 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10936 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10937 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10938 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10939
10940 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10941 Remove variable.
10942 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10943 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10944
10945 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10946
10947 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10948 subscript above bounds'
10949
10950 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10951 bounds.
10952
10953 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
10954
10955 * libio/tst-fopenloc.c: Use test-skeleton.c.
10956
10957 * stdlib/tst-bsearch.c: Use test-skeleton.c.
10958 (entry): Rename to ITEM.
10959 (do_test, comp): Adjust.
10960
10961 * stdio-common/tst-fseek.c: Use test-skeleton.c.
10962
10963 2014-12-16 Torvald Riegel <triegel@redhat.com>
10964
10965 * string/tester.c: Include <libc-internal.h>.
10966 (test_memset): Ignore -Wmemset-transposed-args.
10967
10968 2014-12-16 Torvald Riegel <triegel@redhat.com>
10969
10970 * misc/tst-mntent2.c (do_test): Fix warning.
10971
10972 2014-12-16 Torvald Riegel <triegel@redhat.com>
10973
10974 * elf/tst-unique4lib.cc(a): Mark as used.
10975
10976 2014-12-16 Florian Weimer <fweimer@redhat.com>
10977
10978 [BZ #17630]
10979 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10980 names.
10981
10982 2014-12-16 Allan McRae <allan@archlinux.org>
10983
10984 * stdio-common/Makefile (tests): Re-add bug26.
10985
10986 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
10987
10988 [BZ #17657]
10989 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10990 static array.
10991
10992 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
10993
10994 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10995 (__lll_lock_wait): Likewise.
10996 (__lll_timedlock_wait): Likewise.
10997 (__lll_timedwait_tid): Likewise.
10998 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10999 (__lll_robust_timedlock_wait): Likewise.
11000 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11001 (lll_cond_trylock): Likewise.
11002 (__lll_lock): Likewise.
11003 (__lll_robust_lock): Likewise.
11004 (__lll_cond_lock): Likewise.
11005 (lll_robust_cond_lock): Likewise.
11006 (__lll_timedlock): Likewise.
11007 (__lll_robust_timedlock): Likewise.
11008 (__lll_unlock): Likewise.
11009 (__lll_robust_unlock): Likewise.
11010 (lll_wait_tid): Likewise.
11011 (lll_timedwait_tid): Likewise.
11012
11013 2014-12-15 Torvald Riegel <triegel@redhat.com>
11014
11015 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11016
11017 2014-12-15 Torvald Riegel <triegel@redhat.com>
11018
11019 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11020
11021 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11022
11023 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11024 * stdio-common/tst-sprintf.c: Likewise.
11025
11026 2014-12-15 Torvald Riegel <triegel@redhat.com>
11027
11028 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11029
11030 2014-12-15 Jeff Law <law@redhat.com>
11031
11032 [BZ #16617]
11033 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11034 on the heap. (CVE-2012-3406)
11035 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11036 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11037 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11038
11039 2014-12-15 Will Newton <will.newton@linaro.org>
11040
11041 * manual/install.texi: Bump required version of texinfo
11042 to 4.7 from 4.5.
11043 * INSTALL: Regenerated.
11044 * configure.ac: Check for makeinfo version 4.7 and above.
11045 * configure: Regenerated.
11046
11047 2014-12-12 Roland McGrath <roland@hack.frob.com>
11048
11049 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11050 PREFIX, string constant to insert between directory and name.
11051 * sysdeps/posix/shm_open.c: Update caller.
11052 * sysdeps/posix/shm_unlink.c: Likewise.
11053 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11054 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11055 (SEM_SHM_PREFIX): New macro.
11056 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11057 [$(have-thread-library) = no].
11058 * nptl/Makefile (libpthread-routines): Add shm-directory.
11059 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11060 * sysdeps/nptl/shm-directory.h: New file.
11061 * sysdeps/posix/shm-directory.c
11062 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11063 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11064 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11065 INTERNAL_SYSCALL.
11066 (__where_is_shmfs): Function removed.
11067 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11068 Variables removed.
11069 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11070 Use SHM_GET_NAME.
11071 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11072
11073 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11074 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11075 unconditional for use inside libpthread.
11076 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11077
11078 2014-12-12 Roland McGrath <roland@hack.frob.com>
11079
11080 * nptl/pthread_getaffinity.c: New file.
11081 * nptl/pthread_setaffinity.c: New file.
11082 * nptl/pthread_getname.c: New file.
11083 * nptl/pthread_setname.c: New file.
11084
11085 * nptl/pthread_create.c (START_THREAD_DEFN)
11086 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11087
11088 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11089 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11090
11091 * resolv/res_send.c (send_vc): Disable warning resplen may
11092 be used uninitialized.
11093
11094 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11095
11096 * nptl/tst-mutex6.c
11097 (ATTR_NULL): New define checks ATTR against NULL.
11098 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11099 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11100
11101 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11102
11103 [BZ #17581]
11104 * malloc/hooks.c
11105 (mem2mem_check): Revert my previous change.
11106 (malloc_check_get_size): Revert my previous change.
11107 (mem2chunk_check): Revert my previous change.
11108
11109 2014-12-11 Roland McGrath <roland@hack.frob.com>
11110
11111 * sysdeps/posix/shm-directory.c: New file.
11112 * sysdeps/posix/shm-directory.h: New file.
11113 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11114 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11115 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11116 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11117 Transmute EPERM to EACCES.
11118 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11119 from ...
11120 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11121 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11122
11123 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11124
11125 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11126 pointer and cast to uintptr_t.
11127 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11128 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11129 Add cast to avoid warning.
11130 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11131
11132 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11133
11134 * nptl/semaphore.h: Move to ...
11135 * sysdeps/pthread/semaphore.h: ... here.
11136 * Makefile (installed-headers): Change nptl/semaphore.h to
11137 sysdeps/pthread/semaphore.h.
11138
11139 2014-12-11 Roland McGrath <roland@hack.frob.com>
11140
11141 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11142 generated error format strings.
11143
11144 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11145 -Wformat-extra-args warnings for scanf formats.
11146 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11147 test of zero-length format (duh).
11148 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11149 corner-case scanf format test.
11150 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11151 generated fprintf format string.
11152 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11153 corner-case sprintf format tests.
11154 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11155 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11156 -Wformat-extra-args warnings throughout.
11157 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11158 (CFLAGS-scanf4.c): Likewise.
11159 (CFLAGS-scanf7.c): Likewise.
11160 (CFLAGS-tst-sprintf.c): Likewise.
11161 (CFLAGS-tst-printf.c): Likewise.
11162 (CFLAGS-tst-printfsz.c): Likewise.
11163
11164 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11165
11166 * include/cpio.h: New file.
11167 * include/fmtmsg.h: Likewise.
11168
11169 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11170 corresponding format argument to size_t.
11171 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11172 arguments.
11173 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11174 corresponding format argument to size_t.
11175 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11176 arguments.
11177 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11178 corresponding format argument to size_t.
11179 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11180 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11181 (CFLAGS-tst-mbswcs2.c): Likewise.
11182 (CFLAGS-tst-mbswcs3.c): Likewise.
11183 (CFLAGS-tst-mbswcs4.c): Likewise.
11184 (CFLAGS-tst-mbswcs5.c): Likewise.
11185 (CFLAGS-tst-trans.c): Likewise
11186
11187 2014-12-11 Roland McGrath <roland@hack.frob.com>
11188
11189 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11190 rather than assuming they won't contain any '%'s.
11191
11192 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11193
11194 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11195 inhibit_loop_to_libcall to avoid recursive calls.
11196 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11197 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11198
11199 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11200
11201 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11202 prototype.
11203
11204 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11205
11206 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11207 integer value instead of boolean.
11208
11209 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11210
11211 * malloc/malloc.c: Fix powerof2 check.
11212
11213 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11214
11215 * locale/programs/locfile.h (maybe_swap_uint32):
11216 Remove inline and add unused attribute.
11217
11218 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11219
11220 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11221 Truncating assembler expression to a .long expression.
11222
11223 2014-12-11 Andreas Schwab <schwab@suse.de>
11224
11225 * elf/rtld.c (struct map_args): Constify str member.
11226 (do_preload): Constify fname argument.
11227
11228 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11229
11230 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11231 constants definition.
11232
11233 2014-12-11 Andreas Schwab <schwab@suse.de>
11234
11235 [BZ #16657]
11236 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11237 FORCE_ELISION instead of DO_ELISION.
11238 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11239 Remove.
11240 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11241 Likewise.
11242
11243 * iconvdata/gconv-modules: Remove duplicate entry.
11244
11245 2014-12-11 Will Newton <will.newton@linaro.org>
11246
11247 Merge gettext 0.19.3 into intl/.
11248
11249 This involves a number of cosmetic changes to comments
11250 and ANSI function definitions and prototypes throughout
11251 all the files. The gettext copyright header is used but
11252 with the date ranges taken from the glibc copy.
11253
11254 * NEWS: Add gettext merge to 2.21.
11255 * intl/bindtextdom.c: Switch to gettext copyright.
11256 Use ANSI definitions and prototypes.
11257 Use gl_* locking primitives rather than __libc_* ones.
11258 Use __builtin_expect rather than __glibc_likely/unlikely.
11259 * intl/dcgettext.c: Switch to gettext copyright.
11260 Use ANSI definitions and prototypes.
11261 * intl/dcigettext.c: Switch to gettext copyright.
11262 Use ANSI definitions and prototypes.
11263 (INTDIV0_RAISES_SIGFPE): New define.
11264 Use gl_* locking primitives rather than __libc_* ones.
11265 Include eval-plural.h instead of plural-eval.c.
11266 Use __builtin_expect rather than __glibc_likely/unlikely.
11267 * intl/dcngettext.c: Switch to gettext copyright.
11268 Use ANSI definitions and prototypes.
11269 * intl/dgettext.c: Likewise.
11270 * intl/dngettext.c: Likewise.
11271 * intl/plural-eval.c: Renamed to...
11272 * intl/eval-plural.h: ...this.
11273 * intl/explodename.c: Switch to gettext copyright.
11274 Use ANSI definitions and prototypes.
11275 (_nl_explode_name): Use strchr instead of __rawmemchr.
11276 * intl/finddomain.c: Switch to gettext copyright.
11277 Use ANSI definitions and prototypes.
11278 Use gl_* locking primitives rather than __libc_* ones.
11279 (_nl_find_domain): Use malloc rather than alloca for
11280 allocation of temporary locale name.
11281 * intl/gettext.c: Switch to gettext copyright.
11282 Use ANSI definitions and prototypes.
11283 * intl/gettextP.h: Switch to gettext copyright.
11284 Use ANSI definitions and prototypes.
11285 Use gl_* locking primitives rather than __libc_* ones.
11286 * intl/gmo.h: Switch to gettext copyright.
11287 (struct sysdep_string): Move struct segment_pair outside of
11288 struct definition.
11289 * intl/hash-string.c: Use ANSI definitions and prototypes.
11290 * intl/hash-string.h: Switch to gettext copyright.
11291 Use ANSI definitions and prototypes.
11292 * intl/l10nflist.c: Switch to gettext copyright.
11293 Use ANSI definitions and prototypes.
11294 (_nl_normalize_codeset): Avoid integer overflow.
11295 * intl/loadinfo.h: Switch to gettext copyright.
11296 Use ANSI definitions and prototypes.
11297 (LIBINTL_DLL_EXPORTED): New define.
11298 (PATH_SEPARATOR): New define.
11299 * intl/loadmsgcat.c: Switch to gettext copyright.
11300 * intl/localealias.c: Switch to gettext copyright.
11301 Use ANSI definitions and prototypes.
11302 (_nl_expand_alias): Use PATH_SEPARATOR.
11303 * intl/ngettext.c: Switch to gettext copyright.
11304 Use ANSI definitions and prototypes.
11305 * intl/plural-exp.c: Likewise.
11306 * intl/plural-exp.h: Switch to gettext copyright.
11307 Use ANSI definitions and prototypes.
11308 (struct expression): Move definition of enum operator outside
11309 of struct definition.
11310 * intl/plural.c: Regenerate.
11311 * intl/plural.y: Switch to gettext copyright.
11312 Use ANSI definitions and prototypes.
11313 Port to bison 3.0.
11314 * intl/textdomain.c: Switch to gettext copyright.
11315 Use ANSI definitions and prototypes.
11316 Use gl_* locking primitives rather than __libc_* ones.
11317
11318 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11319
11320 * debug/warning-nop.c: Add used atrribute.
11321
11322 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11323
11324 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11325
11326 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11327 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11328 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11329
11330 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11331 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11332
11333 [BZ #17634]
11334 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11335 Undefine after defining function. Define as weak alias of
11336 __wcschr. Use libc_hidden_weak.
11337 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11338 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11339 (libc_hidden_def): Also define __GI___wcschr alias.
11340 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11341 __wcschr and define as weak alias of __wcschr.
11342 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11343 __wcschr.
11344 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11345 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11346 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11347 libc_hidden_weak. Do not use libc_hidden_def.
11348 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11349 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11350 __GI___wcschr alias.
11351 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11352 [IS_IN (libc)] (wcschr): Define as macro expanding to
11353 __redirect_wcschr.
11354 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11355 [IS_IN (libc)] (__wcschr_power6): Likewise.
11356 [IS_IN (libc)] (__wcschr_power7): Likewise.
11357 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11358 instead of wcschr.
11359 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11360 __libc_wcschr.
11361 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11362 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11363 __wcschr and define as weak alias of __wcschr. Use
11364 libc_hidden_builtin_def.
11365 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11366 as weak alias of __wcschr. Use libc_hidden_weak.
11367 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11368 wcschr.
11369 * time/era.c (_nl_init_era_entries): Likewise.
11370 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11371 variable.
11372 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11373 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11374
11375 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11376
11377 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11378 format for long int variable.
11379
11380 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11381
11382 [BZ #10672]
11383 * manual/search.texi: (Array Sort Function): Remove claim how to make
11384 qsort stable.
11385
11386 2014-12-10 Andreas Schwab <schwab@suse.de>
11387
11388 [BZ #12847]
11389 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11390 user-controlled locks.
11391
11392 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11393
11394 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11395 register.
11396
11397 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11398
11399 * configure.ac (--disable-werror): New configure option.
11400 (enable_werror): New AC_SUBST.
11401 * configure: Regenerated.
11402 * config.make.in (enable-werror): New variable.
11403 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11404 -Wno-error=undef.
11405 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11406 * manual/install.texi (Configuring and compiling): Document
11407 --disable-werror.
11408 * INSTALL: Regenerated.
11409 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11410 (CFLAGS-tst-chk2.c): Likewise.
11411 (CFLAGS-tst-chk3.c): Likewise.
11412 (CFLAGS-tst-chk4.cc): Likewise.
11413 (CFLAGS-tst-chk5.cc): Likewise.
11414 (CFLAGS-tst-chk6.cc): Likewise.
11415 (CFLAGS-tst-lfschk1.c): Likewise.
11416 (CFLAGS-tst-lfschk2.c): Likewise.
11417 (CFLAGS-tst-lfschk3.c): Likewise.
11418 (CFLAGS-tst-lfschk4.cc): Likewise.
11419 (CFLAGS-tst-lfschk5.cc): Likewise.
11420 (CFLAGS-tst-lfschk6.cc): Likewise.
11421
11422 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11423 (main): Disable -Wdeprecated-declarations around calls to
11424 register_printf_function.
11425
11426 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11427 (do_test): Disable -Wdiv-by-zero around some calls to
11428 fwrite_unlocked and fread_unlocked.
11429
11430 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11431 (DIAG_POP_NEEDS_COMMENT): Likewise.
11432 (_DIAG_STR1): Likewise.
11433 (_DIAG_STR): Likewise.
11434 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11435 * stdio-common/bug21.c: Include <libc-internal.h>.
11436 (do_test): Disable -Wformat around call to sscanf.
11437 * stdio-common/scanf14.c: Include <libc-internal.h>.
11438 (main): Disable -Wformat around some calls to scanf functions.
11439
11440 2014-12-09 Torvald Riegel <triegel@redhat.com>
11441
11442 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11443
11444 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11445
11446 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11447 stack variable alignment.
11448
11449 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11450
11451 [BZ #17682]
11452 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11453 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11454 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11455 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11456 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11457 __getrlimit instead of getrlimit.
11458 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11459 __gettimeofday instead of gettimeofday.
11460 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11461 Likewise.
11462 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11463 Likewise.
11464 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11465 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11466 Remove variable.
11467 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11468 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11469
11470 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11471
11472 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11473 for wide-character tests.
11474
11475 2014-12-04 Roland McGrath <roland@hack.frob.com>
11476
11477 * io/openat64.c: #include <libc-internal.h>
11478 (__openat64): Prototypify. Use ignore_value on MODE.
11479 * io/openat.c: Likewise.
11480 * misc/reboot.c: #include <libc-internal.h>
11481 (reboot): Prototypify. Use ignore_value on HOWTO.
11482 * misc/ptrace.c: #include <libc-internal.h>
11483 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11484
11485 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11486
11487 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11488 XPG4, UNIX98 and XOPEN2K.
11489 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11490 Remove variable.
11491 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11492
11493 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11494
11495 * libio/fileops.c: Use ISO C style for function definitions.
11496 * libio/iofopen.c: Likewise.
11497 * libio/wfileops.c: Likewise.
11498
11499 [BZ #17653]
11500 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11501 offset on EOF.
11502 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11503 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11504 (fgets_func): Function pointer to fgets and fgetws.
11505 (do_ftell_test): Add test to verify ftell value after read
11506 EOF.
11507 (do_test): Set fgets_func.
11508
11509 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11510 O_TRUNC flag for w and w+ modes.
11511 (do_rewind_test): Likewise.
11512 (do_ftell_test): Likewise.
11513 (do_write_test): Likewise.
11514
11515 [BZ #17647]
11516 * libio/fileops.c (do_ftell): Seek only when there are
11517 unflushed writes.
11518 * libio/wfileops.c (do_ftell_wide): Likewise.
11519 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11520 test case.
11521 (do_one_test): Call it.
11522
11523 2014-12-03 Joseph Myers <joseph@codesourcery.com>
11524
11525 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11526 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11527 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11528 Remove variable.
11529 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11530 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11531 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11532
11533 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11534
11535 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11536 Remove variable.
11537 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11538
11539 [BZ #17668]
11540 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11541 as weak alias of __getifaddrs. Use libc_hidden_weak.
11542 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11543 __freeifaddrs. Use libc_hidden_weak.
11544 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11545 define as weak alias of __getifaddrs. Use libc_hidden_weak.
11546 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11547 __freeifaddrs. Use libc_hidden_weak.
11548 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11549 __getifaddrs and define as weak alias of __getifaddrs. Use
11550 libc_hidden_weak.
11551 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11552 __freeifaddrs. Use libc_hidden_weak.
11553 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11554 Remove variable.
11555 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11556 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11557
11558 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
11559
11560 [BZ #17601]
11561 * sysdeps/mips/start.S (__start): Use indirect jump to call
11562 __libc_start_main.
11563
11564 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11565
11566 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11567
11568 * nptl/tst-mutex1.c: Include <stdbool.h>.
11569 [!ATTR] (ATTR_NULL): New macro.
11570 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11571 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11572 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11573
11574 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11575 to char *.
11576
11577 [BZ #17665]
11578 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11579 Change conditional to [__USE_MISC].
11580
11581 [BZ #17664]
11582 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11583 fgets_unlocked.
11584 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11585 __fgets_unlocked.
11586 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11587 fgets_unlocked.
11588 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11589 Remove variable.
11590 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11591 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11592 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11593 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11594 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11595 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11596 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11597 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11598 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11599
11600 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11601
11602 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11603
11604 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11605 Remove strpbrk objects.
11606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11607 (__libc_ifunc_impl_list): Remove strpbrk implementation.
11608 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11609 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11610 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11611 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11612
11613 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11614 Remove strcspn objects.
11615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11616 (__libc_ifunc_impl_list): Remove strcspn implementation.
11617 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11618 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11619 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11620 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11621
11622 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11623 Remove strspn objetcs.
11624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11625 (__libc_ifunc_impl_list): Remove strspn implementation.
11626 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11627 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11628 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11629 * sysdeps/powerpc/powerpc64/strspn.S: New file.
11630
11631 2014-12-01 James Lemke <jwlemke@codesourcery.com>
11632
11633 [BZ #17581]
11634 * malloc/hooks.c
11635 (mem2mem_check): Add a terminator to the chain of checking blocks.
11636 (malloc_check_get_size): Use it here.
11637 (mem2chunk_check): Ditto.
11638
11639 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11640
11641 * sysdeps/powerpc/powerpc64/strtok.S: New file.
11642 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11643
11644 2014-11-29 Carlos O'Donell <carlos@redhat.com>
11645
11646 * bits/ioctl-types.h: Indent preprocessor directives correctly.
11647
11648 * nptl/nptl-init.c: Include libc-internal.h.
11649 (__pthread_initialize_minimal_internal): Use ROUND_UP.
11650
11651 * elf/ldconfig.c (search_dir): Expand comment.
11652
11653 2014-11-29 Joseph Myers <joseph@codesourcery.com>
11654
11655 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11656 variable.
11657 (linknamespace-symlist-stdlibs-tests): Likewise.
11658 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11659 instead of $(objpfx)symlist-stdlibs.
11660 (linknamespace-libs-isoc): New variable.
11661 (linknamespace-libs): Use $(linknamespace-libs-isoc).
11662 (linknamespace-libs-ISO): New variable.
11663 (linknamespace-libs-ISO99): Likewise.
11664 (linknamespace-libs-ISO11): Likewise.
11665 (linknamespace-libs-XPG3): Likewise.
11666 (linknamespace-libs-XPG4): Likewise.
11667 (linknamespace-libs-POSIX): Likewise.
11668 (linknamespace-libs-UNIX98): Likewise.
11669 (linknamespace-libs-XOPEN2K): Likewise.
11670 (linknamespace-libs-POSIX2008): Likewise.
11671 (linknamespace-libs-XOPEN2K8): Likewise.
11672 ($(objpfx)symlist-stdlibs): Replace by
11673 $(linknamespace-symlist-stdlibs-tests). Use
11674 $(linknamespace-libs-$*) as set of libraries.
11675 ($(linknamespace-header-tests)): Update dependencies. Use
11676 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11677 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11678 * conform/linknamespace.pl: Remove comment about considering
11679 definitions of symbols from irrelevant libraries.
11680
11681 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
11682
11683 [BZ #13862]
11684 * elf/dl-tls.c: Include <atomic.h>.
11685 (oom): Remove #ifdef SHARED/#endif.
11686 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11687 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
11688 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11689 big enough.
11690 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11691 * nptl/Makefile (tests): Add tst-stack4.
11692 (modules-names): Add tst-stack4mod.
11693 ($(objpfx)tst-stack4): New.
11694 (tst-stack4mod.sos): Likewise.
11695 ($(objpfx)tst-stack4.out): Likewise.
11696 ($(tst-stack4mod.sos)): Likewise.
11697 (clean): Likewise.
11698 * nptl/tst-stack4.c: New file.
11699 * nptl/tst-stack4mod.c: Likewise.
11700
11701 2014-11-27 J. Brown <jb999@gmx.de>
11702
11703 * sysdeps/x86/bits/string.h: Add recent CPUs.
11704
11705 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11706
11707 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11708 sigblock.
11709
11710 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11711 feof.
11712
11713 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11714 variable.
11715
11716 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11717
11718 * nscd/connections.c: Include libc-internal.h because of macro
11719 usage ignore_value.
11720
11721 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11722
11723 * string/bits/string3.h (__warn_memset_zero_len): Don't
11724 declare for gcc newer than 5.0.
11725 (memset): Don't test for zero-length __LEN for gcc newer than
11726 5.0.
11727
11728 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11729
11730 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11731 size_t for %zu format.
11732
11733 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11734 difference, not %ju.
11735
11736 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11737
11738 * include/libc-internal.h (ignore_value): New macro.
11739 * nscd/connections.c (restart): Wrap calls to setuid and setgid
11740 with ignore_value.
11741
11742 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11743 definition.
11744
11745 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11746 pthread_cleanup_push to void *.
11747
11748 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11749 Undefine.
11750
11751 [BZ #16619]
11752 [BZ #16740]
11753 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11754 instead of 1L << 52.
11755
11756 * libio/bug-rewind.c (do_test): Check fwscanf return values.
11757 * libio/bug-rewind2.c (do_test): Likewise.
11758
11759 * debug/test-stpcpy_chk-ifunc.c: Remove file.
11760 * debug/test-strcpy_chk-ifunc.c: Likewise.
11761 * wcsmbs/test-wcschr-ifunc.c: Likewise.
11762 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11763 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11764 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11765 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11766 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11767 * Rules [$(multi-arch) = no] (tests): Do not filter out
11768 $(tests-ifunc).
11769 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11770 * debug/Makefile (tests-ifunc): Remove variable.
11771 (tests): Do not add $(tests-ifunc).
11772 * wcsmbs/Makefile (tests-ifunc): Remove variable.
11773 (tests): Do not add $(tests-ifunc).
11774 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11775 [TEST_IFUNC]: Remove conditionals.
11776 * string/test-string.h (TEST_IFUNC): Remove macro.
11777 [TEST_IFUNC]: Remove conditionals.
11778
11779 * string/test-strchr.c [!WIDE] (L): New macro.
11780 [WIDE] (L): Likewise.
11781 (check1): Use CHAR instead of char. Use L on string and character
11782 constants.
11783
11784 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
11785
11786 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11787 tests.
11788 * sysdeps/powerpc/bits/atomic.h
11789 (__arch_atomic_exchange_and_add_32_acq): Add definition.
11790 (__arch_atomic_exchange_and_add_32_rel): Likewise.
11791 (atomic_exchange_and_add_acq): Likewise.
11792 (atomic_exchange_and_add_rel): Likewise.
11793 * sysdeps/powerpc/powerpc32/bits/atomic.h
11794 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11795 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11796 * sysdeps/powerpc/powerpc64/bits/atomic.h
11797 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11798 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11799
11800 2014-11-26 Torvald Riegel <triegel@redhat.com>
11801
11802 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11803 Change synchronization of __sched_fifo_min_prio and
11804 __sched_fifo_max_prio.
11805 * nptl/pthread_mutexattr_getprioceiling.c
11806 (pthread_mutexattr_getprioceiling): Likewise.
11807 * nptl/pthread_mutexattr_setprioceiling.c
11808 (pthread_mutexattr_setprioceiling): Likewise.
11809 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11810 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11811 Likewise.
11812
11813 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11814
11815 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11816 void.
11817
11818 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11819
11820 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11821 third argument const.
11822
11823 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
11824
11825 fnmatch: work around GCC compiler warning bug with uninit var
11826 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11827 This works around a bug with x86-64 GCC 4.9.2 and earlier
11828 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11829 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11830 used uninitialized in this function [-Wmaybe-uninitialized]".
11831
11832 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11833
11834 * posix/bug-regex31.c (main): Return RES not 0.
11835
11836 2014-11-25 Anton Blanchard <anton@samba.org>
11837
11838 * sysdeps/powerpc/bits/atomic.h
11839 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11840
11841 2014-11-24 Sterling Augustine <saugustine@google.com>
11842
11843 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11844
11845 2014-11-24 Ryan Cumming <etaoins@gmail.com>
11846
11847 [BZ #17608]
11848 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11849
11850 2014-11-24 Joseph Myers <joseph@codesourcery.com>
11851
11852 [BZ #17633]
11853 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11854 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11855 variable.
11856 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11857 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11858
11859 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
11860
11861 * string/strncpy.c (strncpy): Improve performance by using memset.
11862
11863 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
11864
11865 * string/strcpy.c (strcpy):
11866 Improve performance by using strlen and memcpy.
11867
11868 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
11869
11870 * string/strcoll_l.c (get_next_seq): __always_inline.
11871 * string/strcoll_l.c (do_compare): __always_inline.
11872
11873 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11874
11875 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11876 defined.
11877 * include/mqueue.h: Likewise.
11878 * include/stdlib.h: Likewise.
11879
11880 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11881 (get_null_defines): Adjust.
11882 * sunrpc/Makefile: Adjust comment.
11883 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11884 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11885 (CFLAGS-interp.c): Likewise.
11886 (CFLAGS-ldconfig.c): Likewise.
11887 (CPPFLAGS-.os): Likewise.
11888 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11889 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11890 * extra-modules.mk (extra-modules.mk): Likewise.
11891 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11892 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11893 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11894 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11895 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11896 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11897 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11898 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11899 * iconvdata/Makefile (CPPFLAGS): Likewise.
11900 (cpp-srcs-left): Add libof for all iconvdata routines.
11901 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11902 * include/assert.h: Likewise.
11903 * include/ctype.h: Likewise.
11904 * include/errno.h: Likewise.
11905 * include/libc-symbols.h: Likewise.
11906 * include/math.h: Likewise.
11907 * include/netdb.h: Likewise.
11908 * include/resolv.h: Likewise.
11909 * include/stdio.h: Likewise.
11910 * include/stdlib.h: Likewise.
11911 * include/string.h: Likewise.
11912 * include/sys/stat.h: Likewise.
11913 * include/wctype.h: Likewise.
11914 * intl/l10nflist.c: Likewise.
11915 * libidn/idn-stub.c: Likewise.
11916 * libio/libioP.h: Likewise.
11917 * nptl/libc_multiple_threads.c: Likewise.
11918 * nptl/pthreadP.h: Likewise.
11919 * posix/regex_internal.h: Likewise.
11920 * resolv/res_hconf.c: Likewise.
11921 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11922 * sysdeps/arm/memmove.S: Likewise.
11923 * sysdeps/arm/sysdep.h: Likewise.
11924 * sysdeps/generic/_itoa.h: Likewise.
11925 * sysdeps/generic/symbol-hacks.h: Likewise.
11926 * sysdeps/gnu/errlist.awk: Likewise.
11927 * sysdeps/gnu/errlist.c: Likewise.
11928 * sysdeps/i386/i586/memcpy.S: Likewise.
11929 * sysdeps/i386/i586/memset.S: Likewise.
11930 * sysdeps/i386/i686/memcpy.S: Likewise.
11931 * sysdeps/i386/i686/memmove.S: Likewise.
11932 * sysdeps/i386/i686/mempcpy.S: Likewise.
11933 * sysdeps/i386/i686/memset.S: Likewise.
11934 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11935 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11936 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11937 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11938 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11939 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11940 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11941 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11942 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11943 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11944 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11945 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11946 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11947 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11948 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11949 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11950 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11951 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11952 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11953 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11954 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11955 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11956 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11957 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11958 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11959 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11960 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11961 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11962 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11963 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11964 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11965 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11966 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11967 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11968 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11969 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11970 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11971 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11972 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11974 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11975 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11976 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11977 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11978 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11979 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11980 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11981 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11982 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11983 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11984 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11985 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11986 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11987 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11988 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11989 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11990 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11991 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11992 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11993 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11994 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11995 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11996 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11997 * sysdeps/nptl/bits/libc-lock.h: Likewise.
11998 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11999 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12000 * sysdeps/posix/closedir.c: Likewise.
12001 * sysdeps/posix/opendir.c: Likewise.
12002 * sysdeps/posix/readdir.c: Likewise.
12003 * sysdeps/posix/rewinddir.c: Likewise.
12004 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12005 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12006 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12007 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12008 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12009 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12010 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12011 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12012 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12013 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12014 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12015 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12016 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12017 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12018 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12019 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12020 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12021 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12022 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12023 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12024 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12025 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12026 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12027 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12028 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12029 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12030 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12031 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12032 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12034 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12038 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12039 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12040 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12041 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12042 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12043 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12044 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12045 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12046 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12047 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12048 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12049 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12050 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12051 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12052 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12053 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12054 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12055 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12056 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12057 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12058 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12059 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12060 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12061 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12062 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12063 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12064 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12065 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12066 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12067 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12068 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12069 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12070 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12071 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12072 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12073 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12074 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12075 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12076 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12077 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12078 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12079 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12080 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12081 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12082 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12083 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12084 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12085 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12086 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12087 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12088 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12089 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12090 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12091 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12092 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12093 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12094 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12095 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12096 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12097 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12098 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12099 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12100 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12101 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12102 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12103 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12104 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12105 * sysdeps/unix/alpha/sysdep.S: Likewise.
12106 * sysdeps/unix/alpha/sysdep.h: Likewise.
12107 * sysdeps/unix/make-syscalls.sh: Likewise.
12108 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12109 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12110 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12111 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12112 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12113 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12114 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12115 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12116 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12117 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12118 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12119 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12120 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12121 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12122 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12123 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12124 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12125 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12126 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12127 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12128 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12129 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12130 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12131 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12132 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12133 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12134 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12137 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12138 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12139 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12140 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12141 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12142 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12143 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12144 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12145 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12146 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12147 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12148 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12149 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12150 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12151 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12152 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12153 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12155 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12157 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12158 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12159 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12160 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12161 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12162 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12163 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12164 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12165 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12166 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12167 * sysdeps/x86_64/memcpy.S: Likewise.
12168 * sysdeps/x86_64/memmove.c: Likewise.
12169 * sysdeps/x86_64/memset.S: Likewise.
12170 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12171 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12172 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12173 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12174 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12175 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12176 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12177 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12178 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12179 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12180 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12181 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12182 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12183 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12184 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12185 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12186 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12187 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12188 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12189 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12190 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12191 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12192 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12193 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12194 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12195 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12196 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12197 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12198 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12199 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12200 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12201 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12202 * sysdeps/x86_64/strcmp.S: Likewise.
12203
12204 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12205
12206 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12207 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12208 * elf/rtld-Rules: Likewise.
12209 * elf/setup-vdso.h: Likewise.
12210 * include/assert.h: Likewise.
12211 * include/bits/stdlib-float.h: Likewise.
12212 * include/errno.h: Likewise.
12213 * include/sys/stat.h: Likewise.
12214 * include/unistd.h: Likewise.
12215 * sysdeps/aarch64/setjmp.S: Likewise.
12216 * sysdeps/alpha/setjmp.S: Likewise.
12217 * sysdeps/arm/__longjmp.S: Likewise.
12218 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12219 * sysdeps/arm/setjmp.S: Likewise.
12220 * sysdeps/arm/sysdep.h: Likewise.
12221 * sysdeps/generic/_itoa.h: Likewise.
12222 * sysdeps/generic/dl-sysdep.h: Likewise.
12223 * sysdeps/generic/ldsodefs.h: Likewise.
12224 * sysdeps/i386/dl-tls.h: Likewise.
12225 * sysdeps/i386/setjmp.S: Likewise.
12226 * sysdeps/m68k/setjmp.c: Likewise.
12227 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12228 * sysdeps/mach/hurd/opendir.c: Likewise.
12229 * sysdeps/posix/getcwd.c: Likewise.
12230 * sysdeps/posix/opendir.c: Likewise.
12231 * sysdeps/posix/profil.c: Likewise.
12232 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12233 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12234 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12235 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12236 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12237 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12238 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12239 * sysdeps/s390/dl-tls.h: Likewise.
12240 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12241 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12242 * sysdeps/sh/sh3/setjmp.S: Likewise.
12243 * sysdeps/sh/sh4/setjmp.S: Likewise.
12244 * sysdeps/unix/alpha/sysdep.h: Likewise.
12245 * sysdeps/unix/arm/sysdep.S: Likewise.
12246 * sysdeps/unix/i386/sysdep.S: Likewise.
12247 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12248 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12249 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12250 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12251 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12252 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12253 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12254 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12255 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12256 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12257 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12258 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12259 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12262 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12263 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12264 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12265 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12266 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12267 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12269 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12270 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12271 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12272 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12274 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12275 * sysdeps/x86_64/setjmp.S: Likewise.
12276
12277 * include/math.h: Use IS_IN instead of IS_IN_libm.
12278 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12288 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12290 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12292 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12295 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12296 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12298 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12299 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12300 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12301 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12302 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12303 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12305 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12306 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12307 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12308 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12309 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12310 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12312 Likewise.
12313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12314 Likewise.
12315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12316 Likewise.
12317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12318 Likewise.
12319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12320 Likewise.
12321 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12322 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12323 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12324 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12325 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12326 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12332 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12333 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12334 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12335 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12336 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12337 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12338 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12339 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12340 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12341 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12342 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12343 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12344 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12345 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12347 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12348
12349 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12350 * nptl/pthreadP.h: Likewise.
12351 * nptl_db/structs.def: Likewise.
12352 * sysdeps/arm/sysdep.h: Likewise.
12353 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12354 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12355 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12356 * sysdeps/unix/alpha/sysdep.h: Likewise.
12357 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12358 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12359 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12360 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12361 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12362 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12363 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12364 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12365 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12366 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12367 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12368 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12369 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12370 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12374 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12375 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12377 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12378 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12379 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12380 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12381 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12382 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12383
12384 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12385 * nptl/pthreadP.h: Likewise.
12386 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12387 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12388 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12389 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12390 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12391 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12392 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12393 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12394 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12395 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12396 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12397 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12399 Likewise.
12400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12401 Likewise.
12402 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12403 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12404 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12405 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12406 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12407 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12408 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12409 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12410
12411 * dlfcn/dladdr.c: Use IS_IN.
12412 * dlfcn/dladdr1.c: Likewise.
12413 * dlfcn/dlclose.c: Likewise.
12414 * dlfcn/dlerror.c: Likewise.
12415 * dlfcn/dlinfo.c: Likewise.
12416 * dlfcn/dlmopen.c: Likewise.
12417 * dlfcn/dlopen.c: Likewise.
12418 * dlfcn/dlsym.c: Likewise.
12419 * dlfcn/dlvsym.c: Likewise.
12420
12421 * include/ifaddrs.h: Use IS_IN.
12422 * inet/check_pf.c: Likewise.
12423 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12424 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12425
12426 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12427 IS_IN_ldconfig.
12428 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12429 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12430
12431 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12432 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12433 IS_IN (libc).
12434
12435 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12436
12437 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12438 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12439 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12440 * include/libc-symbols.h (IS_IN_LIB): New macro.
12441 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12442 * include/netdb.h: Likewise.
12443 * include/stap-probe.h: Remove all uses of IN_LIB.
12444
12445 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12446 instead of IN_MODULE.
12447 * include/libc-symbols.h (IN_MODULE): Define using
12448 MODULE_NAME.
12449 (PASTE_NAME, PASTE_NAME1): New macros.
12450 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12451 of IN_LIB.
12452 (STAP_PROBE_ASM): Likewise.
12453
12454 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12455
12456 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12457 __mach_init in dlopened libc.
12458
12459 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12460
12461 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12462 * sysdeps/arm/preconfigure: Regenerate.
12463
12464 2014-11-21 Roland McGrath <roland@hack.frob.com>
12465
12466 * nptl/pthread_create.c (__pthread_create_2_1): Set
12467 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12468 when copying values from IATTR into PD.
12469
12470 2014-11-21 Will Newton <will.newton@linaro.org>
12471 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12472
12473 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12474 Refactor inline-asm. Also add comment.
12475
12476 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12477 ElfW macro instead of hardcoded Elf64 types.
12478 (la_aarch64_gnu_pltenter): Likewise.
12479 * sysdeps/aarch64/dl-machine.h
12480 (elf_machine_runtime_setup): Use ElfW(Addr).
12481
12482 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12483 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12484 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12485 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12486 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12487 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12488 (R_AARCH64_TLS_DTPMOD): This.
12489 (R_AARCH64_TLS_DTPREL64): Rename to ...
12490 (R_AARCH64_TLS_DTPREL): This.
12491 (R_AARCH64_TLS_TPREL64): Rename to ...
12492 (R_AARCH64_TLS_TPREL): This.
12493 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12494 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12495 R_AARCH64_TLS_TPREL64.
12496 (elf_machine_rela): Likewise.
12497
12498 2014-11-21 Torvald Riegel <triegel@redhat.com>
12499
12500 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12501 by setting it to 0. 64b atomics are not supported currently.
12502
12503 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12504
12505 [BZ #16469]
12506 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12507 search domain names.
12508
12509 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12510
12511 [BZ #16469]
12512 * NEWS: Update.
12513 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12514 trailing dot.
12515 * posix/tst-getaddrinfo5.c: New.
12516 * posix/Makefile (tests): Add it.
12517
12518 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12519
12520 [BZ #14498]
12521 * NEWS: Fixed.
12522 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12523 after parsing line but before break_if_match.
12524 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12525 if there is a protocol mismatch.
12526
12527 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12528
12529 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12530 because the potential race is on the user-supplied stream.
12531
12532 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12533
12534 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12535 string literal if not passed a buffer.
12536 * manual/job.texi (ctermid): Update reasoning, note deviation
12537 from posix, suggest mtasurace when not passed a buffer, for
12538 future non-preliminary safety notes.
12539
12540 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12541
12542 * manual/users.texi (cuserid): Fix MT-Safety note for the case
12543 of not passing it a buffer.
12544 Reported by Peng Haitao.
12545
12546 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12547
12548 * manual/Makefile ($(objpfx)stamp-summary): Require
12549 check-safety.sh to pass.
12550 * manual/check-safety.sh: Wish for verification that every
12551 @deftypefn and @deftypefun is followed by a @safety remark.
12552
12553 2014-11-20 Roland McGrath <roland@hack.frob.com>
12554
12555 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12556
12557 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12558 PTHREAD_CANCEL_ASYNCHRONOUS.
12559 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12560 send SIGCANCEL.
12561
12562 * nptl/default-sched.h: New file.
12563 * sysdeps/unix/sysv/linux/default-sched.h: New file.
12564 * nptl/pthread_create.c: Include it.
12565 (__pthread_create_2_1): Use collect_default_sched instead of making
12566 Linux syscalls here directly.
12567
12568 2014-11-20 Torvald Riegel <triegel@redhat.com>
12569
12570 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12571 __pthread_once): Use C11 atomics.
12572
12573 2014-11-20 Torvald Riegel <triegel@redhat.com>
12574
12575 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12576
12577 2014-11-20 Torvald Riegel <triegel@redhat.com>
12578
12579 * include/atomic.h (__atomic_link_error, __atomic_check_size,
12580 atomic_thread_fence_acquire, atomic_thread_fence_release,
12581 atomic_thread_fence_seq_cst, atomic_load_relaxed,
12582 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12583 atomic_compare_exchange_weak_relaxed,
12584 atomic_compare_exchange_weak_acquire,
12585 atomic_compare_exchange_weak_release,
12586 atomic_exchange_acquire, atomic_exchange_release,
12587 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12588 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12589 atomic_fetch_and_acquire,
12590 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12591
12592 2014-11-20 Torvald Riegel <triegel@redhat.com>
12593
12594 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12595 USE_ATOMIC_COMPILER_BUILTINS): Define.
12596 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12597 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12598 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12599 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12600 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12601 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12602 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12603 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12604 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12605 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12606 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12607 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12608 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12609 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12610 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12611 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12612 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12613 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12614 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12615 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12616 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12617 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12618 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12619 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12620 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12621 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12622 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12623 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12624 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12625 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12626 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12627 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12628 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12629 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12630 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12631 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12632 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12633 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12634 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12635 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12636
12637 2014-11-19 Roland McGrath <roland@hack.frob.com>
12638
12639 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12640 the sched_priority value here. It was already checked when the user
12641 called pthread_attr_setschedparam.
12642
12643 * nptl/tst-bad-schedattr.c: New file.
12644 * nptl/Makefile (tests): Add it.
12645
12646 2014-11-19 Carlos O'Donell <carlos@redhat.com>
12647 Florian Weimer <fweimer@redhat.com>
12648 Joseph Myers <joseph@codesourcery.com>
12649 Adam Conrad <adconrad@0c3.net>
12650 Andreas Schwab <schwab@suse.de>
12651 Brooks <bmoses@google.com>
12652
12653 [BZ #17625]
12654 * wordexp-test.c (__dso_handle): Add prototype.
12655 (__register_atfork): Likewise.
12656 (__app_register_atfork): New function.
12657 (registered_forks): New global.
12658 (register_fork): New function.
12659 (test_case): Add 3 new tests for WRDE_CMDSUB.
12660 (main): Call __app_register_atfork.
12661 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12662 fork count is non-zero fail the test.
12663 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12664 is set.
12665 (parse_dollars): Remove check for WRDE_NOCMD.
12666 (parse_dquote): Likewise.
12667
12668 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12669
12670 * Makeconfig (built-modules): List non-library modules to be
12671 built.
12672 (module-cppflags): Include libc-modules.h for
12673 everything except shlib-versions.v.i.
12674 (CPPFLAGS): Use it.
12675 (before-compile): Add libc-modules.h.
12676 ($(common-objpfx)libc-modules.h,
12677 $(common-objpfx)libc-modules.stmp): New targets.
12678 (common-generated): Add libc-modules.h and libc-modules.stmp.
12679 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12680 * include/libc-symbols.h: Don't include libc-modules.h.
12681 * include/libc-modules.h: Remove file.
12682 * scripts/gen-libc-modules.awk: New script to generate
12683 libc-modules.h.
12684 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12685 Depend on libc-modules.stmp.
12686
12687 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12688
12689 * Makeconfig (in-module): Get value of libof set for the
12690 translation unit.
12691 (CPPFLAGS): Use $(in-module).
12692 * Makerules: Don't suffix routine names for nonlib.
12693 * include/libc-modules.h: New file.
12694 * include/libc-symbols.h: Include libc-modules.h
12695 (IS_IN): New macro to replace IS_IN_* macros.
12696 * elf/Makefile: Set libof-* for each routine.
12697 * elf/rtld-Rules: Likewise.
12698 * extra-modules.mk: Likewise.
12699 * iconv/Makefile: Likewise.
12700 * iconvdata/Makefile: Likewise.
12701 * locale/Makefile: Likewise.
12702 * malloc/Makefile: Likewise.
12703 * nss/Makefile: Likewise.
12704 * sysdeps/gnu/Makefile: Likewise.
12705 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12706 * sysdeps/unix/sysv/linux/Makefile: Likewise.
12707 * sysdeps/s390/s390-64/Makefile: Likewise.
12708 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
12709 CPPFLAGS for nscd instead of nonlib.
12710
12711 2014-11-18 Roland McGrath <roland@hack.frob.com>
12712
12713 * nptl/createthread.c: New file.
12714
12715 * nptl/createthread.c: Moved ...
12716 * sysdeps/unix/sysv/linux/createthread.c: ... here.
12717
12718 * nptl/createthread.c: Add proper top-line comment.
12719 (do_clone): Folded into ...
12720 (create_thread): ... here. Take new arguments STOPPED_START and
12721 THREAD_RAN. Always set PD->stopped_start to something here. Don't
12722 increment __nptl_threads, do event-reporting logic, do
12723 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12724 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
12725 resource cleanup if sched_setaffinity or sched_setscheduler fails,
12726 just send SIGCANCEL.
12727 * nptl/pthread_create.c: Forward-declare create_thread before
12728 including createthread.c.
12729 (start_thread): Use new macro START_THREAD_DEFN to replace defining
12730 declaration, and new macro START_THREAD_SELF to replace argument.
12731 Remove return statement.
12732 (report_thread_creation): New function.
12733 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
12734 synchronization logic, and __nptl_nthreads increment here, around
12735 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
12736 PD->parent_cancelhandling here, before create_thread. When
12737 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12738 __deallocate_stack, and ENOMEM translation here.
12739
12740 2014-11-18 Joseph Myers <joseph@codesourcery.com>
12741
12742 [BZ #17616]
12743 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12744 (mptwo): Rename to __mptwo.
12745 (__inv): Use __mptwo instead of mptwo.
12746 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12747 (mptwo): Rename to __mptwo.
12748 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12749 of mpone and __mptwo instead of mptwo.
12750 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12751 instead of mpone.
12752 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12753 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12754 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12755 of mpone and __mptwo instead of mptwo.
12756 (__mpranred): Use __mpone instead of mpone.
12757 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12758 variable.
12759 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12760 (test-xfail-ISO99/math.h/linknamespace): Likewise.
12761 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12762 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12763 (test-xfail-ISO11/math.h/linknamespace): Likewise.
12764 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12765 (test-xfail-XPG3/math.h/linknamespace): Likewise.
12766 (test-xfail-XPG4/math.h/linknamespace): Likewise.
12767 (test-xfail-POSIX/math.h/linknamespace): Likewise.
12768 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12769 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12770 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12771 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12772 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12773 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12774 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12775 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12776 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12777 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12778
12779 2014-11-18 Tom de Vries <tom@codesoucery.com>
12780
12781 * manual/signal.texi (Primitives Interrupted by Signals): In section,
12782 replace BSD Handler xref with BSD Signal Handling.
12783
12784 2014-11-17 Richard Henderson <rth@redhat.com>
12785
12786 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12787 (_FP_PACK_RAW_2): Remove.
12788 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12789 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12790 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12791 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12792 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12793 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12794 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12795 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12796 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12797 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12798 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12799 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12800 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12801 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12802 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12803 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12804
12805 2014-11-14 Roland McGrath <roland@hack.frob.com>
12806
12807 * signal/signal.h [__USE_MISC]
12808 (struct sigvec): Remove type.
12809 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12810 (sigvec): Remove declaration.
12811 * sysdeps/posix/sigvec.c: Moved ...
12812 * signal/sigvec.c: ... here, replacing old file.
12813 (struct sigvec): New type, copied from old signal.h definition.
12814 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12815 (__sigvec): Convert definition to prototype.
12816 (sigvec): Replace weak_alias with compat_symbol.
12817 * signal/Versions (libc: GLIBC_2.21): New version set.
12818 * include/signal.h: Remove __sigvec declaration.
12819 * sysdeps/unix/bsd/sigvec.c: Remove file.
12820 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12821 * manual/signal.texi (BSD Handler): Remove subsection.
12822 Move siginterrupt up to ...
12823 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
12824 (Blocking in BSD): Fold subsection into its parent.
12825 * NEWS: Mention sigvec removal.
12826
12827 2014-11-14 Joseph Myers <joseph@codesourcery.com>
12828
12829 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12830 (DLA_FMS): Make definition conditional only on [__FMA4__].
12831 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12832 definition.
12833
12834 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12835 Make definition conditional only on [PROF].
12836 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12837 definition.
12838 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12839 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12840
12841 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12842 !__GNUC__].
12843 * include/signal.h (__sigpause): Move declaration above call to
12844 libc_hidden_proto.
12845 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12846 variable.
12847 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12848 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12849
12850 2014-11-14 David S. Miller <davem@davemloft.net>
12851
12852 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12853 Define before including <string/memcpy.c> and <string/mempcpy.c>.
12854
12855 2014-11-14 Joseph Myers <joseph@codesourcery.com>
12856
12857 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12858 * configure: Regenerated.
12859 * manual/install.texi (Tools for Compilation): Document a
12860 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12861 compiler verified to work.
12862 * INSTALL: Regenerated.
12863
12864 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12865 redeclare with asm name.
12866 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12867 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12868 including <string.h>.
12869 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12870 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12871 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12872 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12873 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12874 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12875 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12876
12877 2014-11-13 Joseph Myers <joseph@codesourcery.com>
12878
12879 * stdlib/strtol.c (__strtol): Use prototype definition.
12880
12881 [BZ #17594]
12882 * stdlib/strtol.c (SYM__): New macro.
12883 (SYM__1): Likewise.
12884 (__strtol): Likewise.
12885 (strtol): Rename to __strtol and define as weak alias of
12886 __strtol. Use libc_hidden_weak.
12887
12888 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12889
12890 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12891 Use numbered labels in inline assembly.
12892
12893 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12894
12895 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12896 Add setjmp LIBC_PROBE.
12897 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12898 Likewise.
12899 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12900 Add longjmp, longjmp_target LIBC_PROBE.
12901 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12902 Likewise.
12903
12904 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12905
12906 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12907 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12908 to get rid of unused variable warning.
12909
12910 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12911
12912 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12913 Check for unwind_backtrace == NULL only in SHARED case.
12914 (__backchain_backtrace): Compile only in SHARED case.
12915 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12916 Likewise.
12917 (__backchain_backtrace): Declare as static.
12918
12919 2014-11-12 Roland McGrath <roland@hack.frob.com>
12920
12921 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12922 (__libc_multiple_threads_ptr): Variable moved ...
12923 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12924
12925 2014-11-12 Joseph Myers <joseph@codesourcery.com>
12926
12927 * conform/GlibcConform.pm: New file.
12928 * conform/conformtest.pl: Use GlibcConform module.
12929 * conform/linknamespace.pl: New file.
12930 * conform/list-header-symbols.pl: Likewise.
12931 * conform/Makefile (linknamespace-symlists-base): New variable.
12932 (linknamespace-symlists-tests): Likewise.
12933 (linknamespace-header-base): Likewise.
12934 (linknamespace-header-tests): Likewise.
12935 (tests-special): Add new tests.
12936 ($(linknamespace-symlists-tests)): New rule.
12937 (linknamespace-libs): New variable.
12938 ($(objpfx)symlist-stdlibs): New rule.
12939 ($(linknamespace-header-tests)): Likewise.
12940 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12941 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12942 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12943 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12944 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12945 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12946 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12947 (test-xfail-ISO/math.h/linknamespace): Likewise.
12948 (test-xfail-ISO/signal.h/linknamespace): Likewise.
12949 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12950 (test-xfail-ISO/time.h/linknamespace): Likewise.
12951 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12952 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12953 (test-xfail-ISO99/math.h/linknamespace): Likewise.
12954 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12955 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12956 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12957 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12958 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12959 (test-xfail-ISO11/math.h/linknamespace): Likewise.
12960 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12961 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12962 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12963 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12964 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12965 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12966 (test-xfail-XPG3/math.h/linknamespace): Likewise.
12967 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12968 (test-xfail-XPG3/search.h/linknamespace): Likewise.
12969 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12970 (test-xfail-XPG3/time.h/linknamespace): Likewise.
12971 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12972 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12973 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12974 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12975 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12976 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12977 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12978 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12979 (test-xfail-XPG4/math.h/linknamespace): Likewise.
12980 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12981 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12982 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12983 (test-xfail-XPG4/search.h/linknamespace): Likewise.
12984 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12985 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12986 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12987 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12988 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12989 (test-xfail-XPG4/time.h/linknamespace): Likewise.
12990 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12991 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12992 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12993 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12994 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12995 (test-xfail-POSIX/math.h/linknamespace): Likewise.
12996 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12997 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12998 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12999 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13000 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13001 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13002 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13003 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13004 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13005 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13006 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13007 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13008 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13009 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13010 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13011 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13012 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13013 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13014 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13015 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13016 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13017 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13018 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13019 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13020 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13021 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13022 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13023 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13024 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13025 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13026 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13027 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13028 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13029 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13030 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13031 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13032 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13033 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13034 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13035 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13036 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13037 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13038 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13039 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13040 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13041 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13042 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13043 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13044 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13045 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13046 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13047 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13048 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13049 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13050 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13051 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13052 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13053 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13054 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13055 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13056 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13057 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13058 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13059 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13060 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13061 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13062 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13063 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13064 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13065 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13066 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13067 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13068 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13069 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13070 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13071 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13072 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13073 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13074 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13075 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13076 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13077 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13078 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13079 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13080 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13081 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13082 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13083 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13084 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13085 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13086 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13087 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13088 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13089 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13090 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13091 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13092 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13093 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13094 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13095 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13096 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13097 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13098 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13099 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13100 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13101
13102 [BZ #17589]
13103 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13104 of fgets_unlocked.
13105
13106 [BZ #17585]
13107 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13108 (memmem): Rename to __memmem and define as weak alias of
13109 __memmem. Use libc_hidden_weak.
13110 (__memmem): Use libc_hidden_def.
13111 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13112 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13113 memmem.
13114
13115 [BZ #17582]
13116 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13117 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13118 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13119 and define as weak alias of __fgets_unlocked. Use
13120 libc_hidden_weak.
13121 (__fgets_unlocked): Use libc_hidden_def.
13122 * include/stdio.h (__fgets_unlocked): Declare. Use
13123 libc_hidden_proto.
13124 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13125 __fgets_unlocked instead of fgets_unlocked.
13126 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13127 (GET_NPROCS_CONF_PARSER): Likewise.
13128 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13129 (GET_NPROCS_CONF_PARSER): Likewise.
13130
13131 [BZ #17574]
13132 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13133 weak alias of __wmemset. Use libc_hidden_weak.
13134 (__wmemset): Use libc_hidden_def.
13135 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13136 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13137 of wmemset.
13138
13139 [BZ #17573]
13140 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13141 with asm name __mempcpy.
13142 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13143
13144 [BZ #17572]
13145 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13146 and define as weak alias of __rawmemchr.
13147 (__rawmemchr): Do not define as strong alias of rawmemchr.
13148
13149 [BZ #17571]
13150 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13151 alias of __qsort_r.
13152 (qsort): Call __qsort_r instead of qsort_r.
13153 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13154 (__qsort_r): Declare. Call libc_hidden_proto.
13155 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13156 instead of qsort_r.
13157 * nscd/gai.c (__qsort_r): Define to qsort_r.
13158 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13159 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13160 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13161
13162 [BZ #17570]
13163 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13164 define as weak alias of __malloc_info.
13165
13166 [BZ #17584]
13167 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13168 as weak alias of __rewinddir. Don't use libc_hidden_def.
13169 (__rewinddir): Use libc_hidden_def.
13170 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13171 as weak alias of __rewinddir. Don't use libc_hidden_def.
13172 (__rewinddir): Use libc_hidden_def.
13173 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13174 weak alias of __rewinddir. Don't use libc_hidden_def.
13175 (__rewinddir): Use libc_hidden_def.
13176 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13177 (__rewinddir): Use libc_hidden_proto.
13178 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13179 rewinddir.
13180 (__getcwd): Use __rewinddir instead of rewinddir.
13181
13182 [BZ #17583]
13183 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13184 alias of __fileno. Use libc_hidden_weak.
13185 (__fileno): Use libc_hidden_def.
13186 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13187 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13188 alias of __ftello.
13189 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13190 __ftello.
13191 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13192 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13193 libc_hidden_def.
13194 (fread_unlocked): Don't use libc_hidden_ver.
13195 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13196 and define as weak alias of __fread_unlocked. Don't use
13197 libc_hidden_def.
13198 (__fread_unlocked): Use libc_hidden_def.
13199 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13200 (ftello): Don't use libc_hidden_proto.
13201 (__ftello): Declare. Use libc_hidden_proto.
13202 (fread_unlocked): Don't use libc_hidden_proto.
13203 (__fread_unlocked): Declare. Use libc_hidden_proto.
13204 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13205 and __ftello instead of fileno, fread_unlocked and ftello.
13206
13207 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13208
13209 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13210 GOT12.
13211 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13212 Likewise.
13213 (_dl_start_user): Likewise.
13214 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13215
13216 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13217 Siddhesh Poyarekar <siddhesh@redhat.com>
13218
13219 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13220 Move argv and envp down instead of moving argc up.
13221 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13222
13223 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13224
13225 [BZ #17506]
13226 * test-skeleton.c (main): Return successful if one of
13227 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13228 * string/tst-strcoll-overflow.c: Define expected status.
13229
13230 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13231
13232 [BZ #17475]
13233 * locale/iso-639.def: Define Bhili and Tulu language codes.
13234
13235 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13236
13237 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13238
13239 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13240
13241 [BZ #17555]
13242 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13243
13244 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13245
13246 * configure.ac: Updated check of minimal required version to
13247 2.22.
13248 * manual/install.texi (Tools for Compilation): Updated version
13249 number.
13250 * configure: Regenerated.
13251 * INSTALL: Likewise.
13252
13253 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13254
13255 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13256 __tls_get_addr.
13257
13258 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13259
13260 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13261 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13262 (__waitpid): Don't define as alias. Use libc_hidden_def not
13263 libc_hidden_weak.
13264 (waitpid): Define as alias of __waitpid.
13265 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13266 __waitpid.
13267 (__waitpid): Don't define as alias. Use libc_hidden_def not
13268 libc_hidden_weak.
13269 (waitpid): Define as alias of __waitpid.
13270 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13271 __libc_waitpid alias.
13272 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13273 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13274 Likewise.
13275 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13276 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13277 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13278 alias.
13279 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13280 __waitpid.
13281 (__waitpid): Don't define as alias. Use libc_hidden_def not
13282 libc_hidden_weak.
13283 (waitpid): Define as alias of __waitpid.
13284
13285 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13286
13287 * manual/llio.texi: Add comment that write safety has been
13288 fixed in Linux.
13289
13290 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13291 (localplt-build-dso): Add elf/ld.so.
13292 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13293 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13294 and free for ld.so.
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13296 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13298 Likewise.
13299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13300 Likewise.
13301 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13302 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13303 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13304 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13305 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13306 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13307 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13308 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13309 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13310 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13311 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13312
13313 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13314
13315 [BZ #14132]
13316 * include/libc-symbols.h (INTUSE): Remove macro.
13317 (INTDEF): Likewise.
13318 (INTVARDEF): Likewise.
13319 (_INTVARDEF): Likewise.
13320 (INTDEF2): Likewise.
13321 (INTVARDEF2): Likewise.
13322 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13323 rtld_hidden_def instead of INTVARDEF.
13324 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13325 (_dl_starting_up_internal): Remove declaration.
13326 (_dl_starting_up): Use rtld_hidden_proto.
13327 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13328 declaration.
13329 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13330 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13331 _dl_starting_up.
13332 * elf/dl-writev.h (_dl_writev): Likewise.
13333 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13334 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13335 _dl_starting_up_internal.
13336
13337 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13338
13339 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13340 test-skeleton.c.
13341
13342 2014-11-05 Will Newton <will.newton@linaro.org>
13343
13344 * benchtests/Makefile: (bench-malloc): Add malloc thread
13345 scalability benchmark.
13346 * benchtests/bench-malloc-threads.c: New file.
13347
13348 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13349
13350 * sysdeps/aarch64/strchrnul.S: New file.
13351
13352 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13353
13354 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13355 definition.
13356 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13357 Likwise.
13358 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13359 Likewise.
13360 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13361 Likewise.
13362 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13363 Likewise.
13364 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13365 Likewise.
13366
13367 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13368
13369 * catgets/test-gencat.c: Use test-skeleton.c.
13370 * catgets/tst-catgets.c: Likewise.
13371 * csu/tst-empty.c: Likewise.
13372 * elf/tst-audit2.c: Likewise.
13373 * elf/tst-global1.c: Likewise.
13374 * elf/tst-pathopt.c: Likewise.
13375 * elf/tst-piemod1.c: Likewise.
13376 * elf/tst-tls10.c: Likewise.
13377 * elf/tst-tls11.c: Likewise.
13378 * elf/tst-tls12.c: Likewise.
13379 * gnulib/tst-gcc.c: Likewise.
13380 * iconvdata/tst-e2big.c: Likewise.
13381 * iconvdata/tst-loading.c: Likewise.
13382 * iconv/tst-iconv1.c: Likewise.
13383 * iconv/tst-iconv2.c: Likewise.
13384 * inet/test-inet6_opt.c: Likewise.
13385 * inet/tst-gethnm.c: Likewise.
13386 * inet/tst-network.c: Likewise.
13387 * inet/tst-ntoa.c: Likewise.
13388 * intl/tst-codeset.c: Likewise.
13389 * intl/tst-gettext2.c: Likewise.
13390 * intl/tst-gettext3.c: Likewise.
13391 * intl/tst-ngettext.c: Likewise.
13392 * intl/tst-translit.c: Likewise.
13393 * io/test-stat.c: Likewise.
13394 * libio/test-fmemopen.c: Likewise.
13395 * libio/tst-freopen.c: Likewise.
13396 * libio/tst-sscanf.c: Likewise.
13397 * libio/tst-ungetwc1.c: Likewise.
13398 * libio/tst-ungetwc2.c: Likewise.
13399 * libio/tst-widetext.c: Likewise.
13400 * localedata/tst-ctype.c: Likewise.
13401 * localedata/tst-digits.c: Likewise.
13402 * localedata/tst-leaks.c: Likewise.
13403 * localedata/tst-mbswcs1.c: Likewise.
13404 * localedata/tst-mbswcs2.c: Likewise.
13405 * localedata/tst-mbswcs3.c: Likewise.
13406 * localedata/tst-mbswcs4.c: Likewise.
13407 * localedata/tst-mbswcs5.c: Likewise.
13408 * localedata/tst-setlocale.c: Likewise.
13409 * localedata/tst-trans.c: Likewise.
13410 * localedata/tst-wctype.c: Likewise.
13411 * localedata/tst-xlocale1.c: Likewise.
13412 * login/tst-grantpt.c: Likewise.
13413 * malloc/tst-calloc.c: Likewise.
13414 * malloc/tst-malloc.c: Likewise.
13415 * malloc/tst-mallocstate.c: Likewise.
13416 * malloc/tst-mcheck.c: Likewise.
13417 * malloc/tst-mtrace.c: Likewise.
13418 * malloc/tst-obstack.c: Likewise.
13419 * math/atest-exp2.c: Likewise.
13420 * math/atest-exp.c: Likewise.
13421 * math/atest-sincos.c: Likewise.
13422 * math/test-matherr.c: Likewise.
13423 * math/test-misc.c: Likewise.
13424 * math/test-powl.c: Likewise.
13425 * math/tst-definitions.c: Likewise.
13426 * misc/tst-dirname.c: Likewise.
13427 * misc/tst-efgcvt.c: Likewise.
13428 * misc/tst-fdset.c: Likewise.
13429 * misc/tst-hsearch.c: Likewise.
13430 * misc/tst-mntent2.c: Likewise.
13431 * nptl/tst-sem7.c: Likewise.
13432 * nptl/tst-sem8.c: Likewise.
13433 * nptl/tst-sem9.c: Likewise.
13434 * nss/test-netdb.c: Likewise.
13435 * posix/tst-fnmatch.c: Likewise.
13436 * posix/tst-getlogin.c: Likewise.
13437 * posix/tst-gnuglob.c: Likewise.
13438 * posix/tst-mmap.c: Likewise.
13439 * pwd/tst-getpw.c: Likewise.
13440 * resolv/tst-inet_ntop.c: Likewise.
13441 * rt/tst-timer.c: Likewise.
13442 * stdio-common/test-fseek.c: Likewise.
13443 * stdio-common/test-popen.c: Likewise.
13444 * stdio-common/test-vfprintf.c: Likewise.
13445 * stdio-common/tst-cookie.c: Likewise.
13446 * stdio-common/tst-fileno.c: Likewise.
13447 * stdio-common/tst-gets.c: Likewise.
13448 * stdio-common/tst-obprintf.c: Likewise.
13449 * stdio-common/tst-perror.c: Likewise.
13450 * stdio-common/tst-sprintf2.c: Likewise.
13451 * stdio-common/tst-sprintf3.c: Likewise.
13452 * stdio-common/tst-sprintf.c: Likewise.
13453 * stdio-common/tst-swprintf.c: Likewise.
13454 * stdio-common/tst-tmpnam.c: Likewise.
13455 * stdio-common/tst-unbputc.c: Likewise.
13456 * stdio-common/tst-wc-printf.c: Likewise.
13457 * stdlib/tst-environ.c: Likewise.
13458 * stdlib/tst-fmtmsg.c: Likewise.
13459 * stdlib/tst-limits.c: Likewise.
13460 * stdlib/tst-rand48-2.c: Likewise.
13461 * stdlib/tst-rand48.c: Likewise.
13462 * stdlib/tst-random2.c: Likewise.
13463 * stdlib/tst-random.c: Likewise.
13464 * stdlib/tst-strtol.c: Likewise.
13465 * stdlib/tst-strtoll.c: Likewise.
13466 * stdlib/tst-tls-atexit.c: Likewise.
13467 * stdlib/tst-xpg-basename.c: Likewise.
13468 * string/test-ffs.c: Likewise.
13469 * string/tst-bswap.c: Likewise.
13470 * string/tst-inlcall.c: Likewise.
13471 * string/tst-strtok.c: Likewise.
13472 * string/tst-strxfrm.c: Likewise.
13473 * sysdeps/x86_64/tst-audit10.c: Likewise.
13474 * sysdeps/x86_64/tst-audit3.c: Likewise.
13475 * sysdeps/x86_64/tst-audit4.c: Likewise.
13476 * sysdeps/x86_64/tst-audit5.c: Likewise.
13477 * time/tst-ftime_l.c: Likewise.
13478 * time/tst-getdate.c: Likewise.
13479 * time/tst-mktime3.c: Likewise.
13480 * time/tst-mktime.c: Likewise.
13481 * time/tst-posixtz.c: Likewise.
13482 * time/tst-strptime2.c: Likewise.
13483 * time/tst-strptime3.c: Likewise.
13484 * wcsmbs/tst-btowc.c: Likewise.
13485 * wcsmbs/tst-mbrtowc.c: Likewise.
13486 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13487 * wcsmbs/tst-wchar-h.c: Likewise.
13488 * wcsmbs/tst-wcpncpy.c: Likewise.
13489 * wcsmbs/tst-wcrtomb.c: Likewise.
13490 * wcsmbs/tst-wcsnlen.c: Likewise.
13491 * wcsmbs/tst-wcstof.c: Likewise.
13492
13493 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13494
13495 [BZ #14132]
13496 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13497 INTDEF.
13498 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13499 declaration.
13500 (_dl_mcount): Use rtld_hidden_proto.
13501 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13502 _dl_mcount.
13503 * elf/rtld.c (_rtld_global_ro): Likewise.
13504
13505 [BZ #14132]
13506 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13507 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13508 of _dl_init_internal.
13509 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13510 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13511 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13512 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13513 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13514 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13515 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13516 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13517 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13518 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13519 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13520 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13521 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13522 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13523 * sysdeps/tile/dl-start.S (_start): Likewise.
13524 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13525 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13526
13527 [BZ #14132]
13528 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13529 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13530 (rtld_progname): Make macro definition unconditional.
13531 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13532 INTDEF.
13533 (dlmopen_doit): Do not use INTUSE with _dl_argv.
13534 (dl_main): Likewise.
13535 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13536 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13537 instead of _dl_argv_internal.
13538 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13539 __GI__dl_argv instead of INTUSE(_dl_argv).
13540 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13541 __GI__dl_argv instead of _dl_argv_internal.
13542
13543 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13544 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13545 macro.
13546 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13547 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13548 New macro.
13549 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13550 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13551 macro.
13552 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13553 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13554
13555 2014-11-04 Andreas Schwab <schwab@suse.de>
13556
13557 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13558
13559 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13560
13561 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13562 mtvsrd instruction in binary form.
13563
13564 2014-11-03 Andreas Schwab <schwab@suse.de>
13565
13566 [BZ #17522]
13567 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13568 for less than MB_LEN_MAX use a local buffer of that size.
13569 * libio/tst-fputws.c: New file.
13570 * libio/Makefile (tests): Add tst-fputws.
13571
13572 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
13573
13574 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13575 the size of the fpu_fr.fpu_dregs[] array.
13576
13577 2014-11-01 Joseph Myers <joseph@codesourcery.com>
13578
13579 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13580 (__nanosleep): Do not define as alias.
13581 (nanosleep): Define as alias of __nanosleep.
13582 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13583 __libc_nanosleep name.
13584
13585 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13586
13587 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13588 install.texi in comment.
13589
13590 2014-10-31 Torvald Riegel <triegel@redhat.com>
13591
13592 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13593 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13594 ... add here and use lwsync or sync ...
13595 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13596 ... and add here using lwsync.
13597
13598 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
13599
13600 * elf/dl-machine-reject-phdr.h: New file.
13601 * elf/dl-load.c: #include that.
13602 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13603 if that returned true.
13604
13605 2014-10-31 Roland McGrath <roland@hack.frob.com>
13606
13607 [BZ #17496]
13608 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13609 gen-as-const-headers chunk. Add a big scare comment after the last
13610 safe place to touch before-compile.
13611
13612 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13613
13614 * manual/install.texi (Tools for Compilation): Update autoconf
13615 version requirements.
13616 * INSTALL: Regenerated.
13617
13618 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13619 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13620 (__libc_pselect): Likewise.
13621
13622 [BZ #14138]
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13627
13628 2014-10-31 Torvald Riegel <triegel@redhat.com>
13629
13630 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13631 correct barrier instruction.
13632 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13633 Likewise.
13634 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13635 Likewise.
13636
13637 2014-10-30 Roland McGrath <roland@hack.frob.com>
13638
13639 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13640 after defining inlines. Instead, just use parens to defeat macro
13641 expansion of __isctype in its declaration.
13642
13643 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13644
13645 * include/sys/uio.h (__libc_readv): Remove declaration.
13646 (__libc_writev): Likewise.
13647 * misc/readv.c (__libc_readv): Rename to __readv.
13648 (__readv): Do not define as alias.
13649 (readv): Define as alias of __readv.
13650 * misc/writev.c (__libc_writev): Rename to __writev.
13651 (__writev): Do not define as alias.
13652 (writev): Define as alias of __writev.
13653 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13654 (__readv): Do not define as alias.
13655 (readv): Define unconditionally as alias of __readv.
13656 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13657 (__writev): Do not define as alias.
13658 (writev): Define unconditionally as alias of __writev.
13659 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13660 name.
13661 (writev): Do not define __libc_writev name.
13662
13663 2014-10-30 Roland McGrath <roland@hack.frob.com>
13664
13665 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13666 (convert_charseq): New function, broken out of ...
13667 (use_from_charmap): ... here. Call it.
13668 (use_to_charmap): Use convert_charseq and free instead of duplicating
13669 its code with a variable-length stack struct.
13670
13671 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13672
13673 * include/fcntl.h (__libc_creat): Remove declaration.
13674 * io/creat.c (__libc_creat): Rename to creat.
13675 (creat): Do not define as alias.
13676 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13677 of creat instead of __libc_creat.
13678 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13679 to creat.
13680 (creat): Do not define as alias.
13681 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13682 __libc_creat.
13683 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13684 __libc_creat name.
13685 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13686 Likewise.
13687
13688 2014-10-29 Carlos O'Donell <carlos@redhat.com>
13689
13690 * manual/llio.texi: Add comments discussing why write() may be
13691 considered MT-unsafe on Linux.
13692
13693 2014-10-28 Carlos O'Donell <carlos@redhat.com>
13694
13695 * dl-load.c (local_strdup): Remove.
13696 (expand_dynamic_string_token): Use __strdup.
13697 (decompose_rpath): Likewise.
13698 (_dl_map_object): Likewise.
13699
13700 2014-10-28 Joseph Myers <joseph@codesourcery.com>
13701
13702 [BZ #14132]
13703 * sysdeps/generic/unwind-dw2-fde.c
13704 (__register_frame_info_bases_internal): Do not declare.
13705 (__register_frame_info_table_bases_internal): Likewise.
13706 (__deregister_frame_info_bases_internal): Likewise.
13707 (__register_frame_info_bases): Declare and use hidden_proto before
13708 definition. Use hidden_def instead of INTDEF.
13709 (__register_frame_info_table_bases): Likewise.
13710 (__deregister_frame_info_bases): Likewise.
13711 (__register_frame_info): Do not use INTUSE.
13712 (__register_frame): Likewise.
13713 (__register_frame_info_table): Likewise.
13714 (__register_frame_table): Likewise.
13715 (__deregister_frame_info): Likewise.
13716 (__deregister_frame): Likewise.
13717
13718 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
13719
13720 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13721 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13722 not undefine.
13723 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13724 Likewise.
13725 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13726 Likewise.
13727
13728 2014-10-27 Joseph Myers <joseph@codesourcery.com>
13729
13730 [BZ #14138]
13731 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13732 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13733 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13734 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13735 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13736 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13737 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13738 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13739 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13740 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13741 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13742 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13743 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13744 syscall.
13745 (setfsuid): Likewise.
13746 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13747 (setfsuid): Likewise.
13748 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13749 (setfsuid): Likewise.
13750 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13751 Likewise.
13752 (setfsuid): Likewise.
13753 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13754 (setfsuid): Likewise.
13755 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13756 Likewise.
13757 (setfsuid): Likewise.
13758
13759 2014-10-27 Andreas Schwab <schwab@suse.de>
13760
13761 [BZ #17501]
13762 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13763 check for Slow_SSE4_2 feature bit.
13764 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13765 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13766 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13767 Likewise. Fix check for Fast_Unaligned_Load feature bit.
13768
13769 2014-10-24 Roland McGrath <roland@hack.frob.com>
13770
13771 * configure.ac: Validate compiler version with a empirical test of
13772 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13773 $CC -v output.
13774 * configure: Regenerated.
13775
13776 * inet/htons.c (htons): Prototypify.
13777 * inet/htonl.c (htonl): Likewise.
13778
13779 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13780
13781 * string/strncat.c (strncat): Improve performance by using strlen.
13782
13783 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13784
13785 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13786
13787 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13788
13789 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13790 Call libc_fetestexcept_aarch64.
13791
13792 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13793
13794 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13795 Call libc_feholdexcept_aarch64.
13796
13797 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13798
13799 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13800 Call get_rounding_mode.
13801
13802 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13803
13804 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13805 Simplify logic.
13806
13807 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13808
13809 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13810 Simplify logic.
13811
13812 2014-10-24 Joseph Myers <joseph@codesourcery.com>
13813
13814 [BZ #14138]
13815 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13816 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13817 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13818 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13819 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13820 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13821 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13822 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13823 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13824 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13825 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13826 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13827 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13828 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13829 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13830 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13831 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13832 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13833 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13834 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13835 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13836 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13837 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13838 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13839 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13840 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13841 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13842 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13843 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13844 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13845 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13846 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13847 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13848 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13849 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13850 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13851 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13852 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13853 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13854 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13855 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13856 syscall.
13857 (geteuid): Likewise.
13858 (getgid): Likewise.
13859 (getuid): Likewise.
13860 (getresgid): Likewise.
13861 (getresuid): Likewise.
13862 (getgroups): Likewise.
13863 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13864 (geteuid): Likewise.
13865 (getgid): Likewise.
13866 (getuid): Likewise.
13867 (getresgid): Likewise.
13868 (getresuid): Likewise.
13869 (getgroups): Likewise.
13870 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13871 (geteuid): Likewise.
13872 (getgid): Likewise.
13873 (getuid): Likewise.
13874 (getresgid): Likewise.
13875 (getresuid): Likewise.
13876 (getgroups): Likewise.
13877 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13878 Likewise.
13879 (geteuid): Likewise.
13880 (getgid): Likewise.
13881 (getuid): Likewise.
13882 (getresgid): Likewise.
13883 (getresuid): Likewise.
13884 (getgroups): Likewise.
13885 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13886 (geteuid): Likewise.
13887 (getgid): Likewise.
13888 (getuid): Likewise.
13889 (getresgid): Likewise.
13890 (getresuid): Likewise.
13891 (getgroups): Likewise.
13892 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13893 Likewise.
13894 (geteuid): Likewise.
13895 (getgid): Likewise.
13896 (getuid): Likewise.
13897 (getgroups): Likewise.
13898
13899 [BZ #14138]
13900 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13901 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13902 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13903 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13904 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13905 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13906 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13907 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13908 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13909 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13910 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13911 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13912 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13913 __chown.
13914 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13915 (lchown): Likewise.
13916 (fchown): Likewise.
13917 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13918 Likewise.
13919 (lchown): Likewise.
13920 (fchown): Likewise.
13921 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13922 (lchown): Likewise.
13923 (fchown): Likewise.
13924 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13925 Likewise.
13926 (lchown): Likewise.
13927 (fchown): Likewise.
13928
13929 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13930
13931 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13932 Simplify logic.
13933
13934 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13935
13936 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13937 Cleanup logic.
13938
13939 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13940
13941 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13942 Remove unused include.
13943
13944 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13945
13946 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13947 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13948 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13949 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13950
13951 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
13952 Helge Deller <deller@gmx.de>
13953
13954 [BZ #17508]
13955 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13956 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13957 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13958
13959 2014-10-23 Joseph Myers <joseph@codesourcery.com>
13960
13961 [BZ #14132]
13962 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13963 Remove macro definition.
13964 (__ashrdi3_v_glibc20): Likewise.
13965 (__lshrdi3_v_glibc20): Likewise.
13966 (__cmpdi2_v_glibc20): Likewise.
13967 (__ucmpdi2_v_glibc20): Likewise.
13968 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13969 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13970 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13971 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13972 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13973 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13974
13975 2014-10-22 Roland McGrath <roland@hack.frob.com>
13976
13977 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13978 old GNU extension [0] syntax.
13979 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13980 alloca rather than an array member with variable length.
13981 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13982 * nscd/nscd.c (invalidate_db): New function, broken out of ...
13983 (parse_opt): ... here. Likewise use alloca there.
13984 Validate the -i argument before checking for rootness.
13985 (send_shutdown): New function, broken out of ...
13986 (parse_opt): ... here.
13987
13988 2014-10-22 Roland McGrath <roland@hack.frob.com>
13989
13990 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13991 macro to get at the _rt_local_ro field.
13992 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13993 ([PIC] case) or _dl_hwcap ([!PIC] case).
13994 * sysdeps/arm/setjmp.S: Likewise.
13995
13996 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13997 * sysdeps/arm/configure.ac: New check to define it.
13998 * sysdeps/arm/configure: Regenerated.
13999 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14000 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14001 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14002 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14003 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14004 Use move/movt pair instead of a load.
14005 (LDST_GLOBAL): Macro removed.
14006 (LDR_GLOBAL): New macro replaces it.
14007 (LDR_HIDDEN): New macro.
14008 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14009 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14010
14011 * setjmp/tst-setjmp-static.c: New file.
14012 * setjmp/Makefile (tests): Add it.
14013 (tests-static): New variable.
14014
14015 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14016
14017 [BZ #17485]
14018 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14019
14020 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14021
14022 [BZ #14132]
14023 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14024
14025 2014-10-21 Roland McGrath <roland@hack.frob.com>
14026
14027 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14028
14029 2014-10-20 Roland McGrath <roland@hack.frob.com>
14030
14031 * io/fts.c (dirent_not_directory): New function.
14032 (fts_build): Call it.
14033
14034 2014-10-20 Roland McGrath <roland@hack.frob.com>
14035
14036 * nptl/version.c (__nptl_main): Use normal __write rather than
14037 INTERNAL_SYSCALL.
14038 (banner): Update copyright years.
14039
14040 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14041 gettimeofday.
14042 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14043 * nptl/pthread_cond_timedwait.c: Likewise.
14044 * nptl/pthread_mutex_timedlock.c: Likewise.
14045 * nptl/sem_timedwait.c: Likewise.
14046
14047 * sysdeps/nptl/bits/libc-lock.h
14048 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14049 (__libc_lock_init_recursive): Return void, not 0.
14050 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14051 (__libc_rwlock_init): Likewise.
14052 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14053
14054 2014-10-20 Torvald Riegel <triegel@redhat.com>
14055
14056 [BZ #15215]
14057 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14058 (__pthread_once_slow): ... here.
14059 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14060 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14061
14062 2014-10-20 Torvald Riegel <triegel@redhat.com>
14063
14064 [BZ #15215]
14065 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14066 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14067 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14068 * nptl/pthread_once.c (__pthread_once): Likewise.
14069 Update comments.
14070
14071 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14072
14073 [BZ #14138]
14074 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14075 name.
14076 (writev): Use __libc_writev as strong name.
14077 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14078 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14079
14080 2014-10-17 Roland McGrath <roland@hack.frob.com>
14081
14082 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14083
14084 * sysdeps/i386/nptl/tls.h
14085 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14086 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14087 New macros.
14088 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14089 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14090 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14091 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14092 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14093 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14094
14095 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14096 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14097 on [__NR_futex].
14098 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14099 broken out of ...
14100 (__pthread_mutex_init): ... here. Call it.
14101 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14102 Conditionalize PI cases on [__NR_futex].
14103 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14104 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14105 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14106
14107 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14108 conditional on [SIGSETXID].
14109 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14110 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14111 is defined. Likewise for SIGSETXID.
14112 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14113 Conditionalize definitions on [SIGSETXID].
14114 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14115 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14116 unblocking on [SIGCANCEL].
14117
14118 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14119 [__NR_set_robust_list].
14120
14121 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14122
14123 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14124 (do_compare): Likewise.
14125
14126 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14127
14128 [BZ #15884]
14129 * string/strcoll_l.c: Don't include stdio.h.
14130 (coll_seq): Remove members idxarr and rulearr.
14131 (get_next_seq_cached): Remove function.
14132 (get_next_seq): Likewise.
14133 (get_next_seq_nocache): Rename to get_next_seq.
14134 (do_compare): Remove function.
14135 (do_compare_nocache): Rename to do_compare.
14136 (STRCOLL): Remove weight and rules cache.
14137
14138 2014-10-16 Roland McGrath <roland@hack.frob.com>
14139
14140 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14141 * sysdeps/arm/sfp-machine.h: ... to here.
14142 * sysdeps/arm/Implies: Remove arm/soft-fp.
14143
14144 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14145
14146 * conform/data/sys/utsname.h-data (*_t): Allow.
14147 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14148 [POSIX] (WEXITED): Do not expect constant.
14149 [POSIX] (WSTOPPED): Likewise.
14150 [POSIX] (WNOHANG): Likewise.
14151 [POSIX] (WNOWAIT): Likewise.
14152 [POSIX] (siginfo_t): Do not expect type or elements.
14153 [POSIX] (pid_t): Do not expect type.
14154 [POSIX] (signal.h): Do not allow header.
14155 [POSIX] (sys/resource.h): Likewise.
14156 [POSIX] (si_*): Do not allow pattern.
14157 [POSIX] (W*): Likewise.
14158 [POSIX] (P_*): Likewise.
14159 [POSIX] (BUS_*): Likewise.
14160 [POSIX] (CLD_*): Likewise.
14161 [POSIX] (FPE_*): Likewise.
14162 [POSIX] (ILL_*): Likewise.
14163 [POSIX] (POLL_*): Likewise.
14164 [POSIX] (SEGV_*): Likewise.
14165 [POSIX] (SI_*): Likewise.
14166 [POSIX] (TRAP_*): Likewise.
14167 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14168 variable.
14169
14170 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14171
14172 [BZ #12926]
14173 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14174 infinite loop when __recvmsg returns 0.
14175
14176 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14177
14178 * CANCEL-FCT-WAIVE: Remove file.
14179 * CANCEL-FILE-WAIVE: Likewise.
14180
14181 [BZ #14132]
14182 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14183 instead of INTVARDEF.
14184 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14185 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14186 rtld_hidden_data_def instead of INTVARDEF.
14187 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14188 * elf/dl-deps.c (expand_dst): Likewise.
14189 * elf/dl-load.c (_dl_dst_count): Likewise.
14190 (_dl_dst_substitute): Likewise.
14191 (decompose_rpath): Likewise.
14192 (_dl_init_paths): Likewise.
14193 (open_path): Likewise.
14194 (_dl_map_object): Likewise.
14195 * elf/rtld.c (dl_main): Likewise.
14196 (process_dl_audit): Likewise.
14197 (process_envvars): Likewise.
14198 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14199 Remove declaration.
14200 (__libc_enable_secure): Use rtld_hidden_proto.
14201
14202 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14203
14204 * elf/dl-load.c
14205 (add_path): New function broken out of _dl_rtld_di_serinfo.
14206 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14207
14208 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14209
14210 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14211 parentheses around macro arguments.
14212 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14213 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14214 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14215 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14216 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14217 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14218 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14219 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14220 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14221 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14222 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14223 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14224 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14225 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14226 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14227 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14228 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14229 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14230 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14231 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14232 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14233 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14234 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14235 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14236 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14237 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14238 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14239 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14240 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14241 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14242 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14243 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14244 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14245 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14246 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14247 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14248 Likewise.
14249 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14250 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14251 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14252 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14253 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14254 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14255 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14256 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14257 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14258 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14259 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14260 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14261 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14262 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14263 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14264 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14265 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14266 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14267 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14268 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14269 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14270 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14271 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14272 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14273 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14274 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14275 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14276 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14277 (_FP_FRAC_SRS_1): Likewise.
14278 (_FP_FRAC_CLZ_1): Likewise.
14279 (_FP_MUL_MEAT_1_imm): Likewise.
14280 (_FP_MUL_MEAT_1_wide): Likewise.
14281 (_FP_MUL_MEAT_1_hard): Likewise.
14282 (_FP_SQRT_MEAT_1): Likewise.
14283 (_FP_FRAC_ASSEMBLE_1): Likewise.
14284 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14285 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14286 (__FP_CLZ_2): Likewise.
14287 (_FP_MUL_MEAT_2_wide): Likewise.
14288 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14289 (_FP_MUL_MEAT_2_gmp): Likewise.
14290 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14291 (_FP_SQRT_MEAT_2): Likewise.
14292 (_FP_FRAC_ASSEMBLE_2): Likewise.
14293 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14294 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14295 (_FP_FRAC_CLZ_4): Likewise.
14296 (_FP_MUL_MEAT_4_wide): Likewise.
14297 (_FP_MUL_MEAT_4_gmp): Likewise.
14298 (_FP_SQRT_MEAT_4): Likewise.
14299 (_FP_FRAC_ASSEMBLE_4): Likewise.
14300 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14301 * soft-fp/op-common.h (_FP_CMP): Likewise.
14302 (_FP_CMP_EQ): Likewise.
14303 (_FP_CMP_UNORD): Likewise.
14304 (_FP_TO_INT): Likewise.
14305 (_FP_FROM_INT): Likewise.
14306 [!__FP_CLZ] (__FP_CLZ): Likewise.
14307 (_FP_DIV_HELP_imm): Likewise.
14308 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14309 Likewise.
14310 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14311 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14312 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14313 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14314 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14315 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14316 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14317 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14318 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14319 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14320 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14321 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14322 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14323 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14324 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14325 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14326 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14327 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14328 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14329 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14330 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14331 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14332 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14333 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14334 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14335 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14336 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14337 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14338 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14339 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14340 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14341 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14342 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14343 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14344 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14345 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14346 (FP_UNPACK_RAW_SP): Likewise.
14347 (FP_PACK_RAW_S): Likewise.
14348 (FP_PACK_RAW_SP): Likewise.
14349 (FP_UNPACK_S): Likewise.
14350 (FP_UNPACK_SP): Likewise.
14351 (FP_UNPACK_SEMIRAW_S): Likewise.
14352 (FP_UNPACK_SEMIRAW_SP): Likewise.
14353 (FP_PACK_S): Likewise.
14354 (FP_PACK_SP): Likewise.
14355 (FP_PACK_SEMIRAW_S): Likewise.
14356 (FP_PACK_SEMIRAW_SP): Likewise.
14357 (_FP_SQRT_MEAT_S): Likewise.
14358 (FP_CMP_S): Likewise.
14359 (FP_CMP_EQ_S): Likewise.
14360 (FP_CMP_UNORD_S): Likewise.
14361 (FP_TO_INT_S): Likewise.
14362 (FP_FROM_INT_S): Likewise.
14363
14364 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14365
14366 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14367 (FP_EX_INVALID_IMZ): Likewise.
14368 (FP_EX_INVALID_IMZ_FMA): Likewise.
14369 (FP_EX_INVALID_ISI): Likewise.
14370 (FP_EX_INVALID_ZDZ): Likewise.
14371 (FP_EX_INVALID_IDI): Likewise.
14372 (FP_EX_INVALID_SQRT): Likewise.
14373 (FP_EX_INVALID_CVI): Likewise.
14374 (FP_EX_INVALID_VC): Likewise.
14375 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14376 "invalid" exceptions.
14377 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14378 (_FP_ADD_INTERNAL): Likewise.
14379 (_FP_MUL): Likewise.
14380 (_FP_FMA): Likewise.
14381 (_FP_DIV): Likewise.
14382 (_FP_CMP_CHECK_NAN): Likewise.
14383 (_FP_SQRT): Likewise.
14384 (_FP_TO_INT): Likewise.
14385 (FP_EXTEND): Likewise.
14386
14387 2014-10-09 Allan McRae <allan@archlinux.org>
14388
14389 * po/fr.po: Update French translation from translation project.
14390
14391 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14392
14393 [BZ #14132]
14394 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14395 of INTDEF.
14396 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14397 (__cxa_atexit): Use libc_hidden_proto.
14398 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14399
14400 [BZ #14132]
14401 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14402 declaration.
14403 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14404 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14405 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14406 [!_ISOMAC] (__iswctype_internal): Likewise.
14407 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14408 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14409 alias.
14410 (fcntl): Remove __fcntl_internal alias.
14411 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14412 __connect_internal alias.
14413 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14414 Likewise.
14415
14416 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14417 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14418 FP_DENORM_ZERO.
14419 (_FP_CHECK_FLUSH_ZERO): New macro.
14420 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14421 (_FP_CMP): Likewise.
14422 (_FP_CMP_EQ): Likewise.
14423 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14424 FP_DENORM_ZERO.
14425 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14426 (FP_TRUNC): Likewise.
14427
14428 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14429 treated as invalid conversion, not as normal exponent.
14430
14431 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14432 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14433 (_FP_CMP_EQ): Likewise.
14434 (_FP_CMP_UNORD): Likewise.
14435 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14436 (FP_CMP_EQ_D): Likewise.
14437 (FP_CMP_UNORD_D): Likewise.
14438 * soft-fp/extended.h (FP_CMP_E): Likewise.
14439 (FP_CMP_EQ_E): Likewise.
14440 (FP_CMP_UNORD_E): Likewise.
14441 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14442 (FP_CMP_EQ_Q): Likewise.
14443 (FP_CMP_UNORD_Q): Likewise.
14444 * soft-fp/single.h (FP_CMP_S): Likewise.
14445 (FP_CMP_EQ_S): Likewise.
14446 (FP_CMP_UNORD_S): Likewise.
14447 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14448 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14449 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14450 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14451 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14452 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14453 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14454 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14455 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14456 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14457 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14458 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14459 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14460 to FP_CMP_Q.
14461 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14462 FP_CMP_Q.
14463 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14464 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14465 FP_CMP_EQ_Q.
14466 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14467 FP_CMP_Q.
14468 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14469 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14470 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14471 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14472 FP_CMP_EQ_Q.
14473 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14474 FP_CMP_Q.
14475 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14476 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14477 FP_CMP_EQ_Q.
14478 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14479 FP_CMP_Q.
14480 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14481 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14482 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14483 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14484 FP_CMP_EQ_Q.
14485
14486 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14487 a subnormal result, set the underflow exception if trapping on
14488 underflow is enabled.
14489 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14490 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14491 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14492 redefine to 0.
14493 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14494 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14495 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14496 * soft-fp/extendxftf2.c (__extendxftf2): Use
14497 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14498
14499 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14500 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14501 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14502 FP_HANDLE_EXCEPTIONS.
14503 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14504 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14505 FP_HANDLE_EXCEPTIONS.
14506 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14507 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14508 FP_HANDLE_EXCEPTIONS.
14509 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14510 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14511 FP_HANDLE_EXCEPTIONS.
14512
14513 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14514
14515 [BZ #14132]
14516 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14517 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14518 use INTUSE.
14519 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14520 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14521 Remove alias.
14522 (__adjtimex): Define using libc_hidden_ver.
14523 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14524 Remove declaration.
14525 (ntp_gettime): Call __adjtimex directly.
14526 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14527 Remove declaration.
14528 (ntp_gettimex): Call __adjtimex directly.
14529 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14530 __adjtimex_internal alias.
14531
14532 2014-10-08 Roland McGrath <roland@hack.frob.com>
14533
14534 [BZ #17460]
14535 * nscd/nscd.c (more_help): Rewrite list of tables collection
14536 using xstrdup and asprintf.
14537
14538 * nscd/nscd_conf.c: Remove local xstrdup declaration.
14539
14540 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14541 Roland McGrath <roland@hack.frob.com>
14542
14543 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14544 (do_lookup_unique): ... local function 'enter' here; update callers.
14545
14546 2014-10-06 Joseph Myers <joseph@codesourcery.com>
14547
14548 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14549 compat_symbol calls on [SHARED].
14550 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14551 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14552 Remove.
14553 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14554 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14555 (oldsetrlimit): Remove.
14556 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14558 (lchown): New syscall entry.
14559 (oldsetrlimit): Remove.
14560 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14561 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14562 (oldsetrlimit): Remove.
14563 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14564
14565 [BZ #14138]
14566 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14567 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14568 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14569 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14570 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14571 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14572 (fchown): Likewise.
14573 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14574 (fchown): Likewise.
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14576 Likewise.
14577
14578 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14579
14580 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14581 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14582 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14583 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14584 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14585 Likewise.
14586 (__old_sem_post): Likewise.
14587
14588 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
14589
14590 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14591 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14592 HAVE_CLOCK_GETTIME_VSYSCALL macros.
14593 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14594 Use INLINE_VSYSCALL macro.
14595 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14596 __vdso_clock_gettime.
14597 * sysdeps/unix/sysv/linux/tile/init-first.c
14598 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14599 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14600 __vdso_clock_gettime.
14601
14602 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14603 to set up frame more cleanly.
14604
14605 * sysdeps/tile/memcmp.c: New file.
14606
14607 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14608
14609 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14610 * sysdeps/tile/tilegx/strcasestr.c: New file.
14611 * sysdeps/tile/tilegx/strnlen.c: New file.
14612 * sysdeps/tile/tilegx/strstr.c: New file.
14613
14614 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14615
14616 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
14617
14618 * nptl/tst-setuid3.c: Write errors to stdout.
14619
14620 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14621
14622 * elf/dl-deps.c
14623 (preload): New functions broken out of _dl_map_object_deps.
14624 (_dl_map_object_deps): Remove a nested function. Update call sites.
14625
14626 2014-10-01 Joseph Myers <joseph@codesourcery.com>
14627
14628 [BZ #14138]
14629 * sysdeps/unix/sysv/linux/execve.c: Remove file.
14630 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14631
14632 2014-10-01 Steve Ellcey <sellcey@mips.com>
14633
14634 * sysdeps/mips/strcmp.S: New.
14635
14636 2014-09-30 Joseph Myers <joseph@codesourcery.com>
14637
14638 [BZ #14138]
14639 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14640 (linkat): Likewise.
14641 (mkdirat): Likewise.
14642 (readlinkat): Likewise.
14643 (renameat): Likewise.
14644 (symlinkat): Likewise.
14645 (unlinkat): Likewise.
14646 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14647 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14648 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14649 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14650 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14651 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14652 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14653
14654 2014-09-30 Will Newton <will.newton@linaro.org>
14655
14656 * math/math.h: Define long double math functions if
14657 _LIBC_TEST is defined.
14658 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14659
14660 * localedata/Makefile: Move assignment to tests-special
14661 into an ifdef testing run-built-tests.
14662 * timezone/Makefile: Likewise.
14663
14664 2014-09-29 Joseph Myers <joseph@codesourcery.com>
14665
14666 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14667 with $(BASH) not $(SHELL).
14668
14669 2014-09-29 Carlos O'Donell <carlos@redhat.com>
14670 Matthew LeGendre <legendre1@llnl.gov>
14671
14672 [BZ #17411]
14673 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14674 l_reloc_result.
14675
14676 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14677
14678 * stdio-common/printf_fp.c
14679 (hack_digit): New function, broken out of ...
14680 (__printf_fp): ... local function here. Update call sites.
14681 hack_digit now takes an additional parameter that is a pointer
14682 to a struct of the referenced locals. Those locals moved inside
14683 the struct and references updated.
14684
14685 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
14686
14687 * aclocal.m4: Require autoconf 2.69.
14688 * configure: Regenerated.
14689 * sysdeps/aarch64/configure: Likewise.
14690 * sysdeps/alpha/configure: Likewise.
14691 * sysdeps/arm/armv7/configure: Likewise.
14692 * sysdeps/arm/configure: Likewise.
14693 * sysdeps/ia64/configure: Likewise.
14694 * sysdeps/mach/configure: Likewise.
14695 * sysdeps/mips/configure: Likewise.
14696 * sysdeps/s390/configure: Likewise.
14697 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14699
14700 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14701 file.
14702 * sysdeps/ia64/configure.ac: Likewise.
14703
14704 2014-09-26 Joseph Myers <joseph@codesourcery.com>
14705
14706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14707 specify symbol version for ld.so. Do not include entry for
14708 libpthread.
14709 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14710 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14711 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14712
14713 [BZ #14171]
14714 * Makeconfig [$(build-shared) = yes]
14715 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14716 makefiles.
14717 [$(build-shared) = yes && $(soversions.mk-done) = t]
14718 ($(common-objpfx)gnu/lib-names.h): Remove rule.
14719 [$(build-shared) = yes && $(soversions.mk-done) = t]
14720 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
14721 to Makerules.
14722 [$(build-shared) = yes && $(soversions.mk-done) = t]
14723 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14724 here.
14725 [$(build-shared) = yes && $(soversions.mk-done) = t]
14726 (common-generated): Don't append gnu/lib-names.h and
14727 gnu/lib-names.stmp here.
14728 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14729 (lib-names-h-abi): New variable.
14730 [$(build-shared) = yes && $(soversions.mk-done) = t]
14731 (lib-names-stmp-abi): Likewise.
14732 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14733 abi-variants] (before-compile): Append
14734 $(common-objpfx)$(lib-names-h-abi).
14735 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14736 abi-variants] (common-generated): Append gnu/lib-names.h.
14737 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14738 abi-variants] (install-others-nosubdir): Depend on
14739 $(inst_includedir)/$(lib-names-h-abi).
14740 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14741 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14742 [$(build-shared) = yes && $(soversions.mk-done) = t]
14743 ($(common-objpfx)$(lib-names-h-abi)): New rule.
14744 [$(build-shared) = yes && $(soversions.mk-done) = t]
14745 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14746 [$(build-shared) = yes && $(soversions.mk-done) = t]
14747 (common-generated): Append $(lib-names-h-abi) and
14748 $(lib-names-stmp-abi).
14749 * scripts/lib-names.awk: Do not handle multi being set.
14750 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14751 Remove variable.
14752 (abi-lp64_be-ld-soname): Likewise.
14753 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14754 Likewise.
14755 (abi-hard-ld-soname): Likewise.
14756 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14757 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14758 Remove variable.
14759 (abi-o32_hard-ld-soname): Likewise.
14760 (abi-o32_soft_2008-ld-soname): Likewise.
14761 (abi-o32_hard_2008-ld-soname): Likewise.
14762 (abi-n32_soft-ld-soname): Likewise.
14763 (abi-n32_hard-ld-soname): Likewise.
14764 (abi-n32_soft_2008-ld-soname): Likewise.
14765 (abi-n32_hard_2008-ld-soname): Likewise.
14766 (abi-n64_soft-ld-soname): Likewise.
14767 (abi-n64_hard-ld-soname): Likewise.
14768 (abi-n64_soft_2008-ld-soname): Likewise.
14769 (abi-n64_hard_2008-ld-soname): Likewise.
14770 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14771 Likewise.
14772 (abi-64-v2-ld-soname): Likewise.
14773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14774 ld.so entries.
14775 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14776 variable.
14777 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14778 entry.
14779 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14780 variable.
14781 (abi-64-ld-soname): Likewise.
14782 (abi-x32-ld-soname): Likewise.
14783 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14784 entry.
14785 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14786
14787 2014-09-23 Joseph Myers <joseph@codesourcery.com>
14788
14789 [BZ #14138]
14790 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14791 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14792 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14793 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14794 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14795 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14796 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14797 syscall entry for GLIBC_2.2 symbol version.
14798 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14799 Likewise.
14800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14801 (setrlimit): Likewise.
14802 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14803 Likewise.
14804
14805 2014-09-23 Will Newton <will.newton@linaro.org>
14806
14807 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14808 _LINUX_ARM_SYSDEP_H include guard too.
14809 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14810 define.
14811
14812 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14813
14814 * sysdeps/unix/sysv/linux/eventfd.c:
14815 Make first argument unsigned.
14816 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14817 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14818
14819 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
14820
14821 * socket/recvmmsg.c (recvmmsg): Drop const argument.
14822 * socket/sys/socket.h: Likewise
14823 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14824
14825 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14826
14827 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14828
14829 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
14830
14831 * time/tst-ftime.c: New test.
14832 * time/Makefile (tests): Add tst-ftime.
14833
14834 2014-09-17 Joseph Myers <joseph@codesourcery.com>
14835
14836 * soft-fp/extended.h: Fix comment formatting.
14837 * soft-fp/op-1.h: Likewise.
14838 * soft-fp/op-2.h: Likewise.
14839 * soft-fp/op-4.h: Likewise.
14840 * soft-fp/op-8.h: Likewise.
14841 * soft-fp/op-common.h: Likewise.
14842 * soft-fp/soft-fp.h: Likewise.
14843
14844 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14845
14846 2014-09-16 Joseph Myers <joseph@codesourcery.com>
14847
14848 [BZ #6652]
14849 * Makeconfig (soversions-default-setname): Remove variable.
14850 ($(common-objpfx)soversions.i): Don't pass default_setname to
14851 soversions.awk.
14852 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14853 oldest_abi to abi-versions.awk.
14854 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14855 * config.make.in (oldest-abi): Remove variable.
14856 * configure.ac (--enable-oldest-abi): Remove configure option.
14857 * configure: Regenerated.
14858 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14859 text.
14860 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14861 * scripts/soversions.awk: Do not handle default_setname variable.
14862 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14863 variable.
14864 * sysdeps/mach/hurd/configure: Regenerated.
14865 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14866 variable.
14867 * sysdeps/unix/sysv/linux/configure: Regenerated.
14868
14869 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14870
14871 * elf/Makefile (CFLAGS-interp.c): Remove.
14872 ($(elf-objpfx)runtime-linker.h): Generate header with linker
14873 path string.
14874 * elf/interp.c: Include generated runtime-linker.h
14875
14876 * Makerules (lib%.so): Don't include $(+interp) in
14877 prerequisites.
14878 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14879 * dlfcn/eval.c: Remove file.
14880
14881 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14882 macros.
14883
14884 [BZ #17266]
14885 * misc/sys/cdefs.h: Define __extern_always_inline for clang
14886 4.2 and newer.
14887
14888 [BZ #17370]
14889 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14890
14891 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14892 Jakub Jelinek <jakub@redhat.com>
14893
14894 [BZ #17266]
14895 * libio/stdio.h: Check definition of __fortify_function
14896 instead of __extern_always_inline to include bits/stdio2.h.
14897 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14898 check if __extern_always_inline is defined.
14899 [__USE_MISC || __USE_XOPEN]: Likewise.
14900 [__USE_ISOC99] Likewise.
14901 * misc/sys/cdefs.h (__fortify_function): Define only if
14902 __extern_always_inline is defined.
14903 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14904 __extern_always_inline and __extern_inline only for g++-4.3
14905 and newer or a compatible gcc.
14906
14907 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
14908
14909 [BZ #17371]
14910 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14911 last change to handle zero prefix length.
14912
14913 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14914
14915 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14916 _SC_REGEX_VERSION.
14917
14918 * posix/getconf.c (vars): Add _POSIX_IPV6 and
14919 _POSIX_RAW_SOCKETS.
14920
14921 2014-09-13 Allan McRae <allan@archlinux.org>
14922
14923 * po/ru.po: Update Russian translation from translation project.
14924
14925 2014-09-12 Roland McGrath <roland@hack.frob.com>
14926
14927 * locale/programs/locale.c (show_locale_vars): Inline local function
14928 into its sole call site. Clean up some style nits.
14929 (print_item): New function, broken out of ...
14930 (show_info): ... local function here. Clean up style nits.
14931
14932 * locale/programs/ld-ctype.c (set_one_default): New function, broken
14933 out of ...
14934 (set_class_defaults): ... local function set_default here.
14935 Define set_default as a macro locally to pass constant parameters.
14936 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14937 rather than a shared local.
14938
14939 * stdlib/rpmatch.c (try): New function, broken out of ...
14940 (rpmatch): ... local function here. Also, prototypify definition.
14941
14942 2014-09-12 Joseph Myers <joseph@codesourcery.com>
14943
14944 * scripts/soversions.awk: Do not handle configuration names.
14945 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14946 vendor and os variables to soversions.awk.
14947 * configure.ac: Do not modify gnu-* host_os.
14948 * configure: Regenerated
14949 * shlib-versions: Remove first column with configuration names.
14950 * nptl/shlib-versions: Likewise.
14951 * nptl_db/shlib-versions: Likewise.
14952 * sysdeps/hppa/shlib-versions: Likewise.
14953 * sysdeps/m68k/shlib-versions: Likewise.
14954 * sysdeps/mach/hurd/shlib-versions: Likewise.
14955 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14956 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14957 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14958 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14959 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14960 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14961 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14962 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14964 Likewise.
14965 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14966 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14967 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14968 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14969 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14970 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14971 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14972 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14973
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14975 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14977 Regenerated.
14978 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14980 Condition symbol version definitions on [HAVE_ELFV2_ABI].
14981
14982 * shlib-versions: Remove OS-specific entries. Moved to files in
14983 sysdeps.
14984 * sysdeps/mach/hurd/shlib-versions: New file.
14985 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14986
14987 * nptl/shlib-versions: Remove architecture-specific entries.
14988 Moved to files in sysdeps.
14989 * shlib-versions: Likewise.
14990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14991 file.
14992 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14993 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14994 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14995 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14996
14997 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14998 (UDP_NO_CHECK6_RX): Likewise.
14999
15000 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15001
15002 * sysdeps/posix/sysconf.c (__sysconf): Spell
15003 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15004
15005 2014-08-12 Florian Weimer <fweimer@redhat.com>
15006
15007 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15008 loading.
15009 * iconv/Versions (__gconv_transliterate): Export for use from
15010 gconv modules.
15011 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15012 (struct __gconv_trans_data, __gconv_trans_fct,
15013 __gconv_trans_context_fct, __gconv_trans_query_fct,
15014 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15015 definitions.
15016 (struct __gconv_step_data): Remove __trans member.
15017 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15018 longer hidden. Remove unused trans_data argument.
15019 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15020 (__gconv_translit_find): Remove declaration.
15021 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15022 prototype.
15023 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15024 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15025 trans_data argument. Add hidden definition.
15026 (__gconv_translit_find): Remove.
15027 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15028 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15029 * iconv/skeleton.c: Remove transliteration initialization.
15030 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15031 __gconv_step_data initialization.
15032 * libio/iofwide.c (__libio_translit_): Remove.
15033 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15034 * wcsmbs/btowc.c (__btowc): Likewise.
15035 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15036 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15037 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15038 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15039 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15040 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15041 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15042 * wcsmbs/wctob.c (wctob): Likewise.
15043
15044 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15045
15046 [BZ #16194]
15047 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15048 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15049 register usage.
15050 * sysdeps/x86/Makefile: Adjust.
15051
15052 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15053 Roland McGrath <roland@hack.frob.com>
15054
15055 * locale/weight.h: Add include guard.
15056 (findidx): Make static rather than auto; take new parameters
15057 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15058 * locale/weightwc.h: Likewise.
15059 * posix/fnmatch_loop.c
15060 (FCT): Change type of EXTRA from int32_t to wint_t.
15061 Don't include either header inside the function.
15062 Call FINDIDX rather than findidx, and pass new arguments.
15063 #undef FINDIDX at the end of the file.
15064 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15065 FINDIDX before including fnmatch_loop.c for the non-wide version.
15066 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15067 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15068 for the wide version.
15069 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15070 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15071 Pass new arguments to findidx.
15072 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15073 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15074 Don't #include it inside the function. Pass new arguments to findidx.
15075 * posix/regex_internal.h
15076 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15077 (re_string_elem_size_at): Don't #include it inside the function.
15078 Pass new arguments to findidx.
15079 * string/strcoll_l.c: #include WEIGHT_H at top level.
15080 (get_next_seq): Don't #include it inside the function.
15081 Pass new arguments to findidx.
15082 (get_next_seq_nocache): Likewise.
15083 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15084 (STRXFRM): Don't #include it inside the function.
15085 Pass new arguments to findidx.
15086
15087 2014-09-11 Florian Weimer <fweimer@redhat.com>
15088
15089 [BZ #17344]
15090 * malloc/malloc.c (unlink): Turn asserts into a call to
15091 malloc_printerr.
15092
15093 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15094
15095 [BZ #17370]
15096 * libio/wfileops (do_ftell_wide): Free OUT.
15097
15098 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15099
15100 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15101
15102 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15103
15104 [BZ #17363]
15105 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15106 group if the current group is empty.
15107
15108 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15109
15110 * benchtests/bench-memset.c (test_main): Add more test from size
15111 from 32 to 512 bytes.
15112 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15113 Add POWER8 memset object.
15114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15115 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15116 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15117 implementation.
15118 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15119 Likewise.
15120 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15121 multiarch POWER8 memset optimization.
15122 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15123 POWER8 memset optimization.
15124
15125 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15126 Remove bzero multiarch objects.
15127 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15128 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15129 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15130 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15131 Remove define.
15132 [__bzero]: Redefine to specific name.
15133 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15134 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15135 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15136 define.
15137 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15138 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15139
15140 2014-09-10 Florian Weimer <fweimer@redhat.com>
15141
15142 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15143 warnings into errors.
15144
15145 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15146 __cxa_thread_atexit_impl prototype.
15147
15148 2014-09-09 Steve Ellcey <sellcey@mips.com>
15149
15150 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15151 Fix capitalization of error message.
15152
15153 2014-09-09 Steve Ellcey <sellcey@mips.com>
15154
15155 * sysdeps/mips/preconfigure: Modify ABI tests.
15156
15157 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15158
15159 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15160
15161 2014-09-07 Roland McGrath <roland@hack.frob.com>
15162 Carlos O'Donell <carlos@systemhalted.org>
15163
15164 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15165 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15166 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15167 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15168 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15169 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15170 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15171 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15172 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15173 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15174 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15175 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15176 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15177 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15178 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15179 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15180 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15181 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15182 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15183 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15184 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15185 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15186 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15187 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15188 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15189 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15190 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15191 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15192 Deconditionalize the code that was previously under [RESET_PID].
15193 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15194 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15195 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15196 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15197 include sysdep.h.
15198
15199 2014-09-08 Allan McRae <allan@archlinux.org>
15200
15201 * version.h (RELEASE): Set to "development".
15202 (VERSION): Set to "2.20.90"
15203
15204 2014-09-07 Allan McRae <allan@archlinux.org
15205
15206 * version.h (RELEASE): Set to "stable".
15207 (VERSION): Set to "2.20"
15208 * include/features.h (__GLIBC_MINOR__): Set to 20.
15209
15210 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15211 Liebler.
15212
15213 * po/ko.po: Update Korean translation from translation project.
15214
15215 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15216
15217 [BZ #17354]
15218 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15219 macro for handling signed relocations.
15220
15221 2014-09-03 Florian Weimer <fweimer@redhat.com>
15222
15223 [BZ #17325]
15224 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15225 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15226 assert.
15227 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15228 * iconvdata/ibm935.c (BODY): Likewise.
15229 * iconvdata/ibm937.c (BODY): Likewise.
15230 * iconvdata/ibm939.c (BODY): Likewise.
15231 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15232 assert.
15233 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15234 script.
15235 * iconvdata/run-iconv-test.sh: New test loop for checking for
15236 decoder crashers.
15237
15238 2014-09-02 Khem Raj <raj.khem@gmail.com>
15239
15240 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15241 libm_hidden_ver.
15242
15243 2014-09-01 Allan McRae <allan@archlinux.org>
15244
15245 * po/eo.po: Update Esperanto translation from translation project.
15246
15247 * po/ca.po: Update Catalan translation from translation project.
15248
15249 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15250
15251 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15252 __proc_dostop call.
15253
15254 2014-08-27 Mark Wielaard <mjw@redhat.com>
15255
15256 [BZ #17319]
15257 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15258 to call set_thread_area instead of hand written asm.
15259 (__NR_set_thread_area): Removed define.
15260 (TLS_FLAG_WRITABLE): Likewise.
15261 (__ASSUME_SET_THREAD_AREA): Remove check.
15262 (TLS_EBX_ARG): Remove define.
15263 (TLS_LOAD_EBX): Likewise.
15264
15265 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15266
15267 Simplify atomicity of socket creation in bind.
15268
15269 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15270 looking up the name after linking the file.
15271
15272 2014-08-27 Allan McRae <allan@archlinux.org>
15273
15274 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15275
15276 2014-08-26 Florian Weimer <fweimer@redhat.com>
15277
15278 [BZ #17187]
15279 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15280 trans_compare, open_translit, __gconv_translit_find):
15281 Remove module loading code.
15282
15283 2014-08-26 Allan McRae <allan@archlinux.org>
15284
15285 * po/vi.po: Update Vietnamese translation from translation project.
15286
15287 * po/uk.po: Update Ukrainian translation from translation project.
15288
15289 * po/fr.po: Update French translation from translation project.
15290
15291 * po/ru.po: Update Russian translation from translation project.
15292
15293 * po/pl.po: Update Polish translation from translation project.
15294
15295 * po/cs.po: Update Czech translation from translation project.
15296
15297 * po/de.po: Update German translation from translation project.
15298
15299 * po/bg.po: Update Bulgarian translation from translation project.
15300
15301 * po/sv.po: Update Sweedish translation from translation project.
15302
15303 * po/nl.po: Update Dutch translation from translation project.
15304
15305 * po/es.po: Update Spanish translation from translation project.
15306
15307 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15308
15309 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15310
15311 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15312 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15313 (CPPFLAGS-iconvconfig): Likewise.
15314 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15315
15316 * include/libc-symbols.h: Remove unnecessary check for
15317 NOT_IN_libc.
15318 * nptl/pthreadP.h: Likewise.
15319 * sysdeps/aarch64/setjmp.S: Likewise.
15320 * sysdeps/alpha/setjmp.S: Likewise.
15321 * sysdeps/arm/sysdep.h: Likewise.
15322 * sysdeps/i386/setjmp.S: Likewise.
15323 * sysdeps/m68k/setjmp.c: Likewise.
15324 * sysdeps/posix/getcwd.c: Likewise.
15325 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15326 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15327 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15328 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15329 * sysdeps/sh/sh3/setjmp.S: Likewise.
15330 * sysdeps/sh/sh4/setjmp.S: Likewise.
15331 * sysdeps/unix/alpha/sysdep.h: Likewise.
15332 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15333 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15334 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15335 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15338 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15339 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15340 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15341 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15342 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15343 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15345 * sysdeps/x86_64/setjmp.S: Likewise.
15346
15347 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15348
15349 [BZ #17263]
15350 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15351 <stdint.h>.
15352 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15353 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15354
15355 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15356
15357 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15358
15359 [BZ #17262]
15360 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15361 and __x86_64__ when disabling x87 inline functions.
15362
15363 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15364
15365 [BZ #17259]
15366 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15367 asm statement with __cpuid_count.
15368
15369 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15370
15371 * configure.ac: Change __ehdr_start code to dereference the struct.
15372 Run readelf on the output to look for relocations.
15373 * configure: Regenerated.
15374
15375 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15376
15377 [BZ #17261]
15378 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15379 value to 0.
15380 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15381
15382 2014-08-12 Roland McGrath <roland@hack.frob.com>
15383
15384 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15385
15386 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15387
15388 [BZ #16892]
15389 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15390 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15391
15392 2014-08-12 Sean Anderson <seanga2@gmail.com>
15393
15394 * malloc/malloc.c: Fix typo in comment.
15395
15396 2014-08-09 Allan McRae <allan@archlinux.org>
15397
15398 * Regenerate libc.po.
15399
15400 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15401
15402 * intl/tst-gettext2.sh: Check every lang file for creation.
15403
15404 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15405
15406 * sysdeps/aarch64/fpu/math_private.h
15407 (libc_feholdsetround_noex_aarch64_ctx): New function.
15408
15409 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15410
15411 * sysdeps/arm/armv6/strcpy.S (strcpy):
15412 Fix performance issue in misaligned cases.
15413
15414 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15415
15416 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15417 Move definition from termios.h.
15418 (struct termio): Likewise.
15419 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15420 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15421 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15422 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15423 Likewise.
15424 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15425 Move definition to ioctl-types.h
15426 (struct termio): Likewise.
15427 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15428 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15429 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15430 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15431 Likewise.
15432
15433 2014-08-05 Richard Henderson <rth@redhat.com>
15434
15435 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15436 exceptions.
15437 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15438 Add fraiseexcpt.
15439 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15440 Use __feraiseexcept.
15441 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15442 Protect libm symbols with IS_IN_libm.
15443
15444 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15445
15446 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15447
15448 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15449
15450 2014-08-04 Will Newton <will.newton@linaro.org>
15451
15452 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15453 file.
15454
15455 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15456
15457 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15458 variants for each function.
15459
15460 2014-08-04 Roland McGrath <roland@hack.frob.com>
15461
15462 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15463 appended ...
15464 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15465 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15466 appended ...
15467 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15468 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15469 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15470 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15471 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15472 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15473 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15474 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15475 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15476 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15477 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15478 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15479 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15480 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15481 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15482 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15483 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15484 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15485 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15486 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15487 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15488 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15489 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15490 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15491 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15492 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15493 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15494 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15495 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15496 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15497 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15498 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15499 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15500 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15501 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15502 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15503 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15504 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15505 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15506 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15507 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15508 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15509 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15510 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15511 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15512 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15513 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15514 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15515 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15516 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15517 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15518 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15519 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15520 Update #include.
15521 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15522 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15523
15524 2014-08-04 Roland McGrath <roland@hack.frob.com>
15525
15526 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15527 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15528 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15529 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15530 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15531 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15532
15533 2014-08-04 Roland McGrath <roland@hack.frob.com>
15534
15535 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15536 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15537 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15538 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15539
15540 2014-08-04 Roland McGrath <roland@hack.frob.com>
15541
15542 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15543 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15544 (__libc_vfork): Define function under this name.
15545 (__vfork): Define as an alias.
15546 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15547 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15548
15549 2014-08-04 Roland McGrath <roland@hack.frob.com>
15550
15551 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15552 that was previously under [RESET_PID].
15553 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15554
15555 2014-08-04 Andreas Schwab <schwab@suse.de>
15556
15557 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15558
15559 2014-08-03 Mike Frysinger <vapier@gentoo.org>
15560
15561 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15562 (main): Likewise.
15563
15564 2014-08-01 Roland McGrath <roland@hack.frob.com>
15565
15566 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15567
15568 2014-08-01 Richard Henderon <rth@redhat.com>
15569
15570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15571 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15572 typo in exact zero test.
15573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15574 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15575 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15576
15577 2014-08-01 Roland McGrath <roland@hack.frob.com>
15578
15579 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15580 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15581 * sysdeps/arm/sysdep.h: ... here.
15582 [!__ASSEMBLER__]: Include <stdint.h>.
15583
15584 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15585
15586 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15587 (HAVE_WCTYPE_H): Likewise.
15588 (HAVE_ISWCTYPE): Likewise.
15589 (ENABLE_NLS): Likewise.
15590 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15591 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15592
15593 * posix/regex_internal.c: Check if DEBUG is defined and is
15594 set.
15595
15596 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15597 (HAVE_MBSRTOWCS): Likewise.
15598 * posix/fnmatch.c: Include string.h unconditionally.
15599
15600 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15601
15602 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15603 reversal.
15604
15605 2014-07-31 Roland McGrath <roland@hack.frob.com>
15606
15607 * sysdeps/generic/safe-fatal.h: New file.
15608 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15609 * nptl/forward.c: Include it.
15610 (__pthread_unwind): Use __safe_fatal as default action, rather
15611 than a bogus use of INTERNAL_SYSCALL that could never work.
15612
15613 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15614 * configure.ac (libc_cv_builtin_trap): New test.
15615 * configure: Regenerated.
15616 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15617 (ABORT_INSTRUCTION): Define using __builtin_trap.
15618
15619 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15620 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15621 * sysdeps/nptl/nptl-signals.h: New file.
15622 * nptl/pthreadP.h: Include <nptl-signals.h>.
15623
15624 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15625
15626 * sysdeps/s390/s390-64/utf16-utf32-z9.c
15627 (ONE_DIRECTION): Define.
15628 * sysdeps/s390/s390-64/utf8-utf16-z9.c
15629 (ONE_DIRECTION): Define.
15630 * sysdeps/s390/s390-64/utf8-utf32-z9.c
15631 (ONE_DIRECTION): Define.
15632
15633 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15634
15635 * sysdeps/s390/Makefile: Delete file.
15636 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15637 * sysdeps/s390/__longjmp.c: Delete file.
15638 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15639 Remove fields __flags and __reserved.
15640 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15641 and add versioning.
15642 * sysdeps/s390/rtld-__longjmp.c: Delete file.
15643 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15644 * sysdeps/s390/rtld-setjmp.S: Likewise.
15645 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15646 * sysdeps/s390/s390-32/__longjmp.c: ... here.
15647 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15648 * sysdeps/s390/s390-32/setjmp.S: ... here.
15649 Add versioning.
15650 (__sigsetjmp): Remove setting __flags field.
15651 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15652 * sysdeps/s390/s390-64/__longjmp.c: ... here.
15653 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15654 * sysdeps/s390/s390-64/setjmp.S: ... here.
15655 Add versioning.
15656 (__sigsetjmp): Remove setting __flags field.
15657 * sysdeps/s390/setjmp.S: Delete file.
15658 * sysdeps/s390/sigjmp.c: Likewise.
15659 * sysdeps/s390/v1-longjmp.c: Likewise.
15660 * sysdeps/s390/v1-setjmp.h: Likewise.
15661 * sysdeps/s390/v1-sigjmp.c: Likewise.
15662 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15663 Remove v1-longjmp_chk.
15664 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15665 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15666 Include debug/longjmp_chk.c and add versioning.
15667 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15668 Include nptl/pt-longjmp.c and add versioning.
15669 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15670 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15671 Include __longjmp.c.
15672 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15673 Move to ...
15674 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15675 (__getcontext): Remove setting __flags field.
15676 Add versioning.
15677 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15678 Don't restore upper high grps.
15679 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15680 Likewise.
15681 (__swapcontext): Remove setting uc_flags field.
15682 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15683 Delete file.
15684 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15685 Include __longjmp.c.
15686 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15687 Move to ...
15688 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15689 (__getcontext): Remove setting __flags field.
15690 Add versioning.
15691 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15692 (__swapcontext): Remove setting uc_flags field.
15693 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15694 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15695 Remove fields uc_high_gprs and __reserved.
15696 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15697 New file with reverted content.
15698 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15699 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15700 Regenerated.
15701 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15702 Regenerated.
15703
15704 2014-07-31 Andreas Schwab <schwab@suse.de>
15705
15706 * config.h.in (HAVE_IFUNC): Define to 0.
15707 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15708 definedness.
15709
15710 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
15711
15712 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15713 memmove-avx-unaligned, memcpy-avx-unaligned and
15714 mempcpy-avx-unaligned.
15715 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15716 Add tests for AVX memcpy functions.
15717 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15718 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15719 memcpy_chk.
15720 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15721 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15722 memmove_chk.
15723 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15724 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15725 mempcpy_chk.
15726 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15727 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15728 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15729
15730 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15731
15732 [BZ #17213]
15733 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15734 powerpc64le.
15735
15736 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
15737
15738 [BZ #16839]
15739 * manual/llio.texi: Add section about open file description locks.
15740 * manual/examples/ofdlocks.c: Example of open file description
15741 lock usage.
15742 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15743 F_OFD_SETLK, and F_OFD_SETLKW.
15744
15745 2014-07-23 Allan McRae <allan@archlinux.org>
15746
15747 * po/es.po: Update Spanish translation from translation project.
15748
15749 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
15750
15751 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15752
15753 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
15754
15755 [BZ #17078]
15756 * sysdeps/arm/dl-machine.h (elf_machine_rela)
15757 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15758 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15759
15760 2014-07-17 Joseph Myers <joseph@codesourcery.com>
15761
15762 [BZ #17088]
15763 * math/fesetenv.c (__fesetenv)
15764 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15765 * math/feupdateenv.c (__feupdateenv)
15766 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15767
15768 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15769 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15770 (__ASSUME_SOCKETCALL): Do not define.
15771
15772 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15773 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15774 (__ASSUME_SOCKETCALL): Do not define.
15775 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15776 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15777 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15778 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15779 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15780 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15781 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15782 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15783
15784 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15785 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15786 (__ASSUME_SOCKETCALL): Do not define.
15787 (__ASSUME_IPC64): Define unconditionally.
15788 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15789 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15790 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15791 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15792 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15793 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15794 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15795 Likewise.
15796
15797 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15798 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15799 (__ASSUME_SOCKETCALL): Do not define.
15800 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15801 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15802 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15803 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15804 (__ASSUME_REQUEUE_PI): Define unconditionally.
15805 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15806 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15807 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15808 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15809 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15810 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15811
15812 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15813 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15814 (__ASSUME_SOCKETCALL): Do not define.
15815 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15816 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15817 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15818 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15819 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15820 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15821
15822 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15823 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15824 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15825 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15826 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15827 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15828 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15829 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15830 (__ASSUME_GETCPU_SYSCALL): Likewise.
15831
15832 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15833 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
15834 cases for individual architectures.
15835 * sysdeps/gnu/configure: Regenerated.
15836 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15837 LIBC_SLIBDIR_RTLDDIR.
15838 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15839 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15840 LIBC_SLIBDIR_RTLDDIR.
15841 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15843 LIBC_SLIBDIR_RTLDDIR.
15844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15845 Regenerated.
15846 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15847 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15848 file.
15849 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15850 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15851 file.
15852 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15853 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15854 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15855 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15856
15857 * sysdeps/aarch64/shlib-versions: Move to ...
15858 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15859 * sysdeps/alpha/shlib-versions: Move to ...
15860 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15861 * sysdeps/arm/shlib-versions: Move to ...
15862 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15863 * sysdeps/hppa/shlib-versions: Move all contents except for
15864 libgcc_s entry to ...
15865 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
15866 entry from ...
15867 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
15868 * sysdeps/ia64/shlib-versions: Move to ...
15869 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
15870 entry from ...
15871 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
15872 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15873 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15874 * sysdeps/microblaze/shlib-versions: Move to ...
15875 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15876 * sysdeps/mips/shlib-versions: Move to ...
15877 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
15878 entry from ...
15879 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
15880 * sysdeps/tile/shlib-versions: Move to ...
15881 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15882 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15883 from ...
15884 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
15885 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15886 entry from ...
15887 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
15888
15889 2014-07-17 Will Newton <will.newton@linaro.org>
15890
15891 * sysdeps/arm/bits/atomic.h
15892 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15893 (__arch_compare_and_exchange_bool_16_int): Likewise.
15894 (__arch_compare_and_exchange_bool_64_int): Likewise.
15895
15896 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15897 into an #else block.
15898
15899 2014-07-16 Roland McGrath <roland@hack.frob.com>
15900
15901 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15902 just Linux configurations. Test empirically that the compiler sets
15903 __ARM_EABI__, rather than using the tuple to decide.
15904 * sysdeps/arm/preconfigure: Regenerated.
15905 * sysdeps/unix/sysv/linux/arm/configure: File removed.
15906 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15907 contents appended ...
15908 * sysdeps/arm/configure.ac: ... here.
15909 * sysdeps/arm/configure: Regenerated.
15910
15911 2014-07-15 Roland McGrath <roland@hack.frob.com>
15912
15913 * nptl/pthread_kill.c: New file.
15914 * nptl/pthread_sigmask.c: New file.
15915 * nptl/pthread_sigqueue.c: New file.
15916
15917 * sysdeps/nptl/lowlevellock.h: New file.
15918 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15919 * sysdeps/nptl/lowlevellock-futex.h: New file.
15920
15921 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15922 Remove dead declarations.
15923
15924 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
15925
15926 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15927 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15928 config-cflags-avx2.
15929 * sysdeps/x86_64/configure.ac: Likewise.
15930 * sysdeps/i386/configure: Regenerated.
15931 * sysdeps/x86_64/configure: Likewise.
15932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15933 memset-avx2 only if config-cflags-avx2 is yes.
15934 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15935 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15936 defined.
15937 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15938 only if HAVE_AVX2_SUPPORT is defined.
15939 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15940
15941 2014-07-14 Alan Modra <amodra@gmail.com>
15942
15943 [BZ #17153]
15944 * elf/elf.h (DT_PPC64_NUM): Correct value.
15945 * NEWS: Add to fixed bug list.
15946
15947 2014-07-13 Jim Meyering <meyering@fb.com>
15948
15949 [BZ 17150]
15950 regex: don't deref NULL upon heap allocation failure
15951 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15952 failure in one more place.
15953 To trigger the segfault, configure grep -with-included-regex,
15954 build it, and run these commands:
15955 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15956
15957 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
15958
15959 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15960
15961 2014-07-11 Richard Henderson <rth@redhat.com>
15962
15963 * sysdeps/aarch64/libm-test-ulps: Update.
15964
15965 2014-07-10 Florian Weimer <fweimer@redhat.com>
15966
15967 [BZ #17135]
15968 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15969 * nptl/allocatestack.c (__nptl_setxid_error): New function.
15970 (__nptl_setxid): Initialize error member. Call
15971 __nptl_setxid_error.
15972 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15973 * nptl/descr.h (struct xid_command): Add error member.
15974 * nptl/tst-setuid3.c: New file.
15975 * nptl/Makefile (tests): Add it.
15976
15977 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15978
15979 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15980 New define.
15981 (__lll_trylock): Use __lll_base_trylock.
15982 (__lll_cond_trylock): Likewise.
15983
15984 2014-07-10 Roland McGrath <roland@hack.frob.com>
15985
15986 * nptl/pthread_create.c (start_thread): Use atomic_or and
15987 lll_futex_wake directly rather than lll_robust_dead.
15988 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15989 (lll_robust_dead): Macro removed.
15990 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
15991 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15992 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15993 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15994 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15995 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15996 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15997 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15998 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15999 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16000 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16001 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16002 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16003 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16004 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16005
16006 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16007 Use atomic_compare_and_exchange_val_acq directly rather than
16008 lll_robust_trylock.
16009 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16010 (__lll_robust_trylock, lll_robust_trylock): Removed.
16011 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16012 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16013 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16014 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16015 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16016 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16017 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16018 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16019 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16020 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16021 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16022 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16023 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16024 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16025
16026 2014-07-02 Florian Weimer <fweimer@redhat.com>
16027
16028 * manual/locale.texi (Locale Names): New section documenting
16029 locale name syntax. Adjust menu and node chaining accordingly.
16030 (Choosing Locale): Reference Locale Names, Locale Categories.
16031 Mention setting LC_ALL=C. Reflect that name syntax is now
16032 documented.
16033 (Locale Categories): New section title. Reference Locale Names.
16034 LC_ALL is an environment variable, but not a category.
16035 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16036 description, now in Locale Name. Reference that section. Locale
16037 name syntax is now documented.
16038
16039 2014-07-02 Florian Weimer <fweimer@redhat.com>
16040
16041 [BZ #17137]
16042 * locale/findlocale.c (name_present, valid_locale_name): New
16043 functions.
16044 (_nl_find_locale): Use the loc_name variable to store name
16045 candidates. Call name_present and valid_locale_name to check and
16046 validate locale names. Return an error if the locale is invalid.
16047
16048 2014-07-02 Florian Weimer <fweimer@redhat.com>
16049
16050 * locale/setlocale.c (setlocale): Use strdup for allocating
16051 composite name copy.
16052
16053 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16054
16055 Sync up with gnulib.
16056 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16057 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16058 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16059 and _GL_ARG_NONNULL.
16060 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16061 [!_LIBC]: Include code for Windows and Cygwin.
16062 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16063 Include prototype for int strerror_r.
16064 [!_LIBC] (is_open): New function.
16065 (flush_stdout): New function.
16066 (print_errno_message): Use it.
16067 (error): Likewise.
16068 (error_at_line): Likewise.
16069 (error_tail) Add function attribute macros. Use
16070 __builtin_expect.
16071
16072 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16073
16074 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16075
16076 * io/ftw.c: Include sys/param.h unconditionally.
16077
16078 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16079
16080 [BZ #17125]
16081 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16082 libc_freeres_ptr.
16083 (freecache): New function to free CACHE on exit.
16084
16085 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16086 initialization.
16087
16088 2014-07-09 David S. Miller <davem@davemloft.net>
16089
16090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16091
16092 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16093 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16094 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16095 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16096 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16097 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16098 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16099 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16100 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16101 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16102 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16103 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16104 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16105
16106 2014-07-09 Andreas Schwab <schwab@suse.de>
16107
16108 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16109 output.
16110 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16111 (do_test): Likewise.
16112
16113 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16114
16115 2014-07-09 Will Newton <will.newton@linaro.org>
16116
16117 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16118 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16119 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16120 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16121 * sysdeps/hppa/start.S (_start): Likewise.
16122
16123 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16124
16125 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16126
16127 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16128 defined.
16129
16130 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16131
16132 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16133 after checking that it is non-NULL.
16134
16135 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16136
16137 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16138
16139 * sysdeps/powerpc/memmove.c: Remove file.
16140 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16141 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16142 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16143 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16144 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16145 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16146 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16147 string memmove instead of removed powerpc one.
16148
16149 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16150 [weak_alias]: Fix compiler warning due trailing data.
16151 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16152 [weak_alias]: Likewise.
16153 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16154 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16155
16156 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16157 (__libc_ifunc_impl_list): Add memmove functions.
16158
16159 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16160
16161 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16162 Remove code.
16163 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16164 Likewise
16165 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16166 Likewise
16167 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16168 Likewise
16169 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16170 Likewise
16171 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16172 Likewise
16173 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16174 Likewise
16175 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16176 Likewise
16177 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16178 Likewise
16179 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16180 Likewise
16181 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16182 Likewise
16183 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16184 Likewise
16185 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16186 Likewise
16187 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16188 Likewise
16189 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16190 Likewise
16191 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16192 Likewise
16193 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16194 Likewise
16195
16196 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16197
16198 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16199 to avoid alignment traps in non-cacheable memory.
16200 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16201
16202 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16203 multiarch objects.
16204 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16205 file: multiarch power7 memmove.
16206 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16207 multiarch default memmove.
16208 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16209 multiarch memove for powerpc32/power4.
16210
16211 * string/bcopy.c: Use full path to include memmove.c.
16212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16213 multiarch objects.
16214 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16215 bcopy for powerpc64.
16216 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16217 bcopy for powerpc64.
16218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16219 and memmove implementations.
16220 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16221 optimized multiarch memmove for POWER7/powerpc64.
16222 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16223 default multiarch memmove for powerpc64.
16224 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16225 multiarch for powerpc64.
16226 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16227 for POWER7/powerpc64.
16228 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16229 memmove for POWER7/powerpc64.
16230
16231 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16232 glibc default one.
16233
16234 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16235 __ELF_NATIVE_CLASS equal to 64.
16236
16237 2014-07-07 Roland McGrath <roland@hack.frob.com>
16238
16239 * sysdeps/nptl/lowlevellock.h: File removed.
16240
16241 * NEWS: NPTL is no longer an add-on!
16242 * nptl/internaltypes.h: Moved ...
16243 * sysdeps/nptl/internaltypes.h: ... here.
16244 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16245 * sysdeps/nptl/fork.c: Likewise.
16246 * sysdeps/nptl/gai_misc.h: Likewise.
16247 * sysdeps/nptl/librt-cancellation.c: Likewise.
16248 * sysdeps/nptl/jmp-unwind.c: Likewise.
16249 * sysdeps/nptl/setxid.h: Likewise.
16250 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16251 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16252 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16253 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16254 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16255 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16256 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16257 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16258 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16259 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16260 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16261 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16262 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16263 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16264 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16265 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16266 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16267 * nptl/Makeconfig: Moved ...
16268 * sysdeps/nptl/Makeconfig: ... here.
16269 * nptl/configure: File removed.
16270 * nptl/ANNOUNCE: File removed.
16271 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16272 * sysdeps/unix/sysv/linux/configure: Regenerated.
16273
16274 * nptl/Makefile (routines): Add libc_pthread_init,
16275 libc_multiple_threads, register-atfork and unregister-atfork.
16276 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16277 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16278 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16279 pthread-pi-defines.sym, structsem.sym.
16280 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16281 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16282 [$(subdir) = nptl] (tests): Add tst-setgetname.
16283 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16284 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16285 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16286 [!LIBC_SIGACTION]: Remove aliases.
16287 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16288 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16289 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16290 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16291 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16292 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16293 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16294 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16295 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16296 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16297 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16298 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16299 __libc_allocate_rtsig_private.
16300 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16301 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16302 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16303 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16304 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16305 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16306 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16307 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16308 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16309 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16310 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16311 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16312 * nptl/internaltypes.h: ... here.
16313 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16314 * sysdeps/nptl/jmp-unwind.c: ... here.
16315 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16316 * nptl/libc-lowlevellock.c: ... here.
16317 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16318 * nptl/libc_multiple_threads.c: ... here.
16319 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16320 * nptl/libc_pthread_init.c: ... here.
16321 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16322 * nptl/lowlevelbarrier.sym: ... here.
16323 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16324 * nptl/lowlevelcond.sym: ... here.
16325 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16326 * nptl/lowlevellock.c: ... here.
16327 * nptl/lowlevellock.h: Moved ...
16328 * sysdeps/nptl/lowlevellock.h: ... here.
16329 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16330 * nptl/lowlevelrobustlock.c: ... here.
16331 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16332 * nptl/lowlevelrobustlock.sym: ... here.
16333 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16334 * nptl/lowlevelrwlock.sym: ... here.
16335 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16336 * nptl/pt-fork.c: ... here.
16337 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16338 * nptl/pthread-pi-defines.sym: ... here.
16339 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16340 * nptl/pthread_attr_getaffinity.c: ... here.
16341 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16342 * nptl/pthread_attr_setaffinity.c: ... here.
16343 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16344 * nptl/pthread_mutex_cond_lock.c: ... here.
16345 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16346 Update #include.
16347 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16348 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16349 * nptl/pthread_once.c: ... here, replacing old file.
16350 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16351 * nptl/pthread_yield.c: ... here.
16352 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16353 * nptl/register-atfork.c: ... here.
16354 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16355 * nptl/sem_post.c: ... here.
16356 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16357 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16358 * nptl/sem_timedwait.c: ... here.
16359 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16360 * nptl/sem_trywait.c: ... here.
16361 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16362 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16363 * nptl/sem_wait.c: ... here.
16364 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16365 * nptl/structsem.sym: ... here.
16366 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16367 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16368 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16369 * nptl/unregister-atfork.c: ... here.
16370 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16371 * nptl/unwindbuf.sym: ... here.
16372 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16373 * sysdeps/nptl/fork.c: ... here.
16374 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16375 * sysdeps/nptl/fork.h: ... here.
16376 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16377 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16378 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16379 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16380 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16381 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16382 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16383 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16384 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16385 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16386 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16387 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16388 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16389 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16390 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16391 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16392 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16393 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16394 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16395 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16396 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16397 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16398 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16399 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16400 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16401 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16402 * sysdeps/unix/sysv/linux/raise.c: ... here.
16403 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16404 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16405 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16406 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16407 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16408 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16409 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16410 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16411 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16412 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16413 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16414 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16415 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16416 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16417 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16418
16419 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16420
16421 * sysdeps/generic/memcopy.h: Add comment for
16422 MEMCPY_OK_FOR_FWD_MEMMOVE.
16423
16424 2014-07-04 Will Newton <will.newton@linaro.org>
16425
16426 * string/memchr.c: Merge from gnulib.
16427 [_LIBC]: Remove conditionals.
16428 (__ptr_t): Remove define.
16429 (LONG_MAX_32_BITS): Likewise.
16430 (LONG_MAX): Likewise.
16431 (MEMCHR): Use ANSI prototype and optimize algorithm.
16432
16433 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16434
16435 2014-07-03 Roland McGrath <roland@hack.frob.com>
16436
16437 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16438 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16439
16440 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16441 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16442 in a bare environment with no <stdlib.h> installed.
16443 * sysdeps/nptl/configure: Regenerated.
16444
16445 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16446
16447 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16448 AC_EGREP_CPP for kernel header checks, so they only succeed if
16449 including <linux/version.h> actually works right.
16450 * sysdeps/unix/sysv/linux/configure: Regenerated.
16451
16452 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16453 value so it's not diagnosed as unused.
16454
16455 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16456 thing) with "ifeq ($(subdir),rt)".
16457
16458 2014-07-03 Richard Henderson <rth@redhat.com>
16459
16460 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16461 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16462 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16463
16464 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16465 (math_force_eval): New.
16466
16467 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16468 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16469
16470 * sysdeps/alpha/fpu/s_round.c: Remove file.
16471 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16472
16473 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16474 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16475 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16476 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16477 (_dl_start, print_statistics): Likewise.
16478 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16479 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16480
16481 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16482 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16483 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16484 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16485 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16486 (HP_SMALL_TIMING_AVAIL): Define.
16487 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16488 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16489 (HP_SMALL_TIMING_AVAIL): Define.
16490 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16491 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16492
16493 * sysdeps/aarch64/hp-timing.h: New file.
16494
16495 * sysdeps/generic/hp-timing.h: Remove dead comment.
16496 * sysdeps/generic/hp-timing-common.h: New file.
16497 * sysdeps/alpha/hp-timing.h: Include it.
16498 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16499 * sysdeps/i386/i686/hp-timing.h: Likewise.
16500 * sysdeps/ia64/hp-timing.h: Likewise.
16501 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16502 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16503 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16504 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16505 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16506 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16507 (hp_timing_t): New.
16508
16509 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16510 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16511 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16512 * elf/rtld.c (_dl_start_final): Likewise.
16513 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16514 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16515 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16516 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16517 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16518 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16519 (HP_TIMING_DIFF_INIT): Remove.
16520 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16521 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16522 (HP_TIMING_DIFF_INIT): Remove.
16523 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16524 * sysdeps/i386/i686/hp-timing.c: Remove file.
16525 * sysdeps/x86_64/hp-timing.c: Remove file.
16526 * sysdeps/ia64/hp-timing.c: Remove file.
16527 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16528 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16529 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16530 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16531
16532 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16533 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16534 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16535 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16536 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16537 (HP_TIMING_ACCUM): Remove.
16538 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16539 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16540 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16541
16542 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16543 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16544 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16545 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16546 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16547 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16548 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16549 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16550
16551 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16552
16553 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
16554
16555 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16556
16557 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16558
16559 Sync up with gettext.
16560 * intl/loadmsgcat.c: Define O_BINARY if not defined.
16561 [_MSC_VER]: Include malloc.h
16562 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16563 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16564 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
16565 TEMP_FAILURE_RETRY. Cast return of alloca.
16566 [!_LIBC] Call gl_rwlock_init.
16567 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16568
16569 2014-07-02 Roland McGrath <roland@hack.frob.com>
16570
16571 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16572 before checking its value.
16573
16574 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16575
16576 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16577
16578 * debug/memcpy_chk.c: Don't include pagecopy.h.
16579 * debug/mempcpy_chk.c: Likewise.
16580 * string/memcpy.c: Likewise.
16581 * string/memmove.c: Likewise.
16582 * sysdeps/powerpc/memmove.c: Likewise.
16583 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
16584 definition of PAGE_COPY_FWD_MAYBE here...
16585 * sysdeps/generic/pagecopy.h: ... from here.
16586 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16587
16588 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16589 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16590
16591 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16593 optimizations.
16594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16595 (__libc_ifunc_impl_list): Likewise.
16596 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16597 multiarch strcat for PPC64.
16598 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16599 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16600
16601 2014-07-02 Roland McGrath <roland@hack.frob.com>
16602
16603 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16604
16605 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16606
16607 * intl/loadmsgcat.c: Remove declaration of
16608 get_sysdep_segment_value.
16609 (get_sysdep_segment_value): Use ISO C style.
16610 (_nl_load_domain): Use ISO C style. Get rid of redundant
16611 semicolon. Fix typo and formatting in comment.
16612 (_nl_unload_domain): Use ISO C style.
16613
16614 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16615
16616 2014-07-02 Will Newton <will.newton@linaro.org>
16617
16618 * malloc/obstack.c: Merge from gnulib master.
16619 [HAVE_CONFIG_H]: Remove conditional code.
16620 [!_LIBC]: Include config.h.
16621 [!ELIDE_CODE]: Don't include inttypes.h, include
16622 stdint.h unconditionally.
16623 (print_and_abort): Mark as _Noreturn.
16624 (_obstack_allocated_p): Mark as __attribute_pure__.
16625 (obstack_free): Rename to __obstack_free.
16626 [!__attribute__]: Remove conditional code.
16627 * malloc/obstack.h: Merge from gnulib master.
16628 [__cplusplus]: Move conditional down.
16629 [!__attribute_pure__]: Define __attribute_pure__ here
16630 if it is not already defined.
16631 (_obstack_memory_used): Mark as __attribute_pure__.
16632 [!__obstack_free]: Define as obstack_free.
16633 [__GNUC__]: Remove check for ancient NeXT gcc.
16634
16635 2014-07-02 Will Newton <will.newton@linaro.org>
16636 Paul Eggert <eggert@cs.ucla.edu>
16637
16638 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16639
16640 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16641
16642 * resolv/gethnamaddr.c: Add comment warning that the file is
16643 not maintained.
16644
16645 2014-07-01 Carlos O'Donell <carlos@redhat.com>
16646
16647 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16648 entries.
16649
16650 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16651 entry for aio_cancel and aio_cancel64.
16652 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16653 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16654 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16655 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16656 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16657 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16658 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16659 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16660 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16661 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16662 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16663 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16664 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16665
16666 2014-07-01 Roland McGrath <roland@hack.frob.com>
16667
16668 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16669 * nptl/pthread_mutex_lock.c: Likewise.
16670 * nptl/pthread_mutex_timedlock.c: Likewise.
16671 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16672
16673 2014-07-01 Richard henderson <rth@redhat.com>
16674
16675 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16676 (__isnan, __isnanl): Remove.
16677 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16678
16679 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16680
16681 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16682
16683 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16684
16685 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16686
16687 * resolv/nss_dns/dns-host.c (getanswer_r)
16688 [MULTI_PTRS_ARE_ALIASES]: Remove code.
16689
16690 2014-07-01 Joseph Myers <joseph@codesourcery.com>
16691
16692 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16693 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16694 undefine.
16695 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16696 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16697
16698 2014-07-01 Roland McGrath <roland@hack.frob.com>
16699
16700 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16701 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16702
16703 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16704 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16705
16706 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16707 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16708 ... here.
16709 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16710 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16711
16712 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16713 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16714 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16715 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16716
16717 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16718 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16719 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16720 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16721 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16722 Moved ...
16723 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16724 ... here.
16725 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16726 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16727 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16728 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16729 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16730 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16731 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16732 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16733 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16734 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16735 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16736 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16737 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16738 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16739 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16740 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16741 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16742 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16743 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16744 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16745 ... here.
16746 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16747 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16748 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16749 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16750 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16751 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16752 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16753 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16754
16755 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
16756
16757 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16758 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16759 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16760 Add sysdep.
16761
16762 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16763
16764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16765
16766 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16767
16768 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16769 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16770
16771 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16772
16773 * sysdeps/arm/libm-test-ulps: Regenerated.
16774
16775 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
16776 Roland McGrath <roland@hack.frob.com>
16777
16778 * test-skeleton.c (signal_handler): Kill the whole process group
16779 before killing the child individually.
16780 (main): Report any failure on `setpgid'.
16781
16782 2014-06-30 Roland McGrath <roland@hack.frob.com>
16783
16784 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16785 from _TLS_H to _ARM_NPTL_TLS_H.
16786 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16787 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16788
16789 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16790
16791 [BZ #16539]
16792 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16793 (__expm1l): Return argument unchanged when small but not
16794 subnormal.
16795
16796 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16797 include macro name.
16798 (_FP_UNPACK_RAW_1_P): Likewise.
16799 (_FP_PACK_RAW_1): Likewise.
16800 (_FP_PACK_RAW_1_P): Likewise.
16801 (_FP_MUL_MEAT_1_wide): Likewise.
16802 (_FP_MUL_MEAT_DW_1_hard): Likewise.
16803 (_FP_MUL_MEAT_1_hard): Likewise.
16804 (_FP_DIV_MEAT_1_imm): Likewise.
16805 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16806 (_FP_DIV_MEAT_1_udiv): Likewise.
16807 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16808 (_FP_UNPACK_RAW_2): Likewise.
16809 (_FP_UNPACK_RAW_2_P): Likewise.
16810 (_FP_PACK_RAW_2): Likewise.
16811 (_FP_PACK_RAW_2_P): Likewise.
16812 (_FP_MUL_MEAT_DW_2_wide): Likewise.
16813 (_FP_MUL_MEAT_2_wide): Likewise.
16814 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16815 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16816 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16817 (_FP_MUL_MEAT_2_gmp): Likewise.
16818 (_FP_DIV_MEAT_2_udiv): Likewise.
16819 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16820 (_FP_FRAC_SRL_4): Likewise.
16821 (_FP_FRAC_SRST_4): Likewise.
16822 (_FP_FRAC_SRS_4): Likewise.
16823 (_FP_UNPACK_RAW_4): Likewise.
16824 (_FP_UNPACK_RAW_4_P): Likewise.
16825 (_FP_PACK_RAW_4): Likewise.
16826 (_FP_PACK_RAW_4_P): Likewise.
16827 (_FP_MUL_MEAT_DW_4_wide): Likewise.
16828 (_FP_MUL_MEAT_4_wide): Likewise.
16829 (_FP_MUL_MEAT_4_gmp): Likewise.
16830 (umul_ppppmnnn): Likewise.
16831 (_FP_DIV_MEAT_4_udiv): Likewise.
16832 (__FP_FRAC_ADD_4): Likewise.
16833 (__FP_FRAC_SUB_3): Likewise.
16834 (__FP_FRAC_SUB_4): Likewise.
16835 (__FP_FRAC_DEC_3): Likewise.
16836 (__FP_FRAC_DEC_4): Likewise.
16837 (__FP_FRAC_ADDI_4): Likewise.
16838 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16839 (_FP_FRAC_SRL_8): Likewise.
16840 (_FP_FRAC_SRS_8): Likewise.
16841
16842 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16843 include macro name.
16844 (FP_UNPACK_RAW_EP): Likewise.
16845 (FP_PACK_RAW_E): Likewise.
16846 (FP_PACK_RAW_EP): Likewise.
16847 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16848 (_FP_ISSIGNAN): Likewise.
16849 (_FP_ADD_INTERNAL): Likewise.
16850 (_FP_FMA): Likewise.
16851 (_FP_CMP): Likewise.
16852 (_FP_SQRT): Likewise.
16853 (_FP_TO_INT): Likewise.
16854 (_FP_FROM_INT): Likewise.
16855 (FP_EXTEND): Likewise.
16856 (_FP_DIV_MEAT_N_loop): Likewise.
16857
16858 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
16859
16860 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16861 throughout.
16862
16863 2014-06-29 Joseph Myers <joseph@codesourcery.com>
16864
16865 [BZ #17097]
16866 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16867 result with correct sign in case of exponents that produce
16868 overflow except for X very close to 1.
16869
16870 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
16871
16872 mktime: merge #if/#ifdef usage from glibc
16873 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16874 as that works with both Glibc's and Gnulib's style.
16875 See thread starting at Siddhesh Poyarekar's bug report at:
16876 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16877
16878 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16879
16880 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16881 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16882 * sysdeps/tile/tilegx/memmove.c: Remove file.
16883
16884 2014-06-27 Joseph Myers <joseph@codesourcery.com>
16885
16886 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16887 abi-name definition.
16888 * scripts/soversions.awk: Do not handle or generate ABI lines.
16889 * shlib-versions: Remove ABI entries.
16890 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16891 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16892
16893 2014-06-27 Roland McGrath <roland@hack.frob.com>
16894
16895 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16896 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16897 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16898 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16899 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16900 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16901 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16902 Moved ...
16903 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16904 ... here.
16905 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16906 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16907 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16908 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16909 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16910 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16911 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16912 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16913 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16914 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16915 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16916 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16917 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16918 Moved ...
16919 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16920 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16921 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16922 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16923 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16924 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16925 Moved ...
16926 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16927 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16928 Moved ...
16929 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16930 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16931 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16932 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16933 Moved ...
16934 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16935 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16936 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16937 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16938 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16939 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16940 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16941 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16942 Moved ...
16943 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16944 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16945 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16946 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16947 Moved ...
16948 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16949 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16950 Moved ...
16951 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16952 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16953 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16954 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16955 Moved ...
16956 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16957 ... here.
16958 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16959 Identical file removed.
16960 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16961 Moved ...
16962 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16963 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16964 Identical file removed.
16965 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16966 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16967 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16968 Moved ...
16969 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16970 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16971 Identical file removed.
16972 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16973 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16974 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16975 Identical file removed.
16976 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16977 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16978 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16979 Identical file removed.
16980 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16981 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16982 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16983 Identical file removed.
16984 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16985 Moved ...
16986 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16987 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16988 Identical file removed.
16989 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16990 Moved ...
16991 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16992 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16993 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16994 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16995 Identical file removed.
16996 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16997 Moved ...
16998 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16999 ... here.
17000 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17001 Identical file removed.
17002 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17003 Moved ...
17004 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17005 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17006 Identical file removed.
17007 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17008 Moved ...
17009 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17010 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17011 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17012 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17013 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17014 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17015 Moved ...
17016 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17017 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17018 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17019
17020 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17021 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17022 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17023 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17024 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17025
17026 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17027
17028 [BZ #17092]
17029 * nscd/nscd.c (monitor_child): Return exit status of child
17030 instead of return value from wait syscall.
17031
17032 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17033
17034 * configure.ac (libc_commonpagesize): Remove variable.
17035 (libc_relro_required): Likewise.
17036 (libc_cv_z_relro): Remove configure test.
17037 * configure: Regenerated.
17038 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17039 variable.
17040 (libc_relro_required): Likewise.
17041 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17042 (libc_relro_required): Likewise.
17043 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17044 (libc_relro_required): Likewise.
17045 * sysdeps/arm/preconfigure: Regenerated.
17046 * sysdeps/ia64/preconfigure: Remove file.
17047 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17048 variable.
17049 (libc_relro_required): Likewise.
17050
17051 [BZ #16561]
17052 [BZ #16562]
17053 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17054 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17055 recompute overflowing results in original rounding mode.
17056 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17057 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17058 recompute overflowing results in original rounding mode.
17059 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17060 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17061 recompute overflowing results in original rounding mode.
17062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17063 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17064 recompute overflowing results in original rounding mode.
17065 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17066 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17067 recompute overflowing results in original rounding mode.
17068 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17069 (libc_feholdsetround_ctx): New macro.
17070 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17071 * sysdeps/i386/fpu/libm-test-ulps: Update.
17072 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17073
17074 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17075
17076 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17077 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17078 corresponding .cpsetup call.
17079
17080 2014-06-26 Roland McGrath <roland@hack.frob.com>
17081
17082 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17083 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17084 * sysdeps/arm/Makefile [$(subdir) = csu]
17085 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17086 (static-only-routines): Add aeabi_read_tp here.
17087 (shared-only-routines): Add libc-aeabi_read_tp here.
17088 (CFLAGS-libc-start.c): Add -fexceptions here.
17089 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17090 (sysdep_routines, static-only-routines, shared-only-routines):
17091 Don't add to these here.
17092 (CFLAGS-libc-start.c): Likewise.
17093
17094 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17095 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17096 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17097 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17098 * sysdeps/arm/Makefile [$(subdir) = rt]
17099 (librt-sysdep_routines, librt-shared-only-routines):
17100 Append rt-aeabi_unwind_cpp_pr1 here.
17101 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17102 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17103 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17104 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17105 Append nptl-aeabi_unwind_cpp_pr1 here.
17106 (tests): Filter out tst-cleanupx4 here.
17107 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17108 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17109 Don't do those here.
17110
17111 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17112
17113 * scripts/list-sources.sh: Do not handle ports specially.
17114
17115 2014-06-26 Roland McGrath <roland@hack.frob.com>
17116
17117 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17118 * sysdeps/arm/feupdateenv.c: Likewise.
17119
17120 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17121
17122 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17123
17124 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17125 trailing whitespace removed.
17126 * scripts/config.guess: Update to version 2014-03-23.
17127 * scripts/config.sub: Update to version 2014-05-01
17128 * scripts/install-sh: Update to version 2013-12-25.23.
17129 * scripts/move-if-change: Update from gnulib.
17130
17131 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17132
17133 * debug/memmove_chk.c: Remove pagecopy.h include.
17134
17135 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17136
17137 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17138 identical to gnulib mktime.
17139
17140 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17141
17142 * configure.ac: Do not test for machine being rs6000. Do not test
17143 for powerpc*-*soft.
17144 * configure: Regenerated.
17145
17146 [BZ #11505]
17147 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17148 test.
17149 * configure: Regenerated.
17150 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17151 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17152 Remove configure test.
17153 * sysdeps/arm/configure: Regenerated.
17154 * sysdeps/nptl/configure.ac: Do not check
17155 libc_cv_asm_cfi_directives.
17156 * sysdeps/nptl/configure: Regenerated.
17157 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17158 * sysdeps/x86_64/nptl/configure: Remove generated file.
17159 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17160 unconditional.
17161 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17162
17163 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17164
17165 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17166 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17167 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17168 it is defined.
17169
17170 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17171 instead of whether it is defined.
17172 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17173 * sysdeps/hppa/dl-machine.h: Likewise.
17174 * sysdeps/ia64/dl-machine.h: Likewise.
17175 * sysdeps/m68k/dl-machine.h: Likewise.
17176 * sysdeps/microblaze/dl-machine.h: Likewise.
17177 * sysdeps/mips/dl-machine.: Likewise.
17178 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17179 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17180 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17181 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17182 * sysdeps/sh/dl-machine.h: Likewise.
17183 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17184 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17185 * sysdeps/tile/dl-machine.h: Likewise.
17186 * sysdeps/x86_64/dl-machine.h: Likewise.
17187
17188 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17189 code.
17190 (verify_persistent_db): Likewise.
17191
17192 2014-06-26 Roland McGrath <roland@hack.frob.com>
17193
17194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17195 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17197 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17199 Moved ...
17200 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17201 ... here.
17202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17203 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17205 Identical file removed.
17206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17207 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17209 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17211 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17213 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17215 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17217 Moved ...
17218 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17220 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17222 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17224 Moved ...
17225 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17227 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17229 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17231 Identical file removed.
17232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17233 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17235 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17237 Moved ...
17238 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17239 ... here.
17240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17241 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17243 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17245 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17247 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17249 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17251 Moved ...
17252 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17254 Moved ...
17255 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17257 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17259 Moved ...
17260 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17262 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17263
17264 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17265 folded into ...
17266 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17267 * sysdeps/unix/sysv/linux/s390/Versions
17268 (libpthread: GLIBC_2.19): New version set.
17269 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17270 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17271 (librt: GLIBC_2.3.3): New version set.
17272 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17273 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17274 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17275 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17276 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17277 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17278 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17279 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17280 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17281 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17282 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17283 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17284 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17285 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17286 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17287 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17288 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17289 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17290 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17291 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17292 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17293 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17294 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17295 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17296 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17297 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17298 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17299 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17300 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17301 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17302 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17303 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17304 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17305 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17306 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17307 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17308 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17309 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17310 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17311 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17312 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17313 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17314 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17315 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17316 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17317
17318 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17319 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17320 (__libc_vfork): Define the function under this name.
17321 [!NOT_IN_libc] (__vfork): Make this an alias.
17322 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17323 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17324 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17325 (__libc_vfork): Define the function under this name.
17326 [!NOT_IN_libc] (__vfork): Make this an alias.
17327 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17328 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17329 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17330 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17331 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17332 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17333
17334 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17335 code that was previously under [RESET_PID].
17336 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17337 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17338 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17339
17340 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17341 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17342 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17343 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17344 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17345 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17346 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17347 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17348 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17349 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17350 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17351 Moved ...
17352 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17353 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17354 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17355 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17356 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17357 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17358 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17359 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17360 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17361 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17362 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17363 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17364 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17365 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17366 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17367 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17368 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17369 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17370 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17371 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17372 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17373 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17374 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17375 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17376 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17377 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17378 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17379 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17380 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17381
17382 2014-06-25 Roland McGrath <roland@hack.frob.com>
17383
17384 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17385 that was previously under [RESET_PID].
17386 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17387
17388 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17389
17390 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17391 not undefine and redefine.
17392 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17393 [O_CLOEXEC]: Make code unconditional.
17394 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17395 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17396 <kernel-features.h>.
17397 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17398 conditional variable definition.
17399 (shm_open) [O_CLOEXEC]: Make code unconditional.
17400 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17401 code.
17402
17403 * configure.ac (USE_REGPARMS): Don't define here.
17404 * configure: Regenerated.
17405 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17406 * sysdeps/i386/configure: Regenerated.
17407
17408 * nptl/createthread.c: Don't include kernel-features.h.
17409 * nptl/pthread_cancel.c: Likewise.
17410 * nptl/pthread_condattr_setclock.c: Likewise.
17411 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17412 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17413 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17414 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17415 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17416 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17417 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17418 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17419 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17420 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17421 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17422 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17423 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17424 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17425 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17426 * nscd/gai.c: Likewise.
17427 * nss/nss_db/db-open.c: Likewise.
17428 * sysdeps/generic/ldsodefs.h: Likewise.
17429 * sysdeps/sh/nptl/tls.h: Likewise.
17430 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17431 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17432 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17433 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17434 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17435 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17436 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17437 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17438 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17439 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17440 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17441 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17442 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17443 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17444 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17445 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17446 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17447 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17448 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17449 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17450 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17451 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17452 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17453 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17454 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17455 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17456 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17457 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17458 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17459 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17460 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17461 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17462 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17463 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17464 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17465 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17466 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17467 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17468 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17469 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17470 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17471 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17472 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17473 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17474 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17475 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17476 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17477 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17478 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17479 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17480 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17481 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17482 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17483 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17484 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17485 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17486 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17487 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17510 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17511 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17512 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17513 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17514 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17515 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17516 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17517 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17518 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17519 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17520 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17521 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17522 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17523 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17524 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17525 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17526 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17527 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17528 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17529 * sysdeps/unix/sysv/linux/system.c: Likewise.
17530 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17531 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17532 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17533 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17534 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17535 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17536 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17537
17538 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17539 * configure: Regenerated.
17540 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17541
17542 * configure.ac (base_machine): Do not set specially for particular
17543 machines here.
17544 * configure: Regenerated.
17545 * sysdeps/powerpc/preconfigure: Move machine and base_machine
17546 settings from configure.ac.
17547 * sysdeps/i386/preconfigure: New file.
17548 * sysdeps/s390/preconfigure: Likewise.
17549 * sysdeps/sh/preconfigure: Likewise.
17550 * sysdeps/sparc/preconfigure: Likewise.
17551
17552 2014-06-25 Roland McGrath <roland@hack.frob.com>
17553
17554 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17555 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17556 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17557 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17558 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17559 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17560 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17561 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17562 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17563 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17564 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17565 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17566 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17567 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17568 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17569 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17570 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17571 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17572 * sysdeps/sparc/sparc64/Makefile: ... appended here.
17573
17574 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17575 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17576 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17577 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17578 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17579 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17580 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17581 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17582 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17583 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17584 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17585 * sysdeps/sparc/sparc32/sem_post.c: ... here.
17586 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17587 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17588 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17589 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17590 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17591 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17592 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17593 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17594 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17595 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17596 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17597 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17598 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17599 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17600 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17601 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17602 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17603 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17604 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17605 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17606 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17607 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17608 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17609 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17610 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17611 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17612
17613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17614 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17616 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17618 Moved ...
17619 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17620 ... here.
17621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17622 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17624 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17626 Moved ...
17627 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17629 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17631 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17633 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17635 Moved ...
17636 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17638 Moved ...
17639 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17641 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17643 Moved ...
17644 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17646 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17648 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17650 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17652 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17654 Moved ...
17655 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17656 ... here.
17657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17658 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17660 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17662 Moved ...
17663 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17665 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17667 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17669 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17671 Moved ...
17672 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17674 Moved ...
17675 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17677 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17679 Moved ...
17680 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17682 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17684 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17685
17686 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17687
17688 * timezone/checktab.awk: Update from tzcode 2014e.
17689 * timezone/private.h: Likewise.
17690 * timezone/tzfile.h: Likewise.
17691 * timezone/zdump.c: Likewise.
17692 * timezone/zic.c: Likewise.
17693
17694 * sysdeps/unix/sysv/linux/kernel-features.h
17695 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17696 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17697 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17698 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17699 Remove conditional code.
17700
17701 2014-06-25 Will Newton <will.newton@linaro.org>
17702
17703 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17704 (_dl_arm_cap_flags): Add HWCAP2 values.
17705 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17706 (_DL_HWCAP_COUNT): Increase to 37.
17707 (_DL_HWCAP_LAST): New define.
17708 (_DL_HWCAP2_LAST): New define.
17709 (_dl_procinfo): Add support for printing
17710 AT_HWCAP2 entries.
17711 (_dl_string_hwcap): Use _dl_hwcap_string.
17712
17713 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17714
17715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17716
17717 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17718
17719 * README: Do not mention ports directory.
17720
17721 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17722 Remove macro.
17723 * sysdeps/unix/sysv/linux/futimes.c: Do not include
17724 <kernel-features.h>.
17725 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17726 conditional variable definition.
17727 (__futimes): Update comment.
17728 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17729 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17730
17731 [BZ #16560]
17732 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17733 arguments close to 0.
17734 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17735 Likewise.
17736 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17737 Likewise.
17738 * math/auto-libm-test-in: Add more tests of exp10.
17739 * math/auto-libm-test-out: Regenerated.
17740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17741
17742 * sysdeps/unix/sysv/linux/kernel-features.h
17743 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17744 * sysdeps/unix/sysv/linux/readv.c: Do not include
17745 <kernel-features.h>.
17746 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17747 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17748 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17749 unconditional.
17750 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17751 conditional code.
17752 * sysdeps/unix/sysv/linux/writev.c: Do not include
17753 <kernel-features.h>.
17754 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17755 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17756 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17757 unconditional.
17758 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17759 conditional code.
17760
17761 2014-06-25 Will Newton <will.newton@linaro.org>
17762
17763 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17764 comment changes throughout the file. Remove checks
17765 for HAVE_*_H definitions that are not required.
17766 (__gen_tempname): Call abort if an unknown kind value is
17767 passed.
17768
17769 2014-06-25 Andreas Schwab <schwab@suse.de>
17770
17771 [BZ #17086]
17772 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17773 scalbln, scalblnf, scalblnl in libc.
17774
17775 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17776
17777 [BZ #17086]
17778 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17779 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17780 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17781
17782 2014-06-24 Roland McGrath <roland@hack.frob.com>
17783
17784 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17785 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17786 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17787 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17788 Update #include.
17789 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17790 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17791 Update #include.
17792 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17793 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17794 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17795 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17796 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17797 * sysdeps/x86/bits/pthreadtypes.h: ... here.
17798 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17799 * sysdeps/x86/bits/semaphore.h: ... here.
17800 * sysdeps/x86/nptl/elide.h: Moved ...
17801 * sysdeps/x86/elide.h: ... here.
17802 * sysdeps/x86_64/nptl/Implies: File removed.
17803 * sysdeps/i386/nptl/Implies: File removed.
17804
17805 2014-06-24 Joseph Myers <joseph@codesourcery.com>
17806
17807 [BZ #16539]
17808 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17809 return the argument for normal arguments with exponent below -64.
17810 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17811 Likewise.
17812 * math/auto-libm-test-in: Add another test of expm1.
17813 * math/auto-libm-test-out: Regenerated.
17814
17815 [BZ #16287]
17816 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17817 calling __erfcl for arguments at least 16.
17818 * math/auto-libm-test-in: Add more tests of erf.
17819 * math/auto-libm-test-out: Regenerated.
17820
17821 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17822 individual architectures.
17823 * sysdeps/unix/sysv/linux/configure: Regenerated.
17824 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17825 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17826 * sysdeps/unix/sysv/linux/powerpc/configure.ac
17827 (ldd_rewrite_script): Define variable.
17828 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17830 file.
17831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17832 generated file.
17833 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17834 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17835 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17836 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17837 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17838 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17839 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17840 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17841
17842 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17843
17844 [BZ #17084]
17845 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17846 Rename member __data.d to __data.__elision_data.
17847
17848 2014-06-24 Wilco <wdijkstr@arm.com>
17849
17850 * NEWS: Add 16918 to fixed bug list.
17851
17852 2014-06-24 Wilco <wdijkstr@arm.com>
17853
17854 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17855
17856 2014-06-24 Wilco <wdijkstr@arm.com>
17857
17858 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17859 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17860 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17861 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17862 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17863 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17864 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17865 Use _FPU_MASK_RM.
17866
17867 2014-06-24 Wilco <wdijkstr@arm.com>
17868
17869 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17870
17871 2014-06-24 Wilco <wdijkstr@arm.com>
17872
17873 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17874 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17875 * sysdeps/arm/fesetround.c (fesetround): Remove space.
17876 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17877
17878 2014-06-24 Wilco <wdijkstr@arm.com>
17879
17880 [BZ #16918]
17881 * sysdeps/arm/feupdateenv.c (feupdateenv):
17882 Rewrite to reduce FPSCR accesses and fix return value.
17883
17884 2014-06-24 Wilco <wdijkstr@arm.com>
17885
17886 * sysdeps/arm/fclrexcpt.c (feclearexcept):
17887 Optimize to avoid unnecessary FPSCR writes.
17888 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17889 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17890 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17891 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17892
17893 2014-06-24 Wilco <wdijkstr@arm.com>
17894
17895 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17896 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17897 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17898 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17899 Call libc_fetestexcept_vfp.
17900 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17901 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17902 __SOFTFP__ ifdef so that they can be built for softfp.
17903
17904 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17905
17906 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17907 argument type signed char.
17908
17909 * Makerules (check-abi): Dump diff of symlist if the test
17910 fails.
17911
17912 2014-06-23 Roland McGrath <roland@hack.frob.com>
17913
17914 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17915 using abort.
17916
17917 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17918 Remove unused variable ST.
17919
17920 2014-06-23 Joseph Myers <joseph@codesourcery.com>
17921
17922 [BZ #16354]
17923 [BZ #17061]
17924 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17925 small arguments before calling __expm1.
17926 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17927 small arguments before calling __expm1f.
17928 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17929 small arguments before calling __expm1l.
17930 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17931 Likewise.
17932 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17933 * math/auto-libm-test-in: Add more cosh tests. Do not allow
17934 spurious underflow for some cosh tests.
17935 * math/auto-libm-test-out: Regenerated.
17936 * sysdeps/i386/fpu/libm-test-ulps: Update.
17937
17938 [BZ #17050]
17939 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17940 (__ieee754_y1): Set errno if return value overflows.
17941 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17942 (__ieee754_y1f): Set errno if return value overflows.
17943 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17944 (__ieee754_y1l): Set errno if return value overflows.
17945 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17946 (__ieee754_y1l): Set errno if return value overflows.
17947 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17948 * math/auto-libm-test-out: Regenerated.
17949
17950 * math/gen-auto-libm-tests.c: Document use of
17951 ignore-zero-inf-sign.
17952 (input_flag_type): Add value flag_ignore_zero_inf_sign.
17953 (input_flags): Add ignore-zero-inf-sign.
17954 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17955 * math/gen-libm-test.pl (generate_testfile): Handle
17956 ignore-zero-inf-sign.
17957 * math/auto-libm-test-in: Mark some cpow tests with
17958 ignore-zero-inf-sign and some with xfail-rounding.
17959 * math/auto-libm-test-out: Regenerated.
17960 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17961 * sysdeps/i386/fpu/libm-test-ulps: Update.
17962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17963
17964 [BZ #16315]
17965 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17966 overflowing or underflowing operations take place with sign of
17967 result.
17968 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17969 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17970 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17971 (__ieee754_pow): Recompute overflowing and underflowing results in
17972 original rounding mode.
17973 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17974 (__powl_helper): Allow negative argument X and scale negated value
17975 as needed. Avoid passing value outside [-1, 1] to f2xm1.
17976 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17977 overflowing or underflowing operations take place with sign of
17978 result.
17979 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17980 Include <math.h>.
17981 * math/auto-libm-test-in: Add more tests of pow.
17982 * math/auto-libm-test-out: Regenerated.
17983 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17984 (pow_tonearest_test_data): Remove.
17985 (pow_test_tonearest): Likewise.
17986 (pow_towardzero_test_data): Likewise.
17987 (pow_test_towardzero): Likewise.
17988 (pow_downward_test_data): Likewise.
17989 (pow_test_downward): Likewise.
17990 (pow_upward_test_data): Likewise.
17991 (pow_test_upward): Likewise.
17992 (main): Don't call removed functions.
17993 * sysdeps/i386/fpu/libm-test-ulps: Update.
17994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17995
17996 2014-06-23 Roland McGrath <roland@hack.frob.com>
17997
17998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17999 Moved ...
18000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18002 Moved ...
18003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18005 Moved ...
18006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18008 Moved ...
18009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18011 File removed.
18012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18013 File removed.
18014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18015 File removed.
18016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18017 File removed.
18018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18019 File removed.
18020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18021 File removed.
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18023 File removed.
18024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18025 File removed.
18026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18027 File removed.
18028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18029 File removed.
18030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18031 File removed.
18032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18033 File removed.
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18035 Moved ...
18036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18038 Moved ...
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18040 ... here.
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18042 Moved ...
18043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18045 Moved ...
18046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18048 Moved ...
18049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18051 Moved ...
18052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18054 Moved ...
18055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18057 Moved ...
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18060 Moved ...
18061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18064 ... here.
18065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18066 Moved ...
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18069 Moved ...
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18071 ... here.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18073 Moved ...
18074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18075 ... here.
18076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18077 Moved ...
18078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18079 ... here.
18080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18081 Moved ...
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18084 Moved ...
18085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18089 Moved ...
18090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18091 ... here.
18092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18093 Moved ...
18094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18095 ... here.
18096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18097 Moved ...
18098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18100 Moved ...
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18103 Moved ...
18104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18106 Moved ...
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18109 Moved ...
18110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18111 ... here.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18113 Moved ...
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18116 Moved ...
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18119 Moved ...
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18122 Moved ...
18123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18127 Moved ...
18128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18130 Moved ...
18131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18133 Moved ...
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18135 ... here.
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18137 Moved ...
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18139 ... here.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18141 Moved ...
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18143 ... here.
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18145 Moved ...
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18148 Moved ...
18149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18151 Moved ...
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18154 Moved ...
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18156 ... here.
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18158 Moved ...
18159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18160 ... here.
18161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18162 Moved ...
18163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18164 ... here.
18165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18166 Moved ...
18167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18169 Moved ...
18170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18171
18172 2014-06-23 Will Newton <will.newton@linaro.org>
18173 Wilco <wdijkstr@arm.com>
18174
18175 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18176 implementation. Include get-rounding-mode.h.
18177 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18178 [!libc_feholdsetround_noex_ctx]: Define
18179 libc_feholdsetround_noex_ctx.
18180 [!libc_feholdsetround_noexf_ctx]: Define
18181 libc_feholdsetround_noexf_ctx.
18182 [!libc_feholdsetround_noexl_ctx]: Define
18183 libc_feholdsetround_noexl_ctx.
18184 (libc_feholdsetround_ctx): New function.
18185 (libc_feresetround_ctx): New function.
18186 (libc_feholdsetround_noex_ctx): New function.
18187 (libc_feresetround_noex_ctx): New function.
18188
18189 2014-06-23 Roland McGrath <roland@hack.frob.com>
18190
18191 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18192 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18193 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18194 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18195 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18196 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18197
18198 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18199 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18200 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18201 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18202 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18203 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18204 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18205 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18206 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18207 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18208 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18209 Moved ...
18210 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18211 ... here.
18212 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18213 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18214 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18215 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18216 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18217 Moved ...
18218 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18219 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18220 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18221 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18222 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18223 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18224 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18225 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18226 Moved ...
18227 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18228 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18229 Moved ...
18230 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18231 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18232 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18233 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18234 Moved ...
18235 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18236 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18237 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18238 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18239 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18240 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18241 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18242 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18243 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18244 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18245 Moved ...
18246 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18247 ... here.
18248 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18249 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18250 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18251 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18252 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18253 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18254 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18255 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18256 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18257 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18258 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18259 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18260 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18261 Moved ...
18262 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18263 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18264 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18265 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18266 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18267 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18268 Moved ...
18269 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18270 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18271 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18272 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18273 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18274
18275 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18276 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18277 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18278 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18279 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18280 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18281 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18282 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18283 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18284 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18285 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18286 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18287 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18288 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18289 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18290 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18291 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18292 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18293 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18294 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18295 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18296 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18297 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18298 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18299 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18300 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18301 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18302 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18303
18304 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18305
18306 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18307 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18308 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18309 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18310 (IPV6_PMTUDISC_INTERFACE): Likewise.
18311 (IPV6_PMTUDISC_OMIT): Likewise.
18312
18313 2014-06-23 Andreas Schwab <schwab@suse.de>
18314
18315 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18316 Remove unused errout label.
18317
18318 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18319
18320 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18321 macro: hardware supports Vector Crypto instructions.
18322
18323 2014-06-23 Will Newton <will.newton@linaro.org>
18324
18325 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18326 rather than __builtin_expect.
18327
18328 * elf/dl-lookup.c (undefined_msg): Remove variable.
18329 (_dl_lookup_symbol_x): Replace undefined_msg with string
18330 literal.
18331
18332 * elf/dl-lookup.c (do_lookup_unique): New function.
18333 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18334 to a separate function.
18335
18336 2014-06-23 Andreas Schwab <schwab@suse.de>
18337
18338 [BZ #17079]
18339 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18340 before reading the next line.
18341
18342 2014-06-23 Will Newton <will.newton@linaro.org>
18343
18344 * test-skeleton.c (signal_handler): Use printf and %m
18345 rather than perror. Use printf rather than fprintf to
18346 stderr. Use puts rather than fputs to stderr.
18347 (main): Likewise.
18348
18349 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18350
18351 * nscd/nscd.c (thread_info_t): Remove typedef.
18352 (thread_info): Remove variable.
18353
18354 2014-06-21 Allan McRae <allan@archlinux.org>
18355
18356 * NEWS: Mention CVE-2014-4043.
18357
18358 2014-06-20 Roland McGrath <roland@hack.frob.com>
18359
18360 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18361 * nptl/smp.h: ... here.
18362
18363 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18364
18365 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18366 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18367 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18368 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18369
18370 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18371 * nptl/stack-aliasing.h: New file.
18372 * sysdeps/i386/i686/stack-aliasing.h: New file.
18373 * sysdeps/i386/i686/nptl/Makefile: File removed.
18374 * sysdeps/x86_64/stack-aliasing.h: New file.
18375 * sysdeps/x86_64/nptl/Makefile
18376 (CFLAGS-pthread_create.c): Variable removed.
18377
18378 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18379 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18380 old file.
18381 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18382 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18383 old file.
18384
18385 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18386
18387 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18388 (__ASSUME_SIGFRAME_V2): Remove macro.
18389 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18390 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18391 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18392 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18393 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18394 Declare as function. Remove conditional macro definitions.
18395 (__default_rt_sa_restorer): Likewise.
18396 (__default_sa_restorer_v1): Remove declaration.
18397 (__default_sa_restorer_v2): Likewise.
18398 (__default_rt_sa_restorer_v1): Likewise.
18399 (__default_rt_sa_restorer_v2): Likewise.
18400 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18401 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18402 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18403
18404 2014-06-20 Roland McGrath <roland@hack.frob.com>
18405
18406 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18407 (libpthread-routines): Add sysdep.
18408 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18409 * sysdeps/unix/sysv/linux/sparc/Versions
18410 (libpthread: GLIBC_2.3.3): New version set.
18411 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18412 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18413 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18414 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18415 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18416 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18417 Moved ...
18418 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18419 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18420 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18421 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18422 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18423 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18424 * sysdeps/sparc/nptl/sem_init.c: ... here.
18425 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18426 * sysdeps/sparc/nptl/sem_post.c: ... here.
18427 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18428 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18429 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18430 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18431 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18432 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18433 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18434 (libpthread-routines): Add cpu_relax.
18435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18436 File removed.
18437 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18438 (librt: GLIBC_2.3.3): New version set.
18439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18440 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18441 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18442 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18445 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18447 Moved ...
18448 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18450 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18452 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18454 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18456 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18458 Moved ...
18459 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18460 Update #include.
18461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18462 Moved ...
18463 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18464 Update #include.
18465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18466 Moved ...
18467 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18468 Update #include.
18469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18470 Moved ...
18471 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18472 Update #include.
18473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18474 Moved ...
18475 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18476 Update #include.
18477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18478 Moved ...
18479 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18480 Update #include.
18481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18482 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18484 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18486 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18487 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18488 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18490 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18492 Moved ...
18493 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18495 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18497 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18498
18499 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18500
18501 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18502 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18503 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18504 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18505 * nscd/nscd.c: Likewise.
18506 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18507 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18508 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18509 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18510
18511 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18512 <kernel-features.h>.
18513 (init_mq_netlink): Remove conditional have_sock_cloexec
18514 definitions. Remove code conditional on have_sock_cloexec < 0.
18515 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18516 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18517 * sysdeps/unix/sysv/linux/opensock.c: Do not include
18518 <kernel-features.h>.
18519 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18520 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18521
18522 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18523
18524 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18525 Add tests for memset_chk and memset.
18526
18527 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18528 with AVX2_Usable.
18529
18530 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18531
18532 [BZ #16046]
18533 * elf/tst-dl-iter-static.c: New file.
18534 * elf/Makefile (tests-static): Add tst-dl-iter-static.
18535
18536 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18537 error.
18538
18539 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18540
18541 * sysdeps/unix/sysv/linux/kernel-features.h
18542 (__ASSUME_F_GETOWN_EX): Remove macro.
18543 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18544 <kernel-features.h>.
18545 (miss_F_GETOWN_EX): Remove variable or macro.
18546 (do_fcntl): Do not check miss_F_GETOWN_EX.
18547 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18548
18549 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18550 Remove macro.
18551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18552 [!__ASSUME_AT_RANDOM]: Remove conditional code.
18553 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18554
18555 * sysdeps/unix/sysv/linux/kernel-features.h
18556 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18557 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18558 [ADJ_OFFSET_SS_READ]: Make code unconditional.
18559 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18560
18561 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18562
18563 [BZ #17075]
18564 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18565 Fix calculation of the symbol's value.
18566 * sysdeps/arm/tst-armtlsdescloc.c: New file.
18567 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18568 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18569 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18570 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18571 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18572 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18573 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18574 (modules-names): Add `tst-armtlsdescmod',
18575 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18576 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18577 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18578 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18579 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18580 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18581 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18582 ($(objpfx)tst-armtlsdescloc): New dependency.
18583 ($(objpfx)tst-armtlsdescextnow): Likewise.
18584 ($(objpfx)tst-armtlsdescextlazy): Likewise.
18585 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18586 TLS scheme support.
18587 * sysdeps/arm/configure: Regenerate.
18588
18589 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18590
18591 * include/fcntl.h (__atfct_seterrno): Remove prototype.
18592 (__atfct_seterrno_2): Likewise.
18593 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18594 <kernel-features.h>.
18595 (__ASSUME_ATFCTS): Do not undefine and redefine.
18596 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18597 (__have_atfcts): Remove conditional definition.
18598 (__fxstatat([__NR_fstatat64]: Make code unconditional.
18599 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18600 unreachable if [__ASSUME_ATFCTS].
18601 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18602 not undefine and redefine.
18603 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18604 <kernel-features.h>.
18605 (faccessat) [__NR_faccessat]: Make code unconditional.
18606 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18607 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18608 <kernel-features.h>.
18609 (fchmodat) [__NR_fchmodat]: Make code unconditional.
18610 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18611 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18612 <kernel-features.h>.
18613 (fchownat) [__NR_fchownat]: Make code unconditional.
18614 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18615 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18616 <kernel-features.h>.
18617 (futimesat) [__NR_futimesat]: Make code unconditional.
18618 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18619 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18620 <kernel-features.h>.
18621 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18622 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18623 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18624 <kernel-features.h>.
18625 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18626 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18627 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18628 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18629 <kernel-features.h>.
18630 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18631 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18632 * sysdeps/unix/sysv/linux/linkat.c: Do not include
18633 <kernel-features.h>.
18634 (linkat) [__NR_linkat]: Make code unconditional.
18635 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18636 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18637 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18638 <kernel-features.h>.
18639 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18640 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18641 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18642 <kernel-features.h>.
18643 (mkdirat) [__NR_mkdirat]: Make code unconditional.
18644 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18645 * sysdeps/unix/sysv/linux/openat.c: Do not include
18646 <kernel-features.h>.
18647 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18648 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18649 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18650 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18651 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18652 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18653 <kernel-features.h>.
18654 (readlinkat) [__NR_readlinkat]: Make code unconditional.
18655 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
18656 result of INLINE_SYSCALL directly, not via int variable.
18657 * sysdeps/unix/sysv/linux/renameat.c: Do not include
18658 <kernel-features.h>.
18659 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18660 (renameat) [__NR_renameat]: Make code unconditional.
18661 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18662 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18663 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18664 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18665 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18666 (__ASSUME_ATFCTS): Do not undefine and redefine.
18667 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18668 <kernel-features.h>.
18669 (symlinkat) [__NR_symlinkat]: Make code unconditional.
18670 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18671 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18672 <kernel-features.h>.
18673 (unlinkat) [__NR_unlinkat]: Make code unconditional.
18674 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18675 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18676 (__ASSUME_ATFCTS): Do not undefine and redefine.
18677 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18678 <kernel-features.h>.
18679 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18680 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18681 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18682 <kernel-features.h>.
18683 (__xmknodat) [__NR_mknodat]: Make code unconditional.
18684 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18685
18686 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18687
18688 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18689
18690 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
18691
18692 [BZ #17069]
18693 * posix/regcomp.c (parse_reg_exp): Deallocate partially
18694 constructed tree before returning error.
18695 * posix/bug-regexp36.c: Expand test case.
18696
18697 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18698
18699 [BZ #6803]
18700 * math/libm-test.inc (scalbln_test_date):
18701 Add errno expectations.
18702 * math/w_scalblnf.c: New File.
18703 Add wrapper which checks for setting errno to ERANGE.
18704 Add weak_alias for corresponding scalbln function.
18705 * math/w_scalbln.c: Likewise.
18706 * math/w_scalblnl.c: Likewise.
18707 * math/Makefile (libm-calls): Add w_scalbln.
18708 * sysdeps/ieee754/flt-32/s_scalblnf.c:
18709 Remove weak_alias for corresponding scalbln function.
18710 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18711 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18712 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18713 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18714 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18715 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18716 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18717 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18718 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18719 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18720 Remove long_double_symbol for scalblnl function in libm, libc.
18721 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18722 Add wrapper which checks for setting errno to ERANGE.
18723 Add long_double_symbol for scalblnl function in libm, libc.
18724 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18725 Remove long_double_symbol for scalblnl in libm.
18726 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18727 Add wrapper which checks for setting errno to ERANGE.
18728 Add long_double_symbol for scalblnl function in libm.
18729 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18730 Do not use wrapper because of own implementation.
18731
18732 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
18733
18734 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18735 3 bytes for __pad1 for x32.
18736 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18737
18738 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
18739 H.J. Lu <hongjiu.lu@intel.com>
18740
18741 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18742 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18743 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18744 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18745 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18746
18747 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
18748
18749 [BZ #17069]
18750 * posix/regcomp.c (parse_expression): Deallocate partially
18751 constructed tree before returning error.
18752 * posix/Makefile.c (tests): Add bug-regex36.
18753 (generated): Add bug-regex36.mtrace.
18754 (tests-special): Add $(objpfx)bug-regex36-mem.out
18755 (bug-regex36-ENV): New variable.
18756 ($(objpfx)bug-regex36-mem.out): New rule.
18757 * posix/bug-regex36.c: New file.
18758
18759 2014-06-19 Will Newton <will.newton@linaro.org>
18760
18761 * malloc/malloc.c (systrim): If extra is zero then return
18762 early.
18763
18764 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18765
18766 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18767
18768 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
18769
18770 * sysdeps/aarch64/strchr.S: New file.
18771
18772 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18773
18774 [BZ #17022]
18775 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18776 from arguments -2 or below.
18777 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18778 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18779
18780 2014-06-18 Andreas Schwab <schwab@suse.de>
18781
18782 [BZ #17062]
18783 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18784 of a bracket expr not to run off the end of the string.
18785 * posix/Makefile (tests): Add tst-fnmatch3.
18786 * posix/tst-fnmatch3.c: New file.
18787
18788 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18789
18790 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18791 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18792 [$(cross-compiling) = no]: Likewise.
18793 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18794 [$(cross-compiling) = no]: Likewise.
18795
18796 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18797
18798 [BZ #17031]
18799 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18800 double, adjusted for any remainder from the high double.
18801 * math/libm-test.inc (nearbyint): Add tests.
18802 (rint): Likewise.
18803
18804 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18805
18806 * nptl/sysdeps/powerpc/Makefile: Moved ...
18807 * sysdeps/powerpc/nptl/Makefile: ... here.
18808 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18809 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18810 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18811 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18812 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18813 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18814 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18815 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18816 * nptl/sysdeps/powerpc/tls.h: Moved ...
18817 * sysdeps/powerpc/nptl/tls.h: ... here.
18818
18819 2014-06-16 Joseph Myers <joseph@codesourcery.com>
18820
18821 [BZ #16681]
18822 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18823 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18824 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18825 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18826 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18827 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18828 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18829 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18830 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18831
18832 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
18833
18834 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18835
18836 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
18837
18838 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18839 defined operator.
18840
18841 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18842 $TIMEOUTFACTOR.
18843
18844 2014-06-16 Florian Weimer <fweimer@redhat.com>
18845
18846 [BZ #17058]
18847 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18848 non-executed part of the test.
18849
18850 2014-06-16 Andreas Schwab <schwab@suse.de>
18851
18852 * string/bits/string2.h (strdup, strndup): Update feature guard.
18853
18854 2014-06-14 David S. Miller <davem@davemloft.net>
18855
18856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18857
18858 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
18859
18860 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18861 that was previously under [RESET_PID].
18862 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18863
18864 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18865 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18866 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18867 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18868 (__libc_vfork): New strong alias.
18869 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18870
18871 2014-06-14 Andi Kleen <ak@linux.intel.com>
18872
18873 * sysdeps/generic/elide.h: New file.
18874
18875 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
18876
18877 * Makefile (installed-headers): Adjust path of pthread.h header.
18878
18879 2014-06-13 Roland McGrath <roland@hack.frob.com>
18880
18881 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18882 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18883 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18884 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18885
18886 * nptl/sysdeps/s390/Makefile: Moved ...
18887 * sysdeps/s390/nptl/Makefile: ... here.
18888 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18889 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18890 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18891 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18892 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18893 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18894 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18895 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18896 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18897 * sysdeps/s390/nptl/pthreaddef.h: ... here.
18898 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18899 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18900 * nptl/sysdeps/s390/tls.h: Moved ...
18901 * sysdeps/s390/nptl/tls.h: ... here.
18902
18903 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18904 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18905
18906 2014-06-13 David S. Miller <davem@davemloft.net>
18907
18908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18911 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18915 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18916 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18917 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18918 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18919 Remove RESET_PID cpp guards.
18920 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18921 Remove RESET_PID cpp guards.
18922 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18923
18924 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
18925
18926 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18927 __sp to uintptr_t.
18928
18929 2014-06-13 Andi Kleen <ak@linux.intel.com>
18930
18931 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18932 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18933 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18934 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18935 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18936 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18937 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18938 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18939 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18940 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18941 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18942 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18943 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18944 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18945 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18946 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18947 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18948 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18949 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18950 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18951
18952 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18953 (pthread_rwlock_rdlock): Add elision.
18954 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18955 (pthread_rwlock_wrlock): Add elision.
18956 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18957 (pthread_rwlock_trywrlock): Add elision.
18958 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18959 (pthread_rwlock_tryrdlock): Add elision.
18960 * nptl/pthread_rwlock_unlock.c: Include elide.h.
18961 (pthread_rwlock_tryrdlock): Add elision unlock.
18962 * nptl/sysdeps/pthread/pthread.h:
18963 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18964 (PTHREAD_RWLOCK_INITIALIZER,
18965 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18966 Handle new elision field.
18967 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18968 * sysdeps/arm/nptl/bits/pthreadtypes.h
18969 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18970 * sysdeps/sh/nptl/bits/pthreadtypes.h
18971 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18972 * sysdeps/tile/nptl/bits/pthreadtypes.h
18973 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18974 * sysdeps/a/nptl/bits/pthreadtypes.h
18975 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18976 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18977 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18978 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18979 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18980 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18981 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18982 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18983 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18984 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18985 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18986 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18987 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18988 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18989 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18990 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18991 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18992 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18993 (elision_init): Set try_xbegin to zero when no RTM.
18994 * sysdeps/x86/nptl/bits/pthreadtypes.h
18995 (pthread_rwlock_t): Change __pad1 to __rwelision.
18996 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18997
18998 2014-06-13 Andi Kleen <ak@linux.intel.com>
18999
19000 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19001 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19002 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19003 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19004
19005 2014-06-13 Meador Inge <meadori@codesourcery.com>
19006
19007 [BZ #16996]
19008 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19009 that the cached result has been set before returning it.
19010
19011 2014-06-12 Roland McGrath <roland@hack.frob.com>
19012
19013 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19014 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19015 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19016 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19017 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19018 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19019
19020 * nptl/sysdeps/sparc/Makefile: Moved ...
19021 * sysdeps/sparc/nptl/Makefile: ... here.
19022 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19023 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19024 * nptl/sysdeps/sparc/tls.h: Moved ...
19025 * sysdeps/sparc/nptl/tls.h: ... here.
19026 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19027 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19028 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19029 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19030 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19031 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19032 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19033 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19034 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19035 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19036 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19037 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19038 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19039 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19040 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19041 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19042 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19044 Update #include.
19045 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19046 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19047 Update #include.
19048 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19049 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19050 Update #include.
19051 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19052 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19053 Update #include.
19054
19055 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19056
19057 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19058 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19059
19060 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19061 (struct list_links): Type removed.
19062 (struct thread_node, struct timer_node): Replace struct list_links
19063 with struct list_head.
19064 (list_unlink_ip): Likewise.
19065 * sysdeps/pthread/timer_routines.c
19066 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19067 (list_append, list_insbefore): Likewise.
19068 (list_init): Function removed.
19069 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19070 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19071 * sysdeps/pthread/Makefile: ... here, new file.
19072
19073 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19074 * sysdeps/nptl/Implies: ... here.
19075 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19076 * nptl/sysdeps/pthread/list.h: Moved ...
19077 * include/list.h: ... here.
19078 * nptl/sysdeps/pthread/createthread.c: Moved ...
19079 * nptl/createthread.c: ... here.
19080 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19081 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19082 * nptl/pt-longjmp.c: ... here.
19083 * nptl/sysdeps/pthread/Makefile: Moved ...
19084 * sysdeps/nptl/Makefile: ... here.
19085 * nptl/sysdeps/pthread/Subdirs: Moved ...
19086 * sysdeps/nptl/Subdirs: ... here.
19087 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19088 * sysdeps/nptl/aio_misc.h: ... here.
19089 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19090 * sysdeps/nptl/bits/libc-lock.h: ... here.
19091 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19092 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19093 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19094 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19095 * nptl/sysdeps/pthread/configure: Moved ...
19096 * sysdeps/nptl/configure: ... here.
19097 * nptl/sysdeps/pthread/configure.ac: Moved ...
19098 * sysdeps/nptl/configure.ac: ... here.
19099 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19100 * sysdeps/nptl/gai_misc.h: ... here.
19101 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19102 * sysdeps/nptl/librt-cancellation.c: ... here.
19103 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19104 * sysdeps/nptl/malloc-machine.h: ... here.
19105 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19106 * sysdeps/nptl/pthread-functions.h: ... here.
19107 * nptl/sysdeps/pthread/pthread.h: Moved ...
19108 * sysdeps/nptl/pthread.h: ... here.
19109 * nptl/sysdeps/pthread/setxid.h: Moved ...
19110 * sysdeps/nptl/setxid.h: ... here.
19111 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19112 * sysdeps/nptl/sigfillset.c: ... here.
19113 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19114 * sysdeps/nptl/tcb-offsets.h: ... here.
19115 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19116 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19117 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19118 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19119 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19120 * sysdeps/pthread/allocalim.h: ... here.
19121 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19122 * sysdeps/pthread/bits/sigthread.h: ... here.
19123 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19124 * sysdeps/pthread/flockfile.c: ... here.
19125 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19126 * sysdeps/pthread/ftrylockfile.c: ... here.
19127 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19128 * sysdeps/pthread/funlockfile.c: ... here.
19129 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19130 * sysdeps/pthread/posix-timer.h: ... here.
19131 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19132 * sysdeps/pthread/timer_create.c: ... here.
19133 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19134 * sysdeps/pthread/timer_delete.c: ... here.
19135 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19136 * sysdeps/pthread/timer_getoverr.c: ... here.
19137 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19138 * sysdeps/pthread/timer_gettime.c: ... here.
19139 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19140 * sysdeps/pthread/timer_routines.c: ... here.
19141 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19142 * sysdeps/pthread/timer_settime.c: ... here.
19143 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19144 * sysdeps/pthread/tst-timer.c: ... here.
19145 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19146 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19147
19148 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19149 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19150
19151 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19152 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19153 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19154 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19155 Update #include target.
19156 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19157 * sysdeps/i386/i686/nptl/Makefile: ... here.
19158 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19159 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19160 Update #include target.
19161 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19162 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19163 * nptl/sysdeps/i386/Makefile: Moved ...
19164 * sysdeps/i386/nptl/Makefile: ... here.
19165 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19166 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19167 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19168 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19169 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19170 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19171 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19172 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19173 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19174 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19175 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19176 * nptl/sysdeps/i386/tls.h: Moved ...
19177 * sysdeps/i386/nptl/tls.h: ... here.
19178
19179 * sysdeps/sh/Makefile [$(subdir) = csu]
19180 (gen-as-const-headers): Add tcb-offsets.sym.
19181 * nptl/sysdeps/sh/Makefile: File removed.
19182 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19183 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19184 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19185 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19186 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19187 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19188 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19189 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19190 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19191 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19192 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19193 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19194 * nptl/sysdeps/sh/tls.h: Moved ...
19195 * sysdeps/sh/nptl/tls.h: ... here.
19196 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19197 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19198 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19199 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19200 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19201 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19202 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19203 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19204 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19205 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19206 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19207 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19208 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19209 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19210 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19211 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19212 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19213 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19214 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19215 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19216 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19217 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19218 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19219 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19220 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19221 Moved ...
19222 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19223 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19224 Moved ...
19225 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19226 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19227 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19228 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19229 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19230 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19231 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19232 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19233 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19234 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19235 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19236 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19237 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19238 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19239 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19240 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19241 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19242 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19243 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19244
19245 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19246
19247 * posix/spawn_faction_addopen.c: Include string.h.
19248
19249 2014-06-11 Roland McGrath <roland@hack.frob.com>
19250
19251 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19252 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19253 * nptl/sysdeps/x86_64/Makefile: Moved ...
19254 * sysdeps/x86_64/nptl/Makefile: ... here.
19255 * nptl/sysdeps/x86_64/configure: Moved ...
19256 * sysdeps/x86_64/nptl/configure: ... here.
19257 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19258 * sysdeps/x86_64/nptl/configure.ac: ... here.
19259 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19260 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19261 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19262 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19263 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19264 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19265 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19266 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19267 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19268 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19269 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19270 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19271 * nptl/sysdeps/x86_64/tls.h: Moved ...
19272 * sysdeps/x86_64/nptl/tls.h: ... here.
19273 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19274 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19275 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19276 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19277
19278 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19279
19280 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19281
19282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19283
19284 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19285
19286 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19287 type.
19288 [POSIX] (off_t): Likewise.
19289 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19290 [POSIX] (S_ISBLK): Require macro.
19291 [POSIX] (S_ISCHR): Likewise.
19292 [POSIX] (S_ISDIR): Likewise.
19293 [POSIX] (S_ISFIFO): Likewise.
19294 [POSIX] (S_ISREG): Likewise.
19295 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19296 optional-macro.
19297 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19298 type.
19299 [POSIX] (time_t): Likewise.
19300 [POSIX] (timer_t): Likewise.
19301
19302 2014-06-11 Florian Weimer <fweimer@redhat.com>
19303
19304 [BZ #17048]
19305 * posix/spawn_int.h (struct __spawn_action): Make the path string
19306 non-const to support deallocation.
19307 * posix/spawn_faction_addopen.c
19308 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19309 * posix/spawn_faction_destroy.c
19310 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19311 path in all spawn_do_open actions.
19312 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19313 posix_spawn_file_actions_addopen.
19314
19315 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19316
19317 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19318 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19319 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19320 conditional code always true.
19321 (__libc_vfork): New alias.
19322
19323 2014-06-11 Roland McGrath <roland@hack.frob.com>
19324
19325 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19326 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19327
19328 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19329
19330 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19331 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19332
19333 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19334 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19335
19336 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19337 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19338
19339 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19340
19341 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19342 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19343 multiarch strcmp for PPC64.
19344 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19345 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19347 multiarch optimizations.
19348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19349 (__libc_ifunc_impl_list): Likewise.
19350
19351 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19352
19353 * benchtests/scripts/validate_benchout.py: New script.
19354 * benchtests/Makefile (bench-func): Call it.
19355 * benchtests/scripts/benchout.schema.json: New file.
19356
19357 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19358
19359 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19360 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19361 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19362 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19363 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19364 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19365 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19366 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19367 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19368 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19369 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19370 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19371 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19372 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19373 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19374 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19376 Moved ...
19377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19378 ... here.
19379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19380 Moved ...
19381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19383 Moved ...
19384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19385 ... here.
19386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19387 Moved ...
19388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19389 ... here.
19390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19391 Moved ...
19392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19394 Moved ...
19395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19396 ... here.
19397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19398 Moved ...
19399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19400 ... here.
19401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19402 Moved ...
19403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19405 Moved ...
19406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19407 ... here.
19408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19409 Moved ...
19410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19411 ... here.
19412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19413 Moved ...
19414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19415 ... here.
19416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19417 Moved ...
19418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19420 Moved ...
19421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19422 ... here.
19423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19424 Moved ...
19425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19426 ... here.
19427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19428 Moved ...
19429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19430 ... here.
19431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19432 Moved ...
19433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19435 Moved ...
19436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19437 ... here.
19438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19439 Moved ...
19440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19441 ... here.
19442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19443 Moved ...
19444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19446 Moved ...
19447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19448 ... here.
19449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19450 Moved ...
19451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19453 Moved ...
19454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19456 Moved ...
19457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19458 ... here.
19459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19460 Moved ...
19461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19462 ... here.
19463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19464 Moved ...
19465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19466 ... here.
19467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19468 Moved ...
19469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19471 Moved ...
19472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19473 ... here.
19474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19475 Moved ...
19476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19477 ... here.
19478 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19479 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19480 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19481 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19482 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19483 Moved ...
19484 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19485 ... here.
19486 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19487 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19488 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19489 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19490 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19491 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19492 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19493 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19494 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19495 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19496 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19497 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19498 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19499 Moved ...
19500 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19501 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19502 Moved ...
19503 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19504 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19505 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19506 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19507 Moved ...
19508 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19509 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19510 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19511 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19512 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19513 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19514 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19515
19516 2014-06-10 Wilco <wdijkstr@arm.com>
19517
19518 * math/test-fenv-return.c: New file.
19519 * math/Makefile: Add new test test-fenv-return.
19520
19521 2014-06-10 Joseph Myers <joseph@codesourcery.com>
19522
19523 [BZ #17042]
19524 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19525 when x - 1 is zero.
19526 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19527 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19528 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19529 0.0L for an argument of 1.0L.
19530 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19531 Likewise.
19532 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19533 value when x - 1 is zero.
19534 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19535 * sysdeps/i386/fpu/libm-test-ulps: Update.
19536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19537
19538 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
19539
19540 [BZ #15119]
19541 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19542
19543 2014-06-09 Roland McGrath <roland@hack.frob.com>
19544
19545 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19546 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19547
19548 2014-06-09 Roland McGrath <roland@hack.frob.com>
19549
19550 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19551 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19552
19553 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19554 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19555
19556 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19557 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19558
19559 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19560 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19561
19562 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19563 if not already defined.
19564 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19565 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19566 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19567 (TLS_INIT_TP): Use it.
19568 (TLS_DEFINE_INIT_TP): New macro.
19569 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19570
19571 2014-06-09 Joseph Myers <joseph@codesourcery.com>
19572
19573 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19574 constant.
19575 [POSIX] (IXANY): Likewise.
19576 [POSIX] (OLCUC): Likewise.
19577 [POSIX || POSIX2008] (CBAUD): Do not allow.
19578 [POSIX || POSIX2008] (DEFECHO): Likewise.
19579 [POSIX || POSIX2008] (ECHOCTL): Likewise.
19580 [POSIX || POSIX2008] (ECHOKE): Likewise.
19581 [POSIX || POSIX2008] (ECHOPRT): Likewise.
19582 [POSIX || POSIX2008] (EXTA): Likewise.
19583 [POSIX || POSIX2008] (EXTB): Likewise.
19584 [POSIX || POSIX2008] (FLUSHO): Likewise.
19585 [POSIX || POSIX2008] (LOBLK): Likewise.
19586 [POSIX || POSIX2008] (PENDIN): Likewise.
19587 [POSIX || POSIX2008] (SWTCH): Likewise.
19588 [POSIX || POSIX2008] (VDISCARD): Likewise.
19589 [POSIX || POSIX2008] (VDSUSP): Likewise.
19590 [POSIX || POSIX2008] (VLNEXT): Likewise.
19591 [POSIX || POSIX2008] (VREPRINT): Likewise.
19592 [POSIX || POSIX2008] (VSTATUS): Likewise.
19593 [POSIX || POSIX2008] (VWERASE): Likewise.
19594 (B*): Change to B[0123456789]*.
19595 * conform/data/time.h-data [POSIX || UNIX98]
19596 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19597 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19598 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19599 [POSIX] (tm_*): Do not allow.
19600
19601 2014-06-07 Joseph Myers <joseph@codesourcery.com>
19602
19603 * Makefile (install): Don't set LANGUAGE.
19604 * Makefile.in (install): Likewise.
19605 * assert/Makefile (test-assert-ENV): Remove variable.
19606 (test-assert-perr-ENV): Likewise.
19607 * elf/Makefile (neededtest4-ENV): Likewise.
19608 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19609 [$(cross-compiling) = no]: Don't set LANGUAGE.
19610 * io/ftwtest-sh (LANG): Remove variable.
19611 * libio/Makefile (tst-widetext-ENV): Likewise.
19612 * manual/install.texi (Running make install): Don't refer to
19613 environment settings for make install.
19614 * INSTALL: Regenerated.
19615 * nptl/tst-tls6.sh: Don't set LANG.
19616 * posix/globtest.sh (LANG): Remove variable.
19617 * string/Makefile (tester-ENV): Likewise.
19618 (inl-tester-ENV): Likewise.
19619 (noinl-tester-ENV): Likewise.
19620 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19621 [$(cross-compiling) = no]: Don't set LANGUAGE.
19622 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19623 without explicit environment settings.
19624
19625 2014-06-06 Roland McGrath <roland@hack.frob.com>
19626
19627 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19628 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19629 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19630 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19631
19632 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
19633
19634 * crypt/crypt-private.h [DOS]: Add some includes taken from the
19635 other files in the crypt directory.
19636 * crypt/crypt.c: Remove duplicate includes.
19637 * crypt/crypt-entry.c: Likewise.
19638 * crypt/crypt_util.c: Likewise.
19639
19640 2014-06-06 Joseph Myers <joseph@codesourcery.com>
19641
19642 * Makeconfig (run-program-env): New variable.
19643 (run-program-prefix-before-env): Likewise.
19644 (run-program-prefix-after-env): Likewise.
19645 (run-program-prefix): Define in terms of new variables.
19646 (built-program-cmd-before-env): New variable.
19647 (built-program-cmd-after-env): Likewise.
19648 (built-program-cmd): Define in terms of new variables.
19649 (test-program-prefix-before-env): New variable.
19650 (test-program-prefix-after-env): Likewise.
19651 (test-program-prefix): Define in terms of new variables.
19652 (test-program-cmd-before-env): New variable.
19653 (test-program-cmd-after-env): Likewise.
19654 (test-program-cmd): Define in terms of new variables.
19655 * Rules (make-test-out): Use $(run-program-env).
19656 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19657 (help): Do not mention environment variables. Mention
19658 --timeoutfactor option.
19659 (timeoutfactor): New variable.
19660 (blacklist_exports): Remove function.
19661 (exports): Remove variable.
19662 (command): Do not include ${exports}.
19663 * manual/install.texi (Configuring and compiling): Do not mention
19664 test wrappers preserving environment variables. Mention that last
19665 assignment to a variable must take precedence.
19666 * INSTALL: Regenerated.
19667 * benchtests/Makefile (run-bench): Use $(run-program-env).
19668 * catgets/Makefile ($(objpfx)test1.cat): Use
19669 $(built-program-cmd-before-env), $(run-program-env) and
19670 $(built-program-cmd-after-env).
19671 ($(objpfx)test2.cat): Do not specify environment variables
19672 explicitly.
19673 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19674 $(run-program-env) and $(built-program-cmd-after-env).
19675 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19676 $(run-program-env) and $(test-program-cmd-after-env).
19677 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19678 explicitly.
19679 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19680 run_program_env and test_program_cmd_after_env arguments.
19681 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19682 * elf/tst-pathopt.sh: Use run_program_env argument.
19683 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19684 $(test-wrapper-env) and $(run-program-env).
19685 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19686 run_program_env arguments.
19687 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19688 * intl/Makefile ($(objpfx)tst-gettext.out): Use
19689 $(test-program-prefix-before-env), $(run-program-env) and
19690 $(test-program-prefix-after-env).
19691 ($(objpfx)tst-gettext2.out): Likewise.
19692 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19693 run_program_env and test_program_prefix_after_env arguments.
19694 * intl/tst-gettext2.sh: Likewise.
19695 * intl/tst-gettext4.sh: Do not set environment variables
19696 explicitly.
19697 * intl/tst-gettext6.sh: Likewise.
19698 * intl/tst-translit.sh: Likewise.
19699 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19700 $(test-program-prefix-before-env), $(run-program-env) and
19701 $(test-program-prefix-after-env).
19702 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19703 run_program_env and test_program_prefix_after_env arguments.
19704 * math/Makefile (run-regen-ulps): Use $(run-program-env).
19705 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19706 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
19707 explicitly with each use of ${test_wrapper_env}.
19708 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19709 $(test-program-prefix-before-env), $(run-program-env) and
19710 $(test-program-prefix-after-env).
19711 * posix/tst-getconf.sh: Do not set environment variables
19712 explicitly.
19713 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19714 run_program_env and test_program_prefix_after_env arguments.
19715 * stdio-common/tst-printf.sh: Do not set environment variables
19716 explicitly.
19717 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19718 $(test-program-prefix-before-env), $(run-program-env) and
19719 $(test-program-prefix-after-env).
19720 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19721 run_program_env and test_program_prefix_after_env arguments.
19722 Split $test calls into $test_pre and $test.
19723 * timezone/Makefile (build-testdata): Use
19724 $(built-program-cmd-before-env), $(run-program-env) and
19725 $(built-program-cmd-after-env).
19726
19727 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19728
19729 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19730 strlen for non SHARED builds.
19731
19732 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19733
19734 * nptl/allocatestack.c (check_list): Inlined function...
19735 (__reclaim_stacks): ... here.
19736
19737 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19738
19739 [BZ #15698]
19740 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19741 memory overrun.
19742
19743 2014-06-05 Joseph Myers <joseph@codesourcery.com>
19744
19745 * Rules (make-test-out): Include
19746 LOCPATH=$(common-objpfx)localedata in default environment.
19747 * debug/Makefile (tst-chk1-ENV): Remove variable.
19748 (tst-chk2-ENV): Likewise.
19749 (tst-chk3-ENV): Likewise.
19750 (tst-chk4-ENV): Likewise.
19751 (tst-chk5-ENV): Likewise.
19752 (tst-chk6-ENV): Likewise.
19753 (tst-lfschk1-ENV): Likewise.
19754 (tst-lfschk2-ENV): Likewise.
19755 (tst-lfschk3-ENV): Likewise.
19756 (tst-lfschk4-ENV): Likewise.
19757 (tst-lfschk5-ENV): Likewise.
19758 (tst-lfschk6-ENV): Likewise.
19759 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19760 (tst-iconv7-ENV): Likewise.
19761 * intl/Makefile (LOCPATH-ENV): Likewise.
19762 (tst-codeset-ENV): Likewise.
19763 (tst-gettext3-ENV): Likewise.
19764 (tst-gettext5-ENV): Likewise.
19765 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19766 (tst-fopenloc-ENV): Likewise.
19767 (tst-fgetws-ENV): Remove variable.
19768 (tst-ungetwc1-ENV): Likewise.
19769 (tst-ungetwc2-ENV): Likewise.
19770 (bug-ungetwc2-ENV): Likewise.
19771 (tst-swscanf-ENV): Likewise.
19772 (bug-ftell-ENV): Likewise.
19773 (tst-fgetwc-ENV): Likewise.
19774 (tst-fseek-ENV): Likewise.
19775 (tst-ftell-partial-wide-ENV): Likewise.
19776 (tst-ftell-active-handler-ENV): Likewise.
19777 (tst-ftell-append-ENV): Likewise.
19778 * posix/Makefile (tst-fnmatch-ENV): Likewise.
19779 (tst-regexloc-ENV): Likewise.
19780 (bug-regex1-ENV): Likewise.
19781 (tst-regex-ENV): Likewise.
19782 (tst-regex2-ENV): Likewise.
19783 (bug-regex5-ENV): Likewise.
19784 (bug-regex6-ENV): Likewise.
19785 (bug-regex17-ENV): Likewise.
19786 (bug-regex18-ENV): Likewise.
19787 (bug-regex19-ENV): Likewise.
19788 (bug-regex20-ENV): Likewise.
19789 (bug-regex22-ENV): Likewise.
19790 (bug-regex23-ENV): Likewise.
19791 (bug-regex25-ENV): Likewise.
19792 (bug-regex26-ENV): Likewise.
19793 (bug-regex30-ENV): Likewise.
19794 (bug-regex32-ENV): Likewise.
19795 (bug-regex33-ENV): Likewise.
19796 (bug-regex34-ENV): Likewise.
19797 (bug-regex35-ENV): Likewise.
19798 (tst-rxspencer-ENV): Likewise.
19799 (tst-rxspencer-no-utf8-ENV): Likewise.
19800 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19801 (tst-sscanf-ENV): Likewise.
19802 (tst-swprintf-ENV): Likewise.
19803 (tst-swscanf-ENV): Likewise.
19804 (test-vfprintf-ENV): Likewise.
19805 (scanf13-ENV): Likewise.
19806 (bug14-ENV): Likewise.
19807 (tst-grouping-ENV): Likewise.
19808 * stdlib/Makefile (tst-strtod-ENV): Likewise.
19809 (tst-strtod3-ENV): Likewise.
19810 (tst-strtod4-ENV): Likewise.
19811 (tst-strtod5-ENV): Likewise.
19812 (testmb2-ENV): Likewise./
19813 * string/Makefile (tst-strxfrm-ENV): Likewise.
19814 (tst-strxfrm2-ENV): Likewise.
19815 (bug-strcoll1-ENV): Likewise.
19816 (test-strcasecmp-ENV): Likewise.
19817 (test-strncasecmp-ENV): Likewise.
19818 * time/Makefile (tst-strptime-ENV): Likewise.
19819 (tst-ftime_l-ENV): Likewise.
19820 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19821 (tst-mbrtowc-ENV): Likewise.
19822 (tst-wcrtomb-ENV): Likewise.
19823 (tst-mbrtowc2-ENV): Likewise.
19824 (tst-c16c32-1-ENV): Likewise.
19825 (tst-mbsnrtowcs-ENV): Likewise.
19826
19827 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19828
19829 * manual/resource.texi (How to get information about the memory
19830 subsystem?): Fix typo.
19831 Reported by Peon de la Parra Ivan <peon@keba.com>
19832
19833 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
19834
19835 [BZ #16882]
19836 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19837 (pthread_spin_lock): Branch out of spin loop to proper location.
19838 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19839 (pthread_spin_lock): Likewise.
19840
19841 * nptl/tst-spin4.c: New test.
19842 * nptl/Makefile (tests): Add tst-spin4.
19843
19844 2014-06-03 Andreas Schwab <schwab@suse.de>
19845
19846 [BZ #15946]
19847 * resolv/res_send.c (send_dg): Reload file descriptor after
19848 calling reopen.
19849
19850 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
19851
19852 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19853
19854 2014-06-03 Richard Henderson <rth@redhat.com>
19855
19856 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19857 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19858 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19859 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
19860 in the SAVE_PID block.
19861 (__libc_vfork): New alias.
19862 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19863
19864 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19865 child in registers, not on the stack. Remove RESET_PID conditionals.
19866 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19867
19868 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
19869
19870 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19871
19872 2014-06-03 Wilco <wdijkstr@arm.com>
19873
19874 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19875 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19876 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19877 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19878 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19879 Likewise.
19880
19881 2014-06-03 Wilco <wdijkstr@arm.com>
19882
19883 * sysdeps/aarch64/fpu/math_private.h
19884 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19885 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19886 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19887 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19888 Fix declarations.
19889
19890 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
19891
19892 * crypt/crypt-private.h: Include ufc-crypt.h.
19893 (__b64_from_24bit): Declare extern.
19894 * crypt/crypt_util.c(__b64_from_24bit): New function.
19895 (b64t): New static const variable.
19896 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19897 (b64t): Remove variable.
19898 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19899 * crypt/sha256-crypt.c: Include crypt-private.h.
19900 (b64t): Remove variable.
19901 (__sha256_crypt_r): Remove b64_from_24bit and replace
19902 with __b64_from_24bit.
19903 * crypt/sha512-crypt.c: Likewise.
19904
19905 2014-06-02 Roland McGrath <roland@hack.frob.com>
19906
19907 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19908 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19909 Label the code __libc_vfork rather than __vfork.
19910 [!NOT_IN_libc] (vfork): Define as weak alias.
19911 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19912 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19913 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19914
19915 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19916
19917 * malloc/malloc.c (malloc_info): Fix format specifier for
19918 n_mmaps.
19919
19920 2014-06-02 Wilco <wdijkstr@arm.com>
19921
19922 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19923 FPCR write.
19924
19925 2014-06-02 Wilco <wdijkstr@arm.com>
19926
19927 [BZ #17009]
19928 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19929 Rewrite to reduce FPCR/FPSR accesses.
19930
19931 2014-06-01 David S. Miller <davem@davemloft.net>
19932
19933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19934
19935 2014-05-31 David S. Miller <davem@davemloft.net>
19936
19937 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19938 to occur in round to nearest mode when |x| >= 2.0
19939
19940 2014-05-30 Richard Henderson <rth@twiddle.net>
19941
19942 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19943 (PSEUDO_RET_NOERRNO): Remove.
19944 (ret): Don't redefine.
19945 (ret_NOERRNO): Define in terms of ret.
19946 (ret_ERRVAL): Likewise.
19947
19948 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19949 use of PSEUDO_RET; perform the error check directly.
19950
19951 2014-05-30 Marko Myllynen <myllynen@redhat.com>
19952
19953 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19954 with __int128_t.
19955
19956 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19957
19958 * malloc/malloc (malloc_info): Fix formatting.
19959
19960 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19961 Roland McGrath <roland@hack.frob.com>
19962
19963 * malloc/malloc (malloc_info): Also print mmapped statistics.
19964
19965 2014-05-30 Roland McGrath <roland@hack.frob.com>
19966
19967 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19968 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19969
19970 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
19971
19972 * malloc/malloc.c (malloc_info): Inline mi_arena.
19973
19974 2014-05-29 Richard Henderson <rth@twiddle.net>
19975
19976 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19977 Remove comma before expanding ASM_ARGS_##nr.
19978 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19979 Make _x0 a strict output; make _x8 a strict input; adjust expansion
19980 of ASM_ARGS_##nr.
19981 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19982 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19983 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19984 (ASM_ARGS_1): Add leading comma.
19985
19986 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19987 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19988 to __errno_location.
19989 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19990 Remove the expected plt for __errno_location.
19991
19992 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19993 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19994 call to __read_tp.
19995
19996 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19997 Always allocate 64 bytes of stack frame. Use ldp/stp to create
19998 it and break it down.
19999 (DOCARGS_0, DOCARGS_1): Do nothing.
20000 (DOCARGS_2): Update to store into the new stack frame.
20001 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20002 (UNDOCARGS_1): Update to restore from the new stack frame.
20003 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20004 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20005
20006 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20007 (SINGLE_THREAD_P): New parameter for result regno.
20008 (PSEUDO): Update to match; use cbz instead of beq.
20009
20010 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20011 Use ENTRY to define the _nocancel entry point. Share the syscall
20012 and syscall error check paths with the cancel path.
20013 (PSEUDO_END): New.
20014
20015 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20016 whitespace; tabs before and after asm mnemonics.
20017
20018 2014-05-29 Eric Wong <normalperson@yhbt.net>
20019
20020 [BZ #15132]
20021 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20022 Call fstat64 or stat64 internally, depending on arguments passed.
20023 Replace stat buffer argument with file descriptor argument.
20024 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20025 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20026 Pass fd to __internal_statvfs instead of calling fstat64.
20027 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20028 Pass fd to __internal_statvfs64 instead of calling fstat64.
20029 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20030 Pass -1 to __internal_statvfs instead of calling stat64.
20031 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20032 Pass -1 to __internal_statvfs64 instead of calling stat64.
20033
20034 2014-05-28 Roland McGrath <roland@hack.frob.com>
20035
20036 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20037 that was previously under [RESET_PID].
20038 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20039
20040 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20041 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20042
20043 2014-05-27 Roland McGrath <roland@hack.frob.com>
20044
20045 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20046
20047 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20048 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20049
20050 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20051
20052 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20053
20054 2014-05-27 Andreas Schwab <schwab@suse.de>
20055
20056 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20057 TLS_INIT_TP macro.
20058 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20059 * elf/rtld.c (init_tls, dl_main): Likewise.
20060 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20061 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20062 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20063 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20064 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20065 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20066 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20067 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20068 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20069 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20070 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20071 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20072 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20073 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20074 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20075 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20076 * sysdeps/generic/tls.h: Update description.
20077
20078 2014-05-27 Will Newton <will.newton@linaro.org>
20079
20080 [BZ #16990]
20081 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20082 and restore r2 rather than just restoring.
20083
20084 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20085
20086 [BZ #16724]
20087 * libio/tst-ftell-append.c: New test case.
20088 * libio/Makefile (tests): Add test case.
20089 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20090 append mode.
20091 * libio/wfileops.c (do_ftell_wide): Likewise.
20092
20093 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20094
20095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20096
20097 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20098 ...
20099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20101 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20102 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20103 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20104 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20105 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20106 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20107 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20108 Moved ...
20109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20110 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20111 Moved ...
20112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20113 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20114 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20115 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20116 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20117 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20118 ...
20119 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20120 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20121 Moved ...
20122 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20123 here.
20124 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20125 ...
20126 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20127 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20128 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20129
20130 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20131 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20132 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20133 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20134
20135 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20136 merge into ...
20137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20138 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20139 ...
20140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20141 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20142 ...
20143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20144 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20145 Moved ...
20146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20147 here.
20148 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20149 Moved ...
20150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20151 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20152 Moved ...
20153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20154
20155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20156 conditional [RESET_PID].
20157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20158 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20159 removed.
20160 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20161 removed.
20162
20163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20164 <tcb-offsets.h>.
20165 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20166 (__libc_vfork): New strong alias.
20167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20168 removed.
20169 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20170 Removed.
20171
20172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20173 <tcb-offsets.h>.
20174 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20175 (__libc_vfork): New strong alias.
20176 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20177 removed.
20178 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20179 removed.
20180
20181 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20182
20183 * malloc/malloc.c (mi_arena): New function.
20184 (malloc_info): Remove nested function mi_arena. Call non-nosted
20185 function mi_arena.
20186
20187 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20188
20189 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20190 by insrwi.
20191 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20192 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20193 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20194 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20195 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20196 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20197 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20198
20199 2014-05-26 Andreas Schwab <schwab@suse.de>
20200
20201 [BZ #16984]
20202 * locale/programs/repertoire.c (repertoire_read): Add slash
20203 between I18NPATH element and file name.
20204 * locale/programs/locfile.c (locfile_read): Likewise.
20205
20206 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20207
20208 * nptl/pthread_mutexattr_settype.c
20209 (__pthread_mutexattr_settype):
20210 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20211
20212 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20213
20214 * nptl/tst-mutex5 (do_test):
20215 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20216
20217 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20218
20219 * benchtests/README: Document 'init' directive.
20220 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20221 BENCH_INIT.
20222 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20223 (parse_file): Recognize 'init' directive.
20224
20225 2014-05-26 Kyle McMartin <kyle@redhat.com>
20226
20227 [BZ #16796]
20228 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20229 alignment of struct pthread.
20230
20231 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20232
20233 [BZ #16878]
20234 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20235 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20236 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20237 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20238
20239 2014-05-25 Richard Henderson <rth@twiddle.net>
20240
20241 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20242 (SINGLE_THREAD_P_PIC): Remove.
20243 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20244 (SINGLE_THREAD_P_PIC): Remove.
20245
20246 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20247 branch to syscall error ...
20248 (PSEUDO): ... here.
20249 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20250 from __local_syscall_error to .Lsyscall_error.
20251 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20252 (SYSCALL_ERROR): Update label name.
20253
20254 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20255 Do not use DOARGS/UNDOARGS.
20256 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20257 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20258 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20259 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20260 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20261
20262 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20263 block comment.
20264
20265 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20266 define if !NOT_IN_libc.
20267 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20268 define with non-default symbol versions.
20269
20270 2014-05-23 Richard Henderson <rth@twiddle.net>
20271
20272 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20273 (vfork, __vfork): Define via compat_symbol.
20274
20275 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20276 [!HAVE_IFUNC] (vfork_compat): Remove.
20277 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20278
20279 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20280
20281 [BZ #16978]
20282 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20283 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20284 variable.
20285
20286 2014-05-23 Richard Henderson <rth@twiddle.net>
20287
20288 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20289 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20290 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20291 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20292
20293 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20294 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20295 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20296 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20297 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20298 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20299 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20300 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20301 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20302 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20303 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20304 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20305 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20306 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20307 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20308 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20309 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20310 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20311 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20312 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20313 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20314 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20315 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20316 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20317 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20318 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20319 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20320 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20321 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20322 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20323 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20324 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20325 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20326 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20327 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20328 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20329 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20330 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20331 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20332 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20333 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20334 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20335 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20336 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20337 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20338 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20339 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20340 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20341 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20342 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20343 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20344 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20345 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20346 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20347 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20348 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20349
20350 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20351 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20352 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20353 before exiting on error.
20354 (__libc_vfork): New strong alias.
20355 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20356 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20357
20358 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20359 that was previously under [RESET_PID].
20360 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20361
20362 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20363
20364 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20365
20366 [BZ #16977]
20367 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20368 value when x - 1 is zero.
20369 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20370 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20371 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20372 0.0L for an argument of 1.0L.
20373 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20374 Likewise.
20375 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20376 value when x - 1 is zero.
20377 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20378 * sysdeps/i386/fpu/libm-test-ulps: Update.
20379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20380
20381 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20382
20383 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20384 alphasort and versionsort.
20385
20386 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20387
20388 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20389 macro.
20390 [copysignf]: Likewise.
20391
20392 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20393
20394 * crypt/md5-crypt.c: Fix formatting.
20395
20396 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20397
20398 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20399 (b64_from_24bit): New function.
20400
20401 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20402
20403 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20404 libc_hidden_builtin_def to ifunc.
20405 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20406 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20407
20408 2014-05-21 Roland McGrath <roland@hack.frob.com>
20409
20410 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20411 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20412
20413 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20414
20415 * nscd/Depend (linuxthreads): Remove.
20416 (nptl): Add.
20417 * resolv/Depend (linuxthreads): Remove.
20418 * rt/Depend (linuxthreads): Remove.
20419
20420 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20421 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20422 $(common-objpfx)elf/.
20423 (link-libc-before-gnulib): Likewise.
20424 (elfobjdir): Remove variable.
20425 * Makefile (install): Use $(elf-objpfx) instead of
20426 $(common-objpfx)elf/.
20427 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20428 $(elfobjdir)/.
20429 (link-libc-deps): Likewise.
20430 ($(common-objpfx)libc.so): Likewise.
20431 ($(common-objpfx)linkobj/libc.so): Likewise.
20432 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20433 instead of $(common-objpfx)elf/.
20434 (symbolic-link-list): Likewise.
20435 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20436 [$(cross-compiling) = no]: Likewise.
20437 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20438 $(elfobjdir)/.
20439 (static-gnulib-arch): Likewise.
20440 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20441 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20442 $(common-objpfx)elf/.
20443
20444 2014-05-21 Richard Henderson <rth@redhat.com>
20445
20446 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20447 (SINGLE_THREAD_P): Use the correct width load. Fold
20448 into the ldr offset.
20449
20450 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20451 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20452
20453 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20454
20455 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20456 (libgcc_s_resume): Use __attribute_used__.
20457 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20458 Likewise.
20459
20460 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20461
20462 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20463 optimization when used with float constants.
20464
20465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20466
20467 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20468
20469 [BZ #16915]
20470 * locale/nl_langinfo_l.c: Make direct reference to every
20471 _nl_current_CATEGORY symbol.
20472 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20473 (tests-static): Add tst-langinfo-static.
20474 (tests-special): Add tst-langinfo-static.out.
20475 ($(objpfx)tst-langinfo.out): Redirect output.
20476 ($(objpfx)tst-langinfo-static.out): New.
20477 * localedata/tst-langinfo.sh: Send output to stdout.
20478 * localedata/tst-langinfo-static.c: New file.
20479
20480 [BZ #16965]
20481 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20482 when the shift amount is modulo the limb size.
20483
20484 2014-05-20 Richard Henderson <rth@redhat.com>
20485
20486 [BZ #16967]
20487 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20488 Change type of sa_flags from unsigned int to int.
20489
20490 [BZ #16966]
20491 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20492
20493 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20494
20495 2014-05-20 Will Newton <will.newton@linaro.org>
20496
20497 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20498 Test the return value of the system call in the nocancel case.
20499
20500 2014-05-20 Will Newton <will.newton@linaro.org>
20501 Yvan Roux <yvan.roux@linaro.org>
20502
20503 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20504 #include of asm/ptrace.h.
20505 (PTRACE_GET_THREAD_AREA): Remove #undef.
20506 (PTRACE_GETHBPREGS): Likewise.
20507 (PTRACE_SETHBPREGS): Likewise.
20508 (struct user_regs_struct): New structure.
20509 (struct user_fpsimd_struct): New structure.
20510 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20511 #include of asm/ptrace.h and second #include of sys/user.h.
20512 (PTRACE_GET_THREAD_AREA): Remove #undef.
20513 (PTRACE_GETHBPREGS): Likewise.
20514 (PTRACE_SETHBPREGS): Likewise.
20515 (ELF_NGREG): Use new struct user_regs_struct.
20516 (elf_fpregset_t): Use new struct user_fpsimd_struct.
20517
20518 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20519
20520 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20521 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20522
20523 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20524
20525 [BZ #16958]
20526 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20527 membar to avoid block loads/stores to overlap previous stores.
20528
20529 2014-05-17 Richard Henderson <rth@redhat.com>
20530
20531 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20532 Create the __##syscall_name##_nocancel entry point.
20533 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20534 Remove; let the sysdep-cancel.h code create it.
20535
20536 2014-05-17 David S. Miller <davem@davemloft.net>
20537
20538 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20539 Protect with __USE_GNU.
20540 (TIOCSET_TEMPT): Likewise.
20541 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20542 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20543 these are already provided in bits/ioctl-types.h
20544
20545 2014-05-16 Roland McGrath <roland@hack.frob.com>
20546
20547 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20548 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20549
20550 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20551 Use wait4 regardless of [__NR_waitpid].
20552
20553 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20554
20555 PR libgcc/60166
20556 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20557 (_FP_NANSIGN_Q): Set the quiet bit.
20558
20559 2014-05-16 Joseph Myers <joseph@codesourcery.com>
20560
20561 * benchtests/Makefile
20562 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20563 not $(common-objpfx)math/libm.so.
20564 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20565 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20566 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20567 $(common-objpfx)dlfcn/libdl.so.
20568 ($(objpfx)tst-audit8): Depend on $(libm), not
20569 $(common-objpfx)math/libm.so.
20570 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20571 not $(common-objpfx)dlfcn/libdl.so.
20572 * math/Makefile
20573 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20574 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
20575 [$(build-shared) = yes].
20576 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20577 $(common-objpfx)nptl/libpthread.so.
20578 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20579 $(common-objpfx)math/libm.so$(libm.so-version) or
20580 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20581 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20582 $(common-objpfx)dlfcn/libdl.so.
20583 * setjmp/Makefile (link-libm): Remove variable.
20584 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20585 * stdio-common/Makefile (link-libm): Remove variable.
20586 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20587 * stdlib/Makefile (link-libm): Remove variable.
20588 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20589 ($(objpfx)tst-strtod-round): Likewise.
20590 ($(objpfx)tst-tininess): Likewise.
20591 ($(objpfx)tst-strtod-underflow): Likewise.
20592 ($(objpfx)tst-strtod6): Likewise.
20593 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20594 $(libdl), not $(common-objpfx)nptl/libpthread.so and
20595 $(common-objpfx)dlfcn/libdl.so.
20596
20597 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20598
20599 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20600 BSD terminal modes definitions.
20601
20602 2014-05-16 Roland McGrath <roland@hack.frob.com>
20603
20604 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20605 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20606
20607 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20608 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20609 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20610 Don't do #include_next.
20611 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20612 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20613 Don't do #include_next.
20614 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20615 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20616 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20617 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20618
20619 2014-05-16 Allan McRae <allan@archlinux.org>
20620
20621 * po/sv.po: Update Swedish translation from translation project.
20622
20623 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20624 in sed expression.
20625
20626 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
20627
20628 [BZ #16917]
20629 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20630 errno if the TIOCGPTN ioctl fails with an error different than
20631 EINVAL.
20632 * login/tst-ptsname.c: New file.
20633 * login/Makefile (tests): Add tst-ptsname.
20634
20635 [BZ #16943]
20636 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20637 and prlimit64.
20638
20639 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20640
20641 [BZ #16849]
20642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20643 herrno to return EAI_AGAIN.
20644
20645 2014-05-14 Roland McGrath <roland@hack.frob.com>
20646
20647 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20648 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20649 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20650 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20651 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20652 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20653 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20654 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20655 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20656 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20657 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20658 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20659 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20660 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20661 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20662 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20663 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20664 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20665 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20666 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20667 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20668 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20669 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20670 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20671 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20672 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20673 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20674 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20675 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20676 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20678 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20680 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20682 Moved ...
20683 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20685 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20687 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20689 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20691 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20693 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20695 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20697 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20699 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20701 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20703 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20705 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20707 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20709 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20711 Moved ...
20712 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20714 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20716 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20718 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20720 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20722 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20724 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20726 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20728 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20730 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20732 Moved ...
20733 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20735 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20736
20737 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20738 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20739 (libpthread-sysdep_routines): Add elision-related stuff here instead.
20740 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20741 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20742 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20743 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20744 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20745 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20746 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20747 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20748 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20749 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20750 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20751 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20752 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20753 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20754 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20755 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20756 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20757 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20758 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20759 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20760 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20761 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20762 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20763 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20764 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20765 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20766 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20767 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20768
20769 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20770 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20771
20772 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20773 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20774 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20775 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20776 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20777 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20778 Moved ...
20779 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20780 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20781 Moved ...
20782 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20783 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20784 Moved ...
20785 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20786 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20787 Moved ...
20788 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20789 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20790 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20791 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20792 Moved ...
20793 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20794 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20795 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20796 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20797 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20798 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20799 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20800 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20801 Moved ...
20802 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20803 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20804 Moved ...
20805 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20806 ... here.
20807 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20808 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20809 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20810 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20811 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20812 Moved ...
20813 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20814 ... here.
20815 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20816 Moved ...
20817 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20818 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20819 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20820 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20821 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20822 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20823 Moved ...
20824 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20825 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20826 Moved ...
20827 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20828 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20829 Moved ...
20830 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20831 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20832 Moved ...
20833 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20834 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20835 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20836 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20837 Moved ...
20838 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20839 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20840 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20841 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20842 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20843 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20844 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20845 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20846 Moved ...
20847 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20848 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20849 Moved ...
20850 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20851 ... here.
20852 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20853 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20854 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20855 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20856 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20857 Moved ...
20858 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20859 ... here.
20860 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20861 Moved ...
20862 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20863 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20864 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20865 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20866 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20867 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20868 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20869 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20870 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20871 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20872 Moved ...
20873 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20874 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20875 Moved ...
20876 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20877 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20878 Moved ...
20879 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20880 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20881 Moved ...
20882 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20883 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20884 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20885 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20886 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20887 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20888 Moved ...
20889 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20890 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20891 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20892 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20893 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20894 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20895 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20896 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20897 Moved ...
20898 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20899 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20900 Moved ...
20901 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20902 ... here.
20903 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20904 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20905 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20906 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20907 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20908 Moved ...
20909 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20910 ... here.
20911 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20912 Moved ...
20913 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20914 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20915 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20916 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20917 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20918 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20919 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20920 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20921 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20922 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20923 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20924
20925 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20926 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20927
20928 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20929 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20930
20931 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20932 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20933 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20934 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20935 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20936 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20937 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20938 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20939 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20940 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20941 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20942 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20943 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20944 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20945 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20946 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20947 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20948 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20949 Moved ...
20950 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20951 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20952 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20954 Moved ...
20955 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20956 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20957 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20958 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20959 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20960 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20961 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20962 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20963 Moved ...
20964 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20965 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20966 Moved ...
20967 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20968 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20969 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20970 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20971 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20972 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20973 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20974 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20975 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20976 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20977 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20978 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20979 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20980 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20981 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20982 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20983 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20984
20985 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20986 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20987 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20988 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20989 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20990
20991 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20992 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20993 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20994 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20995 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20996 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20997 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20998 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20999 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21000 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21001
21002 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21003 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21004
21005 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21006 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21007 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21008 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21009 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21010 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21011 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21012 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21013 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21014 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21015 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21016 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21017 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21018 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21019 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21020 Update #include.
21021 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21022 Likewise.
21023 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21024 Likewise.
21025 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21026 Likewise.
21027 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21028 Likewise.
21029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21030 Likewise.
21031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21032 Likewise.
21033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21034 Likewise.
21035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21036 Likewise.
21037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21038 Likewise.
21039 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21040 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21041 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21042 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21043 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21044 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21045 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21046 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21047 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21048 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21049 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21050 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21051 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21052 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21053 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21054
21055 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21056 that was previously under [RESET_PID].
21057 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21058 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21059 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21060
21061 * sysdeps/i386/nptl/Implies: New file.
21062 * sysdeps/x86_64/nptl/Implies: New file.
21063 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21064 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21065 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21066 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21067
21068 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21069 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21070 (__libc_vfork): New strong alias.
21071 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21072 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21073
21074 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21075 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21076 (__libc_vfork): New strong alias.
21077 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21078 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21079
21080 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21081 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21082 (__libc_vfork): New strong alias.
21083 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21084 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21085 * nptl/pt-vfork.c: New file.
21086 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21087 (libpthread: GLIBC_2.20): New version set (empty).
21088
21089 2014-05-14 Will Newton <will.newton@linaro.org>
21090
21091 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21092 rather than #if.
21093
21094 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21095
21096 [BZ #16564]
21097 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21098 arguments with exponent 65 or above.
21099 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21100 arguments 0x1p113L or above.
21101 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21102 to arguments 0x1p107L or above.
21103 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21104 positive arguments with exponent 65 or above.
21105 * math/auto-libm-test-in: Add more tests of log1p.
21106 * math/auto-libm-test-out: Regenerated.
21107
21108 [BZ #16928]
21109 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21110 non-finite arguments is +0.
21111 * math/s_cacosf.c (__cacosf): Likewise.
21112 * math/s_cacosl.c (__cacosl): Likewise.
21113 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21114 * sysdeps/i386/fpu/libm-test-ulps: Update.
21115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21116
21117 [BZ #16927]
21118 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21119 value.
21120 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21121 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21122 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21123 for explicit high bit of mantissa when testing for argument equal
21124 to 1.
21125 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21126 * sysdeps/i386/fpu/libm-test-ulps: Update.
21127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21128
21129 [BZ #16516]
21130 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21131 (__erf): Scale by 16 instead of 8 in potentially underflowing
21132 case. Ensure exception if result actually underflows.
21133 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21134 (__erff): Scale by 16 instead of 8 in potentially underflowing
21135 case. Ensure exception if result actually underflows.
21136 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21137 (efx8): Remove variable.
21138 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21139 case. Ensure exception if result actually underflows.
21140 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21141 (efx8): Remove variable.
21142 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21143 case. Ensure exception if result actually underflows.
21144 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21145 (efx8): Remove variable.
21146 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21147 case. Ensure exception if result actually underflows.
21148 * math/auto-libm-test-in: Add more tests of erf.
21149 * math/auto-libm-test-out: Regenerated.
21150
21151 2014-05-14 Andreas Schwab <schwab@suse.de>
21152
21153 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21154 Remove code conditionalized on USE___THREAD.
21155
21156 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21157 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21158 not definedness.
21159
21160 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21161
21162 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21163 Define unconditionally.
21164 (__ASSUME_O_CLOEXEC): Likewise.
21165 (__ASSUME_SOCK_CLOEXEC): Likewise.
21166 (__ASSUME_IN_NONBLOCK): Likewise.
21167 (__ASSUME_PIPE2): Likewise.
21168 (__ASSUME_EVENTFD2): Likewise.
21169 (__ASSUME_SIGNALFD4): Likewise.
21170 (__ASSUME_DUP3): Likewise.
21171 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21172 (__ASSUME_DUP3): Do not define.
21173 (__ASSUME_EVENTFD2): Likewise.
21174 (__ASSUME_IN_NONBLOCK): Likewise.
21175 (__ASSUME_O_CLOEXEC): Likewise.
21176 (__ASSUME_PIPE2): Likewise.
21177 (__ASSUME_SIGNALFD4): Likewise.
21178 (__ASSUME_SOCK_CLOEXEC): Likewise.
21179 (__ASSUME_UTIMES): Undefine.
21180 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21181 (__ASSUME_UTIMES): Do not define.
21182 (__ASSUME_O_CLOEXEC): Likewise.
21183 (__ASSUME_SOCK_CLOEXEC): Likewise.
21184 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21185 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21186 0x020621].
21187 (__ASSUME_PIPE2): Likewise.
21188 (__ASSUME_EVENTFD2): Likewise.
21189 (__ASSUME_SIGNALFD4): Likewise.
21190 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21191 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21192 Do not define.
21193 (__ASSUME_EVENTFD2): Likewise.
21194 (__ASSUME_SIGNALFD4): Likewise.
21195 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21196 (__ASSUME_32BITUIDS): Likewise.
21197 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21198 (__ASSUME_IPC64): Likewise.
21199 (__ASSUME_ST_INO_64_BIT): Likewise.
21200 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21201 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21202 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21203 (__ASSUME_UTIMES): Do not define.
21204 (__ASSUME_PSELECT): Likewise.
21205 (__ASSUME_PPOLL): Likewise.
21206 (__ASSUME_O_CLOEXEC): Likewise.
21207 (__ASSUME_SOCK_CLOEXEC): Likewise.
21208 (__ASSUME_IN_NONBLOCK): Likewise.
21209 (__ASSUME_PIPE2): Likewise.
21210 (__ASSUME_EVENTFD2): Likewise.
21211 (__ASSUME_SIGNALFD4): Likewise.
21212 (__ASSUME_DUP3): Likewise.
21213 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21214 (__ASSUME_UTIMES): Likewise.
21215 (__ASSUME_O_CLOEXEC): Likewise.
21216 (__ASSUME_SOCK_CLOEXEC): Likewise.
21217 (__ASSUME_IN_NONBLOCK): Likewise.
21218 (__ASSUME_PIPE2): Likewise.
21219 (__ASSUME_EVENTFD2): Likewise.
21220 (__ASSUME_SIGNALFD4): Likewise.
21221 (__ASSUME_DUP3): Likewise.
21222 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21223 (__ASSUME_UTIMES): Likewise.
21224 (__ASSUME_O_CLOEXEC): Likewise.
21225 (__ASSUME_SOCK_CLOEXEC): Likewise.
21226 (__ASSUME_IN_NONBLOCK): Likewise.
21227 (__ASSUME_PIPE2): Likewise.
21228 (__ASSUME_EVENTFD2): Likewise.
21229 (__ASSUME_SIGNALFD4): Likewise.
21230 (__ASSUME_DUP3): Likewise.
21231 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21232 Likewise.
21233 (__ASSUME_UTIMES): Likewise.
21234 (__ASSUME_EVENTFD2): Likewise.
21235 (__ASSUME_SIGNALFD4): Likewise.
21236 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21237 (__ASSUME_O_CLOEXEC): Likewise.
21238 (__ASSUME_SOCK_CLOEXEC): Likewise.
21239 (__ASSUME_IN_NONBLOCK): Likewise.
21240 (__ASSUME_PIPE2): Likewise.
21241 (__ASSUME_EVENTFD2): Likewise.
21242 (__ASSUME_SIGNALFD4): Likewise.
21243 (__ASSUME_DUP3): Likewise.
21244 (__ASSUME_UTIMES): Undefine.
21245
21246 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21247 feclearexcept. Remove symbol versioning code.
21248 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21249 symbol versioning code.
21250 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21251 symbol versioning code.
21252 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21253 feupdateenv. Remove symbol versioning code.
21254 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21255 fegetexceptflag. Remove symbol versioning code.
21256 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21257 fesetexceptflag. Remove symbol versioning code.
21258 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21259 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21260 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21261 (__posix_fadvise64_l32): Remove prototype.
21262 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21263 code.
21264
21265 2014-05-13 Roland McGrath <roland@hack.frob.com>
21266
21267 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21268 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21269 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21270 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21271
21272 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21273
21274 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21275 current working directory
21276
21277 2014-05-13 Roland McGrath <roland@hack.frob.com>
21278
21279 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21280 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21281 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21282 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21283 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21284 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21285 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21286 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21287 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21288 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21289 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21290 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21291 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21292 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21293 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21294 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21295 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21296 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21297 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21298 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21299 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21300 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21301 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21302 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21303 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21304 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21305 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21306 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21307 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21308 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21309 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21310 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21311 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21312 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21313 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21314 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21315 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21316 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21317 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21318 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21319 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21320 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21321
21322 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21323 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21324
21325 * sysdeps/unix/sysv/linux/arm/Makefile
21326 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21327 Add rt-aeabi_unwind_cpp_pr1.
21328 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21329 Add nptl-aeabi_unwind_cpp_pr1.
21330 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21331 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21332 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21333 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21334 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21335 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21336
21337 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21338 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21339 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21340 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21341
21342 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21343 Deconditionalize the code that was previously under [RESET_PID].
21344 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21345
21346 * sysdeps/generic/exit-thread.h: New file.
21347 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21348 * include/unistd.h (__exit_thread): Remove declaration.
21349 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21350 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21351 * csu/libc-start.c: Include <exit-thread.h>.
21352 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21353 * nptl/pthread_create.c: Include <exit-thread.h>.
21354 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21355 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21356 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21357 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21358 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21359 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21360 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21361 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21362 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21363 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21364 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21365 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21366 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21367 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21368 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21369 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21370 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21371
21372 2014-05-13 Andreas Schwab <schwab@suse.de>
21373
21374 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21375
21376 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21377
21378 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21379 (__ASSUME_UTIMES): Do not condition on kernel version.
21380 (__ASSUME_PSELECT): Define unconditionally.
21381 (__ASSUME_PPOLL): Likewise.
21382 (__ASSUME_ATFCTS): Likewise.
21383 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21384 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21385 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21386 (__ASSUME_UTIMENSAT): Define unconditionally.
21387 (__ASSUME_PRIVATE_FUTEX): Likewise.
21388 (__ASSUME_FALLOCATE): Likewise.
21389 (__ASSUME_O_CLOEXEC): Likewise.
21390 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21391 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21392 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21393 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21394 (__ASSUME_IN_NONBLOCK): Likewise.
21395 (__ASSUME_PIPE2): Likewise.
21396 (__ASSUME_EVENTFD2): Likewise.
21397 (__ASSUME_SIGNALFD4): Likewise.
21398 (__ASSUME_DUP3): Likewise.
21399 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21400 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21401 (__ASSUME_AT_RANDOM): Likewise.
21402 (__ASSUME_PREADV): Likewise.
21403 (__ASSUME_PWRITEV): Likewise.
21404 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21405 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21406 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21407 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21408 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21409 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21410 (__ASSUME_O_CLOEXEC): Define unconditionally.
21411 (__ASSUME_PSELECT): Do not undefine conditionally.
21412 (__ASSUME_PPOLL): Likewise.
21413 (__ASSUME_ATFCTS): Likewise.
21414 (__ASSUME_SET_ROBUST_LIST): Likewise.
21415 (__ASSUME_UTIMENSAT): Likewise.
21416 (__ASSUME_FDATASYNC): Define unconditionally.
21417 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21418 (__ASSUME_SIGFRAME_V2): Likewise.
21419 )__ASSUME_EVENTFD2): Likewise.
21420 (__ASSUME_SIGNALFD4): Likewise.
21421 (__ASSUME_PSELECT): Do not undefine conditionally.
21422 (__ASSUME_PPOLL): Likewise.
21423 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21424 (__ASSUME_PSELECT): Define unconditionally.
21425 (__ASSUME_PPOLL): Likewise.
21426 (__ASSUME_O_CLOEXEC): Likewise.
21427 (__ASSUME_SOCK_CLOEXEC): Likewise.
21428 (__ASSUME_IN_NONBLOCK): Likewise.
21429 (__ASSUME_PIPE2): Likewise.
21430 (__ASSUME_EVENTFD2): Likewise.
21431 (__ASSUME_SIGNALFD4): Likewise.
21432 (__ASSUME_DUP3): Likewise.
21433 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21434 (__ASSUME_O_CLOEXEC): Likewise.
21435 (__ASSUME_SOCK_CLOEXEC): Likewise.
21436 (__ASSUME_IN_NONBLOCK): Likewise.
21437 (__ASSUME_PIPE2): Likewise.
21438 (__ASSUME_EVENTFD2): Likewise.
21439 (__ASSUME_SIGNALFD4): Likewise.
21440 (__ASSUME_DUP3): Likewise.
21441 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21442 (__ASSUME_EVENTFD2): Likewise.
21443 (__ASSUME_SIGNALFD4): Likewise.
21444 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21445
21446 2014-05-12 Andreas Schwab <schwab@suse.de>
21447
21448 [BZ #16932]
21449 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21450 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21451 than maximum RPC packet size.
21452 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21453 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21454 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21455 (_nss_nis_getservbyport_r): Likewise.
21456
21457 2014-05-12 Will Newton <will.newton@linaro.org>
21458
21459 * malloc/Makefile (tests): Add tst-mallopt.
21460 * malloc/tst-mallopt.c: New file.
21461
21462 2014-05-09 Roland McGrath <roland@hack.frob.com>
21463
21464 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21465 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21466
21467 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21468
21469 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21470 (tst-tlsmod6.so): Likewise.
21471
21472 2014-05-09 Roland McGrath <roland@hack.frob.com>
21473
21474 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21475
21476 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21477
21478 [BZ #16064]
21479 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21480 and <dl-procinfo.h>.
21481 (__fegetenv): Save SSE state in envp->__eip if supported.
21482 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21483 envp->__eip if supported.
21484 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21485 and <dl-procinfo.h>.
21486 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21487 __data_offset and __data_selector in environment to 0. Set SSE
21488 state if supported.
21489 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21490 test-fenv-sse.
21491 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21492 -mfpmath=sse.
21493 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21494
21495 2014-05-09 Will Newton <will.newton@linaro.org>
21496
21497 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21498 and libc_relro_required for ARM.
21499 * sysdeps/arm/preconfigure: Regenerate.
21500
21501 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21502 Stefan Liebler <stli@linux.vnet.ibm.com>
21503
21504 * config.make.in (enable-lock-elision): New Makefile variable.
21505 * configure.ac: Likewise.
21506 * configure: Regenerate.
21507 * sysdeps/s390/configure.ac:
21508 Add check for gcc transactions support.
21509 * sysdeps/s390/configure: Regenerate.
21510 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21511 Build elision files if enabled.
21512 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21513 Add lock elision support for s390.
21514 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21515 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21516 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21517 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21518 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21519 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21520 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21521 Likewise.
21522 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21523 Likewise.
21524 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21525 Likewise.
21526 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21527 Likewise.
21528 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21529 (__lll_timedlock_elision, __lll_lock_elision)
21530 (__lll_unlock_elision, __lll_trylock_elision)
21531 (lll_timedlock_elision, lll_lock_elision)
21532 (lll_unlock_elision, lll_trylock_elision): Add.
21533 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21534 (pthread_mutex_t): Add lock elision support for s390.
21535
21536 2014-05-14 Wilco <wdijkstr@arm.com>
21537
21538 * sysdeps/arm/fclrexcpt.c: Cleanup.
21539 * sysdeps/arm/fedisblxcpt.c: Cleanup.
21540 * sysdeps/arm/feenablxcpt.c: Cleanup.
21541 * sysdeps/arm/fegetenv.c: Cleanup.
21542 * sysdeps/arm/fegetexcept.c: Cleanup.
21543 * sysdeps/arm/fegetround.c: Cleanup.
21544 * sysdeps/arm/feholdexcpt.c: Cleanup.
21545 * sysdeps/arm/fesetenv.c: Cleanup.
21546 * sysdeps/arm/fesetround.c: Cleanup.
21547 * sysdeps/arm/feupdateenv.c: Cleanup.
21548 * sysdeps/arm/fgetexcptflg.c: Cleanup.
21549 * sysdeps/arm/fraiseexcpt.c: Cleanup.
21550 * sysdeps/arm/fsetexcptflg.c: Cleanup.
21551 * sysdeps/arm/ftestexcept.c: Cleanup.
21552 * sysdeps/arm/get-rounding-mode.h: Cleanup.
21553 * sysdeps/arm/setfpucw.c: Cleanup.
21554
21555 2014-05-09 Will Newton <will.newton@linaro.org>
21556
21557 * sysdeps/arm/armv7/strcmp.S: New file.
21558 * NEWS: Mention addition of ARMv7 optimized strcmp.
21559
21560 2014-05-08 Roland McGrath <roland@hack.frob.com>
21561
21562 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21563 look for %.ac rather than %.in.
21564
21565 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21566 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21567 * sysdeps/mach/hurd/configure: Regenerated.
21568 * sysdeps/unix/sysv/linux/configure: Regenerated.
21569
21570 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21571
21572 2014-05-07 Steve Ellcey <sellcey@mips.com>
21573
21574 [BZ# 16922]
21575 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21576 (LONG_SUB): Ditto.
21577 (PTR_SUB): Ditto.
21578
21579 2014-05-07 Andreas Schwab <schwab@suse.de>
21580
21581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21582 when skipping over non-matching result from nscd.
21583
21584 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
21585
21586 [BZ #16876]
21587 * nptl/sockperf.c (client): Check socket return value.
21588
21589 [BZ #16877]
21590 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21591 nscd security class.
21592
21593 2014-05-06 Roland McGrath <roland@hack.frob.com>
21594
21595 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21596 * sysdeps/arm/unwind.h: ... here.
21597
21598 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
21599
21600 [BZ# 16916]
21601 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21602 Define.
21603
21604 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21605
21606 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21607 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21608 multiarch strncpy for PPC64.
21609 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21610 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21612 multiarch optimizations.
21613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21614 (__libc_ifunc_impl_list): Likewise.
21615 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21616 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21617 multiarch stpncpy for PPC64.
21618 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21619 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21620
21621 2014-05-06 Andreas Schwab <schwab@suse.de>
21622
21623 [BZ #16912]
21624 * gmon/mcount.c (_MCOUNT_DECL): Use
21625 atomic_compare_and_exchange_bool_acq instead of
21626 catomic_compare_and_exchange_bool_acq.
21627
21628 2014-05-05 Roland McGrath <roland@hack.frob.com>
21629
21630 * elf/Makefile (others, install-bin): Remove pldd.
21631 (pldd-modules): Variable removed.
21632 ($(objpfx)pldd): Target removed.
21633 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21634 (others, install-bin): Append pldd here.
21635 ($(objpfx)pldd): New target.
21636
21637 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21638 to 0, so the first #if test emitted later doesn't see it undefined.
21639 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21640 * sysdeps/gnu/errlist.c: Regenerated.
21641
21642 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21643
21644 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21645 [libc_hidden_builtin_def]: Define to empty value.
21646 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21647 [libc_hidden_builtin_def]: Likewise.
21648 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21649 [libc_hidden_builtin_def]: Likewise.
21650 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21651 [libc_hidden_builtin_def]: Likewise.
21652 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21653 __redirect_memcpy and define ifunc as default hidden symbol.
21654 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21655 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21656
21657 2014-05-04 Adam Conrad <adconrad@0c3.net>
21658
21659 * locale/iso-4217.def: Reintroduce XDR currency.
21660
21661 2014-05-04 Allan McRae <allan@archlinux.org>
21662
21663 * po/eo.po: Update Esperanto translation from translation project.
21664
21665 2014-05-02 Carlos O'Donell <carlos@redhat.com>
21666
21667 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21668 and FEATURE_INDEX_MAX to 1.
21669 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21670
21671 2014-05-01 Steve Ellcey <sellcey@mips.com>
21672
21673 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21674 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21675 * iconvdata/big5.c (ONE_DIRECTION): Define.
21676 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21677 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21678 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21679 * iconvdata/cp932.c (ONE_DIRECTION): Define.
21680 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21681 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21682 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21683 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21684 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21685 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21686 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21687 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21688 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21689 * iconvdata/gbk.c (ONE_DIRECTION): Define.
21690 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21691 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21692 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21693 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21694 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21695 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21696 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21697 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21698 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21699 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21700 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21701 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21702 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21703 * iconvdata/iso646.c (ONE_DIRECTION): Define.
21704 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21705 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21706 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21707 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21708 * iconvdata/johab.c (ONE_DIRECTION): Define.
21709 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21710 * iconvdata/sjis.c (ONE_DIRECTION): Define.
21711 * iconvdata/t.61.c (ONE_DIRECTION): Define.
21712 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21713 * iconvdata/tscii.c (ONE_DIRECTION): Define.
21714 * iconvdata/uhc.c (ONE_DIRECTION): Define.
21715 * iconvdata/unicode.c (ONE_DIRECTION): Define.
21716 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21717 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21718 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21719
21720 2014-05-01 Roland McGrath <roland@hack.frob.com>
21721
21722 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21723 (_IO_JUMPS_OFFSET): Define to 0.
21724
21725 * nptl/sysdeps/pthread/bits/libc-lock.h
21726 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21727 (__libc_lock_define_initialized_recursive): Always define using
21728 initializer. Modern compilers treat uninitialized (implicit zero) and
21729 explicit zero initializers the same (i.e. put the datum in bss).
21730
21731 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21732
21733 * nscd/nscd-client.h: Include <string.h>.
21734
21735 2014-05-01 David S. Miller <davem@davemloft.net>
21736
21737 [BZ #16885]
21738 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21739 multiple zero bytes exist at the end of a string.
21740 Reported by Aurelien Jarno <aurelien@aurel32.net>
21741
21742 * string/test-strcmp.c (check): Add explicit test for situations where
21743 there are multiple zero bytes after the first.
21744
21745 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21746
21747 [BZ #16890]
21748 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21749 when compiling wprintf.
21750 * stdio-common/tstdiomisc.c (t3): New function.
21751 (main): Call it.
21752
21753 2014-05-01 Steve Ellcey <sellcey@mips.com>
21754
21755 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21756 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21757 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21758 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21759
21760 2014-05-01 Steve Ellcey <sellcey@mips.com>
21761
21762 * stdlib/longlong.h: Updated from GCC.
21763
21764 2014-05-01 Will Newton <will.newton@linaro.org>
21765 Bernard Ogden <bernie.ogden@linaro.org>
21766
21767 * NEWS: Update fixed bug list.
21768
21769 [BZ #15119]
21770 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21771
21772 2014-04-30 David S. Miller <davem@davemloft.net>
21773
21774 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21775 (libc_feholdexcept_setround_sparc_ctx): New function.
21776 (libc_fesetenv_sparc_ctx): Likewise.
21777 (libc_feupdateenv_sparc_ctx): Likewise.
21778 (libc_feholdsetround_sparc_ctx): Likewise.
21779 (libc_feholdexcept_setround_ctx): Define.
21780 (libc_feholdexcept_setroundf_ctx): Likewise.
21781 (libc_feholdexcept_setroundl_ctx): Likewise.
21782 (libc_fesetenv_ctx): Likewise.
21783 (libc_fesetenvf_ctx): Likewise.
21784 (libc_fesetenvl_ctx): Likewise.
21785 (libc_feupdateenv_ctx): Likewise.
21786 (libc_feupdateenvf_ctx): Likewise.
21787 (libc_feupdateenvl_ctx): Likewise.
21788 (libc_feresetround_ctx): Likewise.
21789 (libc_feresetroundf_ctx): Likewise.
21790 (libc_feresetroundl_ctx): Likewise.
21791 (libc_feholdsetround_ctx): Likewise.
21792 (libc_feholdsetroundf_ctx): Likewise.
21793 (libc_feholdsetroundl_ctx): Likewise.
21794
21795 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21796 with __USE_GNU instead of XOPEN cpp guards.
21797
21798 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21799 0.
21800
21801 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21802 with XOPEN cpp guards.
21803
21804 2014-04-30 Julian Brown <julian@codesourcery.com>
21805
21806 [BZ #16888]
21807 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21808 handling.
21809
21810 2014-04-30 Joseph Myers <joseph@codesourcery.com>
21811
21812 [BZ #9894]
21813 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21814 Change to 2.6.32.
21815 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21816 * sysdeps/unix/sysv/linux/configure: Regenerated.
21817 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21818 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21819 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21820 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21821 * README: Update reference to required Linux kernel version.
21822 * manual/install.texi (Linux): Update reference to required Linux
21823 kernel headers version.
21824 * INSTALL: Regenerated.
21825
21826 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21827 header inclusion.
21828 [POSIX] (limits.h): Likewise.
21829 [POSIX] (math.h): Likewise.
21830 [POSIX] (sys/wait.h): Likewise.
21831 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21832 function.
21833 [POSIX] (stddef.h): Do not allow header inclusion.
21834
21835 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21836
21837 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21838
21839 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
21840
21841 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21842 Return immediately after lll_futex_wake.
21843
21844 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21845
21846 [BZ #16791]
21847 * nscd/nscd-client.h (datahead_init_common): Initialize entire
21848 structure.
21849 (datahead_init_pos): Call datahead_init_common early.
21850 (datahead_init_neg): Likewise.
21851
21852 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21853 datahead_init_neg): New functions.
21854 * nscd/aicache.c (addhstaiX): Use them.
21855 * nscd/grpcache.c (cache_addgr): Likewise.
21856 * nscd/hstcache.c (cache_addhst): Likewise.
21857 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21858 * nscd/netgroupcache.c (do_notfound): Likewise.
21859 (addgetnetgrentX): Likewise.
21860 (addinnetgrX): Likewise.
21861 * nscd/pwdcache.c (cache_addpw): Likewise.
21862 * nscd/servicescache.c (cache_addserv): Likewise.
21863
21864 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21865 Atsushi Onoe <atsushi@onoe.org>
21866
21867 [BZ #14308]
21868 [BZ #12994]
21869 [BZ #13651]
21870 * resolv/res_query.c (__libc_res_nsearch): Return if at least
21871 one response is valid.
21872 * resolv/res_send.c (send_dg): Check for validity of other
21873 response if the current response is a referral.
21874
21875 2014-04-29 Steve Ellcey <sellcey@mips.com>
21876
21877 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21878
21879 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
21880
21881 [BZ #16823]
21882 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21883 Always divide by positive zero when computing -Inf result.
21884 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21885 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21886
21887 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21888
21889 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21890 FPSCR if value do not change.
21891 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21892 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21893 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21894 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21895 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21896 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21897 function.
21898
21899 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
21900
21901 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21902 * sysdeps/unix/sysv/linux/hppa: Move directory from
21903 ports/systeps/unix/sysv/linux/hppa.
21904 * README: Update listing for hppa-*-linux-gnu.
21905
21906 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
21907
21908 [BZ #16754]
21909 * manual/stdio.texi (Hook functions): Fix types of stream hook
21910 functions.
21911 [BZ #16854]
21912 * socket/sys/socket.h: Fix typo in comment.
21913
21914 2014-04-28 Wilco <wdijkstr@arm.com>
21915
21916 * sysdeps/arm/fenv_private.h: New file.
21917 * sysdeps/arm/math_private.h: New file.
21918 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21919
21920 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
21921
21922 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21923 with __int128_t.
21924 (La_x86_64_retval): Likewise.
21925
21926 2014-04-24 Ian Bolton <ian.bolton@arm.com>
21927
21928 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21929 fpsr if value didn't change.
21930 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21931 to fpcr if value didn't change.
21932 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21933 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21934 fpsr or fpcr if value didn't change.
21935 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21936 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21937 fpcr if value didn't change.
21938 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21939 to fpsr if value didn't change.
21940
21941 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21942
21943 * nptl/tst-sem3.c: Use test-skeleton.c
21944 (main): Rename to do_test. Use return instead of
21945 exit.
21946 * nptl/tst-sem4.c: Use test-skeleton.c
21947 (main): Rename to do_test.
21948
21949 2014-04-22 David S. Miller <davem@davemloft.net>
21950
21951 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21952 (struct sigaction): New struct member __glibc_reserved0, change
21953 type of sa_flags to int.
21954
21955 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
21956
21957 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21958 (COUNT_LEADING_ZEROS_0): Define for AArch64.
21959
21960 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21961
21962 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21963 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21964
21965 2014-04-22 Will Newton <will.newton@linaro.org>
21966 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
21967
21968 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21969 (__longjmp): Add longjmp and longjmp_target SystemTap
21970 probes.
21971 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21972 (__sigsetjmp): Add setjmp SystemTap probe.
21973
21974 2014-04-17 Carlos O'Donell <carlos@redhat.com>
21975
21976 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21977 match manual order.
21978
21979 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21980
21981 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21982
21983 * sysdeps/powerpc/fpu/fenv_private.h
21984 (libc_feholdexcept_setroundl_ctx): Define to
21985 libc_feholdexcept_setround_ppc_ctx.
21986 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21987 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21988 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21989 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21990
21991 2014-04-17 Ian Bolton <ian.bolton@arm.com>
21992
21993 * sysdeps/aarch64/math-tests.h: New file.
21994
21995 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
21996
21997 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21998 New.
21999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22000 Check and set bit_AVX2_Usable.
22001 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22002 macro.
22003 (bit_AVX2): Likewise.
22004 (index_AVX2_Usable): Likewise.
22005 (CPUID_AVX2): Likewise.
22006 (HAS_AVX2): Likewise.
22007
22008 2014-04-17 Will Newton <will.newton@linaro.org>
22009
22010 * manual/setjmp.texi (System V contexts): Add note that
22011 calling setcontext on a context created by a call to a
22012 signal handler is undefined. Update text to note that
22013 setcontext from a signal handler is possible but not
22014 recommended.
22015
22016 [BZ #16629]
22017 * stdlib/tst-setcontext.c: Include signal.h.
22018 (main): Check that the signal stack before and
22019 after swapcontext is the same.
22020
22021 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22022 Re-implement to restore registers in user code and avoid
22023 rt_sigreturn system call.
22024
22025 2014-04-17 Wilco <wdijkstr@arm.com>
22026
22027 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22028 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22029 * math/test-fenv.c: Skip exception trap tests on targets which only
22030 support non-stop mode.
22031
22032 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22033 Wilco Dijkstra <wilco.dijkstra@arm.com>
22034
22035 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22036 (libc_feholdsetround_aarch64_ctx)
22037 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22038 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22039 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22040 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22041 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22042 (libc_feresetround_noexl_ctx): Define.
22043
22044 2014-04-16 Richard Henderson <rth@redhat.com>
22045
22046 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22047
22048 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22049 unwind tables.
22050
22051 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22052 const from the non-libc, non-ldso copy.
22053
22054 * sysdeps/alpha/libm-test-ulps: Regenerate.
22055
22056 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22057 Wilco Dijkstra <wilco.dijkstra@arm.com>
22058
22059 * sysdeps/aarch64/fpu/math_private.h: New file.
22060
22061 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22062
22063 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22064
22065 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22066
22067 [BZ #16275]
22068 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22069 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22071 Intel MPX bound registers before _dl_profile_fixup.
22072 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22073 registers after _dl_profile_fixup. Save and restore bound
22074 registers bnd0/bnd1 when calling _dl_call_pltexit.
22075 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22076 (LR_BND_OFFSET): Likewise.
22077 (LRV_BND0_OFFSET): Likewise.
22078 (LRV_BND1_OFFSET): Likewise.
22079
22080 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22081
22082 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22083 to...
22084 * sysdeps/mach/hurd/i386/tls.h: ... here.
22085 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22086 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22087 fields.
22088
22089 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22090
22091 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22092
22093 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22094
22095 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22096
22097 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22098
22099 [BZ #14770]
22100 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22101 * sysdeps/s390/configure: Regenerate.
22102
22103 [BZ #16824]
22104 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22105 Set round-to-nearest internally to reduce error accumulation.
22106
22107 2014-04-16 Alan Modra <amodra@gmail.com>
22108
22109 [BZ #16740]
22110 [BZ #16619]
22111 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22112 * math/libm-test.inc (frexp_test_data): Add tests.
22113 * NEWS: Update fixed bug list.
22114
22115 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22116
22117 * benchtests/Makefile: Depend on libraries in build directory.
22118 (bench-math): Separate out math tests.
22119 (bench-pthread): Separate out pthread tests.
22120 (bench): Include math and pthread tests.
22121
22122 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22123
22124 [BZ #16831]
22125 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22126 _dl_debug_initialize.
22127
22128 * configure.ac: Remove SELinux header check.
22129 * configure: Regenerate.
22130 * nscd/selinux.c (perms): Array of const char* to permission names.
22131 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22132 default policy. Call string_to_security_class and string_to_av_perm to
22133 translate strings. Enforce default policy and call avs_has_perm with
22134 results of translated strings.
22135
22136 2014-04-13 David S. Miller <davem@davemloft.net>
22137
22138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22139
22140 2014-04-12 Allan McRae <allan@archlinux.org>
22141
22142 [BZ #16838]
22143 * manual/string.texi (Collation Functions): Fix qsort argument
22144 order in example.
22145 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22146
22147 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22148
22149 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22150 Make the test a no-op if there are no exceptions defined.
22151
22152 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22153
22154 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22155 enable-hardcoded-path-in-tests
22156
22157 2014-04-11 Will Newton <will.newton@linaro.org>
22158
22159 * benchtests/Makefile (extra-objs): Add json-lib.o.
22160 (bench-func): Tidy up JSON output.
22161 * benchtests/bench-skeleton.c: Include json-lib.h.
22162 (main): Use JSON library functions to do output of
22163 benchmark results.
22164 * benchtests/bench-timing-type.c (main): Output the
22165 timing type simply, leaving formatting to the user.
22166 * benchtests/json-lib.c: New file.
22167 * benchtests/json-lib.h: Likewise.
22168
22169 2014-04-11 Torvald Riegel <triegel@redhat.com>
22170
22171 [BZ #15215]
22172 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22173 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22174 memory barriers. Add comments.
22175 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22176 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22177 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22178 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22179 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22180 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22181
22182 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22183
22184 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22185 * sysdeps/s390/s390-64/configure.ac: ... this ...
22186 * sysdeps/s390/configure.ac: ... to here.
22187 * sysdeps/s390/s390-32/configure: Delete file.
22188 * sysdeps/s390/s390-64/configure: Delete file.
22189 * sysdeps/s390/configure: Regenerate.
22190
22191 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22192
22193 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22194
22195 2014-04-11 Will Newton <will.newton@linaro.org>
22196
22197 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22198 to zero if it is not defined elsewhere. (mtrim): Test
22199 the value of MALLOC_DEBUG with #if rather than #ifdef.
22200
22201 2014-04-10 Torvald Riegel <triegel@redhat.com>
22202
22203 * benchtests/pthread_once-inputs: New file.
22204 * benchtests/pthread_once-source.c: New file.
22205 * benchtests/README: Update documentation.
22206
22207 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22208 H.J. Lu <hongjiu.lu@intel.com>
22209
22210 [BZ #16275]
22211 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22212 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22213 * sysdeps/x86_64/configure: Regenerated.
22214 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22215 macro.
22216 (REGISTER_SAVE_RAX): Likewise.
22217 (REGISTER_SAVE_RCX): Likewise.
22218 (REGISTER_SAVE_RDX): Likewise.
22219 (REGISTER_SAVE_RSI): Likewise.
22220 (REGISTER_SAVE_RDI): Likewise.
22221 (REGISTER_SAVE_R8): Likewise.
22222 (REGISTER_SAVE_R9): Likewise.
22223 (REGISTER_SAVE_BND0): Likewise.
22224 (REGISTER_SAVE_BND1): Likewise.
22225 (REGISTER_SAVE_BND2): Likewise.
22226 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22227 bound registers when calling _dl_fixup.
22228
22229 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22230
22231 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22232 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22233 of its definition.
22234 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22235 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22236 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22237 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22238 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22239 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22240 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22241
22242 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22243
22244 [BZ #15514]
22245 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22246 pathconf(_PC_NAME_MAX).
22247
22248 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22249
22250 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22251 Remove macro usage.
22252 (__PTHREAD_SPINS): Move definition to ...
22253 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22254 (__PTHREAD_SPINS): ... here.
22255 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22256 (__PTHREAD_SPIN): Likewise.
22257 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22258 (__PTHREAD_SPIN): Likewise.
22259 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22260 (__PTHREAD_SPIN): Likewise.
22261 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22262 (__PTHREAD_SPIN): Likewise.
22263 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22264 (__PTHREAD_SPIN): Likewise.
22265 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22266 (__PTHREAD_SPIN): Likewise.
22267 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22268 (__PTHREAD_SPIN): Likewise.
22269 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22270 (__PTHREAD_SPIN): Likewise.
22271 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22272 (__PTHREAD_SPIN): Likewise.
22273 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22274 (__PTHREAD_SPIN): Likewise.
22275 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22276 (__PTHREAD_SPIN): Likewise.
22277 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22278 (__PTHREAD_SPIN): Likewise.
22279
22280 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22281 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22282 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22283 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22284 imply folder.
22285 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22286 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22287 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22288 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22289 correct imply path.
22290 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22291 strlen symbol for non multi-arch builds.
22292 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22293 missing hidden_def and weak_alias.
22294
22295 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22296
22297 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22298
22299 2014-04-07 Will Newton <will.newton@linaro.org>
22300
22301 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22302 and contents. [!_LIBC] Remove #ifndef and contents.
22303 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22304 * string/memccpy.c (__memccpy): Use ANSI prototype.
22305 * string/memfrob.c (memfrob): Likewise.
22306 * string/strcoll.c (STRCOLL): Likewise.
22307 * string/strlen.c (strlen): Likewise.
22308 * string/strtok.c (STRTOK): Likewise.
22309 * string/strcat.c: Remove unused #include of memcopy.h.
22310 (strcat): Use ANSI prototype.
22311 * string/strchr.c: Remove unused #include of memcopy.h.
22312 (strchr): Use ANSI prototype.
22313 * string/strcmp.c: Remove unused #include of memcopy.h.
22314 (strcmp): Use ANSI prototype.
22315 * string/strcpy.c: Remove unused #include of memcopy.h.
22316 (strcpy): Use ANSI prototype.
22317
22318 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22319
22320 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22321 * config.make.in (config-extra-cppflags): Set it from
22322 libc_extra_cppflags.
22323 * configure.ac (libc_extra_cflags): Make it accumulate over
22324 configure fragments.
22325 (libc_extra_cppflags): New flag.
22326 * configure. Regenerate.
22327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22328 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22329 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22331
22332 [BZ #16815]
22333 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22334 result for FE_DOWNWARD rounding mode.
22335 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22336 Likewise.
22337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22338
22339 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22340
22341 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22342 in function argument name.
22343
22344 2014-04-03 David Svoboda <svoboda@cert.org>
22345
22346 [BZ #5666]
22347 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22348 explicitly.
22349
22350 2014-04-03 Roland McGrath <roland@hack.frob.com>
22351
22352 * elf/dl-unmap-segments.h: New file.
22353 * sysdeps/generic/ldsodefs.h
22354 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22355 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22356 * elf/dl-fptr.c: Likewise.
22357 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22358 * sysdeps/aarch64/tlsdesc.c: Likewise.
22359 * sysdeps/arm/tlsdesc.c: Likewise.
22360 * sysdeps/i386/tlsdesc.c: Likewise.
22361 * sysdeps/tile/dl-runtime.c: Likewise.
22362 * sysdeps/x86_64/tlsdesc.c: Likewise.
22363 * elf/dl-load.h: New file.
22364 * elf/dl-load.c: Include it.
22365 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22366 Macros moved to dl-load.h.
22367 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22368 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22369 Use _dl_unmap_segments in place of __munmap.
22370 Break out segment-mapping loop into ...
22371 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22372
22373 2014-04-03 Will Newton <will.newton@linaro.org>
22374
22375 * elf/dl-lookup.c (do_lookup_x): Remove comment
22376 referring to nested function and move variable
22377 declarations down to before first use.
22378
22379 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22380
22381 [BZ #16799]
22382 [BZ #16800]
22383 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22384 with 0 numerator.
22385 * math/s_catanf.c (__catanf): Likewise.
22386 * math/s_catanh.c (__catanh): Likewise.
22387 * math/s_catanhf.c (__catanhf): Likewise.
22388 * math/s_catanhl.c (__catanhl): Likewise.
22389 * math/s_catanl.c (__catanl): Likewise.
22390 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22391 by positive zero when computing -Inf result.
22392 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22393 (catanh_test): Likewise.
22394 * sysdeps/i386/fpu/libm-test-ulps: Update.
22395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22396
22397 [BZ #16789]
22398 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22399 instead of using underflowing value in computing result.
22400 * math/s_clog10.c (__clog10): Likewise.
22401 * math/s_clog10f.c (__clog10f): Likewise.
22402 * math/s_clog10l.c (__clog10l): Likewise.
22403 * math/s_clogf.c (__clogf): Likewise.
22404 * math/s_clogl.c (__clogl): Likewise.
22405 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22406 (clog10_test): Likewise.
22407 * sysdeps/i386/fpu/libm-test-ulps: Update.
22408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22409
22410 2014-04-02 Alan Modra <amodra@gmail.com>
22411
22412 [BZ #16739]
22413 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22414 output when value is near a power of two. Use int64_t for lx and
22415 remove casts. Use decimal rather than hex exponent constants.
22416 Don't use long double multiplication when double will suffice.
22417 * math/libm-test.inc (nextafter_test_data): Add tests.
22418 * NEWS: Add 16739 and 16786 to bug list.
22419
22420 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22421
22422 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22423
22424 2014-04-01 Will Newton <will.newton@linaro.org>
22425
22426 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22427 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22428
22429 2014-04-01 Florian Weimer <fweimer@redhat.com>
22430
22431 [BZ #13347]
22432 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22433 * nptl/tst-setuid2.c: New file.
22434 * nptl/Makefile (xtests): Add tst-setuid2.
22435
22436 2014-04-01 Alan Modra <amodra@gmail.com>
22437
22438 [BZ #16786]
22439 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22440
22441 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22442
22443 [BZ #6803]
22444 [BZ #6804]
22445 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22446 set errno as appropriate.
22447 * math/w_scalbf.c (__scalbf): Likewise.
22448 * math/w_scalbl.c (__scalbl): Likewise.
22449 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22450 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22451 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22452 Add more NaN tests.
22453
22454 [BZ #16349]
22455 * math/w_atan2.c: Include <errno.h>.
22456 (__atan2): Set errno for result underflowing to zero.
22457 * math/w_atan2f.c: Include <errno.h>.
22458 (__atan2f): Set errno for result underflowing to zero.
22459 * math/w_atan2l.c: Include <errno.h>.
22460 (__atan2l): Set errno for result underflowing to zero.
22461 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22462 tests.
22463 * math/auto-libm-test-out: Regenerated.
22464
22465 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22466
22467 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22468 Encode instruction correctly in little endian.
22469 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22470 Likewise.
22471 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22472 Likewise.
22473 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22474 Likewise.
22475 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22476 Likewise.
22477
22478 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22479
22480 [BZ #9894]
22481 * sysdeps/unix/sysv/linux/kernel-features.h
22482 [__sparc__ && !__arch64__ && !__sparc_v9__]
22483 (__ASSUME_SET_ROBUST_LIST): Do not define.
22484 [__sparc__ && !__arch64__ && !__sparc_v9__]
22485 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22486 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22487 Likewise.
22488 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22489 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22490 (__ASSUME_REQUEUE_PI): Likewise.
22491 (__ASSUME_SET_ROBUST_LIST): Likewise.
22492 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22493 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22494 Undefine.
22495 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22496 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22497 Likewise.
22498 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22499 Likewise.
22500 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22501 Likewise.
22502 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22503 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22504 Undefine.
22505 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22506 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22507 Likewise.
22508
22509 [BZ #16648]
22510 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22511 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22512 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22513
22514 2014-03-31 Will Newton <will.newton@linaro.org>
22515
22516 * benchtests/Makefile (bench): Add ffs and ffsll to list
22517 of tests.
22518 * benchtests/ffs-inputs: New file.
22519 * benchtests/ffsll-inputs: Likewise.
22520
22521 2014-03-29 Joseph Myers <joseph@codesourcery.com>
22522
22523 [BZ #16770]
22524 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22525 too large before casting to int.
22526 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22527 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22528 * math/libm-test.inc (scalb_test_data): Add more tests.
22529
22530 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22531
22532 * benchtests/Makefile (DETAILED_OPT): New make option.
22533 (bench-func): Run benchmark program with -d if DETAILED_OPT is
22534 set.
22535 * benchtests/bench-skeleton.c: Include stdbool.h.
22536 (main): Store and print timings per input.
22537 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22538 member to each argument value.
22539 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22540 (_print_arg_data): Initialize per-input timing to 0.
22541
22542 * benchtests/Makefile (timing-type): New binary.
22543 (bench-clean): Also remove bench-timing-type.
22544 (bench): New target for timing-type.
22545 (bench-func): Print output in JSON format.
22546 * benchtests/bench-skeleton.c (main): Print output in JSON
22547 format.
22548 * benchtests/bench-timing-type.c: New file.
22549 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22550 (TIMING_PRINT_STATS): Remove.
22551 * benchtests/scripts/bench.py (_print_arg_data): Store variant
22552 name separately.
22553
22554 * benchtests/bench-modf.c: Remove.
22555 * benchtests/modf-inputs: New inputs file.
22556
22557 2014-03-28 Joseph Myers <joseph@codesourcery.com>
22558
22559 [BZ #16362]
22560 * math/s_clog10.c (M_PI_LOG10E): New macro.
22561 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22562 imaginary parts are 0.
22563 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22564 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22565 imaginary parts are 0.
22566 * math/s_clog10l.c (M_PI_LOG10El): New macro.
22567 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22568 imaginary parts are 0.
22569 * math/libm-test.inc (clog10_test_data): Update expected results
22570 for when real and imaginary parts are 0.
22571
22572 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
22573
22574 * elf/dl-load.c: Finish conversion of __builtin_expect into
22575 __glibc_{un}likely.
22576
22577 2014-03-27 Joseph Myers <joseph@codesourcery.com>
22578
22579 [BZ #16348]
22580 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22581 1+x for argument with exponent below -67.
22582 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22583 Likewise.
22584 * math/auto-libm-test-in: Add more tests of exp.
22585 * math/auto-libm-test-out: Regenerated.
22586
22587 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22588
22589 [BZ #16759]
22590 * inet/getnetgrent_r.c (get_nonempty_val): New function.
22591 (nscd_getnetgrent): Use it.
22592
22593 [BZ #16760]
22594 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22595 of stpcpy.
22596
22597 2014-03-27 Andi Kleen <ak@linux.intel.com>
22598
22599 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22600 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22601 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22602 (lll_robust_unlock): Remove out of line section. Use cfi
22603 intrinsics.
22604 (LLL_STUB_UNWIND_INFO*): Remove.
22605 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22606 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22607 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22608 (lll_robust_unlock): Remove out of line section. Use cfi
22609 intrinsics.
22610 (LLL_STUB_UNWIND_INFO*): Remove.
22611
22612 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22613
22614 [BZ #16758]
22615 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22616 blank values.
22617
22618 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
22619
22620 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22621
22622 2014-03-26 Joseph Myers <joseph@codesourcery.com>
22623
22624 [BZ #16198]
22625 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22626 fnstenv.
22627 * math/test-fenv-preserve.c: New file.
22628 * math/Makefile (tests): Add test-fenv-preserve.
22629
22630 2014-03-26 Will Newton <will.newton@linaro.org>
22631
22632 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22633
22634 2014-03-25 Roland McGrath <roland@hack.frob.com>
22635
22636 * scripts/versionlist.awk: Partition the version sets and emit all
22637 GLIBC_* (sorted) before all others (sorted).
22638
22639 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22640
22641 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22642 GLIBC_2.2.5 version.
22643
22644 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22645
22646 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22647 calls.
22648
22649 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22650 previous change.
22651
22652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22653
22654 2014-03-25 Andreas Schwab <schwab@suse.de>
22655
22656 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22657 label to be used after in6ailist is initialized.
22658
22659 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22660
22661 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22662 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22663
22664 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22665
22666 [BZ #16357]
22667 [BZ #16599]
22668 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22669 min_plus_half.
22670 (fp_formats): Update initializers.
22671 (init_fp_formats): Initialize new field.
22672 (output_for_one_input_case): Allow underflow for results up to
22673 min_plus_half.
22674 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22675 * math/auto-libm-test-in: Don't mark some underflows from asin and
22676 atanh as spurious.
22677 * math/auto-libm-test-out: Regenerated.
22678 * sysdeps/i386/fpu/libm-test-ulps: Update.
22679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22680
22681 2014-03-25 Andreas Schwab <schwab@suse.de>
22682
22683 * libio/Makefile (tst-ftell-partial-wide-ENV)
22684 (tst-ftell-active-handler-ENV): Define.
22685
22686 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
22687
22688 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22689
22690 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22691
22692 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22693
22694 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22695
22696 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22697 * sysdeps/x86_64/fpu/multiarch/e_exp.c
22698 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22699
22700 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22701
22702 [BZ #16634]
22703 * elf/dl-load.c (open_verify): Add mode parameter.
22704 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22705 (open_path): Change from boolean 'secure' to complete flag 'mode'
22706 (_dl_map_object): Adjust.
22707 * elf/Makefile (tests): Add tst-dlopen-aout.
22708 * elf/tst-dlopen-aout.c: New test.
22709
22710 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22711
22712 [BZ #16714]
22713 * sysdeps/unix/sysv/linux/s390/bits/stat.h
22714 (struct stat): Rename member pad0 to __glibc_reserved0.
22715
22716 [BZ #16712]
22717 * sysdeps/s390/s390-32/bits/wordsize.h
22718 (__WORDSIZE32_SIZE_ULONG): New define.
22719 * sysdeps/s390/s390-64/bits/wordsize.h
22720 (__WORDSIZE32_SIZE_ULONG): Likewise.
22721 * sysdeps/generic/stdint.h (SIZE_MAX):
22722 Define as UL if __WORDSIZE32_SIZE_ULONG.
22723
22724 [BZ #16713]
22725 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22726 (__glibc_reserved0): New variable.
22727 (sa_flags): Change type to int.
22728
22729 * posix/Makefile (before-compile): Use += before-compile instead
22730 of a :=.
22731
22732 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22733 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22734
22735 2014-03-20 Andreas Schwab <schwab@suse.de>
22736
22737 [BZ #16743]
22738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22739 non-matching result from nscd.
22740
22741 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22742
22743 * scripts/bench.py: Moved to ...
22744 * benchtests/scripts/bench.py: ... here.
22745 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22746
22747 2014-03-24 Andreas Schwab <schwab@suse.de>
22748
22749 [BZ #16002]
22750 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22751 alloca_account and account alloca use for struct in6ailist.
22752
22753 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22754
22755 [BZ #16284]
22756 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22757 rounding mode to recompute results that overflow to infinity or
22758 underflow to zero.
22759 * math/auto-libm-test-in: Don't mark tests as expected to fail for
22760 bug 16284.
22761 * math/auto-libm-test-out: Regenerated.
22762 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22763 (ccosh_test): Likewise.
22764 (csin_test_data): Use plus_oflow.
22765 (csin_test): Use ALL_RM_TEST.
22766 (csinh_test_data): Use plus_oflow.
22767 (csinh_test): Use ALL_RM_TEST.
22768 * sysdeps/i386/fpu/libm-test-ulps: Update.
22769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22770
22771 2014-03-21 Joseph Myers <joseph@codesourcery.com>
22772
22773 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22774 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22775 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22776
22777 [BZ #16731]
22778 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22779 when x - 1 is zero.
22780 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22781 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22782 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22783 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22784 argument is 1.
22785 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22786 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22787 zero.
22788 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22789 * sysdeps/i386/fpu/libm-test-ulps: Update.
22790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22791
22792 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22793
22794 * scripts/bench.pl: Remove file.
22795 * scripts/bench.py: New benchmark script.
22796 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22797 * benchtests/README: Mention python dependency.
22798 * scripts/pylintrc: New file.
22799 * scripts/pylint: New file.
22800
22801 * bits/mathdef.h: Use #ifdef instead of #if.
22802 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22803 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22804 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22805 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22806 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22807 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22808
22809 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22810 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22811
22812 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22814 and strpbrk-ppc64 objects.
22815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22816 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22817 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22818 multiarch strpbrk for POWER7.
22819 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22820 multiarch strpbrk for PPC64.
22821 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22822 ifunc selector.
22823 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22824 strpbrk for POWER7.
22825
22826 2014-03-20 Joseph Myers <joseph@codesourcery.com>
22827
22828 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22829 (atan_test): Likewise.
22830 (atanh_test_data): Use NO_TEST_INLINE for two tests.
22831 (atanh_test): Use ALL_RM_TEST.
22832 (atan2_test_data): Likewise.
22833 (cabs_test): Likewise.
22834 (cacosh_test): Likewise.
22835 (carg_test): Likewise.
22836 (casin_test): Likewise.
22837 (casinh_test): Likewise.
22838 (cbrt_test): Likewise.
22839 (csqrt_test): Likewise.
22840 (erf_test): Likewise.
22841 (erfc_test): Likewise.
22842 (pow10_test): Likewise.
22843 (exp2_test): Likewise.
22844 (hypot_test): Likewise.
22845 (j0_test): Likewise.
22846 (j1_test): Likewise.
22847 (lgamma_test): Likewise.
22848 (gamma_test): Likewise.
22849 (sincos_test): Likewise.
22850 (tanh_test): Likewise.
22851 (y0_test): Likewise.
22852 (y1_test): Likewise.
22853 * sysdeps/i386/fpu/libm-test-ulps: Update.
22854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22855
22856 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22857
22858 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22860 and strcspn-ppc64 objects.
22861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22862 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22863 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22864 multiarch strcspn for POWER7.
22865 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22866 multiarch strcspn for PPC64.
22867 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22868 ifunc selector.
22869 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22870 strcspn for POWER7.
22871
22872 2014-03-20 Joseph Myers <joseph@codesourcery.com>
22873
22874 * math/gen-libm-test.pl (generate_testfile): Expect only function
22875 name as argument to AUTO_TESTS_* and pass results for all rounding
22876 modes to parse_args.
22877 (parse_auto_input): Separate inputs of automatic tests from
22878 outputs before storing in %auto_tests.
22879 * math/libm-test.inc (acos_test_data): Update call to
22880 AUTO_TESTS_f_f.
22881 (acos_test): Use ALL_RM_TEST.
22882 (acos_tonearest_test_data): Remove.
22883 (acos_test_tonearest): Likewise.
22884 (acos_towardzero_test_data): Likewise.
22885 (acos_test_towardzero): Likewise.
22886 (acos_downward_test_data): Likewise.
22887 (acos_test_downward): Likewise.
22888 (acos_upward_test_data): Likewise.
22889 (acos_test_upward): Likewise.
22890 (acosh_test_data): Update call to AUTO_TESTS_f_f.
22891 (asin_test_data): Likewise.
22892 (asin_test): Use ALL_RM_TEST.
22893 (asin_tonearest_test_data): Remove.
22894 (asin_test_tonearest): Likewise.
22895 (asin_towardzero_test_data): Likewise.
22896 (asin_test_towardzero): Likewise.
22897 (asin_downward_test_data): Likewise.
22898 (asin_test_downward): Likewise.
22899 (asin_upward_test_data): Likewise.
22900 (asin_test_upward): Likewise.
22901 (asinh_test_data): Update call to AUTO_TESTS_f_f.
22902 (atan_test_data): Likewise.
22903 (atanh_test_data): Likewise.
22904 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22905 (cabs_test_data): Update call to AUTO_TESTS_c_f.
22906 (carg_test_data): Likewise.
22907 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22908 (ccos_test_data): Update call to AUTO_TESTS_c_c.
22909 (ccosh_test_data): Likewise.
22910 (cexp_test_data): Likewise.
22911 (clog_test_data): Likewise.
22912 (clog10_test_data): Likewise.
22913 (cos_test_data): Update call to AUTO_TESTS_f_f.
22914 (cos_test): Use ALL_RM_TEST.
22915 (cos_tonearest_test_data): Remove.
22916 (cos_test_tonearest): Likewise.
22917 (cos_towardzero_test_data): Likewise.
22918 (cos_test_towardzero): Likewise.
22919 (cos_downward_test_data): Likewise.
22920 (cos_test_downward): Likewise.
22921 (cos_upward_test_data): Likewise.
22922 (cos_test_upward): Likewise.
22923 (cosh_test_data): Update call to AUTO_TESTS_f_f.
22924 (cosh_test): Use ALL_RM_TEST.
22925 (cosh_tonearest_test_data): Remove.
22926 (cosh_test_tonearest): Likewise.
22927 (cosh_towardzero_test_data): Likewise.
22928 (cosh_test_towardzero): Likewise.
22929 (cosh_downward_test_data): Likewise.
22930 (cosh_test_downward): Likewise.
22931 (cosh_upward_test_data): Likewise.
22932 (cosh_test_upward): Likewise.
22933 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22934 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22935 (ctan_test_data): Likewise.
22936 (ctan_test): Use ALL_RM_TEST.
22937 (ctan_tonearest_test_data): Remove.
22938 (ctan_test_tonearest): Likewise.
22939 (ctan_towardzero_test_data): Likewise.
22940 (ctan_test_towardzero): Likewise.
22941 (ctan_downward_test_data): Likewise.
22942 (ctan_test_downward): Likewise.
22943 (ctan_upward_test_data): Likewise.
22944 (ctan_test_upward): Likewise.
22945 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22946 (ctanh_test): Use ALL_RM_TEST.
22947 (ctanh_tonearest_test_data): Remove.
22948 (ctanh_test_tonearest): Likewise.
22949 (ctanh_towardzero_test_data): Likewise.
22950 (ctanh_test_towardzero): Likewise.
22951 (ctanh_downward_test_data): Likewise.
22952 (ctanh_test_downward): Likewise.
22953 (ctanh_upward_test_data): Likewise.
22954 (ctanh_test_upward): Likewise.
22955 (erf_test_data): Update call to AUTO_TESTS_f_f.
22956 (erfc_test_data): Likewise.
22957 (exp_test_data): Likewise.
22958 (exp_test): Use ALL_RM_TEST.
22959 (exp_tonearest_test_data): Remove.
22960 (exp_test_tonearest): Likewise.
22961 (exp_towardzero_test_data): Likewise.
22962 (exp_test_towardzero): Likewise.
22963 (exp_downward_test_data): Likewise.
22964 (exp_test_downward): Likewise.
22965 (exp_upward_test_data): Likewise.
22966 (exp_test_upward): Likewise.
22967 (exp10_test_data): Update call to AUTO_TESTS_f_f.
22968 (exp10_test): Use ALL_RM_TEST.
22969 (exp10_tonearest_test_data): Remove.
22970 (exp10_test_tonearest): Likewise.
22971 (exp10_towardzero_test_data): Likewise.
22972 (exp10_test_towardzero): Likewise.
22973 (exp10_downward_test_data): Likewise.
22974 (exp10_test_downward): Likewise.
22975 (exp10_upward_test_data): Likewise.
22976 (exp10_test_upward): Likewise.
22977 (exp2_test_data): Update call to AUTO_TESTS_f_f.
22978 (expm1_test_data): Likewise.
22979 (expm1_test): Use ALL_RM_TEST.
22980 (expm1_tonearest_test_data): Remove.
22981 (expm1_test_tonearest): Likewise.
22982 (expm1_towardzero_test_data): Likewise.
22983 (expm1_test_towardzero): Likewise.
22984 (expm1_downward_test_data): Likewise.
22985 (expm1_test_downward): Likewise.
22986 (expm1_upward_test_data): Likewise.
22987 (expm1_test_upward): Likewise.
22988 (fma_test_data): Update call to AUTO_TESTS_fff_f.
22989 (fma_test): Use ALL_RM_TEST.
22990 (fma_towardzero_test_data): Remove.
22991 (fma_test_towardzero): Likewise.
22992 (fma_downward_test_data): Likewise.
22993 (fma_test_downward): Likewise.
22994 (fma_upward_test_data): Likewise.
22995 (fma_test_upward): Likewise.
22996 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22997 (j0_test_data): Update call to AUTO_TESTS_f_f.
22998 (j1_test_data): Likewise.
22999 (jn_test_data): Update call to AUTO_TESTS_if_f.
23000 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23001 (log_test_data): Update call to AUTO_TESTS_f_f.
23002 (log10_test_data): Likewise.
23003 (log1p_test_data): Likewise.
23004 (log2_test_data): Likewise.
23005 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23006 (pow_tonearest_test_data): Likewise.
23007 (sin_test_data): Update call to AUTO_TESTS_f_f.
23008 (sin_test): Use ALL_RM_TEST.
23009 (sin_tonearest_test_data): Remove.
23010 (sin_test_tonearest): Likewise.
23011 (sin_towardzero_test_data): Likewise.
23012 (sin_test_towardzero): Likewise.
23013 (sin_downward_test_data): Likewise.
23014 (sin_test_downward): Likewise.
23015 (sin_upward_test_data): Likewise.
23016 (sin_test_upward): Likewise.
23017 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23018 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23019 (sinh_test): Use ALL_RM_TEST.
23020 (sinh_tonearest_test_data): Remove.
23021 (sinh_test_tonearest): Likewise.
23022 (sinh_towardzero_test_data): Likewise.
23023 (sinh_test_towardzero): Likewise.
23024 (sinh_downward_test_data): Likewise.
23025 (sinh_test_downward): Likewise.
23026 (sinh_upward_test_data): Likewise.
23027 (sinh_test_upward): Likewise.
23028 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23029 (sqrt_test): Use ALL_RM_TEST.
23030 (sqrt_tonearest_test_data): Remove.
23031 (sqrt_test_tonearest): Likewise.
23032 (sqrt_towardzero_test_data): Likewise.
23033 (sqrt_test_towardzero): Likewise.
23034 (sqrt_downward_test_data): Likewise.
23035 (sqrt_test_downward): Likewise.
23036 (sqrt_upward_test_data): Likewise.
23037 (sqrt_test_upward): Likewise.
23038 (tan_test_data): Update call to AUTO_TESTS_f_f.
23039 (tan_test): Use ALL_RM_TEST.
23040 (tan_tonearest_test_data): Remove.
23041 (tan_test_tonearest): Likewise.
23042 (tan_towardzero_test_data): Likewise.
23043 (tan_test_towardzero): Likewise.
23044 (tan_downward_test_data): Likewise.
23045 (tan_test_downward): Likewise.
23046 (tan_upward_test_data): Likewise.
23047 (tan_test_upward): Likewise.
23048 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23049 (tgamma_test_data): Likewise.
23050 (y0_test_data): Likewise.
23051 (y1_test_data): Likewise.
23052 (yn_test_data): Update call to AUTO_TESTS_if_f.
23053 (main): Do not call removed functions.
23054
23055 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23056
23057 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23058 (ldexp_test_data): Remove.
23059 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23060 scalbn_test_data.
23061 (scalb_test): Use ALL_RM_TEST.
23062
23063 2014-03-19 Andreas Schwab <schwab@suse.de>
23064
23065 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23066
23067 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23068
23069 [BZ #16649]
23070 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23071 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23072 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23073 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23074 (__ASSUME_PREADV): Undefine.
23075 (__ASSUME_PWRITEV): Likewise.
23076
23077 2014-03-18 Roland McGrath <roland@hack.frob.com>
23078
23079 * bits/mman-linux.h: Add comment about non-Linux use.
23080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23081 bits/mman-linux.h resting place.
23082
23083 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23084 * bits/mman-linux.h: ... here.
23085
23086 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23087
23088 * conform/conformtest.pl: Add standard definition when calling C
23089 preprocessor on data files.
23090 (checknamespace): Remove unused variable.
23091
23092 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23093
23094 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23095 minus_oflow, plus_uflow and minus_uflow in expected results.
23096 * math/libm-test.inc (scalbn_test_data): Add more tests of
23097 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23098 minus_uflow.
23099 (scalbn_test): Use ALL_RM_TEST.
23100 (scalbln_test_data): Add more tests of negative arguments. Use
23101 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23102 (scalbln_test): Use ALL_RM_TEST.
23103
23104 2014-03-18 Roland McGrath <roland@hack.frob.com>
23105
23106 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23107
23108 2014-03-18 Will Newton <will.newton@linaro.org>
23109
23110 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23111 inaccurate comment.
23112
23113 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23114
23115 * Makerules [!subdir] (check-abi): Exit with error status if a
23116 test failed.
23117
23118 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23119
23120 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23121 for rint. Include results for all rounding modes.
23122 (nearbyint_test): Use ALL_RM_TEST.
23123 (rint_test_data): Include all tests used for nearbyint.
23124
23125 2014-03-17 Will Newton <will.newton@linaro.org>
23126
23127 * nptl/sysdeps/pthread/pthread.h: Revert previous
23128 change.
23129
23130 * sysdeps/generic/ldsodefs.h: Revert previous
23131 change.
23132
23133 * libio/genops.c: Revert previous change.
23134 * libio/libioP.h: Likewise.
23135 * stdio-common/vfprintf.c: Likewise.
23136
23137 * sysdeps/generic/math_private.h: Revert previous
23138 change.
23139
23140 * sysdeps/generic/math_private.h: Check whether
23141 HAVE_RM_CTX is defined with #ifdef rather
23142 than #if.
23143
23144 * argp/argp-fmtstream.h: Check whether
23145 __STRICT_ANSI__ is defined with #ifdef rather
23146 than #if.
23147 * argp/argp.h: Likewise.
23148
23149 * libio/genops.c: Check whether
23150 _IO_JUMPS_OFFSET is defined with #ifdef rather
23151 than #if.
23152 * libio/libioP.h: Likewise.
23153 * stdio-common/vfprintf.c: Likewise.
23154
23155 * sysdeps/generic/ldsodefs.h: Check whether
23156 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23157 than #if.
23158
23159 * nptl/sysdeps/pthread/pthread.h: Check
23160 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23161 its value.
23162
23163 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23164
23165 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23166 setting O_APPEND.
23167 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23168 test case.
23169
23170 [BZ #16680]
23171 * libio/fileops.c (_IO_file_open): Seek to end of file but
23172 don't cache the offset.
23173 (get_file_offset): Remove function.
23174 (do_ftell): Use cached offset when available.
23175 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23176 don't cache the offset.
23177 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23178 case.
23179 (do_one_test): Call it.
23180 (do_ftell_test): Fix up expected old offset for a+ mode.
23181 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23182 available.
23183
23184 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23185 up test status with function return status.
23186 (do_write_test): Likewise.
23187 (do_append_test): Likewise.
23188
23189 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23190 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23191 Remove.
23192
23193 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23194
23195 * math/gen-libm-test.pl (parse_args): Handle results specified for
23196 each rounding mode separately.
23197 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23198 tests and results from lrint_tonearest_test_data,
23199 lrint_towardzero_test_data, lrint_downward_test_data and
23200 lrint_upward_test_data.
23201 (lrint_test): Use ALL_RM_TEST.
23202 (lrint_tonearest_test_data): Remove.
23203 (lrint_test_tonearest): Likewise.
23204 (lrint_towardzero_test_data): Likewise.
23205 (lrint_test_towardzero): Likewise.
23206 (lrint_downward_test_data): Likewise.
23207 (lrint_test_downward): Likewise.
23208 (lrint_upward_test_data): Likewise.
23209 (lrint_test_upward): Likewise.
23210 (llrint_test_data): Merge in per-rounding-mode tests and results
23211 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23212 llrint_downward_test_data and llrint_upward_test_data.
23213 (llrint_test): Use ALL_RM_TEST.
23214 (llrint_tonearest_test_data): Remove.
23215 (llrint_test_tonearest): Likewise.
23216 (llrint_towardzero_test_data): Likewise.
23217 (llrint_test_towardzero): Likewise.
23218 (llrint_downward_test_data): Likewise.
23219 (llrint_test_downward): Likewise.
23220 (llrint_upward_test_data): Likewise.
23221 (llrint_test_upward): Likewise.
23222 (rint_test_data): Merge in per-rounding-mode tests and results
23223 from rint_tonearest_test_data, rint_towardzero_test_data,
23224 rint_downward_test_data and rint_upward_test_data. Add
23225 per-rounding-mode results for tests not in those arrays.
23226 (rint_test): Use ALL_RM_TEST.
23227 (rint_tonearest_test_data): Remove.
23228 (rint_test_tonearest): Likewise.
23229 (rint_towardzero_test_data): Likewise.
23230 (rint_test_towardzero): Likewise.
23231 (rint_downward_test_data): Likewise.
23232 (rint_test_downward): Likewise.
23233 (rint_upward_test_data): Likewise.
23234 (rint_test_upward): Likewise.
23235 (main): Don't call removed functions.
23236
23237 2014-03-14 Roland McGrath <roland@hack.frob.com>
23238
23239 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23240 "Compiled on ..." crapola. It is anti-useful.
23241
23242 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23243
23244 * scripts/evaluate-test.sh: Handle fourth argument to determine
23245 whether test run should stop on failure.
23246 * Makeconfig (stop-on-test-failure): New variable.
23247 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23248 $(stop-on-test-failure).
23249 * Makefile (tests): Give a summary of results from testing and
23250 exit with failure status if they include an ERROR or FAIL.
23251 (xtests): Likewise.
23252 * manual/install.texi (Configuring and compiling): Mention
23253 stop-on-test-failure=y.
23254 * INSTALL: Regenerated.
23255
23256 2014-03-14 Roland McGrath <roland@hack.frob.com>
23257
23258 * scripts/versionlist.awk: New file.
23259 * Makerules [$(build-shared) = yes]
23260 (postclean-generated): Add Versions.def, not Versions.def.v and
23261 Versions.def.v.i.
23262 ($(common-objpfx)Versions.def.v.i): Target removed.
23263 ($(common-objpfx)Versions.def): New target.
23264 ($(common-objpfx)Versions.all): Depend on that rather that
23265 $(common-objpfx)Versions.def.v.
23266 * Versions.def: File removed.
23267
23268 * Makeconfig (+gccwarn): Add -Wundef.
23269 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23270 a dl-sysdep.h breaking its contract.
23271 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23272 * include/stackinfo.h: New file.
23273 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23274 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23275 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23276 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23277 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23278 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23279 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23280 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23281 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23282 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23283 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23284 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23285 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23286 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23287 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23288
23289 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23290
23291 [BZ #16707]
23292 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23293 implementation.
23294 * math/libm-test.inc (round_test_data): Add more tests.
23295
23296 [BZ #16706]
23297 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23298 implementation.
23299 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23300
23301 [BZ #16701]
23302 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23303 implementation.
23304 * math/libm-test.inc (ceil_test_data): Add more tests.
23305
23306 * math/libm-test.inc (trunc_test_data): Add more tests related to
23307 BZ#16414.
23308
23309 2014-03-14 Roland McGrath <roland@hack.frob.com>
23310
23311 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23312 with #if rather than #ifdef.
23313 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23314
23315 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23316
23317 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23318 first. Disable AVX-512 GCC support if assembler doesn't support
23319 it.
23320 * sysdeps/x86_64/configure: Regenerated.
23321
23322 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23323
23324 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23325 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23326 (__old_pthread_attr_setstack): Likewise.
23327 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23328 [!_STACK_GROWS_DOWN]: Likewise.
23329
23330 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23331
23332 * config.make.in (have-bash2): Delete.
23333 * configure.ac (libc_cv_have_bash2): Delete.
23334 * configure: Regenerate.
23335 * elf/Makefile (common-ldd-rewrite): Rename to ...
23336 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23337 (sh-ldd-rewrite): Delete.
23338 (bash-ldd-rewrite): Delete.
23339 (have-bash2): Delete checks.
23340 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23341 ldd-rewrite.
23342
23343 * config.make.in (have-ksh): Delete.
23344 (KSH): Delete.
23345 * configure.ac (libc_cv_have_ksh): Delete.
23346 * configure: Regenerate.
23347
23348 * elf/Makefile: Delete $(have-ksh) check.
23349 ($(objpfx)sotruss): Change KSH to BASH.
23350 * elf/sotruss.ksh: Rename to ...
23351 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23352 function style to match POSIX. Drop ksh vim mode setting.
23353
23354 * manual/time.texi (Specifying the Time Zone with TZ): Change
23355 Tuesday to Thursday.
23356
23357 * debug/tst-longjmp_chk2.c: Update header comment.
23358 (stackoverflow_handler): Add comment. Call assert on pass value.
23359
23360 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23361
23362 [BZ #16194]
23363 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23364 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23365 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23366 (La_x86_64_vector): Add zmm.
23367 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23368 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23369 ($(objpfx)tst-audit10): New target.
23370 ($(objpfx)tst-audit10.out): Likewise.
23371 (tst-audit10-ENV): New.
23372 (AVX512-CFLAGS): Likewise.
23373 (CFLAGS-tst-audit10.c): Likewise.
23374 (CFLAGS-tst-auditmod10a.c): Likewise.
23375 (CFLAGS-tst-auditmod10b.c): Likewise.
23376 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23377 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23378 * sysdeps/x86_64/configure: Regenerated.
23379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23380 AVX-512 zmm register support.
23381 (_dl_x86_64_save_sse): Likewise.
23382 (_dl_x86_64_restore_sse): Likewise.
23383 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23384 size vector registers.
23385 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23386 (ZMM_SIZE): Likewise.
23387 * sysdeps/x86_64/tst-audit10.c: New file.
23388 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23389 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23390
23391 2014-03-13 Roland McGrath <roland@hack.frob.com>
23392
23393 * configure.ac (HAVE_EHDR_START): New check.
23394 * configure: Regenerated.
23395 * config.h.in (HAVE_EHDR_START): New #undef.
23396 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23397 assuming the lowest-addressed segment maps the start of the file.
23398
23399 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23400
23401 * INSTALL: Regenerated.
23402
23403 2014-03-13 Will Newton <will.newton@linaro.org>
23404
23405 * manual/setjmp.texi (System V contexts): Improve
23406 clarity and grammar of documentation.
23407
23408 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23409
23410 [BZ #16381]
23411 * elf/Makefile (tests): Add tst-pie2.
23412 (tests-pie): Add tst-pie2.
23413 * elf/tst-pie2.c: New file.
23414 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23415 for ET_EXEC.
23416 * elf/rtld.c (map_doit): Load executable as lt_executable.
23417 (dl_main): Likewise.
23418
23419 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23420
23421 [BZ #16642]
23422 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23423 (__ASSUME_PSELECT): Undefine.
23424
23425 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23426
23427 [BZ #16689]
23428 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23429 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23430 static build.
23431 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23432 selector for static builds.
23433
23434 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23435
23436 [BZ #16695]
23437 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23438 key in the buffer.
23439
23440 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23441
23442 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23443 IFUNC selector for static builds.
23444
23445 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23446
23447 * sysdeps/mips/math_private.h [__mips_hard_float]
23448 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23449 libc_feresetround_mips_ctx.
23450 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23451 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23452 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23453
23454 [BZ #16677]
23455 * math/s_nextafter.c (__nextafter): Do not return value from
23456 overflowing computation.
23457 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23458 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23459 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23460 Likewise.
23461 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23462 Likewise.
23463 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23464 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23465
23466 2014-03-11 Roland McGrath <roland@hack.frob.com>
23467
23468 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23469 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23470 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23471 the new mov targetting sp.
23472
23473 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23474
23475 [BZ #16683]
23476 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23477 Define it for static builds as well.
23478 (NO_BZERO_IMPL): Likewise.
23479
23480 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23481
23482 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23483 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23484 multiarch strspn for PPC64.
23485 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23486 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23487 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23488 (__libc_ifunc_impl_list): Likewise.
23489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23490 multiarch optimizations
23491 * string/strspn.c (strspn): Using macro to redefine symbol name.
23492
23493 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23494 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23495
23496 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23497 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23498 multiarch strncat for PPC64.
23499 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23500 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23502 (__libc_ifunc_impl_list): Likewise.
23503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23504 multiarch optimizations
23505
23506 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23507
23508 [BZ #16639]
23509 * nscd/nscd.service: Make service type forking.
23510
23511 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23512
23513 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23514 sign in non default rounding modes.
23515 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23516
23517 2014-03-08 Joseph Myers <joseph@codesourcery.com>
23518
23519 * math/libm-test.inc (ALL_RM_TEST): New macro.
23520 (ceil_test): Use ALL_RM_TEST.
23521 (cimag_test): Likewise.
23522 (conj_test): Likewise.
23523 (copysign_test): Likewise.
23524 (cproj_test): Likewise.
23525 (creal_test): Likewise.
23526 (fabs_test): Likewise.
23527 (floor_test): Likewise.
23528 (fmax_test): Likewise.
23529 (fmin_test): Likewise.
23530 (fmod_test): Likewise.
23531 (fpclassify_test): Likewise.
23532 (frexp_test): Likewise.
23533 (ilogb_test): Likewise.
23534 (isfinite_test): Likewise.
23535 (finite_test): Likewise.
23536 (isgreater_test): Likewise.
23537 (isgreaterequal_test): Likewise.
23538 (isinf_test): Likewise.
23539 (isless_test): Likewise.
23540 (islessequal_test): Likewise.
23541 (islessgreater_test): Likewise.
23542 (isnan_test): Likewise.
23543 (isnormal_test): Likewise.
23544 (issignaling_test): Likewise.
23545 (isunordered_test): Likewise.
23546 (logb_test): Likewise.
23547 (logb_downward_test_data): Remove.
23548 (logb_test_downward): Likewise.
23549 (lround_test): Use ALL_RM_TEST.
23550 (llround_test): Likewise.
23551 (modf_test): Likewise.
23552 (nexttoward_test): Likewise.
23553 (remainder_test): Likewise.
23554 (drem_test): Likewise.
23555 (remainder_tonearest_test_data): Likewise.
23556 (remainder_test_tonearest): Likewise.
23557 (drem_test_tonearest): Likewise.
23558 (remainder_towardzero_test_data): Likewise.
23559 (remainder_test_towardzero): Likewise.
23560 (drem_test_towardzero): Likewise.
23561 (remainder_downward_test_data): Likewise.
23562 (remainder_test_downward): Likewise.
23563 (drem_test_downward): Likewise.
23564 (remainder_upward_test_data): Likewise.
23565 (remainder_test_upward): Likewise.
23566 (drem_test_upward): Likewise.
23567 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
23568 (round_test): Use ALL_RM_TEST.
23569 (signbit_test): Likewise.
23570 (trunc_test): Likewise.
23571 (significand_test): Likewise.
23572 (main): Don't call removed functions.
23573
23574 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23575
23576 [BZ #16674]
23577 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23578 || __USE_XOPEN2K8].
23579 (ILL_ILLOPN): Likewise.
23580 (ILL_ILLADR): Likewise.
23581 (ILL_ILLTRP): Likewise.
23582 (ILL_PRVOPC): Likewise.
23583 (ILL_PRVREG): Likewise.
23584 (ILL_COPROC): Likewise.
23585 (ILL_BADSTK): Likewise.
23586 (FPE_INTDIV): Likewise.
23587 (FPE_INTOVF): Likewise.
23588 (FPE_FLTDIV): Likewise.
23589 (FPE_FLTOVF): Likewise.
23590 (FPE_FLTUND): Likewise.
23591 (FPE_FLTRES): Likewise.
23592 (FPE_FLTINV): Likewise.
23593 (FPE_FLTSUB): Likewise.
23594 (SEGV_MAPERR): Likewise.
23595 (SEGV_ACCERR): Likewise.
23596 (BUS_ADRALN): Likewise.
23597 (BUS_ADRERR): Likewise.
23598 (BUS_OBJERR): Likewise.
23599 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23600 (TRAP_TRACE): Likewise.
23601 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23602 __USE_XOPEN2K8].
23603 (CLD_KILLED): Likewise.
23604 (CLD_DUMPED): Likewise.
23605 (CLD_TRAPPED): Likewise.
23606 (CLD_STOPPED): Likewise.
23607 (CLD_CONTINUED): Likewise.
23608 (POLL_IN): Likewise.
23609 (POLL_OUT): Likewise.
23610 (POLL_MSG): Likewise.
23611 (POLL_ERR): Likewise.
23612 (POLL_PRI): Likewise.
23613 (POLL_HUP): Likewise.
23614 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23615 Likewise.
23616 (ILL_ILLOPN): Likewise.
23617 (ILL_ILLADR): Likewise.
23618 (ILL_ILLTRP): Likewise.
23619 (ILL_PRVOPC): Likewise.
23620 (ILL_PRVREG): Likewise.
23621 (ILL_COPROC): Likewise.
23622 (ILL_BADSTK): Likewise.
23623 (FPE_INTDIV): Likewise.
23624 (FPE_INTOVF): Likewise.
23625 (FPE_FLTDIV): Likewise.
23626 (FPE_FLTOVF): Likewise.
23627 (FPE_FLTUND): Likewise.
23628 (FPE_FLTRES): Likewise.
23629 (FPE_FLTINV): Likewise.
23630 (FPE_FLTSUB): Likewise.
23631 (SEGV_MAPERR): Likewise.
23632 (SEGV_ACCERR): Likewise.
23633 (BUS_ADRALN): Likewise.
23634 (BUS_ADRERR): Likewise.
23635 (BUS_OBJERR): Likewise.
23636 (BUS_MCEERR_AR): Likewise.
23637 (BUS_MCEERR_AO): Likewise.
23638 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23639 (TRAP_TRACE): Likewise.
23640 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23641 __USE_XOPEN2K8].
23642 (CLD_KILLED): Likewise.
23643 (CLD_DUMPED): Likewise.
23644 (CLD_TRAPPED): Likewise.
23645 (CLD_STOPPED): Likewise.
23646 (CLD_CONTINUED): Likewise.
23647 (POLL_IN): Likewise.
23648 (POLL_OUT): Likewise.
23649 (POLL_MSG): Likewise.
23650 (POLL_ERR): Likewise.
23651 (POLL_PRI): Likewise.
23652 (POLL_HUP): Likewise.
23653 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23654 (ILL_ILLOPN): Likewise.
23655 (ILL_ILLADR): Likewise.
23656 (ILL_ILLTRP): Likewise.
23657 (ILL_PRVOPC): Likewise.
23658 (ILL_PRVREG): Likewise.
23659 (ILL_COPROC): Likewise.
23660 (ILL_BADSTK): Likewise.
23661 (FPE_INTDIV): Likewise.
23662 (FPE_INTOVF): Likewise.
23663 (FPE_FLTDIV): Likewise.
23664 (FPE_FLTOVF): Likewise.
23665 (FPE_FLTUND): Likewise.
23666 (FPE_FLTRES): Likewise.
23667 (FPE_FLTINV): Likewise.
23668 (FPE_FLTSUB): Likewise.
23669 (SEGV_MAPERR): Likewise.
23670 (SEGV_ACCERR): Likewise.
23671 (BUS_ADRALN): Likewise.
23672 (BUS_ADRERR): Likewise.
23673 (BUS_OBJERR): Likewise.
23674 (BUS_MCEERR_AR): Likewise.
23675 (BUS_MCEERR_AO): Likewise.
23676 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23677 (TRAP_TRACE): Likewise.
23678 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23679 __USE_XOPEN2K8].
23680 (CLD_KILLED): Likewise.
23681 (CLD_DUMPED): Likewise.
23682 (CLD_TRAPPED): Likewise.
23683 (CLD_STOPPED): Likewise.
23684 (CLD_CONTINUED): Likewise.
23685 (POLL_IN): Likewise.
23686 (POLL_OUT): Likewise.
23687 (POLL_MSG): Likewise.
23688 (POLL_ERR): Likewise.
23689 (POLL_PRI): Likewise.
23690 (POLL_HUP): Likewise.
23691 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23692 Likewise.
23693 (ILL_ILLOPN): Likewise.
23694 (ILL_ILLADR): Likewise.
23695 (ILL_ILLTRP): Likewise.
23696 (ILL_PRVOPC): Likewise.
23697 (ILL_PRVREG): Likewise.
23698 (ILL_COPROC): Likewise.
23699 (ILL_BADSTK): Likewise.
23700 (ILL_BADIADDR): Likewise.
23701 (ILL_BREAK): Likewise.
23702 (FPE_INTDIV): Likewise.
23703 (FPE_INTOVF): Likewise.
23704 (FPE_FLTDIV): Likewise.
23705 (FPE_FLTOVF): Likewise.
23706 (FPE_FLTUND): Likewise.
23707 (FPE_FLTRES): Likewise.
23708 (FPE_FLTINV): Likewise.
23709 (FPE_FLTSUB): Likewise.
23710 (FPE_DECOVF): Likewise.
23711 (FPE_DECDIV): Likewise.
23712 (FPE_DECERR): Likewise.
23713 (FPE_INVASC): Likewise.
23714 (FPE_INVDEC): Likewise.
23715 (SEGV_MAPERR): Likewise.
23716 (SEGV_ACCERR): Likewise.
23717 (SEGV_PSTKOVF): Likewise.
23718 (BUS_ADRALN): Likewise.
23719 (BUS_ADRERR): Likewise.
23720 (BUS_OBJERR): Likewise.
23721 (BUS_MCEERR_AR): Likewise.
23722 (BUS_MCEERR_AO): Likewise.
23723 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23724 (TRAP_TRACE): Likewise.
23725 (TRAP_BRANCH): Likewise.
23726 (TRAP_HWBKPT): Likewise.
23727 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23728 __USE_XOPEN2K8].
23729 (CLD_KILLED): Likewise.
23730 (CLD_DUMPED): Likewise.
23731 (CLD_TRAPPED): Likewise.
23732 (CLD_STOPPED): Likewise.
23733 (CLD_CONTINUED): Likewise.
23734 (POLL_IN): Likewise.
23735 (POLL_OUT): Likewise.
23736 (POLL_MSG): Likewise.
23737 (POLL_ERR): Likewise.
23738 (POLL_PRI): Likewise.
23739 (POLL_HUP): Likewise.
23740 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23741 (ILL_ILLOPN): Likewise.
23742 (ILL_ILLADR): Likewise.
23743 (ILL_ILLTRP): Likewise.
23744 (ILL_PRVOPC): Likewise.
23745 (ILL_PRVREG): Likewise.
23746 (ILL_COPROC): Likewise.
23747 (ILL_BADSTK): Likewise.
23748 (FPE_INTDIV): Likewise.
23749 (FPE_INTOVF): Likewise.
23750 (FPE_FLTDIV): Likewise.
23751 (FPE_FLTOVF): Likewise.
23752 (FPE_FLTUND): Likewise.
23753 (FPE_FLTRES): Likewise.
23754 (FPE_FLTINV): Likewise.
23755 (FPE_FLTSUB): Likewise.
23756 (SEGV_MAPERR): Likewise.
23757 (SEGV_ACCERR): Likewise.
23758 (BUS_ADRALN): Likewise.
23759 (BUS_ADRERR): Likewise.
23760 (BUS_OBJERR): Likewise.
23761 (BUS_MCEERR_AR): Likewise.
23762 (BUS_MCEERR_AO): Likewise.
23763 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23764 (TRAP_TRACE): Likewise.
23765 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23766 __USE_XOPEN2K8].
23767 (CLD_KILLED): Likewise.
23768 (CLD_DUMPED): Likewise.
23769 (CLD_TRAPPED): Likewise.
23770 (CLD_STOPPED): Likewise.
23771 (CLD_CONTINUED): Likewise.
23772 (POLL_IN): Likewise.
23773 (POLL_OUT): Likewise.
23774 (POLL_MSG): Likewise.
23775 (POLL_ERR): Likewise.
23776 (POLL_PRI): Likewise.
23777 (POLL_HUP): Likewise.
23778 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23779 (ILL_ILLOPN): Likewise.
23780 (ILL_ILLADR): Likewise.
23781 (ILL_ILLTRP): Likewise.
23782 (ILL_PRVOPC): Likewise.
23783 (ILL_PRVREG): Likewise.
23784 (ILL_COPROC): Likewise.
23785 (ILL_BADSTK): Likewise.
23786 (FPE_INTDIV): Likewise.
23787 (FPE_INTOVF): Likewise.
23788 (FPE_FLTDIV): Likewise.
23789 (FPE_FLTOVF): Likewise.
23790 (FPE_FLTUND): Likewise.
23791 (FPE_FLTRES): Likewise.
23792 (FPE_FLTINV): Likewise.
23793 (FPE_FLTSUB): Likewise.
23794 (SEGV_MAPERR): Likewise.
23795 (SEGV_ACCERR): Likewise.
23796 (BUS_ADRALN): Likewise.
23797 (BUS_ADRERR): Likewise.
23798 (BUS_OBJERR): Likewise.
23799 (BUS_MCEERR_AR): Likewise.
23800 (BUS_MCEERR_AO): Likewise.
23801 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23802 (TRAP_TRACE): Likewise.
23803 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23804 __USE_XOPEN2K8].
23805 (CLD_KILLED): Likewise.
23806 (CLD_DUMPED): Likewise.
23807 (CLD_TRAPPED): Likewise.
23808 (CLD_STOPPED): Likewise.
23809 (CLD_CONTINUED): Likewise.
23810 (POLL_IN): Likewise.
23811 (POLL_OUT): Likewise.
23812 (POLL_MSG): Likewise.
23813 (POLL_ERR): Likewise.
23814 (POLL_PRI): Likewise.
23815 (POLL_HUP): Likewise.
23816 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23817 (ILL_ILLOPN): Likewise.
23818 (ILL_ILLADR): Likewise.
23819 (ILL_ILLTRP): Likewise.
23820 (ILL_PRVOPC): Likewise.
23821 (ILL_PRVREG): Likewise.
23822 (ILL_COPROC): Likewise.
23823 (ILL_BADSTK): Likewise.
23824 (FPE_INTDIV): Likewise.
23825 (FPE_INTOVF): Likewise.
23826 (FPE_FLTDIV): Likewise.
23827 (FPE_FLTOVF): Likewise.
23828 (FPE_FLTUND): Likewise.
23829 (FPE_FLTRES): Likewise.
23830 (FPE_FLTINV): Likewise.
23831 (FPE_FLTSUB): Likewise.
23832 (SEGV_MAPERR): Likewise.
23833 (SEGV_ACCERR): Likewise.
23834 (BUS_ADRALN): Likewise.
23835 (BUS_ADRERR): Likewise.
23836 (BUS_OBJERR): Likewise.
23837 (BUS_MCEERR_AR): Likewise.
23838 (BUS_MCEERR_AO): Likewise.
23839 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23840 (TRAP_TRACE): Likewise.
23841 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23842 __USE_XOPEN2K8].
23843 (CLD_KILLED): Likewise.
23844 (CLD_DUMPED): Likewise.
23845 (CLD_TRAPPED): Likewise.
23846 (CLD_STOPPED): Likewise.
23847 (CLD_CONTINUED): Likewise.
23848 (POLL_IN): Likewise.
23849 (POLL_OUT): Likewise.
23850 (POLL_MSG): Likewise.
23851 (POLL_ERR): Likewise.
23852 (POLL_PRI): Likewise.
23853 (POLL_HUP): Likewise.
23854 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23855 (ILL_ILLOPN): Likewise.
23856 (ILL_ILLADR): Likewise.
23857 (ILL_ILLTRP): Likewise.
23858 (ILL_PRVOPC): Likewise.
23859 (ILL_PRVREG): Likewise.
23860 (ILL_COPROC): Likewise.
23861 (ILL_BADSTK): Likewise.
23862 (ILL_DBLFLT): Likewise.
23863 (ILL_HARDWALL): Likewise.
23864 (FPE_INTDIV): Likewise.
23865 (FPE_INTOVF): Likewise.
23866 (FPE_FLTDIV): Likewise.
23867 (FPE_FLTOVF): Likewise.
23868 (FPE_FLTUND): Likewise.
23869 (FPE_FLTRES): Likewise.
23870 (FPE_FLTINV): Likewise.
23871 (FPE_FLTSUB): Likewise.
23872 (SEGV_MAPERR): Likewise.
23873 (SEGV_ACCERR): Likewise.
23874 (BUS_ADRALN): Likewise.
23875 (BUS_ADRERR): Likewise.
23876 (BUS_OBJERR): Likewise.
23877 (BUS_MCEERR_AR): Likewise.
23878 (BUS_MCEERR_AO): Likewise.
23879 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23880 (TRAP_TRACE): Likewise.
23881 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23882 __USE_XOPEN2K8].
23883 (CLD_KILLED): Likewise.
23884 (CLD_DUMPED): Likewise.
23885 (CLD_TRAPPED): Likewise.
23886 (CLD_STOPPED): Likewise.
23887 (CLD_CONTINUED): Likewise.
23888 (POLL_IN): Likewise.
23889 (POLL_OUT): Likewise.
23890 (POLL_MSG): Likewise.
23891 (POLL_ERR): Likewise.
23892 (POLL_PRI): Likewise.
23893 (POLL_HUP): Likewise.
23894 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23895 (ILL_ILLOPN): Likewise.
23896 (ILL_ILLADR): Likewise.
23897 (ILL_ILLTRP): Likewise.
23898 (ILL_PRVOPC): Likewise.
23899 (ILL_PRVREG): Likewise.
23900 (ILL_COPROC): Likewise.
23901 (ILL_BADSTK): Likewise.
23902 (FPE_INTDIV): Likewise.
23903 (FPE_INTOVF): Likewise.
23904 (FPE_FLTDIV): Likewise.
23905 (FPE_FLTOVF): Likewise.
23906 (FPE_FLTUND): Likewise.
23907 (FPE_FLTRES): Likewise.
23908 (FPE_FLTINV): Likewise.
23909 (FPE_FLTSUB): Likewise.
23910 (SEGV_MAPERR): Likewise.
23911 (SEGV_ACCERR): Likewise.
23912 (BUS_ADRALN): Likewise.
23913 (BUS_ADRERR): Likewise.
23914 (BUS_OBJERR): Likewise.
23915 (BUS_MCEERR_AR): Likewise.
23916 (BUS_MCEERR_AO): Likewise.
23917 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23918 (TRAP_TRACE): Likewise.
23919 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23920 __USE_XOPEN2K8].
23921 (CLD_KILLED): Likewise.
23922 (CLD_DUMPED): Likewise.
23923 (CLD_TRAPPED): Likewise.
23924 (CLD_STOPPED): Likewise.
23925 (CLD_CONTINUED): Likewise.
23926 (POLL_IN): Likewise.
23927 (POLL_OUT): Likewise.
23928 (POLL_MSG): Likewise.
23929 (POLL_ERR): Likewise.
23930 (POLL_PRI): Likewise.
23931 (POLL_HUP): Likewise.
23932 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23933 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23934
23935 [BZ #16670]
23936 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23937 before #include of <time.h>.
23938 [!__USE_XOPEN2K] (__need_timespec): Likewise.
23939 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23940 (test-xfail-UNIX98/sched.h/conform): Likewise.
23941
23942 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
23943
23944 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23945 error absence of trapping exception support.
23946 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23947
23948 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23949
23950 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23951 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23952 * timezone/Makefile (testdata): Move definition above include of
23953 Rules.
23954 (test-zones): New variable.
23955 (tests-special): Add zone files.
23956 (build-testdata): Use $(evaluate-test).
23957
23958 * elf/Makefile (tests-special): Rename tests to end with .out.
23959 ($(objpfx)noload-mem): Likewise.
23960 ($(objpfx)tst-leaks1-mem): Likewise.
23961 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23962 * iconv/Makefile (xtests-special): Change test-iconvconfig to
23963 $(objpfx)test-iconvconfig.out.
23964 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
23965 set -e inside subshell and redirect output to file.
23966 * iconvdata/Makefile (generated): Rename tests to end with .out.
23967 Correct type.
23968 (tests-special): Rename tests to end with .out.
23969 ($(objpfx)mtrace-tst-loading): Likewise.
23970 * intl/Makefile (generated): Likewise.
23971 (tests-special): Likewise.
23972 ($(objpfx)mtrace-tst-gettext): Likewise.
23973 * misc/Makefile (generated): Likewise.
23974 (tests-special): Likewise.
23975 ($(objpfx)tst-error1-mem): Likewise.
23976 * nptl/Makefile (tests-special): Likewise.
23977 ($(objpfx)tst-stack3-mem): Likewise.
23978 (generated): Likewise.
23979 * posix/Makefile (generated): Likewise.
23980 (tests-special): Likewise.
23981 (xtests-special): Likewise.
23982 ($(objpfx)tst-fnmatch-mem): Likewise.
23983 ($(objpfx)bug-regex2-mem): Likewise.
23984 ($(objpfx)bug-regex14-mem): Likewise.
23985 ($(objpfx)bug-regex21-mem): Likewise.
23986 ($(objpfx)bug-regex31-mem): Likewise.
23987 ($(objpfx)tst-vfork3-mem): Likewise.
23988 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23989 ($(objpfx)tst-pcre-mem): Likewise.
23990 ($(objpfx)tst-boost-mem): Likewise.
23991 ($(objpfx)bug-ga2-mem): Likewise.
23992 ($(objpfx)bug-glob2-mem): Likewise.
23993 * resolv/Makefile (generate): Likewise.
23994 (tests-special): Likewise.
23995 (xtests-special): Likewise.
23996 (generated): Likewise.
23997 ($(objpfx)mtrace-tst-leaks): Likewise.
23998 ($(objpfx)mtrace-tst-leaks2): Likewise.
23999
24000 * scripts/merge-test-results.sh: New file.
24001 * Makefile (tests-special-notdir): New variable.
24002 (tests): Run merge-test-results.sh.
24003 (xtests): Likewise.
24004 * Rules (tests-special-notdir): New variable.
24005 (xtests-special-notdir): Likewise.
24006 (tests): Run merge-test-results.sh
24007 (xtests): Likewise.
24008
24009 * Makeconfig (test-xfail-name): New variable.
24010 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24011 compute variable name for expected failures.
24012 * conform/Makefile (conformtest-headers-data): New variable.
24013 (conformtest-standards): Likewise.
24014 (conformtest-headers-ISO): Likewise.
24015 (conformtest-headers-ISO99): Likewise.
24016 (conformtest-headers-ISO11): Likewise.
24017 (conformtest-headers-POSIX): Likewise.
24018 (conformtest-headers-XPG3): Likewise.
24019 (conformtest-headers-XPG4): Likewise.
24020 (conformtest-headers-UNIX98): Likewise.
24021 (conformtest-headers-XOPEN2K): Likewise.
24022 (conformtest-headers-POSIX2008): Likewise.
24023 (conformtest-headers-XOPEN2K8): Likewise.
24024 (conformtest-header-list-base): Likewise.
24025 (conformtest-header-list-tests): Likewise.
24026 (conformtest-header-base): Likewise.
24027 (conformtest-header-tests): Likewise.
24028 (tests-special): Add $(conformtest-header-list-tests). If
24029 [$(fast-check) && !$(cross-compiling)], add
24030 $(conformtest-header-tests) instead of
24031 $(objpfx)run-conformtest.out.
24032 (generated): Add $(conformtest-header-list-base). If
24033 [$(fast-check) && !$(cross-compiling)], add
24034 $(conformtest-header-base). Remove previous setting.
24035 ($(conformtest-header-list-tests)): New target.
24036 (test-xfail-run-conformtest): Remove variable.
24037 ($(objpfx)run-conformtest.out): Remove target.
24038 (test-xfail-ISO11/complex.h/conform): New variable.
24039 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24040 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24041 (test-xfail-XPG3/varargs.h/conform): Likewise.
24042 (test-xfail-XPG4/varargs.h/conform): Likewise.
24043 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24044 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24045 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24046 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24047 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24048 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24049 (test-xfail-XPG3/ftw.h/conform): Likewise.
24050 (test-xfail-XPG3/grp.h/conform): Likewise.
24051 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24052 (test-xfail-XPG3/limits.h/conform): Likewise.
24053 (test-xfail-XPG3/pwd.h/conform): Likewise.
24054 (test-xfail-XPG3/search.h/conform): Likewise.
24055 (test-xfail-XPG3/signal.h/conform): Likewise.
24056 (test-xfail-XPG3/stdio.h/conform): Likewise.
24057 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24058 (test-xfail-XPG3/string.h/conform): Likewise.
24059 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24060 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24061 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24062 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24063 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24064 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24065 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24066 (test-xfail-XPG3/termios.h/conform): Likewise.
24067 (test-xfail-XPG3/time.h/conform): Likewise.
24068 (test-xfail-XPG3/unistd.h/conform): Likewise.
24069 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24070 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24071 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24072 (test-xfail-XPG4/netdb.h/conform): Likewise.
24073 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24074 (test-xfail-XPG4/signal.h/conform): Likewise.
24075 (test-xfail-XPG4/stdio.h/conform): Likewise.
24076 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24077 (test-xfail-XPG4/stropts.h/conform): Likewise.
24078 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24079 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24080 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24081 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24082 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24083 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24084 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24085 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24086 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24087 (test-xfail-XPG4/termios.h/conform): Likewise.
24088 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24089 (test-xfail-XPG4/unistd.h/conform): Likewise.
24090 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24091 (test-xfail-POSIX/sched.h/conform): Likewise.
24092 (test-xfail-POSIX/signal.h/conform): Likewise.
24093 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24094 (test-xfail-POSIX/tar.h/conform): Likewise.
24095 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24096 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24097 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24098 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24099 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24100 (test-xfail-UNIX98/sched.h/conform): Likewise.
24101 (test-xfail-UNIX98/signal.h/conform): Likewise.
24102 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24103 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24104 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24105 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24106 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24107 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24108 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24109 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24110 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24111 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24112 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24113 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24114 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24115 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24116 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24117 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24118 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24119 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24120 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24121 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24122 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24123 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24124 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24125 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24126 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24127 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24128 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24129 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24130 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24131 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24132 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24133 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24134 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24135 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24136 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24137 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24138 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24139 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24140 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24141 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24142 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24143 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24144 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24145 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24146 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24147 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24148 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24149 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24150 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24151 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24152 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24153 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24154 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24155 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24156 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24157 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24158 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24159 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24160 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24161 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24162 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24163 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24164 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24165 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24166 (conformtest-cc-flags): Likewise.
24167 ($(conformtest-header-tests): New target.
24168 * conform/check-header-lists.sh: New file.
24169 * conform/run-conformtest.sh: Remove.
24170
24171 * conform/conformtest.pl: Allow ' and \ in values given for
24172 constants.
24173 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24174 inclusion.
24175 [POSIX] (sys/types.h): Likewise.
24176 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24177 inclusion.
24178 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24179 inclusion.
24180 * conform/data/signal.h-data (SIGIO): Remove expectation.
24181 [XPG3] (SIGBUS): Do not expect.
24182 [POSIX || XPG3] (SIGPOLL): Likewise.
24183 [POSIX || XPG3] (SIGPROF): Likewise.
24184 [POSIX || XPG3] (SIGSYS): Likewise.
24185 [XPG3] (SIGTRAP): Likewise.
24186 [POSIX || XPG3] (SIGURG): Likewise.
24187 [POSIX || XPG3] (SIGVTALRM): Likewise.
24188 [POSIX || XPG3] (SIGXCPU): Likewise.
24189 [POSIX || XPG3] (SIGXFSZ): Likewise.
24190 [POSIX] (SA_SIGINFO): Expect.
24191 [XPG3] (siginfo_t): Do not expect type or contents.
24192 [POSIX] (si_pid): Do not expect element.
24193 [POSIX] (si_uid): Likewise.
24194 [POSIX] (si_addr): Likewise.
24195 [POSIX] (si_status): Likewise.
24196 [POSIX] (si_band): Likewise.
24197 [XPG4] (si_value): Likewise.
24198 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24199 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24200 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24201 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24202 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24203 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24204 [POSIX || XPG3] (ILL_COPROC): Likewise.
24205 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24206 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24207 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24208 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24209 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24210 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24211 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24212 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24213 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24214 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24215 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24216 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24217 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24218 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24219 [POSIX || XPG3] (CLD_EXITED): Likewise.
24220 [POSIX || XPG3] (CLD_KILLED): Likewise.
24221 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24222 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24223 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24224 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24225 [POSIX || XPG3] (POLL_IN): Likewise.
24226 [POSIX || XPG3] (POLL_OUT): Likewise.
24227 [POSIX || XPG3] (POLL_MSG): Likewise.
24228 [POSIX || XPG3] (POLL_ERR): Likewise.
24229 [POSIX || XPG3] (POLL_PRI): Likewise.
24230 [POSIX || XPG3] (POLL_HUP): Likewise.
24231 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24232 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24233 (SIG*): Do not allow.
24234 [XPG3] (si_*): Likewise.
24235 [XPG3] (SI_*): Likewise.
24236 [XPG3 || XPG4] (sigev_*): Likewise.
24237 [XPG3 || XPG4] (SIGEV_*): Likewise.
24238 [XPG3 || XPG4] (sival_*): Likewise.
24239 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24240 [POSIX || XPG3] (BUS_*): Likewise.
24241 [POSIX || XPG3] (CLD_*): Likewise.
24242 [POSIX || XPG3] (FPE_*): Likewise.
24243 [POSIX || XPG3] (ILL_*): Likewise.
24244 [POSIX || XPG3] (POLL_*): Likewise.
24245 [POSIX || XPG3] (SEGV_*): Likewise.
24246 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24247 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24248 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24249 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24250 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24251 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24252 Specify type and value.
24253 (TVERSLEN): Likewise.
24254 (REGTYPE): Likewise.
24255 (AREGTYPE): Likewise.
24256 (LNKTYPE): Likewise.
24257 (SYMTYPE): Likewise.
24258 (CHRTYPE): Likewise.
24259 (BLKTYPE): Likewise.
24260 (DIRTYPE): Likewise.
24261 (FIFOTYPE): Likewise.
24262 (CONTTYPE): Likewise.
24263 (TSUID): Likewise.
24264 (TSGID): Likewise.
24265 (TSVTX): Likewise.
24266 (TUREAD): Likewise.
24267 (TUWRITE): Likewise.
24268 (TUEXEC): Likewise.
24269 (TGREAD): Likewise.
24270 (TGWRITE): Likewise.
24271 (TGEXEC): Likewise.
24272 (TOREAD): Likewise.
24273 (TOWRITE): Likewise.
24274 (TOEXEC): Likewise.
24275 [POSIX] (TSVTX): Expect constant.
24276
24277 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24278
24279 * Makefile (tests): Change dependencies to ....
24280 (tests-special): ... additions to this variable.
24281 (tests): Depend on $(tests-special).
24282 * Makerules (check-abi-list): New variable.
24283 (check-abi): Depend on $(check-abi-list).
24284 [$(subdir) = elf] (tests-special): Add
24285 $(objpfx)check-abi-libc.out.
24286 [$(build-shared) = yes && subdir] (tests-special): Add
24287 $(check-abi-list).
24288 [$(build-shared) = yes && subdir] (tests): Do not depend on
24289 check-abi.
24290 * Rules (tests): Depend on $(tests-special).
24291 (xtests): Depend on $(xtests-special).
24292 * catgets/Makefile (tests): Change dependencies to ....
24293 (tests-special): ... additions to this variable.
24294 * conform/Makefile (tests): Change dependencies to ....
24295 (tests-special): ... additions to this variable.
24296 * elf/Makefile (tests): Change dependencies to ....
24297 (tests-special): ... additions to this variable.
24298 * grp/Makefile (tests): Change dependencies to ....
24299 (tests-special): ... additions to this variable.
24300 * iconv/Makefile (xtests): Change dependencies to ....
24301 (xtests-special): ... additions to this variable.
24302 * iconvdata/Makefile (tests): Change dependencies to ....
24303 (tests-special): ... additions to this variable.
24304 * intl/Makefile (tests): Change dependencies to ....
24305 (tests-special): ... additions to this variable. Also add
24306 $(objpfx)tst-gettext.out.
24307 * io/Makefile (tests): Change dependencies to ....
24308 (tests-special): ... additions to this variable.
24309 * libio/Makefile (tests): Change dependencies to ....
24310 (tests-special): ... additions to this variable.
24311 * malloc/Makefile (tests): Change dependencies to ....
24312 (tests-special): ... additions to this variable.
24313 * misc/Makefile (tests): Change dependencies to ....
24314 (tests-special): ... additions to this variable.
24315 * nptl/Makefile (tests): Change dependencies to ....
24316 (tests-special): ... additions to this variable.
24317 * nptl_db/Makefile (tests): Change dependencies to ....
24318 (tests-special): ... additions to this variable.
24319 * posix/Makefile (tests): Change dependencies to ....
24320 (tests-special): ... additions to this variable.
24321 (xtests): Change dependencies to ....
24322 (xtests-special): ... additions to this variable.
24323 * resolv/Makefile (tests): Change dependencies to ....
24324 (tests-special): ... additions to this variable.
24325 (xtests): Change dependencies to ....
24326 (xtests-special): ... additions to this variable.
24327 * stdio-common/Makefile (tests): Change dependencies to ....
24328 (tests-special): ... additions to this variable.
24329 (do-tst-unbputc): Remove target.
24330 (do-tst-printf): Likewise.
24331 * stdlib/Makefile (tests): Change dependencies to ....
24332 (tests-special): ... additions to this variable.
24333 * string/Makefile (tests): Change dependencies to ....
24334 (tests-special): ... additions to this variable.
24335 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24336 (tests-special): ... additions to this variable.
24337
24338 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24339 whole file.
24340 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24341 whole file.
24342 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24343 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24344
24345 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24346 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24347 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24348 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24349 * conform/data/libgen.h-data [XPG3]: Likewise.
24350 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24351 * conform/data/ndbm.h-data [XPG3]: Likewise.
24352 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24353 * conform/data/netdb.h-data [XPG3]: Likewise.
24354 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24355 * conform/data/poll.h-data [XPG3]: Likewise.
24356 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24357 * conform/data/strings.h-data [XPG3]: Likewise.
24358 * conform/data/stropts.h-data [XPG3]: Likewise.
24359 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24360 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24361 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24362 Likewise.
24363 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24364 * conform/data/sys/time.h-data [XPG3]: Likewise.
24365 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24366 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24367 * conform/data/sys/un.h-data [XPG3]: Likewise.
24368 * conform/data/syslog.h-data [XPG3]: Likewise.
24369 * conform/data/ucontext.h-data [XPG3]: Likewise.
24370 * conform/data/utmpx.h-data [XPG3]: Likewise.
24371 * conform/data/varargs.h-data [UNIX98]: Enable file.
24372
24373 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24374
24375 * math/libm-test.inc (struct test_f_f_data): Move expected results
24376 into structure for each rounding mode.
24377 (struct test_ff_f_data): Likewise.
24378 (struct test_ff_f_data_nexttoward): Likewise.
24379 (struct test_fi_f_data): Likewise.
24380 (struct test_fl_f_data): Likewise.
24381 (struct test_if_f_data): Likewise.
24382 (struct test_fff_f_data): Likewise.
24383 (struct test_c_f_data): Likewise.
24384 (struct test_f_f1_data): Likewise.
24385 (struct test_fF_f1_data): Likewise.
24386 (struct test_ffI_f1_data): Likewise.
24387 (struct test_c_c_data): Likewise.
24388 (struct test_cc_c_data): Likewise.
24389 (struct test_f_i_data): Likewise.
24390 (struct test_ff_i_data): Likewise.
24391 (struct test_f_l_data): Likewise.
24392 (struct test_f_L_data): Likewise.
24393 (struct test_fFF_11_data): Likewise.
24394 (RM_): New macro.
24395 (RM_FE_DOWNWARD): Likewise.
24396 (RM_FE_TONEAREST): Likewise.
24397 (RM_FE_TOWARDZERO): Likewise.
24398 (RM_FE_UPWARD): Likewise.
24399 (RUN_TEST_LOOP_f_f): Update references to expected results.
24400 (RUN_TEST_LOOP_2_f): Likewise.
24401 (RUN_TEST_LOOP_fff_f): Likewise.
24402 (RUN_TEST_LOOP_c_f): Likewise.
24403 (RUN_TEST_LOOP_f_f1): Likewise.
24404 (RUN_TEST_LOOP_fF_f1): Likewise.
24405 (RUN_TEST_LOOP_fI_f1): Likewise.
24406 (RUN_TEST_LOOP_ffI_f1): Likewise.
24407 (RUN_TEST_LOOP_c_c): Likewise.
24408 (RUN_TEST_LOOP_cc_c): Likewise.
24409 (RUN_TEST_LOOP_f_i): Likewise.
24410 (RUN_TEST_LOOP_f_i_tg): Likewise.
24411 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24412 (RUN_TEST_LOOP_f_b): Likewise.
24413 (RUN_TEST_LOOP_f_b_tg): Likewise.
24414 (RUN_TEST_LOOP_f_l): Likewise.
24415 (RUN_TEST_LOOP_f_L): Likewise.
24416 (RUN_TEST_LOOP_fFF_11): Likewise.
24417 * math/gen-libm-test.pl (parse_args): Output four copies of
24418 expected results for each test.
24419
24420 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24421 (__ASSUME_UTIMES): Remove.
24422 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24423 (__ASSUME_UTIMES): Likewise.
24424
24425 * math/gen-auto-libm-tests.c: Update comment on output format.
24426 (output_for_one_input_case): Generate before-rounding and
24427 after-rounding information as conditions on output flags not
24428 floating-point format.
24429 * math/auto-libm-test-out: Regenerated.
24430 * math/gen-libm-test.pl (cond_value): New function.
24431 (or_cond_value): Use cond_value.
24432 (generate_testfile): Handle conditional exceptions.
24433
24434 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24435
24436 * math/libm-test.inc (max_valid_error): New variable.
24437 (init_max_error): Take new argument specifying whether function
24438 results are exactly determined. Set max_valid_error and bound
24439 other variables for errors based on this argument.
24440 (set_max_error): Do not record results above max_valid_error.
24441 (check_float_internal): Only accept errors of up to 0.5ulps if
24442 also at most max_valid_error.
24443 (START): Take new argument EXACT and pass it to init_max_error.
24444 (acos_test): Update call to START.
24445 (acos_test_tonearest): Likewise.
24446 (acos_test_towardzero): Likewise.
24447 (acos_test_downward): Likewise.
24448 (acos_test_upward): Likewise.
24449 (acosh_test): Likewise.
24450 (asin_test): Likewise.
24451 (asin_test_tonearest): Likewise.
24452 (asin_test_towardzero): Likewise.
24453 (asin_test_downward): Likewise.
24454 (asin_test_upward): Likewise.
24455 (asinh_test): Likewise.
24456 (atan_test): Likewise.
24457 (atanh_test): Likewise.
24458 (atan2_test): Likewise.
24459 (cabs_test): Likewise.
24460 (cacos_test): Likewise.
24461 (cacosh_test): Likewise.
24462 (carg_test): Likewise.
24463 (casin_test): Likewise.
24464 (casinh_test): Likewise.
24465 (catan_test): Likewise.
24466 (catanh_test): Likewise.
24467 (cbrt_test): Likewise.
24468 (ccos_test): Likewise.
24469 (ccosh_test): Likewise.
24470 (ceil_test): Likewise.
24471 (cexp_test): Likewise.
24472 (cimag_test): Likewise.
24473 (clog_test): Likewise.
24474 (clog10_test): Likewise.
24475 (conj_test): Likewise.
24476 (copysign_test): Likewise.
24477 (cos_test): Likewise.
24478 (cos_test_tonearest): Likewise.
24479 (cos_test_towardzero): Likewise.
24480 (cos_test_downward): Likewise.
24481 (cos_test_upward): Likewise.
24482 (cosh_test): Likewise.
24483 (cosh_test_tonearest): Likewise.
24484 (cosh_test_towardzero): Likewise.
24485 (cosh_test_downward): Likewise.
24486 (cosh_test_upward): Likewise.
24487 (cpow_test): Likewise.
24488 (cproj_test): Likewise.
24489 (creal_test): Likewise.
24490 (csin_test): Likewise.
24491 (csinh_test): Likewise.
24492 (csqrt_test): Likewise.
24493 (ctan_test): Likewise.
24494 (ctan_test_tonearest): Likewise.
24495 (ctan_test_towardzero): Likewise.
24496 (ctan_test_downward): Likewise.
24497 (ctan_test_upward): Likewise.
24498 (ctanh_test): Likewise.
24499 (ctanh_test_tonearest): Likewise.
24500 (ctanh_test_towardzero): Likewise.
24501 (ctanh_test_downward): Likewise.
24502 (ctanh_test_upward): Likewise.
24503 (erf_test): Likewise.
24504 (erfc_test): Likewise.
24505 (exp_test): Likewise.
24506 (exp_test_tonearest): Likewise.
24507 (exp_test_towardzero): Likewise.
24508 (exp_test_downward): Likewise.
24509 (exp_test_upward): Likewise.
24510 (exp10_test): Likewise.
24511 (exp10_test_tonearest): Likewise.
24512 (exp10_test_towardzero): Likewise.
24513 (exp10_test_downward): Likewise.
24514 (exp10_test_upward): Likewise.
24515 (pow10_test): Likewise.
24516 (exp2_test): Likewise.
24517 (expm1_test): Likewise.
24518 (expm1_test_tonearest): Likewise.
24519 (expm1_test_towardzero): Likewise.
24520 (expm1_test_downward): Likewise.
24521 (expm1_test_upward): Likewise.
24522 (fabs_test): Likewise.
24523 (fdim_test): Likewise.
24524 (floor_test): Likewise.
24525 (fma_test): Likewise.
24526 (fma_test_towardzero): Likewise.
24527 (fma_test_downward): Likewise.
24528 (fma_test_upward): Likewise.
24529 (fmax_test): Likewise.
24530 (fmin_test): Likewise.
24531 (fmod_test): Likewise.
24532 (fpclassify_test): Likewise.
24533 (frexp_test): Likewise.
24534 (hypot_test): Likewise.
24535 (ilogb_test): Likewise.
24536 (isfinite_test): Likewise.
24537 (finite_test): Likewise.
24538 (isgreater_test): Likewise.
24539 (isgreaterequal_test): Likewise.
24540 (isinf_test): Likewise.
24541 (isless_test): Likewise.
24542 (islessequal_test): Likewise.
24543 (islessgreater_test): Likewise.
24544 (isnan_test): Likewise.
24545 (isnormal_test): Likewise.
24546 (issignaling_test): Likewise.
24547 (isunordered_test): Likewise.
24548 (j0_test): Likewise.
24549 (j1_test): Likewise.
24550 (jn_test): Likewise.
24551 (ldexp_test): Likewise.
24552 (lgamma_test): Likewise.
24553 (gamma_test): Likewise.
24554 (lrint_test): Likewise.
24555 (lrint_test_tonearest): Likewise.
24556 (lrint_test_towardzero): Likewise.
24557 (lrint_test_downward): Likewise.
24558 (lrint_test_upward): Likewise.
24559 (llrint_test): Likewise.
24560 (llrint_test_tonearest): Likewise.
24561 (llrint_test_towardzero): Likewise.
24562 (llrint_test_downward): Likewise.
24563 (llrint_test_upward): Likewise.
24564 (log_test): Likewise.
24565 (log10_test): Likewise.
24566 (log1p_test): Likewise.
24567 (log2_test): Likewise.
24568 (logb_test): Likewise.
24569 (logb_test_downward): Likewise.
24570 (lround_test): Likewise.
24571 (llround_test): Likewise.
24572 (modf_test): Likewise.
24573 (nearbyint_test): Likewise.
24574 (nextafter_test): Likewise.
24575 (nexttoward_test): Likewise.
24576 (pow_test): Likewise.
24577 (pow_test_tonearest): Likewise.
24578 (pow_test_towardzero): Likewise.
24579 (pow_test_downward): Likewise.
24580 (pow_test_upward): Likewise.
24581 (remainder_test): Likewise.
24582 (drem_test): Likewise.
24583 (remainder_test_tonearest): Likewise.
24584 (drem_test_tonearest): Likewise.
24585 (remainder_test_towardzero): Likewise.
24586 (drem_test_towardzero): Likewise.
24587 (remainder_test_downward): Likewise.
24588 (drem_test_downward): Likewise.
24589 (remainder_test_upward): Likewise.
24590 (drem_test_upward): Likewise.
24591 (remquo_test): Likewise.
24592 (rint_test): Likewise.
24593 (rint_test_tonearest): Likewise.
24594 (rint_test_towardzero): Likewise.
24595 (rint_test_downward): Likewise.
24596 (rint_test_upward): Likewise.
24597 (round_test): Likewise.
24598 (scalb_test): Likewise.
24599 (scalbn_test): Likewise.
24600 (scalbln_test): Likewise.
24601 (signbit_test): Likewise.
24602 (sin_test): Likewise.
24603 (sin_test_tonearest): Likewise.
24604 (sin_test_towardzero): Likewise.
24605 (sin_test_downward): Likewise.
24606 (sin_test_upward): Likewise.
24607 (sincos_test): Likewise.
24608 (sinh_test): Likewise.
24609 (sinh_test_tonearest): Likewise.
24610 (sinh_test_towardzero): Likewise.
24611 (sinh_test_downward): Likewise.
24612 (sinh_test_upward): Likewise.
24613 (sqrt_test): Likewise.
24614 (sqrt_test_tonearest): Likewise.
24615 (sqrt_test_towardzero): Likewise.
24616 (sqrt_test_downward): Likewise.
24617 (sqrt_test_upward): Likewise.
24618 (tan_test): Likewise.
24619 (tan_test_tonearest): Likewise.
24620 (tan_test_towardzero): Likewise.
24621 (tan_test_downward): Likewise.
24622 (tan_test_upward): Likewise.
24623 (tanh_test): Likewise.
24624 (tgamma_test): Likewise.
24625 (trunc_test): Likewise.
24626 (y0_test): Likewise.
24627 (y1_test): Likewise.
24628 (yn_test): Likewise.
24629 (significand_test): Likewise.
24630
24631 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24632 individual tests in comment.
24633 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24634 (prev_max_error): New variable.
24635 (prev_real_max_error): Likewise.
24636 (prev_imag_max_error): Likewise.
24637 (compare_ulp_data): Don't refer to test names in comment.
24638 (find_test_ulps): Remove function.
24639 (find_function_ulps): Likewise.
24640 (find_complex_function_ulps): Likewise.
24641 (init_max_error): Take function name as argument. Look up ulps
24642 for that function.
24643 (print_ulps): Remove function.
24644 (print_max_error): Use prev_max_error instead of calling
24645 find_function_ulps.
24646 (print_complex_max_error): Use prev_real_max_error and
24647 prev_imag_max_error instead of calling find_complex_function_ulps.
24648 (check_float_internal): Take max_ulp parameter instead of calling
24649 find_test_ulps. Don't call print_ulps.
24650 (check_float): Update call to check_float_internal.
24651 (check_complex): Update calls to check_float_internal.
24652 (START): Pass argument to init_max_error.
24653 * math/gen-libm-test.pl (%results): Don't include "kind"
24654 information.
24655 (parse_ulps): Don't handle ulps of individual tests.
24656 (print_ulps_file): Likewise.
24657 (output_ulps): Likewise.
24658 * math/README.libm-test: Update.
24659 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24660 individual tests.
24661 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24662 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24663 * sysdeps/arm/libm-test-ulps: Likewise.
24664 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24665 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24666 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24667 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24668 * sysdeps/microblaze/libm-test-ulps: Likewise.
24669 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24670 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24671 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24672 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24673 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24674 * sysdeps/sh/libm-test-ulps: Likewise.
24675 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24676 * sysdeps/tile/libm-test-ulps: Likewise.
24677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24678
24679 2014-03-04 Joseph Myers <joseph@codesourcery.com>
24680
24681 * math/libm-test.inc (print_complex_max_error): Check separately
24682 whether real and imaginary errors are within allowed range and
24683 pass 0 to print_complex_function_ulps instead of value within
24684 allowed range.
24685
24686 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24687
24688 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24689 formatting.
24690 (get_handles_fopen): Likewise.
24691 (do_write_test): Likewise.
24692
24693 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24694
24695 * libio/fileops.c (do_ftell): Use cached offset when
24696 available.
24697 * libio/iofwide.c (do_ftell_wide): Likewise.
24698 * libio/iofdopen.c (_IO_new_fdopen): Don't use
24699 _IO_file_attach.
24700 * libio/wfileops.c (_IO_fwide): Don't cache offset.
24701
24702 [BZ #16532]
24703 * libio/libioP.h (get_file_offset): New function.
24704 * libio/fileops.c (get_file_offset): Likewise.
24705 (do_ftell): Likewise.
24706 (_IO_new_file_seekoff): Split out ftell logic.
24707 * libio/wfileops.c (do_ftell_wide): Likewise.
24708 (_IO_wfile_seekoff): Split out ftell logic.
24709 * libio/tst-ftell-active-handler.c: New test case.
24710 * libio/Makefile (tests): Add it.
24711
24712 2014-03-03 Roland McGrath <roland@hack.frob.com>
24713
24714 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24715 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24716
24717 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24718
24719 [BZ #16639]
24720 * nscd/connections.c (nscd_init): Call do_exit.
24721 (start_threads): Call do_exit and notify_parent.
24722 (begin_drop_privileges): Call do_exit.
24723 (finish_drop_privileges): Likewise.
24724 * nscd/selinux.c (preserve_capabilities): Likewise.
24725 (install_real_capabilities): Likewise.
24726 (nscd_selinux_enabled): Likewise.
24727 (avc_create_thread): Likewise.
24728 (avc_alloc_lock): Likewise.
24729 (nscd_avc_init): Likewise.
24730 * nscd/nscd.c (parent_fd): New static variable.
24731 (main): Create a pipe between parent and child processes.
24732 Skip closing parent_fd.
24733 (monitor_child): New function.
24734 (do_exit): Likewise.
24735 (notify_parent): Likewise.
24736 * nscd/nscd.h (notify_parent): Likewise.
24737 (do_exit): Likewise.
24738
24739 2014-03-03 Carlos O'Donell <carlos@redhat.com>
24740
24741 * malloc/malloc.c (__libc_calloc): Revert last change.
24742
24743 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24744
24745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24746
24747 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24748
24749 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24750 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24751 implementation.
24752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24753 (__libc_ifunc_impl_list): Likewise.
24754 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24755 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24756 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24757 * string/strrchr.c: Define STRRCHR.
24758
24759 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
24760
24761 * benchtest/bench-strtok.c (simple_strtok): Delete.
24762 (strtok_string): Use as benchmark.
24763 * string/strtok (STRTOK): New macro.
24764
24765 2014-02-28 Carlos O'Donell <carlos@redhat.com>
24766
24767 * manual/threads.texi: Add header and standard comments to all
24768 functions.
24769
24770 * elf/dl-lookup.c (check_match): New function.
24771 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24772 (do_lookup_x): Remove nested function check_match. Use non-nested
24773 function check_match.
24774
24775 2014-02-28 Roland McGrath <roland@hack.frob.com>
24776
24777 * csu/Makefile (generated, before-compile): Use += rather than =.
24778 * catgets/Makefile (generated, generated-dirs): Likewise.
24779 * debug/Makefile (generated): Likewise.
24780 * dlfcn/Makefile (generated): Likewise.
24781 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24782 * iconvdata/Makefile (before-compile, generated): Likewise.
24783 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24784 * libio/Makefile (generated): Likewise.
24785 * malloc/Makefile (generated): Likewise.
24786 * manual/Makefile (generated, generated-dirs): Likewise.
24787 * misc/Makefile (generated): Likewise.
24788 * posix/Makefile (generated): Likewise.
24789 * resolv/Makefile (generated): Likewise.
24790 * sunrpc/Makefile (generated, generated-dirs): Likewise.
24791 * timezone/Makefile (generated, generated-dirs): Likewise.
24792
24793 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24794
24795 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24796
24797 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24798 power8 implementation.
24799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24800 file: POWER8 llround ifunc implementation.
24801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24802 (__lllround): Add POWER8 implementation.
24803 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24804 POWER8 llround implementation.
24805
24806 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24807 power8 implementation.
24808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24809 file: POWER8 llrint ifunc implementation.
24810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24811 Add POWER8 implementation.
24812 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24813 POWER8 llrint implementation.
24814
24815 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24816 power8 implementation.
24817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24818 file: POWER8 finite ifunc implementation.
24819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24820 Add POWER8 implementation.
24821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24822 Likewise.
24823 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24824 POWER8 finite implementation.
24825 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24826
24827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24828 power8 implementation.
24829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24830 file: POWER8 isinf ifunc implementation.
24831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24832 POWER8 implementation.
24833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24834 Likewise.
24835 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24836 isinf implementation.
24837 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24838
24839 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24840 (INIT_ARCH): Add hwcap2 initialization.
24841 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24842 power8 implementation.
24843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24844 file: POWER8 isnan ifunc implementation.
24845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24846 POWER8 implementation.
24847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24848 Likewise.
24849 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24850 isnan implementation.
24851 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24852
24853 2014-02-27 Joey Ye <joey.ye@arm.com>
24854
24855 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24856 (_FP_NANFRAC_Q): Set to zero.
24857
24858 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24859
24860 [BZ #16623]
24861 * math/auto-libm-test-in: New test inputs.
24862 * math/auto-libm-test-out: Regenerate.
24863 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24864 and DA.
24865 (__cos): Likewise.
24866 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24867
24868 2014-02-27 Joseph Myers <joseph@codesourcery.com>
24869
24870 * scripts/evaluate-test.sh: Take new argument indicating whether
24871 failure is expected.
24872 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24873 indicating whether failure is expected.
24874 * conform/Makefile (test-xfail-run-conformtest): New variable.
24875 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24876 level.
24877 * posix/Makefile (test-xfail-annexc): New variable.
24878 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24879
24880 2014-02-26 Joseph Myers <joseph@codesourcery.com>
24881
24882 * argp/Makefile: Include Makeconfig immediately after defining
24883 subdir.
24884 * assert/Makefile: Likewise.
24885 * benchtests/Makefile: Likewise.
24886 * catgets/Makefile: Likewise.
24887 * conform/Makefile: Likewise.
24888 * crypt/Makefile: Likewise.
24889 * csu/Makefile: Likewise.
24890 (all): Remove target.
24891 * ctype/Makefile: Include Makeconfig immediately after defining
24892 subdir.
24893 * debug/Makefile: Likewise.
24894 * dirent/Makefile: Likewise.
24895 * dlfcn/Makefile: Likewise.
24896 * gmon/Makefile: Likewise.
24897 * gnulib/Makefile: Likewise.
24898 * grp/Makefile: Likewise.
24899 * gshadow/Makefile: Likewise.
24900 * hesiod/Makefile: Likewise.
24901 * hurd/Makefile: Likewise.
24902 (all): Remove target.
24903 * iconvdata/Makefile: Include Makeconfig immediately after
24904 defining subdir.
24905 * inet/Makefile: Likewise.
24906 * intl/Makefile: Likewise.
24907 * io/Makefile: Likewise.
24908 * libio/Makefile: Likewise.
24909 (all): Remove target.
24910 * locale/Makefile: Include Makeconfig immediately after defining
24911 subdir.
24912 * login/Makefile: Likewise.
24913 * mach/Makefile: Likewise.
24914 (all): Remove target.
24915 * malloc/Makefile: Include Makeconfig immediately after defining
24916 subdir.
24917 (all): Remove target.
24918 * manual/Makefile: Include Makeconfig immediately after defining
24919 subdir.
24920 * math/Makefile: Likewise.
24921 * misc/Makefile: Likewise.
24922 * nis/Makefile: Likewise.
24923 * nss/Makefile: Likewise.
24924 * po/Makefile: Likewise.
24925 (all): Remove target.
24926 * posix/Makefile: Include Makeconfig immediately after defining
24927 subdir.
24928 * pwd/Makefile: Likewise.
24929 * resolv/Makefile: Likewise.
24930 * resource/Makefile: Likewise.
24931 * rt/Makefile: Likewise.
24932 * setjmp/Makefile: Likewise.
24933 * shadow/Makefile: Likewise.
24934 * signal/Makefile: Likewise.
24935 * socket/Makefile: Likewise.
24936 * soft-fp/Makefile: Likewise.
24937 * stdio-common/Makefile: Likewise.
24938 * stdlib/Makefile: Likewise.
24939 * streams/Makefile: Likewise.
24940 * string/Makefile: Likewise.
24941 * sunrpc/Makefile: Likewise.
24942 (all): Remove target.
24943 * sysvipc/Makefile: Include Makeconfig immediately after defining
24944 subdir.
24945 * termios/Makefile: Likewise.
24946 * time/Makefile: Likewise.
24947 * timezone/Makefile: Likewise.
24948 (all): Remove target.
24949 * wcsmbs/Makefile: Include Makeconfig immediately after defining
24950 subdir.
24951 * wctype/Makefile: Likewise.
24952
24953 2014-02-26 Steve Ellcey <sellcey@mips.com>
24954
24955 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24956 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24957 (libc_feholdexcept_setround_mips): Ditto.
24958 (libc_feholdsetround): New.
24959 (libc_feholdsetroundf): New.
24960 (libc_feholdsetroundl): New.
24961 (libc_feupdateenv_test_mips): New.
24962 (libc_feupdateenv_test): New.
24963 (libc_feupdateenv_testf): New.
24964 (libc_feupdateenv_testl): New.
24965 (libc_feresetround): New.
24966 (libc_feresetroundf): New.
24967 (libc_feresetroundl): New.
24968 (libc_fetestexcept_mips): New.
24969 (libc_fetestexcept): New.
24970 (libc_fetestexceptf): New.
24971 (libc_fetestexceptl): New.
24972 (HAVE_RM_CTX): New.
24973 (libc_feholdexcept_setround_mips_ctx): New.
24974 (libc_feholdexcept_setround_ctx): New.
24975 (libc_feholdexcept_setroundf_ctx): New.
24976 (libc_feholdexcept_setroundl_ctx): New.
24977 (libc_fesetenv_mips_ctx): New.
24978 (libc_fesetenv_ctx): New.
24979 (libc_fesetenv_ctxf): New.
24980 (libc_fesetenv_ctxl): New.
24981 (libc_feupdateenv_mips_ctx): New.
24982 (libc_feupdateenv_ctx): New.
24983 (libc_feupdateenvf_ctx): New.
24984 (libc_feupdateenvl_ctx): New.
24985 (libc_feholdsetround_mips_ctx): New.
24986 (libc_feholdsetround_ctx): New.
24987 (libc_feholdsetroundf_ctx): New.
24988 (libc_feholdsetroundl_ctx): New.
24989 (libc_feresetround_mips_ctx): New.
24990 (libc_feresetround_ctx): New.
24991 (libc_feresetroundf_ctx): New.
24992 (libc_feresetroundl_ctx): New.
24993
24994 2014-02-26 Carlos O'Donell <carlos@redhat.com>
24995
24996 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24997
24998 * manual/ipc.texi: New file.
24999 * manual/Makefile (chapters): Add ipc.
25000 * manual/job.texi: Add "Inter-Process Communication" to next.
25001 * manual/process.texi: Add "Inter-Process Communication" to prev.
25002
25003 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25004
25005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25006
25007 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25008
25009 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25010
25011 * manual/arith.texi: Fix spaces after sentences.
25012 * manual/charset.texi: Likewise.
25013 * manual/errno.texi: Likewise.
25014 * manual/install.texi: Likewise.
25015 * manual/llio.texi: Likewise.
25016 * manual/locale.texi: Likewise.
25017 * manual/maint.texi: Likewise.
25018 * manual/math.texi: Likewise.
25019 * manual/memory.texi: Likewise.
25020 * manual/message.texi: Likewise.
25021 * manual/probes.texi: Likewise.
25022 * manual/resource.texi: Likewise.
25023 * manual/signal.texi: Likewise.
25024 * manual/socket.texi: Likewise.
25025 * manual/stdio.texi: Likewise.
25026 * manual/string.texi: Likewise.
25027 * manual/time.texi: Likewise.
25028 * manual/users.texi: Likewise.
25029
25030 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25031
25032 [BZ #16632]
25033 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25034 _DEFAULT_SOURCE is defined.
25035
25036 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25037 Carlos O'Donell <carlos@redhat.com>
25038
25039 [BZ #16613]
25040 * elf/dl-tls.c (_dl_count_modids): New function.
25041 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25042 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25043 audit library and increment generation counter.
25044 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25045 * elf/tst-audit9.c: New file.
25046 * elf/tst-auditmod9a.c: New file.
25047 * elf/tst-auditmod9b.c: New file.
25048 * elf/Makefile: Add rules to build and run tst-audit9.
25049
25050 2014-02-25 Florian Weimer <fweimer@redhat.com>
25051
25052 [BZ #15347]
25053 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25054
25055 2014-02-25 Will Newton <will.newton@linaro.org>
25056
25057 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25058 (__longjmp): Restore sp and lr before restoring callee
25059 saved registers. Add longjmp and longjmp_target
25060 SystemTap probe point.
25061 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25062 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25063 Define to zero to match jmpbuf layout.
25064 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25065 (__sigsetjmp): Save sp and lr before saving callee
25066 saved registers. Add setjmp SystemTap probe point.
25067
25068 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25069
25070 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25071
25072 2014-02-24 Andreas Schwab <schwab@suse.de>
25073
25074 [BZ #15804]
25075 * elf/pldd.c (wait_for_ptrace_stop): New function.
25076 (main): Call it after attaching.
25077
25078 2014-02-22 Roland McGrath <roland@hack.frob.com>
25079
25080 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25081 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25082 Versions files is now verboten.
25083 * hurd/Versions (libc: GLIBC_2.0):
25084 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25085 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25086 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25087 * mach/Versions: Likewise.
25088
25089 * csu/Versions: Remove unused %include.
25090 * resolv/Versions: Likewise.
25091
25092 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25093
25094 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25095 ($(objpfx)check-local-headers.out): Likewise.
25096 ($(objpfx)begin-end-check.out): Likewise.
25097 * Makerules (check-abi-%.out): Likewise.
25098 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25099 ($(objpfx)test2.cat): Likewise.
25100 ($(objpfx)de/libc.cat): Likewise.
25101 ($(objpfx)test-gencat.out): Likewise.
25102 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25103 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25104 ($(objpfx)noload-mem): Likewise.
25105 ($(objpfx)tst-pathopt.out): Likewise.
25106 ($(objpfx)tst-rtld-load-self.out): Likewise.
25107 ($(objpfx)tst-array1-cmp.out): Likewise.
25108 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25109 ($(objpfx)tst-array2-cmp.out): Likewise.
25110 ($(objpfx)tst-array3-cmp.out): Likewise.
25111 ($(objpfx)tst-array4-cmp.out): Likewise.
25112 ($(objpfx)tst-array5-cmp.out): Likewise.
25113 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25114 ($(objpfx)check-textrel.out): Likewise.
25115 ($(objpfx)check-execstack.out): Likewise.
25116 ($(objpfx)check-localplt.out): Likewise.
25117 ($(objpfx)order2-cmp.out): Likewise.
25118 ($(objpfx)tst-leaks1-mem): Likewise.
25119 ($(objpfx)tst-leaks1-static-mem): Likewise.
25120 ($(objpfx)tst-initorder-cmp.out): Likewise.
25121 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25122 ($(objpfx)tst-unused-dep.out): Likewise.
25123 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25124 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25125 * iconv/Makefile (test-iconvconfig): Likewise.
25126 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25127 ($(objpfx)iconv-test.out): Likewise.
25128 ($(objpfx)tst-tables.out): Likewise.
25129 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25130 ($(objpfx)tst-gettext.out): Likewise.
25131 ($(objpfx)tst-translit.out): Likewise.
25132 ($(objpfx)tst-gettext2.out): Likewise.
25133 ($(objpfx)tst-gettext4.out): Likewise.
25134 ($(objpfx)tst-gettext6.out): Likewise.
25135 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25136 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25137 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25138 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25139 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25140 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25141 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25142 ($(objpfx)wordexp-tst.out): Likewise.
25143 ($(objpfx)annexc.out): Likewise.
25144 ($(objpfx)tst-fnmatch-mem): Likewise.
25145 ($(objpfx)bug-regex2-mem): Likewise.
25146 ($(objpfx)bug-regex14-mem): Likewise.
25147 ($(objpfx)bug-regex21-mem): Likewise.
25148 ($(objpfx)bug-regex31-mem): Likewise.
25149 ($(objpfx)tst-vfork3-mem): Likewise.
25150 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25151 ($(objpfx)tst-pcre-mem): Likewise.
25152 ($(objpfx)tst-boost-mem): Likewise.
25153 ($(objpfx)tst-getconf.out): Likewise.
25154 ($(objpfx)bug-ga2-mem): Likewise.
25155 ($(objpfx)bug-glob2-mem): Likewise.
25156 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25157 ($(objpfx)mtrace-tst-leaks2): Likewise.
25158 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25159 ($(objpfx)tst-printf.out): Likewise.
25160 ($(objpfx)tst-setvbuf1.out): Likewise.
25161 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25162 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25163 ($(objpfx)tst-fmtmsg.out): Likewise.
25164 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25165 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25166
25167 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25168 * bits/sigaction.h [__USE_MISC]: Likewise.
25169 * bits/waitstatus.h: Update #endif comments.
25170 * ctype/ctype.h: Likewise.
25171 * dirent/dirent.h: Likewise.
25172 [__USE_MISC]: Remove redundant conditionals.
25173 * grp/grp.h: Update #endif comments.
25174 [__USE_GNU]: Remove redundant conditionals.
25175 [__USE_MISC]: Likewise.
25176 * inet/netinet/in.h [__USE_GNU]: Likewise.
25177 * io/sys/stat.h [__USE_MISC]: Likewise.
25178 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25179 * libio/bits/stdio.h: Update #endif comments.
25180 [__USE_MISC]: Remove redundant conditionals.
25181 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25182 * libio/stdio.h: Update #endif comments.
25183 [__USE_MISC]: Remove redundant conditionals.
25184 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25185 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25186 * math/math.h: Update #else and #endif comments.
25187 [__USE_MISC]: Remove redundant conditionals.
25188 * misc/sys/uio.h: Update #endif comments.
25189 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25190 * posix/glob.h [__USE_MISC]: Likewise.
25191 * posix/sys/types.h: Update #endif comments.
25192 [__USE_MISC]: Remove redundant conditionals.
25193 * posix/sys/wait.h: Update #endif comments.
25194 [__USE_MISC]: Remove redundant conditionals.
25195 * posix/unistd.h: Update #endif comments.
25196 [__USE_MISC]: Remove redundant conditionals.
25197 * pwd/pwd.h [__USE_GNU]: Likewise.
25198 [__USE_MISC]: Likewise.
25199 * resolv/netdb.h [__USE_GNU]: Likewise.
25200 * signal/signal.h: Update #endif comments.
25201 [__USE_MISC]: Remove redundant conditionals.
25202 * stdlib/stdlib.h: Update #else and #endif comments.
25203 [__USE_MISC]: Remove redundant conditionals.
25204 [__USE_GNU]: Likewise.
25205 * string/bits/string2.h [__USE_MISC]: Likewise.
25206 * string/string.h: Update #endif comments.
25207 [__USE_MISC]: Remove redundant conditionals.
25208 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25209 Likewise.
25210 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25211 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25212 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25213 Likewise.
25214 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25215 Likewise.
25216 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25217 comments.
25218 [__USE_MISC]: Remove redundant conditionals.
25219 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25220 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25221 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25222 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25223 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25224 Likewise.
25225 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25226 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25227 Likewise.
25228 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25229 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25230 Likewise.
25231 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25232 Likewise.
25233 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25234 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25235 Likewise.
25236 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25237 Likewise.
25238 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25239 * sysdeps/x86/bits/string.h: Update #endif comments.
25240 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25241 conditionals.
25242 * time/sys/time.h: Update #endif comments.
25243 * time/time.h: Likewise.
25244 [__USE_MISC]: Remove redundant conditionals.
25245
25246 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25247
25248 [BZ #16600]
25249 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25250
25251 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25252
25253 * Versions.def (librt): Add GLIBC_2.17.
25254
25255 2014-02-21 Adam Conrad <adconrad@0c3.net>
25256
25257 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25258 synonym for _SYS_AUXV_H to allow direct inclusion.
25259 * sysdeps/sparc/bits/hwcap.h: Likewise.
25260 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25261 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25262 * sysdeps/sparc/sysdep.h: Likewise.
25263
25264 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25265
25266 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25267
25268 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25269
25270 * benchtests/bench-strrchr.c: Print length instead of position.
25271
25272 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25273
25274 [BZ #16611]
25275 * sysdeps/unix/sysv/linux/kernel-features.h
25276 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25277 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25278 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25279 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25280 Likewise.
25281 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25282 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25283 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25284 (__ASSUME_SENDMMSG): Define instead of using previous
25285 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25286 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25287 (__ASSUME_SENDMMSG_SYSCALL): Define.
25288 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25289 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25290 Likewise.
25291 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25292 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25293 Likewise.
25294 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25295 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25296 Likewise.
25297 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25298 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25299 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25300 [__ASSUME_SENDMMSG]: Change conditionals to
25301 [__ASSUME_SENDMMSG_SOCKETCALL].
25302 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25303 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25304 Define.
25305 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25306 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25307 Likewise.
25308 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25309 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25310 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25311 [!__ASSUME_SENDMMSG]: Change conditional to
25312 [!__ASSUME_SENDMMSG_SOCKETCALL].
25313 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25314 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25315 Define.
25316
25317 [BZ #16610]
25318 * sysdeps/unix/sysv/linux/kernel-features.h
25319 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25320 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25321 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25322 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25323 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25324 [__i386__ || __sparc__]
25325 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25326 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25327 (__ASSUME_RECVMMSG): Define instead of using previous
25328 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25329 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25330 (__ASSUME_RECVMMSG_SYSCALL): Define.
25331 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25332 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25333 Likewise.
25334 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25335 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25336 Likewise.
25337 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25338 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25339 Likewise.
25340 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25341 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25342 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25343 [__ASSUME_RECVMMSG]: Change condition to
25344 [__ASSUME_RECVMMSG_SOCKETCALL].
25345 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25346 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25347 Define.
25348 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25349 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25350 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25351 Likewise.
25352 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25353 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25354 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25355 [!__ASSUME_RECVMMSG]: Change condition to
25356 [!__ASSUME_RECVMMSG_SOCKETCALL].
25357 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25358 (__ASSUME_RECVMMSG_SYSCALL): Define.
25359
25360 [BZ #16609]
25361 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25362 __powerpc__ || __s390__ || __sh__ || __sparc__]
25363 (__ASSUME_SOCKETCALL): Define.
25364 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25365 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25366 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25367 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25368 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25369 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25370 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25371 (__ASSUME_ACCEPT4): Define instead of using previous
25372 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25373 __powerpc__ || __sparc__ || __s390__)] condition.
25374 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25375 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25376 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25377 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25378 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25379 [!__ASSUME_ACCEPT4]: Change condition to
25380 [!__ASSUME_ACCEPT4_SOCKETCALL].
25381 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25382 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25383 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25384 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25385 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25386 __ASSUME_ACCEPT4_SYSCALL.
25387 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25388 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25389 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25390 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25391 __ASSUME_ACCEPT4_SYSCALL.
25392 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25393 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25394 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25395 [__ASSUME_ACCEPT4]: Change condition to
25396 [__ASSUME_ACCEPT4_SOCKETCALL].
25397 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25398 (__ASSUME_SOCKETCALL): Define.
25399 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25400 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25401 (__ASSUME_SOCKETCALL): Define.
25402 (__ASSUME_ACCEPT4): Remove.
25403 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25404 Define.
25405 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25406 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25407 Likewise.
25408 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25409 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25410
25411 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25412 macro.
25413 (HWCAP_ARM_LPAE): Likewise.
25414 (HWCAP_ARM_EVTSTRM): Likewise.
25415 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25416 Add vpfd32, lpae and evtstrm.
25417 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25418 Increase to 22.
25419
25420 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25421
25422 * math/auto-libm-test-in: Add tests of clog10.
25423 * math/auto-libm-test-out: Regenerated.
25424 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25425 * sysdeps/i386/fpu/libm-test-ulps: Update.
25426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25427
25428 2014-02-18 Andreas Schwab <schwab@suse.de>
25429
25430 [BZ #16574]
25431 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25432 Store non-zero if the second buffer was newly allocated.
25433 (send_dg): Likewise.
25434 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25435 to send_vc and send_dg.
25436 (res_nsend): Pass NULL for ansp2_malloced.
25437 * resolv/res_query.c (__libc_res_nquery): Add parameter
25438 answerp2_malloced and pass it down to __libc_res_nsend.
25439 (res_nquery): Pass additional NULL to __libc_res_nquery.
25440 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25441 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25442 second answer buffer if answerp2_malloced was set.
25443 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25444 (__libc_res_nquerydomain): Add parameter
25445 answerp2_malloced and pass it down to __libc_res_nquery.
25446 (res_nquerydomain): Pass additional NULL to
25447 __libc_res_nquerydomain.
25448 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25449 additional NULL to __libc_res_nsend and __libc_res_nquery.
25450 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25451 additional NULL to __libc_res_nsearch.
25452 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25453 parameter of __libc_res_nsearch to check for separately allocated
25454 second buffer.
25455 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25456 __libc_res_nquery.
25457 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25458 additional NULL to __libc_res_nquery.
25459 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25460 __libc_res_nsearch.
25461 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25462 * include/resolv.h: Update prototypes of __libc_res_nquery,
25463 __libc_res_nsearch, __libc_res_nsend.
25464
25465 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25466
25467 * math/auto-libm-test-in: Add tests of fma.
25468 * math/auto-libm-test-out: Regenerated.
25469 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25470 (fma_towardzero_test_data): Likewise.
25471 (fma_downward_test_data): Likewise.
25472 (fma_upward_test_data): Likewise.
25473 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25474 mpc_mode.
25475 (rounding_modes): Add values for new field.
25476 (func_calc_method): Add value mpfr_fff_f.
25477 (func_calc_desc): Add mpfr_fff_f union field.
25478 (test_function): Add field exact_args.
25479 (FUNC): Add macro argument EXACT_ARGS.
25480 (FUNC_mpfr_f_f): Update call to FUNC.
25481 (FUNC_mpfr_f_f): Likewise.
25482 (FUNC_mpfr_ff_f): Likewise.
25483 (FUNC_mpfr_if_f): Likewise.
25484 (FUNC_mpc_c_f): Likewise.
25485 (FUNC_mpc_c_c): Likewise.
25486 (test_functions): Add fma. Update calls to FUNC.
25487 (handle_input_arg): Add argument exact_args.
25488 (add_test): Update call to handle_input_arg.
25489 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25490 (output_for_one_input_case): Update call to calc_generic_results.
25491 Recalculate exact zero results in each rounding mode.
25492
25493 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25494 non-negative before setting low bit.
25495 * math/auto-libm-test-in: Mark one asin test possibly having
25496 spurious underflow.
25497 * math/auto-libm-test-out: Regenerated.
25498 * sysdeps/i386/fpu/libm-test-ulps: Update.
25499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25500
25501 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25502
25503 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25504 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25505 ports/sysdeps/unix/sysv/linux/microblaze.
25506 * README: Add missing listing for microblaze*-*-linux-gnu.
25507
25508 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25509
25510 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25511 duplicate code
25512
25513 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25514
25515 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25516 * sysdeps/unix/sysv/linux/ia64: Move directory from
25517 ports/sysdeps/unix/sysv/linux/ia64.
25518 * README: Update listing for ia64-*-linux-gnu.
25519
25520 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
25521 Joseph Myers <joseph@codesourcery.com>
25522
25523 * Makeconfig (test-name): New variable.
25524 (evaluate-test): Likewise.
25525 * Makerules (do-test-clean): Remove .test-result files.
25526 (common-mostlyclean): Likewise.
25527 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25528 * scripts/evaluate-test.sh: New file.
25529
25530 2014-02-14 Joseph Myers <joseph@codesourcery.com>
25531
25532 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25533 separate $(objpfx)tst-fopenloc-cmp.out and
25534 $(objpfx)tst-fopenloc-mem.out targets.
25535 (tests): Update dependencies.
25536 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25537 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25538 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25539 (tst-rxspencer-no-utf8-ARGS): New variable.
25540 (tst-rxspencer-no-utf8-ENV): Likewise.
25541 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25542 instead of $(objpfx)tst-rxspencer-mem.
25543 ($(objpfx)tst-rxspencer-mem): Change target to
25544 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
25545 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25546 * posix/tst-rxspencer-no-utf8.c: New file.
25547
25548 * elf/Makefile ($(objpfx)order.out): Remove rule.
25549 [$(run-built-tests) = yes] (tests): Depend on
25550 $(objpfx)order-cmp.out.
25551 ($(objpfx)order-cmp.out): New rule.
25552 [$(run-built-tests) = yes] (tests): Depend on
25553 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25554 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25555 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25556 $(objpfx)tst-array5-static-cmp.out.
25557 ($(objpfx)tst-array1.out): Remove rule.
25558 ($(objpfx)tst-array1-cmp.out): New rule.
25559 ($(objpfx)tst-array1-static.out): Remove rule.
25560 ($(objpfx)tst-array1-static-cmp.out): New rule.
25561 ($(objpfx)tst-array2.out): Remove rule.
25562 ($(objpfx)tst-array2-cmp.out): New rule.
25563 ($(objpfx)tst-array3.out): Remove rule.
25564 ($(objpfx)tst-array3-cmp.out): New rule.
25565 ($(objpfx)tst-array4.out): Remove rule.
25566 ($(objpfx)tst-array4-cmp.out): New rule.
25567 ($(objpfx)tst-array5.out): Remove rule.
25568 ($(objpfx)tst-array5-cmp.out): New rule.
25569 ($(objpfx)tst-array5-static.out): Remove rule.
25570 ($(objpfx)tst-array5-static-cmp.out): New rule.
25571 [$(run-built-tests) = yes] (tests): Depend on
25572 $(objpfx)order2-cmp.out.
25573 ($(objpfx)order2.out): Remove rule.
25574 ($(objpfx)order2-cmp.out): New rule.
25575 ($(objpfx)tst-initorder.out): Remove rule.
25576 [$(run-built-tests) = yes] (tests): Depend on
25577 $(objpfx)tst-initorder-cmp.out.
25578 ($(objpfx)tst-initorder-cmp.out): New rule.
25579 ($(objpfx)tst-initorder2.out): Remove rule.
25580 [$(run-built-tests) = yes] (tests): Depend on
25581 $(objpfx)tst-initorder2-cmp.out.
25582 ($(objpfx)tst-initorder2-cmp.out): New rule.
25583 [$(run-built-tests) = yes] (tests): Depend on
25584 $(objpfx)tst-unused-dep-cmp.out.
25585 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25586 ($(objpfx)tst-unused-dep-cmp.out): New rule.
25587 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25588 on $(objpfx)tst-setvbuf1-cmp.out.
25589 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25590 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25591 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25592 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25593 ($(objpfx)tst-svc.out): Remove rule.
25594 ($(objpfx)tst-svc-cmp.out): New rule.
25595
25596 2014-02-13 Joseph Myers <joseph@codesourcery.com>
25597
25598 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25599 * ctype/ctype.h [__USE_MISC]: Likewise.
25600 * dirent/dirent.h [__USE_MISC]: Likewise.
25601 * grp/grp.h [__USE_MISC]: Likewise.
25602 * io/fcntl.h [__USE_MISC]: Likewise.
25603 * io/sys/stat.h [__USE_MISC]: Likewise.
25604 * libio/stdio.h [__USE_MISC]: Likewise.
25605 * posix/unistd.h [__USE_MISC]: Likewise.
25606 * pwd/pwd.h [__USE_MISC]: Likewise.
25607 * stdlib.h [__USE_MISC]: Likewise.
25608 * string/bits/string2.h [__USE_MISC]: Likewise.
25609 * string/string.h [__USE_MISC]: Likewise.
25610 * time/time.h [__USE_MISC]: Likewise.
25611
25612 2014-02-13 Andreas Schwab <schwab@suse.de>
25613
25614 [BZ #16574]
25615 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25616 second answer buffer if it was separately allocated.
25617
25618 2014-02-12 Joseph Myers <joseph@codesourcery.com>
25619
25620 * sysdeps/mips/math-tests.h: Include <features.h>.
25621 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25622 (ROUNDING_TESTS_long_double): Do not define.
25623 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25624 (EXCEPTION_TESTS_long_double): Likewise.
25625 * sysdeps/mips/mips64/libm-test-ulps: Update.
25626
25627 * include/features.h (__USE_BSD): Remove macro definitions.
25628 (__USE_SVID): Likewise.
25629 (_BSD_SOURCE): Likewise.
25630 (_SVID_SOURCE): Likewise.
25631 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25632 from definition of _DEFAULT_SOURCE.
25633 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25634 [_DEFAULT_SOURCE].
25635 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25636 * bits/mman.h [__USE_BSD]: Likewise.
25637 * bits/termios.h [__USE_BSD]: Likewise.
25638 * bits/waitstatus.h [__USE_BSD]: Likewise.
25639 * ctype/ctype.h [__USE_SVID]: Likewise.
25640 * dirent/dirent.h [__USE_BSD]: Likewise.
25641 * grp/grp.h [__USE_SVID]: Likewise.
25642 [__USE_BSD]: Likewise.
25643 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25644 * io/fcntl.h [__USE_BSD]: Likewise.
25645 * io/ftw.h [__USE_BSD]: Likewise.
25646 * io/sys/stat.h [__USE_BSD]: Likewise.
25647 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25648 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25649 * libio/stdio.h [__USE_SVID]: Likewise.
25650 [__USE_BSD]: Likewise.
25651 * math/math.h [__USE_SVID]: Likewise.
25652 [__USE_BSD]: Likewise.
25653 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25654 * misc/bits/syslog.h [__USE_BSD]: Likewise.
25655 * misc/search.h [__USE_SVID]: Likewise.
25656 * misc/sys/mman.h [__USE_BSD]: Likewise.
25657 * misc/sys/syslog.h [__USE_BSD]: Likewise.
25658 * misc/sys/uio.h [__USE_BSD]: Likewise.
25659 * posix/bits/unistd.h [__USE_BSD]: Likewise.
25660 * posix/glob.h [__USE_BSD]: Likewise.
25661 * posix/regex.h [__USE_BSD]: Likewise.
25662 * posix/sys/types.h [__USE_BSD]: Likewise.
25663 [__USE_SVID]: Likewise.
25664 * posix/sys/utsname.h [__USE_SVID]: Likewise.
25665 * posix/sys/wait.h [__USE_BSD]: Likewise.
25666 [__USE_SVID]: Likewise.
25667 * posix/unistd.h [__USE_BSD]: Likewise.
25668 [__USE_SVID]: Likewise.
25669 * pwd/pwd.h [__USE_SVID]: Likewise.
25670 * resolv/netdb.h [__USE_BSD]: Likewise.
25671 * setjmp/setjmp.h [__USE_BSD]: Likewise.
25672 * signal/signal.h [__USE_BSD]: Likewise.
25673 [__USE_SVID]: Likewise.
25674 * socket/sys/socket.h [__USE_BSD]: Likewise.
25675 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25676 * stdlib/stdlib.h [__USE_BSD]: Likewise.
25677 [__USE_SVID]: Likewise.
25678 * string/bits/string2.h [__USE_BSD]: Likewise.
25679 [__USE_SVID]: Likewise.
25680 * string/bits/string3.h [__USE_BSD]: Likewise.
25681 * string/endian.h [__USE_BSD]: Likewise.
25682 * string/string.h [__USE_SVID]: Likewise.
25683 [__USE_BSD]: Likewise.
25684 * string/strings.h [__USE_BSD]: Likewise.
25685 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25686 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25687 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25688 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25689 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25690 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25691 Likewise.
25692 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25693 Likewise.
25694 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25695 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25696 Likewise.
25697 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25698 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25699 Likewise.
25700 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25701 Likewise.
25702 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25703 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25704 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25705 Likewise.
25706 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25707 Likewise.
25708 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25709 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25710 * termios/termios.h [__USE_BSD]: Likewise.
25711 * time/sys/time.h [__USE_BSD]: Likewise.
25712 * time/time.h [__USE_BSD]: Likewise.
25713 [__USE_SVID]: Likewise.
25714
25715 * Makefile (subdir_targets): Remove subdir_lint.out.
25716
25717 * stdio-common/Makefile (do-tst-unbputc): Remove target.
25718 (do-tst-printf): Likewise.
25719 (tests): Depend directly on $(objpfx)tst-unbputc.out and
25720 $(objpfx)tst-printf.out.
25721
25722 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25723
25724 * Makerules (check-abi-%): Change target to
25725 $(objpfx)check-abi-%.out.
25726 (check-abi target): Update dependencies.
25727 (check-abi-pattern variable): Redirect output of diff to $@.
25728 (check-abi variable): Likewise.
25729 * elf/Makefile (check-abi): Update dependencies.
25730
25731 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25732 unused.
25733 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25734 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25735 subnormal range.
25736 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25737 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25738 value has largest subnormal exponent.
25739 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25740 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25741 * sysdeps/aarch64/soft-fp/sfp-machine.h
25742 (_FP_TININESS_AFTER_ROUNDING): New macro.
25743 * sysdeps/alpha/soft-fp/sfp-machine.h
25744 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25745 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25746 Likewise.
25747 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25748 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25749 * sysdeps/mips/soft-fp/sfp-machine.h
25750 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25751 * sysdeps/powerpc/soft-fp/sfp-machine.h
25752 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25753 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25754 Likewise.
25755 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25756 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25757 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25758 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25759 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25760 Likewise.
25761
25762 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
25763
25764 [BZ #16545]
25765 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25766 model 1.
25767
25768 2014-02-12 Richard Henderson <rth@redhat.com>
25769
25770 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25771 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25772 * sysdeps/unix/sysv/linux/alpha: Move directory from
25773 ports/sysdeps/unix/sysv/linux/alpha.
25774 * README: Update listing for alpha-*-linux-gnu.
25775
25776 2014-02-11 Joseph Myers <joseph@codesourcery.com>
25777
25778 * include/features.h: Update comment documenting feature test
25779 macros.
25780 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
25781 _DEFAULT_SOURCE.
25782 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25783 (_SVID_SOURCE): Likewise.
25784 (_DEFAULT_SOURCE): Update description of default features.
25785 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25786 with _GNU_SOURCE.
25787 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25788 (S_ISVTX): Likewise.
25789 * manual/math.texi (Mathematical Constants): Likewise.
25790 * manual/signal.texi (Interrupted Primitives): Likewise.
25791 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25792 * math/test-matherr.c (_SVID_SOURCE): Do not define.
25793 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25794 Don't refer to _SVID_SOURCE in warning text.
25795
25796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25797
25798 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25799 already defined.
25800 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25801 * sysdeps/mips/dl-lookup.c: Remove.
25802 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25803
25804 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25805
25806 [BZ #16447]
25807 * math/auto-libm-test-in: Add testcase for expl.
25808 * math/auto-libm-test-out: Regenerate.
25809 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25810 calculation of unsafe.
25811 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25812
25813 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
25814
25815 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25816 * sysdeps/unix/sysv/linux/aarch64: Move directory from
25817 ports/sysdeps/unix/sysv/linux/aarch64.
25818 * README: Update listing for aarch64*-*-linux-gnu.
25819
25820 2014-02-11 Will Newton <will.newton@linaro.org>
25821
25822 * manual/probes.texi (Mathematical Function Probes): Use
25823 "triggered" instead of "hit".
25824
25825 * manual/probes.texi (Internal Probes): Add documentation
25826 of setjmp, longjmp and longjmp_target probes.
25827
25828 * include/stap-probe.h: Add comment about probe argument
25829 format.
25830
25831 * malloc/mtrace.c (attribute_hidden): Remove unused macro
25832 definition. (tr_where, tr_freehook, tr_mallochook,
25833 tr_reallochook, tr_memalignhook): Use ANSI protoype.
25834
25835 2014-02-11 David S. Miller <davem@davemloft.net>
25836
25837 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25838 processing int_tests.
25839
25840 2014-02-10 Joseph Myers <joseph@codesourcery.com>
25841
25842 * sysdeps/mips: Move directory from ports/sysdeps/mips.
25843 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25844 * sysdeps/unix/sysv/linux/mips: Move directory from
25845 ports/sysdeps/unix/sysv/linux/mips.
25846 * README: Update listing for mips-*-linux-gnu and
25847 mips64-*-linux-gnu.
25848
25849 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
25850
25851 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25852 * sysdeps/unix/sysv/linux/m68k: Move directory from
25853 ports/sysdeps/unix/sysv/linux/m68k.
25854 * README: Update listing for m68k-*-linux-gnu.
25855
25856 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
25857
25858 * sysdeps/tile: Move directory from ports/sysdeps/tile.
25859 * sysdeps/unix/sysv/linux/generic: Move directory from
25860 ports/sysdeps/unix/sysv/linux/generic.
25861 * sysdeps/unix/sysv/linux/tile: Move directory from
25862 ports/sysdeps/unix/sysv/linux/tile.
25863 * README: Update listing for tile*-*-linux-gnu.
25864
25865 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
25866
25867 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25868 __builtin_expect.
25869 * benchtests/bench-memmem.c (simple_memmem): Likewise.
25870 * catgets/open_catalog.c (__open_catalog): Likewise.
25871 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25872 * debug/confstr_chk.c: Likewise.
25873 * debug/fread_chk.c (__fread_chk): Likewise.
25874 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25875 * debug/getgroups_chk.c: Likewise.
25876 * debug/mbsnrtowcs_chk.c: Likewise.
25877 * debug/mbsrtowcs_chk.c: Likewise.
25878 * debug/mbstowcs_chk.c: Likewise.
25879 * debug/memcpy_chk.c: Likewise.
25880 * debug/memmove_chk.c: Likewise.
25881 * debug/mempcpy_chk.c: Likewise.
25882 * debug/memset_chk.c: Likewise.
25883 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25884 * debug/strcat_chk.c (__strcat_chk): Likewise.
25885 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25886 * debug/strncat_chk.c (__strncat_chk): Likewise.
25887 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25888 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25889 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25890 * debug/wcpncpy_chk.c: Likewise.
25891 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25892 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25893 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25894 * debug/wcsncpy_chk.c: Likewise.
25895 * debug/wcsnrtombs_chk.c: Likewise.
25896 * debug/wcsrtombs_chk.c: Likewise.
25897 * debug/wcstombs_chk.c: Likewise.
25898 * debug/wmemcpy_chk.c: Likewise.
25899 * debug/wmemmove_chk.c: Likewise.
25900 * debug/wmempcpy_chk.c: Likewise.
25901 * debug/wmemset_chk.c: Likewise.
25902 * dirent/scandirat.c (SCANDIRAT): Likewise.
25903 * dlfcn/dladdr1.c (dladdr1): Likewise.
25904 * dlfcn/dladdr.c (dladdr): Likewise.
25905 * dlfcn/dlclose.c (dlclose_doit): Likewise.
25906 * dlfcn/dlerror.c (__dlerror): Likewise.
25907 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25908 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25909 * dlfcn/dlopen.c (dlopen_doit): Likewise.
25910 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25911 * dlfcn/dlsym.c (dlsym_doit): Likewise.
25912 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25913 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25914 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25915 Likewise.
25916 * elf/dl-conflict.c: Likewise.
25917 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25918 * elf/dl-dst.h: Likewise.
25919 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25920 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25921 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25922 * elf/dl-init.c (call_init, _dl_init): Likewise.
25923 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25924 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25925 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25926 Likewise.
25927 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25928 Likewise.
25929 * elf/dl-minimal.c (__libc_memalign): Likewise.
25930 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25931 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25932 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25933 * elf/dl-sym.c (do_sym): Likewise.
25934 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25935 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25936 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25937 * elf/dl-writev.h (_dl_writev): Likewise.
25938 * elf/ldconfig.c (search_dir): Likewise.
25939 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25940 (dl_main): Likewise.
25941 * elf/setup-vdso.h (setup_vdso): Likewise.
25942 * grp/compat-initgroups.c (compat_call): Likewise.
25943 * grp/fgetgrent.c (fgetgrent): Likewise.
25944 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25945 * grp/putgrent.c (putgrent): Likewise.
25946 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25947 Likewise.
25948 * hurd/hurdinit.c: Likewise.
25949 * iconvdata/8bit-gap.c (struct): Likewise.
25950 * iconvdata/ansi_x3.110.c : Likewise.
25951 * iconvdata/big5.c : Likewise.
25952 * iconvdata/big5hkscs.c : Likewise.
25953 * iconvdata/cp1255.c: Likewise.
25954 * iconvdata/cp1258.c : Likewise.
25955 * iconvdata/cp932.c : Likewise.
25956 * iconvdata/euc-cn.c: Likewise.
25957 * iconvdata/euc-jisx0213.c : Likewise.
25958 * iconvdata/euc-jp.c: Likewise.
25959 * iconvdata/euc-jp-ms.c : Likewise.
25960 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25961 * iconvdata/gb18030.c : Likewise.
25962 * iconvdata/gbbig5.c (const): Likewise.
25963 * iconvdata/gbgbk.c: Likewise.
25964 * iconvdata/gbk.c : Likewise.
25965 * iconvdata/ibm1364.c : Likewise.
25966 * iconvdata/ibm930.c : Likewise.
25967 * iconvdata/ibm932.c: Likewise.
25968 * iconvdata/ibm933.c : Likewise.
25969 * iconvdata/ibm935.c : Likewise.
25970 * iconvdata/ibm937.c : Likewise.
25971 * iconvdata/ibm939.c : Likewise.
25972 * iconvdata/ibm943.c: Likewise.
25973 * iconvdata/iso_11548-1.c: Likewise.
25974 * iconvdata/iso-2022-cn.c : Likewise.
25975 * iconvdata/iso-2022-cn-ext.c : Likewise.
25976 * iconvdata/iso-2022-jp-3.c: Likewise.
25977 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25978 * iconvdata/iso-2022-kr.c : Likewise.
25979 * iconvdata/iso646.c (gconv_end): Likewise.
25980 * iconvdata/iso_6937-2.c : Likewise.
25981 * iconvdata/iso_6937.c : Likewise.
25982 * iconvdata/iso8859-1.c: Likewise.
25983 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25984 * iconvdata/shift_jisx0213.c : Likewise.
25985 * iconvdata/sjis.c : Likewise.
25986 * iconvdata/t.61.c : Likewise.
25987 * iconvdata/tcvn5712-1.c : Likewise.
25988 * iconvdata/tscii.c: Likewise.
25989 * iconvdata/uhc.c : Likewise.
25990 * iconvdata/unicode.c (gconv_end): Likewise.
25991 * iconvdata/utf-16.c (gconv_end): Likewise.
25992 * iconvdata/utf-32.c (gconv_end): Likewise.
25993 * iconvdata/utf-7.c (base64): Likewise.
25994 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25995 * iconv/gconv_close.c (__gconv_close): Likewise.
25996 * iconv/gconv_open.c (__gconv_open): Likewise.
25997 * iconv/gconv_simple.c (internal_ucs4_loop_single)
25998 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25999 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26000 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26001 (ucs4le_internal_loop_single): Likewise.
26002 * iconv/iconv.c (iconv): Likewise.
26003 * iconv/iconv_close.c: Likewise.
26004 * iconv/loop.c (SINGLE): Likewise.
26005 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26006 * include/atomic.h: Likewise.
26007 * inet/inet6_option.c (option_alloc): Likewise.
26008 * intl/bindtextdom.c (set_binding_values): Likewise.
26009 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26010 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26011 * intl/localealias.c (read_alias_file): Likewise.
26012 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26013 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26014 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26015 * libio/fmemopen.c (fmemopen): Likewise.
26016 * libio/iofgets.c (_IO_fgets): Likewise.
26017 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26018 * libio/iofgetws.c (fgetws): Likewise.
26019 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26020 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26021 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26022 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26023 * locale/findlocale.c (_nl_find_locale): Likewise.
26024 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26025 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26026 Likewise.
26027 * locale/setlocale.c (setlocale): Likewise.
26028 * login/programs/pt_chown.c (main): Likewise.
26029 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26030 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26031 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26032 (mmap, mmap64, mremap, munmap): Likewise.
26033 * math/e_exp2l.c: Likewise.
26034 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26035 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26036 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26037 * math/s_catan.c (__catan): Likewise.
26038 * math/s_catanf.c (__catanf): Likewise.
26039 * math/s_catanh.c (__catanh): Likewise.
26040 * math/s_catanhf.c (__catanhf): Likewise.
26041 * math/s_catanhl.c (__catanhl): Likewise.
26042 * math/s_catanl.c (__catanl): Likewise.
26043 * math/s_ccosh.c (__ccosh): Likewise.
26044 * math/s_ccoshf.c (__ccoshf): Likewise.
26045 * math/s_ccoshl.c (__ccoshl): Likewise.
26046 * math/s_cexp.c (__cexp): Likewise.
26047 * math/s_cexpf.c (__cexpf): Likewise.
26048 * math/s_cexpl.c (__cexpl): Likewise.
26049 * math/s_clog10.c (__clog10): Likewise.
26050 * math/s_clog10f.c (__clog10f): Likewise.
26051 * math/s_clog10l.c (__clog10l): Likewise.
26052 * math/s_clog.c (__clog): Likewise.
26053 * math/s_clogf.c (__clogf): Likewise.
26054 * math/s_clogl.c (__clogl): Likewise.
26055 * math/s_csin.c (__csin): Likewise.
26056 * math/s_csinf.c (__csinf): Likewise.
26057 * math/s_csinh.c (__csinh): Likewise.
26058 * math/s_csinhf.c (__csinhf): Likewise.
26059 * math/s_csinhl.c (__csinhl): Likewise.
26060 * math/s_csinl.c (__csinl): Likewise.
26061 * math/s_csqrt.c (__csqrt): Likewise.
26062 * math/s_csqrtf.c (__csqrtf): Likewise.
26063 * math/s_csqrtl.c (__csqrtl): Likewise.
26064 * math/s_ctan.c (__ctan): Likewise.
26065 * math/s_ctanf.c (__ctanf): Likewise.
26066 * math/s_ctanh.c (__ctanh): Likewise.
26067 * math/s_ctanhf.c (__ctanhf): Likewise.
26068 * math/s_ctanhl.c (__ctanhl): Likewise.
26069 * math/s_ctanl.c (__ctanl): Likewise.
26070 * math/w_pow.c: Likewise.
26071 * math/w_powf.c: Likewise.
26072 * math/w_powl.c: Likewise.
26073 * math/w_scalb.c (sysv_scalb): Likewise.
26074 * math/w_scalbf.c (sysv_scalbf): Likewise.
26075 * math/w_scalbl.c (sysv_scalbl): Likewise.
26076 * misc/error.c (error_tail): Likewise.
26077 * misc/pselect.c (__pselect): Likewise.
26078 * nis/nis_callback.c (__nis_create_callback): Likewise.
26079 * nis/nis_call.c (__nisfind_server): Likewise.
26080 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26081 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26082 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26083 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26084 * nis/nis_lookup.c (nis_lookup): Likewise.
26085 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26086 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26087 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26088 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26089 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26090 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26091 * nis/nss_compat/compat-initgroups.c (add_group)
26092 (internal_getgrent_r): Likewise.
26093 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26094 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26095 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26096 (internal_getspnam_r): Likewise.
26097 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26098 (_nss_nis_getaliasbyname_r): Likewise.
26099 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26100 (_nss_nis_getntohost_r): Likewise.
26101 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26102 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26103 (_nss_nis_getgrgid_r): Likewise.
26104 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26105 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26106 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26107 (_nss_nis_gethostbyname4_r): Likewise.
26108 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26109 (initgroups_netid): Likewise.
26110 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26111 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26112 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26113 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26114 (_nss_nis_getprotobynumber_r): Likewise.
26115 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26116 (_nss_nis_getsecretkey): Likewise.
26117 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26118 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26119 (_nss_nis_getpwuid_r): Likewise.
26120 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26121 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26122 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26123 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26124 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26125 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26126 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26127 Likewise.
26128 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26129 (_nss_nisplus_getntohost_r): Likewise.
26130 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26131 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26132 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26133 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26134 Likewise.
26135 * nis/nss_nisplus/nisplus-initgroups.c
26136 (_nss_nisplus_initgroups_dyn): Likewise.
26137 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26138 (_nss_nisplus_getnetbyaddr_r): Likewise.
26139 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26140 (_nss_nisplus_getprotobynumber_r): Likewise.
26141 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26142 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26143 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26144 Likewise.
26145 * nis/nss_nisplus/nisplus-service.c
26146 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26147 (_nss_nisplus_getservbyport_r): Likewise.
26148 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26149 (_nss_nisplus_getspnam_r): Likewise.
26150 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26151 Likewise.
26152 * nscd/aicache.c (addhstaiX): Likewise.
26153 * nscd/cache.c (cache_search, prune_cache): Likewise.
26154 * nscd/connections.c (register_traced_file, send_ro_fd)
26155 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26156 (main_loop_epoll): Likewise.
26157 * nscd/grpcache.c (addgrbyX): Likewise.
26158 * nscd/hstcache.c (addhstbyX): Likewise.
26159 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26160 * nscd/mem.c (gc, mempool_alloc): Likewise.
26161 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26162 (addinnetgrX): Likewise.
26163 * nscd/nscd-client.h (__nscd_acquire_maplock)
26164 (__nscd_drop_map_ref): Likewise.
26165 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26166 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26167 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26168 Likewise.
26169 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26170 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26171 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26172 (__nscd_get_map_ref): Likewise.
26173 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26174 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26175 Likewise.
26176 * nscd/pwdcache.c (addpwbyX): Likewise.
26177 * nscd/selinux.c (preserve_capabilities): Likewise.
26178 * nscd/servicescache.c (addservbyX): Likewise.
26179 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26180 * posix/fnmatch.c (fnmatch): Likewise.
26181 * posix/getopt.c (_getopt_internal_r): Likewise.
26182 * posix/glob.c (glob, glob_in_dir): Likewise.
26183 * posix/wordexp.c (exec_comm_child): Likewise.
26184 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26185 (getanswer_r, gaih_getanswer_slice): Likewise.
26186 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26187 * resolv/res_init.c: Likewise.
26188 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26189 * resolv/res_query.c (__libc_res_nquery): Likewise.
26190 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26191 Likewise.
26192 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26193 * stdio-common/perror.c (perror): Likewise.
26194 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26195 * stdio-common/tmpnam.c (tmpnam): Likewise.
26196 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26197 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26198 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26199 Likewise.
26200 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26201 * stdlib/putenv.c (putenv): Likewise.
26202 * stdlib/setenv.c (__add_to_environ): Likewise.
26203 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26204 * stdlib/strtol_l.c (INTERNAL): Likewise.
26205 * string/memmem.c (memmem): Likewise.
26206 * string/strerror.c (strerror): Likewise.
26207 * string/strnlen.c (__strnlen): Likewise.
26208 * string/test-memmem.c (simple_memmem): Likewise.
26209 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26210 * sunrpc/pm_getport.c (__get_socket): Likewise.
26211 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26212 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26213 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26214 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26215 Likewise.
26216 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26217 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26218 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26219 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26220 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26221 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26222 Likewise.
26223 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26224 Likewise.
26225 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26226 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26227 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26228 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26229 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26231 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26232 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26233 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26234 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26235 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26236 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26237 Likewise.
26238 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26239 Likewise.
26240 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26241 Likewise.
26242 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26243 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26244 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26245 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26246 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26247 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26248 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26249 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26250 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26251 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26252 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26254 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26255 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26257 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26258 Likewise.
26259 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26260 Likewise.
26261 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26262 Likewise.
26263 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26264 Likewise.
26265 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26266 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26267 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26268 Likewise.
26269 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26270 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26271 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26272 * sysdeps/posix/sleep.c: Likewise.
26273 * sysdeps/posix/tempname.c: Likewise.
26274 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26275 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26276 Likewise.
26277 * sysdeps/powerpc/powerpc32/dl-machine.h
26278 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26279 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26281 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26282 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26283 Likewise.
26284 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26285 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26286 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26287 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26288 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26289 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26290 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26291 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26292 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26293 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26294 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26295 (elf_machine_lazy_rel): Likewise.
26296 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26297 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26298 (elf_machine_lazy_rel): Likewise.
26299 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26300 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26301 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26302 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26303 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26304 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26305 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26306 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26307 Likewise.
26308 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26309 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26310 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26311 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26312 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26313 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26314 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26315 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26316 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26317 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26318 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26319 Likewise.
26320 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26321 (__posix_fallocate64_l64): Likewise.
26322 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26323 (posix_fallocate): Likewise.
26324 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26325 Likewise.
26326 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26327 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26328 (getifaddrs_internal): Likewise.
26329 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26330 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26331 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26332 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26333 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26334 (__posix_fallocate64_l64): Likewise.
26335 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26336 Likewise.
26337 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26338 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26339 (__get_clockfreq): Likewise.
26340 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26341 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26342 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26343 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26344 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26345 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26346 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26347 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26348 Likewise.
26349 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26350 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26351 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26352 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26353 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26354 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26355 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26356 Likewise.
26357 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26358 (posix_fallocate): Likewise.
26359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26360 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26361 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26362 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26363 (elf_machine_rela, elf_machine_rela_relative)
26364 (elf_machine_lazy_rel): Likewise.
26365 * time/asctime.c (asctime_internal): Likewise.
26366 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26367 * time/tzset.c (__tzset_parse_tz): Likewise.
26368 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26369 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26370 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26371 * wcsmbs/wcsmbsload.h: Likewise.
26372
26373 [BZ #15894]
26374 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26375
26376 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26377 (arena_get2): Remove THREAD_STATS conditionals.
26378 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26379 (__malloc_stats, int): Likewise.
26380
26381 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26382
26383 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26384 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26385
26386 * manual/setjmp.texi: Fix typos/grammar errors.
26387
26388 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26389 Only return early when n is <= 0. Delete unused return statement.
26390
26391 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26392 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26393 * debug/tst-longjmp_chk3.c: New file.
26394
26395 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26396 (test_main): Replace code with set_fortify_handler call.
26397 * debug/test-strcpy_chk.c: Likewise.
26398 * debug/tst-chk1.c: Likewise.
26399 * debug/tst-longjmp_chk.c: Likewise.
26400 * test-skeleton.c: Include fcntl.h & paths.h
26401 (set_fortify_handler): Define.
26402
26403 * debug/tst-longjmp_chk.c: Add header comment and include
26404 ../test-skeleton.c.
26405 (do_test): Mark static.
26406 (TEST_FUNCTION): Define.
26407
26408 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26409 (IP_PMTUDISC_INTERFACE): Likewise.
26410 (IP_MULTICAST_IF): Likewise.
26411 (IP_MULTICAST_TTL): Likewise.
26412 (IP_MULTICAST_LOOP): Likewise.
26413 (IP_ADD_MEMBERSHIP): Likewise.
26414 (IP_DROP_MEMBERSHIP): Likewise.
26415 (IP_UNBLOCK_SOURCE): Likewise.
26416 (IP_BLOCK_SOURCE): Likewise.
26417 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26418 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26419 (IP_MSFILTER): Likewise.
26420 (MCAST_JOIN_GROUP): Likewise.
26421 (MCAST_BLOCK_SOURCE): Likewise.
26422 (MCAST_UNBLOCK_SOURCE): Likewise.
26423 (MCAST_LEAVE_GROUP): Likewise.
26424 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26425 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26426 (MCAST_MSFILTER): Likewise.
26427 (IP_MULTICAST_ALL): Likewise.
26428 (IP_UNICAST_IF): Likewise.
26429
26430 * timezone/Makefile: Delete $(have-ksh) check.
26431 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26432 * timezone/tzselect.ksh: Add +x mode bits.
26433
26434 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26435 (ANON_INODE_FS_MAGIC): Likewise.
26436 (BDEVFS_MAGIC): Likewise.
26437 (BINFMTFS_MAGIC): Likewise.
26438 (BTRFS_TEST_MAGIC): Likewise.
26439 (CRAMFS_MAGIC_WEND): Likewise.
26440 (DEBUGFS_MAGIC): Likewise.
26441 (ECRYPTFS_SUPER_MAGIC): Likewise.
26442 (EXT3_SUPER_MAGIC): Likewise.
26443 (EXT4_SUPER_MAGIC): Likewise.
26444 (FUTEXFS_SUPER_MAGIC): Likewise.
26445 (HOSTFS_SUPER_MAGIC): Likewise.
26446 (HUGETLBFS_MAGIC): Likewise.
26447 (MINIX3_SUPER_MAGIC): Likewise.
26448 (MTD_INODE_FS_MAGIC): Likewise.
26449 (NILFS_SUPER_MAGIC): Likewise.
26450 (OPENPROM_SUPER_MAGIC): Likewise.
26451 (PIPEFS_MAGIC): Likewise.
26452 (PSTOREFS_MAGIC): Likewise.
26453 (QNX6_SUPER_MAGIC): Likewise.
26454 (RAMFS_MAGIC): Likewise.
26455 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26456 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26457 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26458 (SECURITYFS_MAGIC): Likewise.
26459 (SELINUX_MAGIC): Likewise.
26460 (SMACK_MAGIC): Likewise.
26461 (SOCKFS_MAGIC): Likewise.
26462 (SQUASHFS_MAGIC): Likewise.
26463 (STACK_END_MAGIC): Likewise.
26464 (TMPFS_MAGIC): Likewise.
26465 (USBDEVICE_SUPER_MAGIC): Likewise.
26466 (V9FS_MAGIC): Likewise.
26467 (XENFS_SUPER_MAGIC): Likewise.
26468 (CRAMFS_MAGIC): Fix typo in comment.
26469 (EXT2_SUPER_MAGIC): Update comment.
26470 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26471
26472 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26473
26474 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26475 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26476 * sysdeps/unix/sysv/linux/arm: Move directory from
26477 ports/sysdeps/unix/sysv/linux/arm.
26478 * README: Update listing for arm-*-linux-gnueabi.
26479
26480 * README: Remove mention of am33.
26481
26482 2014-02-07 Roland McGrath <roland@hack.frob.com>
26483
26484 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26485 than the comma operator, to avoid "rhs of comma has no effect"
26486 compiler warnings.
26487 (__sigfillset, __sigandset, __sigorset): Likewise.
26488 * include/signal.h (__sigemptyset): Likewise.
26489 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26490
26491 2014-02-07 Allan McRae <allan@archlinux.org>
26492
26493 * version.h (RELEASE): Set to "development".
26494 (VERSION): Set to "2.19.90"
26495 * NEWS: Add 2.20 section.
26496
26497 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26498
26499 [BZ #16529]
26500 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26501
26502 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26503
26504 * manual/contrib.texi: Update entry for Carlos O'Donell,
26505 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26506
26507 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26508
26509 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26510
26511 * sysdeps/unix/sysv/linux/kernel-features.h
26512 [__LINUX_KERNEL_VERSION >= 0x020621]
26513 (__ASSUME_PROC_PID_TASK_COMM): Define.
26514
26515 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26516
26517 [BZ #16398]
26518 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26519 conversion when destination buffer does not have enough space.
26520 * libio/tst-ftell-partial-wide.c: New test case.
26521 * libio/Makefile (tests): Add tst-ftell-partial-wide.
26522
26523 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26524 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
26525 Leonard and Allan McRae.
26526
26527 2014-02-04 David S. Miller <davem@davemloft.net>
26528
26529 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26530 32-bit.
26531
26532 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26533
26534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26535 New file
26536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26537 New file
26538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26539 New file.
26540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26541 New file.
26542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26543 New file.
26544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26545 New file.
26546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26547 New file.
26548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26549 New file.
26550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26551 New file.
26552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26553 New file.
26554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26555 New file.
26556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26557 New file.
26558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26559 New file.
26560
26561 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26562
26563 * nptl/shlib-versions: Change powerpc*le start to 2.17.
26564 * shlib-versions: Likewise.
26565
26566 2014-02-04 Roland McGrath <roland@hack.frob.com>
26567 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26568
26569 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26570 (abilist-pattern): New variable, set to %-le.abilist.
26571
26572 * Makerules (abilist-pattern): New variable.
26573 (vpath): Use $(abilist-pattern) in place of %.abilist.
26574 (check-abi-% pattern rule): Likewise.
26575 (check-abi, update-abi): Likewise.
26576
26577 2014-02-04 Eric Wong <normalperson@yhbt.net>
26578
26579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26580
26581 2014-02-03 Carlos O'Donell <carlos@redhat.com>
26582
26583 * manual/startup.texi: Add next, previous, and top entries for
26584 the `Program Arguments' and `Environment Variables' nodes.
26585
26586 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
26587
26588 * manual/macros.texi: Add comments before MTASC-safety macros.
26589
26590 * manual/users.texi: Document MTASC-safety properties.
26591
26592 * manual/threads.texi (pthread_key_create, pthread_key_delete)
26593 (pthread_getspecific, pthread_setspecific): Format with
26594 @deftypefun, and add @safety note.
26595 * manual/signal.texi: Move comments that analyze the above
26596 functions to their home place.
26597
26598 2014-02-03 Allan McRae <allan@archlinux.org>
26599
26600 * po/sl.po: Update Slovenian translation from translation project.
26601
26602 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
26603
26604 * manual/time.texi (timegm): Add missing blank after @c.
26605 Reported by Joseph Myers <joseph@codesourcery.com>.
26606
26607 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
26608
26609 * manual/check-safety.sh: New.
26610 * manual/Makefile ($(objpfx)stamp-summary): Run it.
26611
26612 * manual/terminal.texi: Document MTASC-safety properties.
26613
26614 * manual/filesys.texi: Document MTASC-safety properties.
26615
26616 * manual/errno.texi: Document MTASC-safety properties.
26617
26618 * manual/intro.texi: Document safety identifiers and
26619 conditionals.
26620
26621 * manual/string.texi (wcstok): Fix prototype.
26622 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26623
26624 * manual/time.texi: Document MTASC-safety properties.
26625
26626 * manual/string.texi: Document MTASC-safety properties.
26627
26628 * manual/threads.texi: Document MTASC-safety properties.
26629
26630 * manual/stdio.texi: Document MTASC-safety properties.
26631
26632 * manual/syslog.texi: Document MTASC-safety properties.
26633
26634 * manual/sysinfo.texi: Document MTASC-safety properties.
26635
26636 * manual/startup.texi: Document MTASC-safety properties.
26637
26638 * manual/socket.texi: Document MTASC-safety properties.
26639
26640 * manual/signal.texi: Document MTASC-safety properties.
26641
26642 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
26643
26644 * manual/setjmp.texi: Document MTASC-safety properties.
26645
26646 * manual/search.texi: Document MTASC-safety properties.
26647
26648 * manual/resource.texi: Document MTASC-safety properties.
26649
26650 * manual/process.texi: Document MTASC-safety properties.
26651
26652 * manual/platform.texi: Document MTASC-safety properties.
26653
26654 * manual/pipe.texi: Document MTASC-safety properties.
26655
26656 * manual/pattern.texi: Document MTASC-safety properties.
26657
26658 * manual/message.texi: Document MTASC-safety properties.
26659
26660 [BZ #12751]
26661 * manual/memory.texi: Document MTASC-safety properties.
26662
26663 * manual/math.texi: Document MTASC-safety properties.
26664
26665 * manual/locale.texi: Document MTASC-safety properties.
26666
26667 * manual/llio.texi: Document MTASC-safety properties.
26668
26669 * manual/libdl.texi: New.
26670
26671 * manual/lang.texi: Document MTASC-safety properties.
26672
26673 * manual/job.texi: Document MTASC-safety properties.
26674
26675 * manual/getopt.texi: Document MTASC-safety properties.
26676
26677 * manual/ctype.texi: Document MTASC-safety properties.
26678
26679 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
26680
26681 [BZ #16046]
26682 * csu/libc-tls.c (static_map): Remove variable.
26683 (__libc_setup_tls): Use main executable's link map for TLS data.
26684 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26685 casing for LM_ID_BASE and GL(dl_nns).
26686 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26687 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
26688 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26689 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26690 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26691 member.
26692 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26693 l_phnum members.
26694
26695 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
26696
26697 * manual/debug.texi: Document MTASC-safety properties.
26698
26699 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
26700
26701 [BZ #16510]
26702 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26703 of __x86_64__ when disabling x87 inline functions.
26704
26705 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
26706
26707 * manual/charset.texi: Document MTASC-safety properties.
26708
26709 * manual/crypt.texi: Document MTASC-safety properties.
26710
26711 * manual/conf.texi: Document MTASC-safety properties.
26712
26713 * manual/arith.texi: Document MTASC-safety properties.
26714
26715 * manual/argp.texi: Document MTASC-safety properties.
26716
26717 * manual/macros.texi: Introduce macros to document multi
26718 thread, asynchronous signal and asynchronous cancellation
26719 safety properties.
26720 * manual/intro.texi: Introduce the properties themselves.
26721
26722 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26723
26724 * sysdeps/sh/sh4/Makefile: New file.
26725
26726 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
26727
26728 * math/gen-libm-test.pl ($srcdir): New variable.
26729 ($auto_input): Use it.
26730
26731 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26732
26733 [BZ #16506]
26734 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26735 access beyond array bounds when parsing netgroups file.
26736
26737 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26738 the old buffer before realloc.
26739
26740 2014-01-27 Allan McRae <allan@archlinux.org>
26741
26742 * po/fr.po: Update French translation from translation project.
26743
26744 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26745
26746 * sysdeps/sh/libm-test-ulps: Regenerate.
26747
26748 2014-01-24 David S. Miller <davem@davemloft.net>
26749
26750 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26751
26752 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26753
26754 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26755 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26756
26757 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26758
26759 [BZ #16474]
26760 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26761 string pointers after reallocation.
26762
26763 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26764
26765 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26766 __SH4A__ instead of __SH_FPU_ANY__.
26767
26768 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26769
26770 * sysdeps/sh/fpu_control.h: New file.
26771 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26772 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26773 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26774 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26775 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26776 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26777 * sysdeps/sh/sys/ucontext.h: Remove.
26778 * sysdeps/sh/sys: Remove directory.
26779
26780 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26781
26782 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26783 s390/sys/ucontext.h.
26784 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26785 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26786
26787 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
26788
26789 [BZ #15605]
26790 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26791
26792 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26793
26794 [BZ#16431]
26795 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26796 Adjust the vDSO correctly for internal calls.
26797 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26798
26799 2014-01-20 Allan McRae <allan@archlinux.org>
26800
26801 * po/ca.po: Update Catalan translation from translation project.
26802
26803 2014-01-16 Mike Frysinger <vapier@gentoo.org>
26804
26805 * sysdeps/s390/sotruss-lib.c: New file.
26806
26807 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26808
26809 [BZ#16430]
26810 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26811 (__GI___gettimeofday): Alias for a different internal symbol to avoid
26812 local calls issues by not having a PLT stub required for IFUNC calls.
26813 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26814
26815 2014-01-16 Joseph Myers <joseph@codesourcery.com>
26816
26817 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26818 * math/test-fpucw-static.c: Likewise.
26819
26820 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26821
26822 [BZ #16453]
26823 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26824
26825 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26826
26827 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26828 implementation for powerpc.
26829
26830 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
26831
26832 [BZ #14782]
26833 * sysdeps/posix/system.c (__libc_system): Do not enable
26834 asynchronous cancellation.
26835
26836 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26837
26838 [BZ #16427]
26839 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26840 handling only for numbers special also in the IEEE case.
26841
26842 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26843
26844 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26845
26846 2014-01-11 Allan McRae <allan@archlinux.org>
26847
26848 * po/bg.po: Update Bulgarian translation from translation project.
26849
26850 * po/de.po: Update German translation from translation project.
26851
26852 2014-01-10 Roland McGrath <roland@hack.frob.com>
26853
26854 * sysdeps/generic/gcc-compat.h: New file.
26855
26856 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26857
26858 * benchtests/asin-inputs: Correct slow inputs.
26859 * benchtests/acos-inputs: Likewise.
26860
26861 2014-01-10 Allan McRae <allan@archlinux.org>
26862
26863 * po:sv.po: Update Swedish translation from translation project.
26864
26865 * po/vi.po: Update Vietnamese translation from translation project.
26866
26867 * po/eo.po: Update Esperanto translation from translation project.
26868
26869 * po/cs.po: Update Czech translation from translation project.
26870
26871 * po/nl.po: Update Dutch translation from translation project.
26872
26873 * po/pl.po: Update Polish translation from translation project.
26874
26875 * po/ru.po: Update Russian translation from translation project.
26876
26877 * po/uk.po: Update Ukrainian translation from translation project.
26878
26879 2014-01-08 Brooks Moses <bmoses@google.com>
26880
26881 * elf/dl-load.c: Fix comment typo.
26882
26883 2014-01-08 Carlos O'Donell <carlos@redhat.com>
26884
26885 * po/header.pot: Rename to...
26886 * po/pot.header: ... this.
26887 * po/Makefile: Use pot.header.
26888
26889 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
26890 Maxim Kuvyrkov <maxim@kugelworks.com>
26891
26892 [BZ #16394]
26893 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26894 SRC and DEST against LEN.
26895
26896 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26897
26898 [BZ #16414]
26899 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26900 implementation.
26901 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26902
26903 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26904
26905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26906
26907 2014-01-08 Joseph Myers <joseph@codesourcery.com>
26908
26909 [BZ #16408]
26910 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26911 for large positive arguments.
26912
26913 2014-01-07 Joseph Myers <joseph@codesourcery.com>
26914
26915 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26916
26917 * math/auto-libm-test-in: Mark various tests with
26918 xfail-rounding:ldbl-128ibm.
26919 * math/auto-libm-test-out: Regenerated.
26920
26921 [BZ #16407]
26922 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26923 Increase overflow threshold.
26924
26925 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
26926
26927 [BZ #14286]
26928 * stdio-common/vfprintf.c: Check for integer overflow.
26929
26930 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26931
26932 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26933 the first argument and return value of __tls_get_addr_internal.
26934
26935 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26936
26937 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26938 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26939
26940 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26941
26942 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26943 * sysdeps/s390/rtld-global-offsets.sym: New file.
26944 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26945 GLIBC_2.19 symbol.
26946 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26947 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26948 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26949 ... this.
26950 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26951 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26952 ... this.
26953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26954 Regenerate.
26955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26956 Regenerate.
26957 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26958 halfs of GPRs for high_gprs contexts.
26959 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26960 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
26961 field.
26962 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26963 uc_flags field.
26964 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26965 64 bit versions:
26966 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26967 for high GPRs (uc_high_gprs) and for future extensions
26968 (__reserved).
26969 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26970 for future extensions (__reserved).
26971 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26972 64 bit versions:
26973 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26974 SC_HIGHGPRS offset definition.
26975 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26976 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26977
26978 * Versions.def: Add GLIBC_2.19 for libpthread.
26979 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26980 siglongjmp for libpthread with GLIBC_2.19 symver.
26981 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26982 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26983 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26984 * sysdeps/s390/__longjmp.c: New file.
26985 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26986 * sysdeps/s390/longjmp.c: New file.
26987 * sysdeps/s390/setjmp.S: New file.
26988 * sysdeps/s390/sigjmp.S: New file.
26989 * sysdeps/s390/v1-longjmp.c: New file.
26990 * sysdeps/s390/v1-setjmp.h: New file.
26991 * sysdeps/s390/v1-sigjmp.c: New file.
26992 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26993 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26994 GLIBC_2.19 version.
26995 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26996 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26997 versioned symbols for ____longjmp_chk.
26998 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26999 Likewise.
27000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27001 Regenerate.
27002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27003 Regenerate.
27004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27005 Regenerate.
27006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27007 Regenerate.
27008 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27009 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27010 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27011 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27012 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27013 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27014 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27015 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27016 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27017 * sysdeps/s390/rtld-__longjmp.c: New file.
27018 * sysdeps/s390/rtld-setjmp.S: New file.
27019
27020 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27021
27022 [BZ #16400]
27023 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27024 Return -__logl (x) for small positive arguments without evaluating
27025 a polynomial.
27026
27027 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27028
27029 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27030 Rename to ...
27031 (__ptrace_peeksiginfo_args): ... this.
27032 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27033 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27034 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27035
27036 2014-01-06 Allan McRae <allan@archlinux.org>
27037
27038 * inet/netinet/in.h: Fix typo in comment.
27039
27040 2014-01-05 Andreas Jaeger <aj@suse.de>
27041
27042 * sysdeps/i386/fpu/libm-test-ulps: Update.
27043
27044 2014-01-05 Allan McRae <allan@archlinux.org>
27045
27046 * po/libc.pot: Regenerated.
27047
27048 * malloc/memusagestat.c: Fix gettext call formatting.
27049
27050 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27051
27052 * nscd/nscd.c: Improve usage() output.
27053
27054 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27055
27056 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27057 * sysdeps/unix/sysv/linux/configure: Regenerated.
27058 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27059 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27060
27061 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27062
27063 [BZ #16390]
27064 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27065 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27066
27067 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27068
27069 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27070 extra tokens at end of #undef directive.
27071 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27072 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27073 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27074
27075 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27076
27077 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27078
27079 * math/auto-libm-test-in: Mark various tests with
27080 xfail-rounding:ldbl-128ibm.
27081 * math/auto-libm-test-out: Regenerated.
27082
27083 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27084
27085 [BZ #16386]
27086 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27087 numbers with subnormal high part when calculating exponent.
27088
27089 [BZ #16385]
27090 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27091 fabs.
27092
27093 [BZ #16384]
27094 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27095 M_LN2l.
27096 (__ieee754_acoshl): Use __log1pl not __log1p.
27097
27098 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27099
27100 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27101 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27102 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27103 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27104 (reused_arena, arena_get2): Convert to GNU style.
27105 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27106 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27107 (memalign_check, __malloc_set_state): Likewise.
27108 * malloc/mallocbug.c (main): Likewise.
27109 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27110 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27111 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27112 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27113 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27114 (__posix_memalign, malloc_info): Likewise.
27115 * malloc/malloc.h: Likewise.
27116 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27117 (mallochook, memalignhook, reallochook, mabort): Likewise.
27118 * malloc/mcheck.h: Likewise.
27119 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27120 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27121 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27122 * malloc/morecore.c (__default_morecore): Likewise.
27123 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27124 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27125 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27126 (print_and_abort): Likewise.
27127 * malloc/obstack.h: Likewise.
27128 * malloc/set-freeres.c (__libc_freeres): Likewise.
27129 * malloc/tst-mallocstate.c (main): Likewise.
27130 * malloc/tst-mtrace.c (main): Likewise.
27131 * malloc/tst-realloc.c (do_test): Likewise.
27132
27133 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27134
27135 [BZ #16366]
27136 * nscd/netgroupcache.c (do_notfound): New function.
27137 (addgetnetgrentX): Use it.
27138
27139 [BZ # 16365]
27140 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27141 NSS_STATUS_NOTFOUND.
27142
27143 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27144
27145 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27147
27148 2014-01-01 Allan McRae <allan@archlinux.org>
27149
27150 * scripts/update-copyrights: Update configure input file suffix.
27151
27152 * NEWS: Update copyright year.
27153 * catgets/gencat.c: Likewise.
27154 * csu/version.c: Likewise.
27155 * debug/catchsegv.sh: Likewise.
27156 * debug/pcprofiledump.c: Likewise.
27157 * debug/xtrace.sh: Likewise.
27158 * elf/ldconfig.c: Likewise.
27159 * elf/ldd.bash.in: Likewise.
27160 * elf/pldd.c: Likewise.
27161 * elf/sotruss.ksh: Likewise.
27162 * elf/sprof.c: Likewise.
27163 * iconv/iconv_prog.c: Likewise.
27164 * iconv/iconvconfig.c: Likewise.
27165 * locale/programs/locale.c: Likewise.
27166 * locale/programs/localedef.c: Likewise.
27167 * login/programs/pt_chown.c: Likewise.
27168 * malloc/memusage.sh: Likewise.
27169 * malloc/memusagestat.c: Likewise.
27170 * malloc/mtrace.pl: Likewise.
27171 * manual/libc.texinfo: Likewise.
27172 * nscd/nscd.c: Likewise.
27173 * nss/getent.c: Likewise.
27174 * nss/makedb.c: Likewise.
27175 * posix/getconf.c: Likewise.
27176 * scripts/test-installation.pl: Likewise.
27177
27178 * All files with FSF copyright notices: Update copyright dates
27179 using scripts/update-copyrights.
27180 * intl/plural.c: Regenerated.
27181 * locale/programs/charmap-kw.h: Likewise.
27182 * locale/programs/locfile-kw.h: Likewise.
27183
27184 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27185
27186 * sysdeps/unix/sysv/linux/configure: Regenerated.
27187 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27188 the linux/fanotify.h header.
27189 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27190 HAVE_LINUX_FANOTIFY_H is defined.
27191
27192 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27193
27194 * benchtests/cos-inputs: New inputs.
27195 * benchtests/sin-inputs: Likewise.
27196
27197 * benchtests/atan-inputs: New inputs. Fix name of multiple
27198 precision fallback inputs.
27199
27200 * benchtests/atanh-inputs: New inputs.
27201 * benchtests/tanh-inputs: Likewise.
27202
27203 * benchtests/acosh-inputs: New inputs.
27204 * benchtests/asinh-inputs: Likewise.
27205
27206 * benchtests/cosh-inputs: New inputs.
27207 * benchtests/sinh-inputs: Likewise.
27208
27209 * benchtests/acos-inputs: Add more inputs.
27210 * benchtests/asin-inputs: Likewise.
27211
27212 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27213
27214 [BZ #16375]
27215 * manual/arith.texi: Fix spelling.
27216 * manual/charset.texi: Likewise.
27217 * manual/errno.texi: Likewise.
27218 * manual/filesys.texi: Likewise.
27219 * manual/lang.texi: Likewise.
27220 * manual/llio.texi: Likewise.
27221 * manual/locale.texi: Likewise.
27222 * manual/message.texi: Likewise.
27223 * manual/resource.texi: Likewise.
27224 * manual/search.texi: Likewise.
27225 * manual/setjmp.texi: Likewise.
27226 * manual/stdio.texi: Likewise.
27227 * manual/string.texi: Likewise.
27228 * manual/sysinfo.texi: Likewise.
27229 * manual/time.texi: Likewise.
27230
27231 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27232
27233 * po/sl.po: New file.
27234
27235 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27236
27237 * .gitignore: Add core/.gdbinit/.gdb_history.
27238
27239 2013-12-27 Allan McRae <allan@archlinux.org>
27240
27241 [BZ #16369]
27242 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27243 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27244
27245 2013-12-24 Brooks Moses <bmoses@google.com>
27246
27247 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27248 all compilers that claim C++98 compliance, not just GCC.
27249 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27250 Likewise.
27251
27252 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27253
27254 * NEWS: Restore accidentally deleted bug-fix entries.
27255
27256 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27257 Ondřej Bílka <neleai@seznam.cz>
27258
27259 [BZ #15073]
27260 * malloc/malloc.c (_int_free): Perform sanity check only if we
27261 have_lock.
27262
27263 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27264
27265 [BZ #12986]
27266 * manual/stdio.texi (String Input Conversions): Clarify that character
27267 classes are not supported.
27268
27269 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27270
27271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27272
27273 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27274
27275 [BZ #16337]
27276 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27277 Calculate results for small negative arguments directly rather
27278 than using reflection formula with special underflow handling.
27279
27280 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27281 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27282 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27283 (fchflags): Likewise.
27284 (revoke): Likewise.
27285 (setlogin): Likewise.
27286 (sigaltstack): Likewise.
27287 (wait4): Likewise.
27288 (sigblock): Remove.
27289 (sigsetmask): Likewise.
27290 (wait3): Likewise.
27291 (waitpid): Likewise.
27292 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27293 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27294 file.
27295 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27296 * sysdeps/unix/bsd/Makefile: ... here.
27297 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27298 * sysdeps/unix/bsd/Versions: ... here.
27299 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27300 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27301 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27302 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27303 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27304 * sysdeps/unix/bsd/sigblock.c: ... here.
27305 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27306 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27307 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27308 * sysdeps/unix/bsd/sigvec.c: ... here.
27309 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27310 * sysdeps/unix/bsd/tcdrain.c: ... here.
27311 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27312 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27313 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27314 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27315 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27316 * sysdeps/unix/bsd/wait.c: ... here.
27317 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27318 * sysdeps/unix/bsd/wait3.c: ... here.
27319 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27320 * sysdeps/unix/bsd/waitpid.c: ... here.
27321
27322 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27323
27324 [BZ #16356]
27325 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27326 round-to-nearest for [!USE_AS_EXPM1L].
27327 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27328 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27329 more tests of exp and exp10. Expect some exp10 tests to miss
27330 exceptions or fail in directed rounding modes.
27331 * math/auto-libm-test-out: Regenerated.
27332 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27333 (exp10_test_tonearest): New function.
27334 (exp10_towardzero_test_data): New array.
27335 (exp10_test_towardzero): New function.
27336 (exp10_downward_test_data): New array.
27337 (exp10_test_downward): New function.
27338 (exp10_upward_test_data): New array.
27339 (exp10_test_upward): New function.
27340 (main): Call the new functions.
27341 * sysdeps/i386/fpu/libm-test-ulps: Update.
27342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27343
27344 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27345
27346 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27347 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27348 * math/auto-libm-test-out: Regenerated.
27349 * math/libm-test.inc (acosh_test_data): Add more tests.
27350 (atanh_test_data): Likewise.
27351 (ceil_test_data): Likewise.
27352 (copysign_test_data): Likewise.
27353 * sysdeps/i386/fpu/libm-test-ulps: Update.
27354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27355
27356 * timezone/checktab.awk: Update from tzcode 2013i.
27357 * timezone/private.h: Likewise.
27358 * timezone/scheck.c: Likewise.
27359 * timezone/tzfile.h: Likewise.
27360 * timezone/tzselect.ksh: Likewise.
27361 * timezone/zdump.c: Likewise.
27362 * timezone/zic.c: Likewise.
27363
27364 * math/auto-libm-test-in: Add tests of cpow.
27365 * math/auto-libm-test-out: Regenerated.
27366 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27367 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27368 mpc_cc_c.
27369 (func_calc_desc): Add mpc_cc_c union field.
27370 (test_functions): Add cpow.
27371 (special_fill_2pi): New function.
27372 (special_real_inputs): Add 2pi.
27373 (calc_generic_results): Handle mpc_cc_c.
27374 * sysdeps/i386/fpu/libm-test-ulps: Update.
27375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27376
27377 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27378 csqrt, ctan and ctanh.
27379 * math/auto-libm-test-out: Regenerated.
27380 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27381 (TEST_COND_x86): Likewise.
27382 (ccos_test_data): Use AUTO_TESTS_c_c.
27383 (ccosh_test_data): Likewise.
27384 (cexp_test_data): Likewise.
27385 (clog_test_data): Likewise.
27386 (csqrt_test_data): Likewise.
27387 (ctan_test_data): Likewise.
27388 (ctan_tonearest_test_data): Likewise.
27389 (ctan_towardzero_test_data): Likewise.
27390 (ctan_downward_test_data): Likewise.
27391 (ctan_upward_test_data): Likewise.
27392 (ctanh_test_data): Likewise.
27393 (ctanh_tonearest_test_data): Likewise.
27394 (ctanh_towardzero_test_data): Likewise.
27395 (ctanh_downward_test_data): Likewise.
27396 (ctanh_upward_test_data): Likewise.
27397 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27398 mpc_c_c.
27399 (func_calc_desc): Add mpc_c_c union field.
27400 (FUNC_mpc_c_c): New macro.
27401 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27402 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27403 ctanh.
27404 (special_fill_min_subnorm_p120): New function.
27405 (special_real_inputs): Add min_subnorm_p120.
27406 (calc_generic_results): Handle mpc_c_c.
27407 * sysdeps/i386/fpu/libm-test-ulps: Update.
27408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27409
27410 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27411
27412 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27413 (do_sin_slow): New functions.
27414 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27415 (cslow2, csloww1, csloww2): Use the new functions.
27416
27417 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27418 Use M to change sign of result instead of X. Assume X is
27419 positive.
27420 (csloww1): Likewise.
27421 (__sin): Adjust.
27422 (__cos): Adjust.
27423
27424 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27425 arguments A and DA.
27426 (__sin): Adjust.
27427 (__cos): Likewise.
27428
27429 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27430 (__cos): Likewise.
27431 (sloww1): Don't adjust sign of DX.
27432 (csloww1): Likewise.
27433 (sloww2): Use X directly and don't adjust sign of DX.
27434 (csloww2): Likewise.
27435
27436 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27437
27438 * math/auto-libm-test-in: Add tests of cabs and carg.
27439 * math/auto-libm-test-out: Regenerated.
27440 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27441 (carg_test_data): Likewise.
27442 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27443 mpc_c_f.
27444 (func_calc_desc): Add mpc_c_f union field.
27445 (test_functions): Add cabs and carg.
27446 (calc_generic_results): Handle mpc_c_f.
27447
27448 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27449 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27450 as a macro and a compat symbol.
27451 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27452 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27453 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27454 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27455 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27456 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27457 not use .hidden.
27458 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27459 Likewise.
27460 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27461 Likewise.
27462 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27463 Likewise.
27464 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27465 Likewise.
27466 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27467 Likewise.
27468 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27469 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27470 from GLIBC_2.3.2.
27471
27472 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27473
27474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27475
27476 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27477
27478 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27479 trailing whitespace removed.
27480 * scripts/config.guess: Update to version 2013-11-29.
27481 * scripts/config.sub: Update to version 2013-10-01.
27482
27483 * math/auto-libm-test-in: Add tests of sincos.
27484 * math/auto-libm-test-out: Regenerated.
27485 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27486 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27487 mpfr_f_11.
27488 (func_calc_desc): Add mpfr_f_11 union field.
27489 (test_functions): Add sincos.
27490 (calc_generic_results): Handle mpfr_f_11.
27491 * sysdeps/i386/fpu/libm-test-ulps: Update.
27492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27493
27494 2013-12-19 Andreas Schwab <schwab@suse.de>
27495
27496 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27497 CALL_MCOUNT.
27498 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27499 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27500 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27501
27502 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27503
27504 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27505 * sysdeps/i386/fpu/libm-test-ulps: Update.
27506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27507
27508 [BZ #16293]
27509 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27510 round-to-nearest mode when using frndint.
27511 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27512 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27513 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27514 Likewise.
27515 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
27516 sinh test to fail.
27517 * math/auto-libm-test-out: Regenerated.
27518 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27519 (TEST_COND_x86): Likewise.
27520 (expm1_tonearest_test_data): New array.
27521 (expm1_test_tonearest): New function.
27522 (expm1_towardzero_test_data): New array.
27523 (expm1_test_towardzero): New function.
27524 (expm1_downward_test_data): New array.
27525 (expm1_test_downward): New function.
27526 (expm1_upward_test_data): New array.
27527 (expm1_test_upward): New function.
27528 (main): Run the new test functions.
27529 * sysdeps/i386/fpu/libm-test-ulps: Update.
27530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27531
27532 * include/features.h: Update comment documenting feature test
27533 macros. Mention _DEFAULT_SOURCE in comment.
27534 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27535 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27536 _BSD_SOURCE and _SVID_SOURCE.
27537 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27538 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27539 !_SVID_SOURCE]: Likewise.
27540 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27541 (__USE_POSIX_IMPLICITLY): Define.
27542 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27543 (_POSIX_SOURCE): Undefine and redefine.
27544 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27545 (_POSIX_C_SOURCE): Likewise.
27546 * manual/creature.texi (_DEFAULT_SOURCE): Document.
27547 (Feature Test Macros): Update documentation of default features.
27548
27549 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27550
27551 * benchtests/Makefile: Add bench-strtok.
27552 * benchtests/bench-strtok.c: New file: strtok benchtest.
27553
27554 2013-12-19 Allan McRae <allan@archlinux.org>
27555
27556 * manual/install.texi: Suppress menu for plain text output.
27557 * INSTALL: Regenerated.
27558
27559 2013-12-18 Brooks Moses <bmoses@google.com>
27560
27561 [BZ #15846]
27562 * misc/getauxval.c: Include errno.h.
27563 (__getauxval): Set errno to ENOENT if the requested type is not
27564 found.
27565 * misc/sys/auxv.h (getauxval): Document that it may set errno;
27566 don't declare with __attribute_const__.
27567 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27568 * manual/startup.texi: Document that getauxval sets errno.
27569
27570 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27571
27572 * math/auto-libm-test-in: Add tests of jn and yn.
27573 * math/auto-libm-test-out: Regenerated.
27574 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27575 (yn_test_data): Likewise.
27576 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27577 mpfr_if_f.
27578 (func_calc_desc): Add mpfr_if_f union field.
27579 (FUNC_mpfr_if_f): New macro.
27580 (test_functions): Add jn and yn.
27581 (calc_generic_results): Assert type of second input for
27582 mpfr_ff_f. Handle mpfr_if_f.
27583 (output_for_one_input_case): Disable all checking for arguments
27584 fitting floating-point types in case of an integer argument.
27585 * sysdeps/i386/fpu/libm-test-ulps: Update.
27586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27587
27588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27589 Don't expect fegetround reference in libm.so.
27590
27591 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27592
27593 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27594 $(config-cflags-nofma).
27595
27596 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27597
27598 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27599 * math/auto-libm-test-out: Regenerated.
27600
27601 [BZ #16338]
27602 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27603 to determine exponent and adjust argument to have exponent of -1.
27604 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27605 log2.
27606 * math/auto-libm-test-out: Regenerated.
27607 * sysdeps/i386/fpu/libm-test-ulps: Update.
27608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27609
27610 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
27611
27612 * manual/probes.texi: Remove cases when per-thread arenas are
27613 disabled.
27614
27615 2013-12-18 Andreas Schwab <schwab@suse.de>
27616
27617 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27618 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27619 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27620 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27621 * sysdeps/i386/i686/multiarch/Makefile: Update.
27622 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27623
27624 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27625
27626 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27627 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27628
27629 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
27630
27631 [BZ #15968]
27632 Support TZ transition times < 00:00:00.
27633 This is needed for version-3 tz-format files; it supports time
27634 stamps past 2037 for America/Godthab (the only entry in the tz
27635 database for which this change is relevant).
27636 * manual/time.texi (TZ Variable): Document transition times
27637 from -167:59:59 through -00:00:01.
27638 * time/tzset.c (tz_rule): Time of day is now signed.
27639 (__tzset_parse_tz): Parse negative time of day.
27640
27641 Document TZ transition times >= 25:00:00.
27642 * manual/time.texi (TZ Variable): Document transition times from
27643 25:00:00 through 167:59:59. These are already supported, and this
27644 support will help with version-3 tz-format files.
27645
27646 * manual/time.texi (TZ Variable): Modernize North America example
27647 to reflect current (i.e., 2007-and-later) daylight saving rules.
27648
27649 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27650
27651 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27652
27653 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27654 * sysdeps/unix/bsd/bits/stat.h: Likewise.
27655 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27656 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27657 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27658 * sysdeps/unix/bsd/bsdstat.h: Likewise.
27659 * sysdeps/unix/bsd/clock.c: Likewise.
27660 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27661 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27662 * sysdeps/unix/bsd/init-posix.c: Likewise.
27663 * sysdeps/unix/bsd/poll.c: Likewise.
27664 * sysdeps/unix/bsd/ptsname.c: Likewise.
27665 * sysdeps/unix/bsd/seekdir.c: Likewise.
27666 * sysdeps/unix/bsd/setegid.c: Likewise.
27667 * sysdeps/unix/bsd/seteuid.c: Likewise.
27668 * sysdeps/unix/bsd/setgid.c: Likewise.
27669 * sysdeps/unix/bsd/setrgid.c: Likewise.
27670 * sysdeps/unix/bsd/setruid.c: Likewise.
27671 * sysdeps/unix/bsd/setsid.c: Likewise.
27672 * sysdeps/unix/bsd/setuid.c: Likewise.
27673 * sysdeps/unix/bsd/sigaction.c: Likewise.
27674 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27675 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27676 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27677 * sysdeps/unix/bsd/telldir.c: Likewise.
27678 * sysdeps/unix/bsd/times.c: Likewise.
27679 * sysdeps/unix/bsd/usleep.c: Likewise.
27680
27681 * misc/Makefile (install-lib): Remove libbsd-compat.a.
27682 ($(objpfx)libbsd-compat.a): Remove rule.
27683
27684 * include/features.h (__FAVOR_BSD): Do not define.
27685 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27686 features conflicting with POSIX.
27687 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27688 (_BSD_SOURCE): Remove description of not being a subset of other
27689 feature test macros.
27690 * manual/job.texi (getpgrp): Do not document BSD version.
27691 (getpgid): Do not document by reference to BSD getpgrp.
27692 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27693 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27694 * signal/signal.h [__FAVOR_BSD]: Likewise.
27695 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27696 instead of making contents conditional on [__FAVOR_BSD].
27697 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27698
27699 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27700
27701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27702
27703 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27704
27705 [BZ #16314]
27706 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27707 values below 2**-450, not 2**-500.
27708 * math/auto-libm-test-in: Don't allow spurious underflow from
27709 hypot.
27710 * math/auto-libm-test-out: Regenerated.
27711
27712 [BZ #16316]
27713 [BZ #16330]
27714 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27715 values of ha and hb and sort them after adjusting subnormal
27716 arguments.
27717 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27718 Likewise.
27719 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27720 values of ea and eb and sort them after adjusting subnormal
27721 arguments.
27722 * math/auto-libm-test-in: Do not expect some hypot tests of
27723 subnormals to fail. Add more hypot tests.
27724 * math/auto-libm-test-out: Regenerated.
27725
27726 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27727
27728 [BZ #13304]
27729 * sysdeps/sh/s_fma.c: New file.
27730 * sysdeps/sh/s_fmaf.c: New file.
27731 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
27732 version.
27733 * sysdeps/sh/Implies: Add sh/soft-fp.
27734
27735 2013-12-16 Roland McGrath <roland@hack.frob.com>
27736
27737 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
27738 level of indirection to members `objname', `errstring', `malloced'.
27739 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27740 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
27741 it as the __longjmp argument (just pass 1 instead).
27742 (_dl_catch_error): Initialize C with argument pointers and address of
27743 volatile local ERRCODE rather than copying values out of C at return.
27744
27745 2013-12-16 Joseph Myers <joseph@codesourcery.com>
27746
27747 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27748 * math/auto-libm-test-out: Regenerated.
27749 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27750 (hypot_test_data): Likewise.
27751 (pow_test_data): Likewise.
27752 (pow_tonearest_test_data): Likewise.
27753 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27754 mpfr_ff_f.
27755 (func_calc_desc): Add mpfr_ff_f union field.
27756 (FUNC_mpfr_ff_f): New macro.
27757 (test_functions): Add atan2, hypot and pow.
27758 (special_fill_min): New function.
27759 (special_fill_minus_min): Likewise.
27760 (special_fill_min_subnorm): Likewise.
27761 (special_fill_minus_min_subnorm): Likewise.
27762 (special_real_inputs): Add min, -min, min_subnorm and
27763 -min_subnorm.
27764 (calc_generic_results): Handle mpfr_ff_f.
27765 * sysdeps/i386/fpu/libm-test-ulps: Update.
27766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27767
27768 2013-12-16 Will Newton <will.newton@linaro.org>
27769
27770 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27771 (Aligned Memory Blocks): Add documentation for aligned_alloc
27772 and suggest it as an alternative to posix_memalign.
27773 (Hooks for Malloc): Document __memalign_hook is also called
27774 for aligned_alloc. (Summary of Malloc): Add summary for
27775 aligned alloc. Document __memalign_hook is also called
27776 for aligned_alloc.
27777
27778 2013-12-16 Will Newton <will.newton@linaro.org>
27779
27780 * manual/memory.texi (Malloc Examples): Clarify default
27781 alignment documentation. Suggest posix_memalign rather
27782 than memalign or valloc.
27783 (Aligned Memory Blocks): Remove suggestion to use memalign
27784 or valloc. Remove obsolete comment about BSD.
27785 Document memalign errno values and mark the function obsolete.
27786 Document posix_memalign returned error codes. Mark valloc
27787 as obsolete. (Hooks for Malloc): __memalign_hook is also
27788 called for posix_memalign and valloc.
27789 (Summary of Malloc): Add posix_memalign to function summary.
27790 __memalign_hook is also called for posix_memalign and valloc.
27791
27792 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27793
27794 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27795 TAYLOR_SIN.
27796 (__sin): Adjust.
27797 (__cos): Likewise.
27798 (sloww): Use mynumber union. Expand ternary operator into
27799 if-else statements.
27800 (cslow): use mynumber union.
27801
27802 2013-12-16 Allan McRae <allan@archlinux.org>
27803
27804 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27805 * configure: Regenerated.
27806
27807 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27808
27809 [BZ #14120]
27810 * configure.ac: Added --enable-maintainer-mode. Check for
27811 autoconf when enabled.
27812 * configure: Regenerated.
27813
27814 * nscd/nscd.service: New file.
27815 * nscd/nscd.tmpfiles: New file.
27816
27817 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
27818
27819 [BZ #12100]
27820 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27821 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27822 * sysdeps/x86_64/multiarch/strstr.c: ... here.
27823 (strstr): Add __strstr_sse2_unaligned ifunc.
27824 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27825 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27826 (strcasestr): Remove __strcasestr_sse42 ifunc.
27827 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27828 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27830
27831 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27832
27833 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27834 * sysdeps/sh/bits/fenv.h: ... here.
27835 * sysdeps/sh/sh4/fpu/bits: Remove directory.
27836
27837 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27838
27839 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27840
27841 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27842 hypotf multiarch implementations.
27843 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27844 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27845 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27846 multiarch hypot for PPC64.
27847 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27848 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27849 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27850 multiarch hypotf for PPC64.
27851
27852 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27853 modff multiarch implementations.
27854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27857 multiarch modf for PPC64.
27858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27861 multiarch modff for PPC64.
27862
27863 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27864 and logl multiarch implementations.
27865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27868 multiarch logb for PPC64.
27869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27872 multiarch logb for PPC64.
27873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27876 multiarch logb for PPC64.
27877
27878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27879 isinff multiarch implementation.
27880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27881 file.
27882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27884 multiarch isinf for PPC64.
27885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27886 file.
27887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27888 multiarch isinff for PPC64.
27889
27890 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27891 finitef multiarch implementation.
27892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27893 file.
27894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27896 multiarch finite for PPC64.
27897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27898 file.
27899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27900 multiarch finitef for PPC64.
27901
27902 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27903 lrint multiarch implementation.
27904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27905 file.
27906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27908 multiarch llrint for PPC64.
27909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27910 multiarch lrint for PPC64.
27911
27912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27913 copysignf multiarch implementation.
27914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27915 file.
27916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27917 file.
27918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27919 multiarch copysign for PPC64.
27920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27921 multiarch copysignf for PPC64.
27922
27923 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27924 multiarch implementation.
27925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27926 file.
27927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27928 file.
27929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27930 file.
27931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27932 file.
27933 multiarch llround for PPC64.
27934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27935 multiarch trunc for PPC64.
27936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27937 multiarch truncf for PPC64.
27938
27939 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27940 multiarch implementation.
27941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27942 file.
27943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27944 file.
27945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27946 file.
27947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27948 file.
27949 multiarch llround for PPC64.
27950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27951 multiarch round for PPC64.
27952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27953 multiarch roundf for PPC64.
27954
27955 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27956 multiarch implementation.
27957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27958 file.
27959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27960 file.
27961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27962 file.
27963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27964 file.
27965 multiarch llround for PPC64.
27966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27967 multiarch floor for PPC64.
27968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27969 multiarch floorf for PPC64.
27970
27971 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27972 multiarch implementation.
27973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27974 file.
27975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27976 file.
27977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27978 file.
27979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27980 file.
27981 multiarch llround for PPC64.
27982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27983 multiarch ceil for PPC64.
27984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27985 multiarch ceilf for PPC64.
27986
27987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27988 multiarch implementation.
27989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27990 file.
27991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27992 file.
27993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27994 file.
27995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27996 multiarch llround for PPC64.
27997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27998 multiarch lround for PPC64.
27999
28000 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28001 multiarch implementation.
28002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28005 file.
28006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28009 multiarch isnan for PPC64.
28010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28011 multiarch isnanf for PPC64.
28012
28013 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28014 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28015 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28016 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28017 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28019
28020 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28021 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28022 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28023 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28024
28025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28026 multiarch implementations.
28027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28028 (__libc_ifunc_impl_list): Likewise.
28029 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28030 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28031 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28032 multiarch stpcpy for PPC64.
28033
28034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28035 multiarch implementations.
28036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28037 (__libc_ifunc_impl_list): Likewise.
28038 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28039 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28040 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28041 multiarch strcpy for PPC64.
28042
28043 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28044 redefine function name.
28045 (_wordcopy_fwd_dest_aligned): Likewise.
28046 (_wordcopy_bwd_aligned): Likewise.
28047 (_wordcopy_bwd_dest_aligned): Likewise.
28048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28049 multiarch implementations.
28050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28051 (__libc_ifunc_impl_list): Likewise.
28052 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28053 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28054 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28055 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28056 multiarch wcscpy for PPC64.
28057
28058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28059 multiarch implementations.
28060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28061 (__libc_ifunc_impl_list): Likewise.
28062 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28063 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28064 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28065 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28066 multiarch wcscpy for PPC64.
28067
28068 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28069 multiarch implementations.
28070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28071 (__libc_ifunc_impl_list): Likewise.
28072 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28073 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28074 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28075 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28076 multiarch wcsrchr for PPC64.
28077
28078 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28079 multiarch implementations.
28080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28081 (__libc_ifunc_impl_list): Likewise.
28082 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28083 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28084 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28085 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28086 multiarch wcschr for PPC64.
28087
28088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28089 multiarch implementations.
28090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28091 (__libc_ifunc_impl_list): Likewise.
28092 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28093 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28094 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28095 multiarch strchrnul for PPC64.
28096
28097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28098 implementations.
28099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28100 (__libc_ifunc_impl_list): Likewise.
28101 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28102 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28103 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28104 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28105 strchr for PPC64.
28106
28107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28108 implementations.
28109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28110 (__libc_ifunc_impl_list): Likewise.
28111 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28112 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28113 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28114 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28115 strncmp for PPC64.
28116
28117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28118 multiarch implementations.
28119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28120 (__libc_ifunc_impl_list): Likewise.
28121 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28122 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28123 strncasecmp for PPC64.
28124 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28125 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28126 multiarch strncasecmp_l for PPC64.
28127
28128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28129 multiarch implementations.
28130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28131 (__libc_ifunc_impl_list): Likewise.
28132 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28133 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28134 multiarch strcasecmp for PPC64.
28135 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28136 file.
28137 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28138 multiarch strcasecmp_l for PPC64.
28139
28140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28141 implementations.
28142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28143 (__libc_ifunc_impl_list): Likewise.
28144 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28145 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28146 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28147 strnlen for PPC64.
28148
28149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28150 implementations.
28151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28152 (__libc_ifunc_impl_list): Likewise.
28153 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28154 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28155 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28156 strlen for PPC64.
28157
28158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28159 implementations.
28160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28161 (__libc_ifunc_impl_list): Likewise.
28162 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28163 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28164 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28165 rawmemrchr for PPC64.
28166
28167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28168 implementation.
28169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28170 (__libc_ifunc_impl_list): Likewise.
28171 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28172 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28173 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28174 memrchr for PPC64.
28175
28176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28177 implementation.
28178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28179 (__libc_ifunc_impl_list): Likewise.
28180 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28181 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28182 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28183 memchr for PPC64.
28184
28185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28186 implementation.
28187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28188 (__libc_ifunc_impl_list): Likewise.
28189 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28190 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28191 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28192 mempcpy for PPC64.
28193
28194 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28195 avoid cretion of __bzero symbol.
28196 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28197 Likewise.
28198 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28199 Likewise.
28200 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28201 Likewise.
28202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28203 multiarch implementations.
28204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28205 (__libc_ifunc_impl_list): Likewise.
28206 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28207 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28208 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28209 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28210 bzero for PPC32.
28211 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28212 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28213 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28214 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28215 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28216 memset for PPC64.
28217 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28218
28219 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28221 implementations.
28222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28223 (__libc_ifunc_impl_list): Likewise.
28224 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28225 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28226 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28227 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28228 memcmp for PPC64.
28229
28230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28231 multiarch for POWER/PPC64.
28232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28233 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28234 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28235 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28236 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28237 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28238 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28240 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28241 memcpy for PPC64.
28242
28243 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28244 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28245 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28246 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28247 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28248 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28249 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28250 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28251 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28252 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28253 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28254 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28255 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28256 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28257 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28265
28266 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28267
28268 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28269
28270 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28271
28272 * benchtests/Makefile (bench): Add exp2 and log2.
28273 (LDLIBS-bench-exp2): Add -lm.
28274 (LDLIBS-bench-log2): Likewise.
28275 * benchtests/exp2-inputs: New inputs file.
28276 * benchtests/log2-inputs: New inputs file.
28277 * benchtests/log-inputs: Add new inputs.
28278 * benchtests/tan-inputs: Likewise.
28279
28280 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28281
28282 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28283 definition...
28284 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28285 (csloww2): ... from here.
28286
28287 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28288 instead of structures.
28289 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28290 (POLYNOMIAL): Likewise.
28291 (TAYLOR_SLOW): Likewise.
28292 (__sin): Likewise.
28293 (__cos): Likewise.
28294 (slow1): Likewise.
28295 (slow2): Likewise.
28296 (sloww): Likewise.
28297 (sloww1); Likewise.
28298 (sloww2): Likewise.
28299 (bsloww1): Likewise.
28300 (bsloww2): Likewise.
28301 (cslow2): Likewise.
28302 (csloww): Likewise.
28303 (csloww1): Likewise.
28304 (csloww2): Likewise.
28305
28306 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28307
28308 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28309 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28310 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28311 * malloc/hooks.c (realloc_check): Likewise.
28312
28313 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28314 * malloc/arena.c: Remove PER_THREAD conditional.
28315 [!PER_THREAD]: Remove code.
28316 (ptmalloc_unlock_all2): Likewise.
28317 (ptmalloc_init): Likewise.
28318 (_int_new_arena): Likewise.
28319 (arena_get2): Likewise.
28320 * malloc/hooks.c (__malloc_get_state): Likewise.
28321 (__malloc_set_state): Likewise.
28322 * malloc/malloc.c: Likewise.
28323 (struct malloc_state): Likewise.
28324 (struct malloc_par): Likewise.
28325 (__libc_realloc): Likewise.
28326 (__libc_mallopt): Likewise.
28327
28328 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28329
28330 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28331
28332 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28333
28334 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28335 macro to a function. Check for zero perturb_byte.
28336 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28337
28338 * malloc/malloc.c: (force_reg): Remove.
28339 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28340 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28341 force_reg by atomic_forced_read.
28342 * malloc/arena.c (ptmalloc_init): Likewise.
28343 * malloc/hooks.c (top_check): Likewise.
28344
28345 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28346
28347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28348
28349 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28350
28351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28352
28353 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28354
28355 * math/auto-libm-test-in: Add tests of lgamma.
28356 * math/auto-libm-test-out: Regenerated.
28357 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28358 (M_LOG_2_SQRT_PIl): Likewise.
28359 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28360 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28361 mpfr_f_f1.
28362 (func_calc_desc): Add mpfr_f_f1 union field.
28363 (ARGS1): New macro.
28364 (ARGS2): Likewise.
28365 (ARGS3): Likewise.
28366 (ARGS4): Likewise.
28367 (RET1): Likewise.
28368 (RET2): Likewise.
28369 (CALC): Likewise.
28370 (FUNC): Likewise.
28371 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28372 (test_functions): Add lgamma.
28373 (calc_generic_results): Handle mpfr_f_f1.
28374 * sysdeps/i386/fpu/libm-test-ulps: Update.
28375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28376
28377 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28378
28379 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28380 __mpn_add_n for PowerPC64/POWER7.
28381 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28382 __mpn_sub_n for PowerPC64/POWER7.
28383
28384 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28385 __mpn_addmul_1 for PowerPC64.
28386 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28387 __mpn_submul_1 for PowerPC64.
28388 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28389 for PowerPC64.
28390 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28391 for PowerPC64.
28392
28393 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28394
28395 [BZ #15089]
28396 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28397
28398 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28399
28400 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28401
28402 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28403 add multiarch folders.
28404 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28405 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28406 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28407 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28408 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28409 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28410 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28411 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28412 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28413 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28414 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28421
28422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28423 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28425 New file.
28426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28427 New file.
28428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28429 multiarch __ieee754_hypot for PowerPC32.
28430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28431 New file.
28432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28433 New file.
28434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28435 multiarch __ieee754_hypotf for PowerPC32.
28436
28437 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28438 long_double_symbol only if __logbl is defined.
28439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28440 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28442 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28444 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28445 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28446 path for implementation.
28447 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28448 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28450 logb, and logbl multiarch implementations for PowerPC32.
28451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28452 file.
28453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28454 file.
28455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28456 multiarch logb for PowerPC32.
28457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28458 file.
28459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28460 file.
28461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28462 multiarch logbf for PowerPC32.
28463 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28465 file.
28466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28467 multiarch logbl implementation for PowerPC32.
28468
28469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28470 and modff multiarch implementations.
28471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28472 New file.
28473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28474 New file.
28475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28476 multiarch modf for PowerPC32.
28477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28478 New file.
28479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28480 New file.
28481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28482 multiarch modff for PowerPC32.
28483
28484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28485 and lrintf multiarch implementations.
28486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28487 New file.
28488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28489 New file.
28490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28491 multiarch lrint for PowerPC32.
28492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28493 file: multiarch lrintf for PowerPC32.
28494
28495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28496 and lroundf multiarch implementations.
28497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28498 New file.
28499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28500 New file.
28501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28502 New file.
28503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28504 multiarch lround for PowerPC32.
28505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28506 file: multiarch lroundf for PowerPC32.
28507
28508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28509 copysign and copysignf multiarch implementations.
28510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28511 New file.
28512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28513 New file.
28514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28515 file: multiarch copysign for PowerPC32.
28516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28517 file: multiarch copysignf for PowerPC32.
28518
28519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28520 and truncf multiarch implementations.
28521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28522 New file.
28523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28524 file.
28525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28526 multiarch trunc for PowerPC32.
28527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28528 New file.
28529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28530 New file.
28531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28532 multiarch truncf for PowerPC32.
28533
28534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28535 and roundf multiarch implementations.
28536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28537 New file.
28538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28539 file.
28540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28541 multiarch round for PowerPC32.
28542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28543 New file.
28544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28545 New file.
28546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28547 multiarch roundf for PowerPC32.
28548
28549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28550 and floorf multiarch implementations.
28551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28552 New file.
28553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28554 file.
28555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28556 multiarch floor for PowerPC32.
28557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28558 New file.
28559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28560 New file.
28561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28562 multiarch floorf for PowerPC32.
28563
28564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28565 and ceilf multiarch implementations.
28566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28567 New file.
28568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28569 file.
28570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28571 multiarch ceil for PowerPC32.
28572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28573 New file.
28574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28575 file.
28576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28577 multiarch ceilf for PowerPC32.
28578
28579 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28580 is defined.
28581 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28582 FINITEF is defined.
28583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28584 and finitef multiarch implementations.
28585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28586 New file.
28587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28588 file.
28589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28590 multiarch finite for PowerPC32.
28591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28592 New file.
28593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28594 file: multiarch finitef for PowerPC32.
28595
28596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28597 and isinff multiarch implementations.
28598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28599 file.
28600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28601 file.
28602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28603 multiarch isinf for PowerPC32.
28604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28605 New file.
28606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28607 multiarch isinff for PowerPC32.
28608
28609 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28610 alias when __isnan is defined.
28611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28612 and isnanf multiarch implementations.
28613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28614 file.
28615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28616 file.
28617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28618 file.
28619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28620 file.
28621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28622 multiarch isnan for PowerPC32.
28623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28624 New file.
28625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28626 New file.
28627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28628 multiarch isnanf for PowerPC32.
28629
28630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28631 and sqrtf multiarch implementations.
28632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28633 file.
28634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28635 file.
28636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28637 multiarch sqrt for PowerPC32.
28638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28639 file.
28640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28641 file.
28642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28643 multiarch sqrtf for PowerPC32.
28644
28645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28646 and llroundf multiarch implementations.
28647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28648 New file.
28649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28650 New file.
28651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28652 New file.
28653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28654 file: multiarch llround for PowerPC32.
28655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28656 file: multiarch llroundf for PowerPC32.
28657
28658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28659 multiarch PowerPC32 fpu implementations.
28660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28661 New file.
28662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28663 New file.
28664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28665 multiarch llrint for PowerPC32.
28666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28667 New file.
28668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28669 New file.
28670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28671 file.
28672
28673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28674
28675 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28676 file.
28677 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28678 file.
28679 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28680 file.
28681 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28682 multiarch wordcopy for PPC32.
28683 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28684 wordcopy objects.
28685 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28686 (__libc_ifunc_impl_list): Likewise.
28687 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28688 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28689 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28690 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28691 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28692 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28693
28694 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28695 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28696 file.
28697 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28698 file.
28699 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28700 file.
28701 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28702 multiarch wcscpy for PPC32.
28703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28704 multiarch objects.
28705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28706 (__libc_ifunc_impl_list): Likewise.
28707 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28708 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28709 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28710 sysdeps/powerpc/power6/wcscpy.c.
28711
28712 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28713 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28714 file.
28715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28716 file.
28717 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28718 file.
28719 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28720 multiarch wcsrchr for PPC32.
28721 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28722 multiarch objects.
28723 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28724 (__libc_ifunc_impl_list): Likewise.
28725 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28726 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28727 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28728 sysdeps/powerpc/power6/wcsrchr.c.
28729
28730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28731 file.
28732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28733 file.
28734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28735 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28736 multiarch wcschr for PPc32.
28737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28738 multiarch objects.
28739 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28740 (__libc_ifunc_impl_list): Likewise.
28741 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28742 * sysdeps/powerpc/power6/wcschr.c: ... to here.
28743 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28744 sysdeps/powerpc/power6/wcschr.c.
28745
28746 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28747 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28748 file.
28749 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28750 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28751 file: multiarch strchr for PPC32.
28752 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28753 multiarch objects.
28754 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28755 (__libc_ifunc_impl_list): Likewise.
28756
28757 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28758 name.
28759 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28760 file.
28761 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28762 file.
28763 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28764 multiarch strchrnul for PPC32.
28765 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28766 multiarch objects.
28767 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28768 (__libc_ifunc_impl_list): Likewise.
28769
28770 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28771 file.
28772 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28773 multiarch strncasecmp for PPC32.
28774 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28775 file.
28776 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28777 multiarch strncasecmp_l for PPC32.
28778 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28779 strncasecmp multiarch objects.
28780 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28781 (__libc_ifunc_impl_list): Likewise.
28782
28783 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28784 file.
28785 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28786 multiarch strncasecmp for PPC32.
28787 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28788 New file.
28789 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28790 multiarch strcasecmp_l for PPC32.
28791 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28792 multiarch objects.
28793 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28794 (__libc_ifunc_impl_list): Likewise.
28795
28796 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28797 file.
28798 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28799 file.
28800 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28801 multiarch strncmp for PPC32.
28802 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28803 multiarch objects.
28804 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28805 (__libc_ifunc_impl_list): Likewise.
28806
28807 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28808 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28809 file.
28810 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28811 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28813 multiarch objects.
28814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28815 (__libc_ifunc_impl_list): Likewise.
28816
28817 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28818 file.
28819 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28820 file.
28821 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28822 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28823 multiarch objects.
28824 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28825 (__libc_ifunc_impl_list): Likewise.
28826
28827 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28828 file.
28829 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28830 file.
28831 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28832 multiarch rawmemchr for PPC32.
28833 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28834 multiarch objects.
28835 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28836 (__libc_ifunc_impl_list): Likewise.
28837
28838 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28839 file.
28840 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28841 file.
28842 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28843 file: memrchr multiarch for PPC32.
28844 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28845 multiarch objects.
28846 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28847 (__libc_ifunc_impl_list): Likewise.
28848
28849 * string/memchr.c (__memchr): Using macro to redefine symbol name.
28850 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28851 file.
28852 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28853 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28854 multiarch memchr for PPC32.
28855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28856 multiarch objects.
28857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28858 (__libc_ifunc_impl_list): Likewise.
28859
28860 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28861 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28862 file.
28863 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28864 file.
28865 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28866 file: multiarch mempcpy for PPC32.
28867 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28868 multiarch objects.
28869 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28870 (__libc_ifunc_impl_list): Likewise.
28871
28872 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28873 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28874 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28875 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28876 multiarch bzero for PPC32.
28877 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28878 file.
28879 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28880 file.
28881 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28882 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28883 file: multiarch memset for PPC32.
28884 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28886 memset multiarch objects.
28887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28888 (__libc_ifunc_impl_list): Likewise.
28889
28890 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28891 file.
28892 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28893 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28894 memcmp for PPC32.
28895 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28896 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28897 multiarch objects.
28898 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28899 (__libc_ifunc_impl_list): Likewise.
28900
28901 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28902 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28903 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28904 file.
28905 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28906 file.
28907 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28908 file.
28909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28910 multiarch memcpy for PPC32.
28911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28912 multiarch objects.
28913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28914 (__libc_ifunc_impl_list): Likewise.
28915
28916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28917 support multiarch for POWER/PPC32.
28918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28919 Likewise.
28920 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28922 Implies file to make multiarch folder appers before the fpu and
28923 default folder for power4 configuration.
28924
28925 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28926
28927 * scripts/bench.pl: Append volatile keyword to type.
28928
28929 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28930
28931 * sysdeps/sh/sotruss-lib.c: New file.
28932 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28933
28934 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28935
28936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28937
28938 2013-12-05 Joseph Myers <joseph@codesourcery.com>
28939
28940 [BZ #6810]
28941 * math/w_tgamma.c: Include <errno.h>.
28942 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
28943 * math/w_tgammaf.c: Include <errno.h>.
28944 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
28945 * math/w_tgammal.c: Include <errno.h>.
28946 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
28947 * math/auto-libm-test-in: Do not allow missing errno on tgamma
28948 underflow. Add more tgamma tests.
28949 * math/auto-libm-test-out: Regenerated.
28950 * sysdeps/i386/fpu/libm-test-ulps: Update.
28951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28952
28953 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28954 sin, sinh, tan, tanh, tgamma, y0 and y1.
28955 * math/auto-libm-test-out: Regenerated.
28956 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28957 (TEST_COND_x86): Likewise.
28958 (M_E2l): Remove macro.
28959 (M_E3l): Likewise.
28960 (M_2_SQRT_PIl): Likewise.
28961 (M_SQRT_PIl): Likewise.
28962 (M_1_DIV_El): Likewise.
28963 (log_test_data): Use AUTO_TESTS_f_f.
28964 (log10_test_data): Likewise.
28965 (log1p_test_data): Likewise.
28966 (log2_test_data): Likewise.
28967 (sin_test_data): Likewise.
28968 (sin_tonearest_test_data): Likewise.
28969 (sin_towardzero_test_data): Likewise.
28970 (sin_downward_test_data): Likewise.
28971 (sin_upward_test_data): Likewise.
28972 (sinh_test_data): Likewise.
28973 (sinh_tonearest_test_data): Likewise.
28974 (sinh_towardzero_test_data): Likewise.
28975 (sinh_downward_test_data): Likewise.
28976 (sinh_upward_test_data): Likewise.
28977 (tan_test_data): Likewise.
28978 (tan_tonearest_test_data): Likewise.
28979 (tan_towardzero_test_data): Likewise.
28980 (tan_downward_test_data): Likewise.
28981 (tan_upward_test_data): Likewise.
28982 (tanh_test_data): Likewise.
28983 (tgamma_test_data): Likewise.
28984 (y0_test_data): Likewise.
28985 (y1_test_data): Likewise.
28986 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28987 (special_real_inputs): Add pi/4.
28988 * sysdeps/i386/fpu/libm-test-ulps: Update.
28989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28990
28991 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28992
28993 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28994 "longjmp_target" static probes.
28995 (__longjmp): Rename to __longjmp_symbol.
28996 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28997 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28998 on which longjmp to generate.
28999 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29000 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29001 probe.
29002 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29003 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29004 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29005 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29006 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29007 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29009 __longjmp_symbol based on which __longjmp to generate.
29010 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29011 probe.
29012 (setjmp): Rename to setjmp_symbol.
29013 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29014 (_setjmp): Rename to _setjmp_symbol.
29015 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29016 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29017 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29018 which setjmp to generate.
29019 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29020 "longjmp_target" static probes.
29021
29022 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29023
29024 * benchtests/README: Add note about output arguments.
29025 * benchtests/bench-sincos.c: Remove file.
29026 * benchtests/sincos-inputs: New file.
29027 * scripts/bench.pl: Identify output arguments and define
29028 static variables for them.
29029
29030 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29031
29032 [BZ #15941]
29033 * Makefile (INSTALL): Add install-plain.texi as the primary
29034 dependency.
29035 * manual/install-plain.texi: New file.
29036 * manual/install.texi: Include node directive only for
29037 non-plaintext output.
29038
29039 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29040
29041 * stdlib/longlong.h: Update from GCC.
29042
29043 [BZ #6807]
29044 [BZ #15901]
29045 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29046 * math/w_j0f.c (y0f): Likewise.
29047 * math/w_j0l.c (__y0l): Likewise.
29048 * math/w_j1.c (y1): Likewise.
29049 * math/w_j1f.c (y1f): Likewise.
29050 * math/w_j1l.c (__y1l): Likewise
29051 * math/w_jn.c (yn): Likewise.
29052 * math/w_jnf.c (ynf): Likewise.
29053 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29054 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29055 value for Bessel function domain errors outside _SVID_ mode.
29056 Adjust sign of return value for yn (negative integer, 0).
29057 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29058 by zero in return for negative x and set sign appropriately for
29059 negative n.
29060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29061 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29062 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29063 expectations in error cases.
29064 (y1_test_data): Likewise.
29065 (yn_test_data): Likewise.
29066 * sysdeps/i386/fpu/libm-test-ulps: Update.
29067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29068
29069 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29070
29071 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29072 "64" to "64-v1". Add "64-v2".
29073 (abi-64-options): Rename to ...
29074 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29075 (abi-64-condition): Rename to ...
29076 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29077 (abi-64-ld-soname): Rename to ...
29078 (abi-64-v1-ld-soname): ... this.
29079 (abi-64-v2-options): Define.
29080 (abi-64-v2-condition): Likewise.
29081 (abi-64-v2-ld-soname): Likewise.
29082 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29083 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29087
29088 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29089 Alan Modra <amodra@gmail.com>
29090
29091 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29092 New versions for use with the ELFv2 ABI.
29093 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29094 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29095 declaration.
29096 (struct La_ppc64v2_retval): Likewise.
29097 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29098 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29099 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29100 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29101 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29102 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29103 Do not save or restore CR.
29104 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29105 (_dl_profile_resolve): Do no save or restore CR. Support extended
29106 return values for ELFv2 ABI. Fix location of FPR return registers.
29107 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29108 updated values for _CALL_ELF == 2.
29109 (La_regs, La_retval, int_retval): Likewise.
29110
29111 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29112
29113 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29114 (FRAME_MIN_SIZE_PARM): Likewise.
29115 (FRAME_BACKCHAIN): Likewise.
29116 (FRAME_CR_SAVE): Likewise.
29117 (FRAME_LR_SAVE): Likewise.
29118 (FRAME_TOC_SAVE): Likewise.
29119 (FRAME_PARM_SAVE): Likewise.
29120 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29121 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29122 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29123 (call_mcount_parm_offset): New macro.
29124 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29125 (PROF): Use symbolic stack frame offsets.
29126 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29127 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29128 Redefine in terms of FRAME_MIN_SIZE.
29129 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29130 (_dl_profile_resolve): Likewise. Update comment.
29131 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29132 symbols stack frame offsets.
29133 (__sigsetjmp): Likewise.
29134 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29135 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29136 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29137 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29138
29139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29140 (FRAME_BACKCHAIN): Remove.
29141 (FRAME_CR_SAVE): Likewise.
29142 (FRAME_LR_SAVE): Likewise.
29143 (FRAME_COMPILER_DW): Likewise.
29144 (FRAME_LINKER_DW): Likewise.
29145 (FRAME_TOC_SAVE): Likewise.
29146 (FRAME_PARM_SAVE): Likewise.
29147 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29148 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29149 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29151 (CHECK_SP): Use symbolic stack frame offsets.
29152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29153 zone" instead of caller's parameter save area for temp storage.
29154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29155 Likewise. Also, use symbolic stack frame offsets.
29156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29157 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29158 our own stack frame instead of the caller's.
29159 (__socket): Use symbolic stack frame offsets.
29160
29161 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29162 Alan Modra <amodra@gmail.com>
29163
29164 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29165 Define.
29166 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29167 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29168 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29169 New function.
29170 (elf_machine_fixup_plt): Call it.
29171 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29172 reloc arguments.
29173 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29174 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29175 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29176 r2 before calling target.
29177
29178 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29179 Alan Modra <amodra@gmail.com>
29180
29181 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29182 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29183 versions of macros to support ELFv2 ABI.
29184 (LOCALENTRY): New macro.
29185 (ENTRY, EALIGN): Use it.
29186 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29187 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29188 fall through into ENTRY entry point.
29189 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29190 Only define if _CALL_ELF != 2.
29191
29192 (elf_machine_matches_host): Verify ABI version matches.
29193 (RTLD_START): Use LOCALENTRY.
29194 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29195 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29196 (PLT_ENTRY_WORDS): New macro.
29197 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29198 (elf_machine_runtime_setup): Support ELFv2 ABI.
29199 (elf_machine_fixup_plt): Likewise.
29200 (elf_machine_plt_conflict): Likewise.
29201 (resolve_ifunc): Likewise.
29202 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29203 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29204 Likewise.
29205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29206 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29208 (makecontext): Support ELFv2 ABI.
29209 * elf/elf.h (EF_PPC64_ABI): Define.
29210
29211 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29212
29213 * sysdeps/powerpc/powerpc64/sysdep.h
29214 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29215 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29216 (ENTRY) [ASSEMBLER]: ... but instead here ...
29217 (EALIGN) [ASSEMBLER]: ... and here.
29218 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29219 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29220 (ENTRY_2) [!ASSEMBLER]: Use it.
29221 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29222 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29223 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29224 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29225 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29227 Use PPC64_LOAD_FUNCPTR.
29228
29229 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29230
29231 2013-12-04 Alan Modra <amodra@gmail.com>
29232
29233 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29234 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29235 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29236 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29237
29238 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29239 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29240 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29241 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29242 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29243 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29244
29245 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29246
29247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29248 (__makecontext): Fix incorrect CFI when backtracing out of
29249 context created via makecontext.
29250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29251 (__setcontext): Fix incorrect CFI during switch to new context.
29252 (__novec_setcontext): Likewise.
29253
29254 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29255
29256 [BZ #4772]
29257 * time/strptime_l.c (__strptime_internal): Allow modifiers
29258 in strptime.
29259 * time/tst-strptime.c (day_tests): Add testcase.
29260
29261 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29262
29263 * scripts/bench.pl: Skip over blank lines.
29264
29265 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29266
29267 [BZ #926]
29268 * manual/time.texi (Calendar Time): Clarify what timezone functions
29269 use.
29270
29271 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29272
29273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29274
29275 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29276
29277 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29278 implementation.
29279 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29280 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29281 * debug/memset_chk.c (__memset_chk): Likewise.
29282 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29283 * debug/strncpy_chk.c: Likewise.
29284
29285 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29286
29287 [BZ #15268]
29288 [BZ #15425]
29289 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29290 (__ieee754_exp): For possibly underflowing results, check size of
29291 result and force underflow exception if required.
29292 * math/auto-libm-test-in: Add more tests of exp.
29293 * math/auto-libm-test-out: Regenerated.
29294 * sysdeps/i386/fpu/libm-test-ulps: Update.
29295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29296
29297 [BZ #16283]
29298 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29299 * math/w_exp2f.c (__exp2f): Likewise.
29300 * math/w_exp2l.c (__exp2l): Likewise.
29301 * math/auto-libm-test-in: Do not allow missing errno on exp2
29302 underflow.
29303 * math/auto-libm-test-out: Regenerated.
29304
29305 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29306
29307 [BZ #16274]
29308 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29309 handle filename validation.
29310 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29311 (do_open): Delete.
29312
29313 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29314
29315 [BZ #6786]
29316 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29317 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29318 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29319 <float.h>.
29320 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29321 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29322 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29323 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29324 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29325 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29326 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29327 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29328 Add more erfc tests.
29329 * math/auto-libm-test-out: Regenerated.
29330 * sysdeps/i386/fpu/libm-test-ulps: Update.
29331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29332
29333 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29334 exp2, expm1, j0 and j1.
29335 * math/auto-libm-test-out: Regenerated.
29336 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29337 (erfc_test_data): Likewise.
29338 (exp_test_data): Likewise.
29339 (exp_tonearest_test_data): Likewise.
29340 (exp_towardzero_test_data): Likewise.
29341 (exp_downward_test_data): Likewise.
29342 (exp_upward_test_data): Likewise.
29343 (exp10_test_data): Likewise.
29344 (exp2_test_data): Likewise.
29345 (expm1_test_data): Likewise.
29346 (j0_test_data): Likewise.
29347 (j1_test_data): Likewise.
29348 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29349 (input_flag_type): Add flag_xfail_rounding.
29350 (input_flags): Add xfail-rounding.
29351 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29352 (output_for_one_input_case): Handle flag_xfail_rounding.
29353 * sysdeps/i386/fpu/libm-test-ulps: Update.
29354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29355
29356 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29357
29358 [BZ #16289]
29359 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29360 division by 0.
29361
29362 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29363
29364 [BZ #16195]
29365 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29366 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29367 (STAP_PROBE0): New macro.
29368 (STAP_PROBE1): Likewise.
29369 (STAP_PROBE2): Likewise.
29370 (STAP_PROBE3): Likewise.
29371 (STAP_PROBE4): Likewise.
29372
29373 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29374
29375 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29376
29377 2013-12-02 Steve Ellcey <sellcey@mips.com>
29378
29379 * benchtests/Makefile (bench): Add sqrt.
29380 (LDLIBS-bench-sqrt): New.
29381 * benchtests/sqrt-input: New.
29382
29383 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29384
29385 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29386 (GAIH_EAI): Likewise.
29387 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29388 (gaih_inet): Likewise.
29389 (getaddrinfo): Don't use GAIH_EAI.
29390
29391 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29392 (struct gaih): Remove definition.
29393
29394 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29395
29396 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29397 Use HERRNOP directly.
29398
29399 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29400
29401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29402
29403 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29404
29405 * math/gen-auto-libm-tests.c (test_functions): Add more
29406 single-argument functions.
29407 (special_fill_pi_2): New function.
29408 (special_fill_minus_pi_2): Likewise.
29409 (special_fill_pi_6): Likewise.
29410 (special_fill_minus_pi_6): Likewise.
29411 (special_fill_pi_3): Likewise.
29412 (special_fill_2pi_3): Likewise.
29413 (special_fill_e): Likewise.
29414 (special_fill_1_e): Likewise.
29415 (special_fill_e_minus_1): Likewise.
29416 (special_real_inputs): Add more special inputs.
29417 (output_for_one_input_case): Do not require ERANGE on underflow to
29418 zero if round-to-nearest result does not underflow to zero, unless
29419 exact results required.
29420 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29421 atan, atanh, cbrt, cos and cosh.
29422 * math/auto-libm-test-out: Regenerated.
29423 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29424 (acos_tonearest_test_data): Likewise.
29425 (acos_towardzero_test_data): Likewise.
29426 (acos_downward_test_data): Likewise.
29427 (acos_upward_test_data): Likewise.
29428 (acosh_test_data): Likewise.
29429 (asin_test_data): Likewise.
29430 (asin_tonearest_test_data): Likewise.
29431 (asin_towardzero_test_data): Likewise.
29432 (asin_upward_test_data): Likewise.
29433 (asinh_test_data): Likewise.
29434 (atan_test_data): Likewise.
29435 (atanh_test_data): Likewise.
29436 (cbrt_test_data): Likewise.
29437 (cos_test_data): Likewise.
29438 (cos_tonearest_test_data): Likewise.
29439 (cos_towardzero_test_data): Likewise.
29440 (cos_downward_test_data): Likewise.
29441 (cos_upward_test_data): Likewise.
29442 (cosh_test_data): Likewise.
29443 (cosh_tonearest_test_data): Likewise.
29444 (cosh_towardzero_test_data): Likewise.
29445 (cosh_downward_test_data): Likewise.
29446 (cosh_upward_test_data): Likewise.
29447 * sysdeps/i386/fpu/libm-test-ulps: Update.
29448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29449
29450 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29451
29452 [BZ #6787]
29453 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29454 * math/w_exp10f.c (__exp10f): Likewise.
29455 * math/w_exp10l.c (__exp10l): Likewise.
29456 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29457 errno settings in existing tests.
29458
29459 [BZ #14032]
29460 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29461 precision control set to double precision.
29462 * sysdeps/i386/fpu/w_sqrt.c: New file.
29463 * math/auto-libm-test-in: Add more tests.
29464 * math/auto-libm-test-out: Update.
29465
29466 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29467 (sqrt_test_tonearest): New function.
29468 (sqrt_towardzero_test_data): New variable.
29469 (sqrt_test_towardzero): New function.
29470 (sqrt_downward_test_data): New variable.
29471 (sqrt_test_downward): New function.
29472 (sqrt_upward_test_data): New variable.
29473 (sqrt_test_upward): New function.
29474 (main): Call the new functions.
29475
29476 * math/gen-auto-libm-tests.c: New file.
29477 * math/auto-libm-test-in: Likewise.
29478 * math/auto-libm-test-out: New generated file.
29479 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29480 variables.
29481 (%beautify): Add generated representations of zero.
29482 (top level): Set $auto_input and call parse_auto_input.
29483 (beautify): Remove trailing "f" from hex float constants.
29484 (parse_args): Handle XFAIL_TEST.
29485 (convert_condition): New function.
29486 (or_value): Likewise.
29487 (or_cond_value): Likewise.
29488 (generate_testfile): Handle AUTO_TESTS_* lines.
29489 (parse_auto_input): New function.
29490 * math/libm-test.inc (XFAIL_TEST): New macro.
29491 (ERRNO_UNCHANGED): Update value.
29492 (ERRNO_EDOM): Likewise.
29493 (ERRNO_ERANGE): Likewise.
29494 (IGNORE_RESULT): Likewise.
29495 (TEST_COND_flt_32): New macro.
29496 (TEST_COND_dbl_64): Likewise.
29497 (TEST_COND_ldbl_96_intel): Likewise.
29498 (TEST_COND_ldbl_96_m68k): Likewise.
29499 (TEST_COND_ldbl_128): Likewise.
29500 (TEST_COND_ldbl_128ibm): Likewise.
29501 (TEST_COND_long32): Likewise.
29502 (TEST_COND_long64): Likewise.
29503 (TEST_COND_before_rounding): Likewise.
29504 (TEST_COND_after_rounding): Likewise.
29505 (enable_test): Handle XFAIL_TEST flag.
29506 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29507 with finite results.
29508 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29509 auto-libm-test-out.
29510
29511 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29512 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29513
29514 [BZ #16214]
29515 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29516 __tls_get_addr_internal instead of __tls_get_offset in order to
29517 avoid GOT pointer dependency. Make rtld export
29518 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29519 __tls_get_addr since we are a __tls_get_offset platform.
29520 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29521 GOT pointer being set up before.
29522 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29523
29524 2013-11-28 Joseph Myers <joseph@codesourcery.com>
29525
29526 * manual/math.texi (Errors in Math Functions): Document accuracy
29527 goals.
29528
29529 [BZ #15004]
29530 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29531 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29532 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29533 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29534 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29535 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29536 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29537 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29538 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29539 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29540 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29541 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29542 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29543 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29544 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29545 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29546
29547 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29548 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29549 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29550 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29551 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29552 Likewise.
29553 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29554 Likewise.
29555 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29556 Likewise.
29557 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29558 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29559 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29560 atomic-feupdateenv and flt-rounds.
29561 * sysdeps/powerpc/nofpu/Versions (libc): Add
29562 __atomic_feholdexcept, __atomic_feclearexcept,
29563 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29564 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29565 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29566 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29567 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29568 here.
29569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29570 Update.
29571
29572 * manual/arith.texi (FP Exceptions): Document that exceptions may
29573 not be raised when matherr is used.
29574 (Math Error Reporting): Document overflow in directed rounding
29575 modes. Document that errno may not be set when finite values are
29576 returned on overflow. Document intent to set errno on underflow
29577 only for underflow to zero.
29578
29579 [BZ #16271]
29580 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29581 round-to-nearest then adjust result for other rounding modes.
29582 * include/fenv.h (fegetround): Use libm_hidden_proto.
29583 * math/fegetround.c (fegetround): Use libm_hidden_def.
29584 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29585 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29586 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29587 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29588 Likewise.
29589 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29590 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29591 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29592 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29593
29594 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29595
29596 [BZ #16077]
29597 * nss/Versions (libnss_files): Add
29598 _nss_files_gethostbyname3_r.
29599 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29600 New function.
29601 (HOST_DB_LOOKUP): Remove macro.
29602 (_nss_files_gethostbyname_r): Implement function without the
29603 HOST_DB_LOOKUP macro.
29604 (_nss_files_gethostbyname2_r): Likewise.
29605
29606 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
29607
29608 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29609
29610 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
29611
29612 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29613 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29614 warning.
29615
29616 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29617
29618 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29619 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29620 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29621 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29622 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29623 __fe_nomask_env_priv and attribute_hidden.
29624 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29625 (libc_feupdateenv_test_ppc): Likewise.
29626 (libc_feresetround_ppc): Likewise.
29627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29628 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29629 compat_symbol macro.
29630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29631 (__fe_nomask_env): Likewise.
29632 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29633
29634 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29635
29636 * string/Makefile: Remove ifunc tests.
29637 * string/test-string.h: Define TEST_IFUNC.
29638 * string/test-bcopy-ifunc.c: Remove.
29639 * string/test-bzero-ifunc.c: Likewise.
29640 * string/test-memccpy-ifunc.c: Likewise.
29641 * string/test-memchr-ifunc.c: Likewise.
29642 * string/test-memcmp-ifunc.c: Likewise.
29643 * string/test-memcpy-ifunc.c: Likewise.
29644 * string/test-memmem-ifunc.c: Likewise.
29645 * string/test-memmove-ifunc.c: Likewise.
29646 * string/test-mempcpy-ifunc.c: Likewise.
29647 * string/test-memrchr-ifunc.c: Likewise.
29648 * string/test-memset-ifunc.c: Likewise.
29649 * string/test-rawmemchr-ifunc.c: Likewise.
29650 * string/test-stpcpy-ifunc.c: Likewise.
29651 * string/test-stpncpy-ifunc.c: Likewise.
29652 * string/test-strcasecmp-ifunc.c: Likewise.
29653 * string/test-strcasestr-ifunc.c: Likewise.
29654 * string/test-strcat-ifunc.c: Likewise.
29655 * string/test-strchr-ifunc.c: Likewise.
29656 * string/test-strchrnul-ifunc.c: Likewise.
29657 * string/test-strcmp-ifunc.c: Likewise.
29658 * string/test-strcpy-ifunc.c: Likewise.
29659 * string/test-strcspn-ifunc.c: Likewise.
29660 * string/test-strlen-ifunc.c: Likewise.
29661 * string/test-strncasecmp-ifunc.c: Likewise.
29662 * string/test-strncat-ifunc.c: Likewise.
29663 * string/test-strncmp-ifunc.c: Likewise.
29664 * string/test-strncpy-ifunc.c: Likewise.
29665 * string/test-strnlen-ifunc.c: Likewise.
29666 * string/test-strpbrk-ifunc.c: Likewise.
29667 * string/test-strrchr-ifunc.c: Likewise.
29668 * string/test-strspn-ifunc.c: Likewise.
29669 * string/test-strstr-ifunc.c: Likewise.
29670
29671 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29672
29673 * benchtests/Makefile: Remove ifunc tests.
29674 * benchtests/bench-string.h: Define TEST_IFUNC.
29675 * benchtests/bench-bcopy-ifunc.c: Remove.
29676 * benchtests/bench-bzero-ifunc.c: Likewise.
29677 * benchtests/bench-memccpy-ifunc.c: Likewise.
29678 * benchtests/bench-memchr-ifunc.c: Likewise.
29679 * benchtests/bench-memcmp-ifunc.c: Likewise.
29680 * benchtests/bench-memcpy-ifunc.c: Likewise.
29681 * benchtests/bench-memmem-ifunc.c: Likewise.
29682 * benchtests/bench-memmove-ifunc.c: Likewise.
29683 * benchtests/bench-mempcpy-ifunc.c: Likewise.
29684 * benchtests/bench-memrchr-ifunc.c: Likewise.
29685 * benchtests/bench-memset-ifunc.c: Likewise.
29686 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29687 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29688 * benchtests/bench-stpcpy-ifunc.c: Likewise.
29689 * benchtests/bench-stpncpy-ifunc.c: Likewise.
29690 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29691 * benchtests/bench-strcasestr-ifunc.c: Likewise.
29692 * benchtests/bench-strcat-ifunc.c: Likewise.
29693 * benchtests/bench-strchr-ifunc.c: Likewise.
29694 * benchtests/bench-strchrnul-ifunc.c: Likewise.
29695 * benchtests/bench-strcmp-ifunc.c: Likewise.
29696 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29697 * benchtests/bench-strcpy-ifunc.c: Likewise.
29698 * benchtests/bench-strcspn-ifunc.c: Likewise.
29699 * benchtests/bench-strlen-ifunc.c: Likewise.
29700 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29701 * benchtests/bench-strncat-ifunc.c: Likewise.
29702 * benchtests/bench-strncmp-ifunc.c: Likewise.
29703 * benchtests/bench-strncpy-ifunc.c: Likewise.
29704 * benchtests/bench-strnlen-ifunc.c: Likewise.
29705 * benchtests/bench-strpbrk-ifunc.c: Likewise.
29706 * benchtests/bench-strrchr-ifunc.c: Likewise.
29707 * benchtests/bench-strsep-ifunc.c: Likewise.
29708 * benchtests/bench-strspn-ifunc.c: Likewise.
29709 * benchtests/bench-strstr-ifunc.c: Likewise.
29710
29711 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29712
29713 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29714
29715 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29716
29717 * resolv/netdb.h: Use __glibc_reserved instead __unused.
29718 * rt/aio.h: Likewise.
29719 * sysdeps/gnu/bits/utmp.h: Likewise.
29720 * sysdeps/gnu/bits/utmpx.h: Likewise.
29721 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29722 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29723 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29724 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29725 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29726 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29727 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29728 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29729 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29730 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29731 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29732 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29733 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29735 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29736 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29737 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29738 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29739 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29740 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29741 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29742 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29743 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29744 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29745 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29747 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29748 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29749 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29750 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29751 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29752 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29753 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29754 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29755 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29756 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29757 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29758 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29759 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29760 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29761 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29762 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29763
29764 2013-11-25 Carlos O'Donell <carlos@redhat.com>
29765
29766 [BZ #16245]
29767 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29768 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29769
29770 2013-11-25 Joseph Myers <joseph@codesourcery.com>
29771
29772 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29773 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29774 Likewise.
29775
29776 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29777
29778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29779 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29780 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29781 (__fesetround): Remove define.
29782 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29783 rounding and exceptions handling.
29784 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29785 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29786 (__fe_nomask_env): Likewise.
29787 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29788 __fegetround instead of fegetround.
29789 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29790 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29791
29792 2013-11-21 Roland McGrath <roland@hack.frob.com>
29793
29794 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29795 it's there.
29796
29797 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29798
29799 2013-11-21 Meador Inge <meadori@codesourcery.com>
29800
29801 [BZ #11157]
29802 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29803 (encrypt_r): Likewise.
29804 * malloc/obstack.h (obstack_free): Likewise.
29805 * posix/unistd.h (encrypt): Likewise.
29806
29807 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
29808
29809 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29810 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29811 DL_CALL_DT_FINI() that call the functions directly.
29812 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29813 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29814 * elf/dl-fini.c: Likewise.
29815
29816 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
29817
29818 * malloc/hooks.c (memalign_check): Add alignment rounding.
29819 * malloc/malloc.c (_mid_memalign): New function.
29820 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29821 Implement by calling _mid_memalign.
29822 * manual/probes.texi (Memory Allocation Probes): Remove
29823 memory_valloc_retry and memory_pvalloc_retry.
29824
29825 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29826
29827 * locale/programs/locarchive.c (open_archive): Add const
29828 qualifier to ARCHIVEFNAME and copy default fname to
29829 DEFAULT_FNAME.
29830
29831 [BZ #15601]
29832 * libio/tst-widetext.input: Rename Oriya to Odia.
29833 * locale/iso-639.def: Likewise.
29834
29835 * manual/probes.texi (Mathematical Function Probes): Add
29836 documentation for sin, cos, asin and acos probes.
29837 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29838 (__sin32): Add slowasin probe.
29839 (__cos32): Add slowacos probe.
29840 (__mpsin): Add slowsin probe.
29841 (__mpcos): Add slowcos probe.
29842
29843 2013-11-19 Joseph Myers <joseph@codesourcery.com>
29844
29845 [BZ #15483]
29846 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29847 thread-local __sim_exceptions_thread and global
29848 __sim_exceptions_global.
29849 (__sim_disabled_exceptions): Change to thread-local
29850 __sim_disabled_exceptions_thread and global
29851 __sim_disabled_exceptions_global.
29852 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29853 and global __sim_round_mode_global.
29854 (__simulate_exceptions): Use thread-local floating-point state and
29855 set global state from it as needed.
29856 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29857 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29858 __sim_round_mode_thread.
29859 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29860 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29861 and global __sim_exceptions_global.
29862 (__sim_disabled_exceptions): Change to thread-local
29863 __sim_disabled_exceptions_thread and global
29864 __sim_disabled_exceptions_global.
29865 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29866 and global __sim_round_mode_global.
29867 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29868 (SIM_SET_GLOBAL): Likewise.
29869 * sysdeps/powerpc/soft-fp/sfp-machine.h
29870 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29871 __sim_round_mode_thread.
29872 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29873 __sim_disabled_exceptions_thread.
29874 (__sim_exceptions): Change to __sim_exceptions_thread.
29875 (__sim_disabled_exceptions): Change to
29876 __sim_disabled_exceptions_thread.
29877 (__sim_round_mode): Change to __sim_round_mode_thread.
29878 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29879 thread-local floating-point state and set global state from it as
29880 needed.
29881 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29882 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29883 (__sim_disabled_exceptions): Remove extern declaration.
29884 (feenableexcept): Use thread-local floating-point state and set
29885 global state from it as needed.
29886 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29887 extern declaration.
29888 (__sim_disabled_exceptions): Likewise.
29889 (__sim_round_mode): Likewise.
29890 (__fegetenv): Use thread-local floating-point state.
29891 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29892 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29893 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29894 floating-point state and set global state from it as needed.
29895 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29896 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29897 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29898 Likewise.
29899 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29900 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29901 Likewise.
29902 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29903 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29904 Use __sim_round_mode_thread.
29905 * math/test-fenv-tls.c: New file.
29906 * math/Makefile (tests): Add test-fenv-tls.
29907 ($(objpfx)test-fenv-tls): Depend on
29908 $(common-objpfx)nptl/libpthread.so.
29909
29910 2013-11-19 Andreas Schwab <schwab@suse.de>
29911
29912 * locale/programs/locale.c (show_info): Decode wordarray elements.
29913 * locale/categories.def (LC_MONETARY): Add element for
29914 _NL_MONETARY_CRNCYSTR.
29915 * locale/C-monetary.c (conversion_rate): New variable.
29916 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29917 element.
29918
29919 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
29920
29921 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29922 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29923
29924 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29925
29926 * elf/Makefile (tst-auxv): New test.
29927 * elf/tst-auxv.c: New
29928 * elf/rtld.c (dl_main): Adjust AT_EXECFN
29929
29930 2013-11-18 Joseph Myers <joseph@codesourcery.com>
29931
29932 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29933 (hidden_proto): Caller changed.
29934 (hidden_tls_proto): New macro.
29935 (libc_hidden_tls_proto): Likewise.
29936 (rtld_hidden_tls_proto): Likewise.
29937 (libm_hidden_tls_proto): Likewise.
29938 (libresolv_hidden_tls_proto): Likewise.
29939 (librt_hidden_tls_proto): Likewise.
29940 (libdl_hidden_tls_proto): Likewise.
29941 (libnss_files_hidden_tls_proto): Likewise.
29942 (libnsl_hidden_tls_proto): Likewise.
29943 (libnss_nisplus_hidden_tls_proto): Likewise.
29944 (libutil_hidden_tls_proto): Likewise.
29945
29946 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
29947
29948 [BZ #10253]
29949 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29950 (decompose_rpath): Defer expansion to fillin_rpath.
29951 (_dl_init_paths): Pass linkmap to fillin_rpath.
29952
29953 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29954
29955 * benchtests/Makefile: Add strsep.
29956 * benchtests/bench-strsep.c: New file: strsep benchtest.
29957 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29958
29959 2013-11-18 Andreas Schwab <schwab@suse.de>
29960
29961 * locale/programs/locale.c (show_info) [case byte]: Check for
29962 '\377' instead of '\177'.
29963 * locale/C-monetary.c (not_available): Always use "\377".
29964 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29965 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
29966 detect unavailable sign_posn locale elements.
29967 * locale/localeconv.c (__localeconv): For grouping and
29968 mon_grouping handle "\177" and "\377" like no grouping.
29969 (INT_ELEM): New macro. Use it to set all numeric members.
29970 * locale/programs/ld-monetary.c (monetary_read)
29971 <tok_mon_grouping>: Normalize single -1 to the empty string.
29972 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29973 Likewise.
29974
29975 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
29976
29977 [BZ #16055]
29978 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29979 when we match (nil).
29980 * stdio-common/tst-sscanf.c (struct test): Add testcase.
29981
29982 2013-11-16 Joseph Myers <joseph@codesourcery.com>
29983
29984 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29985 (NO_TEST_INLINE): Update value.
29986 (ERRNO_UNCHANGED): Likewise.
29987 (ERRNO_EDOM): Likewise.
29988 (ERRNO_ERANGE): Likewise.
29989 (IGNORE_RESULT): Likewise.
29990 (check_float_internal): Check signs of NaN results if
29991 TEST_NAN_SIGN used.
29992 (check_complex): Pass TEST_NAN_SIGN flag through to second
29993 check_float_internal call.
29994 (copysign_test_data): Add tests with quiet NaNs as second
29995 argument. Use TEST_NAN_SIGN.
29996 (fabs_test_data): Add test of negative quiet NaN argument. Use
29997 TEST_NAN_SIGN.
29998 (signbit_test_data): Add tests of quiet NaN argument.
29999 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30000
30001 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30002 $ignore_result.
30003 (parse_args): Handle function results specified as IGNORE.
30004 * math/libm-test.inc (IGNORE_RESULT): New macro.
30005 (check_float_internal): Do not check numerical result if flag
30006 IGNORE_RESULT set.
30007 (check_complex): Pass through IGNORE_RESULT to second
30008 check_float_internal call.
30009 (check_int): Do not check numerical result if flag IGNORE_RESULT
30010 set.
30011 (check_long): Likewise.
30012 (check_bool): Likewise.
30013 (check_longlong): Likewise.
30014 (lrint_test_data): Add tests of infinite and NaN arguments.
30015 (lrint_tonearest_test_data): Likewise.
30016 (lrint_towardzero_test_data): Likewise.
30017 (lrint_downward_test_data): Likewise.
30018 (lrint_upward_test_data): Likewise.
30019 (llrint_test_data): Likewise.
30020 (llrint_tonearest_test_data): Likewise.
30021 (llrint_towardzero_test_data): Likewise.
30022 (llrint_downward_test_data): Likewise.
30023 (llrint_upward_test_data): Likewise.
30024 (lround_test_data): Likewise.
30025 (llround_test_data): Likewise.
30026
30027 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30028 (ERRNO_UNCHANGED): Update value.
30029 (ERRNO_EDOM): Likewise.
30030 (ERRNO_ERANGE): Likewise.
30031 (NO_TEST_INLINE_FLOAT): New macro.
30032 (NO_TEST_INLINE_DOUBLE): Likewise.
30033 (enable_test): New function.
30034 (RUN_TEST_f_f): Check enable_test before running test.
30035 (RUN_TEST_2_f): Likewise.
30036 (RUN_TEST_fff_f): Likewise.
30037 (RUN_TEST_c_f): Likewise.
30038 (RUN_TEST_f_f1): Likewise.
30039 (RUN_TEST_fF_f1): Likewise.
30040 (RUN_TEST_fI_f1): Likewise.
30041 (RUN_TEST_ffI_f1): Likewise.
30042 (RUN_TEST_c_c): Likewise.
30043 (RUN_TEST_cc_c): Likewise.
30044 (RUN_TEST_f_i): Likewise.
30045 (RUN_TEST_f_i_tg): Likewise.
30046 (RUN_TEST_ff_i_tg): Likewise.
30047 (RUN_TEST_f_b): Likewise.
30048 (RUN_TEST_f_b_tg): Likewise.
30049 (RUN_TEST_f_l): Likewise.
30050 (RUN_TEST_f_L): Likewise.
30051 (RUN_TEST_fFF_11): Likewise.
30052 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30053 conditionals.
30054 (cosh_test_data): Likewise.
30055 (exp_test_data): Likewise.
30056 (expm1_test_data): Likewise.
30057 (hypot_test_data): Likewise.
30058 (pow_test_data): Likewise.
30059 (sinh_test_data): Likewise.
30060 (tanh_test_data): Likewise.
30061 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30062 flags argument.
30063
30064 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30065 tests with quiet NaN input and output.
30066 (acosh_test_data): Likewise.
30067 (asin_test_data): Likewise.
30068 (asinh_test_data): Likewise.
30069 (atan_test_data): Likewise.
30070 (atanh_test_data): Likewise.
30071 (atan2_test_data): Likewise.
30072 (cbrt_test_data): Likewise.
30073 (cos_test_data): Likewise.
30074 (cosh_test_data): Likewise.
30075 (erf_test_data): Likewise.
30076 (erfc_test_data): Likewise.
30077 (exp_test_data): Likewise.
30078 (exp10_test_data): Likewise.
30079 (exp2_test_data): Likewise.
30080 (expm1_test_data): Likewise.
30081 (hypot_test_data): Likewise.
30082 (j0_test_data): Likewise.
30083 (j1_test_data): Likewise.
30084 (jn_test_data): Likewise.
30085 (lgamma_test_data): Likewise.
30086 (log_test_data): Likewise.
30087 (log10_test_data): Likewise.
30088 (log1p_test_data): Likewise.
30089 (log2_test_data): Likewise.
30090 (pow_test_data): Likewise.
30091 (scalb_test_data): Likewise.
30092 (sin_test_data): Likewise.
30093 (sincos_test_data): Likewise.
30094 (sinh_test_data): Likewise.
30095 (tan_test_data): Likewise.
30096 (tanh_test_data): Likewise.
30097 (tgamma_test_data): Likewise.
30098 (y0_test_data): Likewise.
30099 (y1_test_data): Likewise.
30100 (yn_test_data): Likewise.
30101
30102 [BZ #16167]
30103 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30104 argument being NaN and avoid computations with second argument in
30105 that case.
30106 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30107 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30108 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30109
30110 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30111
30112 * locale/iso-639.def: Add Chitwani Tharu (the).
30113
30114 2013-11-14 Andreas Schwab <schwab@suse.de>
30115
30116 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30117 word instead of empty string.
30118
30119 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30120
30121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30122 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30124 (__fe_nomask_env): Likewise.
30125
30126 2013-11-13 Steve Ellcey <sellcey@mips.com>
30127
30128 * benchtests/bench-timing.h: Include time.h.
30129
30130 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30131
30132 [BZ #15997]
30133 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30134 to 3.4.0 for x32.
30135 * sysdeps/unix/sysv/linux/configure: Regenerated.
30136
30137 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30138
30139 [BZ #16151]
30140 * stdlib/strtod_l.c (round_and_return): Do not consider
30141 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30142 exponent one less than half the least subnormal exponent.
30143 * stdlib/test-strtod-round-data: Add more tests.
30144 * stdlib/tst-strtod-round.c (tests): Regenerated.
30145
30146 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30147
30148 [BZ #14143]
30149 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30150 (__fe_mask_env): Likewise.
30151 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30152 libm_hidden_proto and add function prototype.
30153 (__fe_mask_env): Add function prototype.
30154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30155 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30157 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30159 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30160
30161 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30162
30163 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30164 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30165
30166 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30167
30168 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30169 of htab_find_slot().
30170
30171 2013-11-11 David S. Miller <davem@davemloft.net>
30172
30173 [BZ #16150]
30174 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30175 symbol in the non-vis3 case in static builds.
30176 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30177 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30178 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30179 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30180
30181 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30182
30183 [BZ #387]
30184 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30185 it is empty.
30186
30187 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30188
30189 * benchtests/Makefile: Add bench-strtod.
30190 * benchtests/bench-strtod.c: New file: strtod benchtest
30191
30192 2013-11-11 Andreas Schwab <schwab@suse.de>
30193
30194 [BZ #16153]
30195 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30196 terminating NUL in key length.
30197
30198 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30199
30200 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30201 Add artificial ODP entry for vDSO symbol for PPC64.
30202 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30203 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30204
30205 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30206
30207 [BZ #15374]
30208 * nss/getent.c (services_keys): Recognize services starting with digit.
30209
30210 2013-11-06 David S. Miller <davem@davemloft.net>
30211
30212 [BZ #15985]
30213 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30214 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30215
30216 2013-11-06 Will Newton <will.newton@linaro.org>
30217
30218 * manual/memory.texi (Malloc Examples): Remove register
30219 keyword from examples.
30220
30221 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30222
30223 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30224
30225 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30226
30227 [BZ #6981]
30228 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30229 depending on [__GCC_IEC_559 > 0].
30230 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30231 depending on [__GCC_IEC_559_COMPLEX > 0].
30232
30233 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30234
30235 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30236 to iso-639.def.
30237
30238 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30239
30240 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30241
30242 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30243
30244 [BZ #16112]
30245 * malloc/malloc (malloc_info): Do not handle first bin as
30246 special case.
30247
30248 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30249
30250 * locale/iso-639.def: Add Central Nahuatl (nhn).
30251
30252 2013-11-01 Bruno Haible <bruno@clisp.org>
30253
30254 [BZ #7003]
30255 * manual/math.texi (BSD Random): Specify range upper bound as
30256 in POSIX.
30257
30258 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30259
30260 * locale/iso-639.def: Add Meadow Mari (mhr).
30261
30262 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30263
30264 [BZ #14752], [BZ #15763]
30265 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30266 Validate name.
30267 * rt/tst_shm.c: Add test for escaping directory.
30268
30269 2013-10-31 Andreas Schwab <schwab@suse.de>
30270
30271 [BZ #15917]
30272 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30273 followed by 'x' as part of digit sequence.
30274 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30275
30276 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30277
30278 [BZ #16037]
30279 * configure.ac: allow GNU Make 4.0 and greater.
30280 * configure: Regenerated.
30281
30282 2013-10-30 Will Newton <will.newton@linaro.org>
30283
30284 [BZ #16038]
30285 * malloc/hooks.c (memalign_check): Limit alignment to the
30286 maximum representable power of two.
30287 * malloc/malloc.c (__libc_memalign): Likewise.
30288 * malloc/tst-memalign.c (do_test): Add test for very
30289 large alignment values.
30290 * malloc/tst-posix_memalign.c (do_test): Likewise.
30291
30292 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30293
30294 [BZ #11087]
30295 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30296 (munmap_chunk): Likewise.
30297 (mremap_chunk): Likewise.
30298
30299 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30300
30301 [BZ #15799]
30302 * stdlib/div.c (div): Remove obsolete code.
30303 * stdlib/ldiv.c (ldiv): Likewise.
30304 * stdlib/lldiv.c (lldiv): Likewise.
30305
30306 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30307
30308 [BZ #16071]
30309 * nss/nss_files/files-XXX.c (get_contents_ret): New
30310 enumerator.
30311 (get_contents): New function.
30312 (internal_getent): Use it. Expand size of LINEBUFLEN.
30313
30314 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30315
30316 * configure.in: Moved to ...
30317 * configure.ac: ... here. Change reference to configure.in
30318 to configure.ac.
30319 * sysdeps/arm/preconfigure.ac: ... here.
30320 configure.in to configure.ac.
30321 * sysdeps/gnu/configure.in: Moved to ...
30322 * sysdeps/gnu/configure.ac: ... here.
30323 * sysdeps/i386/configure.in: Moved to ...
30324 * sysdeps/i386/configure.ac: ... here.
30325 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30326 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30327 * sysdeps/mach/configure.in: Moved to ...
30328 * sysdeps/mach/configure.ac: ... here.
30329 * sysdeps/mach/hurd/configure.in: Moved to ...
30330 * sysdeps/mach/hurd/configure.ac: ... here.
30331 * sysdeps/powerpc/configure.in: Moved to ...
30332 * sysdeps/powerpc/configure.ac: ... here.
30333 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30334 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30335 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30336 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30337 * sysdeps/s390/s390-32/configure.in: Moved to ...
30338 * sysdeps/s390/s390-32/configure.ac: ... here.
30339 * sysdeps/s390/s390-64/configure.in: Moved to ...
30340 * sysdeps/s390/s390-64/configure.ac: ... here.
30341 * sysdeps/sh/configure.in: Moved to ...
30342 * sysdeps/sh/configure.ac: ... here.
30343 * sysdeps/sparc/configure.in: Moved to ...
30344 * sysdeps/sparc/configure.ac: ... here.
30345 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30346 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30347 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30348 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30349 * sysdeps/x86_64/configure.in: Moved to ...
30350 * sysdeps/x86_64/configure.ac: ... here.
30351 * sysdeps/x86_64/preconfigure.in: Moved to ...
30352 * sysdeps/x86_64/preconfigure.ac: ... here.
30353 * aclocal.m4: Change reference to configure.in to configure.ac.
30354 * config.h.in: Likewise.
30355 * manual/install.texi: Likewise.
30356 * manual/maint.texi: Likewise.
30357 * Makefile: Likewise.
30358 * malloc/Makefile: Likewise.
30359 * nscd/Makefile: Likewise.
30360 * Makeconfig: Change reference to configure.in and
30361 preconfigure.in to configure.ac and preconfigure.ac
30362 respectively.
30363 * INSTALL: Regenerated.
30364 * configure: Likewise.
30365 * sysdeps/gnu/configure: Likewise.
30366 * sysdeps/i386/configure: Likewise.
30367 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30368 * sysdeps/mach/configure: Likewise.
30369 * sysdeps/mach/hurd/configure: Likewise.
30370 * sysdeps/powerpc/configure: Likewise.
30371 * sysdeps/powerpc/powerpc32/configure: Likewise.
30372 * sysdeps/powerpc/powerpc64/configure: Likewise.
30373 * sysdeps/s390/s390-32/configure: Likewise.
30374 * sysdeps/s390/s390-64/configure: Likewise.
30375 * sysdeps/sh/configure: Likewise.
30376 * sysdeps/sparc/configure: Likewise.
30377 * sysdeps/unix/sysv/linux/configure: Likewise.
30378 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30379 * sysdeps/x86_64/configure: Likewise.
30380 * sysdeps/x86_64/preconfigure: Likewise.
30381
30382 2013-10-29 Andreas Schwab <schwab@suse.de>
30383
30384 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30385
30386 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30387
30388 * benchtests/pow-inputs: Add new inputs.
30389
30390 * benchtests/exp-inputs: Add new inputs.
30391
30392 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30393 conditional check for return value.
30394 (__cos32): Likewise.
30395
30396 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30397
30398 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30399 to provide a boost for large inputs with word alignment.
30400 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30401 implementation based on optimized PPC64 strcpy.
30402 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30403 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30404 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30405 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30406
30407 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30408
30409 [BZ #2801]
30410 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30411
30412 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30413
30414 [BZ #14876]
30415 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30416 * time/tst-strptime.c (day_tests): Add testcase.
30417
30418 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30419
30420 [BZ #14029]
30421 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30422
30423 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30424
30425 [BZ #16074]
30426 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30427 MAP_FAILED on error.
30428
30429 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30430
30431 [BZ #16072]
30432 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30433 heap for large requests.
30434
30435 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30436
30437 [BZ #9954]
30438 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30439 result if the result has no associated interface.
30440 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30441 interface for all 127.X.Y.Z addresses.
30442
30443 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30444
30445 * locale/iso-639.def: Add Ligurian (lij)
30446
30447 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30448
30449 [BZ #15825]
30450 * sunrpc/rpc_main.c: Document rpcgen -5.
30451
30452 2013-10-19 Michael Stahl <mstahl@redhat.com>
30453
30454 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30455
30456 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30457
30458 [BZ #10278]
30459 * posix/glob.c: Match only directories when trailing slash is present.
30460 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30461 (main): Add testcase.
30462
30463 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30464
30465 [BZ #15670]
30466 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30467
30468 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30469
30470 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30471 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30472 AUTH_DES and cindex for FIPS 140-2.
30473 (DES Encryption): Add cindex FIPS 46-3.
30474
30475 * locale/locarchive.h (struct locarhandle): Add fname.
30476 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30477 if an optional argument was specified to --list-archive,
30478 otherwise NULL.
30479 * locale/programs/locarchive.c (show_archive_content): Take new
30480 argument fname and pass it via ah.fname to open_archive.
30481 * locale/programs/localedef.h: Update decl.
30482 (open_archive): If AH->fname is non-null, open that file
30483 rather than the default file name, and don't ignore ENOENT.
30484 (create_archive): Set AH.fname to NULL.
30485 (delete_locales_from_archive): Likewise.
30486 (add_locales_to_archive): Likewise.
30487 * locale/programs/locfile.c (write_all_categories): Likewise.
30488
30489 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30490 Aldy Hernandez <aldyh@redhat.com>
30491
30492 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30493 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30494 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30495 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30496 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30497 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30498 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30499 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30500 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30501 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30502 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30503 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30504 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30505 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30506 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30507 Likewise.
30508 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30509 Likewise.
30510 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30511 Likewise.
30512 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30513 Likewise.
30514 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30515 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30516 Likewise.
30517 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30518 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30519 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30520 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30521 Likewise.
30522 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30523 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30524 * sysdeps/powerpc/preconfigure: Likewise.
30525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30526 Likewise.
30527 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30528 Replace contents of file by #include of <fenv_libc.h>.
30529 * sysdeps/powerpc/soft-fp/sfp-machine.h
30530 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30531 and <sys/prctl.h>.
30532 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30533 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30534 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30535 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30536 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30537 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30539 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30540 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30543 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30545 Allow copysignl PLT reference to be missing.
30546
30547 2013-10-18 Richard Sandiford <richard@codesourcery.com>
30548 Joseph Myers <joseph@codesourcery.com
30549
30550 [BZ #15948]
30551 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30552 single character.
30553 (add_to_tablewc): Assert sequence of wide characters is nonempty.
30554
30555 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30556
30557 * elf/tst-tls-dlinfo.c: Don't include tls.h.
30558 * elf/tst-tls1.c: Likewise.
30559 * elf/tst-tls10.h: Likewise.
30560 * elf/tst-tls14.c: Likewise.
30561 * elf/tst-tls2.c: Likewise.
30562 * elf/tst-tls3.c: Likewise.
30563 * elf/tst-tls4.c: Likewise.
30564 * elf/tst-tls5.c: Likewise.
30565 * elf/tst-tls6.c: Likewise.
30566 * elf/tst-tls7.c: Likewise.
30567 * elf/tst-tls8.c: Likewise.
30568 * elf/tst-tls9.c: Likewise.
30569 * elf/tst-tlsmod1.c: Likewise.
30570 * elf/tst-tlsmod13.c: Likewise.
30571 * elf/tst-tlsmod13a.c: Likewise.
30572 * elf/tst-tlsmod14a.c: Likewise.
30573 * elf/tst-tlsmod16a.c: Likewise.
30574 * elf/tst-tlsmod16b.c: Likewise.
30575 * elf/tst-tlsmod2.c: Likewise.
30576 * elf/tst-tlsmod3.c: Likewise.
30577 * elf/tst-tlsmod4.c: Likewise.
30578 * elf/tst-tlsmod5.c: Likewise.
30579 * elf/tst-tlsmod6.c: Likewise.
30580
30581 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
30582
30583 [BZ #12486]
30584 * malloc/malloc.c: remove checks for statistics.
30585
30586 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30587
30588 [BZ #15277]
30589 * inet/inet_net.c (inet_network): Detect additional invalid strings.
30590 * inet/tst-network.c: Add testcase.
30591
30592 2013-10-17 Andreas Schwab <schwab@suse.de>
30593
30594 [BZ #15218]
30595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30596 to determine canonical name.
30597
30598 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30599
30600 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30601 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30602 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30603 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30604 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30605 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30606 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30607 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30608 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30609 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30610 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30611 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30612 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30613 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30614 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30615 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30617 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30618 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30619 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30620 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30623 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30624 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30625 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30626 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30627 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30628 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30629 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30630 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30631 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30632 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30633 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30634 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30635 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30636 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30637 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30638 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30639 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30640 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30641 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30642 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30643 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30644 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30645 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30646 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30647 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30648 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30649 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30650 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30651 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30652 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30653 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30654 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30655 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30657 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30658
30659 2013-10-17 Joseph Myers <joseph@codesourcery.com>
30660
30661 [BZ #16041]
30662 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30663 make result into a quiet NaN.
30664
30665 2013-10-16 Joseph Myers <joseph@codesourcery.com>
30666
30667 * soft-fp/adddf3.c: Fix horizontal whitespace.
30668 * soft-fp/addsf3.c: Likewise.
30669 * soft-fp/addtf3.c: Likewise.
30670 * soft-fp/divdf3.c: Likewise.
30671 * soft-fp/divsf3.c: Likewise.
30672 * soft-fp/divtf3.c: Likewise.
30673 * soft-fp/double.h: Likewise.
30674 * soft-fp/eqdf2.c: Likewise.
30675 * soft-fp/eqsf2.c: Likewise.
30676 * soft-fp/eqtf2.c: Likewise.
30677 * soft-fp/extenddftf2.c: Likewise.
30678 * soft-fp/extended.h: Likewise.
30679 * soft-fp/extendsfdf2.c: Likewise.
30680 * soft-fp/extendsftf2.c: Likewise.
30681 * soft-fp/extendxftf2.c: Likewise.
30682 * soft-fp/fixdfdi.c: Likewise.
30683 * soft-fp/fixdfsi.c: Likewise.
30684 * soft-fp/fixdfti.c: Likewise.
30685 * soft-fp/fixsfdi.c: Likewise.
30686 * soft-fp/fixsfsi.c: Likewise.
30687 * soft-fp/fixsfti.c: Likewise.
30688 * soft-fp/fixtfdi.c: Likewise.
30689 * soft-fp/fixtfsi.c: Likewise.
30690 * soft-fp/fixtfti.c: Likewise.
30691 * soft-fp/fixunsdfdi.c: Likewise.
30692 * soft-fp/fixunsdfsi.c: Likewise.
30693 * soft-fp/fixunsdfti.c: Likewise.
30694 * soft-fp/fixunssfdi.c: Likewise.
30695 * soft-fp/fixunssfsi.c: Likewise.
30696 * soft-fp/fixunssfti.c: Likewise.
30697 * soft-fp/fixunstfdi.c: Likewise.
30698 * soft-fp/fixunstfsi.c: Likewise.
30699 * soft-fp/fixunstfti.c: Likewise.
30700 * soft-fp/floatdidf.c: Likewise.
30701 * soft-fp/floatdisf.c: Likewise.
30702 * soft-fp/floatditf.c: Likewise.
30703 * soft-fp/floatsidf.c: Likewise.
30704 * soft-fp/floatsisf.c: Likewise.
30705 * soft-fp/floatsitf.c: Likewise.
30706 * soft-fp/floattidf.c: Likewise.
30707 * soft-fp/floattisf.c: Likewise.
30708 * soft-fp/floattitf.c: Likewise.
30709 * soft-fp/floatundidf.c: Likewise.
30710 * soft-fp/floatundisf.c: Likewise.
30711 * soft-fp/floatunditf.c: Likewise.
30712 * soft-fp/floatunsidf.c: Likewise.
30713 * soft-fp/floatunsisf.c: Likewise.
30714 * soft-fp/floatunsitf.c: Likewise.
30715 * soft-fp/floatuntidf.c: Likewise.
30716 * soft-fp/floatuntisf.c: Likewise.
30717 * soft-fp/floatuntitf.c: Likewise.
30718 * soft-fp/fmadf4.c: Likewise.
30719 * soft-fp/fmasf4.c: Likewise.
30720 * soft-fp/fmatf4.c: Likewise.
30721 * soft-fp/gedf2.c: Likewise.
30722 * soft-fp/gesf2.c: Likewise.
30723 * soft-fp/getf2.c: Likewise.
30724 * soft-fp/ledf2.c: Likewise.
30725 * soft-fp/lesf2.c: Likewise.
30726 * soft-fp/letf2.c: Likewise.
30727 * soft-fp/muldf3.c: Likewise.
30728 * soft-fp/mulsf3.c: Likewise.
30729 * soft-fp/multf3.c: Likewise.
30730 * soft-fp/negdf2.c: Likewise.
30731 * soft-fp/negsf2.c: Likewise.
30732 * soft-fp/negtf2.c: Likewise.
30733 * soft-fp/op-1.h: Likewise.
30734 * soft-fp/op-2.h: Likewise.
30735 * soft-fp/op-4.h: Likewise.
30736 * soft-fp/op-8.h: Likewise.
30737 * soft-fp/op-common.h: Likewise.
30738 * soft-fp/quad.h: Likewise.
30739 * soft-fp/single.h: Likewise.
30740 * soft-fp/soft-fp.h: Likewise.
30741 * soft-fp/sqrtdf2.c: Likewise.
30742 * soft-fp/sqrtsf2.c: Likewise.
30743 * soft-fp/sqrttf2.c: Likewise.
30744 * soft-fp/subdf3.c: Likewise.
30745 * soft-fp/subsf3.c: Likewise.
30746 * soft-fp/subtf3.c: Likewise.
30747 * soft-fp/truncdfsf2.c: Likewise.
30748 * soft-fp/trunctfdf2.c: Likewise.
30749 * soft-fp/trunctfsf2.c: Likewise.
30750 * soft-fp/trunctfxf2.c: Likewise.
30751 * soft-fp/unorddf2.c: Likewise.
30752 * soft-fp/unordsf2.c: Likewise.
30753 * soft-fp/unordtf2.c: Likewise.
30754
30755 2013-10-15 Joseph Myers <joseph@codesourcery.com>
30756
30757 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30758 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30759
30760 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
30761
30762 * elf/dl-libc.c: Clear initfini list after freeing.
30763
30764 2013-10-14 Joseph Myers <joseph@codesourcery.com>
30765
30766 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30767 * soft-fp/addsf3.c: Likewise.
30768 * soft-fp/addtf3.c: Likewise.
30769 * soft-fp/divdf3.c: Likewise.
30770 * soft-fp/divsf3.c: Likewise.
30771 * soft-fp/divtf3.c: Likewise.
30772 * soft-fp/double.h: Likewise.
30773 * soft-fp/eqdf2.c: Likewise.
30774 * soft-fp/eqsf2.c: Likewise.
30775 * soft-fp/eqtf2.c: Likewise.
30776 * soft-fp/extenddftf2.c: Likewise.
30777 * soft-fp/extended.h: Likewise.
30778 * soft-fp/extendsfdf2.c: Likewise.
30779 * soft-fp/extendsftf2.c: Likewise.
30780 * soft-fp/extendxftf2.c: Likewise.
30781 * soft-fp/fixdfdi.c: Likewise.
30782 * soft-fp/fixdfsi.c: Likewise.
30783 * soft-fp/fixdfti.c: Likewise.
30784 * soft-fp/fixsfdi.c: Likewise.
30785 * soft-fp/fixsfsi.c: Likewise.
30786 * soft-fp/fixsfti.c: Likewise.
30787 * soft-fp/fixtfdi.c: Likewise.
30788 * soft-fp/fixtfsi.c: Likewise.
30789 * soft-fp/fixtfti.c: Likewise.
30790 * soft-fp/fixunsdfdi.c: Likewise.
30791 * soft-fp/fixunsdfsi.c: Likewise.
30792 * soft-fp/fixunsdfti.c: Likewise.
30793 * soft-fp/fixunssfdi.c: Likewise.
30794 * soft-fp/fixunssfsi.c: Likewise.
30795 * soft-fp/fixunssfti.c: Likewise.
30796 * soft-fp/fixunstfdi.c: Likewise.
30797 * soft-fp/fixunstfsi.c: Likewise.
30798 * soft-fp/fixunstfti.c: Likewise.
30799 * soft-fp/floatdidf.c: Likewise.
30800 * soft-fp/floatdisf.c: Likewise.
30801 * soft-fp/floatditf.c: Likewise.
30802 * soft-fp/floatsidf.c: Likewise.
30803 * soft-fp/floatsisf.c: Likewise.
30804 * soft-fp/floatsitf.c: Likewise.
30805 * soft-fp/floattidf.c: Likewise.
30806 * soft-fp/floattisf.c: Likewise.
30807 * soft-fp/floattitf.c: Likewise.
30808 * soft-fp/floatundidf.c: Likewise.
30809 * soft-fp/floatundisf.c: Likewise.
30810 * soft-fp/floatunsidf.c: Likewise.
30811 * soft-fp/floatunsisf.c: Likewise.
30812 * soft-fp/floatuntidf.c: Likewise.
30813 * soft-fp/floatuntisf.c: Likewise.
30814 * soft-fp/floatuntitf.c: Likewise.
30815 * soft-fp/fmadf4.c: Likewise.
30816 * soft-fp/fmasf4.c: Likewise.
30817 * soft-fp/fmatf4.c: Likewise.
30818 * soft-fp/gedf2.c: Likewise.
30819 * soft-fp/gesf2.c: Likewise.
30820 * soft-fp/getf2.c: Likewise.
30821 * soft-fp/ledf2.c: Likewise.
30822 * soft-fp/lesf2.c: Likewise.
30823 * soft-fp/letf2.c: Likewise.
30824 * soft-fp/muldf3.c: Likewise.
30825 * soft-fp/mulsf3.c: Likewise.
30826 * soft-fp/multf3.c: Likewise.
30827 * soft-fp/negdf2.c: Likewise.
30828 * soft-fp/negsf2.c: Likewise.
30829 * soft-fp/negtf2.c: Likewise.
30830 * soft-fp/op-1.h: Likewise.
30831 * soft-fp/op-2.h: Likewise.
30832 * soft-fp/op-4.h: Likewise.
30833 * soft-fp/op-8.h: Likewise.
30834 * soft-fp/op-common.h: Likewise.
30835 * soft-fp/quad.h: Likewise.
30836 * soft-fp/single.h: Likewise.
30837 * soft-fp/soft-fp.h: Likewise.
30838 * soft-fp/sqrtdf2.c: Likewise.
30839 * soft-fp/sqrtsf2.c: Likewise.
30840 * soft-fp/sqrttf2.c: Likewise.
30841 * soft-fp/subdf3.c: Likewise.
30842 * soft-fp/subsf3.c: Likewise.
30843 * soft-fp/subtf3.c: Likewise.
30844 * soft-fp/truncdfsf2.c: Likewise.
30845 * soft-fp/trunctfdf2.c: Likewise.
30846 * soft-fp/trunctfsf2.c: Likewise.
30847 * soft-fp/trunctfxf2.c: Likewise.
30848 * soft-fp/unorddf2.c: Likewise.
30849 * soft-fp/unordsf2.c: Likewise.
30850 * soft-fp/unordtf2.c: Likewise.
30851
30852 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
30853
30854 [BZ #15672]
30855 * misc/error.c (error_tail): Fix possible buffer overflow.
30856
30857 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
30858
30859 [BZ #13028]
30860 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30861 address.
30862
30863 2013-10-14 P. J. McDermott <pj@pehjota.net>
30864
30865 [BZ #832]
30866 * elf/ldd.bash.in (try_trace): New function. Delete previous code
30867 testing pipefail option.
30868
30869 2013-10-12 Joseph Myers <joseph@codesourcery.com>
30870
30871 * soft-fp/double.h: Indent preprocessor directives inside #if.
30872 * soft-fp/extended.h: Likewise.
30873 * soft-fp/op-2.h: Likewise.
30874 * soft-fp/op-4.h: Likewise.
30875 * soft-fp/op-common.h: Likewise.
30876 * soft-fp/quad.h: Likewise.
30877 * soft-fp/single.h: Likewise.
30878 * soft-fp/soft-fp.h: Likewise.
30879
30880 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
30881
30882 * iconv/iconv_prog.c: Fix typos.
30883 * stdio-common/psiginfo-data.h: Likewise.
30884
30885 2013-10-12 Reuben Thomas <rrt@sc3d.org>
30886
30887 [BZ #15764]
30888 * locale/setlocale.c: Fix typo.
30889
30890 2013-10-12 Joseph Myers <joseph@codesourcery.com>
30891
30892 [BZ #16036]
30893 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30894 signaling NaN arguments.
30895 * soft-fp/unordsf2.c (__unordsf2): Likewise.
30896 * soft-fp/unordtf2.c (__unordtf2): Likewise.
30897
30898 [BZ #14910]
30899 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30900 unordered operands.
30901 * soft-fp/gesf2.c (__gesf2): Likewise.
30902 * soft-fp/getf2.c (__getf2): Likewise.
30903 * soft-fp/ledf2.c (__ledf2): Likewise.
30904 * soft-fp/lesf2.c (__lesf2): Likewise.
30905 * soft-fp/letf2.c (__letf2): Likewise.
30906
30907 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30908 * soft-fp/eqsf2.c (__eqsf2): Likewise.
30909 * soft-fp/eqtf2.c (__eqtf2): Likewise.
30910 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30911 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30912 * soft-fp/fixdfti.c (__fixdfti): Likewise.
30913 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30914 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30915 * soft-fp/fixsfti.c (__fixsfti): Likewise.
30916 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30917 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30918 * soft-fp/fixtfti.c (__fixtfti): Likewise.
30919 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30920 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30921 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30922 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30923 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30924 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30925 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30926 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30927 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30928 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30929 * soft-fp/floatdisf.c (__floatdisf): Likewise.
30930 * soft-fp/floatsisf.c (__floatsisf): Likewise.
30931 * soft-fp/floattidf.c (__floattidf): Likewise.
30932 * soft-fp/floattisf.c (__floattisf): Likewise.
30933 * soft-fp/floattitf.c (__floattitf): Likewise.
30934 * soft-fp/floatundidf.c (__floatundidf): Likewise.
30935 * soft-fp/floatundisf.c (__floatundisf): Likewise.
30936 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30937 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30938 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30939 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30940 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30941 * soft-fp/gesf2.c (__gesf2): Likewise.
30942 * soft-fp/getf2.c (__getf2): Likewise.
30943 * soft-fp/ledf2.c (__ledf2): Likewise.
30944 * soft-fp/lesf2.c (__lesf2): Likewise.
30945 * soft-fp/letf2.c (__letf2): Likewise.
30946
30947 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30948 Undefine and redefine.
30949 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30950 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30951 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30952 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30953 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30954 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30955 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30956 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30957 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30958 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30959 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30960 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30961 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30962 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30963 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30964
30965 [BZ #16032]
30966 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30967 without decrementing exponent if mantissa >= that for the
30968 denominator, not >.
30969 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30970 denominator, not >. Decrement exponent in < case instead of
30971 incrementing in >= case.
30972 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30973 without decrementing exponent if mantissa >= that for the
30974 denominator, not >.
30975
30976 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30977 computing saturated result for unsigned overflow.
30978
30979 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30980 Jeff Law <law@redhat.com>
30981
30982 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30983 (atan2Mp): Add systemtap probe marker.
30984 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30985 (__ieee754_log): Add systemtap probe marker.
30986 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30987 (atanMp): Add systemtap probe marker.
30988 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30989 (tanMp): Add systemtap probe marker.
30990 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30991 (__slowexp): Add systemtap probe marker.
30992 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30993 (__slowpow): Add systemtap probe marker.
30994 * manual/probes.texi: Document probes.
30995
30996 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
30997
30998 [BZ #15362]
30999 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31000 written.
31001 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31002 written.
31003 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31004 written to buffer but not flushed.
31005 * libio/iofwrite_u.c: Likewise.
31006 * libio/iopadn.c: Return bytes returned even if EOF was
31007 encountered.
31008 * libio/iowpadn.c: Likewise.
31009 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31010 if _IO_padn does not write the whole buffer.
31011 [!COMPILE_WPRINTF] (PAD): Likewise.
31012
31013 2013-10-10 David S. Miller <davem@davemloft.net>
31014
31015 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31016 directory block.
31017
31018 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31019
31020 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31021 instead of FSF address.
31022 * soft-fp/fixdfti.c: Likewise.
31023 * soft-fp/fixsfti.c: Likewise.
31024 * soft-fp/fixtfti.c: Likewise.
31025 * soft-fp/fixunsdfti.c: Likewise.
31026 * soft-fp/fixunssfti.c: Likewise.
31027 * soft-fp/fixunstfti.c: Likewise.
31028 * soft-fp/floattidf.c: Likewise.
31029 * soft-fp/floattisf.c: Likewise.
31030 * soft-fp/floattitf.c: Likewise.
31031 * soft-fp/floatuntidf.c: Likewise.
31032 * soft-fp/floatuntisf.c: Likewise.
31033 * soft-fp/floatuntitf.c: Likewise.
31034 * soft-fp/trunctfxf2.c: Likewise.
31035
31036 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31037 * soft-fp/fixdfti.c: Likewise.
31038 * soft-fp/fixsfti.c: Likewise.
31039 * soft-fp/fixtfti.c: Likewise.
31040 * soft-fp/fixunsdfti.c: Likewise.
31041 * soft-fp/fixunssfti.c: Likewise.
31042 * soft-fp/fixunstfti.c: Likewise.
31043 * soft-fp/floattidf.c: Likewise.
31044 * soft-fp/floattisf.c: Likewise.
31045 * soft-fp/floattitf.c: Likewise.
31046 * soft-fp/floatuntidf.c: Likewise.
31047 * soft-fp/floatuntisf.c: Likewise.
31048 * soft-fp/floatuntitf.c: Likewise.
31049 * soft-fp/trunctfxf2.c: Likewise.
31050
31051 2013-10-10 David S. Miller <davem@davemloft.net>
31052
31053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31054
31055 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31056
31057 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31058 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31059 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31060 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31061 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31062 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31063 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31064
31065 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31066 for NaNs before doing comparisons on argument.
31067 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31068 Likewise.
31069
31070 2013-10-10 Will Newton <will.newton@linaro.org>
31071
31072 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31073 passed to _int_memalign does not overflow.
31074
31075 2013-10-10 Torvald Riegel <triegel@redhat.com>
31076
31077 * scripts/bench.pl: Add include-sources directive.
31078 * benchtests/README: Update documentation.
31079
31080 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31081
31082 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31083 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31084 instead of FP_INIT_ROUNDMODE.
31085 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31086 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31087
31088 [BZ #16034]
31089 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31090 copy class of input value.
31091 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31092 not handle exceptions.
31093 * soft-fp/negsf2.c (__negsf2): Likewise.
31094 * soft-fp/negtf2.c (__negtf2): Likewise.
31095 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31096
31097 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31098
31099 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31100 semicolon. From Linux kernel.
31101
31102 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31103
31104 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31105
31106 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31107
31108 [BZ #156]
31109 * manual/socket.texi: Added statement about buffer
31110 for gethostbyname2_r.
31111
31112 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31113
31114 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31115 Use .p2align directive instead, throughout.
31116 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31117 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31118 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31119 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31120 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31121 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31122 * sysdeps/x86_64/strchr.S: Likewise.
31123 * sysdeps/x86_64/strrchr.S: Likewise.
31124
31125 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31126
31127 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31128
31129 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31130
31131 * sysdeps/generic/math_private.h (__mpsin1): Remove
31132 declaration.
31133 (__mpcos1): Likewise.
31134 (__mpsin): New argument __range_reduce.
31135 (__mpcos): Likewise.
31136 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31137 (slow): Use __mpsin and __mpcos.
31138 (slow1): Likewise.
31139 (slow2): Likewise.
31140 (sloww): Likewise.
31141 (sloww1): Likewise.
31142 (sloww2): Likewise.
31143 (bsloww): Likewise.
31144 (bsloww1): Likewise.
31145 (bsloww2): Likewise.
31146 (cslow2): Likewise.
31147 (csloww): Likewise.
31148 (csloww1): Likewise.
31149 (csloww2): Likewise.
31150 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31151 range_reduce. Merge in __mpsin1.
31152 (__mpcos): Likewise.
31153 (__mpsin1): Remove.
31154 (__mpcos1): Likewise.
31155
31156 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31157
31158 * locale/loadlocale.c (_nl_intern_locale_data): Use
31159 LOCFILE_ALIGNED_P.
31160 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31161 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31162 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31163 obstack data is appropriately aligned.
31164 (obstack_int32_grow_fast): Likewise.
31165 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31166 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31167 (add_locale_uint32_array): Likewise.
31168
31169 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31170
31171 * benchtests/Makefile: Remove ARGLIST and RET variables.
31172 ($(objpfx)bench-%.c): Pass only function name to the script.
31173 * benchtests/README: Update documentation.
31174 * benchtests/acos-inputs: Add new directives.
31175 * benchtests/acosh-inputs: Likewise.
31176 * benchtests/asin-inputs: Likewise.
31177 * benchtests/asinh-inputs: Likewise.
31178 * benchtests/atan-inputs: Likewise.
31179 * benchtests/atanh-inputs: Likewise.
31180 * benchtests/cos-inputs: Likewise.
31181 * benchtests/cosh-inputs: Likewise.
31182 * benchtests/exp-inputs: Likewise.
31183 * benchtests/log-inputs: Likewise.
31184 * benchtests/pow-inputs: Likewise.
31185 * benchtests/rint-inputs: Likewise.
31186 * benchtests/sin-inputs: Likewise.
31187 * benchtests/sinh-inputs: Likewise.
31188 * benchtests/tan-inputs: Likewise.
31189 * benchtests/tanh-inputs: Likewise.
31190 * scripts/bench.pl: Add support for new directives.
31191
31192 2013-10-07 Alan Modra <amodra@gmail.com>
31193
31194 * README: Fix careless merge.
31195
31196 2013-10-05 Alan Modra <amodra@gmail.com>
31197
31198 * NEWS: Mention powerpc64le support and bugs fixed.
31199 * README: Both big-endian and little-endian powerpc64 supported.
31200
31201 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31202
31203 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31204 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31205 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31206 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31207
31208 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31209
31210 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31211 match prototype.
31212
31213 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31214
31215 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31216 Move -mhard-float appending from
31217 ports/sysdeps/powerpc/powerpc32/Makefile.
31218 [$(with-fp) = yes] (ASFLAGS): Likewise.
31219 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31220 * sysdeps/powerpc/nofpu: Move directory from
31221 ports/sysdeps/powerpc/nofpu.
31222 * sysdeps/powerpc/soft-fp: Move directory from
31223 ports/sysdeps/powerpc/soft-fp.
31224 * sysdeps/powerpc/powerpc32/405: Move directory from
31225 ports/sysdeps/powerpc/powerpc32/405.
31226 * sysdeps/powerpc/powerpc32/440: Move directory from
31227 ports/sysdeps/powerpc/powerpc32/440.
31228 * sysdeps/powerpc/powerpc32/464: Move directory from
31229 ports/sysdeps/powerpc/powerpc32/464.
31230 * sysdeps/powerpc/powerpc32/476: Move directory from
31231 ports/sysdeps/powerpc/powerpc32/476.
31232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31233 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31235 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31237 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31239 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31241 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31242 * README: Update for powerpc-*-linux-gnu software floating point
31243 support in libc.
31244
31245 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31246 case to powerpc/powerpc32*.
31247 * sysdeps/unix/sysv/linux/configure: Regenerated.
31248
31249 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31250 (_FPU_MASK_OM): Define as 0x04.
31251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31253 0x00c10080.
31254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31255 0x0000003c.
31256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31257
31258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31259 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31260 getcontext_e500.
31261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31262 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31263 setcontext_e500.
31264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31265 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31266 and setcontext_e500.
31267
31268 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31269
31270 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31271
31272 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31273
31274 * manual/threads.texi (Default Thread Attributes): Fix typo.
31275
31276 2013-10-04 Will Newton <will.newton@linaro.org>
31277
31278 * malloc/Makefile: Add tst-memalign.
31279 * malloc/tst-memalign.c: New file.
31280
31281 * malloc/tst-posix_memalign.c: Add comments.
31282 (do_test): Add comments and call free on all potentially
31283 allocated pointers. Add space after cast.
31284
31285 * malloc/tst-pvalloc.c: Add comments.
31286 (do_test): Add comments and call free on all potentially
31287 allocated pointers. Remove duplicate check for NULL pointer.
31288 Add space after cast.
31289
31290 * malloc/tst-valloc.c: Add comments.
31291 (do_test): Add comments and call free on all potentially
31292 allocated pointers. Remove duplicate check for NULL pointer.
31293 Add space after cast.
31294
31295 2013-10-04 Alan Modra <amodra@gmail.com>
31296
31297 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31298 Use stdint types in rather than __attribute__((mode())).
31299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31300
31301 2013-10-04 Alan Modra <amodra@gmail.com>
31302
31303 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31304 Correct handling of unaligned relocs for little-endian.
31305 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31306
31307 2013-10-04 Alan Modra <amodra@gmail.com>
31308
31309 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31310 * configure: Regenerate.
31311 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31312 * shlib-versions: Likewise.
31313
31314 2013-10-04 Alan Modra <amodra@gmail.com>
31315
31316 * string/tester.c (test_memrchr): Increment reported test cycle.
31317
31318 2013-10-04 Alan Modra <amodra@gmail.com>
31319
31320 * string/test-memcpy.c (do_one_test): When reporting errors, print
31321 string address and don't overrun end of string.
31322
31323 2013-10-04 Alan Modra <amodra@gmail.com>
31324
31325 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31326 insrdi. Make better use of reg selection to speed exit slightly.
31327 Schedule entry path a little better. Remove useless "are we done"
31328 checks on entry to main loop. Handle wrapping around zero address.
31329 Correct main loop count. Handle single left-over word from main
31330 loop inline rather than by using loop_small. Remove extra word
31331 case in loop_small caused by wrong loop count. Add little-endian
31332 support.
31333 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31334 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31335 cache hint.
31336 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31337 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31338 support. Avoid rlwimi.
31339 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31340
31341 2013-10-04 Alan Modra <amodra@gmail.com>
31342
31343 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31344 insrdi. Formatting.
31345 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31346 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31347 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31348 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31349 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31350 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31351
31352 2013-10-04 Alan Modra <amodra@gmail.com>
31353
31354 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31355 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31356 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31357 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31358 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31359 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31360 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31361 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31362 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31363 use of regs. Use power7 mtocrf. Tidy function tails.
31364
31365 2013-10-04 Alan Modra <amodra@gmail.com>
31366
31367 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31368 Formatting. Consistently use rXXX register defines or rN defines.
31369 Use early exit labels that avoid restoring unused non-volatile regs.
31370 Make cr field use more consistent with rWORDn compares. Rename
31371 regs used as shift registers for unaligned loop, using rN defines
31372 for short lifetime/multiple use regs.
31373 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31374 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31375 addi 1,1,64 to pop stack frame. Simplify return value code.
31376 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31377
31378 2013-10-04 Alan Modra <amodra@gmail.com>
31379
31380 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31381 support. Correct typos, formatting. Optimize tail. Use insrdi
31382 rather than rlwimi.
31383 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31384 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31385 little-endian support. Correct typos.
31386 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31387 rather than rlwimi.
31388 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31389 in loop and entry code to keep "and." results.
31390 (strchr): Add little-endian support. Comment. Move cntlzd
31391 earlier in tail.
31392 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31393
31394 2013-10-04 Alan Modra <amodra@gmail.com>
31395
31396 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31397 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31398 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31399 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31400
31401 2013-10-04 Alan Modra <amodra@gmail.com>
31402
31403 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31404 (rTMP): Define as r11.
31405 (strcmp): Add little-endian support. Optimise tail.
31406 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31407 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31408 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31409 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31410 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31411 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31412 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31413
31414 2013-10-04 Alan Modra <amodra@gmail.com>
31415
31416 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31417 little-endian support. Remove unnecessary "are we done" tests.
31418 Handle "s" wrapping around zero and extremely large "size".
31419 Correct main loop count. Handle single left-over word from main
31420 loop inline rather than by using small_loop. Correct comments.
31421 Delete "zero" tail, use "end_max" instead.
31422 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31423
31424 2013-10-04 Alan Modra <amodra@gmail.com>
31425
31426 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31427 support. Don't branch over align.
31428 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31429 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31430 support. Rearrange tmp reg use to suit. Comment.
31431 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31432
31433 2013-10-04 Alan Modra <amodra@gmail.com>
31434
31435 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31436
31437 2013-10-04 Alan Modra <amodra@gmail.com>
31438
31439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31440 conditional form of branch and link when obtaining pc.
31441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31442
31443 2013-10-04 Alan Modra <amodra@gmail.com>
31444
31445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31446 HIWORD/LOWORD.
31447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31449
31450 2013-10-04 Alan Modra <amodra@gmail.com>
31451
31452 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31453 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31454 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31455 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31456 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31457 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31458 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31459 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31460 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31461 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31462
31463 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31464 Alistair Popple <alistair@ozlabs.au.ibm.com>
31465 Alan Modra <amodra@gmail.com>
31466
31467 [BZ #15723]
31468 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31469 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31470 _dl_hwcap access for little-endian.
31471 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31472 destroy vmx regs when saving unaligned.
31473 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31474 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31475 destroy vmx regs when saving unaligned.
31476
31477 2013-10-04 Alan Modra <amodra@gmail.com>
31478
31479 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31480 Don't use a union to pack hi/low value.
31481
31482 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31483
31484 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31485 for little-endian.
31486 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31487 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31488 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31489 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31490 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31491
31492 2013-10-04 Alan Modra <amodra@gmail.com>
31493
31494 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31495 constants to usual value for .cst8 section, and remove redundant
31496 high address load.
31497 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31498 constant for 0x1p52. Load little-endian words of double from
31499 correct stack offsets.
31500
31501 2013-10-04 Alan Modra <amodra@gmail.com>
31502
31503 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31504 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31505 words of double from correct stack offsets.
31506 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31507 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31508 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31509 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31510 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31511 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31512 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31513 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31514 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31515 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31516 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31517 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31518 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31519 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31520 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31521 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31522 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31523
31524 2013-10-04 Alan Modra <amodra@gmail.com>
31525
31526 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31527 64-bit int/double union.
31528 (_FPU_SETCW): Likewise.
31529 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31530 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31531
31532 2013-10-04 Alan Modra <amodra@gmail.com>
31533
31534 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31535 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31536
31537 2013-10-04 Alan Modra <amodra@gmail.com>
31538
31539 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31540 use vector int constants.
31541 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31542
31543 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31544
31545 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31546 array with long long.
31547 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31548 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31549 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31550 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31551 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31552 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31553 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31554 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31555 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31556 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31557 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31558 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31559 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31560
31561 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31562
31563 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31564 (__signbit): Likewise. Correct for little-endian.
31565 (__signbitl): Call __signbit.
31566 (lrint): Correct for little-endian.
31567 (lrintf): Call lrint.
31568
31569 2013-10-04 Alan Modra <amodra@gmail.com>
31570
31571 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31572 union 32-bit int array member with 64-bit int array.
31573 (t515, tm256): Double rather than long double.
31574 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31575
31576 2013-10-04 Alan Modra <amodra@gmail.com>
31577
31578 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31579 Delete.
31580 (IEEE854_LONG_DOUBLE_BIAS): Delete.
31581 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31582 version of math_ldbl.h.
31583
31584 2013-10-04 Alan Modra <amodra@gmail.com>
31585
31586 [BZ #15734], [BZ #15735]
31587 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31588 all uses of ieee875 long double macros and unions. Simplify test
31589 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
31590 ldbl_extract_mantissa value for ix,iy exponents. Properly
31591 normalize after ldbl_extract_mantissa, and don't add hidden bit
31592 already handled. Don't treat low word of ieee854 mantissa like
31593 low word of IBM long double and mask off bit when testing for
31594 zero.
31595 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31596 all uses of ieee875 long double macros and unions. Simplify tests
31597 for 0.0L and inf. Correct double adjustment of k. Delete dead code
31598 adjusting ha,hb. Simplify code setting kld. Delete two600 and
31599 two1022, instead use their values. Recognise that tests for large
31600 "a" and small "b" are mutually exclusive. Rename vars. Comment.
31601 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31602 Rewrite all uses of ieee875 long double macros and unions. Simplify
31603 test for 0.0L and nan. Correct negation.
31604 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31605 ieee875 long double macros and unions. Correct output for large
31606 magnitude x. Correct absolute value calculation.
31607 (__erfcl): Likewise.
31608 * math/libm-test.inc: Add tests for errors discovered in IBM long
31609 double versions of fmodl, remainderl, erfl and erfcl.
31610
31611 2013-10-04 Alan Modra <amodra@gmail.com>
31612
31613 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31614 all uses of ieee854 long double macros and unions. Simplify tests
31615 for long doubles that are fully specified by the high double.
31616 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31617 Likewise.
31618 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31619 Remove dead code too.
31620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31621 (__ieee754_ynl): Likewise.
31622 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31623 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31624 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31625 Remove dead code too.
31626 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31627 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31628 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31629 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31630 Simplify.
31631 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31632 Simplify.
31633 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31634 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31635 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31636 Comment on variable precision.
31637 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31638 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31639 Likewise.
31640 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31641 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31642 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31643 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31644 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31645
31646 2013-10-04 Alan Modra <amodra@gmail.com>
31647
31648 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31649 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31650 all uses of ieee854 long double macros and unions.
31651 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31653 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31654 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31655 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31656 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31657 Likewise.
31658 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31659 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31660 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31661 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31662 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31663 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31664 Simplify sign and nan test too.
31665 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31666 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31667 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31668 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31669 Likewise.
31670 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31671 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31672 Likewise.
31673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31674 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31675 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31676 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31677 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31678 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31679
31680 2013-10-04 Alan Modra <amodra@gmail.com>
31681
31682 * stdio-common/printf_size.c (__printf_size): Don't use
31683 union ieee854_long_double in fpnum union.
31684 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
31685 signbit macro to retrieve sign from long double.
31686 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31687 retrieve sign from long double.
31688 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31689 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31690 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31691 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31692 * math/test-misc.c (main): Don't use union ieee854_long_double.
31693
31694 2013-10-04 Alan Modra <amodra@gmail.com>
31695
31696 [BZ #15680]
31697 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31698 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31699 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31700 calculation. Remove unnecessary test for denormal exponent.
31701 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31702 Correct handling of denormals. Avoid undefined shift behaviour.
31703 Correct normalisation of low mantissa when low double is denormal.
31704 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31705 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
31706 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31707 Correct normalisation of low mantissa. Test for overflow of high
31708 mantissa and normalise.
31709 (ldbl_nearbyint): Use more readable constant for two52.
31710 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31711 (__mpn_construct_long_double): Fix test for overflow of high
31712 mantissa and correct normalisation. Avoid undefined shift.
31713
31714 2013-10-04 Alan Modra <amodra@gmail.com>
31715
31716 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31717 (union ibm_extended_long_double): Define as an array of ieee754_double.
31718 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31719 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31720 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31721 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31722 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31723 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31724 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31725 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31726 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31727 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31728 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31729
31730 2013-10-03 Joseph Myers <joseph@codesourcery.com>
31731
31732 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31733 page size instead of calling getpagesize.
31734
31735 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31736 (LOCFILE_ALIGN_MASK): Likewise.
31737 (LOCFILE_ALIGN_UP): Likewise.
31738 (LOCFILE_ALIGNED_P): Likewise.
31739 * locale/programs/ld-collate.c (collate_output): Use the new
31740 macros instead of __alignof__ (int32_t).
31741 * locale/weight.h (findidx): Likewise.
31742
31743 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
31744
31745 [BZ #431]
31746 * manual/string.texi: Fix strncat and wcsncat.
31747
31748 2013-10-03 Brooks Moses <bmoses@google.com>
31749
31750 [BZ #15915]
31751 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31752 * Makerules: ...here, and adjust associated comments.
31753
31754 2013-10-02 Will Newton <will.newton@linaro.org>
31755
31756 * malloc/Makefile: Add tst-pvalloc.
31757 * malloc/tst-pvalloc.c: New file.
31758
31759 2013-10-02 Will Newton <will.newton@linaro.org>
31760
31761 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31762 improve test coverage.
31763
31764 2013-10-02 Will Newton <will.newton@linaro.org>
31765
31766 * malloc/Makefile: Add tst-posix_memalign.
31767 * malloc/tst-posix_memalign.c: New file.
31768
31769 2013-10-01 Eric Blake <eblake@redhat.com>
31770
31771 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31772 Use __THROWNL rather than __THROW on static functions.
31773
31774 2013-09-30 Petr Machata <pmachata@redhat.com>
31775
31776 * elf/elf.h (R_AARCH64_ABS16): New macro.
31777 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31778 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31779 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31780 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31781 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31782 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31783 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31784 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31785 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31786 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31787 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31788 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31789 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31790 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31791 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31792 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31793 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31794 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31795 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31796 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31797 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31798 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31799 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31800 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31801 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31802 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31803 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31804 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31805 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31806 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31807 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31808 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31809 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31810 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31811 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31812 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31813 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31814 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31815 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31816 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31817 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31818 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31819 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31820 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31821 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31822 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31823 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31824 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31825 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31826 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31827 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31828 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31829 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31830 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31831 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31832 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31833 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31834 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31835 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31836 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31837 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31838 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31839 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31840 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31841 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31842 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31843 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31844 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31845 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31846 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31847 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31848 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31849 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31850 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31851 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31852 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31853 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31854 (R_AARCH64_TLSDESC_LDR): Likewise.
31855 (R_AARCH64_TLSDESC_ADD): Likewise.
31856 (R_AARCH64_TLSDESC_CALL): Likewise.
31857
31858 2013-09-30 Andreas Schwab <schwab@suse.de>
31859
31860 [BZ #15048]
31861 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31862 the nss database lookup.
31863 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31865
31866 2013-09-28 Mike Frysinger <vapier@gentoo.org>
31867
31868 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31869
31870 2013-09-28 P. J. McDermott <pj@pehjota.net>
31871
31872 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31873 ${Bash-specific parameter/pattern/string} parameter expansion.
31874 * sysdeps/unix/make-syscalls.sh: Likewise.
31875
31876 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31877
31878 * sysdeps/sh/stackguard-macros.h: New file.
31879
31880 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
31881
31882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31883 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31884 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31885 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31886 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31887 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31888
31889 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31890
31891 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31892 Fix thread ID register.
31893
31894 2013-09-25 Joseph Myers <joseph@codesourcery.com>
31895
31896 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31897 [POSIX || UNIX98]: Require rather than permitting all symbols from
31898 <time.h>.
31899 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31900 element of struct sched_param.
31901 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31902 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31903 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31904 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31905 constant.
31906
31907 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
31908
31909 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31910 argument calculation.
31911
31912 2013-09-24 Joseph Myers <joseph@codesourcery.com>
31913
31914 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31915 Expect macro.
31916 [POSIX] (pthread_attr_t): Do not require type.
31917 [POSIX] (pthread_cond_t): Likewise.
31918 [POSIX] (pthread_condattr_t): Likewise.
31919 [POSIX] (pthread_key_t): Likewise.
31920 [POSIX] (pthread_mutex_t): Likewise.
31921 [POSIX] (pthread_mutexattr_t): Likewise.
31922 [POSIX] (pthread_once_t): Likewise.
31923 [POSIX] (pthread_t): Likewise.
31924 [POSIX-based standards] (pthread_atfork): Expect function.
31925
31926 2013-09-24 Joseph Myers <joseph@codesourcery.com>
31927 Richard Sandiford <richard@codesourcery.com>
31928
31929 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31930 (swap_endianness_p): New extern variable.
31931 (set_big_endian): New inline function.
31932 (maybe_swap_uint32): Likewise.
31933 (maybe_swap_uint32_array): Likewise.
31934 (maybe_swap_uint32_obstack): Likewise.
31935 * locale/programs/locfile.c: Include <stdbool.h>.
31936 (swap_endianness_p): New variable.
31937 (add_locale_uint32): Call maybe_swap_uint32.
31938 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31939 (write_locale_data): Call maybe_swap_uint32_array.
31940 * locale/programs/ld-collate.c (obstack_int32_grow): Call
31941 maybe_swap_uint32.
31942 (obstack_int32_grow_fast): Likewise.
31943 (output_weightwc): Call maybe_swap_uint32_obstack.
31944 (collate_output): Likewise.
31945 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31946 (OPT_LITTLE_ENDIAN): Likewise.
31947 (options): Add --little-endian and --big-endian options.
31948 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31949 * locale/programs/locarchive.c: Include "locfile.h".
31950 (GET): New macro.
31951 (SET): Likewise.
31952 (INC): Likewise.
31953 (create_archive): Use the new macros to access fields of
31954 structures directly mapped from or written to locale archives.
31955 (oldlocrecentcmp): Likewise.
31956 (enlarge_archive): Likewise.
31957 (insert_name): Likewise.
31958 (add_alias): Likewise.
31959 (add_locale): Likewise.
31960 (delete_locales_from_archive): Likewise.
31961 (show_archive_content): Likewise.
31962 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
31963 locale data.
31964
31965 2013-09-24 Roland McGrath <roland@hack.frob.com>
31966
31967 * manual/freemanuals.texi: Updated from (newly) canonical copy at
31968 http://www.gnu.org/doc/freemanuals.texi.
31969 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31970
31971 2013-09-24 Will Newton <will.newton@linaro.org>
31972
31973 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31974 macro.
31975
31976 2013-09-23 Joseph Myers <joseph@codesourcery.com>
31977
31978 * locale/hashval.h (compute_hashval): Interpret bytes of key as
31979 unsigned char.
31980
31981 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
31982
31983 * manual/threads.texi (POSIX Threads): Fix a typo.
31984
31985 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
31986
31987 [BZ #14547]
31988 * string/tst-strcoll-overflow.c: New test case.
31989 * string/Makefile (xtests): Add tst-strcoll-overflow.
31990 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31991 cache if string sizes may cause integer overflow.
31992
31993 [BZ #14547]
31994 * string/strcoll_l.c (coll_seq): New members rule, idx,
31995 save_idx and back_us.
31996 (get_next_seq_nocache): New function.
31997 (do_compare_nocache): New function.
31998 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31999 when malloc fails.
32000
32001 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32002
32003 [BZ #15754]
32004 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32005 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32006 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32007
32008 [BZ #15754]
32009 * elf/Makefile (tests): Add tst-ptrguard1.
32010 (tests-static): Add tst-ptrguard1-static.
32011 (tst-ptrguard1-ARGS): Define.
32012 (tst-ptrguard1-static-ARGS): Define.
32013 * elf/tst-ptrguard1.c: New file.
32014 * elf/tst-ptrguard1-static.c: New file.
32015 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32016 * sysdeps/i386/stackguard-macros.h: Likewise.
32017 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32018 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32019 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32020 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32021 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32022 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32023
32024 2013-09-23 Hector Marco <hecmargi@upv.es>
32025 Ismael Ripoll <iripoll@disca.upv.es>
32026 Carlos O'Donell <carlos@redhat.com>
32027
32028 [BZ #15754]
32029 * sysdeps/generic/stackguard-macros.h: Define
32030 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32031 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32032 Define __pointer_chk_guard_local.
32033 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32034 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32035
32036 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32037
32038 [BZ #15859]
32039 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32040
32041 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32042
32043 * include/string.h (__ffs): Declare as hidden.
32044 * string/ffs.c (__ffs): Define as hidden.
32045 * sysdeps/i386/ffs.c (__ffs): Likewise.
32046 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32047 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32048 * sysdeps/s390/ffs.c (__ffs): Likewise.
32049 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32050
32051 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32052
32053 * NEWS: Mention malloc probes.
32054
32055 * malloc/arena.c (new_heap): New memory_heap_new probe.
32056 (grow_heap): New memory_heap_more probe.
32057 (shrink_heap): New memory_heap_less probe.
32058 (heap_trim): New memory_heap_free probe.
32059 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32060 (systrim): New memory_sbrk_less probe.
32061 * manual/probes.texi: Document them.
32062
32063 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32064 * manual/probes.texi: Document it.
32065
32066 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32067 (__libc_realloc): Add memory_realloc_retry probe.
32068 (__libc_memalign): Add memory_memalign_retry probe.
32069 (__libc_valloc): Add memory_valloc_retry probe.
32070 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32071 (__libc_calloc): Add memory_calloc_retry probe.
32072 * manual/probes.texi: Document them.
32073
32074 * malloc/arena.c (get_free_list): Add probe
32075 memory_arena_reuse_free_list.
32076 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32077 and memory_arena_reuse.
32078 (arena_get2) [!PER_THREAD]: Likewise.
32079 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32080 memory_arena_reuse_realloc.
32081 * manual/probes.texi: Document them.
32082
32083 * malloc/malloc.c (__libc_free): Add
32084 memory_mallopt_free_dyn_thresholds probe.
32085 (__libc_mallopt): Add multiple memory_mallopt probes.
32086 * manual/probes.texi: Document them.
32087
32088 * malloc/malloc.c: Include stap-probe.h.
32089 (__libc_mallopt): Add memory_mallopt probe.
32090 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32091 * manual/probes.texi: New.
32092 * manual/Makefile (chapters): Add probes.
32093 * manual/threads.texi: Set next node.
32094
32095 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32096
32097 [BZ #15963, #13985]
32098 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32099 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32100 Add `Chinese' to `nan' entry name.
32101
32102 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32103
32104 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32105 (POLYNOMIAL): Likewise.
32106 (TAYLOR_SINCOS): Likewise.
32107 (TAYLOR_SLOW): Likewise.
32108 (__sin): Use TAYLOR_SINCOS.
32109 (__cos): Likewise.
32110 (slow): Use TAYLOR_SLOW.
32111 (sloww): Likewise.
32112 (bsloww): Likewise.
32113 (csloww): Likewise.
32114
32115 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32116
32117 * stdlib/strtod_l.c: Fix buffer overrun.
32118
32119 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32120
32121 * benchtests/Makefile (bench): Add sincos.
32122 * benchtests/bench-sincos.c: New file.
32123
32124 * math/libm-test.inc (cos_test_data): New test inputs.
32125 (sin_test_data): Likewise.
32126
32127 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32128 macro.
32129 (__sin): Use it.
32130 (__cos): Likewise.
32131 (slow1): Likewise.
32132 (slow2): Likewise.
32133 (sloww1): Likewise.
32134 (sloww2): Likewise.
32135 (bsloww1): Likewise.
32136 (bsloww2): Likewise.
32137 (cslow2): Likewise.
32138 (csloww1): Likewise.
32139 (csloww2): Likewise.
32140
32141 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32142 function.
32143 (__sin): Use it.
32144 (__cos): Likewise.
32145
32146 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32147 gotos.
32148 (__cos): Likewise.
32149
32150 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32151
32152 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32153 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32154 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32155 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32156 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32157 * elf/cache.c (print_entry): Handle the new cache flags.
32158
32159 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32160 Aldy Hernandez <aldyh@redhat.com>
32161
32162 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32163 Change condition to [_SOFT_FLOAT].
32164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32167 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32176 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32179 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32180 declaration.
32181
32182 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32183
32184 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32185 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32186 (__longjmp): Use LOAD_GP to load saved GPRs.
32187 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32188 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32189 (__sigsetjmp): Use SAVE_GP to save GPRs.
32190
32191 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32192 Do not append -msoft-float.
32193 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32194
32195 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32196
32197 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32198
32199 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32200
32201 [BZ #15966]
32202 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32203 (_FPU_GETCW): Use initial "__" on variable and field names but not
32204 on macro parameter name.
32205 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32206 parentheses around reference to macro parameter.
32207
32208 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32209
32210 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32211 prototype.
32212 (ctype_startup): Use uint32_t in cast and sizeof for
32213 ctype->charnames.
32214
32215 2013-09-11 Jia Liu <proljc@gmail.com>
32216
32217 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32218 __daddr_t_defined.
32219 [__FreeBSD__]: Likewise.
32220
32221 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32222
32223 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32224 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32225 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32226 (strchr): Remove __strchr_sse42 ifunc selection.
32227 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32228 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32229
32230 2013-09-11 Will Newton <will.newton@linaro.org>
32231
32232 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32233 parameter to RES. Remove hardcoded 1000 value.
32234 * benchtests/bench-skeleton.c (main): Pass RES parameter
32235 to TIMING_INIT and multiply result by 1000.
32236
32237 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32238
32239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32240
32241 2013-09-11 Andreas Schwab <schwab@suse.de>
32242
32243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32244 if not defined.
32245 (O_TMPFILE) [__USE_GNU]: Define.
32246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32247 Define.
32248
32249 2013-09-11 Will Newton <will.newton@linaro.org>
32250
32251 [BZ #15857]
32252 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32253 does not overflow.
32254
32255 2013-09-11 Will Newton <will.newton@linaro.org>
32256
32257 [BZ #15856]
32258 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32259 does not overflow.
32260
32261 2013-09-11 Will Newton <will.newton@linaro.org>
32262
32263 [BZ #15855]
32264 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32265 does not overflow.
32266
32267 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32268
32269 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32270 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32271 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32272 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32273 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32274
32275 2013-09-10 Allan McRae <allan@archlinux.org>
32276
32277 [BZ #15748]
32278 * manual/arith.texi (Parsing of Floats): Clarify
32279 cross-reference.
32280
32281 [BZ #15849]
32282 * manual/install.texi (Running make install): Mention
32283 --enable-pt-chown.
32284 * INSTALL: Regenerated.
32285
32286 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32287
32288 * csu/init-first.c (_init): Remove the !SHARED condition around
32289 FPU control word initialization.
32290 * elf/dl-support.c (_dl_fpu_control): New variable.
32291 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32292 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32293 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32294 * math/test-fpucw-static.c: New file.
32295 * math/test-fpucw-ieee.c: New file.
32296 * math/test-fpucw-ieee-static.c: New file.
32297 * math/Makefile (tests): Add `test-fpucw-ieee' and
32298 `$(tests-static)'.
32299 (tests-static): New variable.
32300 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32301 dependency to...
32302 [($(build-shared),yes)]
32303 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32304 ... this.
32305 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32306 New dependency.
32307
32308 2013-09-09 Allan McRae <allan@archlinux.org>
32309
32310 [BZ #15939]
32311 * manual/string.texi (Collation Functions): Fix typo in
32312 strcoll example.
32313 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32314
32315 [BZ #15893]
32316 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32317
32318 [BZ #15892]
32319 * libio/memstream.c (open_memstream): Fix memory leak.
32320 * libio/wmemstream.c (open_wmemstream): Likewise.
32321
32322 [BZ #15895]
32323 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32324
32325 2013-09-09 Will Newton <will.newton@linaro.org>
32326
32327 * malloc/Makefile: Add tst-realloc to tests.
32328 * malloc/tst-realloc.c: New file.
32329
32330 2013-09-09 Allan McRae <allan@archlinux.org>
32331
32332 [BZ #15844]
32333 * COPYING: Update from GNU website to fix FSF address.
32334 * COPYING.LIB: Likewise.
32335
32336 2013-09-06 David S. Miller <davem@davemloft.net>
32337
32338 * po/zh_TW.po: Update Chinese (traditional) translation from
32339 translation project.
32340
32341 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32342 Joseph Myers <joseph@codesourcery.com>
32343
32344 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32345 "localeinfo.h".
32346 (obstack_chunk_alloc): New macro.
32347 (obstack_chunk_free): Likewise.
32348 (record_offset): New function.
32349 (init_locale_data): Likewise.
32350 (align_locale_data): Likewise.
32351 (add_locale_empty): Likewise.
32352 (add_locale_raw_data): Likewise.
32353 (add_locale_raw_obstack): Likewise.
32354 (add_locale_string): Likewise.
32355 (add_locale_wstring): Likewise.
32356 (add_locale_uint32): Likewise.
32357 (add_locale_uint32_array): Likewise.
32358 (add_locale_char): Likewise.
32359 (start_locale_structure): Likewise.
32360 (end_locale_structure): Likewise.
32361 (start_locale_prelude): Likewise.
32362 (end_locale_prelude): Likewise.
32363 (write_locale_data): Take locale_file structure rather than an
32364 iovec.
32365 * locale/programs/locfile.h: Include "obstack.h".
32366 (struct locale_file): Change to store locale file contents instead
32367 of header.
32368 (init_locale_data): New prototype.
32369 (align_locale_data): Likewise.
32370 (add_locale_empty): Likewise.
32371 (add_locale_raw_data): Likewise.
32372 (add_locale_raw_obstack): Likewise.
32373 (add_locale_string): Likewise.
32374 (add_locale_wstring): Likewise.
32375 (add_locale_uint32): Likewise.
32376 (add_locale_uint32_array): Likewise.
32377 (add_locale_char): Likewise.
32378 (start_locale_structure): Likewise.
32379 (end_locale_structure): Likewise.
32380 (start_locale_prelude): Likewise.
32381 (end_locale_prelude): Likewise.
32382 (write_locale_data): Update prototype.
32383 * locale/programs/3level.h (struct TABLE): Remove result field.
32384 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32385 Use new locale_file interface.
32386 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32387 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32388 * locale/programs/ld-address.c (address_output): Use new
32389 locale_file interface.
32390 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32391 NO_ADD_LOCALE.
32392 (collate_finish): Don't call collseq_table_finalize.
32393 (collate_output): Use new locale_file interface.
32394 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32395 in file.
32396 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32397 (TABLE): Move defines earlier in file.
32398 (ELEMENT): Likewise.
32399 (DEFAULT): Likewise.
32400 (wctrans_table_add): Move macro and inline function earlier in
32401 file.
32402 (struct wctype_table): Move type earlier in file.
32403 (add_locale_wctype_table): New static prototype.
32404 (struct locale_ctype_t): Use logical types instead of struct iovec
32405 pointers for members.
32406 (ctype_output): Use new locale_file interface.
32407 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32408 new locale_file interface.
32409 (allocate_arrays): Update for use of new locale_file interface.
32410 * locale/programs/ld-identification.c (identification_output): Use
32411 new locale_file interface.
32412 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32413 * locale/programs/ld-messages.c (messages_output): Likewise.
32414 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32415 * locale/programs/ld-name.c (name_output): Likewise.
32416 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32417 * locale/programs/ld-paper.c (paper_output): Likewise.
32418 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32419 * locale/programs/ld-time.c (time_output): Likewise.
32420
32421 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32422
32423 * benchtests/Makefile: Add memrchr benchmark.
32424 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32425 benchmark as memrchr.
32426 * benchtests/bench-memrchr-ifunc.c: New file.
32427 * benchtests/bench-memrchr.c: New file.
32428
32429 2013-09-06 Will Newton <will.newton@linaro.org>
32430
32431 * benchtests/Makefile (string-bench): Add memcpy.
32432
32433 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32434 Cong Wang <amwang@redhat.com>
32435
32436 [BZ #15850]
32437 * sysdeps/unix/sysv/linux/bits/in.h
32438 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32439 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32440 before __USE_KERNEL_IPV6_DEFS uses.
32441 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32442 IPPROTO_BEETPH.
32443 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32444 sockaddr_in6, or ipv6_mreq.
32445
32446 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32447
32448 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32449 memory access for final bytes in some large inputs.
32450 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32451
32452 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32453
32454 * string/test-memrchr.c: New file.
32455 * string/test-memrchr-ifunc.c: New file.
32456 * string/Makefile: Add new memrchr testcase.
32457
32458 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32459
32460 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32461 fanotify_init returns EPERM.
32462
32463 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32464
32465 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32466 errors.
32467 (top level): Treat second token from macro or constant entries for
32468 allowed headers as allowed.
32469 * include/complex.h: Condition internal declarations on
32470 [!_ISOMAC].
32471 * include/fenv.h: Condition include of <stdbool.h> and internal
32472 declarations on [!_ISOMAC].
32473
32474 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32475
32476 [BZ #15923]
32477 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32478
32479 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32480
32481 * configure.in (--enable-versioning): Remove configure option.
32482 (libc_cv_asm_symver_directive): Remove configure test.
32483 (libc_cv_ld_version_script_option): Likewise.
32484 (VERSIONING): Remove variable and AC_SUBST.
32485 (DO_VERSIONING): Remove AC_DEFINE.
32486 * configure: Regenerated.
32487 * config.h.in (DO_VERSIONING): Remove macro.
32488 * Makerules [$(versioning) = yes]: Change conditionals to
32489 [$(build-shared) = yes].
32490 * config.make.in (versioning): Remove variable.
32491 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32492 [$(build-shared) = yes].
32493 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32494 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32495 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32496 [$(build-shared) = yes].
32497 * extra-lib.mk [$(versioning) = yes]: Likewise.
32498 * hurd/Makefile [$(versioning) = yes]: Likewise.
32499 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32500 [SHARED].
32501 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32502 [SHARED].
32503 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32504 [SHARED && !NO_HIDDEN].
32505 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32506 [SHARED].
32507 [SHARED && DO_VERSIONING]: Likewise..
32508 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32509 [$(build-shared) = yes].
32510 * manual/install.texi (--disable-versioning): Remove
32511 documentation.
32512 * INSTALL: Regenerated.
32513 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32514 to [SHARED].
32515 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32516 [$(build-shared) = yes].
32517 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32518 * sysdeps/i386/i686/multiarch/strstr-c.c
32519 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32520 [SHARED && !NO_HIDDEN].
32521 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32522 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32523 * sysdeps/powerpc/powerpc32/dl-machine.c
32524 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32525 * sysdeps/powerpc/powerpc32/sysdep.h
32526 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32527 to [SHARED && PIC && !NO_HIDDEN].
32528 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32529 conditional to [SHARED].
32530
32531 2013-09-04 Will Newton <will.newton@linaro.org>
32532
32533 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32534 * benchtests/bench-string.h: Include bench-timing.h instead
32535 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32536 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32537 call to HP_TIMING_DIFF_INIT.
32538 * benchtests/bench-memccpy.c: Use bench-timing.h macros
32539 instead of hp-timing.h macros.
32540 * benchtests/bench-memchr.c: Likewise.
32541 * benchtests/bench-memcmp.c: Likewise.
32542 * benchtests/bench-memcpy.c: Likewise.
32543 * benchtests/bench-memmem.c: Likewise.
32544 * benchtests/bench-memmove.c: Likewise.
32545 * benchtests/bench-memset.c: Likewise.
32546 * benchtests/bench-rawmemchr.c: Likewise.
32547 * benchtests/bench-strcasecmp.c: Likewise.
32548 * benchtests/bench-strcasestr.c: Likewise.
32549 * benchtests/bench-strcat.c: Likewise.
32550 * benchtests/bench-strchr.c: Likewise.
32551 * benchtests/bench-strcmp.c: Likewise.
32552 * benchtests/bench-strcpy.c: Likewise.
32553 * benchtests/bench-strcpy_chk.c: Likewise.
32554 * benchtests/bench-strlen.c: Likewise.
32555 * benchtests/bench-strncasecmp.c: Likewise.
32556 * benchtests/bench-strncat.c: Likewise.
32557 * benchtests/bench-strncmp.c: Likewise.
32558 * benchtests/bench-strncpy.c: Likewise.
32559 * benchtests/bench-strnlen.c: Likewise.
32560 * benchtests/bench-strpbrk.c: Likewise.
32561 * benchtests/bench-strrchr.c: Likewise.
32562 * benchtests/bench-strspn.c: Likewise.
32563 * benchtests/bench-strstr.c: Likewise.
32564
32565 2013-09-04 Will Newton <will.newton@linaro.org>
32566
32567 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32568
32569 2013-09-03 Joseph Myers <joseph@codesourcery.com>
32570
32571 [BZ #15427]
32572 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32573 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32574 * math/libm-test.inc (lgamma_test_data): Add more tests.
32575 * sysdeps/i386/fpu/libm-test-ulps: Update.
32576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32577
32578 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
32579
32580 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32581 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32582 Add ifunc.
32583 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32584 Add strcmp-sse2-unaligned
32585 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32586
32587 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32588
32589 * Versions.def (libc): Add GLIBC_2.19.
32590
32591 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32592
32593 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32594 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32595
32596 2013-09-02 Joseph Myers <joseph@codesourcery.com>
32597
32598 [BZ #14155]
32599 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32600 intermediate calculations in recurrence.
32601 (__ieee754_ynf): Likewise.
32602 * math/libm-test.inc (jn_test_data): Do not allow spurious
32603 underflow exception. Add more tests.
32604 (yn_test_data): Add more tests.
32605 * sysdeps/i386/fpu/libm-test-ulps: Update.
32606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32607
32608 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
32609
32610 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32611
32612 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32613
32614 * csu/init-first.c: Fix then/than typos.
32615 * locale/programs/ld-collate.c: Likewise.
32616 * locale/programs/linereader.h: Likewise.
32617 * manual/charset.texi: Likewise.
32618 * manual/filesys.texi: Likewise.
32619 * manual/stdio.texi: Likewise.
32620 * manual/string.texi: Likewise.
32621 * stdlib/fmtmsg.c: Likewise.
32622 * sysdeps/i386/stpncpy.S: Likewise.
32623 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32624 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32625 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32626 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32627
32628 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32629
32630 * elf/dl-open.c: Fix typos.
32631 * iconvdata/gbbig5.c: Likewise.
32632 * iconvdata/iso-2022-jp.c: Likewise.
32633 * iconv/gconv_int.h: Likewise.
32634 * iconv/loop.c: Likewise.
32635 * nis/rpcsvc/nis.h: Likewise.
32636 * resolv/ns_name.c: Likewise.
32637 * stdio-common/vfscanf.c: Likewise.
32638 * streams/stropts.h: Likewise.
32639 * sunrpc/rpc_thread.c: Likewise.
32640 * sysdeps/i386/strpbrk.S: Likewise.
32641 * sysdeps/ieee754/k_standard.c: Likewise.
32642 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32643 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32644 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32645 * sysdeps/mach/hurd/profil.c: Likewise.
32646 * sysdeps/s390/dl-procinfo.h: Likewise.
32647 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32648 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32649 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32650 * sysdeps/x86_64/dl-trampoline.S: Likewise.
32651 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32652
32653 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32654
32655 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32656 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32657
32658 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32659
32660 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32661 aix specific files.
32662 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32663 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32664 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32665 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32666 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32667 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32668 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32669 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32670
32671 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32672 Roland McGrath <roland@hack.frob.com>
32673
32674 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32675 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32676
32677 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
32678
32679 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32680 __executable_start symbol instead of _start.
32681
32682 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32683
32684 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32685 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32686 Move macros to...
32687 * sysdeps/gnu/ldsodefs.h: ... this new file.
32688
32689 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32690 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32691 instead of ELFOSABI_LINUX.
32692
32693 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32694 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32695 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32696 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32697 Likewise.
32698 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32699 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32700 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32701 Likewise.
32702 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32703 (ibm_extended_long_double): Add ieee_nan member.
32704 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32705 (do_test): New function.
32706
32707 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32708 TEST_TRUNC.
32709 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32710 functions, renamed from truncdfsf_test, trunctfsf_test,
32711 trunctfdf_test.
32712 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32713 functions.
32714 (do_test): Run all these.
32715
32716 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32717
32718 * argp/argp-help.c: Fix typos.
32719 * argp/argp-parse.c: Likewise.
32720 * debug/backtracesyms.c: Likewise.
32721 * elf/elf.h: Likewise.
32722 * malloc/malloc.c: Likewise.
32723 * nis/nis_print.c: Likewise.
32724 * resolv/res_comp.c: Likewise.
32725 * stdlib/stdlib.h: Likewise.
32726 * sunrpc/clnt_tcp.c: Likewise.
32727 * sunrpc/clnt_udp.c: Likewise.
32728 * sunrpc/clnt_unix.c: Likewise.
32729 * sysdeps/unix/bsd/ptsname.c: Likewise.
32730 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32731 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32733 Likewise.
32734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32735 Likewise.
32736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32737 Likewise.
32738 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32739
32740 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32741
32742 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32744
32745 2013-08-27 Mike Frysinger <vapier@gentoo.org>
32746
32747 [BZ #15897]
32748 * dlfcn/Makefile (tests): Add bug-dl-leaf.
32749 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32750 ($(objpfx)bug-dl-leaf): New rule.
32751 ($(objpfx)bug-dl-leaf.so): Likewise.
32752 ($(objpfx)bug-dl-leaf.out): Likewise.
32753 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32754 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32755 * dlfcn/bug-dl-leaf.c: New test.
32756 * dlfcn/bug-dl-leaf-lib.c: Likewise.
32757 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32758 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32759 (dlclose): Likewise.
32760 (dlmopen): Likewise.
32761
32762 2013-08-27 Roland McGrath <roland@hack.frob.com>
32763
32764 * include/netdb.h [!_ISOMAC]:
32765 Don't include <tls.h>.
32766 (h_errno, __libc_h_errno): Move declaration and macros out of
32767 [_LIBC_REENTRANT].
32768
32769 * include/resolv.h [_RESOLV_H_]:
32770 Don't include <tls.h>.
32771 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32772 * resolv/res_libc.c: Don't include <tls.h>.
32773 (_res): Use __attribute__ ((nocommon)) in place of
32774 __attribute__ ((section (".bss"))).
32775
32776 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32777 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32778
32779 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32780
32781 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32782 only under [SIOCGIFCONF && SIOCGIFNETMASK].
32783
32784 * resolv/res_mkquery.c: Include <sys/time.h>.
32785
32786 * inet/ifreq.c: Moved to ...
32787 * sysdeps/unix/ifreq.c: ... here.
32788 * inet/ifreq.c: New file, true stub version.
32789
32790 * socket/sa_len.c: New file.
32791 * socket/Makefile (aux): Add it.
32792 * sysdeps/unix/sysv/linux/Makefile
32793 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32794 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32795 and #include <socket/sa_len.c>.
32796 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32797 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32798
32799 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32800 * bits/socket.h: ... here.
32801
32802 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32803 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32804 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32805
32806 2013-08-27 Andreas Schwab <schwab@suse.de>
32807
32808 [BZ #15736]
32809 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32810 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32811 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32812 * string/test-strcasecmp.c (test_main): Run tests in several
32813 locales.
32814 * string/test-strncasecmp.c (test_main): Likewise.
32815
32816 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32817 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32818 to __strcasecmp_nonascii and __strncasecmp_nonascii.
32819 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32820 (__strncasecmp_ssse3) [PIC]: Likewise.
32821
32822 2013-08-26 Roland McGrath <roland@hack.frob.com>
32823
32824 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32825
32826 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32827 instead of explicitly declaring xdecrypt.
32828 * nis/nss_nis/nis-publickey.c: Likewise.
32829
32830 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32831
32832 [BZ #15890]
32833 * nscd/aicache.c: Include res_hconf.h.
32834 (addhstaiX): Initialize res_hconf.
32835
32836 2013-08-26 Andreas Schwab <schwab@suse.de>
32837
32838 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32839 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32840
32841 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32842
32843 * nscd/aicache.c (addhstaiX): Fix indentation.
32844
32845 2013-08-25 Mike Frysinger <vapier@gentoo.org>
32846
32847 * configure.ac: Quote $build_pt_chown test.
32848 * configure: Regenerated.
32849
32850 2013-08-23 Joseph Myers <joseph@codesourcery.com>
32851
32852 [BZ #15532]
32853 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32854 * math/s_cexpf.c (__cexpf): Likewise.
32855 * math/s_cexpl.c (__cexpl): Likewise.
32856 * math/libm-test.inc (cexp_test_data): Correct expected return
32857 value for NaN + i0. Add another test.
32858
32859 2013-08-22 David S. Miller <davem@davemloft.net>
32860
32861 * po/ca.po: Update Catalan translation from translation project.
32862 * po/uk.po: Add Ukrainian translations from translation project.
32863
32864 2013-08-21 Joseph Myers <joseph@codesourcery.com>
32865
32866 [BZ #15797]
32867 * math/s_fdim.c (__fdim): Check for infinite arguments if result
32868 is infinite, not alongside NaN test.
32869 * math/s_fdimf.c (__fdimf): Likewise.
32870 * math/s_fdiml.c (__fdiml): Likewise.
32871 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
32872 errno is unchanged.
32873
32874 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
32875
32876 * argp/argp-help.c: Fix typos.
32877 * crypt/speeds.c: Likewise.
32878 * csu/check_fds.c: Likewise.
32879 * elf/dl-load.c: Likewise.
32880 * elf/dl-open.c: Likewise.
32881 * elf/reldep3.c: Likewise.
32882 * elf/reldep.c: Likewise.
32883 * elf/sprof.c: Likewise.
32884 * iconv/iconv_charmap.c: Likewise.
32885 * iconv/skeleton.c: Likewise.
32886 * iconv/strtab.c: Likewise.
32887 * io/lockf64.c: Likewise.
32888 * libio/libioP.h: Likewise.
32889 * resolv/gai_notify.c: Likewise.
32890 * resolv/ns_name.c: Likewise.
32891 * resolv/ns_samedomain.c: Likewise.
32892 * resolv/res_send.c: Likewise.
32893 * stdlib/random.c: Likewise.
32894 * sunrpc/rpc/xdr.h: Likewise.
32895 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32896 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32897 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32898 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32899 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32900 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32903 * sysdeps/mach/hurd/check_fds.c: Likewise.
32904 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32905 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32906 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32907 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32908 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32909 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32910 * sysdeps/pthread/aio_notify.c: Likewise.
32911 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32912 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32913 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32914 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32915 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32916
32917 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32918
32919 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32920 version if bit_Slow_SSE4_2 is set.
32921 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32922 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32923
32924 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32925
32926 [BZ #15867]
32927 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32928 trampoline stack frame information.
32929 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32930 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32931 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32932 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32933 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32934 * sysdeps/unix/sysv/linux/powerpc/init-first.c
32935 (_libc_vdso_platform_setup): Initialize the signal trampolines.
32936 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32937 sa_flags value.
32938 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32939 interrupting a syscall and set with option SA_SIGINFO.
32940
32941 2013-08-20 Joseph Myers <joseph@codesourcery.com>
32942
32943 [BZ #15531]
32944 * math/s_cproj.c (__cproj): Only return an infinity if one part of
32945 argument is infinite.
32946 * math/s_cprojf.c (__cprojf): Likewise.
32947 * math/s_cprojl.c (__cprojl): Likewise.
32948 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32949 * math/libm-test.inc (cproj_test_data): Add more tests.
32950
32951 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32952
32953 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32954 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32955 size. Use __ffs to determine corresponding shift.
32956
32957 2013-08-20 Joseph Myers <joseph@codesourcery.com>
32958 Roland McGrath <roland@hack.frob.com>
32959
32960 * Makefile (INSTALL): Remove trailing blank lines from output of
32961 makeinfo.
32962
32963 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32964
32965 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32966 Align 32 bit compat elf_greg to 8 bytes.
32967
32968 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
32969
32970 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32971
32972 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32973
32974 * string/strcoll_l.c (coll_seq): New structure.
32975 (get_next_seq_cached): New function.
32976 (get_next_seq): New function.
32977 (do_compare): New function.
32978 (STRCOLL): Use GNU style definition. Simplify implementation
32979 by using get_next_seq, get_next_seq_cached and do_compare.
32980
32981 2013-08-16 Florian Weimer <fweimer@redhat.com>
32982
32983 [BZ #14699]
32984 CVE-2013-4237
32985 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32986 member.
32987 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32988 member.
32989 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32990 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32991 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
32992 conditional.
32993 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32994 GETDENTS_64BIT_ALIGNED.
32995 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32996 * manual/filesys.texi (Reading/Closing Directory): Document
32997 ENAMETOOLONG return value of readdir_r. Recommend readdir more
32998 strongly.
32999 * manual/conf.texi (Limits for Files): Add portability note to
33000 NAME_MAX, PATH_MAX.
33001 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33002
33003 2013-08-13 Andreas Schwab <schwab@suse.de>
33004
33005 [BZ #15749]
33006 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33007 of fabs.
33008 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33009 LDBL_MAX_EXP >= 16384]: Add tests for it.
33010
33011 2013-08-12 David S. Miller <davem@davemloft.net>
33012
33013 * version.h (RELEASE): Set to "development".
33014 (VERSION): Set to "2.18.90".
33015 * NEWS: Add 2.19 section.
33016
33017 2013-08-03 David S. Miller <davem@davemloft.net>
33018
33019 * po/ko.po: Update Korean translation from translation project.
33020
33021 2013-08-01 David S. Miller <davem@davemloft.net>
33022
33023 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33024 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33025 Bilka.
33026
33027 2013-07-30 David S. Miller <davem@davemloft.net>
33028
33029 * po/fr.po: Update French translation from translation project.
33030
33031 2013-07-28 David S. Miller <davem@davemloft.net>
33032
33033 * po/cs.po: Update Czech translation from translation project.
33034
33035 * po/sv.po: Update Swedish translation from translation project.
33036
33037 2013-07-27 David S. Miller <davem@davemloft.net>
33038
33039 * po/eo.po: Update Esperanto translation from translation project.
33040
33041 * po/vi.po: Update Vietnamese translation from translation project.
33042
33043 * po/de.po: Update German translation from translation project.
33044
33045 2013-07-26 David S. Miller <davem@davemloft.net>
33046
33047 * po/bg.po: Update Bulgarian translation from translation project.
33048
33049 * po/nl.po: Update Dutch translation from translation project.
33050 * po/pl.po: Update Polish translation from translation project.
33051 * po/ru.po: Update Russian translation from translation project.
33052
33053 2013-07-24 David S. Miller <davem@davemloft.net>
33054
33055 * po/libc.pot: Update.
33056
33057 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33058
33059 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33060 variable page size.
33061 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33062 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33063 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33064
33065 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33066
33067 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33068
33069 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33070 Andreas Schwab <schwab@suse.de>
33071 Roland McGrath <roland@hack.frob.com>
33072 Joseph Myers <joseph@codesourcery.com>
33073 Carlos O'Donell <carlos@redhat.com>
33074
33075 [BZ #15755]
33076 * config.h.in: Define HAVE_PT_CHOWN.
33077 * config.make.in (build-pt-chown): New variable.
33078 * configure.in (--enable-pt_chown): New configure option.
33079 * configure: Regenerate.
33080 * login/Makefile: Include Makeconfig. Build pt_chown only if
33081 build-pt-chown is enabled.
33082 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33083 pt_chown to fix pty ownership.
33084 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33085 CLOSE_ALL_FDS.
33086 * manual/install.texi (Configuring and compiling): Mention
33087 --enable-pt_chown. Add @findex for grantpt.
33088 * INSTALL: Regenerate.
33089
33090 2013-07-20 David S. Miller <davem@davemloft.net>
33091
33092 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33093 difference between 32-bit and 64-bit.
33094
33095 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33096
33097 [BZ #15711]
33098 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33099 Avoid system header dependency with -ffreestanding.
33100 ($(objpfx)bits/syscall%d): Likewise.
33101
33102 2013-07-13 David S. Miller <davem@davemloft.net>
33103
33104 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33105 underflows from atanl/atan2l due to bug 15319.
33106 (casinh_test_data): Likewise.
33107
33108 2013-07-07 David S. Miller <davem@davemloft.net>
33109
33110 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33111
33112 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33113
33114 * sysdeps/i386/fpu/libm-test-ulps: Update.
33115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33116
33117 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33118
33119 * configure.in (--enable-lock-elision): Fix message text.
33120 * INSTALL: Regenerate.
33121 * configure: Regenerate.
33122
33123 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33124
33125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33126
33127 2013-07-03 Andreas Jaeger <aj@suse.de>
33128
33129 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33130 define.
33131 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33132 (ptrace_peeksiginfo_args): Add.
33133 (__ptrace_peeksiginfo_flags): Add.
33134 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33135 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33136 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33137
33138 2013-07-03 Allan McRae <allan@archlinux.org>
33139
33140 * sysdeps/i386/fpu/libm-test-ulps: Update.
33141
33142 2013-07-02 David S. Miller <davem@davemloft.net>
33143
33144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33145
33146 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33147
33148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33149
33150 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33151
33152 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33154
33155 2013-07-02 Andi Kleen <ak@linux.intel.com>
33156
33157 * config.h.in (ENABLE_LOCK_ELISION): Add.
33158 * configure.in (--enable-lock-elision): Add option.
33159 * manual/install.texi: Document --enable lock elision.
33160 * configure: Regenerate
33161 * INSTALL: Regenerate.
33162
33163 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33164
33165 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33166 SSE4.2 strcasecmp for libc.a.
33167 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33168
33169 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33170
33171 [BZ #13304]
33172 * soft-fp/op-common.h (_FP_FMA): New macro.
33173 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33174 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33175 (_FP_MUL_MEAT_1_imm): ... here.
33176 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33177 (_FP_MUL_MEAT_1_wide): ... here.
33178 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33179 (_FP_MUL_MEAT_1_hard): ... here.
33180 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33181 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33182 (_FP_MUL_MEAT_2_wide): ... here.
33183 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33184 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33185 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33186 (_FP_MUL_MEAT_2_gmp): ... here.
33187 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33188 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33189 (_FP_MUL_MEAT_4_wide): ... here.
33190 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33191 (_FP_MUL_MEAT_4_gmp): ... here.
33192 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33193 (_FP_WFRACBITS_DW_S): Likewise.
33194 (_FP_WFRACXBITS_DW_S): Likewise.
33195 (_FP_HIGHBIT_DW_S): Likewise.
33196 (FP_FMA_S): Likewise.
33197 (_FP_FRAC_HIGH_DW_S): Likewise.
33198 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33199 (_FP_WFRACBITS_DW_D): Likewise.
33200 (_FP_WFRACXBITS_DW_D): Likewise.
33201 (_FP_HIGHBIT_DW_D): Likewise.
33202 (FP_FMA_D): Likewise.
33203 (_FP_FRAC_HIGH_DW_D): Likewise.
33204 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33205 (_FP_WFRACBITS_DW_E): Likewise.
33206 (_FP_WFRACXBITS_DW_E): Likewise.
33207 (_FP_HIGHBIT_DW_E): Likewise.
33208 (FP_FMA_E): Likewise.
33209 (_FP_FRAC_HIGH_DW_E): Likewise.
33210 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33211 (_FP_WFRACBITS_DW_Q): Likewise.
33212 (_FP_WFRACXBITS_DW_Q): Likewise.
33213 (_FP_HIGHBIT_DW_Q): Likewise.
33214 (FP_FMA_Q): Likewise.
33215 (_FP_FRAC_HIGH_DW_Q): Likewise.
33216 * soft-fp/fmasf4.c: New file.
33217 * soft-fp/fmadf4.c: Likewise.
33218 * soft-fp/fmatf4.c: Likewise.
33219
33220 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33221
33222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33223 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33224 Silvermont.
33225 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33226 macro.
33227 (index_Slow_SSE4_2): Likewise.
33228 (index_Prefer_PMINUB_for_stringop): Likewise.
33229 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33230 bit_Slow_SSE4_2 is set.
33231 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33232 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33233
33234 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33235
33236 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33237 rtld_global._dl_hwcap2.
33238 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33239 POWER8.
33240 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33241 POWER8 feature descriptions defined in _dl_hwcap2.
33242 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33243 string handling for POWER8 feature bits.
33244 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33245 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33246 _dl_powerpc_cap_flags.
33247 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33248 * sysdeps/powerpc/rtld-global-offsets.sym
33249 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33250 _dl_hwcap2 in the rtld_global_ro structure.
33251
33252 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33253
33254 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33255 hardware capabilities in support of AT_HWCAP2.
33256 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33257 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33258 GLRO(dl_hwcap2).
33259 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33260 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33261 explicitly the unknown a_type display mechanism is used.
33262 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33263 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33264 struct member.
33265 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33266 to macro prototype for AT_HWCAP2 support.
33267 * sysdeps/i386/dl-procinfo.h: Likewise.
33268 * sysdeps/s390/dl-procinfo.h: Likewise.
33269 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33270 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33271 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33272 return -1 for unknown a_type display fallback.
33273 * sysdeps/sparc/dl-procinfo.h: Likewise.
33274 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33275 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33276
33277 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33278
33279 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33280 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33281
33282 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33283
33284 [BZ #12492]
33285 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33286 mprotect making __stack_prot writable.
33287
33288 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33289 Joseph Myers <joseph@codesourcery.com>
33290
33291 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33292 as being properly aligned.
33293
33294 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33295
33296 * dlfcn/modstatic5.c: New file.
33297 * dlfcn/tststatic5.c: New file.
33298 * dlfcn/Makefile (tests): Add tststatic5.
33299 (tests-static): Likewise.
33300 (modules-names): Add modstatic5.
33301 (tststatic5-ENV): New variable.
33302 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33303
33304 [BZ #15022]
33305 * elf/dl-support.c (_dl_main_map): New variable.
33306 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33307 (_dl_nns, _dl_load_adds): Set to 1.
33308 (_dl_initial_searchlist): Refer to _dl_main_map.
33309 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33310 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33311 call to _dl_get_origin.
33312 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33313 around call_map.
33314 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33315 * dlfcn/modstatic3.c: New file.
33316 * dlfcn/tststatic3.c: New file.
33317 * dlfcn/tststatic4.c: New file.
33318 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33319 (tests-static): Likewise.
33320 (modules-names): Add modstatic3.
33321 (tststatic3-ENV, tststatic4-ENV): New variables.
33322 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33323 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33324
33325 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33326
33327 * configure.in (CC): Require GCC version 4.4 or later.
33328 * configure: Regenerated.
33329 * manual/install.texi (Tools for Compilation): Update GCC version
33330 requirement.
33331 * INSTALL: Regenerated.
33332
33333 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33334
33335 [BZ #15674]
33336 * string/test-memcmp.c (check2): New.
33337 (main): Call check2.
33338
33339 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33340
33341 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33342
33343 [BZ #15022]
33344 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33345 over to...
33346 (dl_open_worker) [!SHARED]: ... here.
33347
33348 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33349
33350 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33351
33352 2013-06-25 Richard Henderson <rth@redhat.com>
33353
33354 * locale/programs/locarchive.c: Include <libc-internal.h>
33355
33356 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33357
33358 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33359 trailing whitespace removed.
33360
33361 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33362
33363 [BZ #10283]
33364 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33365 * locale/programs/locarchive.c: Include libc-mmap.h.
33366 (prepare_address_space): Take two new outputs (the mmap base and len).
33367 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33368 values.
33369 (create_archive): Declare new mmap base and len values for
33370 prepare_address_space, and store the result in ah.
33371 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33372 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33373 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33374 Declare new mmap base and len values for
33375 prepare_address_space, and store the result in new_ah.
33376 (open_archive): Declare new mmap base and len values for
33377 prepare_address_space, and store the result in ah.
33378 (close_archive): If ah->mmap_base is not NULL, use that and
33379 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33380 * sysdeps/generic/libc-mmap.h: New file.
33381
33382 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33383
33384 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33385 (ALIGN_UP): Likewise.
33386 (PTR_ALIGN_DOWN): Likewise.
33387 (PTR_ALIGN_UP): Likewise.
33388
33389 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33390
33391 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33392 entry mapped to PPC_PLATFORM_POWER8.
33393 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33394 POWER8.
33395 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33396 (_dl_string_platform): Add case for exporting platform position for
33397 POWER8.
33398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33399 search path to sysdeps/powerpc/powerpc32/power8 directory.
33400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33401 search path to sysdeps/powerpc/powerpc64/power8 directory.
33402 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33403 power7 directories.
33404 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33405 power7 directories.
33406
33407 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33408
33409 * INSTALL: Regenerate.
33410
33411 * nscd/connections.c (nscd_init): Fix comment.
33412
33413 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33414
33415 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33416
33417 [BZ #15667]
33418 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33419 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33420
33421 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33422
33423 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33424 DL_DST_REQ_STATIC.
33425 (DL_DST_REQ_STATIC): Remove macro.
33426
33427 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33428
33429 [BZ #7006]
33430 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33431 with a shift of 0 bits.
33432
33433 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33434
33435 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33436 $(tststatic-ENV).
33437
33438 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33439
33440 [BZ #15655]
33441 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33442
33443 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33444
33445 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33446 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33447 accepts -fno-tree-loop-distribute-patterns.
33448 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33449 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33450 recursive call.
33451 * string/memset.c (memset): Likewise.
33452 * string/test-memmove.c (simple_memmove): Disable loop transformation
33453 to library calls.
33454 * string/test-memset.c (simple_memset): Likewise.
33455 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33456 * benchtests/bench-memset.c (simple_memset): Likewise.
33457 * configure: Regenerated.
33458
33459 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33460
33461 * math/test-misc.c (main): Ignore fesetround failure when failures
33462 of subsequent rounding tests would be ignored.
33463
33464 [BZ #15654]
33465 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33466 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33467 * math/fegetenv.c (__fegetenv): Return 0.
33468 * math/fegetexcept.c (fegetexcept): Return 0.
33469 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33470 FE_TONEAREST.
33471 * math/feholdexcpt.c (feholdexcept): Return 0.
33472 * math/fesetenv.c (__fesetenv): Return 0.
33473 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33474 argument FE_TONEAREST.
33475 * math/feupdateenv.c (__feupdateenv): Return 0.
33476 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33477
33478 2013-06-18 Roland McGrath <roland@hack.frob.com>
33479
33480 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33481 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33482 ($(objpfx)rtld-%.os rules): Use them.
33483
33484 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33485
33486 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33487 fields.
33488
33489 2013-06-17 Roland McGrath <roland@hack.frob.com>
33490
33491 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33492 length of target pattern, then descending length of dependency pattern.
33493 * configure.in (AWK): Require gawk 3.1.2 or newer.
33494 * manual/install.texi (Tools for Compilation): Say that we do.
33495 * configure: Regenerated.
33496
33497 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33498 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33499 * scripts/sysd-rules.awk: ... this new script.
33500 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33501 than a glob-style pattern.
33502
33503 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33504
33505 * math/test-misc.c (main): Do not treat incorrectly rounded
33506 conversions as failure unless ROUNDING_TESTS passes.
33507
33508 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33509
33510 [BZ #15631]
33511 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33512 restore exception state around main square root computation, then
33513 check for inexactness explicitly.
33514
33515 * math/libm-test.inc (fma_test_data): Add another test.
33516
33517 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33518
33519 * manual/threads.texi (Non-POSIX Extensions): New document
33520 node. Document pthread_getattr_default_np and
33521 pthread_setattr_default_np.
33522
33523 * Versions.def (libpthread): Add GLIBC_2.18.
33524 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33526 Likewise.
33527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33528 Likewise.
33529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33530 Likewise.
33531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33532 Likewise.
33533 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33534 Likewise.
33535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33536 Likewise.
33537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33538 Likewise.
33539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33540 Likewise.
33541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33542 Likewise.
33543
33544 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33545
33546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33547 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33548
33549 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33550 H.J. Lu <hjl.tools@gmail.com>
33551
33552 [BZ #15627]
33553 * sysdeps/x86_64/rtld-memset.c: Remove file.
33554 * sysdeps/x86_64/rtld-memset.S: New file.
33555
33556 2013-06-14 Joseph Myers <joseph@codesourcery.com>
33557
33558 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33559 (test_in_one_mode): Take arguments for whether the rounding mode
33560 is supported for each floating-point type.
33561 (do_test): Pass new arguments to test_in_one_mode using
33562 ROUNDING_TESTS.
33563
33564 2013-06-13 Roland McGrath <roland@hack.frob.com>
33565
33566 * posix/tst-waitid.c (do_test): Distinguish different instances of
33567 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
33568 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33569 before entering the kernel for waitpid.
33570
33571 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33572
33573 * NEWS: Fix note on clock function precision. Text by Roland
33574 McGrath.
33575
33576 2013-06-13 Roland McGrath <roland@hack.frob.com>
33577
33578 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33579 it into place only when and if the sanity check passes.
33580
33581 2013-06-13 Joseph Myers <joseph@codesourcery.com>
33582
33583 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33584 output for whether conversion result is exact. Take argument
33585 indicating whether type is IBM long double.
33586 (round_for_all): Change need_exact field to ibm_ld.
33587 * stdlib/tst-strtod-round.c (struct exactness): New type.
33588 (struct test): Change bool ld_ok field to struct exactness exact.
33589 (TEST): Update all definitions for change to field.
33590 (tests): Regenerate array contents.
33591 (test_in_one_mode): Take pointer to new field instead of old ld_ok
33592 field value. Check for IBM long double here.
33593 (do_test): Update calls to test_in_one_mode.
33594
33595 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33596
33597 [BZ #12515]
33598 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33599 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33600
33601 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33602
33603 [BZ #15605]
33604 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33605 generated by the compiler on loop optimizations.
33606 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33607 general definitions.
33608
33609 2013-06-12 Joseph Myers <joseph@codesourcery.com>
33610
33611 * math/bug-nextafter.c: Include <math-tests.h>.
33612 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33613 the relevant type.
33614 * math/bug-nexttoward.c: Include <math-tests.h>.
33615 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33616 the relevant type.
33617 * math/test-misc.c: Include <math-tests.h>.
33618 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33619 the relevant type.
33620
33621 2013-06-12 Andreas Jaeger <aj@suse.de>
33622
33623 * po/ia.po: Update Interlingua translation from translation
33624 project.
33625
33626 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33627
33628 * include/fenv.h: Include stdbool.h.
33629 (struct rm_ctx): New structure.
33630 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33631 Define macro.
33632 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33633 (SET_RESTORE_ROUNDF): Likewise.
33634 (SET_RESTORE_ROUNDL): Likewise.
33635 (SET_RESTORE_ROUND_NOEX): Likewise.
33636 (SET_RESTORE_ROUND_NOEXF): Likewise.
33637 (SET_RESTORE_ROUND_NOEXL): Likewise.
33638 (SET_RESTORE_ROUND_53BIT): Likewise.
33639 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33640 (libc_feresetround_noexf_ctx): Likewise.
33641 (libc_feresetround_noexl_ctx): Likewise.
33642 (libc_feholdsetround_53bit_ctx): Likewise.
33643 (libc_feresetround_53bit_ctx): Likewise.
33644 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33645 (libc_feholdexcept_setround_sse_ctx): New function.
33646 (libc_fesetenv_sse_ctx): Likewise.
33647 (libc_feupdateenv_sse_ctx): Likewise.
33648 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33649 (libc_feholdexcept_setround_387_ctx): Likewise.
33650 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33651 (libc_feholdsetround_387_prec_ctx): Likewise.
33652 (libc_feholdsetround_387_ctx): Likewise.
33653 (libc_feholdsetround_387_53bit_ctx): Likewise.
33654 (libc_feholdsetround_sse_ctx): Likewise.
33655 (libc_feresetround_sse_ctx): Likewise.
33656 (libc_feresetround_387_ctx): Likewise.
33657 (libc_feupdateenv_387_ctx): Likewise.
33658 (libc_feholdexcept_setroundf_ctx): Define macro.
33659 (libc_fesetenvf_ctx): Likewise.
33660 (libc_feupdateenvf_ctx): Likewise.
33661 (libc_feholdsetroundf_ctx): Likewise.
33662 (libc_feresetroundf_ctx): Likewise.
33663 (libc_feholdexcept_setround_ctx): Likewise.
33664 (libc_fesetenv_ctx): Likewise.
33665 (libc_feupdateenv_ctx): Likewise.
33666 (libc_feholdsetround_ctx): Likewise.
33667 (libc_feresetround_ctx): Likewise.
33668 (libc_feholdexcept_setroundl_ctx): Likewise.
33669 (libc_feupdateenvl_ctx): Likewise.
33670 (libc_feholdsetroundl_ctx): Likewise.
33671 (libc_feresetroundl_ctx): Likewise.
33672 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33673 (libc_feresetround_53bit_ctx): Likewise.
33674
33675 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33676
33677 * locale/iso-639.def: Convert to UTF-8.
33678
33679 2013-06-11 Joseph Myers <joseph@codesourcery.com>
33680
33681 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33682 (EXCEPTION_TESTS_double): Likewise.
33683 (EXCEPTION_TESTS_long_double): Likewise.
33684 (EXCEPTION_TESTS): Likewise.
33685 * math/libm-test.inc (test_exceptions): Only test exceptions if
33686 EXCEPTION_TESTS (FLOAT).
33687
33688 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33689
33690 * benchtests/Makefile (string-bench): Add strcpy_chk and
33691 stpcpy_chk.
33692 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33693 * benchtests/bench-stpcpy_chk.c: New file.
33694 * benchtests/bench-strcpy_chk-ifunc.c: New file.
33695 * benchtests/bench-strcpy_chk.c: New file.
33696 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33697 code.
33698 (do_test): Likewise.
33699
33700 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33701
33702 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33703 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33704 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33705 with tabs where appropriate.
33706 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33707 dl-procinfo.h.
33708 [PPC_PLATFORM_PPC440]: Likewise.
33709 [PPC_PLATFORM_PPC464]: Likewise.
33710 [PPC_PLATFORM_PPC476]: Likewise.
33711 (_dl_string_platform): Add support for detecting ppc405, ppc440,
33712 ppc464, and ppc476 platform strings merging from ports/
33713 dl-procinfo.h.
33714
33715 2013-06-11 Andreas Schwab <schwab@suse.de>
33716
33717 [BZ #14991]
33718 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33719 (from_ucs4_idx): Regenerate.
33720 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33721 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33722 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33723 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33724 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33725 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33726 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33727 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33728 from FROM_LOOP and TO_LOOP specific macros.
33729 (BODY): Handle combining characters.
33730 * iconvdata/BIG5HKSCS.irreversible: Update.
33731 * iconvdata/BIG5HKSCS.precomposed: New file.
33732 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33733 characters.
33734 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33735
33736 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33737
33738 * include/sys/time.h: Fix indentation and add copyright header.
33739
33740 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33741 (do_test): Likewise.
33742 * string/test-memchr.c (do_one_test): Likewise.
33743 (do_test): Likewise.
33744 * string/test-memcmp.c (do_one_test): Likewise.
33745 (do_test): Likewise.
33746 * string/test-memcpy.c (do_one_test): Likewise.
33747 (do_test): Likewise.
33748 * string/test-memmem.c (do_one_test): Likewise.
33749 (do_test): Likewise.
33750 (do_random_tests): Likewise.
33751 * string/test-memmove.c (do_one_test): Likewise.
33752 (do_test): Likewise.
33753 * string/test-memset.c (do_one_test): Likewise.
33754 (do_test): Likewise.
33755 * string/test-rawmemchr.c (do_one_test): Likewise.
33756 (do_test): Likewise.
33757 * string/test-strcasecmp.c (do_one_test): Likewise.
33758 (do_test): Likewise.
33759 * string/test-strcasestr.c (do_one_test): Likewise.
33760 (do_test): Likewise.
33761 * string/test-strcat.c (do_one_test): Likewise.
33762 (do_test): Likewise.
33763 * string/test-strchr.c (do_one_test): Likewise.
33764 (do_test): Likewise.
33765 * string/test-strcmp.c (do_one_test): Likewise.
33766 (do_test): Likewise.
33767 * string/test-strcpy.c (do_one_test): Likewise.
33768 (do_test): Likewise.
33769 * string/test-string.h: Likewise.
33770 (test_init): Likewise.
33771 * string/test-strlen.c (do_one_test): Likewise.
33772 (do_test): Likewise.
33773 * string/test-strncasecmp.c (do_one_test): Likewise.
33774 (do_test): Likewise.
33775 * string/test-strncat.c (do_one_test): Likewise.
33776 (do_test): Likewise.
33777 * string/test-strncmp.c (do_one_test): Likewise.
33778 (do_test_limit): Likewise.
33779 (do_test): Likewise.
33780 * string/test-strncpy.c (do_one_test): Likewise.
33781 (do_test): Likewise.
33782 * string/test-strnlen.c (do_one_test): Likewise.
33783 (do_test): Likewise.
33784 * string/test-strpbrk.c (do_one_test): Likewise.
33785 (do_test): Likewise.
33786 * string/test-strrchr.c (do_one_test): Likewise.
33787 (do_test): Likewise.
33788 * string/test-strspn.c (do_one_test): Likewise.
33789 (do_test): Likewise.
33790 * string/test-strstr.c (do_one_test): Likewise.
33791 (do_test): Likewise.
33792
33793 * benchtests/Makefile (string-bench): Add string benchmarks.
33794 * benchtests/bench-bcopy-ifunc.c: New file.
33795 * benchtests/bench-bcopy.c: New file.
33796 * benchtests/bench-bzero-ifunc.c: New file.
33797 * benchtests/bench-bzero.c: New file.
33798 * benchtests/bench-memccpy-ifunc.c: New file.
33799 * benchtests/bench-memccpy.c: New file.
33800 * benchtests/bench-memchr-ifunc.c: New file.
33801 * benchtests/bench-memchr.c: New file.
33802 * benchtests/bench-memcmp-ifunc.c: New file.
33803 * benchtests/bench-memcmp.c: New file.
33804 * benchtests/bench-memmem-ifunc.c: New file.
33805 * benchtests/bench-memmem.c: New file.
33806 * benchtests/bench-memmove-ifunc.c: New file.
33807 * benchtests/bench-memmove.c: New file.
33808 * benchtests/bench-mempcpy-ifunc.c: New file.
33809 * benchtests/bench-mempcpy.c: New file.
33810 * benchtests/bench-memset-ifunc.c: New file.
33811 * benchtests/bench-memset.c: New file.
33812 * benchtests/bench-rawmemchr-ifunc.c: New file.
33813 * benchtests/bench-rawmemchr.c: New file.
33814 * benchtests/bench-stpcpy-ifunc.c: New file.
33815 * benchtests/bench-stpcpy.c: New file.
33816 * benchtests/bench-stpncpy-ifunc.c: New file.
33817 * benchtests/bench-stpncpy.c: New file.
33818 * benchtests/bench-strcasecmp-ifunc.c: New file.
33819 * benchtests/bench-strcasecmp.c: New file.
33820 * benchtests/bench-strcasestr-ifunc.c: New file.
33821 * benchtests/bench-strcasestr.c: New file.
33822 * benchtests/bench-strcat-ifunc.c: New file.
33823 * benchtests/bench-strcat.c: New file.
33824 * benchtests/bench-strchr-ifunc.c: New file.
33825 * benchtests/bench-strchr.c: New file.
33826 * benchtests/bench-strchrnul-ifunc.c: New file.
33827 * benchtests/bench-strchrnul.c: New file.
33828 * benchtests/bench-strcmp-ifunc.c: New file.
33829 * benchtests/bench-strcmp.c: New file.
33830 * benchtests/bench-strcpy-ifunc.c: New file.
33831 * benchtests/bench-strcpy.c: New file.
33832 * benchtests/bench-strcspn-ifunc.c: New file.
33833 * benchtests/bench-strcspn.c: New file.
33834 * benchtests/bench-strlen-ifunc.c: New file.
33835 * benchtests/bench-strlen.c: New file.
33836 * benchtests/bench-strncasecmp-ifunc.c: New file.
33837 * benchtests/bench-strncasecmp.c: New file.
33838 * benchtests/bench-strncat-ifunc.c: New file.
33839 * benchtests/bench-strncat.c: New file.
33840 * benchtests/bench-strncmp-ifunc.c: New file.
33841 * benchtests/bench-strncmp.c: New file.
33842 * benchtests/bench-strncpy-ifunc.c: New file.
33843 * benchtests/bench-strncpy.c: New file.
33844 * benchtests/bench-strnlen-ifunc.c: New file.
33845 * benchtests/bench-strnlen.c: New file.
33846 * benchtests/bench-strpbrk-ifunc.c: New file.
33847 * benchtests/bench-strpbrk.c: New file.
33848 * benchtests/bench-strrchr-ifunc.c: New file.
33849 * benchtests/bench-strrchr.c: New file.
33850 * benchtests/bench-strspn-ifunc.c: New file.
33851 * benchtests/bench-strspn.c: New file.
33852 * benchtests/bench-strstr-ifunc.c: New file.
33853 * benchtests/bench-strstr.c: New file.
33854
33855 * benchtests/Makefile: Disable parallel execution of targets.
33856 (string-bench): Add memcpy.
33857 (benchset): New variable to store a list of benchmark sets.
33858 (bench-func): Renamed from bench.
33859 (bench-set): New target.
33860 (bench): Depend on bench-func and bench-set.
33861 * benchtests/README: Add section on benchmark sets.
33862 * benchtests/bench-memcpy-ifunc.c: New file.
33863 * benchtests/bench-memcpy.c: New file.
33864 * benchtests/bench-string.h: New file.
33865
33866 2013-06-11 Andreas Schwab <schwab@suse.de>
33867
33868 [BZ #15577]
33869 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33870 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33871 values in the triple.
33872 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33873 terminator in the group key.
33874
33875 2013-06-11 Andreas Jaeger <aj@suse.de>
33876
33877 * po/zh_TW.po: Update Chinese (traditional) translation from
33878 translation project.
33879
33880 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33881
33882 * include/time.h (__clock_gettime): Add libc_hidden_proto.
33883 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33884 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
33885 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33886 (clock_getcpuclockid): Likewise.
33887 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33888 Add weak_alias and libc_hidden_def.
33889 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33890 * rt/clock_gettime.c (clock_gettime): Rename to
33891 __clock_gettime. Add weak_alias and libc_hidden_def.
33892 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33893 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33894 __clock_nanosleep. Add weak_alias and libc_hidden_def.
33895 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33896 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33897 Likewise.
33898 * rt/clock_settime.c (clock_settime): Rename to
33899 __clock_settime. Add weak_alias and libc_hidden_def.
33900 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33901
33902 2013-06-10 Joseph Myers <joseph@codesourcery.com>
33903
33904 * mach/err_boot.sub: Remove trailing whitespace.
33905 * mach/err_ipc.sub: Likewise.
33906 * mach/err_mach.sub: Likewise.
33907
33908 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33909 (ROUNDING_TESTS_double): Likewise.
33910 (ROUNDING_TESTS_long_double): Likewise.
33911 (ROUNDING_TESTS): Likewise.
33912 * math/libm-test.inc: Include <math-tests.h>.
33913 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33914 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33915 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33916 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33917
33918 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33919
33920 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33921 of assigning.
33922
33923 2013-06-08 Joseph Myers <joseph@codesourcery.com>
33924
33925 * sysdeps/gnu/errlist.awk: Do not generate space at end of
33926 otherwise empty TRANS lines.
33927 * sysdeps/gnu/errlist.c: Regenerated.
33928
33929 * catgets/gencat.c (error_print): Use (void) in function
33930 definition.
33931 * crypt/crypt_util.c (__init_des): Likewise.
33932 * crypt/speeds.c (Stop): Likewise.
33933 (main): Likewise.
33934 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33935 * inet/ruserpass.c (token): Likewise.
33936 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33937 * intl/localealias.c (extend_alias_table): Likewise.
33938 * intl/plural-exp.c (init_germanic_plural): Likewise.
33939 * libio/fcloseall.c (__fcloseall): Likewise.
33940 * libio/genops.c (_IO_flush_all): Likewise.
33941 (_IO_flush_all_linebuffered): Likewise.
33942 (_IO_cleanup): Likewise.
33943 (_IO_iter_begin): Likewise.
33944 (_IO_iter_end): Likewise.
33945 (_IO_list_lock): Likewise.
33946 (_IO_list_unlock): Likewise.
33947 (_IO_list_resetlock): Likewise.
33948 * libio/getchar.c (getchar): Likewise.
33949 * libio/getchar_u.c (getchar_unlocked): Likewise.
33950 * libio/getwchar.c (getwchar): Likewise.
33951 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33952 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33953 * login/getpt.c (__getpt): Likewise.
33954 * login/tst-utmp.c (main): Likewise.
33955 * malloc/hooks.c (__malloc_check_init): Likewise.
33956 * malloc/malloc.c (__malloc_stats): Likewise.
33957 * malloc/mtrace.c (tr_break): Likewise.
33958 (mtrace): Likewise.
33959 (muntrace): Likewise.
33960 * misc/fstab.c (endfsent): Likewise.
33961 * misc/getclktck.c (__getclktck): Likewise.
33962 * misc/getdtsz.c (__getdtablesize): Likewise.
33963 * misc/gethostid.c (gethostid): Likewise.
33964 * misc/getpagesize.c (__getpagesize): Likewise.
33965 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33966 (__get_nprocs): Likewise.
33967 (__get_phys_pages): Likewise.
33968 (__get_avphys_pages): Likewise.
33969 * misc/getttyent.c (getttyent): Likewise.
33970 (setttyent): Likewise.
33971 (endttyent): Likewise.
33972 * misc/getusershell.c (getusershell): Likewise.
33973 (endusershell): Likewise.
33974 (setusershell): Likewise.
33975 (initshells): Likewise.
33976 * misc/hsearch.c (__hdestroy): Likewise.
33977 * misc/sync.c (sync): Likewise.
33978 * misc/syslog.c (closelog_internal): Likewise.
33979 (closelog): Likewise.
33980 * misc/ttyslot.c (ttyslot): Likewise.
33981 * misc/vhangup.c (vhangup): Likewise.
33982 * posix/fork.c (__fork): Likewise.
33983 * posix/getegid.c (__getegid): Likewise.
33984 * posix/geteuid.c (__geteuid): Likewise.
33985 * posix/getgid.c (__getgid): Likewise.
33986 * posix/getpid.c (__getpid): Likewise.
33987 * posix/getppid.c (__getppid): Likewise.
33988 * posix/getuid.c (__getuid): Likewise.
33989 * posix/pause.c (pause): Likewise.
33990 * posix/setpgrp.c (setpgrp): Likewise.
33991 * posix/setsid.c (__setsid): Likewise.
33992 * posix/test-vfork.c (noop): Likewise.
33993 * resolv/gethnamaddr.c (_endhtent): Likewise.
33994 (_gethtent): Likewise.
33995 (ht_endhostent): Likewise.
33996 (gethostent): Likewise.
33997 (dns_service): Likewise.
33998 * stdlib/drand48.c (drand48): Likewise.
33999 * stdlib/lrand48.c (lrand48): Likewise.
34000 * stdlib/mrand48.c (mrand48): Likewise.
34001 * stdlib/rand.c (rand): Likewise.
34002 * stdlib/random.c (__random): Likewise.
34003 * stdlib/setenv.c (clearenv): Likewise.
34004 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34005 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34006 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34007 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34008 (__get_nprocs): Likewise.
34009 (__get_phys_pages): Likewise.
34010 (__get_avphys_pages): Likewise.
34011 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34012 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34013 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34014 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34015 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34016 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34017 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34018 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34019 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34020 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34021 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34022 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34023 * sysdeps/posix/clock.c (clock): Likewise.
34024 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34025 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34026 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34027 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34028 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34029 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34030 (__get_nprocs_conf): Likewise.
34031 (__get_phys_pages): Likewise.
34032 (__get_avphys_pages): Likewise.
34033 * time/clock.c (clock): Likewise.
34034 * time/tzset.c (__tzname_max): Likewise.
34035
34036 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34037
34038 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34039 (__bswap_32): Do not use "register".
34040 * crypt/crypt.c (_ufc_doit_r): Likewise.
34041 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34042 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34043 * gmon/gmon.c (__monstartup): Likewise.
34044 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34045 * hurd/hurdmalloc.c (more_memory): Likewise.
34046 (malloc): Likewise.
34047 (free): Likewise.
34048 (realloc): Likewise.
34049 (malloc_fork_prepare): Likewise.
34050 (malloc_fork_parent): Likewise.
34051 (malloc_fork_child): Likewise.
34052 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34053 (_svcauth_des): Likewise.
34054 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34055 * inet/inet_net.c (inet_network): Likewise.
34056 * inet/inet_netof.c (inet_netof): Likewise.
34057 * inet/rcmd.c (__validuser2_sa): Likewise.
34058 * io/fts.c (fts_open): Likewise.
34059 (fts_load): Likewise.
34060 (fts_close): Likewise.
34061 (fts_read): Likewise.
34062 (fts_children): Likewise.
34063 (fts_build): Likewise.
34064 (fts_stat): Likewise.
34065 (fts_sort): Likewise.
34066 (fts_alloc): Likewise.
34067 (fts_lfree): Likewise.
34068 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34069 (_IO_file_xsgetn): Likewise.
34070 (_IO_file_xsgetn_mmap): Likewise.
34071 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34072 (_IO_cookie_write): Likewise.
34073 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34074 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34075 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34076 * malloc/obstack.c (_obstack_begin): Likewise.
34077 (_obstack_begin_1): Likewise.
34078 (_obstack_newchunk): Likewise.
34079 (_obstack_allocated_p): Likewise.
34080 (obstack_free): Likewise.
34081 (_obstack_memory_used): Likewise.
34082 * misc/getttyent.c (getttynam): Likewise.
34083 (getttyent): Likewise.
34084 (skip): Likewise.
34085 (value): Likewise.
34086 * misc/getusershell.c (initshells): Likewise.
34087 * misc/syslog.c (__vsyslog_chk): Likewise.
34088 * misc/ttyslot.c (ttyslot): Likewise.
34089 * nis/nis_hash.c (__nis_hash): Likewise.
34090 * posix/fnmatch_loop.c (FCT): Likewise.
34091 * posix/getconf.c (print_all): Likewise.
34092 (main): Likewise.
34093 * posix/getopt.c (exchange): Likewise.
34094 * posix/glob.c (globfree): Likewise.
34095 (prefix_array): Likewise.
34096 (__glob_pattern_type): Likewise.
34097 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34098 (NS_GET32): Likewise.
34099 (NS_PUT16): Likewise.
34100 (NS_PUT32): Likewise.
34101 * resolv/gethnamaddr.c (getanswer): Likewise.
34102 (gethostbyname2): Likewise.
34103 (gethostbyaddr): Likewise.
34104 (_gethtent): Likewise.
34105 (_gethtbyname2): Likewise.
34106 (_gethtbyaddr): Likewise.
34107 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34108 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34109 * resolv/res_init.c (__res_vinit): Likewise.
34110 (net_mask): Likewise.
34111 * resolv/res_mkquery.c (outchar): Likewise.
34112 (PRINT): Likewise.
34113 * stdio-common/printf_fp.c (outchar): Likewise.
34114 (PRINT): Likewise.
34115 * stdio-common/printf_fphex.c (outchar): Likewise.
34116 (PRINT): Likewise.
34117 * stdio-common/printf_size.c (outchar): Likewise.
34118 (PRINT): Likewise.
34119 * stdio-common/test_rdwr.c (main): Likewise.
34120 * stdio-common/tfformat.c (matches): Likewise.
34121 * stdio-common/vfprintf.c (outchar): Likewise.
34122 (printf_unknown): Likewise.
34123 (buffered_vfprintf): Likewise.
34124 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34125 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34126 (ReadFile): Likewise.
34127 * stdlib/qsort.c (SWAP): Likewise.
34128 (_quicksort): Likewise.
34129 * stdlib/setenv.c (__add_to_environ): Likewise.
34130 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34131 * stdlib/strtol_l.c (__strtol_l): Likewise.
34132 * stdlib/tst-strtod.c (main): Likewise.
34133 * stdlib/tst-strtol.c (main): Likewise.
34134 * stdlib/tst-strtoll.c (main): Likewise.
34135 * string/bits/string2.h (__strcmp_cc): Likewise.
34136 (__strcmp_cg): Likewise.
34137 (__strcspn_c1): Likewise.
34138 (__strcspn_c2): Likewise.
34139 (__strcspn_c3): Likewise.
34140 (__strspn_c1): Likewise.
34141 (__strspn_c2): Likewise.
34142 (__strspn_c3): Likewise.
34143 (__strsep_1c): Likewise.
34144 (__strsep_2c): Likewise.
34145 (__strsep_3c): Likewise.
34146 * string/memccpy.c (__memccpy): Likewise.
34147 * string/stpcpy.c (__stpcpy): Likewise.
34148 * string/strcmp.c (strcmp): Likewise.
34149 * string/strrchr.c (strrchr): Likewise.
34150 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34151 Likewise.
34152 * sysdeps/mach/hurd/getcwd.c
34153 (_hurd_canonicalize_directory_name_internal): Likewise.
34154 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34155 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34156 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34157 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34158 Likewise, in both definitions.
34159 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34160 definitions.
34161 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34162 64] (__bswap_64): Likewise.
34163 * time/test_time.c (main): Likewise.
34164 * time/tzfile.c (__tzfile_read): Likewise.
34165 (__tzfile_compute): Likewise.
34166 * time/tzset.c (__tzset_parse_tz): Likewise.
34167 (tzset_internal): Likewise.
34168 (compute_change): Likewise.
34169 * wcsmbs/wcscat.c (__wcscat): Likewise.
34170 * wcsmbs/wcschr.c (wcschr): Likewise.
34171 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34172 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34173 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34174 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34175 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34176 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34177 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34178 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34179 * wcsmbs/wmemset.c (wmemset): Likewise.
34180
34181 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34182
34183 * scripts/config.guess: Update to version 2013-05-16.
34184 * scripts/config.sub: Update to version 2013-04-24.
34185 * scripts/install-sh: Update to version 2011-11-20.07.
34186 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34187 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34188
34189 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34190
34191 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34192 * elf/sln.c: Likewise.
34193 * hurd/hurd/ioctl.h: Likewise.
34194 * hurd/hurdmalloc.c: Likewise.
34195 * hurd/xattr.c: Likewise.
34196 * include/shlib-compat.h: Likewise.
34197 * inet/ruserpass.c: Likewise.
34198 * libio/iofgets_u.c: Likewise.
34199 * libio/iofgetws_u.c: Likewise.
34200 * locale/programs/ld-identification.c: Likewise.
34201 * locale/programs/ld-time.c: Likewise.
34202 * mach/msg-destroy.c: Likewise.
34203 * nss/nss_files/files-netgrp.c: Likewise.
34204 * resolv/res_data.c: Likewise.
34205 * soft-fp/op-1.h: Likewise.
34206 * soft-fp/op-2.h: Likewise.
34207 * soft-fp/op-4.h: Likewise.
34208 * soft-fp/op-common.h: Likewise.
34209 * stdio-common/printf_fphex.c: Likewise.
34210 * stdlib/strtod_l.c: Likewise.
34211 * sunrpc/rpc/clnt.h: Likewise.
34212 * sysdeps/generic/framestate.c: Likewise.
34213 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34214 * sysdeps/i386/bsd-setjmp.S: Likewise.
34215 * sysdeps/i386/__longjmp.S: Likewise.
34216 * sysdeps/i386/setjmp.S: Likewise.
34217 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34218 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34219 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34220 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34221 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34222 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34223 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34224 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34225 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34226 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34227 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34228 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34229 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34230 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34231 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34232 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34233 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34234 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34235 * sysdeps/ieee754/support.c: Likewise.
34236 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34237 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34238 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34239 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34240 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34241 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34242 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34243 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34244 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34245 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34246 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34247 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34248 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34249 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34250 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34251 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34252 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34254
34255 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34256
34257 * posix/transbug.c: Remove executable mode.
34258
34259 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34260
34261 * crypt/speeds.c: Remove trailing whitespace.
34262 * dlfcn/default.c: Likewise.
34263 * elf/ifuncdep2.c: Likewise.
34264 * elf/ifuncmain1.c: Likewise.
34265 * elf/ifuncmain1vis.c: Likewise.
34266 * elf/testobj.h: Likewise.
34267 * elf/tst-stackguard1.c: Likewise.
34268 * gmon/sys/gmon.h: Likewise.
34269 * hurd/hurdmsg.c: Likewise.
34270 * hurd/new-fd.c: Likewise.
34271 * hurd/ports-get.c: Likewise.
34272 * iconvdata/ibm1008_420.c: Likewise.
34273 * inet/tst-getni1.c: Likewise.
34274 * inet/tst-getni2.c: Likewise.
34275 * libio/ioungetc.c: Likewise.
34276 * libio/wfiledoalloc.c: Likewise.
34277 * manual/libm-err-tab.pl: Likewise.
34278 * math/w_dremf.c: Likewise.
34279 * misc/ftruncate.c: Likewise.
34280 * posix/bug-glob2.c: Likewise.
34281 * posix/tst-pcre.c: Likewise.
34282 * posix/wait4.c: Likewise.
34283 * resolv/README: Likewise.
34284 * resolv/res_debug.h: Likewise.
34285 * resolv/tst-inet_ntop.c: Likewise.
34286 * setjmp/bug269-setjmp.c: Likewise.
34287 * soft-fp/extended.h: Likewise.
34288 * soft-fp/op-1.h: Likewise.
34289 * soft-fp/op-2.h: Likewise.
34290 * soft-fp/op-4.h: Likewise.
34291 * soft-fp/op-8.h: Likewise.
34292 * soft-fp/testit.c: Likewise.
34293 * stdio-common/bug16.c: Likewise.
34294 * stdlib/random.c: Likewise.
34295 * sunrpc/rpcsvc/rquota.x: Likewise.
34296 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34297 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34298 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34299 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34300 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34301 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34302 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34303 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34304 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34305 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34306 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34307 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34308 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34309 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34310 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34311 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34312 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34313 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34314 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34315 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34316 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34317 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34318 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34319 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34320 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34321 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34322 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34323 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34324 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34325 * sysdeps/ieee754/s_lib_version.c: Likewise.
34326 * sysdeps/mach/hurd/check_fds.c: Likewise.
34327 * sysdeps/mach/hurd/getsockname.c: Likewise.
34328 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34329 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34330 * sysdeps/powerpc/bits/link.h: Likewise.
34331 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34332 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34333 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34334 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34335 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34336 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34337 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34338 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34339 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34340 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34341 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34342 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34343 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34344 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34345 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34346 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34347 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34348 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34349 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34350 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34351 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34352 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34353 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34354 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34355 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34356 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34357 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34358 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34359 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34360 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34361 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34362 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34363 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34364 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34365 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34366 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34367 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34368 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34369 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34370 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34371 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34372 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34373 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34374 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34375 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34376 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34377 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34378 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34379 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34380 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34381 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34382 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34383 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34384 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34385 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34386 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34387 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34388 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34389 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34390 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34391 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34392 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34393 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34394 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34395 * sysdeps/powerpc/sysdep.h: Likewise.
34396 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34397 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34398 * sysdeps/sh/dl-trampoline.S: Likewise.
34399 * sysdeps/sh/memset.S: Likewise.
34400 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34401 * sysdeps/sh/strlen.S: Likewise.
34402 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34403 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34404 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34405 * sysdeps/sparc/sparc32/rem.S: Likewise.
34406 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34407 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34408 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34409 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34410 * sysdeps/sparc/sparc32/urem.S: Likewise.
34411 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34412 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34413 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34414 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34415 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34416 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34417 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34418 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34419 * sysdeps/unix/bsd/times.c: Likewise.
34420 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34421 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34425 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34426 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34427 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34428 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34429 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34430 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34431 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34432 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34433 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34434 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34435 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34436 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34437 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34438 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34439 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34440 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34441 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34442 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34443 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34444 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34445 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34446 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34447 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34448 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34449 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34450 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34451 * sysdeps/x86_64/strcspn.S: Likewise.
34452
34453 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34454
34455 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34456 generated file. Regenerate properly from gen-translit.pl.
34457 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34458 locale/C-translit.h.
34459
34460 2013-06-05 Andreas Schwab <schwab@suse.de>
34461
34462 [BZ #15100]
34463 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34464 week as 6 instead of -1.
34465 * time/tst-strptime.c (day_tests): Add test case.
34466
34467 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34468
34469 * sysdeps/generic/math_private.h
34470 (libc_feholdexcept_setround_53bit): Replace with
34471 libc_feholdsetround_53bit.
34472 (libc_feupdateenv_53bit): Replace with
34473 libc_feresetround_53bit.
34474 (SET_RESTORE_ROUND_53BIT): Adjust.
34475
34476 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34477
34478 * string/test-strchrnul.c: Add copyright header.
34479
34480 * posix/tst-getaddrinfo4.c: Increase test timeout.
34481
34482 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34483
34484 [BZ #15536]
34485 * math/libm-test.inc (MAX_EXP): Remove
34486 (MIN_EXP): Define.
34487 (ulp): Use MIN_EXP - MANT_DIG.
34488 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34489
34490 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34491
34492 * po/be.po: Revert last change.
34493 * po/zh_CN.po: Likewise.
34494 * po/header.pot: Likewise.
34495
34496 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34497
34498 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34499 link-libc-deps to empty as target-specific variable.
34500 * Makerules (link-libc-args): New variable.
34501 (libc-for-link): Likewise.
34502 (link-libc-deps): Likewise.
34503 (lib%.so): Depend on $(link-libc-deps). Link with
34504 $(link-libc-args).
34505 (build-module): Link with $(link-libc-args).
34506 (build-module-asneeded): Likewise.
34507 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34508 list of objects.
34509 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34510 target-specific variable.
34511 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34512 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34513 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34514 libc.
34515 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34516 libc and ld.so.
34517 ($(objpfx)libpcprofile.so): Likewise.
34518 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34519 libc_nonshared.a.
34520 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34521 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34522 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34523 $(link-libc-deps).
34524 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34525 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34526 * login/Makefile ($(objpfx)libutil.so): Likewise.
34527 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34528 * math/Makefile ($(objpfx)libm.so): Likewise.
34529 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34530 $(objpfx)libnsl.so): Define libc-for-link as target-specific
34531 variable instead of depending directly on libc.
34532 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34533 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34534 $(link-libc-deps).
34535 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34536 libc.
34537 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34538 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34539 ($(objpfx)libanl.so): Likewise.
34540 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34541 ld.so.
34542 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34543 $(link-libc-deps).
34544 * sysdeps/i386/fpu/Makefile: Remove file.
34545 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34546 ($(objpfx)libm.so): Remove dependency on ld.so.
34547
34548 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
34549
34550 [BZ # 15553]
34551 * nis/yp_xdr.c (XDRMAXNAME): Define.
34552 (XDRMAXRECORD): Define.
34553 (xdr_domainname): Use XDRMAXNAME.
34554 (xdr_mapname): Likewise.
34555 (xdr_peername): Likewise.
34556 (xdr_keydat): Use XDRMAXRECORD.
34557 (xdr_valdat): Likewise.
34558
34559 2013-05-30 Jeff Law <law@redhat.com>
34560
34561 [BZ #14256]
34562 * manual/errno.texi (ESTALE): Update to account for more than
34563 just NFS file systems.
34564 * sysdeps/gnu/errlist.c: Regenerated.
34565
34566 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34567
34568 [BZ #15465]
34569 * elf/Makefile (tests): Add tst-null-argv.
34570 (modules-names): Add tst-null-argv-lib.
34571 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34572 (tst-null-argv-ENV): Set environment for tst-null-argv.
34573 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34574 (RTLD_PROGNAME): New macro.
34575 * elf/tst-null-argv.c: New test case.
34576 * elf/tst-null-argv-lib.c: Library for test case.
34577 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34578 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34579 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34580 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34581 * elf/dl-init.c (call_init): Likewise.
34582 (_dl_init): Likewise.
34583 * elf/dl-load.c (print_search_path): Likewise.
34584 (_dl_map_object): Likewise.
34585 * elf/dl-lookup.c (do_lookup_x): Likewise.
34586 (add_dependency): Likewise.
34587 (_dl_lookup_symbol_x): Likewise.
34588 (_dl_debug_bindings): Likewise.
34589 * elf/dl-open.c (_dl_show_scope): Likewise.
34590 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34591 * elf/dl-version.c (match_symbol): Likewise.
34592 (_dl_check_map_versions): Likewise.
34593 * elf/rtld.c (dl_main): Likewise.
34594 (print_unresolved): Use RTLD_PROGNAME.
34595 (print_missing_version): Likewise.
34596 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34597 (elf_machine_rela): Likewise.
34598 * sysdeps/powerpc/powerpc32/dl-machine.c
34599 (__process_machine_rela): Likewise.
34600 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34601 Likewise.
34602 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34603 Likewise.
34604 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34605 Likewise.
34606 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34607 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34608 Likewise.
34609 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34610 Likewise.
34611 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34612
34613 2013-05-28 Carlos O'Donell <carlos@redhat.com>
34614
34615 * po/be.po: Add descriptive title.
34616 * po/zh_CN.po: Likewise.
34617 * po/header.pot: Likewise.
34618
34619 2013-05-28 Mike Frysinger <vapier@gentoo.org>
34620
34621 * locale/programs/locarchive.c (create_archive): Inlucde fname in
34622 error message.
34623 (enlarge_archive): Likewise.
34624
34625 2013-05-28 Ben North <ben@redfrontdoor.org>
34626
34627 * manual/arith.texi (frexp): It is the magnitude of the return
34628 value which lies in [0.5, 1), not the return value itself.
34629
34630 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34631
34632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34633
34634 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
34635
34636 * stdio-common/bug26.c (main): Correct fscanf template.
34637
34638 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34639 declare _dl_skip_args.
34640
34641 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34642 Don't declare.
34643
34644 * manual/platform.texi: Add missing @end deftypefun.
34645
34646 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34647
34648 [BZ #15529]
34649 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34650 bit of mantissa of 2^16382.
34651 * math/libm-test.inc (hypot_test_data): Add more tests.
34652
34653 * math/libm-test.inc: Add drem and pow10 to list of tested
34654 functions.
34655 (pow10_test): New function.
34656 (drem_test): Likewise.
34657 (drem_test_tonearest): Likewise.
34658 (drem_test_towardzero): Likewise.
34659 (drem_test_downward): Likewise.
34660 (drem_test_upward): Likewise.
34661 (main): Call the new functions.
34662
34663 * math/libm-test.inc (finite_test_data): Remove.
34664 (finite_test): Run tests from isfinite_test_data.
34665 (gamma_test_data): Remove.
34666 (gamma_test): Run tests from lgamma_test_data.
34667 * sysdeps/i386/fpu/libm-test-ulps: Update.
34668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34669
34670 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34671
34672 * manual/platform.texi: Add PowerPC PPR function set documentation.
34673 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34674 implementation.
34675
34676 2013-05-24 Carlos O'Donell <carlos@redhat.com>
34677
34678 * math/libm-test.inc (MAX_EXP): Define.
34679 (ULPDIFF): Define.
34680 (ulp): New function.
34681 (check_float_internal): Use ULPDIFF.
34682 (cpow_test): Disable failing test.
34683 (check_ulp): Test ulp() implemetnation.
34684 (main): Call check_ulp before starting tests.
34685
34686 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34687
34688 * math/gen-libm-test.pl (generate_testfile): Do not handle
34689 START_DATA and END_DATA.
34690 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34691 END_DATA.
34692 (acos_tonearest_test_data): Likewise.
34693 (acos_towardzero_test_data): Likewise.
34694 (acos_downward_test_data): Likewise.
34695 (acos_upward_test_data): Likewise.
34696 (acosh_test_data): Likewise.
34697 (asin_test_data): Likewise.
34698 (asin_tonearest_test_data): Likewise.
34699 (asin_towardzero_test_data): Likewise.
34700 (asin_downward_test_data): Likewise.
34701 (asin_upward_test_data): Likewise.
34702 (asinh_test_data): Likewise.
34703 (atan_test_data): Likewise.
34704 (atanh_test_data): Likewise.
34705 (atan2_test_data): Likewise.
34706 (cabs_test_data): Likewise.
34707 (cacos_test_data): Likewise.
34708 (cacosh_test_data): Likewise.
34709 (carg_test_data): Likewise.
34710 (casin_test_data): Likewise.
34711 (casinh_test_data): Likewise.
34712 (catan_test_data): Likewise.
34713 (catanh_test_data): Likewise.
34714 (cbrt_test_data): Likewise.
34715 (ccos_test_data): Likewise.
34716 (ccosh_test_data): Likewise.
34717 (ceil_test_data): Likewise.
34718 (cexp_test_data): Likewise.
34719 (cimag_test_data): Likewise.
34720 (clog_test_data): Likewise.
34721 (clog10_test_data): Likewise.
34722 (conj_test_data): Likewise.
34723 (copysign_test_data): Likewise.
34724 (cos_test_data): Likewise.
34725 (cos_tonearest_test_data): Likewise.
34726 (cos_towardzero_test_data): Likewise.
34727 (cos_downward_test_data): Likewise.
34728 (cos_upward_test_data): Likewise.
34729 (cosh_test_data): Likewise.
34730 (cosh_tonearest_test_data): Likewise.
34731 (cosh_towardzero_test_data): Likewise.
34732 (cosh_downward_test_data): Likewise.
34733 (cosh_upward_test_data): Likewise.
34734 (cpow_test_data): Likewise.
34735 (cproj_test_data): Likewise.
34736 (creal_test_data): Likewise.
34737 (csin_test_data): Likewise.
34738 (csinh_test_data): Likewise.
34739 (csqrt_test_data): Likewise.
34740 (ctan_test_data): Likewise.
34741 (ctan_tonearest_test_data): Likewise.
34742 (ctan_towardzero_test_data): Likewise.
34743 (ctan_downward_test_data): Likewise.
34744 (ctan_upward_test_data): Likewise.
34745 (ctanh_test_data): Likewise.
34746 (ctanh_tonearest_test_data): Likewise.
34747 (ctanh_towardzero_test_data): Likewise.
34748 (ctanh_downward_test_data): Likewise.
34749 (ctanh_upward_test_data): Likewise.
34750 (erf_test_data): Likewise.
34751 (erfc_test_data): Likewise.
34752 (exp_test_data): Likewise.
34753 (exp_tonearest_test_data): Likewise.
34754 (exp_towardzero_test_data): Likewise.
34755 (exp_downward_test_data): Likewise.
34756 (exp_upward_test_data): Likewise.
34757 (exp10_test_data): Likewise.
34758 (exp2_test_data): Likewise.
34759 (expm1_test_data): Likewise.
34760 (fabs_test_data): Likewise.
34761 (fdim_test_data): Likewise.
34762 (finite_test_data): Likewise.
34763 (floor_test_data): Likewise.
34764 (fma_test_data): Likewise.
34765 (fma_towardzero_test_data): Likewise.
34766 (fma_downward_test_data): Likewise.
34767 (fma_upward_test_data): Likewise.
34768 (fmax_test_data): Likewise.
34769 (fmin_test_data): Likewise.
34770 (fmod_test_data): Likewise.
34771 (fpclassify_test_data): Likewise.
34772 (frexp_test_data): Likewise.
34773 (gamma_test_data): Likewise.
34774 (hypot_test_data): Likewise.
34775 (ilogb_test_data): Likewise.
34776 (isfinite_test_data): Likewise.
34777 (isgreater_test_data): Likewise.
34778 (isgreaterequal_test_data): Likewise.
34779 (isinf_test_data): Likewise.
34780 (isless_test_data): Likewise.
34781 (islessequal_test_data): Likewise.
34782 (islessgreater_test_data): Likewise.
34783 (isnan_test_data): Likewise.
34784 (isnormal_test_data): Likewise.
34785 (issignaling_test_data): Likewise.
34786 (isunordered_test_data): Likewise.
34787 (j0_test_data): Likewise.
34788 (j1_test_data): Likewise.
34789 (jn_test_data): Likewise.
34790 (ldexp_test_data): Likewise.
34791 (lgamma_test_data): Likewise.
34792 (lrint_test_data): Likewise.
34793 (lrint_tonearest_test_data): Likewise.
34794 (lrint_towardzero_test_data): Likewise.
34795 (lrint_downward_test_data): Likewise.
34796 (lrint_upward_test_data): Likewise.
34797 (llrint_test_data): Likewise.
34798 (llrint_tonearest_test_data): Likewise.
34799 (llrint_towardzero_test_data): Likewise.
34800 (llrint_downward_test_data): Likewise.
34801 (llrint_upward_test_data): Likewise.
34802 (log_test_data): Likewise.
34803 (log10_test_data): Likewise.
34804 (log1p_test_data): Likewise.
34805 (log2_test_data): Likewise.
34806 (logb_test_data): Likewise.
34807 (logb_downward_test_data): Likewise.
34808 (lround_test_data): Likewise.
34809 (llround_test_data): Likewise.
34810 (modf_test_data): Likewise.
34811 (nearbyint_test_data): Likewise.
34812 (nextafter_test_data): Likewise.
34813 (nexttoward_test_data): Likewise.
34814 (pow_test_data): Likewise.
34815 (pow_tonearest_test_data): Likewise.
34816 (pow_towardzero_test_data): Likewise.
34817 (pow_downward_test_data): Likewise.
34818 (pow_upward_test_data): Likewise.
34819 (remainder_test_data): Likewise.
34820 (remainder_tonearest_test_data): Likewise.
34821 (remainder_towardzero_test_data): Likewise.
34822 (remainder_downward_test_data): Likewise.
34823 (remainder_upward_test_data): Likewise.
34824 (remquo_test_data): Likewise.
34825 (rint_test_data): Likewise.
34826 (rint_tonearest_test_data): Likewise.
34827 (rint_towardzero_test_data): Likewise.
34828 (rint_downward_test_data): Likewise.
34829 (rint_upward_test_data): Likewise.
34830 (round_test_data): Likewise.
34831 (scalb_test_data): Likewise.
34832 (scalbn_test_data): Likewise.
34833 (scalbln_test_data): Likewise.
34834 (signbit_test_data): Likewise.
34835 (sin_test_data): Likewise.
34836 (sin_tonearest_test_data): Likewise.
34837 (sin_towardzero_test_data): Likewise.
34838 (sin_downward_test_data): Likewise.
34839 (sin_upward_test_data): Likewise.
34840 (sincos_test_data): Likewise.
34841 (sinh_test_data): Likewise.
34842 (sinh_tonearest_test_data): Likewise.
34843 (sinh_towardzero_test_data): Likewise.
34844 (sinh_downward_test_data): Likewise.
34845 (sinh_upward_test_data): Likewise.
34846 (sqrt_test_data): Likewise.
34847 (tan_test_data): Likewise.
34848 (tan_tonearest_test_data): Likewise.
34849 (tan_towardzero_test_data): Likewise.
34850 (tan_downward_test_data): Likewise.
34851 (tan_upward_test_data): Likewise.
34852 (tanh_test_data): Likewise.
34853 (tgamma_test_data): Likewise.
34854 (trunc_test_data): Likewise.
34855 (y0_test_data): Likewise.
34856 (y1_test_data): Likewise.
34857 (yn_test_data): Likewise.
34858 (significand_test_data): Likewise.
34859
34860 * math/gen-libm-test.pl (@functions): Remove variable.
34861 (generate_testfile): Don't handle START and END lines.
34862 * math/libm-test.inc (START): New macro.
34863 (END): Likewise.
34864 (END_COMPLEX): Likewise.
34865 (acos_test): Use END macro without arguments.
34866 (acos_test_tonearest): Likewise.
34867 (acos_test_towardzero): Likewise.
34868 (acos_test_downward): Likewise.
34869 (acos_test_upward): Likewise.
34870 (acosh_test): Likewise.
34871 (asin_test): Likewise.
34872 (asin_test_tonearest): Likewise.
34873 (asin_test_towardzero): Likewise.
34874 (asin_test_downward): Likewise.
34875 (asin_test_upward): Likewise.
34876 (asinh_test): Likewise.
34877 (atan_test): Likewise.
34878 (atanh_test): Likewise.
34879 (atan2_test): Likewise.
34880 (cabs_test): Likewise.
34881 (cacos_test): Use END_COMPLEX macro without arguments.
34882 (cacosh_test): Likewise.
34883 (carg_test): Use END macro without arguments.
34884 (casin_test): Use END_COMPLEX macro without arguments.
34885 (casinh_test): Likewise.
34886 (catan_test): Likewise.
34887 (catanh_test): Likewise.
34888 (cbrt_test): Use END macro without arguments.
34889 (ccos_test): Use END_COMPLEX macro without arguments.
34890 (ccosh_test): Likewise.
34891 (ceil_test): Use END macro without arguments.
34892 (cexp_test): Use END_COMPLEX macro without arguments.
34893 (cimag_test): Use END macro without arguments.
34894 (clog_test): Use END_COMPLEX macro without arguments.
34895 (clog10_test): Likewise.
34896 (conj_test): Likewise.
34897 (copysign_test): Use END macro without arguments.
34898 (cos_test): Likewise.
34899 (cos_test_tonearest): Likewise.
34900 (cos_test_towardzero): Likewise.
34901 (cos_test_downward): Likewise.
34902 (cos_test_upward): Likewise.
34903 (cosh_test): Likewise.
34904 (cosh_test_tonearest): Likewise.
34905 (cosh_test_towardzero): Likewise.
34906 (cosh_test_downward): Likewise.
34907 (cosh_test_upward): Likewise.
34908 (cpow_test): Use END_COMPLEX macro without arguments.
34909 (cproj_test): Likewise.
34910 (creal_test): Use END macro without arguments.
34911 (csin_test): Use END_COMPLEX macro without arguments.
34912 (csinh_test): Likewise.
34913 (csqrt_test): Likewise.
34914 (ctan_test): Likewise.
34915 (ctan_test_tonearest): Likewise.
34916 (ctan_test_towardzero): Likewise.
34917 (ctan_test_downward): Likewise.
34918 (ctan_test_upward): Likewise.
34919 (ctanh_test): Likewise.
34920 (ctanh_test_tonearest): Likewise.
34921 (ctanh_test_towardzero): Likewise.
34922 (ctanh_test_downward): Likewise.
34923 (ctanh_test_upward): Likewise.
34924 (erf_test): Use END macro without arguments.
34925 (erfc_test): Likewise.
34926 (exp_test): Likewise.
34927 (exp_test_tonearest): Likewise.
34928 (exp_test_towardzero): Likewise.
34929 (exp_test_downward): Likewise.
34930 (exp_test_upward): Likewise.
34931 (exp10_test): Likewise.
34932 (exp2_test): Likewise.
34933 (expm1_test): Likewise.
34934 (fabs_test): Likewise.
34935 (fdim_test): Likewise.
34936 (finite_test): Likewise.
34937 (floor_test): Likewise.
34938 (fma_test): Likewise.
34939 (fma_test_towardzero): Likewise.
34940 (fma_test_downward): Likewise.
34941 (fma_test_upward): Likewise.
34942 (fmax_test): Likewise.
34943 (fmin_test): Likewise.
34944 (fmod_test): Likewise.
34945 (fpclassify_test): Likewise.
34946 (frexp_test): Likewise.
34947 (gamma_test): Likewise.
34948 (hypot_test): Likewise.
34949 (ilogb_test): Likewise.
34950 (isfinite_test): Likewise.
34951 (isgreater_test): Likewise.
34952 (isgreaterequal_test): Likewise.
34953 (isinf_test): Likewise.
34954 (isless_test): Likewise.
34955 (islessequal_test): Likewise.
34956 (islessgreater_test): Likewise.
34957 (isnan_test): Likewise.
34958 (isnormal_test): Likewise.
34959 (issignaling_test): Likewise.
34960 (isunordered_test): Likewise.
34961 (j0_test): Likewise.
34962 (j1_test): Likewise.
34963 (jn_test): Likewise.
34964 (ldexp_test): Likewise.
34965 (lgamma_test): Likewise.
34966 (lrint_test): Likewise.
34967 (lrint_test_tonearest): Likewise.
34968 (lrint_test_towardzero): Likewise.
34969 (lrint_test_downward): Likewise.
34970 (lrint_test_upward): Likewise.
34971 (llrint_test): Likewise.
34972 (llrint_test_tonearest): Likewise.
34973 (llrint_test_towardzero): Likewise.
34974 (llrint_test_downward): Likewise.
34975 (llrint_test_upward): Likewise.
34976 (log_test): Likewise.
34977 (log10_test): Likewise.
34978 (log1p_test): Likewise.
34979 (log2_test): Likewise.
34980 (logb_test): Likewise.
34981 (logb_test_downward): Likewise.
34982 (lround_test): Likewise.
34983 (llround_test): Likewise.
34984 (modf_test): Likewise.
34985 (nearbyint_test): Likewise.
34986 (nextafter_test): Likewise.
34987 (nexttoward_test): Likewise.
34988 (pow_test): Likewise.
34989 (pow_test_tonearest): Likewise.
34990 (pow_test_towardzero): Likewise.
34991 (pow_test_downward): Likewise.
34992 (pow_test_upward): Likewise.
34993 (remainder_test): Likewise.
34994 (remainder_test_tonearest): Likewise.
34995 (remainder_test_towardzero): Likewise.
34996 (remainder_test_downward): Likewise.
34997 (remainder_test_upward): Likewise.
34998 (remquo_test): Likewise.
34999 (rint_test): Likewise.
35000 (rint_test_tonearest): Likewise.
35001 (rint_test_towardzero): Likewise.
35002 (rint_test_downward): Likewise.
35003 (rint_test_upward): Likewise.
35004 (round_test): Likewise.
35005 (scalb_test): Likewise.
35006 (scalbn_test): Likewise.
35007 (scalbln_test): Likewise.
35008 (signbit_test): Likewise.
35009 (sin_test): Likewise.
35010 (sin_test_tonearest): Likewise.
35011 (sin_test_towardzero): Likewise.
35012 (sin_test_downward): Likewise.
35013 (sin_test_upward): Likewise.
35014 (sincos_test): Likewise.
35015 (sinh_test): Likewise.
35016 (sinh_test_tonearest): Likewise.
35017 (sinh_test_towardzero): Likewise.
35018 (sinh_test_downward): Likewise.
35019 (sinh_test_upward): Likewise.
35020 (sqrt_test): Likewise.
35021 (tan_test): Likewise.
35022 (tan_test_tonearest): Likewise.
35023 (tan_test_towardzero): Likewise.
35024 (tan_test_downward): Likewise.
35025 (tan_test_upward): Likewise.
35026 (tanh_test): Likewise.
35027 (tgamma_test): Likewise.
35028 (trunc_test): Likewise.
35029 (y0_test): Likewise.
35030 (y1_test): Likewise.
35031 (yn_test): Likewise.
35032 (significand_test): Likewise.
35033
35034 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35035
35036 [BZ #15381]
35037 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35038
35039 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35040
35041 [BZ #14894]
35042 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35043 __ppc_mdoio and __ppc_mdoom.
35044 * manual/platform.texi: Document new functions __ppc_yield,
35045 __ppc_mdoio and __ppc_mdoom.
35046
35047 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35048
35049 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35050 (main): Mention "tls" pseudo-hwcap is legacy.
35051 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35052
35053 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35054
35055 * math/gen-libm-test.pl (parse_args): Output only string of
35056 arguments as text for test name, not full call or descriptions of
35057 tests for extra outputs.
35058 (generate_testfile): Do not pass function name to parse_args.
35059 Generate this_func variable from START.
35060 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35061 field to arg_str.
35062 (struct test_ff_f_data): Likewise.
35063 (test_ff_f_data_nexttoward): Likewise.
35064 (struct test_fi_f_data): Likewise.
35065 (struct test_fl_f_data): Likewise.
35066 (struct test_if_f_data): Likewise.
35067 (struct test_fff_f_data): Likewise.
35068 (struct test_c_f_data): Likewise.
35069 (struct test_f_f1_data): Likewise. Remove field extra_name.
35070 (struct test_fF_f1_data): Likewise.
35071 (struct test_ffI_f1_data): Likewise.
35072 (struct test_c_c_data): Rename test_name field to arg_str.
35073 (struct test_cc_c_data): Likewise.
35074 (struct test_f_i_data): Likewise.
35075 (struct test_ff_i_data): Likewise.
35076 (struct test_f_l_data): Likewise.
35077 (struct test_f_L_data): Likewise.
35078 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35079 and extra2_name.
35080 (COMMON_TEST_SETUP): New macro.
35081 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35082 (COMMON_TEST_CLEANUP): Likewise.
35083 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35084 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35085 macros.
35086 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35087 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35088 macros.
35089 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35090 (RUN_TEST_fff_f): Take argument string. Call new setup and
35091 cleanup macros.
35092 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35093 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35094 macros.
35095 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35096 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35097 macros.
35098 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35099 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35100 cleanup macros.
35101 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35102 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35103 cleanup macros.
35104 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35105 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35106 cleanup macros.
35107 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35108 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35109 macros.
35110 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35111 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35112 macros.
35113 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35114 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35115 macros.
35116 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35117 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35118 cleanup macros.
35119 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35120 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35121 cleanup macros.
35122 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35123 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35124 macros.
35125 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35126 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35127 cleanup macros.
35128 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35129 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35130 macros.
35131 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35132 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35133 macros.
35134 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35135 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35136 cleanup macros.
35137 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35138
35139 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35140
35141 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35142 to _sifields.sigfault.
35143 (si_addr_lsb): Define new macro.
35144 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35145 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35146 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35147
35148 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35149
35150 [BZ #15441]
35151 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35152 returns -1.
35153 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35154 null return -1.
35155 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35156 loading the domain.
35157
35158 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35159
35160 * math/gen-libm-test.pl (parse_args): Do not include expected
35161 result in test name.
35162 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35163 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35164 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35165 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35166 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35168
35169 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35170
35171 * benchtests/Makefile: Sort function entries.
35172
35173 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35174 tanh, asinh, acosh, atanh.
35175 * benchtests/acos-inputs: New file.
35176 * benchtests/acosh-inputs: New file.
35177 * benchtests/asin-inputs: New file.
35178 * benchtests/asinh-inputs: New file.
35179 * benchtests/atanh-inputs: New file.
35180 * benchtests/cosh-inputs: New file.
35181 * benchtests/log-inputs: New file.
35182 * benchtests/sinh-inputs: New file.
35183 * benchtests/tanh-inputs: New file.
35184
35185 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35186
35187 [BZ #15339]
35188 * posix/tst-getaddrinfo4.c: New test.
35189 * posix/Makefile (tests): Add it.
35190
35191 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35192
35193 [BZ #15339]
35194 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35195 when no services were used.
35196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35197 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35198
35199 2013-05-21 Andreas Schwab <schwab@suse.de>
35200
35201 [BZ #15014]
35202 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35203 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35204 successful.
35205 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35206 redundant variable declarations and reallocation of buffer when
35207 parsing as IPv6 address. Always set NSS status when called from
35208 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35209 buffer too small. Correct computation of needed size.
35210 * nss/Makefile (tests): Add test-digits-dots.
35211 * nss/test-digits-dots.c: New test.
35212
35213 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35214
35215 * benchtests/Makefile: Remove instructions for adding
35216 benchmark tests.
35217 * benchtests/README: New file to explain how to execute and
35218 enhance the benchmark tests.
35219
35220 2013-05-21 Andreas Schwab <schwab@suse.de>
35221
35222 [BZ #15493]
35223 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35224 * setjmp/tst-sigsetjmp.c: New test.
35225
35226 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35227
35228 * sysdeps/x86_64/memset.S (memset): New implementation.
35229 (__bzero): Likewise.
35230 (__memset_tail): New function.
35231
35232 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35233
35234 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35235 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35236 __memcpy_sse2_unaligned ifunc selection.
35237 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35238 Add memcpy-sse2-unaligned.S.
35239 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35240 Add: __memcpy_sse2_unaligned.
35241
35242 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35243
35244 [BZ #15490]
35245 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35246 math_force_eval before restoring floating-point envrionment.
35247 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35248 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35249 Likewise.
35250 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35251 <math_private.h>.
35252 (__nearbyintl): Use math_force_eval before restoring
35253 floating-point environment.
35254 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35255
35256 * math/gen-libm-test.pl (special_functions): Remove.
35257 (parse_args): Don't handle TEST_extra. Handle functions with no
35258 return value.
35259 * math/libm-test.inc (struct test_sincos_data): Replace with
35260 struct test_fFF_11_data.
35261 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35262 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35263 (sincos_test_data): Change element type to struct
35264 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35265 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35266 RUN_TEST_LOOP_sincos.
35267 * math/README.libm-test: Don't mention special handling of
35268 individual functions.
35269 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35270 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35271 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35272 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35273 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35275
35276 * math/gen-libm-test.pl (get_variable): Remove function.
35277 (parse_args): Don't show pointer parameters to call in test
35278 names. Use "extra output N" in test names for extra outputs
35279 rather than naming variables.
35280
35281 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35282
35283 [BZ #15488]
35284 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35285 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35286 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35287 double tests.
35288 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35289 disable.
35290 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35291 check_long_double.
35292
35293 * math/gen-libm-test.pl (@tests): Remove variable.
35294 ($count): Likewise.
35295 (new_test): Remove function.
35296 (show_exceptions): New function.
35297 (special_functions): Use show_exceptions instead of new_test.
35298 (parse_args): Likewise.
35299 (generate_testfile): Pass only function name in generated call to
35300 print_max_error or print_complex_max_error.
35301 (get_ulps): Do not handle complex tests specially.
35302 (output_test): Rename to ...
35303 (get_all_ulps_for_test): ... this. Return a string rather than
35304 printing to a file. Require ulps to be present.
35305 (output_ulps): Generate arrays rather than #defines.
35306 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35307 (struct ulp_data): New type.
35308 (BUILD_COMPLEX_ULP): Remove macro.
35309 (compare_ulp_data): New function.
35310 (find_ulps): Likewise.
35311 (find_test_ulps): Likewise.
35312 (find_function_ulps): Likewise.
35313 (find_complex_function_ulps): Likewise.
35314 (print_max_error): Determine allowed ulps using
35315 find_function_ulps.
35316 (print_complex_max_error): Determine allowed ulps using
35317 find_complex_function_ulps.
35318 (check_float_internal): Determine max ulps using find_test_ulps.
35319 (check_float): Do not take max_ulp parameter. Update call to
35320 check_float_internal.
35321 (check_complex): Likewise.
35322 (check_int): Do not take max_ulp parameter.
35323 (check_long): Likewise.
35324 (check_bool): Likewise.
35325 (check_longlong): Likewise.
35326 (struct test_f_f_data): Remove max_ulp field.
35327 (struct test_ff_f_data): Likewise.
35328 (struct test_ff_f_data_nexttoward): Likewise.
35329 (struct test_fi_f_data): Likewise.
35330 (struct test_fl_f_data): Likewise.
35331 (struct test_if_f_data): Likewise.
35332 (struct test_fff_f_data): Likewise.
35333 (struct test_c_f_data): Likewise.
35334 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35335 (struct test_fF_f1_data): Likewise.
35336 (struct test_ffI_f1_data): Likewise.
35337 (struct test_c_c_data): Remove max_ulp field.
35338 (struct test_cc_c_data): Likewise.
35339 (struct test_f_i_data): Likewise.
35340 (struct test_ff_i_data): Likewise.
35341 (struct test_f_l_data): Likewise.
35342 (struct test_f_L_data): Likewise.
35343 (struct test_sincos_data): Likewise.
35344 (RUN_TEST_f_f): Do not handle ulps.
35345 (RUN_TEST_LOOP_f_f): Likewise.
35346 (RUN_TEST_2_f): Likewise.
35347 (RUN_TEST_LOOP_2_f): Likewise.
35348 (RUN_TEST_fff_f): Likewise.
35349 (RUN_TEST_LOOP_fff_f): Likewise.
35350 (RUN_TEST_c_f): Likewise.
35351 (RUN_TEST_LOOP_c_f): Likewise.
35352 (RUN_TEST_f_f1): Likewise.
35353 (RUN_TEST_LOOP_f_f1): Likewise.
35354 (RUN_TEST_fF_f1): Likewise.
35355 (RUN_TEST_LOOP_fF_f1): Likewise.
35356 (RUN_TEST_fI_f1): Likewise.
35357 (RUN_TEST_LOOP_fI_f1): Likewise.
35358 (RUN_TEST_ffI_f1): Likewise.
35359 (RUN_TEST_LOOP_ffI_f1): Likewise.
35360 (RUN_TEST_c_c): Likewise.
35361 (RUN_TEST_LOOP_c_c): Likewise.
35362 (RUN_TEST_cc_c): Likewise.
35363 (RUN_TEST_LOOP_cc_c): Likewise.
35364 (RUN_TEST_f_i): Likewise.
35365 (RUN_TEST_LOOP_f_i): Likewise.
35366 (RUN_TEST_f_i_tg): Likewise.
35367 (RUN_TEST_LOOP_f_i_tg): Likewise.
35368 (RUN_TEST_ff_i_tg): Likewise.
35369 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35370 (RUN_TEST_f_b): Likewise.
35371 (RUN_TEST_LOOP_f_b): Likewise.
35372 (RUN_TEST_f_b_tg): Likewise.
35373 (RUN_TEST_LOOP_f_b_tg): Likewise.
35374 (RUN_TEST_f_l): Likewise.
35375 (RUN_TEST_LOOP_f_l): Likewise.
35376 (RUN_TEST_f_L): Likewise.
35377 (RUN_TEST_LOOP_f_L): Likewise.
35378 (RUN_TEST_sincos): Likewise.
35379 (RUN_TEST_LOOP_sincos): Likewise.
35380
35381 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35382
35383 [BZ #15480]
35384 [BZ #15485]
35385 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35386 main case of finite arguments, set rounding mode to FE_TONEAREST
35387 and discard exceptions.
35388 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35389 exceptions.
35390 (remainder_tonearest_test_data): New variable.
35391 (remainder_test_tonearest): New function.
35392 (remainder_towardzero_test_data): New variable.
35393 (remainder_test_towardzero): New function.
35394 (remainder_downward_test_data): New variable.
35395 (remainder_test_downward): New function.
35396 (remainder_upward_test_data): New variable.
35397 (remainder_test_upward): New function.
35398 (main): Call the new test functions.
35399
35400 * math/libm-test.inc (struct test_f_f1_data): Remove field
35401 extra_init.
35402 (struct test_fF_f1_data): Likewise.
35403 (struct test_ffI_f1_data): Likewise.
35404 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35405 based on value of EXTRA_EXPECTED.
35406 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35407 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35408 EXTRA_VAR based on value of EXTRA_EXPECTED.
35409 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35410 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35411 EXTRA_VAR based on value of EXTRA_EXPECTED.
35412 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35413 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35414 EXTRA_VAR based on value of EXTRA_EXPECTED.
35415 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35416 * math/gen-libm-test.pl (parse_args): Don't output initializers
35417 for extra output values.
35418
35419 * math/libm-test.inc (check_int): Expect result to be exactly
35420 equal to expected value and do not handle ulps.
35421 (check_long): Likewise.
35422 (check_longlong): Likewise.
35423
35424 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35425 exceptions.
35426 (cimag_test_data): Likewise.
35427 (conj_test_data): Likewise.
35428 (copysign_test_data): Likewise.
35429 (cproj_test_data): Likewise.
35430 (creal_test_data): Likewise.
35431 (fabs_test_data): Likewise.
35432 (fdim_test_data): Likewise.
35433 (finite_test_data): Likewise.
35434 (floor_test_data): Likewise.
35435 (fmax_test_data): Likewise.
35436 (fmin_test_data): Likewise.
35437 (fmod_test_data): Likewise.
35438 (fpclassify_test_data): Likewise.
35439 (frexp_test_data): Likewise.
35440 (ilogb_test_data): Likewise.
35441 (isfinite_test_data): Likewise.
35442 (isgreater_test_data): Likewise.
35443 (isgreaterequal_test_data): Likewise.
35444 (isinf_test_data): Likewise.
35445 (isless_test_data): Likewise.
35446 (islessequal_test_data): Likewise.
35447 (islessgreater_test_data): Likewise.
35448 (isnan_test_data): Likewise.
35449 (isnormal_test_data): Likewise.
35450 (issignaling_test_data): Likewise.
35451 (isunordered_test_data): Likewise.
35452 (ldexp_test_data): Likewise.
35453 (lrint_test_data): Likewise.
35454 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35455 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35456 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35457 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35458 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35459 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35460 test input.
35461 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35462 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35463 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35464 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35465 that test input.
35466 (lrint_downward_test_data): Test for "inexact" exceptions.
35467 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35468 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35469 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35470 test input.
35471 (lrint_upward_test_data): Test for "inexact" exceptions.
35472 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35473 test input.
35474 (llrint_test_data): Test for "inexact" exceptions.
35475 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35476 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35477 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35478 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35479 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35480 (llrint_downward_test_data): Test for "inexact" exceptions.
35481 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35482 (llrint_upward_test_data): Test for "inexact" exceptions.
35483 (logb_test_data): Likewise.
35484 (logb_downward_test_data): Likewise.
35485 (nextafter_test_data): Likewise.
35486 (nexttoward_test_data): Likewise.
35487 (remainder_test_data): Likewise.
35488 (remquo_test_data): Likewise.
35489 (scalbn_test_data): Likewise.
35490 (scalbln_test_data): Likewise.
35491 (signbit_test_data): Likewise.
35492 (sqrt_test_data): Likewise.
35493 (significand_test_data): Likewise.
35494
35495 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35496
35497 [BZ #15424]
35498 * benchtests/bench-modf.c (struct args): Mark arg0 as
35499 volatile.
35500 * scripts/bench.pl: Mark members of struct args as volatile.
35501
35502 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35503
35504 [BZ # 15497]
35505 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35506 negative infinity on POWER6 or lower.
35507 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35508
35509 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35510
35511 [BZ #15442]
35512 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35513 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35514 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35515 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35516 (_FP_SETQNAN): New macro.
35517 (_FP_SETQNAN_SEMIRAW): Likewise.
35518 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35519 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35520 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35521 (FP_EXTEND): Use _FP_FRAC_SNANP.
35522 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35523 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35524 into account.
35525 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35526 New macro.
35527 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35528 Likewise.
35529
35530 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35531
35532 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35533 with DIVIDE_BY_ZERO_EXCEPTION.
35534 (gamma_test_data): Likewise.
35535 (lgamma_test_data): Likewise.
35536 (log_test_data): Likewise.
35537 (log10_test_data): Likewise.
35538 (log2_test_data): Likewise.
35539 (tgamma_test_data): Likewise.
35540
35541 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35542 (acos_test_tonearest): Likewise.
35543 (acos_test_towardzero): Likewise.
35544 (acos_test_downward): Likewise.
35545 (acos_test_upward): Likewise.
35546 (acosh_test): Likewise.
35547 (asin_test): Likewise.
35548 (asin_test_tonearest): Likewise.
35549 (asin_test_towardzero): Likewise.
35550 (asin_test_downward): Likewise.
35551 (asin_test_upward): Likewise.
35552 (asinh_test): Likewise.
35553 (atan_test): Likewise.
35554 (atanh_test): Likewise.
35555 (atan2_test): Likewise.
35556 (cabs_test): Likewise.
35557 (cacos_test): Likewise.
35558 (cacosh_test): Likewise.
35559 (casin_test): Likewise.
35560 (casinh_test): Likewise.
35561 (catan_test): Likewise.
35562 (catanh_test): Likewise.
35563 (cbrt_test): Likewise.
35564 (ccos_test): Likewise.
35565 (ccosh_test): Likewise.
35566 (cexp_test): Likewise.
35567 (clog_test): Likewise.
35568 (clog10_test): Likewise.
35569 (cos_test): Likewise.
35570 (cos_test_tonearest): Likewise.
35571 (cos_test_towardzero): Likewise.
35572 (cos_test_downward): Likewise.
35573 (cos_test_upward): Likewise.
35574 (cosh_test): Likewise.
35575 (cosh_test_tonearest): Likewise.
35576 (cosh_test_towardzero): Likewise.
35577 (cosh_test_downward): Likewise.
35578 (cosh_test_upward): Likewise.
35579 (cpow_test): Likewise.
35580 (csin_test): Likewise.
35581 (csinh_test): Likewise.
35582 (csqrt_test): Likewise.
35583 (ctan_test): Likewise.
35584 (ctan_test_tonearest): Likewise.
35585 (ctan_test_towardzero): Likewise.
35586 (ctan_test_downward): Likewise.
35587 (ctan_test_upward): Likewise.
35588 (ctanh_test): Likewise.
35589 (ctanh_test_tonearest): Likewise.
35590 (ctanh_test_towardzero): Likewise.
35591 (ctanh_test_downward): Likewise.
35592 (ctanh_test_upward): Likewise.
35593 (erf_test): Likewise.
35594 (erfc_test): Likewise.
35595 (exp_test): Likewise.
35596 (exp_test_tonearest): Likewise.
35597 (exp_test_towardzero): Likewise.
35598 (exp_test_downward): Likewise.
35599 (exp_test_upward): Likewise.
35600 (exp10_test): Likewise.
35601 (exp2_test): Likewise.
35602 (expm1_test): Likewise.
35603 (fmod_test): Likewise.
35604 (gamma_test): Likewise.
35605 (hypot_test): Likewise.
35606 (j0_test): Likewise.
35607 (j1_test): Likewise.
35608 (jn_test): Likewise.
35609 (lgamma_test): Likewise.
35610 (log_test): Likewise.
35611 (log10_test): Likewise.
35612 (log1p_test): Likewise.
35613 (log2_test): Likewise.
35614 (logb_test_downward): Likewise.
35615 (pow_test): Likewise.
35616 (pow_test_tonearest): Likewise.
35617 (pow_test_towardzero): Likewise.
35618 (pow_test_downward): Likewise.
35619 (pow_test_upward): Likewise.
35620 (remainder_test): Likewise.
35621 (remquo_test): Likewise.
35622 (sin_test): Likewise.
35623 (sin_test_tonearest): Likewise.
35624 (sin_test_towardzero): Likewise.
35625 (sin_test_downward): Likewise.
35626 (sin_test_upward): Likewise.
35627 (sincos_test): Likewise.
35628 (sinh_test): Likewise.
35629 (sinh_test_tonearest): Likewise.
35630 (sinh_test_towardzero): Likewise.
35631 (sinh_test_downward): Likewise.
35632 (sinh_test_upward): Likewise.
35633 (sqrt_test): Likewise.
35634 (tan_test): Likewise.
35635 (tan_test_tonearest): Likewise.
35636 (tan_test_towardzero): Likewise.
35637 (tan_test_downward): Likewise.
35638 (tan_test_upward): Likewise.
35639 (tanh_test): Likewise.
35640 (tgamma_test): Likewise.
35641 (y0_test): Likewise.
35642 (y1_test): Likewise.
35643 (yn_test): Likewise.
35644
35645 * math/gen-libm-test.pl (adjust_arg): Remove function.
35646 (special_function): Remove argument $in_func. Only handle
35647 generating output for tables of tests, not inside functions.
35648 (parse_args): Likewise.
35649 (generate_testfile): Remove variable $in_func. Update call to
35650 parse_args.
35651 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35652 (MINUS_ZERO_INIT): Rename macro to minus_zero.
35653 (PLUS_INFTY_INIT): Rename macro to plus_infty.
35654 (MINUS_INFTY_INIT): Rename macro to minus_infty.
35655 (QNAN_VALUE_INIT): Rename macro to qnan_value.
35656 (MAX_VALUE_INIT): Rename macro to max_value.
35657 (MIN_VALUE_INIT): Rename macro to min_value.
35658 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35659 (plus_zero): Remove variable.
35660 (minus_zero): Likewise.
35661 (plus_infty): Likewise.
35662 (minus_infty): Likewise.
35663 (qnan_value): Likewise.
35664 (max_value): Likewise.
35665 (min_value): Likewise.
35666 (min_subnorm_value): Likewise.
35667
35668 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35669
35670 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35671 uint64_t or uint32_t usage.
35672 * crypt/sha256-block.c: Likewise.
35673 * crypt/sha256-crypt.c: Likewise.
35674 * crypt/sha256.c: Likewise.
35675 * crypt/sha512-block.c: Likewise.
35676 * crypt/sha512-crypt.c: Likewise.
35677 * crypt/sha512.c: Likewise.
35678 * debug/backtrace-tst.c: Likewise.
35679 * debug/pcprofiledump.c: Likewise.
35680 * elf/cache.c: Likewise.
35681 * elf/dl-cache.c: Likewise.
35682 * elf/dl-misc.c: Likewise.
35683 * elf/dl-profile.c: Likewise.
35684 * elf/dl-support.c: Likewise.
35685 * elf/ldconfig.c: Likewise.
35686 * elf/sprof.c: Likewise.
35687 * iconv/dummy-repertoire.c: Likewise.
35688 * iconv/iconv_charmap.c: Likewise.
35689 * iconv/skeleton.c: Likewise.
35690 * iconvdata/8bit-generic.c: Likewise.
35691 * iconvdata/cp737.h: Likewise.
35692 * iconvdata/cp775.h: Likewise.
35693 * iconvdata/ibm1008.h: Likewise.
35694 * iconvdata/ibm1025.h: Likewise.
35695 * iconvdata/ibm1046.h: Likewise.
35696 * iconvdata/ibm1097.h: Likewise.
35697 * iconvdata/ibm1112.h: Likewise.
35698 * iconvdata/ibm1122.h: Likewise.
35699 * iconvdata/ibm1123.h: Likewise.
35700 * iconvdata/ibm1124.h: Likewise.
35701 * iconvdata/ibm1129.h: Likewise.
35702 * iconvdata/ibm1130.h: Likewise.
35703 * iconvdata/ibm1132.h: Likewise.
35704 * iconvdata/ibm1133.h: Likewise.
35705 * iconvdata/ibm1137.h: Likewise.
35706 * iconvdata/ibm1140.h: Likewise.
35707 * iconvdata/ibm1141.h: Likewise.
35708 * iconvdata/ibm1142.h: Likewise.
35709 * iconvdata/ibm1143.h: Likewise.
35710 * iconvdata/ibm1144.h: Likewise.
35711 * iconvdata/ibm1145.h: Likewise.
35712 * iconvdata/ibm1146.h: Likewise.
35713 * iconvdata/ibm1147.h: Likewise.
35714 * iconvdata/ibm1148.h: Likewise.
35715 * iconvdata/ibm1149.h: Likewise.
35716 * iconvdata/ibm1153.h: Likewise.
35717 * iconvdata/ibm1154.h: Likewise.
35718 * iconvdata/ibm1155.h: Likewise.
35719 * iconvdata/ibm1156.h: Likewise.
35720 * iconvdata/ibm1157.h: Likewise.
35721 * iconvdata/ibm1158.h: Likewise.
35722 * iconvdata/ibm1160.h: Likewise.
35723 * iconvdata/ibm1161.h: Likewise.
35724 * iconvdata/ibm1162.h: Likewise.
35725 * iconvdata/ibm1163.h: Likewise.
35726 * iconvdata/ibm1164.h: Likewise.
35727 * iconvdata/ibm1166.h: Likewise.
35728 * iconvdata/ibm1167.h: Likewise.
35729 * iconvdata/ibm12712.h: Likewise.
35730 * iconvdata/ibm1390.h: Likewise.
35731 * iconvdata/ibm1399.h: Likewise.
35732 * iconvdata/ibm16804.h: Likewise.
35733 * iconvdata/ibm4517.h: Likewise.
35734 * iconvdata/ibm4899.h: Likewise.
35735 * iconvdata/ibm4909.h: Likewise.
35736 * iconvdata/ibm4971.h: Likewise.
35737 * iconvdata/ibm5347.h: Likewise.
35738 * iconvdata/ibm803.h: Likewise.
35739 * iconvdata/ibm856.h: Likewise.
35740 * iconvdata/ibm901.h: Likewise.
35741 * iconvdata/ibm902.h: Likewise.
35742 * iconvdata/ibm9030.h: Likewise.
35743 * iconvdata/ibm9066.h: Likewise.
35744 * iconvdata/ibm921.h: Likewise.
35745 * iconvdata/ibm922.h: Likewise.
35746 * iconvdata/ibm9448.h: Likewise.
35747 * iconvdata/isiri-3342.h: Likewise.
35748 * iconvdata/jis0201.h: Likewise.
35749 * include/link.h: Likewise.
35750 * include/netdb.h: Likewise.
35751 * inet/check_native.c: Likewise.
35752 * inet/check_pf.c: Likewise.
35753 * inet/getipv4sourcefilter.c: Likewise.
35754 * inet/getnameinfo.c: Likewise.
35755 * inet/getsourcefilter.c: Likewise.
35756 * inet/htonl.c: Likewise.
35757 * inet/setipv4sourcefilter.c: Likewise.
35758 * inet/setsourcefilter.c: Likewise.
35759 * inet/test-inet6_opt.c: Likewise.
35760 * inet/tst-network.c: Likewise.
35761 * locale/C-collate.c: Likewise.
35762 * locale/C-ctype.c: Likewise.
35763 * locale/C-time.c: Likewise.
35764 * locale/C-translit.h: Likewise.
35765 * locale/loadarchive.c: Likewise.
35766 * locale/programs/3level.h: Likewise.
35767 * locale/programs/charmap.c: Likewise.
35768 * locale/programs/charmap.h: Likewise.
35769 * locale/programs/ld-address.c: Likewise.
35770 * locale/programs/ld-collate.c: Likewise.
35771 * locale/programs/ld-ctype.c: Likewise.
35772 * locale/programs/ld-identification.c: Likewise.
35773 * locale/programs/ld-measurement.c: Likewise.
35774 * locale/programs/ld-messages.c: Likewise.
35775 * locale/programs/ld-monetary.c: Likewise.
35776 * locale/programs/ld-name.c: Likewise.
35777 * locale/programs/ld-numeric.c: Likewise.
35778 * locale/programs/ld-paper.c: Likewise.
35779 * locale/programs/ld-telephone.c: Likewise.
35780 * locale/programs/ld-time.c: Likewise.
35781 * locale/programs/linereader.c: Likewise.
35782 * locale/programs/locale.c: Likewise.
35783 * locale/programs/locarchive.c: Likewise.
35784 * locale/programs/locfile.h: Likewise.
35785 * locale/programs/repertoire.c: Likewise.
35786 * locale/programs/simple-hash.c: Likewise.
35787 * locale/programs/simple-hash.h: Likewise.
35788 * malloc/memusage.c: Likewise.
35789 * malloc/memusagestat.c: Likewise.
35790 * nis/nis_defaults.c: Likewise.
35791 * nis/nis_hash.c: Likewise.
35792 * nis/nis_print.c: Likewise.
35793 * nis/nis_xdr.c: Likewise.
35794 * nscd/connections.c: Likewise.
35795 * nscd/hstcache.c: Likewise.
35796 * nscd/nscd_gethst_r.c: Likewise.
35797 * nscd/nscd_getserv_r.c: Likewise.
35798 * nscd/nscd_helper.c: Likewise.
35799 * nscd/servicescache.c: Likewise.
35800 * nss/makedb.c: Likewise.
35801 * nss/nss_db/db-XXX.c: Likewise.
35802 * nss/nss_db/db-initgroups.c: Likewise.
35803 * nss/nss_db/db-netgrp.c: Likewise.
35804 * nss/nss_files/files-network.c: Likewise.
35805 * nss/nss_files/files-parse.c: Likewise.
35806 * posix/bug-regex5.c: Likewise.
35807 * posix/fnmatch_loop.c: Likewise.
35808 * posix/regcomp.c: Likewise.
35809 * posix/regexec.c: Likewise.
35810 * posix/tst-rfc3484-2.c: Likewise.
35811 * posix/tst-rfc3484-3.c: Likewise.
35812 * posix/tst-rfc3484.c: Likewise.
35813 * resolv/nss_dns/dns-canon.c: Likewise.
35814 * resolv/nss_dns/dns-network.c: Likewise.
35815 * resolv/res_init.c: Likewise.
35816 * resolv/res_mkquery.c: Likewise.
35817 * resolv/tst-aton.c: Likewise.
35818 * stdlib/cxa_atexit.c: Likewise.
35819 * stdlib/cxa_finalize.c: Likewise.
35820 * stdlib/gen-fpioconst.c: Likewise.
35821 * stdlib/strtol_l.c: Likewise.
35822 * string/tst-endian.c: Likewise.
35823 * sunrpc/auth_des.c: Likewise.
35824 * sunrpc/clnt_udp.c: Likewise.
35825 * sunrpc/rtime.c: Likewise.
35826 * sunrpc/svcauth_des.c: Likewise.
35827 * sunrpc/xdr.c: Likewise.
35828 * sunrpc/xdr_intXX_t.c: Likewise.
35829 * sunrpc/xdr_rec.c: Likewise.
35830 * sysdeps/generic/ldconfig.h: Likewise.
35831 * sysdeps/generic/ldsodefs.h: Likewise.
35832 * sysdeps/generic/memusage.h: Likewise.
35833 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35834 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35835 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35836 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35837 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35838 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35839 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35840 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35841 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35842 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35843 * sysdeps/posix/getaddrinfo.c: Likewise.
35844 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35845 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35846 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35847 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35848 * sysdeps/powerpc/test-gettimebase.c: Likewise.
35849 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35850 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35851 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35852 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35853 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35854 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35855 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35856 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35857 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35858 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35859 * sysdeps/x86_64/dl-tls.h: Likewise.
35860 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35861 * time/alt_digit.c: Likewise.
35862 * time/era.c: Likewise.
35863 * wcsmbs/tst-c16c32-1.c: Likewise.
35864
35865 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35866
35867 * math/libm-test.inc (struct test_sincos_data): New type.
35868 (RUN_TEST_LOOP_sincos): New macro.
35869 (sincos_test_data): New variable.
35870 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35871
35872 2013-05-16 Richard Henderson <rth@redhat.com>
35873
35874 * math/atest-exp2.c (LIMB64): New macro.
35875 (CONSTSZ): New macro.
35876 (mp_exp1, mp_exp_m1, mp_log2): New variables.
35877 (hexdig): Move ...
35878 (print_mpn_fp): ... to function scope.
35879 (read_mpn_hex): Remove.
35880 (get_log2): Remove.
35881 (exp2_mpn): Use mp_log2.
35882 (main): Use mp_exp1.
35883
35884 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35885
35886 * math/libm-test.inc: Remove comment about not testing "inexact"
35887 exceptions.
35888 (INEXACT_EXCEPTION): New macro.
35889 (NO_INEXACT_EXCEPTION): Likewise.
35890 (INVALID_EXCEPTION_OK): Update value.
35891 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35892 (OVERFLOW_EXCEPTION_OK): Likewise.
35893 (UNDERFLOW_EXCEPTION_OK): Likewise.
35894 (IGNORE_ZERO_INF_SIGN): Likewise.
35895 (ERRNO_UNCHANGED): Likewise.
35896 (ERRNO_EDOM): Likewise.
35897 (ERRNO_ERANGE): Likewise.
35898 (test_exceptions): Handle testing "inexact" exceptions.
35899 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35900 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35901 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35902 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35903 INEXACT_EXCEPTION.
35904 (rint_towardzero_test_data): Likewise.
35905 (rint_downward_test_data): Likewise.
35906 (rint_upward_test_data): Likewise.
35907
35908 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35909 with OVERFLOW_EXCEPTION.
35910 (exp10_test_data): Likewise.
35911 (exp2_test_data): Likewise.
35912 (expm1_test_data): Likewise.
35913 (lgamma_test_data): Likewise.
35914 (pow_test_data): Likewise.
35915 (tgamma_test_data): Likewise.
35916 (yn_test_data): Remove duplicate test of overflow.
35917
35918 * math/libm-test.inc (struct test_cc_c_data): New type.
35919 (RUN_TEST_LOOP_cc_c): New macro.
35920 (cpow_test_data): New variable.
35921 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35922
35923 * math/libm-test.inc (struct test_f_L_data): New type.
35924 (RUN_TEST_LOOP_f_L): New macro.
35925 (llrint_test_data): New variable.
35926 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35927 (llrint_tonearest_test_data): New variable.
35928 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35929 (llrint_towardzero_test_data): New variable.
35930 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35931 (llrint_downward_test_data): New variable.
35932 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35933 (llrint_upward_test_data): New variable.
35934 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35935 (llround_test_data): New variable.
35936 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35937
35938 2013-05-13 Peter Collingbourne <pcc@google.com>
35939
35940 * math/atest-exp2.c (get_log2): Remove const attribute.
35941
35942 2013-05-15 Joseph Myers <joseph@codesourcery.com>
35943
35944 * math/libm-test.inc (struct test_f_l_data): New type.
35945 (RUN_TEST_LOOP_f_l): New macro.
35946 (lrint_test_data): New variable.
35947 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35948 (lrint_tonearest_test_data): New variable.
35949 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35950 (lrint_towardzero_test_data): New variable.
35951 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35952 (lrint_downward_test_data): New variable.
35953 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35954 (lrint_upward_test_data): New variable.
35955 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35956 (lround_test_data): New variable.
35957 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35958
35959 2013-05-15 Peter Collingbourne <pcc@google.com>
35960
35961 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35962 (EXTRACT_WORDS64) Use where appropriate.
35963 (INSERT_WORDS64) Likewise.
35964
35965 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35966 constraints with x constraints.
35967 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35968
35969 * malloc/obstack.c (_obstack_compat): Add initializer.
35970
35971 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
35972
35973 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35974 si_trapno and add si_addr_lsb to _sifields.sigfault.
35975 (si_trapno): Remove macro.
35976 (si_addr_lsb): Define new macro.
35977 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35978
35979 2013-05-15 Joseph Myers <joseph@codesourcery.com>
35980
35981 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35982 instead of TEST_f_l.
35983 (llrint_test_tonearest): Likewise.
35984 (llrint_test_towardzero): Likewise.
35985 (llrint_test_downward): Likewise.
35986 (llrint_test_upward): Likewise.
35987 (llround_test): Likewise.
35988
35989 * math/libm-test.inc (struct test_f_i_data): Add comment.
35990 (RUN_TEST_LOOP_f_b): New macro.
35991 (RUN_TEST_LOOP_f_b_tg): Likewise.
35992 (finite_test_data): New variable.
35993 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35994 (isfinite_test_data): New variable.
35995 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35996 (isinf_test_data): New variable.
35997 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35998 (isnan_test_data): New variable.
35999 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36000 (isnormal_test_data): New variable.
36001 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36002 (issignaling_test_data): New variable.
36003 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36004 (signbit_test_data): New variable.
36005 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36006
36007 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36008 with INVALID_EXCEPTION.
36009 (acosh_test_data): Likewise.
36010 (asin_test_data): Likewise.
36011 (atanh_test_data): Likewise.
36012 (fmod_test_data): Likewise.
36013 (log_test_data): Likewise.
36014 (log10_test_data): Likewise.
36015 (log2_test_data): Likewise.
36016 (pow_test_data): Likewise.
36017 (sqrt_test_data): Likewise.
36018 (y0_test_data): Likewise.
36019 (y1_test_data): Likewise.
36020 (yn_test_data): Likewise.
36021
36022 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36023 function contents.
36024
36025 * math/libm-test.inc (struct test_ff_i_data): New type.
36026 (RUN_TEST_LOOP_ff_i_tg): New macro.
36027 (isgreater_test_data): New variable.
36028 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36029 (isgreaterequal_test_data): New variable.
36030 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36031 (isless_test_data): New variable.
36032 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36033 (islessequal_test_data): New variable.
36034 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36035 (islessgreater_test_data): New variable.
36036 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36037 (isunordered_test_data): New variable.
36038 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36039
36040 2013-05-14 David S. Miller <davem@davemloft.net>
36041
36042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36043
36044 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36045
36046 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36047
36048 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36049 extra_test to int.
36050 (struct test_f_i_data): Change type of max_ulp to int.
36051
36052 * math/libm-test.inc (test_ffI_f1_data): New type.
36053 (RUN_TEST_LOOP_ffI_f1): New macro.
36054 (remquo_test_data): New variable.
36055 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36056
36057 * setjmp/tst-setjmp-fp.c: New file.
36058 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36059 (link-libm): New variable.
36060 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36061
36062 * math/libm-test.inc (struct test_f_i_data): New type.
36063 (RUN_TEST_LOOP_f_i): New macro.
36064 (RUN_TEST_LOOP_f_i_tg): Likewise.
36065 (fpclassify_test_data): New variable.
36066 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36067 (ilogb_test_data): New variable.
36068 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36069
36070 * math/libm-test.inc (scalbln_test): Correct function name in END
36071 call.
36072
36073 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36074 (RUN_TEST_LOOP_fI_f1): New macro.
36075 (frexp_test_data): New variable.
36076 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36077
36078 * math/libm-test.inc (struct test_fF_f1_data): New type.
36079 (RUN_TEST_LOOP_fF_f1): New macro.
36080 (modf_test_data): New variable.
36081 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36082
36083 * math/libm-test.inc (struct test_f_f1_data): New type.
36084 (RUN_TEST_LOOP_f_f1): New macro.
36085 (gamma_test_data): New variable.
36086 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36087 (lgamma_test_data): New variable.
36088 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36089
36090 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36091
36092 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36093 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36094 (main): Comment "tls" pseudo-hwcap.
36095
36096 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36097
36098 * math/libm-test.inc (struct test_fl_f_data): New type.
36099 (RUN_TEST_LOOP_fl_f): New variable.
36100 (scalbln_test_data): New variable.
36101 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36102
36103 * math/libm-test.inc (struct test_fi_f_data): New type.
36104 (RUN_TEST_LOOP_fi_f): New macro.
36105 (ldexp_test_data): New variable.
36106 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36107 (scalbn_test_data): New variable.
36108 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36109
36110 * math/libm-test.inc (struct test_c_f_data): New type.
36111 (RUN_TEST_LOOP_c_f): New macro.
36112 (cabs_test_data): New variable.
36113 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36114 (carg_test_data): New variable.
36115 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36116 (cimag_test_data): New variable.
36117 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36118 (creal_test_data): New variable.
36119 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36120
36121 * math/libm-test.inc (struct test_if_f_data): New type.
36122 (RUN_TEST_LOOP_if_f): New macro.
36123 (jn_test_data): New variable.
36124 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36125 (yn_test_data): New variable.
36126 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36127
36128 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36129
36130 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36131
36132 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36133 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36134
36135 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36136
36137 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36138 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36139 (bench-deps): Add bench-timing.h.
36140 * benchtests-bench-skeleton.c: Include bench-timing.h.
36141 (main): Use TIMING_* macros instead of clock_gettime.
36142 * benchtests/bench-timing.h: New file.
36143
36144 [BZ #14582]
36145 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36146 Renamed from _LIB_VERSION.
36147 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36148
36149 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36150
36151 * math/libm-test.inc (struct test_fff_f_data): New type.
36152 (RUN_TEST_LOOP_fff_f): New macro.
36153 (fma_test_data): New variable.
36154 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36155 (fma_towardzero_test_data): New variable.
36156 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36157 (fma_downward_test_data): New variable.
36158 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36159 (fma_upward_test_data): New variable.
36160 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36161
36162 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36163 (struct test_c_c_data): New type.
36164 (RUN_TEST_LOOP_c_c): New macro.
36165 (cacos_test_data): New variable.
36166 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36167 (cacosh_test_data): New variable.
36168 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36169 (casin_test_data): New variable.
36170 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36171 (casinh_test_data): New variable.
36172 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36173 (catan_test_data): New variable.
36174 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36175 (catanh_test_data): New variable.
36176 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36177 (ccos_test_data): New variable.
36178 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36179 (ccosh_test_data): New variable.
36180 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36181 (cexp_test_data): New variable.
36182 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36183 (clog_test_data): New variable.
36184 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36185 (clog10_test_data): New variable.
36186 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36187 (conj_test_data): New variable.
36188 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36189 (cproj_test_data): New variable.
36190 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36191 (csin_test_data): New variable.
36192 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36193 (csinh_test_data): New variable.
36194 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36195 (csqrt_test_data): New variable.
36196 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36197 (ctan_test_data): New variable.
36198 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36199 (ctan_tonearest_test_data): New variable.
36200 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36201 (ctan_towardzero_test_data): New variable.
36202 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36203 (ctan_downward_test_data): New variable.
36204 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36205 (ctan_upward_test_data): New variable.
36206 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36207 (ctanh_test_data): New variable.
36208 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36209 (ctanh_tonearest_test_data): New variable.
36210 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36211 (ctanh_towardzero_test_data): New variable.
36212 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36213 (ctanh_downward_test_data): New variable.
36214 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36215 (ctanh_upward_test_data): New variable.
36216 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36217 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36218 of BUILD_COMPLEX.
36219
36220 * math/libm-test.inc (struct test_ff_f_data): New type.
36221 (struct test_ff_f_data_nexttoward): Likewise.
36222 (RUN_TEST_LOOP_2_f): New macro.
36223 (RUN_TEST_LOOP_ff_f): Likewise.
36224 (atan2_test_data): New variable.
36225 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36226 (copysign_test_data): New variable.
36227 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36228 (fdim_test_data): New variable.
36229 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36230 (fmax_test_data): New variable.
36231 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36232 (fmin_test_data): New variable.
36233 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36234 (fmod_test_data): New variable.
36235 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36236 (hypot_test_data): New variable.
36237 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36238 (nextafter_test_data): New variable.
36239 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36240 (nexttoward_test_data): New variable.
36241 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36242 (pow_test_data): New variable.
36243 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36244 (pow_tonearest_test_data): New variable.
36245 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36246 (pow_towardzero_test_data): New variable.
36247 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36248 (pow_downward_test_data): New variable.
36249 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36250 (pow_upward_test_data): New variable.
36251 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36252 (remainder_test_data): New variable.
36253 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36254 (scalb_test_data): New variable.
36255 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36256 * sysdeps/i386/fpu/libm-test-ulps: Update.
36257
36258 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36259
36260 * math/libm-test.inc (fma_test): Use max_value instead of local
36261 variable fltmax.
36262 (nextafter_test): Likewise.
36263
36264 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36265 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36266 (acos_downward_test_data): New variable.
36267 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36268 (acos_upward_test_data): New variable.
36269 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36270 (acosh_test_data): New variable.
36271 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36272 (asin_test_data): New variable.
36273 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36274 (asin_tonearest_test_data): New variable.
36275 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36276 (asin_towardzero_test_data): New variable.
36277 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36278 (asin_downward_test_data): New variable.
36279 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36280 (asin_upward_test_data): New variable.
36281 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36282 (asinh_test_data): New variable.
36283 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36284 (atan_test_data): New variable.
36285 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36286 (atanh_test_data): New variable.
36287 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36288 (cbrt_test_data): New variable.
36289 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36290 (ceil_test_data): New variable.
36291 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36292 (cos_test_data): New variable.
36293 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36294 (cos_tonearest_test_data): New variable.
36295 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36296 (cos_towardzero_test_data): New variable.
36297 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36298 (cos_downward_test_data): New variable.
36299 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36300 (cos_upward_test_data): New variable.
36301 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36302 (cosh_test_data): New variable.
36303 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36304 (cosh_tonearest_test_data): New variable.
36305 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36306 (cosh_towardzero_test_data): New variable.
36307 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36308 (cosh_downward_test_data): New variable.
36309 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36310 (cosh_upward_test_data): New variable.
36311 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36312 (erf_test_data): New variable.
36313 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36314 (erfc_test_data): New variable.
36315 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36316 (exp_test_data): New variable.
36317 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36318 (exp_tonearest_test_data): New variable.
36319 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36320 (exp_towardzero_test_data): New variable.
36321 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36322 (exp_downward_test_data): New variable.
36323 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36324 (exp_upward_test_data): New variable.
36325 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36326 (exp10_test_data): New variable.
36327 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36328 (exp2_test_data): New variable.
36329 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36330 (expm1_test_data): New variable.
36331 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36332 (fabs_test_data): New variable.
36333 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36334 (floor_test_data): New variable.
36335 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36336 (j0_test_data): New variable.
36337 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36338 (j1_test_data): New variable.
36339 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36340 (log_test_data): New variable.
36341 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36342 (log10_test_data): New variable.
36343 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36344 (log1p_test_data): New variable.
36345 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36346 (log2_test_data): New variable.
36347 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36348 (logb_test_data): New variable.
36349 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36350 (logb_downward_test_data): New variable.
36351 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36352 (nearbyint_test_data): New variable.
36353 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36354 (rint_test_data): New variable.
36355 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36356 (rint_tonearest_test_data): New variable.
36357 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36358 (rint_towardzero_test_data): New variable.
36359 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36360 (rint_downward_test_data): New variable.
36361 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36362 (rint_upward_test_data): New variable.
36363 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36364 (round_test_data): New variable.
36365 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36366 (sin_test_data): New variable.
36367 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36368 (sin_tonearest_test_data): New variable.
36369 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36370 (sin_towardzero_test_data): New variable.
36371 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36372 (sin_downward_test_data): New variable.
36373 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36374 (sin_upward_test_data): New variable.
36375 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36376 (sinh_test_data): New variable.
36377 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36378 (sinh_tonearest_test_data): New variable.
36379 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36380 (sinh_towardzero_test_data): New variable.
36381 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36382 (sinh_downward_test_data): New variable.
36383 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36384 (sinh_upward_test_data): New variable.
36385 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36386 (sqrt_test_data): New variable.
36387 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36388 (tan_test_data): New variable.
36389 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36390 (tan_tonearest_test_data): New variable.
36391 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36392 (tan_towardzero_test_data): New variable.
36393 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36394 (tan_downward_test_data): New variable.
36395 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36396 (tan_upward_test_data): New variable.
36397 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36398 (tanh_test_data): New variable.
36399 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36400 (tgamma_test_data): New variable.
36401 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36402 (trunc_test_data): New variable.
36403 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36404 (y0_test_data): New variable.
36405 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36406 (y1_test_data): New variable.
36407 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36408 (significand_test_data): New variable.
36409 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36410
36411 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36412
36413 [BZ #12387]
36414 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36415
36416 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36417
36418 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36419
36420 2013-05-10 Andreas Jaeger <aj@suse.de>
36421
36422 [BZ #15448]
36423 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36424 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36425
36426 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36427
36428 * math/gen-libm-test.pl (adjust_arg): New function.
36429 (special_functions): Handle generating output in both functions
36430 and arrays.
36431 (parse_args): Likewise.
36432 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36433 $in_func argument to parse_args.
36434 * math/libm-test.inc (struct test_f_f_data): New type.
36435 (IF_ROUND_INIT_): New macro.
36436 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36437 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36438 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36439 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36440 (ROUND_RESTORE_): Likewise.
36441 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36442 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36443 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36444 (ROUND_RESTORE_FE_UPWARD): Likewise.
36445 (RUN_TEST_LOOP_f_f): New macro.
36446 (acos_test_data): New variable.
36447 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36448 (acos_tonearest_test_data): New variable.
36449 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36450
36451 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36452
36453 * benchtests/bench-skeleton.c (startup): Fix coding style.
36454
36455 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36456
36457 [BZ #6809]
36458 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36459 negative infinity argument.
36460 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36461 negative infinity argument.
36462 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36463 negative infinity argument.
36464 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36465 domain errors.
36466
36467 2013-05-10 Florian Weimer <fweimer@redhat.com>
36468
36469 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36470 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36471 * iconv/iconv_prog.c (main): Likewise.
36472 * locale/programs/charmap-dir.c (charmap_readdir)
36473 (fopen_uncompressed): Likewise.
36474 * locale/programs/locfile.c (siblings_uncached)
36475 (write_locale_data): Use lstat64 instead of lstat.
36476 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36477 stat.
36478
36479 2013-05-10 Andreas Jaeger <aj@suse.de>
36480
36481 [BZ #15395]
36482 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36483 localization.
36484 Include <locale.h>.
36485
36486 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36487
36488 * elf/dl-close.c (_dl_close_worker): Add comments.
36489
36490 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36491
36492 [BZ #15359]
36493 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36494 high part of pi/2.
36495 (__ieee754_rem_pio2l): Update comments.
36496
36497 [BZ #15429]
36498 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36499 high part of pi/2.
36500 (__ieee754_rem_pio2l): Update comments.
36501
36502 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36503 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36504
36505 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36506 M_PI_4l.
36507
36508 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36509 (M_PI_34_LOG10El): Likewise.
36510 (M_PI2_LOG10El): Likewise.
36511 (M_PI4_LOG10El): Likewise.
36512 (M_PI_LOG10El): Likewise.
36513
36514 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36515
36516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36517
36518 2013-05-08 Joseph Myers <joseph@codesourcery.com>
36519
36520 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36521 (MINUS_ZERO_INIT): Likewise.
36522 (PLUS_INFTY_INIT): Likewise.
36523 (MINUS_INFTY_INIT): Likewise.
36524 (QNAN_VALUE_INIT): Likewise.
36525 (MAX_VALUE_INIT): Likewise.
36526 (MIN_VALUE_INIT): Likewise.
36527 (MIN_SUBNORM_VALUE_INIT): Likewise.
36528 (plus_zero): Initialize with PLUS_ZERO_INIT.
36529 (minus_zero): Initialize with MINUS_ZERO_INIT.
36530 (plus_infty): Initialize with PLUS_INFTY_INIT.
36531 (minus_infty): Initialize with MINUS_INFTY_INIT.
36532 (qnan_value): Initialize with QNAN_VALUE_INIT.
36533 (max_value): Initialize with MAX_VALUE_INIT.
36534 (min_value): Initialize with MIN_VALUE_INIT.
36535 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36536
36537 * math/libm-test.inc (RUN_TEST_if_f): New macro.
36538 (jn_test): Use TEST_if_f instead of TEST_ff_f.
36539 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36540 (yn_test): Use TEST_if_f instead of TEST_ff_f.
36541
36542 * math/libm-test.inc (RUN_TEST_f_f): New macro.
36543 (RUN_TEST_2_f): Likewise.
36544 (RUN_TEST_ff_f): Likewise.
36545 (RUN_TEST_fi_f): Likewise.
36546 (RUN_TEST_fl_f): Likewise.
36547 (RUN_TEST_fff_f): Likewise.
36548 (RUN_TEST_c_f): Likewise.
36549 (RUN_TEST_f_f1): Likewise.
36550 (RUN_TEST_fF_f1): Likewise.
36551 (RUN_TEST_fI_f1): Likewise.
36552 (RUN_TEST_ffI_f1): Likewise.
36553 (RUN_TEST_c_c): Likewise.
36554 (RUN_TEST_cc_c): Likewise.
36555 (RUN_TEST_f_i): Likewise.
36556 (RUN_TEST_f_i_tg): Likewise.
36557 (RUN_TEST_ff_i_tg): Likewise.
36558 (RUN_TEST_f_b): Likewise.
36559 (RUN_TEST_f_b_tg): Likewise.
36560 (RUN_TEST_f_l): Likewise.
36561 (RUN_TEST_f_L): Likewise.
36562 (RUN_TEST_sincos): Likewise.
36563 * math/gen-libm-test.pl (new_test): Take new argument to indicate
36564 whether to show exceptions. Do not include ");\n" in return
36565 value.
36566 (special_functions): Output call to RUN_TEST_sincos instead of
36567 check_float calls. Update calls to new_test.
36568 (parse_args): Output call to single RUN_TEST_* macro instead of
36569 check_* calls and other assignments. Update calls to new_test.
36570
36571 [BZ #2546]
36572 [BZ #2560]
36573 [BZ #5159]
36574 [BZ #15426]
36575 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36576 input to result for tgamma overflow.
36577 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36578 (gamma_coeff): New variable.
36579 (NCOEFF): New macro.
36580 (gamma_positive): New function.
36581 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36582 underflow here. Use gamma_positive instead of exp (lgamma) for
36583 other arguments.
36584 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36585 (gamma_coeff): New variable.
36586 (NCOEFF): New macro.
36587 (gammaf_positive): New function.
36588 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36589 underflow here. Use gamma_positive instead of exp (lgamma) for
36590 other arguments.
36591 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36592 (gamma_coeff): New variable.
36593 (NCOEFF): New macro.
36594 (gammal_positive): New function.
36595 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36596 underflow here. Use gamma_positive instead of exp (lgamma) for
36597 other arguments.
36598 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36599 (gamma_coeff): New variable.
36600 (NCOEFF): New macro.
36601 (gammal_positive): New function.
36602 (__ieee754_gammal_r): Handle positive infinity, overflow and
36603 underflow here. Handle NaN the same as positive infinity. Remove
36604 check x < 0xffffffff for negative integers. Use gamma_positive
36605 instead of exp (lgamma) for other arguments.
36606 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36607 (gamma_coeff): New variable.
36608 (NCOEFF): New macro.
36609 (gammal_positive): New function.
36610 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36611 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36612 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36613 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36614 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36615 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36616 * sysdeps/generic/math_private.h (__gamma_productf): New
36617 prototype.
36618 (__gamma_product): Likewise.
36619 (__gamma_productl): Likewise.
36620 * math/Makefile (libm-calls): Add gamma_product.
36621 * math/libm-test.inc (tgamma_test): Add more tests.
36622 * sysdeps/i386/fpu/libm-test-ulps: Update.
36623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36624
36625 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
36626
36627 * benchtests/bench-skeleton.c (main): Preheat CPU.
36628
36629 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
36630
36631 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36632
36633 2013-05-07 Roland McGrath <roland@hack.frob.com>
36634
36635 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36636 and _dl_skip_args_internal.
36637
36638 2013-05-07 Carlos O'Donell <carlos@redhat.com>
36639
36640 * manual/message.texi (Message Translation): Talk about users.
36641 Message to key mapping impacts design.
36642
36643 2013-05-06 Roland McGrath <roland@hack.frob.com>
36644
36645 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36646
36647 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36648
36649 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36650 * sysdeps/wordsize-64/glob64.c: ... here.
36651
36652 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36653 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36654 New macros.
36655
36656 * debug/getlogin_r_chk.c: Moved to ...
36657 * login/getlogin_r_chk.c: ... here.
36658 * debug/Makefile (routines): Move getlogin_r_chk to ...
36659 * login/Makefile (routines): ... here.
36660 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36661 * login/Versions (libc: GLIBC_2.4): ... here.
36662
36663 * io/poll.c (__poll): Renamed from poll.
36664 Add libc_hidden_def.
36665 (poll): Define as weak alias.
36666
36667 * debug/ptsname_r_chk.c: Moved to ...
36668 * login/ptsname_r_chk.c: ... here.
36669 * debug/Makefile (routines): Move ptsname_r_chk to ...
36670 * login/Makefile (routines): ... here.
36671 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36672 * login/Versions (libc: GLIBC_2.4): ... here.
36673
36674 * posix/getlogin.c: Moved to ...
36675 * login/getlogin.c: ... here.
36676 * posix/getlogin_r.c: Moved to ...
36677 * login/getlogin_r.c: ... here.
36678 * posix/getlogin_r.c: Moved to ...
36679 * login/getlogin_r.c: ... here.
36680 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36681 * login/Makefile (routines): ... here.
36682 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36683 * login/Versions (libc: GLIBC_2.0): ... here.
36684
36685 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36686 (setrlimit): Define as weak alias.
36687
36688 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36689 Call __ names for open, ftruncate, and close.
36690 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36691 (truncate): Define as weak alias.
36692
36693 2013-05-06 Joseph Myers <joseph@codesourcery.com>
36694
36695 * math/gen-libm-test.pl (parse_args): Initialize x before each
36696 test of frexp, modf and remquo.
36697
36698 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36699 test signgam value.
36700
36701 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36702
36703 [BZ #15418]
36704 [BZ #15419]
36705 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36706 internal tests.
36707 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36708
36709 2013-05-06 Roland McGrath <roland@hack.frob.com>
36710
36711 * elf/dl-writev.h: New file.
36712 * elf/dl-misc.c: Include it.
36713 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36714 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36715
36716 2013-05-04 Joseph Myers <joseph@codesourcery.com>
36717
36718 * math/libm-test.inc (noXFails): Remove variable.
36719 (noXPasses): Likewise.
36720 (BUILD_COMPLEX_INT): Remove macro.
36721 (print_screen): Remove xfail argument.
36722 (print_screen_max_error): Likewise.
36723 (update_stats): Likewise.
36724 (print_max_error): Likewise. Update calls to other affected
36725 functions.
36726 (print_complex_max_error): Likewise.
36727 (test_single_exception): Update calls to print_screen.
36728 (test_single_errno): Likewise.
36729 (check_float_internal): Remove xfail argument. Update calls to
36730 other affected functions.
36731 (check_float): Likewise.
36732 (check_complex): Likewise.
36733 (check_int): Likewise.
36734 (check_long): Likewise.
36735 (check_bool): Likewise.
36736 (check_longlong): Likewise.
36737 (main): Don't print noXFails and noXPasses.
36738 * math/gen-libm-test.pl (top level): Don't mention expected
36739 failure handling in comment.
36740 (new_test): Don't handle expected failures.
36741 (parse_args): Don't mention expected failure handling in comment.
36742 (generate_testfile): Don't handle expected failures.
36743 (parse_ulps): Likewise.
36744 (print_ulps_file): Likewise.
36745 (get_failure): Remove function.
36746 (output_test): Don't handle expected failures.
36747 * make/README.libm-test: Don't mention expected failure handling.
36748
36749 * math/libm-test.inc (plus_zero): Make const. Add initializer.
36750 (minus_zero): Likewise.
36751 (plus_infty): Likewise.
36752 (minus_infty): Likewise.
36753 (qnan_value): Likewise.
36754 (max_value): Likewise.
36755 (min_value): Likewise.
36756 (min_subnorm_value): Likewise.
36757 (initialize): Do not initialize those variables dynamically.
36758
36759 2013-05-03 Roland McGrath <roland@hack.frob.com>
36760
36761 * io/open.c (__open_2): Moved to ...
36762 * io/open_2.c: ... this new file.
36763 * io/open64.c (__open64_2): Moved to ...
36764 * io/open64_2.c: ... this new file.
36765 * io/openat.c (__openat_2): Moved to ...
36766 * io/openat_2.c: ... this new file.
36767 * io/openat64.c (__openat64_2): Moved to ...
36768 * io/openat64_2.c: ... this new file.
36769 * io/Makefile (routines): Add them.
36770 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36771 * sysdeps/unix/sysv/linux/open_2.c: File removed.
36772 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36773 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36774 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36775 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36776 (__openat64): Add hidden_ver.
36777 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36778 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36779
36780 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36781 Separately conditionalize setting of GLRO(dl_sysinfo) so
36782 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36783 as well, but the actual setting is only under [NEED_DL_SYSINFO].
36784
36785 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36786
36787 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36788 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36789 definition.
36790 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36791 * sysdeps/unix/sysv/linux/powerpc/init-first.c
36792 (_libc_vdso_platform_setup): Add __vdso_time initialization.
36793 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36794 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36795
36796 2013-05-03 Joseph Myers <joseph@codesourcery.com>
36797
36798 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36799 test signgam value.
36800
36801 * math/libm-test.inc (hypot_test): Do not use
36802 IGNORE_ZERO_INF_SIGN.
36803
36804 2013-05-03 Andreas Jaeger <aj@suse.de>
36805
36806 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36807 Linux 3.9.
36808 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36809 (PF_MAX): Adjust for VSOCK change.
36810
36811 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36812
36813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36814
36815 2013-05-02 Carlos O'Donell <carlos@redhat.com>
36816
36817 [BZ #15264]
36818 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36819 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36820 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36821
36822 2013-05-02 David S. Miller <davem@davemloft.net>
36823
36824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36825
36826 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
36827
36828 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36829
36830 2013-05-01 Roland McGrath <roland@hack.frob.com>
36831
36832 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36833
36834 2013-05-01 Richard Smith <richard@metafoo.co.uk>
36835
36836 [BZ #14952]
36837 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36838 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36839 Use __attribute__ ((__gnu_inline__)).
36840 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36841 Don't use __attribute__ ((__gnu_inline__)).
36842
36843 2013-05-01 Joseph Myers <joseph@codesourcery.com>
36844
36845 [BZ #15423]
36846 * math/s_catan.c (__catan): Handle small real or imaginary part of
36847 input specially to avoid spurious underflow.
36848 * math/s_catanf.c (__catanf): Likewise.
36849 * math/s_catanh.c (__catanh): Likewise.
36850 * math/s_catanhf.c (__catanhf): Likewise.
36851 * math/s_catanhl.c (__catanhl): Likewise.
36852 * math/s_catanl.c (__catanl): Likewise.
36853 * math/libm-test.inc (catan_test): Add more tests.
36854 (catanh_test): Likewise.
36855 * sysdeps/i386/fpu/libm-test-ulps: Update.
36856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36857
36858 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36859
36860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36861
36862 2013-04-30 Joseph Myers <joseph@codesourcery.com>
36863
36864 [BZ #15416]
36865 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36866 accurately for denominator in atan2.
36867 * math/s_catanf.c (__catanf): Likewise.
36868 * math/s_catanh.c (__catanh): Likewise.
36869 * math/s_catanhf.c (__catanhf): Likewise.
36870 * math/s_catanhl.c (__catanhl): Likewise.
36871 * math/s_catanl.c (__catanl): Likewise.
36872 * math/libm-test.inc (catan_test): Add more tests.
36873 (catanh_test): Likewise.
36874 * sysdeps/i386/fpu/libm-test-ulps: Update.
36875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36876
36877 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36878
36879 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36880
36881 * benchtests/Makefile (bench): Remove slow benchmarks.
36882 * benchtests/atan-inputs: Add slow benchmark inputs.
36883 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36884 (BENCH_FUNC): Accept variant offset.
36885 (VARIANT): Define.
36886 * benchtests/bench-skeleton.c (main): Run benchmark for each
36887 variant.
36888 * benchtests/cos-inputs: Add slow benchmark inputs.
36889 * benchtests/exp-inputs: Likewise.
36890 * benchtests/pow-inputs: Likewise.
36891 * benchtests/sin-inputs: Likewise.
36892 * benchtests/slowatan-inputs: Remove.
36893 * benchtests/slowatan.c: Remove.
36894 * benchtests/slowcos-inputs: Remove.
36895 * benchtests/slowcos.c: Remove.
36896 * benchtests/slowexp-inputs: Remove.
36897 * benchtests/slowexp.c: Remove.
36898 * benchtests/slowpow-inputs: Remove.
36899 * benchtests/slowpow.c: Remove.
36900 * benchtests/slowsin-inputs: Remove.
36901 * benchtests/slowsin.c: Remove.
36902 * benchtests/slowtan-inputs: Remove.
36903 * benchtests/slowtan.c: Remove.
36904 * benchtests/tan-inputs: Add slow benchmark inputs.
36905 * scripts/bench.pl: Parse comments and directives.
36906
36907 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
36908 in CPPFLAGS.
36909 ($(objpfx)bench-%.c): Remove *-ITER.
36910 * benchtests/bench-modf.c: Remove definition of ITER.
36911 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36912 (main): Loop for DURATION seconds instead of fixed number of
36913 iterations.
36914 * scripts/bench.pl: Don't expect iterations in parameters.
36915
36916 2013-04-29 Roland McGrath <roland@hack.frob.com>
36917
36918 * io/fchdir.c (__fchdir): Renamed from fchdir.
36919 (fchdir): Define as weak alias.
36920
36921 2013-04-29 Joseph Myers <joseph@codesourcery.com>
36922
36923 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36924 (ERRNO_EDOM): Likewise.
36925 (ERRNO_ERANGE): Likewise.
36926 (noErrnoTests): New variable.
36927 (init_max_error): Set errno to 0.
36928 (test_single_errno): New function.
36929 (test_errno): Likewise.
36930 (check_float_internal): Call test_errno. Set errno to 0.
36931 (check_complex): Refer to errno tests in comment.
36932 (check_int): Call test_errno. Set errno to 0.
36933 (check_long): Likewise.
36934 (check_bool): Likewise.
36935 (check_longlong): Likewise.
36936 (cos_test): Use ERRNO_* flags for errno tests instead of
36937 check_int.
36938 (expm1_test): Likewise.
36939 (fmod_test): Likewise.
36940 (ilogb_test): Likewise.
36941 (lgamma_test): Likewise.
36942 (pow_test): Likewise.
36943 (remainder_test): Likewise.
36944 (sin_test): Likewise.
36945 (tan_test): Likewise.
36946 (yn_test): Likewise.
36947 (initialize): Set errno to 0.
36948 (main): Print number of errno tests.
36949 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36950
36951 2013-04-29 Andreas Jaeger <aj@suse.de>
36952
36953 [BZ #15084]
36954 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36955 and RES_USEVC.
36956
36957 [BZ #15085]
36958 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36959 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36960 unimplemented.
36961
36962 [BZ #15380]
36963 * stdlib/random.c (__initstate): Return NULL if
36964 __initstate fails.
36965
36966 [BZ #15086]
36967 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36968 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36969 RES_SNGLKUPREOP.
36970
36971 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36972
36973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36974
36975 2013-04-29 Joseph Myers <joseph@codesourcery.com>
36976
36977 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36978 of individual tests.
36979 (casin_test): Likewise.
36980 (casinh_test): Likewise.
36981
36982 2013-04-27 Joseph Myers <joseph@codesourcery.com>
36983
36984 [BZ #15409]
36985 * math/s_catan.c (__catan): Handle arguments with large real or
36986 imaginary part separately without squaring.
36987 * math/s_catanf.c (__catanf): Likewise.
36988 * math/s_catanh.c (__catanh): Likewise.
36989 * math/s_catanhf.c (__catanhf): Likewise.
36990 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36991 and redefine.
36992 (__catanhl): Handle arguments with large real or imaginary part
36993 separately without squaring.
36994 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36995 and redefine.
36996 (__catanl): Handle arguments with large real or imaginary part
36997 separately without squaring.
36998 * math/libm-test.inc (catan_test): Add more tests.
36999 (catanh_test): Likewise.
37000 * sysdeps/i386/fpu/libm-test-ulps: Update.
37001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37002
37003 2013-04-27 Andreas Jaeger <aj@suse.de>
37004
37005 [BZ #15007]
37006 * stdlib/stdlib.h: Update guards for qecvt.
37007 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37008 <stdlib.h>.
37009
37010 2013-04-27 Allan McRae <allan@archlinux.org>
37011
37012 * sysdeps/i386/fpu/libm-test-ulps: Update.
37013
37014 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37015
37016 [BZ #15406]
37017 * math/s_catan.c: Include <float.h>.
37018 (__catan): Ensure underflow exception occurs for underflowed
37019 result.
37020 * math/s_catanf.c: Include <float.h>.
37021 (__catanf): Ensure underflow exception occurs for underflowed
37022 result.
37023 * math/s_catanh.c: Include <float.h>.
37024 (__catanh): Ensure underflow exception occurs for underflowed
37025 result.
37026 * math/s_catanhf.c: Include <float.h>.
37027 (__catanhf): Ensure underflow exception occurs for underflowed
37028 result.
37029 * math/s_catanhl.c: Include <float.h>.
37030 (__catanhl): Ensure underflow exception occurs for underflowed
37031 result.
37032 * math/s_catanl.c: Include <float.h>.
37033 (__catanl): Ensure underflow exception occurs for underflowed
37034 result.
37035 * math/libm-test.inc (catan_test): Add more tests.
37036 (catanh_test): Likewise.
37037
37038 [BZ #15405]
37039 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37040 underflowed result.
37041 * math/s_ccoshf.c (__ccoshf): Likewise.
37042 * math/s_ccoshl.c (__ccoshl): Likewise.
37043 * math/s_csin.c (__csin): Likewise.
37044 * math/s_csinf.c (__csinf): Likewise.
37045 * math/s_csinh.c (__csinh): Likewise.
37046 * math/s_csinhf.c (__csinhf): Likewise.
37047 * math/s_csinhl.c (__csinhl): Likewise.
37048 * math/s_csinl.c (__csinl): Likewise.
37049 * math/libm-test.inc (ccos_test): Add more tests.
37050 (ccosh_test): Likewise.
37051 (csin_test): Likewise.
37052 (csinh_test): Likewise.
37053
37054 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37055
37056 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37057 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37058 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37059 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37060 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37061 powerpc/power5+/fpu folders.
37062 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37063
37064
37065 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37066
37067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37068
37069 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37070
37071 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37072 additions to variable.
37073 [$(config-machine) = x86_64] (modules-names): Likewise.
37074 ($(objpfx)tst-audit3): Remove dependency.
37075 ($(objpfx)tst-audit3.out): Likewise.
37076 ($(objpfx)tst-audit4): Likewise.
37077 ($(objpfx)tst-audit4.out): Likewise.
37078 ($(objpfx)tst-audit5): Likewise.
37079 ($(objpfx)tst-audit5.out): Likewise.
37080 ($(objpfx)tst-audit6): Likewise.
37081 ($(objpfx)tst-audit6.out): Likewise.
37082 ($(objpfx)tst-audit7): Likewise.
37083 ($(objpfx)tst-audit7.out): Likewise.
37084 (tst-audit3-ENV): Remove variable.
37085 (tst-audit4-ENV): Likewise.
37086 (tst-audit5-ENV): Likewise.
37087 (tst-audit6-ENV): Likewise.
37088 (tst-audit7-ENV): Likewise.
37089 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37090 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37091 addition to variable.
37092 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37093 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37094 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37095 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37096 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37097 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37098 tst-audit3, tst-audit4 and tst-audit5.
37099 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37100 tst-audit6 and tst-audit7.
37101 [$(subdir) = elf] (modules-names): Add audit modules for those
37102 tests.
37103 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37104 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37105 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37106 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37107 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37108 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37109 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37110 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37111 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37112 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37113 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37114 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37115 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37116 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37117 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37118 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37119 Likewise.
37120 [$(subdir) = elf && $(config-cflags-avx) = yes]
37121 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37122 [$(subdir) = elf && $(config-cflags-avx) = yes]
37123 (CFLAGS-tst-auditmod4a.c): Likewise.
37124 [$(subdir) = elf && $(config-cflags-avx) = yes]
37125 (CFLAGS-tst-auditmod4b.c): Likewise.
37126 [$(subdir) = elf && $(config-cflags-avx) = yes]
37127 (CFLAGS-tst-auditmod6b.c): Likewise.
37128 [$(subdir) = elf && $(config-cflags-avx) = yes]
37129 (CFLAGS-tst-auditmod6c.c): Likewise.
37130 [$(subdir) = elf && $(config-cflags-avx) = yes]
37131 (CFLAGS-tst-auditmod7b.c): Likewise.
37132 * elf/tst-audit3.c: Move to ...
37133 * sysdeps/x86_64/tst-audit3.c: ... here.
37134 * elf/tst-audit4.c: Move to ...
37135 * sysdeps/x86_64/tst-audit4.c: ... here.
37136 * elf/tst-audit5.c: Move to ...
37137 * sysdeps/x86_64/tst-audit5.c: ... here.
37138 * elf/tst-audit6.c: Move to ...
37139 * sysdeps/x86_64/tst-audit6.c: ... here.
37140 * elf/tst-audit7.c: Move to ...
37141 * sysdeps/x86_64/tst-audit7.c: ... here.
37142 * elf/tst-auditmod3a.c: Move to ...
37143 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37144 * elf/tst-auditmod3b.c: Move to ...
37145 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37146 * elf/tst-auditmod4a.c: Move to ...
37147 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37148 * elf/tst-auditmod4b.c: Move to ...
37149 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37150 * elf/tst-auditmod5a.c: Move to ...
37151 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37152 * elf/tst-auditmod5b.c: Move to ...
37153 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37154 * elf/tst-auditmod6a.c: Move to ...
37155 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37156 * elf/tst-auditmod6b.c: Move to ...
37157 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37158 * elf/tst-auditmod6c.c: Move to ...
37159 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37160 * elf/tst-auditmod7a.c: Move to ...
37161 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37162 * elf/tst-auditmod7b.c: Move to ...
37163 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37164
37165 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37166
37167 [BZ #15366]
37168 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37169 define unconditionally.
37170 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37171 define unconditionally.
37172 (INT8_C, INT16_C, etc.): Likewise.
37173
37174 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37175
37176 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37177 __ehdr_start with hidden visibility.
37178
37179 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37180
37181 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37182
37183 * math/libm-test.inc (cos_test): Use accurate hex constants.
37184 (sincost_test): Likewise.
37185
37186 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37187
37188 * math/libm-test.inc (catan_test): Add more tests.
37189 (catanh_test): Likewise.
37190
37191 * math/s_catanf.c (__catanf): Use suffixed floating-point
37192 constants.
37193 * math/s_catanhf.c (__catanhf): Likewise.
37194 * math/s_catanhl.c (__catanhl): Likewise.
37195 * math/s_catanl.c (__catanl): Likewise.
37196
37197 [BZ #15394]
37198 * math/s_catan.c (__catan): Calculate imaginary part of result
37199 with log1p not log unless computing log of number close to 0.
37200 * math/s_catanf.c (__catanf): Likewise.
37201 * math/s_catanl.c (__catanl): Likewise.
37202 * math/s_catanh.c (__catanh): Calculate real part of result with
37203 log1p not log unless computing log of number close to 0.
37204 * math/s_catanhf.c (__catanhf): Likewise.
37205 * math/s_catanhl.c (__catanhl): Likewise.
37206 * math/libm-test.inc (catan_test): Add more tests.
37207 (catanh_test): Likewise.
37208 * sysdeps/i386/fpu/libm-test-ulps: Update.
37209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37210
37211 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37212
37213 * benchtests/Makefile: Mention files in which fast and slow
37214 paths of math functions are implemented.
37215
37216 2013-04-23 Roland McGrath <roland@hack.frob.com>
37217
37218 * sysdeps/posix/timespec_get.c: New file.
37219
37220 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37221
37222 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37223 POWER.
37224 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37225 for POWER.
37226 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37227 powerpc/power5/fpu folders.
37228 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37229 * benchtests/Makefile: Add modf testcase.
37230 * benchtests/bench-modf.c: New file: Benchmark test for mo
37231
37232 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37233
37234 [BZ #14888]
37235 * time/Makefile (tests): Add tst-strptime-whitespace.
37236 * time/strptime_l.c (get_number): Use ISSPACE.
37237 (__strptime_internal): Likewise.
37238 * time/tst-strptime-whitespace.c: New test case.
37239
37240 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37241
37242 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37243 member.
37244 (_nss_files_init): Set it here.
37245
37246 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37247
37248 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37249 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37250 unsigned.
37251
37252 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37253
37254 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37255
37256 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37257
37258 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37259 size just once.
37260
37261 2013-04-21 David S. Miller <davem@davemloft.net>
37262
37263 * po/ru.po: Update Russion translation from translation project.
37264
37265 2013-04-17 Adam Conrad <adconrad@0c3.net>
37266
37267 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37268 and setfsgid.
37269
37270 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37271
37272 * configure.in: Remove i386 configure warning. Remove i386 case.
37273 * configure: Regenerate.
37274 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37275 Add example to error message.
37276 * sysdeps/i386/configure: Regenerate.
37277
37278 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37279
37280 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37281 slowtan.
37282 * benchtests/cos-inputs: New file.
37283 * benchtests/slowcos-inputs: New file.
37284 * benchtests/slowcos.c: New file.
37285 * benchtests/slowtan-inputs: New file.
37286 * benchtests/slowtan.c: New file.
37287 * benchtests/tan-inputs: New file.
37288
37289 2013-04-16 Roland McGrath <roland@hack.frob.com>
37290
37291 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37292 considered kosher.
37293
37294 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37295
37296 * benchtests/Makefile: Include cppflags-iterator.mk to add
37297 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37298
37299 * Makefile.in (bench-clean): New target.
37300 * benchtests/Makefile (bench-clean): Likewise.
37301
37302 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37303
37304 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37305
37306 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37307
37308 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37309
37310 2013-04-15 Andreas Schwab <schwab@suse.de>
37311
37312 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37313 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37314 * nscd/pwdcache.c (cache_addpw): Likewise.
37315 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37316 more than recsize.
37317
37318 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37319
37320 * benchtests/Makefile (bench): Write all output to
37321 bench-out.tmp together.
37322
37323 2013-04-15 Andreas Schwab <schwab@suse.de>
37324
37325 * nscd/nscd.c (main): Don't fork again after closing files.
37326
37327 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37328
37329 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37330
37331 * benchtests/Rules (bench-deps): Collect dependencies into a
37332 single variable. Add Makefile to dependencies.
37333 ($(objpfx)bench-%.c): Depend on bench-deps.
37334
37335 2013-04-12 Roland McGrath <roland@hack.frob.com>
37336 Xavier Roche <roche+kml2@exalead.com>
37337
37338 [BZ #15361]
37339 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37340 just that it's a file descriptor.
37341 * manual/llio.texi (Synchronizing AIO Operations): Update description
37342 for EBADF error from aio_fsync.
37343
37344 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37345
37346 * Rules (bench): Move target definition...
37347 * benchtests/Makefile: ... here.
37348
37349 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37350
37351 * math/libm-test.inc (cos_test): Fix PI/2 test.
37352 (sincos_test): Likewise.
37353 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37354 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37355
37356 2013-04-11 Andreas Schwab <schwab@suse.de>
37357
37358 [BZ #13988]
37359 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37360 accept exponent character only when digits were seen.
37361 * stdio-common/Makefile (tests): Add bug26.
37362 * stdio-common/bug26.c: New file.
37363
37364 [BZ #14293]
37365 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37366 non-freeable.
37367
37368 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37369
37370 * Makeconfig (rtld-prefix): Define built linker prefix.
37371 * Rules (run-bench): Use it.
37372 * math/Makefile (run-regen-ulps): Likewise.
37373
37374 * Rules (bench): Remove eval.
37375
37376 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37377 Roland McGrath <roland@hack.frob.com>
37378 Ondrej Bilka <neleai@seznam.cz>
37379
37380 [BZ #15346]
37381 * time/getdate.c: Include ctype.h and alloca.h.
37382 (__getdate_r): Trim leading and trailing spaces of input.
37383 * time/tst-getdate.c (tests): Add tests with leading and
37384 trailing spaces.
37385
37386 2013-04-08 Roland McGrath <roland@hack.frob.com>
37387
37388 [BZ #14280]
37389 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37390 when computing value.
37391
37392 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37393
37394 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37395 Use testrun.sh to run libm tests.
37396
37397 [BZ #15309]
37398 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37399
37400 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37401
37402 [BZ #15264]
37403 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37404
37405 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37406
37407 * Makefile.in (regen-ulps): New target.
37408 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37409 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37410 [ifneq (no,$(PERL)] (regen-ulps): New target.
37411 [ifeq (no,$(PERL)] (regen-ulps): New target.
37412 * math/libm-test.inc (ulps_file_name): Define.
37413 (output_dir): New variable.
37414 (options): Add "output-dir" option.
37415 (parse_opt): Handle 'o' case.
37416 (main): If output_dir is non-NULL use it as a prefix
37417 otherwise use "".
37418 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37419
37420 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37421
37422 [BZ #10060, #10062]
37423 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37424 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37425 fail configure if __sync_val_compare_and_swap is not inlined.
37426 * sysdeps/i386/configure: Regenerate.
37427 * configure.in: Build for i686 when configured for i386.
37428 * configure: Regenerate.
37429 * README: Remove i386 reference.
37430
37431 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37432
37433 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37434 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37435
37436 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37437
37438 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37439 (lmsnanval): New variables.
37440 (F): Add conversion tests.
37441 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37442 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37443
37444 * stdio-common/tstdiomisc.c (F): Properly collect individual
37445 tests' results.
37446
37447 [BZ #14686, #15336]
37448 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37449 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37450 Instead, use input NaN values or generate a qNaN by arithmetic
37451 operation. Also fix bugs to comply with the standard.
37452 * math/libm-test.inc (remainder_test): Add more tests.
37453
37454 [BZ #15335, #15342]
37455 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37456 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37457 input NaN values or generate a qNaN by arithmetic operation.
37458
37459 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37460 unreachable code.
37461
37462 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37463 definitions.
37464
37465 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37466
37467 [BZ #14478]
37468 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37469 underflowed result.
37470 * math/s_cexpf.c (__cexpf): Likewise.
37471 * math/s_cexpl.c (__cexpl): Likewise.
37472 * math/libm-test.inc (cexp_test): Add more tests.
37473
37474 2013-04-03 Andreas Schwab <schwab@suse.de>
37475
37476 [BZ #15330]
37477 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37478 order arrays from heap if bigger than alloca cutoff.
37479
37480 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37481
37482 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37483 (SNAN_TESTS_double): Refer to GCC PR56831.
37484 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37485 GCC PR56828.
37486
37487 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37488
37489 * Rules (bench): Move bench.out after the run is complete.
37490
37491 * Rules (bench): Echo currently running benchmark.
37492
37493 * benchtests/Makefile (bench): Add atan and slowatan.
37494 * benchtests/atan-inputs: New file.
37495 * benchtests/slowatan-inputs: New file.
37496 * benchtests/slowatan.c: New file.
37497
37498 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37499 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37500 its value.
37501
37502 [BZ #15305]
37503 * sysdeps/unix/sysv/linux/kernel-features.h
37504 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37505 __ASSUME_XFS_RESTRICTED_CHOWN.
37506 * sysdeps/unix/sysv/linux/pathconf.c
37507 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37508 Save and restore errno.
37509
37510 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37511
37512 [BZ #15327]
37513 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37514 arguments using __kernel_casinh.
37515 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37516 arguments using __kernel_casinhf.
37517 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37518 arguments using __kernel_casinhl.
37519 * math/libm-test.inc (cacosh_test): Add more tests.
37520 * sysdeps/i386/fpu/libm-test-ulps: Update.
37521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37522
37523 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37524
37525 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37526 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37527
37528 * bench/Makefile (bench): Add sin and slowsin.
37529 * benchtests/sin-inputs: New file.
37530 * benchtests/slowsin-inputs: New file.
37531 * benchtests/slowsin.c: New file.
37532
37533 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37534 (bench): Add slowexp and slowpow.
37535 (exp-ITER): Increase iterations.
37536 (pow-ITER): Likewise.
37537 * benchtests/exp-inputs: Change input.
37538 * benchtests/pow-inputs: Likewise.
37539 * benchtests/slowexp-inputs: New file.
37540 * benchtests/slowexp.c: New file.
37541 * benchtests/slowpow-inputs: New file.
37542 * benchtests/slowpow.c: New file.
37543
37544 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37545
37546 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37547 instructions.
37548 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37549 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37550 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37551 * benchtests/Makefile: Add rint benchtest.
37552 * benchtests/rint-inputs: Input for rint benchtest.
37553
37554 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
37555
37556 * Versions.def (libm): Add GLIBC_2.18.
37557 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37558 hidden libm prototypes.
37559 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37560 * math/Makefile (libm-calls): Add s_issignaling.
37561 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37562 __issignalingf, __issignalingl. Adjust all libm.abilist files.
37563 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37564 declaration.
37565 * math/math.h [__USE_GNU] (issignaling): New macro.
37566 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37567 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37568 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37569 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37570 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37571 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37572 * manual/arith.texi (issignaling): New section.
37573 * manual/libm-err-tab.pl (@all_functions): Update comment.
37574 * math/gen-libm-test.pl (parse_args): Apply special handling for
37575 issignaling.
37576 * math/libm-test.inc (print_float, issignaling_test): New
37577 functions.
37578 (check_float_internal): Add issignaling checks.
37579 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37580 default definition.
37581 * sysdeps/powerpc/math-tests.h: New file.
37582 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37583 tests.
37584 * math/test-snan.c (TEST_FUNC): Likewise.
37585
37586 2013-03-30 David S. Miller <davem@davemloft.net>
37587
37588 * po/de.po: Update from translation team.
37589
37590 2013-03-30 Joseph Myers <joseph@codesourcery.com>
37591
37592 [BZ #10357]
37593 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37594 imaginary part less than 1.0 and real part less than 0.5
37595 specially.
37596 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37597 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37598 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37599 (cacos_test): Add more tests.
37600 (casin_test): Likewise.
37601 (casinh_test): Likewise.
37602 * sysdeps/i386/fpu/libm-test-ulps: Update.
37603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37604
37605 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37606
37607 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37608 ONE with its value.
37609
37610 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37611 (__pow_mp): Replace ONE and MONE with their values.
37612 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37613 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37614 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37615 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37616 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37617 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37618
37619 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37620
37621 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37622 (__pow_mp): Replace ZERO and MZERO with their values.
37623 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37624 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37625 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37626 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37627 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37628 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37629 (__sqr): Likewise.
37630
37631 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37632
37633 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37634
37635 2013-03-28 Roland McGrath <roland@hack.frob.com>
37636
37637 * include/stdlib.h [!SHARED] (__call_tls_dtors):
37638 Declare with __attribute__ ((weak)).
37639 * stdlib/exit.c (__libc_atexit) [!SHARED]:
37640 Call __call_tls_dtors only if it's not NULL.
37641
37642 2013-03-28 Roland McGrath <roland@hack.frob.com>
37643
37644 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37645 didn't do it already, then set _dl_phdr and _dl_phnum based on the
37646 magic __ehdr_start linker symbol if it's defined.
37647 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37648 them up here if it was already done.
37649
37650 * elf/dl-support.c (_dl_phdr): Make pointer to const.
37651 (_dl_aux_init): Use const in cast when setting it.
37652 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37653 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37654 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37655
37656 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37657 Declare them here.
37658 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37659 * csu/libc-tls.c: Nor here.
37660 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37661
37662 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37663 (__libc_message): Never call vsyslog.
37664
37665 2013-03-28 Alan Modra <amodra@gmail.com>
37666
37667 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37668 Define as empty.
37669 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37670 Likewise.
37671
37672 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37673
37674 [BZ #15214]
37675 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37676 underflow.
37677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37678
37679 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37680
37681 [BZ #15304]
37682 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37683 Don't add gid passed as argument.
37684
37685 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37686
37687 2013-03-27 Joseph Myers <joseph@codesourcery.com>
37688
37689 [BZ #15307]
37690 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37691 imaginary part between 1.0 and 1.5 and real part less than 0.5
37692 specially.
37693 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37694 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37695 * math/libm-test.inc (cacos_test): Add more tests.
37696 (casin_test): Likewise.
37697 (casinh_test): Likewise.
37698 * sysdeps/i386/fpu/libm-test-ulps: Update.
37699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37700
37701 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37702
37703 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37704 constants.
37705 (norm): Likewise.
37706 (denorm): Likewise.
37707 (__dbl_mp): Likewise.
37708 (add_magnitudes): Likewise.
37709 (sub_magnitudes): Likewise.
37710 (__add): Likewise.
37711 (__sub): Likewise.
37712 (__mul): Likewise.
37713 (__sqr): Likewise.
37714 (__inv): Likewise.
37715 (__dvd): Likewise.
37716
37717 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37718 commented code.
37719 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37720 (__dubcos): Likewise.
37721 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37722 (__ieee754_acos): Likewise.
37723 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37724 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37725 (__exp1): Likewise.
37726 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37727 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37728 (log1): Likewise.
37729 (my_log2): Likewise.
37730 (checkint): Likewise.
37731 * sysdeps/ieee754/dbl-64/e_remainder.c
37732 (__ieee754_remainder): Likewise.
37733 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37734 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37735 (bsloww): Likewise.
37736 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37737
37738 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37739 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37740 MANTISSA_STORE_T to store computations on mantissa. Use
37741 macros for rounding and division.
37742 (denorm): Likewise.
37743 (__dbl_mp): Likewise.
37744 (add_magnitudes): Likewise.
37745 (sub_magnitudes): Likewise.
37746 (__mul): Likewise.
37747 (__sqr): Likewise.
37748 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
37749 powers of two in terms of TWOPOW macro.
37750 (mp_no): Make type of mantissa as MANTISSA_T.
37751 [!RADIXI]: Define RADIXI.
37752 [!TWO52]: Define TWO52.
37753 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37754
37755 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37756
37757 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37758 llroundl symbol when building for PPC32.
37759
37760 2013-03-24 Mark H Weaver <mhw@netris.org>
37761
37762 * manual/arith.texi (Normalization Functions): Fix prototypes for
37763 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37764
37765 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37766
37767 [BZ #13889]
37768 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37769 high value to check if expl overflow.
37770 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37771 to check for underflow and overflow.
37772 * math/libm-test.inc: Add exp test.
37773
37774 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
37775
37776 [BZ #11120]
37777 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37778 with NOT_IN_libc.
37779
37780 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37781
37782 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37783 symbol.
37784
37785 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
37786
37787 * math/gen-libm-test.pl (parse_args, special_functions): Properly
37788 wrap blocks consisting of several statements.
37789
37790 * sysdeps/generic/math-tests.h: New file.
37791 * sysdeps/i386/fpu/math-tests.h: Likewise.
37792 * math/test-snan.c: Include it.
37793 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37794
37795 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37796
37797 [BZ #15285]
37798 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37799 (__ieee754_j0l): Do not improve calculations using cos of twice
37800 input for inputs above LDBL_MAX / 2.0L.
37801 (__ieee754_y0l): Likewise.
37802 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37803 (__ieee754_j1l): Do not improve calculations using cos of twice
37804 input for inputs above LDBL_MAX / 2.0L.
37805 (__ieee754_y1l): Likewise.
37806 * math/libm-test.inc (j0_test): Add another test.
37807 (j1_test): Likewise.
37808 (y0_test): Likewise.
37809 (y1_test): Likewise.
37810 * sysdeps/i386/fpu/libm-test-ulps: Update.
37811
37812 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37813
37814 * Rules ($(objpfx)bench-%.c): Include code from a C source
37815 file.
37816
37817 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37818
37819 [BZ #15287]
37820 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37821 imaginary part 1.0 and real part less than 0.5 specially.
37822 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37823 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37824 * math/libm-test.inc (cacos_test): Add more tests.
37825 (casin_test): Likewise.
37826 (casinh_test): Likewise.
37827 * sysdeps/i386/fpu/libm-test-ulps: Update.
37828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37829
37830 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37831
37832 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37833 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37834
37835 2013-03-20 Joseph Myers <joseph@codesourcery.com>
37836
37837 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37838 * config.make.in (config-cflags-sse4): Remove variable.
37839 (config-cflags-avx): Likewise.
37840 (config-cflags-sse2avx): Likewise.
37841 (config-cflags-novzeroupper): Likewise.
37842 (config-asflags-i686): Likewise.
37843 (have-mfma4): Likewise.
37844 (have-as-vis3): Likewise.
37845 (MIG): Likewise.
37846 * configure.in (MIG): Do not AC_SUBST.
37847 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37848 (libc_cv_cc_sse4): Do not AC_SUBST.
37849 (libc_cv_cc_avx): Likewise.
37850 (libc_cv_cc_sse2avx): Likewise.
37851 (libc_cv_cc_novzeroupper): Likewise.
37852 (libc_cv_cc_fma4): Likewise.
37853 (libc_cv_as_i686): Likewise.
37854 (libc_cv_sparc_as_vis3): Likewise.
37855 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37856 LIBC_CONFIG_VAR.
37857 (config-asflags-i686): Likewise.
37858 (config-cflags-avx): Likewise.
37859 (config-cflags-sse2avx): Likewise.
37860 (have-mfma4): Likewise.
37861 (config-cflags-novzeroupper): Likewise.
37862 * sysdeps/mach/configure.in (MIG): Likewise.
37863 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37864 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37865 LIBC_CONFIG_VAR.
37866 (config-cflags-avx): Likewise.
37867 (config-cflags-sse2avx): Likewise.
37868 (have-mfma4): Likewise.
37869 (config-cflags-novzeroupper): Likewise.
37870 * configure: Regenerated.
37871 * sysdeps/i386/configure: Likewise.
37872 * sysdeps/mach/configure: Likewise.
37873 * sysdeps/sparc/configure: Likewise.
37874 * sysdeps/x86_64/configure: Likewise.
37875
37876 2013-03-20 Roland McGrath <roland@hack.frob.com>
37877
37878 [BZ #14812]
37879 * locale/programs/localedef.c (options): Put N_ translation marker
37880 on argument names, not just descriptions.
37881
37882 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37883
37884 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37885
37886 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
37887
37888 [BZ #14176]
37889 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37890
37891 2013-03-19 Roland McGrath <roland@hack.frob.com>
37892
37893 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37894 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37895 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37896 [!BEFORE_ABORT] (before_abort): New function.
37897 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37898 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37899 (writev_for_fatal): New function.
37900 (WRITEV_FOR_FATAL): New macro; call that.
37901 (backtrace_and_maps): New function.
37902 (BEFORE_ABORT): New macro; call that.
37903 (struct str_list): Type removed.
37904 (__libc_message, __libc_fatal): Functions removed.
37905 Include <sysdeps/posix/libc_fatal.c> instead.
37906
37907 2013-03-19 Joseph Myers <joseph@codesourcery.com>
37908
37909 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37910 constants.
37911 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37912 double constants.
37913
37914 2013-03-19 Andreas Schwab <schwab@suse.de>
37915
37916 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37917 * sysdeps/gnu/configure: Regenerate.
37918
37919 * configure.in: Substitute libc_cv_rtlddir.
37920 * configure: Regenerate.
37921 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37922 * Makeconfig (rtlddir, inst_rtlddir): New variables.
37923 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37924 * elf/Makefile (install-others, CFLAGS-interp.c)
37925 (ldso_install, common-ldd-rewrite): Likewise.
37926 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37927 $(inst_slibdir)/$(rtld-installed-name).
37928 * scripts/rellns-sh: Add -p option.
37929 * Makerules (make-shlib-link): Use rellns-sh to get relative name
37930 for source.
37931
37932 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37933
37934 * manual/nptl.texi: Renamed to ...
37935 * manual/threads.texi: ... this.
37936 * manual/Makefile (chapters): Update.
37937
37938 2013-03-18 Roland McGrath <roland@hack.frob.com>
37939
37940 [BZ #14812]
37941 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37942 on argument names, not just descriptions.
37943 * malloc/memusagestat.c (options): Likewise.
37944 * nss/getent.c (options): Likewise.
37945
37946 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
37947
37948 [BZ #14812]
37949 * iconv/iconv_prog.c (options): Put N_ translation marker
37950 on argument names, not just descriptions.
37951 * iconv/iconvconfig.c (options): Likewise.
37952
37953 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
37954
37955 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37956 implementation which is faster on all x86_64 architectures.
37957 Tested on AMD, Intel Nehalem, SNB, IVB.
37958 * sysdeps/x86_64/strnlen.S: Likewise.
37959
37960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37961 Remove all multiarch strlen and strnlen versions.
37962 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37963 Remove strlen and strnlen related parts.
37964
37965 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37966 Inline strlen part.
37967 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37968
37969 * sysdeps/x86_64/multiarch/strlen.S: Remove.
37970 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37971 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37972 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37973 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37974 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37975
37976 2013-03-17 Carlos O'Donell <carlos@redhat.com>
37977
37978 * manual/memory.texi (Malloc Tunable Parameters):
37979 Sort parameters alphabetically. Add comments for missing entries.
37980
37981 2013-03-17 David S. Miller <davem@davemloft.net>
37982
37983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37984
37985 2013-03-16 Joseph Myers <joseph@codesourcery.com>
37986
37987 [BZ #15283]
37988 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37989 for arguments at most half maximum finite value.
37990 * math/libm-test.inc (j0_test): Add more tests.
37991 (j1_test): Likewise.
37992 (y0_test): Likewise.
37993 (y1_test): Likewise.
37994 * sysdeps/i386/fpu/libm-test-ulps: Update.
37995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37996
37997 [BZ #14155]
37998 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37999 1 / x and functions P and Q for arguments above 0x1p256L.
38000 (__ieee754_y0l): Likewise.
38001 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38002 (__ieee754_y1l): Likewise.
38003 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38004 (j1_test): Likewise.
38005 (y0_test): Likewise.
38006 (y1_test): Likewise.
38007
38008 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38009
38010 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38011 variable.
38012
38013 2013-03-15 Roland McGrath <roland@hack.frob.com>
38014
38015 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38016 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38017 zero since it's initialized to EXEC_PAGESIZE.
38018
38019 * sysdeps/unix/sysv/linux/ldsodefs.h
38020 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38021 * sysdeps/generic/ldsodefs.h: ... here.
38022
38023 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38024
38025 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38026
38027 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38028 math/test-snan.c.
38029 * math/test-snan.c: Renamed from
38030 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38031 * math/Makefile (tests): Add test-snan.
38032 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38033 test-powerpc-snan.
38034
38035 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38036 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38037 functions.
38038 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38039 __builtin_nan family of functions.
38040 * math/libm-test.inc (initialize): Initialize qnan_value with
38041 __builtin_nan family of functions.
38042 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38043 Remove variables.
38044 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38045 Remove functions.
38046 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38047 storage class. Initialize qNaN_var and sNaN_var with
38048 __builtin_nan and __builtin_nans families of functions,
38049 respectively.
38050
38051 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38052 (sqrt_test): Remove duplicate test with qNaN input.
38053 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38054 (round_test, signbit_test, significand_test): Note missing +/-Inf
38055 as well as qNaN tests.
38056
38057 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38058 qNaN_var. Fix a few strings, too.
38059 * math/libm-test.inc (nan_value): Rename to qnan_value.
38060 * math/gen-libm-test.pl (%beautify): Adjust to that.
38061 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38062 * math/test-misc.c (main): Likewise.
38063 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38064 to __qnan_bytes, and __qnan_union, respectively.
38065 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38066 Likewise.
38067 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38068 and lqnanval, respectively.
38069 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38070 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38071 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38072 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38073
38074 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38075 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38076 doubles.
38077
38078 * math/test-misc.c (main): Fix copy'n'pastos.
38079 * misc/tst-efgcvt.c (special): Likewise.
38080
38081 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38082 Remove declarations.
38083
38084 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38085
38086 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38087 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38088 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38089 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38090
38091 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38092
38093 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38094 macro to return vdso values correctly in IFUNC implementations.
38095 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38096 Optimization by using IFUNC.
38097
38098 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38099 Richard Henderson <rth@redhat.com>
38100 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38101
38102 * Makefile.in (bench): New target.
38103 * NEWS: Mention the benchmark framework.
38104 * Rules (bench): Likewise.
38105 (binaries-bench): Generate binaries for functions to
38106 benchmark.
38107 * benchtests/Makefile: New makefile for benchmark tests.
38108 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38109 programs.
38110 * benchtests/exp-inputs: New input file for EXP function.
38111 * benchtests/pow-inputs: New input file for POW function.
38112 * scripts/bench.pl: New script to generate source files for
38113 benchmark programs.
38114
38115 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38116
38117 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38118 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38119 computations on mantissa. Use macros for rounding and
38120 division.
38121 (denorm): Likewise.
38122 (__dbl_mp): Likewise.
38123 (add_magnitudes): Likewise.
38124 (sub_magnitudes): Likewise.
38125 (__mul): Likewise.
38126 (__sqr): Likewise.
38127 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38128 powers of two in terms of TWOPOW macro.
38129 (mp_no): Make type of mantissa as MANTISSA_T.
38130 [!RADIXI]: Define RADIXI.
38131 [!TWO52]: Define TWO52.
38132 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38133
38134 * manual/nptl.texi (cindex): Modify threads to pthreads.
38135
38136 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38137
38138 * sysdeps/x86_64/preconfigure: Regenerated.
38139
38140 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38141
38142 [BZ #14155]
38143 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38144 0x1p28 and above.
38145 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38146 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38147 0x1p28 and above.
38148 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38149 * math/libm-test.inc (j0_test): Do not allow one spurious
38150 underflow exception.
38151 (y1_test): Likewise.
38152
38153 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38154
38155 * manual/Makefile (chapters): Add nptl.
38156 * manual/debug.texi (Debugging Support): Add link to Threads
38157 chapter.
38158 * manual/nptl.texi: New file.
38159
38160 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38161
38162 2013-03-14 Petr Baudis <pasky@ucw.cz>
38163
38164 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38165 for non-NULL pointer before the memory validity test. Pointed
38166 out by Holger Brunck <holger.brunck@keymile.com>.
38167
38168 2013-03-13 Andreas Schwab <schwab@suse.de>
38169
38170 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38171 instead of .os.
38172
38173 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38174
38175 * timezone/zic.c: Update from tzcode 2013b.
38176
38177 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38178
38179 * manual/install.texi (Configuring and compiling):
38180 Mention i686 and i586.
38181 * INSTALL: Regenerate.
38182
38183 2013-03-12 Roland McGrath <roland@hack.frob.com>
38184
38185 * sysdeps/init_array/elf-init.c: New file.
38186 * csu/elf-init.c
38187 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38188 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38189
38190 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38191 __gmon_start__ as global, but as static with a .preinit_array pointer.
38192 * sysdeps/init_array/gmon-start.c: New file. Use that.
38193 * sysdeps/init_array/crti.S: New file, empty except for comments.
38194 * sysdeps/init_array/crtn.S: Likewise.
38195
38196 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38197
38198 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38199 definining bcopy.
38200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38201 Remove Prefer_SSE_for_memop.
38202 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38203 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38204 HAS_PREFER_SSE_FOR_MEMOP.
38205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38206 memset-x86-64.
38207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38208 Remove bzero, memset ifunc support.
38209 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38210 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38211 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38212 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38213
38214 2013-03-11 Andreas Schwab <schwab@suse.de>
38215
38216 [BZ #15234]
38217 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38218 by SHLIB_COMPAT.
38219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38220 (GLIBC_2.16): Remove pthread_atfork.
38221
38222 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38223
38224 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38225 (ptestcases.h): Likewise.
38226
38227 2013-03-08 Roland McGrath <roland@hack.frob.com>
38228
38229 * Makeconfig ($(common-objpfx)config.status): Depend on
38230 sysdeps/*/preconfigure{,.in} too.
38231
38232 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38233
38234 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38235 (__free_hook): Use void * instead of __malloc_ptr_t.
38236 (__malloc_hook): Likewise.
38237 (__realloc_hook): Likewise.
38238 (__memalign_hook): Likewise.
38239 (__after_morecore_hook): Likewise.
38240 * malloc/arena.c (save_malloc_hook): Likewise.
38241 (save_free_hook): Likewise.
38242 * malloc/hooks.c (malloc_hook_ini): Likewise.
38243 (realloc_hook_ini): Likewise.
38244 (memalign_hook_ini): Likewise.
38245 * malloc/malloc.c (malloc_hook_ini): Likewise.
38246 (realloc_hook_ini): Likewise.
38247 (memalign_hook_ini): Likewise.
38248 (__free_hook): Likewise.
38249 (__malloc_hook): Likewise.
38250 (__realloc_hook): Likewise.
38251 (__memalign_hook): Likewise.
38252 (__libc_malloc): Likewise.
38253 (__libc_free): Likewise.
38254 (__libc_realloc): Likewise.
38255 (__libc_memalign): Likewise.
38256 (__libc_valloc): Likewise.
38257 (__libc_pvalloc): Likewise.
38258 (__libc_calloc): Likewise.
38259 (__posix_memalign): Likewise.
38260 * malloc/morecore.c (__sbrk): Likewise.
38261 (__default_morecore): Likewise.
38262
38263 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38264
38265 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38266 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38267 __malloc_ptrdiff_t.
38268
38269 * malloc/malloc.h (__malloc_size_t): Remove macro.
38270 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38271 __malloc_size_t.
38272 (old_memalign_hook): Likewise.
38273 (old_realloc_hook): Likewise.
38274 (struct hdr): Likewise.
38275 (flood): Likewise.
38276 (mallochook): Likewise.
38277 (memalignhook): Likewise.
38278 (reallochook): Likewise.
38279 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38280 (tr_old_realloc_hook): Likewise.
38281 (tr_old_memalign_hook): Likewise.
38282 (tr_mallochook): Likewise.
38283 (tr_reallochook): Likewise.
38284 (tr_memalignhook): Likewise.
38285
38286 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38287
38288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38289 default_ldbl_pack and using as default implementation.
38290 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38291 implementation.
38292 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38293 redundant definition.
38294 (ldbl_insert_mantissa): Likewise.
38295 (ldbl_canonicalize): Likewise.
38296 (ldbl_nearbyint): Likewise.
38297 (ldbl_pack): Rename to ldbl_pack_ppc.
38298 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38299 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38300 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38301
38302 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38303
38304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38305 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38306 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38307 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38309 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38310 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38311 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38312
38313 2013-03-07 Andreas Jaeger <aj@suse.de>
38314
38315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38316 bits/mman-linux.h.
38317
38318 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38319
38320 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38321 Include mpa.h and declare __MPEXP.
38322 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38323 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38324 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38325 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38326 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38327 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38328 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38329
38330 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38331 (__slowpow): Use long double EXPL and LOGL functions to
38332 compute POW.
38333 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38334 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38335 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38336 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38337 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38338 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38339
38340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38341 intermediate variable to calculate exponent.
38342 (__sqr): Likewise.
38343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38344 Likewise.
38345 (__sqr): Likewise.
38346
38347 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38348 [!NO__SQR]: Define __sqr.
38349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38350 and NO__SQR. Remove all code except __mul and __sqr. Include
38351 sysdeps/ieee754/dbl-64/mpa.c.
38352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38353
38354 [BZ #12723]
38355 * posix/Makefile (tests): Add tst-pathconf.
38356 * posix/tst-pathconf.c: New test case.
38357 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38358 _PC_PIPE_BUF.
38359 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38360
38361 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38362
38363 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38364
38365 2013-03-06 Andreas Jaeger <aj@suse.de>
38366
38367 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38368 definition via __MAP_ANONYMOUS.
38369
38370 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38371 it's not part of Linux headers.
38372
38373 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38374 (MAP_HUGE_MASK): Define.
38375
38376 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38377 Define.
38378 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38379 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38380 Define.
38381 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38382 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38383 Define.
38384 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38385 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38386 Define.
38387 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38388
38389 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38390 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38391 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38392 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38393 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38394 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38395
38396 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38397 Handle f2fs.
38398
38399 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38400 Handle f2fs and efivarfs.
38401
38402 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38403 f2fs.
38404
38405 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38406 (EFIVARFS_MAGIC): Add.
38407 (F2FS_LINK_MAX): Add.
38408
38409 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38410
38411 * stdio-common/vfprintf.c: Replace __builtin_expect with
38412 __glibc_unlikely.
38413
38414 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38415
38416 [BZ #13550]
38417 * sysdeps/generic/bp-sym.h: Remove file.
38418 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38419 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38420 <bp-sym.h> and <bp-asm.h>.
38421 (__longjmp): Don't use BP_SYM.
38422 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38423 and <bp-asm.h>.
38424 (memcpy): Don't use BP_SYM.
38425 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38426 <bp-sym.h> and <bp-asm.h>.
38427 (memcpy): Don't use BP_SYM.
38428 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38429 <bp-asm.h>.
38430 (memcpy): Don't use BP_SYM.
38431 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38432 <bp-asm.h>.
38433 (memset): Don't use BP_SYM.
38434 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38435 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38436 (__bzero): Don't use BP_SYM.
38437 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38438 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38439 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38440 <bp-sym.h> and <bp-asm.h>.
38441 (memcmp): Don't use BP_SYM. Remove comment about bounded
38442 pointers.
38443 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38444 <bp-sym.h> and <bp-asm.h>.
38445 (memcpy): Don't use BP_SYM.
38446 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38447 <bp-sym.h> and <bp-asm.h>.
38448 (memset): Don't use BP_SYM.
38449 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38450 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38451 (__bzero): Don't use BP_SYM.
38452 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38453 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38454 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38455 <bp-sym.h> and <bp-asm.h>.
38456 (strncmp): Don't use BP_SYM. Remove comment about bounded
38457 pointers.
38458 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38459 <bp-sym.h> and <bp-asm.h>.
38460 (memcpy): Don't use BP_SYM.
38461 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38462 <bp-sym.h> and <bp-asm.h>.
38463 (memset): Don't use BP_SYM.
38464 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38465 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38466 (__bzero): Don't use BP_SYM.
38467 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38468 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38469 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38470 <bp-sym.h> and <bp-asm.h>.
38471 (__memchr): Don't use BP_SYM.
38472 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38473 <bp-sym.h> and <bp-asm.h>.
38474 (memcmp): Don't use BP_SYM. Remove comment about bounded
38475 pointers.
38476 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38477 <bp-sym.h> and <bp-asm.h>.
38478 (memcpy): Don't use BP_SYM.
38479 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38480 <bp-sym.h> and <bp-asm.h>.
38481 (__mempcpy): Don't use BP_SYM.
38482 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38483 <bp-sym.h> and <bp-asm.h>.
38484 (__memrchr): Don't use BP_SYM.
38485 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38486 <bp-sym.h> and <bp-asm.h>.
38487 (memset): Don't use BP_SYM.
38488 (__bzero): Likewise.
38489 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38490 <bp-sym.h> and <bp-asm.h>.
38491 (__rawmemchr): Don't use BP_SYM.
38492 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38493 <bp-sym.h> and <bp-asm.h>.
38494 (__STRCMP): Don't use BP_SYM.
38495 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38496 <bp-sym.h> and <bp-asm.h>.
38497 (strchr): Don't use BP_SYM.
38498 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38499 <bp-sym.h> and <bp-asm.h>.
38500 (__strchrnul): Don't use BP_SYM.
38501 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38502 <bp-sym.h> and <bp-asm.h>.
38503 (strlen): Don't use BP_SYM.
38504 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38505 <bp-sym.h> and <bp-asm.h>.
38506 (strncmp): Don't use BP_SYM. Remove comment about bounded
38507 pointers.
38508 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38509 <bp-sym.h> and <bp-asm.h>.
38510 (__strnlen): Don't use BP_SYM.
38511 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38512 <bp-sym.h> and <bp-asm.h>.
38513 (__GI__setjmp): Don't use BP_SYM.
38514 (_setjmp): Likewise.
38515 (__sigsetjmp): Likewise.
38516 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38517 (L(start_addresses)): Don't use BP_SYM.
38518 (_start): Likewise.
38519 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38520 <bp-asm.h>.
38521 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38522 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38523 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38524 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38525 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38526 <bp-asm.h>.
38527 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38528 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
38529 about bounded pointers.
38530 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38531 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38532 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38533 <bp-asm.h>.
38534 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38535 about bounded pointers. Remove GKM FIXME comments.
38536 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38537 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38538 <bp-asm.h>.
38539 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38540 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
38541 Remove GKM FIXME comments.
38542 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38543 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38544 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38545 <bp-asm.h>.
38546 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38547 about bounded pointers. Remove GKM FIXME comment.
38548 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38549 and <bp-asm.h>.
38550 (strncmp): Don't use BP_SYM. Remove comment about bounded
38551 pointers.
38552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38553 <bp-sym.h> and <bp-asm.h>.
38554 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38556 <bp-sym.h> and <bp-asm.h>.
38557 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38558 comment.
38559
38560 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38561
38562 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38563 call free(NULL).
38564
38565 2013-03-05 David S. Miller <davem@davemloft.net>
38566
38567 * po/es.po: Update from translation team.
38568
38569 2013-03-05 Andreas Jaeger <aj@suse.de>
38570
38571 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38572 <bits/mman-linux.h>.
38573 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38574 is fine.
38575 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38576 <bits/mman-linux.h> to end of file.
38577 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38578 is fine.
38579 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38580 <bits/mman-linux.h> to end of file.
38581 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38582 is fine.
38583 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38584 <bits/mman-linux.h> to end of file.
38585
38586 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38587 (MCL_CURRENT, MCL_FUTURE): Define here.
38588
38589 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38590
38591 [BZ #15232]
38592 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38593 attribute_hidden.
38594 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38595
38596 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38597
38598 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38599 fourth parameter needed for rt_sigprocmask syscall.
38600 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38601 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38602 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38603 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38604 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38605 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38606
38607 2013-03-04 Joseph Myers <joseph@codesourcery.com>
38608
38609 [BZ #13550]
38610 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38611 comment about bounded pointers.
38612 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38613 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38614
38615 2013-03-04 Andreas Jaeger <aj@suse.de>
38616
38617 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38618 common definitions.
38619
38620 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38621 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38622 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38623 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38624 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38625 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38626
38627 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38628
38629 [BZ #15055]
38630 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38631 __ieee754_sqrl instead of __sqrl.
38632
38633 2013-03-01 Joseph Myers <joseph@codesourcery.com>
38634
38635 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38636 * sysdeps/powerpc/fpu_control.h: ... here.
38637 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38638 * sysdeps/powerpc/bits/fenvinline.h: ... here.
38639 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38640 * sysdeps/powerpc/bits/mathinline.h: ... here.
38641
38642 2013-03-01 Roland McGrath <roland@hack.frob.com>
38643
38644 * elf/dl-hwcaps.c (_dl_important_hwcaps):
38645 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38646 to just [NEED_DL_SYSINFO_DSO].
38647 * elf/dl-support.c: Likewise.
38648 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38649 * elf/rtld.c (dl_main): Likewise.
38650 * elf/setup-vdso.h (setup_vdso): Likewise.
38651 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38652 * sysdeps/unix/sysv/linux/dl-sysdep.c
38653 (_dl_discover_osversion): Likewise.
38654
38655 2013-03-01 Carlos O'Donell <carlos@redhat.com>
38656
38657 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38658 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38659
38660 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
38661
38662 * NEWS: Mention libm performance improvements and non-x86 PI
38663 futex support.
38664
38665 * csu/libc-start.c (__pthread_initialize_minimal): Change
38666 function arguments.
38667 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38668
38669 2013-02-28 Joseph Myers <joseph@codesourcery.com>
38670
38671 [BZ #13550]
38672 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38673 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38674 <bp-sym.h> and <bp-asm.h>.
38675 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38676 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38677 and <bp-asm.h>.
38678 (memcpy): Don't use BP_SYM.
38679 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38680 <bp-asm.h>.
38681 (__mpn_add_n): Don't use BP_SYM.
38682 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38683 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38684 and <bp-asm.h>.
38685 (__mpn_addmul_1): Don't use BP_SYM.
38686 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38687 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38688 <bp-sym.h>.
38689 (_setjmp): Don't use BP_SYM.
38690 (__novmx_setjmp): Likewise.
38691 (__GI__setjmp): Likewise.
38692 (__vmx_setjmp): Likewise.
38693 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38694 <bp-sym.h>.
38695 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38696 (__bzero): Don't use BP_SYM.
38697 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38698 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38699 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38700 <bp-sym.h> and <bp-asm.h>.
38701 (memcpy): Don't use BP_SYM.
38702 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38703 <bp-sym.h> and <bp-asm.h>.
38704 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38705 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38706 <bp-sym.h> and <bp-asm.h>.
38707 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38708 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38709 <bp-asm.h>.
38710 (__mpn_lshift): Don't use BP_SYM.
38711 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38712 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38713 <bp-asm.h>.
38714 (memset): Don't use BP_SYM.
38715 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38716 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38717 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38718 <bp-asm.h>.
38719 (__mpn_mul_1): Don't use BP_SYM.
38720 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38721 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38722 <bp-sym.h> and <bp-asm.h>.
38723 (memcmp): Don't use BP_SYM.
38724 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38725 <bp-sym.h> and <bp-asm.h>.
38726 (memcpy): Don't use BP_SYM.
38727 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38728 <bp-sym.h> and <bp-asm.h>.
38729 (memset): Don't use BP_SYM.
38730 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38731 <bp-sym.h> and <bp-asm.h>.
38732 (strncmp): Don't use BP_SYM.
38733 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38734 <bp-sym.h> and <bp-asm.h>.
38735 (memcpy): Don't use BP_SYM.
38736 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38737 <bp-sym.h> and <bp-asm.h>.
38738 (memset): Don't use BP_SYM.
38739 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38740 <bp-sym.h> and <bp-asm.h>.
38741 (__memchr): Don't use BP_SYM.
38742 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38743 <bp-sym.h> and <bp-asm.h>.
38744 (memcmp): Don't use BP_SYM.
38745 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38746 <bp-sym.h> and <bp-asm.h>.
38747 (memcpy): Don't use BP_SYM.
38748 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38749 <bp-sym.h> and <bp-asm.h>.
38750 (__mempcpy): Don't use BP_SYM.
38751 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38752 <bp-sym.h> and <bp-asm.h>.
38753 (__memrchr): Don't use BP_SYM.
38754 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38755 <bp-sym.h> and <bp-asm.h>.
38756 (memset): Don't use BP_SYM.
38757 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38758 <bp-sym.h> and <bp-asm.h>.
38759 (__rawmemchr): Don't use BP_SYM.
38760 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38761 <bp-sym.h> and <bp-asm.h>.
38762 (__STRCMP): Don't use BP_SYM.
38763 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38764 <bp-sym.h> and <bp-asm.h>.
38765 (strchr): Don't use BP_SYM.
38766 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38767 <bp-sym.h> and <bp-asm.h>.
38768 (__strchrnul): Don't use BP_SYM.
38769 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38770 <bp-sym.h> and <bp-asm.h>.
38771 (strlen): Don't use BP_SYM.
38772 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38773 <bp-sym.h> and <bp-asm.h>.
38774 (strncmp): Don't use BP_SYM.
38775 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38776 <bp-sym.h> and <bp-asm.h>.
38777 (__strnlen): Don't use BP_SYM.
38778 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38779 <bp-asm.h>.
38780 (__mpn_rshift): Don't use BP_SYM.
38781 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38782 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38783 <bp-sym.h> and <bp-asm.h>.
38784 (__sigsetjmp): Don't use BP_SYM.
38785 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38786 (L(start_addresses)): Don't use BP_SYM.
38787 (_start): Likewise.
38788 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38789 <bp-asm.h>.
38790 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38791 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38792 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38793 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38794 <bp-asm.h>.
38795 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38796 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38797 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38798 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38799 <bp-asm.h>.
38800 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38801 comments.
38802 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38803 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38804 <bp-asm.h>.
38805 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
38806 FIXME comments.
38807 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38808 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38809 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38810 <bp-asm.h>.
38811 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38812 comment.
38813 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38814 and <bp-asm.h>.
38815 (strncmp): Don't use BP_SYM,
38816 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38817 <bp-asm.h>.
38818 (__mpn_sub_n): Don't use BP_SYM.
38819 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38820 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38821 and <bp-asm.h>.
38822 (__mpn_submul_1): Don't use BP_SYM.
38823 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38825 <bp-sym.h> and <bp-asm.h>.
38826 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38828 <bp-sym.h> and <bp-asm.h>.
38829 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38830 comment.
38831
38832 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38833
38834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38835 Use ZK to minimize writes to Z.
38836 (sub_magnitudes): Simplify code a bit.
38837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38838 Use ZK to minimize writes to Z.
38839 (sub_magnitudes): Simplify code a bit.
38840
38841 2013-02-27 Roland McGrath <roland@hack.frob.com>
38842
38843 * csu/gmon-start.c: Add special exception to license text.
38844
38845 2013-02-27 Richard Henderson <rth@redhat.com>
38846
38847 * scripts/config.guess: Update from config.git.
38848 * scripts/config.sub: Likewise.
38849
38850 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38851
38852 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38853
38854 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38855
38856 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38857
38858 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38859
38860 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38861
38862 2013-02-26 Roland McGrath <roland@hack.frob.com>
38863
38864 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38865 [$(build-shared = yes].
38866
38867 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38868
38869 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38870 (__mul): Reduce iterations for calculating mantissa.
38871
38872 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38873 MPTWO.
38874 (__mpranred): Likewise.
38875
38876 [BZ #15160]
38877 * malloc/memusagestat.c (main): Draw graphs for heap and stack
38878 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38879
38880 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
38881
38882 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38883 Define __attribute__.
38884
38885 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38886
38887 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38888 unused.
38889 * posix/regex_internal.h (__attribute): Remove.
38890 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38891 (re_string_context_at): Likewise.
38892 (bitset_not): Use __attribute__ and mark function as possibly
38893 unused.
38894 (bitset_merge): Likewise.
38895 (bitset_mask): Likewise.
38896 (re_string_char_size_at): Likewise.
38897 (re_string_wchar_at): Likewise.
38898 (re_string_elem_size_at): Likewise.
38899
38900 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38901
38902 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38903 code.
38904 (cc32): Likewise.
38905
38906 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38907 (__acr): Likewise.
38908 (__cpy): Likewise.
38909 (norm): Likewise.
38910 (denorm): Likewise.
38911 (__dbl_mp): Likewise.
38912 (add_magnitudes): Likewise.
38913 (sub_magnitudes): Likewise.
38914 (__mul): Likewise.
38915 (__inv): Likewise.
38916
38917 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38918 style.
38919
38920 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38921 style.
38922
38923 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38924 code.
38925
38926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38927 up changes with default code.
38928 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38929 Likewise.
38930
38931 2013-02-24 Allan McRae <allan@archlinux.org>
38932
38933 * manual/socket.texi (The Internet Namespace): Order menu items
38934 to match that in the file.
38935
38936 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38937 node listing of the info page menu.
38938
38939 2013-02-21 Joseph Myers <joseph@codesourcery.com>
38940
38941 [BZ #13550]
38942 * sysdeps/i386/bp-asm.h: Remove file.
38943 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38944 (PARMS): Do not use macros from bp-asm.h.
38945 (S1): Likewise.
38946 (S2): Likewise.
38947 (SIZE): Likewise.
38948 (__mpn_add_n): Do not use BP_SYM
38949 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38950 "bp-asm.h".
38951 (PARMS): Do not use macros from bp-asm.h.
38952 (S1): Likewise.
38953 (SIZE): Likewise.
38954 (__mpn_addmul_1): Do not use BP_SYM
38955 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38956 "bp-asm.h".
38957 (PARMS): Do not use macros from bp-asm.h.
38958 (SIGMSK): Likewise.
38959 (_setjmp): Likewise. Do not use BP_SYM.
38960 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38961 "bp-asm.h".
38962 (PARMS): Do not use macros from bp-asm.h.
38963 (SIGMSK): Likewise.
38964 (setjmp): Likewise. Do not use BP_SYM.
38965 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38966 "bp-asm.h".
38967 (PARMS): Do not use macros from bp-asm.h.
38968 (__frexp): Do not use BP_SYM.
38969 (frexp): Likewise.
38970 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38971 "bp-asm.h".
38972 (PARMS): Do not use macros from bp-asm.h.
38973 (__frexpf): Do not use BP_SYM.
38974 (frexpf): Likewise.
38975 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38976 "bp-asm.h".
38977 (PARMS): Do not use macros from bp-asm.h.
38978 (__frexpl): Do not use BP_SYM.
38979 (frexpl): Likewise.
38980 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38981 "bp-asm.h".
38982 (PARMS): Do not use macros from bp-asm.h.
38983 (__remquo): Do not use BP_SYM.
38984 (remquo): Likewise.
38985 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38986 "bp-asm.h".
38987 (PARMS): Do not use macros from bp-asm.h.
38988 (__remquof): Do not use BP_SYM.
38989 (remquof): Likewise.
38990 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38991 "bp-asm.h".
38992 (PARMS): Do not use macros from bp-asm.h.
38993 (__remquol): Do not use BP_SYM.
38994 (remquol): Likewise.
38995 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38996 "bp-asm.h".
38997 (PARMS): Do not use macros from bp-asm.h.
38998 (DEST): Likewise.
38999 (SRC): Likewise.
39000 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39001 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39002 "bp-asm.h".
39003 (PARMS): Do not use macros from bp-asm.h.
39004 (strlen): Do not use BP_SYM.
39005 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39006 "bp-asm.h".
39007 (PARMS): Do not use macros from bp-asm.h.
39008 (S1): Likewise.
39009 (S2): Likewise.
39010 (SIZE): Likewise.
39011 (__mpn_add_n): Do not use BP_SYM.
39012 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39013 "bp-asm.h".
39014 (PARMS): Do not use macros from bp-asm.h.
39015 (S1): Likewise.
39016 (SIZE): Likewise.
39017 (__mpn_addmul_1): Do not use BP_SYM.
39018 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39019 weak_alias.
39020 (bzero): Likewise.
39021 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39022 "bp-asm.h".
39023 (PARMS): Do not use macros from bp-asm.h.
39024 (S): Likewise.
39025 (SIZE): Likewise.
39026 (__mpn_lshift): Do not use BP_SYM.
39027 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39028 "bp-asm.h".
39029 (PARMS): Do not use macros from bp-asm.h.
39030 (DEST): Likewise.
39031 (SRC): Likewise.
39032 (LEN): Likewise.
39033 (memcpy): Likewise. Do not use BP_SYM.
39034 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39035 libc_hidden_def and weak_alias.
39036 (mempcpy): Do not use BP_SYM in weak_alias.
39037 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39038 "bp-asm.h".
39039 (PARMS): Do not use macros from bp-asm.h.
39040 (DEST): Likewise.
39041 (LEN): Likewise.
39042 [!BZERO_P] (CHR): Likewise.
39043 (memset): Likewise. Do not use BP_SYM.
39044 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39045 "bp-asm.h".
39046 (PARMS): Do not use macros from bp-asm.h.
39047 (S1): Likewise.
39048 (SIZE): Likewise.
39049 (__mpn_mul_1): Do not use BP_SYM.
39050 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39051 "bp-asm.h".
39052 (PARMS): Do not use macros from bp-asm.h.
39053 (S): Likewise.
39054 (SIZE): Likewise.
39055 (__mpn_rshift): Do not use BP_SYM.
39056 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39057 "bp-asm.h".
39058 (PARMS): Do not use macros from bp-asm.h.
39059 (STR): Likewise.
39060 (CHR): Likewise.
39061 (strchr): Likewise. Do not use BP_SYM.
39062 (index): Do not use BP_SYM in weak_alias.
39063 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39064 "bp-asm.h".
39065 (PARMS): Do not use macros from bp-asm.h.
39066 (DEST): Likewise.
39067 (SRC): Likewise.
39068 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39069 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39070 "bp-asm.h".
39071 (PARMS): Do not use macros from bp-asm.h.
39072 (strlen): Do not use BP_SYM.
39073 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39074 "bp-asm.h".
39075 (PARMS): Do not use macros from bp-asm.h.
39076 (S1): Likewise.
39077 (S2): Likewise.
39078 (SIZE): Likewise.
39079 (__mpn_sub_n): Do not use BP_SYM.
39080 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39081 "bp-asm.h".
39082 (PARMS): Do not use macros from bp-asm.h.
39083 (S1): Likewise.
39084 (SIZE): Likewise.
39085 (__mpn_submul_1): Do not use BP_SYM.
39086 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39087 "bp-asm.h".
39088 (PARMS): Do not use macros from bp-asm.h.
39089 (S1): Likewise.
39090 (S2): Likewise.
39091 (SIZE): Likewise.
39092 (__mpn_add_n): Do not use BP_SYM.
39093 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39094 weak_alias.
39095 (bzero): Likewise.
39096 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39097 "bp-asm.h".
39098 (PARMS): Do not use macros from bp-asm.h.
39099 (BLK2): Likewise.
39100 (LEN): Likewise.
39101 (memcmp): Do not use BP_SYM.
39102 (bcmp): Do not use BP_SYM in weak_alias.
39103 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39104 "bp-asm.h".
39105 (PARMS): Do not use macros from bp-asm.h.
39106 (DEST): Likewise.
39107 (SRC): Likewise.
39108 (LEN): Likewise.
39109 (memcpy): Likewise. Do not use BP_SYM.
39110 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39111 "bp-asm.h".
39112 (PARMS): Do not use macros from bp-asm.h.
39113 (DEST): Likewise.
39114 (SRC): Likewise.
39115 (LEN): Likewise.
39116 (memmove): Likewise. Do not use BP_SYM.
39117 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39118 "bp-asm.h".
39119 (PARMS): Do not use macros from bp-asm.h.
39120 (DEST): Likewise.
39121 (SRC): Likewise.
39122 (LEN): Likewise.
39123 (__mempcpy): Likewise. Do not use BP_SYM.
39124 (mempcpy): Do not use BP_SYM in weak_alias.
39125 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39126 "bp-asm.h".
39127 (PARMS): Do not use macros from bp-asm.h.
39128 (DEST): Likewise.
39129 (LEN): Likewise.
39130 [!BZERO_P] (CHR): Likewise.
39131 (memset): Likewise. Do not use BP_SYM.
39132 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39133 "bp-asm.h".
39134 (PARMS): Do not use macros from bp-asm.h.
39135 (STR2): Likewise.
39136 (strcmp): Do not use BP_SYM.
39137 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39138 "bp-asm.h".
39139 (PARMS): Do not use macros from bp-asm.h.
39140 (STR): Likewise.
39141 (DELIM): Likewise.
39142 [USE_AS_STRTOK_R] (SAVE): Likewise.
39143 (FUNCTION): Likewise. Do not use BP_SYM.
39144 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39145 aliases.
39146 (strtok_r): Likewise.
39147 (__GI___strtok_r): Likewise.
39148 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39149 (PARMS): Do not use macros from bp-asm.h.
39150 (S): Likewise.
39151 (SIZE): Likewise.
39152 (__mpn_lshift): Do not use BP_SYM.
39153 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39154 (PARMS): Do not use macros from bp-asm.h.
39155 (STR): Likewise.
39156 (CHR): Likewise.
39157 (__memchr): Do not use BP_SYM.
39158 (memchr): Do not use BP_SYM in weak_alias.
39159 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39160 (PARMS): Do not use macros from bp-asm.h.
39161 (BLK2): Likewise.
39162 (LEN): Likewise.
39163 (memcmp): Do not use BP_SYM.
39164 (bcmp): Do not use BP_SYM in weak_alias.
39165 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39166 (PARMS): Do not use macros from bp-asm.h.
39167 (S1): Likewise.
39168 (SIZE): Likewise.
39169 (__mpn_mul_1): Do not use BP_SYM.
39170 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39171 "bp-asm.h".
39172 (PARMS): Do not use macros from bp-asm.h.
39173 (STR): Likewise.
39174 (CHR): Likewise.
39175 (__rawmemchr): Do not use BP_SYM.
39176 (rawmemchr): Do not use BP_SYM in weak_alias.
39177 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39178 (PARMS): Do not use macros from bp-asm.h.
39179 (S): Likewise.
39180 (SIZE): Likewise.
39181 (__mpn_rshift): Do not use BP_SYM.
39182 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39183 (PARMS): Do not use macros from bp-asm.h.
39184 (SIGMSK): Likewise.
39185 (__sigsetjmp): Likewise. Do not use BP_SYM.
39186 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39187 (_start): Do not use BP_SYM.
39188 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39189 (PARMS): Do not use macros from bp-asm.h.
39190 (DEST): Likewise.
39191 (SRC): Likewise.
39192 (__stpcpy): Likewise. Do not use BP_SYM.
39193 (stpcpy): Do not use BP_SYM in weak_alias.
39194 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39195 "bp-asm.h".
39196 (PARMS): Do not use macros from bp-asm.h.
39197 (DEST): Likewise.
39198 (SRC): Likewise.
39199 (LEN): Likewise.
39200 (__stpncpy): Likewise. Do not use BP_SYM.
39201 (stpncpy): Do not use BP_SYM in weak_alias.
39202 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39203 (PARMS): Do not use macros from bp-asm.h.
39204 (STR): Likewise.
39205 (CHR): Likewise.
39206 (strchr): Likewise. Do not use BP_SYM.
39207 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39208 "bp-asm.h".
39209 (PARMS): Do not use macros from bp-asm.h.
39210 (STR): Likewise.
39211 (CHR): Likewise.
39212 (__strchrnul): Likewise. Do not use BP_SYM.
39213 (strchrnul): Do not use BP_SYM in weak_alias.
39214 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39215 "bp-asm.h".
39216 (PARMS): Do not use macros from bp-asm.h.
39217 (STOP): Likewise.
39218 (strcspn): Do not use BP_SYM.
39219 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39220 "bp-asm.h".
39221 (PARMS): Do not use macros from bp-asm.h.
39222 (STR): Likewise.
39223 (STOP): Likewise.
39224 (strpbrk): Likewise. Do not use BP_SYM.
39225 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39226 "bp-asm.h".
39227 (PARMS): Do not use macros from bp-asm.h.
39228 (STR): Likewise.
39229 (CHR): Likewise.
39230 (strrchr): Likewise. Do not use BP_SYM.
39231 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39232 (PARMS): Do not use macros from bp-asm.h.
39233 (SKIP): Likewise.
39234 (strspn): Do not use BP_SYM.
39235 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39236 (PARMS): Do not use macros from bp-asm.h.
39237 (STR): Likewise.
39238 (DELIM): Likewise.
39239 (SAVE): Likewise.
39240 (FUNCTION): Likewise. Do not use BP_SYM.
39241 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39242 aliases.
39243 (strtok_r): Likewise.
39244 (__GI___strtok_r): Likewise.
39245 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39246 (PARMS): Do not use macros from bp-asm.h.
39247 (S1): Likewise.
39248 (S2): Likewise.
39249 (SIZE): Likewise.
39250 (__mpn_sub_n): Do not use BP_SYM.
39251 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39252 "bp-asm.h".
39253 (PARMS): Do not use macros from bp-asm.h.
39254 (S1): Likewise.
39255 (SIZE): Likewise.
39256 (__mpn_submul_1): Do not use BP_SYM.
39257 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39258 <bp-sym.h>.
39259 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39260 and <bp-asm.h>.
39261 (PARMS): Do not use macros from bp-asm.h.
39262 (FLAGS): Likewise.
39263 (PTID): Likewise.
39264 (TLS): Likewise.
39265 (CTID): Likewise.
39266 (__clone): Do not use BP_SYM.
39267 (clone): Do not use BP_SYM in weak_alias.
39268 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39269 and <bp-asm.h>.
39270 (PARMS): Do not use macros from bp-asm.h.
39271 (LEN): Likewise.
39272 (__mmap64): Do not use BP_SYM.
39273 (mmap64): Do not use BP_SYM in weak_alias.
39274 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39275 <bp-sym.h> and <bp-asm.h>.
39276 (PARMS): Do not use macros from bp-asm.h.
39277 (__posix_fadvise64_l64): Do not use BP_SYM.
39278 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39279 (PARMS): Do not use macros from bp-asm.h.
39280 (NSOPS): Likewise.
39281 (semtimedop): Do not use BP_SYM.
39282 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39283 and <bp-asm.h>.
39284
39285 2013-02-21 Allan McRae <allan@archlinux.org>
39286
39287 * manual/message.texi (Charset conversion in gettext):
39288 Move @end statement to beginning of line.
39289
39290 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39291
39292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39293 static.
39294 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39295 Likewise.
39296
39297 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39298 (denorm): Likewise.
39299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39301
39302 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39303
39304 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39305 tail-call to the resolved function if pltexit isn't needed.
39306
39307 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39308
39309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39310 or Y being zero as being unlikely.
39311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39312 Likewise.
39313
39314 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39315
39316 * manual/nss.texi (System Databases and Name Service Switch):
39317 Remove frobnicate @pxref.
39318
39319 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39320
39321 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39322 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39323
39324 2013-02-20 Petr Machata <pmachata@redhat.com>
39325
39326 * elf/elf.h (R_ARM_TARGET1): New macro.
39327 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39328 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39329 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39330 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39331 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39332 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39333 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39334 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39335 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39336 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39337 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39338 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39339 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39340 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39341 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39342 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39343 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39344 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39345 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39346 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39347 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39348 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39349 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39350 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39351 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39352 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39353 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39354 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39355 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39356 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39357 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39358 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39359 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39360 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39361 (R_ARM_THM_GOT_BREL12): Likewise.
39362 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39363 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39364 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39365 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39366 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39367 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39368 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39369 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39370 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39371
39372 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39373
39374 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39375 __attribute_used__ to __attribute__ ((unused)).
39376
39377 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39378
39379 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39380 powerpc mpa.c.
39381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39382 comment formatting.
39383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39384
39385 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39386
39387 [BZ #13550]
39388 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39389 Remove macro.
39390 (ENTER): Remove both macro definitions.
39391 (LEAVE): Likewise.
39392 (CHECK_BOUNDS_LOW): Likewise.
39393 (CHECK_BOUNDS_HIGH): Likewise.
39394 (CHECK_BOUNDS_BOTH): Likewise.
39395 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39396 (RETURN_BOUNDED_POINTER): Likewise.
39397 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39398 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39399 (POP_ERRNO_LOCATION_RETURN): Likewise.
39400 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39401 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39402 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39403 macros.
39404 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39405 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39406 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39407 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39408 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39409 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39410 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39411 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39412 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39413 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39414 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39415 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39416 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39417 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39418 removed macros.
39419 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39420 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39421 macros.
39422 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39423 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39424 * sysdeps/i386/i586/memset.S (memset): Likewise.
39425 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39426 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39427 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39428 macros.
39429 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39430 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39431 Change uses of L(2) to L(out).
39432 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39433 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39434 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39435 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39436 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39437 removed macros.
39438 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39439 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39440 macros.
39441 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39442 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39443 (RETURN): Do not use macro LEAVE.
39444 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39445 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39446 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39447 * sysdeps/i386/i686/memset.S (memset): Likewise.
39448 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39449 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39450 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39451 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39452 Likewise.
39453 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39454 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39455 L(1_2) and L(1_3) into L(1).
39456 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39457 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39458 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39459 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39460 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39461 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39462 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39463 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39464 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39465 macros.
39466 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39467 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39468 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39469 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39470 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39471 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39472 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39473 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39474 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39475 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39476 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39477 * sysdeps/i386/strspn.S (strspn): Likewise.
39478 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39479 conditional code.
39480 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39481 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39482 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39483 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39484 L(1_3) into L(1_1).
39485 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39486 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39487 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39488 macros.
39489 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39490
39491 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39492
39493 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39494 macro.
39495
39496 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39497
39498 * math/atest-exp.c (exp_mpn): Remove ROUND.
39499 * math/atest-exp2.c (exp_mpn): Likewise.
39500 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39501
39502 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39503 * stdlib/tst-tls-atexit-lib.c: Likewise.
39504 * stdlib/tst-tls-atexit.c: Likewise.
39505
39506 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39507
39508 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39509 and __attribute_alloc_size__.
39510
39511 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39512
39513 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39514 __attribute_alloc_size__.
39515 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39516 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39517
39518 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39519
39520 * include/programs/xmalloc.h: New file.
39521 * catgets/gencat.c: Include it.
39522 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39523 * elf/pldd.c: Likewise.
39524 * iconv/iconv_charmap.c: Likewise.
39525 * iconv/iconvconfig.c: Likewise.
39526 * iconv/strtab.c: Likewise.
39527 * locale/programs/locale.c: Likewise.
39528 * locale/programs/localedef.h: Likewise.
39529 * locale/programs/simple-hash.c: Likewise.
39530 * nscd/nscd.h: Likewise.
39531 * nss/makedb.c: Likewise.
39532 * sysdeps/generic/ldconfig.h: Likewise.
39533
39534 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39535
39536 * Versions.def: Add GLIBC_2.18.
39537 * include/link.h (struct link_map): New member l_tls_dtor_count.
39538 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39539 (__call_tls_dtors): Likewise.
39540 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39541 __cxa_thread_atexit_impl.
39542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39543 Likewise.
39544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39545 Likewise.
39546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39547 Likewise.
39548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39549 Likewise.
39550 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39552 Likewise.
39553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39554 Likewise.
39555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39557 Likewise.
39558 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39559 (tests): Add test case tst-tls-atexit.
39560 (modules-names): Add shared library for tst-tls-atexit.
39561 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39562 (GLIBC_PRIVATE): Add __call_tls_dtors.
39563 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39564 for libstdc++.
39565 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39566 * stdlib/tst-tls-atexit.c: New test case.
39567 * stdlib/tst-tls-atexit-lib.c: New test case.
39568
39569 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39570
39571 * elf/Versions (ld): Add _dl_find_dso_for_object.
39572 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39573 * elf/dl-open.c (_dl_find_dso_for_object): New function.
39574 (dl_open_worker): Use _dl_find_dso_for_object.
39575 * elf/dl-sym.c (do_sym): Likewise.
39576 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39577
39578 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39579
39580 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39581 Syntactic changes only.
39582 (_dl_runtime_profile): Do a tail-call to the resolved function.
39583
39584 2013-02-17 Joseph Myers <joseph@codesourcery.com>
39585
39586 [BZ #13550]
39587 * sysdeps/x86_64/bp-asm.h: Remove file.
39588 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39589 <bp-sym.h> and <bp-asm.h>.
39590 (__clone): Do not use BP_SYM.
39591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39592 <bp-sym.h> and <bp-asm.h>.
39593 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39594 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39595 "bp-asm.h".
39596 (_setjmp): Do not use BP_SYM.
39597 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39598 "bp-asm.h".
39599 (setjmp): Do not use BP_SYM.
39600 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39601 libc_hidden_def.
39602 (mempcpy): Do not use BP_SYM in weak_alias.
39603 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39604 "bp-asm.h".
39605 (strchr): Do not use BP_SYM.
39606 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39607 "bp-asm.h".
39608 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39609 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39610 (_start): Do not use BP_SYM.
39611 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39612 "bp-asm.h".
39613 (strcat): Do not use BP_SYM.
39614 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39615 "bp-asm.h".
39616 (STRCMP): Do not use BP_SYM.
39617 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39618 "bp-asm.h".
39619 (STRCPY): Do not use BP_SYM.
39620 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39621 "bp-asm.h".
39622 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39623 "bp-asm.h".
39624 (FUNCTION): Do not use BP_SYM.
39625 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39626 weak_alias.
39627 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39628
39629 2013-02-17 Andreas Jaeger <aj@suse.de>
39630
39631 * time/Versions: Sort entries.
39632 * string/Versions: Likewise.
39633 * resolv/Versions: Likewise.
39634 * posix/Versions: Likewise.
39635 * iconv/Versions: Likewise.
39636 * elf/Versions: Likewise.
39637 * wcsmbs/Versions: Likewise.
39638
39639 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39640
39641 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39642 loop termination condition.
39643
39644 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39645 variable to calculate EZ.
39646 (__sqr): Likewise.
39647
39648 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39649 the lower precision input.
39650
39651 2013-02-15 Joseph Myers <joseph@codesourcery.com>
39652
39653 [BZ #13550]
39654 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39655 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39656 (run-via-rtld-prefix): Do not handle %-bp tests.
39657 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39658 (all-object-suffixes): Remove .ob.
39659 (bppfx): Remove variable.
39660 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39661 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39662 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39663 [$(build-bounded) = yes] (libtype.ob): Likewise.
39664 * Makerules (elide-routines.ob): Remove variable.
39665 (do-tests-clean): Do not handle *-bp.out.
39666 (common-mostlyclean): Do not handle *-bp and *-bp.out.
39667 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39668 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39669 (tests): Do not include $(tests-bp.out).
39670 (xtests): Do not include $(xtests-bp.out).
39671 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39672 [$(build-bounded) = yes] ($(addprefix
39673 $(objpfx),$(binaries-bounded))): Remove rule.
39674 ($(objpfx)%-bp.out): Remove rule.
39675 * config.make.in (build-bounded): Remove variable.
39676 * crypt/Makefile [$(build-bounded) = yes]
39677 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39678 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39679 append to variable.
39680 [$(build-bounded) = yes] (install-lib): Likewise.
39681 [$(build-bounded) = yes] (generated): Likewise.
39682 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39683 Remove rule.
39684 * intl/Makefile [$(build-bounded) = yes]
39685 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39686 * math/Makefile [$(build-bounded) = yes]
39687 ($(tests:%=$(objpfx)%-bp): Likewise.
39688 * misc/Makefile [$(build-bounded) = yes]
39689 ($(objpfx)tst-tsearch-bp): Likewise.
39690 * nptl/Makeconfig (bounded-thread-library): Remove variable.
39691 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39692 Remove dependency.
39693 * string/Makefile (o-objects.ob): Remove variable.
39694 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39695 (CFLAGS-.ob): Remove variable.
39696 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39697 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39698 both definitions of variable.
39699 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39700 (ASFLAGS-.ob): Remove variable.
39701
39702 2013-02-14 Joseph Myers <joseph@codesourcery.com>
39703
39704 [BZ #13550]
39705 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39706 Remove __BOUNDED_POINTERS__ from condition.
39707 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39708 * string/bits/string2.h [!__NO_STRING_INLINES &&
39709 !__BOUNDED_POINTERS__]: Likewise.
39710 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39711 Likewise.
39712 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39713 Remove conditional code.
39714 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39715 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39716 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39717 condition.
39718
39719 [BZ #13550]
39720 * csu/libc-start.c: Do not include <bp-sym.h>.
39721 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39722 * elf/dl-open.c: Do not include <bp-sym.h>.
39723 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39724 * math/fegetenv.c: Do not include <bp-sym.h>.
39725 (fegetenv): Do not use BP_SYM in versioned symbols.
39726 * nptl/sysdeps/pthread/bits/libc-lockP.h
39727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39728 <bp-sym.h>.
39729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39730 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39732 (__pthread_mutex_destroy): Likewise.
39733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39734 (__pthread_mutex_lock): Likewise.
39735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39736 (__pthread_mutex_trylock): Likewise.
39737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39738 (__pthread_mutex_unlock): Likewise.
39739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39740 (__pthread_mutexattr_init): Likewise.
39741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39742 (__pthread_mutexattr_destroy): Likewise.
39743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39744 (__pthread_mutexattr_settype): Likewise.
39745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39746 (__pthread_rwlock_init): Likewise.
39747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39748 (__pthread_rwlock_destroy): Likewise.
39749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39750 (__pthread_rwlock_rdlock): Likewise.
39751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39752 (__pthread_rwlock_tryrdlock): Likewise.
39753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39754 (__pthread_rwlock_wrlock): Likewise.
39755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39756 (__pthread_rwlock_trywrlock): Likewise.
39757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39758 (__pthread_rwlock_unlock): Likewise.
39759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39760 (__pthread_key_create): Likewise.
39761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39762 (__pthread_setspecific): Likewise.
39763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39764 (__pthread_getspecific): Likewise.
39765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39766 Likewise.
39767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39768 (_pthread_cleanup_push_defer): Likewise.
39769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39770 (_pthread_cleanup_pop_restore): Likewise.
39771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39772 (pthread_setcancelstate): Likewise.
39773 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39774 <bp-sym.h>.
39775 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39776 (memchr): Do not use BP_SYM in weak_alias.
39777 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39778 (fegetenv): Do not use BP_SYM in versioned symbols.
39779 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39780 (fesetenv): Do not use BP_SYM in versioned symbols.
39781 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39782 (feupdateenv): Do not use BP_SYM in versioned symbols.
39783 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39784 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39785 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39786 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39787 (open64): Do not use BP_SYM in weak_alias.
39788 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39789 (fegetenv): Do not use BP_SYM in versioned symbols.
39790 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39791 (fesetenv): Do not use BP_SYM in versioned symbols.
39792 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39793 (feupdateenv): Do not use BP_SYM in versioned symbols.
39794 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39795 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39796 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39797 (feraiseexcept): Do not use BP_SYM in versioned symbols.
39798 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39799 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39800 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39801 <bp-sym.h>.
39802 (__libc_start_main): Do not use BP_SYM.
39803
39804 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39805
39806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39807 redundant return line.
39808 (norm): Likewise.
39809 (denorm): Likewise.
39810 (dbl_mp): Likewise.
39811 (sub_magnitudes): Likewise.
39812 (__add): Likewise.
39813 (__sub): Likewise.
39814 (__mul): Likewise.
39815 (__inv): Likewise.
39816 (__dvd): Likewise.
39817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39818 (norm): Likewise.
39819 (denorm): Likewise.
39820 (dbl_mp): Likewise.
39821 (sub_magnitudes): Likewise.
39822 (__add): Likewise.
39823 (__sub): Likewise.
39824 (__mul): Likewise.
39825 (__inv): Likewise.
39826 (__dvd): Likewise.
39827
39828 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39829 instead of __mul.
39830 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39831 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39832 (cc32): Likewise.
39833
39834 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39835 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39837 of __mul for squares.
39838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39839 function
39840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39841 Likewise.
39842 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39843 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39844
39845 2013-02-13 Joseph Myers <joseph@codesourcery.com>
39846
39847 [BZ #13550]
39848 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39849 code.
39850 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39851 prototype or function definition. Rename ubp_* variables and
39852 parameters. Remove argv definitions conditional on
39853 [__BOUNDED_POINTERS__].
39854 * debug/backtrace.c (__backtrace): Do not use __unbounded.
39855 * elf/dl-runtime.c (_dl_fixup): Likewise.
39856 * include/set-hooks.h (RUN_HOOK): Likewise.
39857 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39858 definition.
39859 * string/strcpy.c (strcpy): Do not use __unbounded.
39860 * sysdeps/generic/frame.h (struct layout): Likewise.
39861 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39862 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39863 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39864 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39865 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39866 (__backtrace): Likewise.
39867 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39868 use __ptrvalue.
39869 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39870 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39871 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39872 Likewise.
39873 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39874 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39875 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39876 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39877 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39878 Do not use __unbounded.
39879 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39880 Rename __unboundedrlimits parameter to rlimits in prototype.
39881 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39882 Do not use __unbounded.
39883 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39884 not use __ptrvalue.
39885 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39886 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39887 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39888 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39889 __ptrvalue or __unbounded.
39890 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39891 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39892 use __unbounded.
39893 (__new_msgctl): Do not use __ptrvalue.
39894 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39895 __unbounded.
39896 (__libc_msgrcv): Do not use __ptrvalue.
39897 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39898 startup_info): Do not use __unbounded.
39899 (__libc_start_main): Likewise. Rename ubp_* variables and
39900 parameters. Remove argv definitions conditional on
39901 [__BOUNDED_POINTERS__].
39902 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39903 __ptrvalue.
39904 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39905 use __unbounded.
39906 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39907 or __ptrvalue.
39908 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39909 use __unbounded.
39910 (__new_shmctl): Do not use __ptrvalue.
39911 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39912 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39913 Likewise.
39914 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39915 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39916 (__libc_sigaction): Likewise.
39917 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39918 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39919 Likewise.
39920 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39921
39922 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
39923
39924 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39925
39926 * string/mempcpy.c: Implement by calling memcpy.
39927
39928 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
39929
39930 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39931
39932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39933 evaluation.
39934
39935 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39936 values in the mantissa.
39937
39938 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39939 minimize writes to Z.
39940 (sub_magnitudes): Simplify code a bit.
39941
39942 2013-02-12 Roland McGrath <roland@hack.frob.com>
39943
39944 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39945 from the message. The linker prefixes all warnings with that already.
39946
39947 2013-02-12 Andreas Schwab <schwab@suse.de>
39948
39949 [BZ #15078]
39950 * posix/regexec.c (extend_buffers): Add parameter min_len.
39951 (check_matching): Pass minimum needed length.
39952 (clean_state_log_if_needed): Likewise.
39953 (get_subexp): Likewise.
39954 * posix/Makefile (tests): Add bug-regex34.
39955 (bug-regex34-ENV): Define.
39956 * posix/bug-regex34.c: New file.
39957
39958 [BZ #11561]
39959 * posix/regcomp.c (parse_bracket_exp): When looking up collating
39960 elements compare against the byte sequence of it, not its name.
39961 * posix/Makefile (tests): Add bug-regex35.
39962 (bug-regex35-ENV): Define.
39963 * posix/bug-regex35.c: New file.
39964
39965 2013-02-11 Tom de Vries <tom@codesourcery.com>
39966
39967 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
39968 comment.
39969 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39970 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39971 (CHECK_EOL): Add undef.
39972
39973 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
39974
39975 * bits/stdlib-bsearch.h: New file.
39976 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39977 * stdlib/stdlib.h: Likewise.
39978
39979 2013-02-11 Roland McGrath <roland@hack.frob.com>
39980
39981 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39982 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39983 declaration.
39984 * manual/search.texi (Array Search Function): Add missing const in
39985 lfind prototype.
39986 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39987 declaration to use rlim_t.
39988 (Basic Scheduling Functions): Remove erroneous const from
39989 sched_getparam prototype. Remove erroneous * from
39990 sched_get_priority_max and sched_get_priority_min prototypes.
39991 (Resource Usage): Fix summary @comment on vtimes to refer to
39992 sys/vtimes.h rather than vtimes.h.
39993 Add missing *s in vtimes prototype.
39994 (Limits on Resources): Fix ulimit prototype to return long int.
39995 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39996 prototypes to use long int rather than double.
39997 (BSD Random): Fix initstate and setstate to use char *, not void *.
39998 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39999 prototype to make second argument 'struct aiocb64 *const[]'.
40000 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40001 (Status of AIO Operations): Remove erroneous const in aio_return and
40002 aio_return64 prototypes.
40003 (Synchronizing I/O): Fix sync prototype to return void.
40004 * manual/startup.texi (Suboptions): Remove an erroneous const in
40005 getsubopt prototype.
40006 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40007 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40008 use size_t rather than int.
40009 (Scanning All Users): Likewise for getpwent_r.
40010 (Setting Groups): Add missing const to setgroups prototype.
40011 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40012 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40013 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40014 'const void *' rather than 'const char *'.
40015 (Host Address Functions): Likewise for inet_ntop.
40016 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40017 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40018 ssize_t for return value.
40019 (Sending Data): Likewise for send, sendto, sendmsg.
40020 (Socket Option Functions): Add a missing const in setsockopt prototype.
40021 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40022 use wchar_t for the argument.
40023 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40024 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40025 take no arguments.
40026 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40027 double/float/long double for second argument.
40028 Fix return types of significand, significandf, significandl.
40029 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40030 argument in fchmod prototype.
40031 (File Owner): Use uid_t and gid_t in fchown prototype.
40032 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40033 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40034 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40035 use 'const struct dirent **' as argument types to CMP function pointer
40036 argument.
40037 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40038 (File Times): Fix summary magic @comment for struct utimbuf and utime
40039 to refer to utime.h, not time.h.
40040 * manual/string.texi (Argz Functions): Add missing const in
40041 argz_extract and argz_next prototypes.
40042 (Finding Tokens in a String): Likewise for basename.
40043 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40044 (Copying and Concatenation): Fix typo in wmemmove prototype.
40045 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40046 (Signal Stack): Remove erroneous const in sigstack prototype.
40047 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40048 prototype.
40049 (Simple Calendar Time): Likewise for stime.
40050 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40051 prototype.
40052 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40053 say sys/sysctl.h instead.
40054 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40055 and vsyslog prototypes.
40056
40057 2013-02-11 Tom de Vries <tom@codesourcery.com>
40058
40059 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40060 Remove.
40061
40062 2013-02-11 Roland McGrath <roland@hack.frob.com>
40063
40064 * misc/sys/mman.h: Fix typo in mremap comment.
40065
40066 2013-02-08 Roland McGrath <roland@hack.frob.com>
40067
40068 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40069 the '\0' terminator.
40070
40071 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40072
40073 [BZ #13550]
40074 * debug/segfault.c: Don't include <bp-checks.h>.
40075 * sysdeps/generic/bp-checks.h: Remove file.
40076 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40077 (__GETDENTS): Don't use CHECK_N.
40078 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40079 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40080 (__getgroups): Don't use CHECK_N.
40081 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40082 (setgroups): Don't use CHECK_N.
40083 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40084 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40085 (__libc_msgrcv): Don't use CHECK_N.
40086 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40087 (__libc_msgsnd): Don't use CHECK_N.
40088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40089 <bp-checks.h>.
40090 (__libc_pread): Don't use CHECK_N.
40091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40092 include <bp-checks.h>.
40093 (__libc_pread64): Don't use CHECK_N.
40094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40095 include <bp-checks.h>.
40096 (__libc_pwrite): Don't use CHECK_N.
40097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40098 include <bp-checks.h>.
40099 (__libc_pwrite64): Don't use CHECK_N.
40100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40101 <bp-checks.h>.
40102 (__libc_pread): Don't use CHECK_N.
40103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40104 include <bp-checks.h>.
40105 (__libc_pread64): Don't use CHECK_N.
40106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40107 include <bp-checks.h>.
40108 (__libc_pwrite): Don't use CHECK_N.
40109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40110 include <bp-checks.h>.
40111 (__libc_pwrite64): Don't use CHECK_N.
40112 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40113 (do_pread): Don't use CHECK_N.
40114 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40115 (do_pread64): Don't use CHECK_N.
40116 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40117 (do_pwrite): Don't use CHECK_N.
40118 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40119 (do_pwrite64): Don't use CHECK_N.
40120 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40121 (__libc_readv): Don't use CHECK_N.
40122 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40123 (semop): Don't use CHECK_N.
40124 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40125 <bp-checks.h>.
40126 (semtimedop): Don't use CHECK_N.
40127 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40128 (__libc_pread): Don't use CHECK_N.
40129 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40130 <bp-checks.h>.
40131 (__libc_pread64): Don't use CHECK_N.
40132 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40133 <bp-checks.h>.
40134 (__libc_pwrite): Don't use CHECK_N.
40135 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40136 <bp-checks.h>.
40137 (__libc_pwrite64): Don't use CHECK_N.
40138 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40139 <bp-checks.h>.
40140 (__libc_msgrcv): Don't use CHECK_N.
40141 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40142 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40143 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40144 (__libc_writev): Don't use CHECK_N.
40145
40146 2013-02-08 Roland McGrath <roland@hack.frob.com>
40147
40148 * string/strcpy.c: Removed unused variable.
40149
40150 * Makeconfig (+sysdep-includes): Define with := rather than =.
40151 Use an existing include/ subdir of each sysdeps dir before it.
40152
40153 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40154
40155 * nscd/connection.c (register_traced_file): Comment function.
40156 [HAVE_INOTIFY] (union __inev): Define.
40157 [HAVE_INOTIFY] (inotify_check_files): New function.
40158 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40159 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40160 clear_db_cache.
40161 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40162
40163 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40164
40165 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40166 loaded if not already and that a failure is permanent.
40167
40168 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40169
40170 [BZ #15006]
40171 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40172 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40173
40174 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40175
40176 [BZ #13550]
40177 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40178 (CHECK_1_NULL_OK): Likewise.
40179 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40180 (__fxstat): Do not use CHECK_1.
40181 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40182 <bp-checks.h>.
40183 (___fxstat64): Do not use CHECK_1.
40184 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40185 <bp-checks.h>.
40186 (__fxstatat): Do not use CHECK_1.
40187 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40188 <bp-checks.h>.
40189 (__fxstatat64): Do not use CHECK_1.
40190 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40191 <bp-checks.h>.
40192 (__fxstat): Do not use CHECK_1.
40193 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40194 <bp-checks.h>.
40195 (__fxstatat): Do not use CHECK_1.
40196 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40197 <bp-checks.h>.
40198 (__getresgid): Do not use CHECK_1.
40199 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40200 <bp-checks.h>.
40201 (__getresuid): Do not use CHECK_1.
40202 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40203 <bp-checks.h>.
40204 (__lxstat): Do not use CHECK_1.
40205 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40206 <bp-checks.h>.
40207 (__old_msgctl): Do not use CHECK_1.
40208 (__new_msgctl): Likewise.
40209 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40210 <bp-checks.h>.
40211 (__new_setrlimit): Do not use CHECK_1.
40212 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40213 <bp-checks.h>.
40214 (__old_shmctl): Do not use CHECK_1.
40215 (__new_shmctl): Likewise.
40216 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40217 <bp-checks.h>.
40218 (__xstat): Do not use CHECK_1.
40219 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40220 (__lxstat): Do not use CHECK_1.
40221 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40222 <bp-checks.h>.
40223 (___lxstat64): Do not use CHECK_1.
40224 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40225 (__old_msgctl): Do not use CHECK_1.
40226 (__new_msgctl): Likewise.
40227 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40228 <bp-checks.h>.
40229 (__gettimeofday): Do not use CHECK_1.
40230 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40231 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40232 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40233 <bp-checks.h>.
40234 (__gettimeofday): Do not use CHECK_1.
40235 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40236 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40237 (__new_shmctl): Do not use CHECK_1.
40238 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40239 <bp-checks.h>.
40240 (do_sigtimedwait): Do not use CHECK_1.
40241 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40242 <bp-checks.h>.
40243 (do_sigwaitinfo): Do not use CHECK_1.
40244 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40245 <bp-checks.h>.
40246 (msgctl): Do not use CHECK_1.
40247 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40248 <bp-checks.h>.
40249 (shmctl): Do not use CHECK_1.
40250 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40251 (ustat): Do not use CHECK_1.
40252 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40253 <bp-checks.h>.
40254 (__fxstat): Do not use CHECK_1.
40255 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40256 <bp-checks.h>.
40257 (__fxstatat): Do not use CHECK_1.
40258 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40259 <bp-checks.h>.
40260 (__lxstat): Do not use CHECK_1.
40261 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40262 <bp-checks.h>.
40263 (__xstat): Do not use CHECK_1.
40264 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40265 (__xstat): Do not use CHECK_1.
40266 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40267 (___xstat64): Do not use CHECK_1.
40268
40269 [BZ #13550]
40270 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40271 definitions.
40272 (CHECK_BOUNDS_HIGH): Likewise.
40273 * string/strcpy.c: Do not include <bp-checks.h>.
40274 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40275
40276 2013-02-07 Roland McGrath <roland@hack.frob.com>
40277
40278 * nscd/nscd-client.h (__nscd_drop_map_ref):
40279 Add __attribute__ ((unused)).
40280 * nis/nss-nisplus.h (niserr2nss): Likewise.
40281
40282 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40283 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40284
40285 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40286 Remove inline keyword.
40287 * include/rounding-mode.h (round_away): Likewise.
40288 * libio/wfileops.c (adjust_wide_data): Likewise.
40289 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40290 (__m128i_strloadu_tolower): Likewise.
40291 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40292 (__m128i_strloadu_tolower): Likewise.
40293 * time/mktime.c (ydhms_diff): Likewise.
40294 * locale/elem-hash.h (elem_hash): Likewise.
40295 * locale/setlocale.c (setdata): Likewise.
40296 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40297 (re_string_wchar_at): Likewise.
40298 (bitset_not, bitset_merge, bitset_mask): Likewise.
40299 [!(__GNUC__ > 3)] (inline): Remove macro.
40300 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40301 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40302 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40303 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40304 * string/memcmp.c (memcmp_bytes): Likewise.
40305 * locale/programs/locarchive.c (compute_hashval): Likewise.
40306 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40307 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40308 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40309 * nss/getent.c (print_rpc, print_protocols): Likewise.
40310 (print_passwd, print_group, print_aliases): Likewise.
40311 * nis/nss-nisplus.h (niserr2nss): Likewise.
40312 * nscd/connections.c (restart_p): Likewise.
40313 Change return type to bool.
40314
40315 2013-02-05 Roland McGrath <roland@hack.frob.com>
40316
40317 * Makeconfig (all-Depend-files): Add existing
40318 $(sorted-subdirs:=/Depend) files.
40319 (all-subdirs): Remove nss.
40320 * sysdeps/unix/inet/Subdirs: Add it here instead.
40321 * hesiod/Depend: New file.
40322
40323 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40324 instead of calling alloca.
40325
40326 * io/lseek.c (__lseek): Rename to __libc_lseek.
40327 Define __lseek as an alias.
40328
40329 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40330
40331 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40332
40333 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40334 else clause and remove check for non-standard endianness.
40335
40336 2013-02-04 David S. Miller <davem@davemloft.net>
40337
40338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40339
40340 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40341
40342 [BZ #13550]
40343 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40344 (__ubp_memchr): Remove prototype.
40345 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40346 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40347 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40348 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40349 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40350 Remove alias.
40351 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40352 (__ubp_memchr): Likewise.
40353 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40354 (__ubp_memchr): Likewise.
40355 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40356 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40357 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40358 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40359 CHECK_STRING.
40360 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40361 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40362 (__getcwd): Do not use CHECK_STRING.
40363 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40364 <bp-checks.h>.
40365 (__real_chown): Do not use CHECK_STRING.
40366 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40367 <bp-checks.h>.
40368 (fchownat): Do not use CHECK_STRING.
40369 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40370 CHECK_STRING.
40371 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40372 <bp-checks.h>.
40373 (__lchown): Do not use CHECK_STRING.
40374 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40375 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40376 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40377 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40379 include <bp-checks.h>.
40380 (truncate64): Do not use CHECK_STRING.
40381 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40382 <bp-checks.h>.
40383 (__real_chown): Do not use CHECK_STRING.
40384 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40385 <bp-checks.h>.
40386 (__lchown): Do not use CHECK_STRING.
40387 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40388 <bp-checks.h>.
40389 (__chown): Do not use CHECK_STRING.
40390 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40391 <bp-checks.h>.
40392 (truncate64): Do not use CHECK_STRING.
40393 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40394 Likewise.
40395 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40396 (__xmknod): Do not use CHECK_STRING.
40397 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40398 <bp-checks.h>.
40399 (__xmknodat): Do not use CHECK_STRING.
40400 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40401 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40402
40403 2013-02-04 Andreas Schwab <schwab@suse.de>
40404
40405 [BZ #14142]
40406 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40407 * include/netdb.h: Likewise for h_errno.
40408 * elf/tst-stackguard1.c: Include <tls.h>.
40409
40410 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40411
40412 * elf/link.h (struct link_map): Extend the l_addr comment.
40413 * include/link.h (struct link_map): Likewise.
40414
40415 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40416
40417 [BZ #13550]
40418 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40419 (BOUNDED_1): Remove macro.
40420 * debug/backtrace.c: Don't include <bp-checks.h>.
40421 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40422 (__backtrace): Likewise.
40423 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40424 <bp-checks.h>.
40425 (__backtrace): Don't use BOUNDED_1.
40426 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40427 <bp-checks.h>.
40428 (__backtrace): Don't use BOUNDED_1.
40429 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40430 (__backtrace): Don't use BOUNDED_1.
40431 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40432 (shmat): Don't use BOUNDED_N.
40433
40434 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40435
40436 [BZ #13550]
40437 * sysdeps/generic/bp-start.h: Remove file.
40438 * csu/libc-start.c: Don't include <bp-start.h>.
40439 (LIBC_START_MAIN): Set up __environ directly instead of using
40440 INIT_ARGV_and_ENVIRON.
40441 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40442 <bp-start.h>.
40443
40444 [BZ #13550]
40445 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40446 definitions.
40447 (CHECK_FCNTL): Likewise.
40448 (CHECK_N_PAGES): Likewise.
40449
40450 [BZ #13550]
40451 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40452 definitions.
40453 (CHECK_SIGSET_NULL_OK): Likewise.
40454 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40455 <bp-checks.h>.
40456 (sigpending): Don't use CHECK_SIGSET.
40457 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40458 <bp-checks.h>.
40459 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40460 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40461 <bp-checks.h>.
40462 (do_sigsuspend): Don't use CHECK_SIGSET.
40463 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40464 use CHECK_SIGSET.
40465 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40466 (do_sigwait): Don't use CHECK_SIGSET.
40467 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40468 use CHECK_SIGSET.
40469 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40470 include <bp-checks.h>.
40471 (sigpending): Don't use CHECK_SIGSET.
40472 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40473 include <bp-checks.h>.
40474 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40475 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40476 <bp-checks.h>.
40477 (sigpending): Don't use CHECK_SIGSET.
40478 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40479 <bp-checks.h>.
40480 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40481
40482 [BZ #13550]
40483 * sysdeps/generic/bp-semctl.h: Remove file.
40484 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40485 <bp-checks.h> and <bp-semctl.h>.
40486 (__old_semctl): Don't use CHECK_SEMCTL.
40487 (__new_semctl): Likewise.
40488 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40489 and <bp-semctl.h>.
40490 (__old_semctl): Don't use CHECK_SEMCTL.
40491 (__new_semctl): Likewise.
40492 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40493 <bp-checks.h> and <bp-semctl.h>.
40494 (__old_semctl): Don't use CHECK_SEMCTL.
40495 (__new_semctl): Likewise.
40496 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40497 <bp-checks.h> and <bp-semctl.h>.
40498 (semctl): Don't use CHECK_SEMCTL.
40499
40500 [BZ #13550]
40501 * Makerules (elide-bp-thunks): Remove variable.
40502 (elide-routines.oS): Don't use $(elide-bp-thunks).
40503 (elide-routines.os): Likewise.
40504 (elide-routines.o): Likewise.
40505 (elide-routines.op): Likewise.
40506 (elide-routines.og): Likewise.
40507 (objects): Don't use $(bp-thunks).
40508 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40509 include.
40510 (common-generated): Do not add s-proto-bp.d.
40511 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40512 (int): Likewise.
40513 (typ): Likewise.
40514 Do not generate makefile rules for bounded-pointer thunks.
40515 * sysdeps/generic/bp-thunks.h: Remove file.
40516 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40517 * sysdeps/unix/s-proto-bp.S: Likewise.
40518
40519 [BZ #15062]
40520 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40521 parts of result separately when argument is not close to line from
40522 -i to i and one part of argument is small.
40523 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40524 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40525 * math/libm-test.inc (cacos_test): Add more tests.
40526 (casin_test): Likewise.
40527 (casinh_test): Likewise.
40528 * sysdeps/i386/fpu/libm-test-ulps: Update.
40529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40530
40531 2013-01-31 David S. Miller <davem@davemloft.net>
40532
40533 * po/de.po: Update from translation team.
40534
40535 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
40536
40537 * time/tzfile.c: Include stdint.h for SIZE_MAX.
40538
40539 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
40540
40541 * configure.in (_AC_PROG_CC_C89): New definition.
40542 * configure: Regenerate.
40543
40544 * configure.in (AC_PROG_CPP): New definition.
40545 * configure: Regenerate.
40546
40547 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40548
40549 * debug/tst-backtrace.h: New file.
40550 * debug/tst-backtrace2.c: Include tst-backtrace.h.
40551 (ret): Remove variable.
40552 (x): Likewise.
40553 (FAIL): Remove macro.
40554 (NO_INLINE): Likewise.
40555 (fn1): Use match function instead of strstr.
40556 * debug/tst-backtrace3.c: Include tst-backtrace.h.
40557 (ret): Remove variable.
40558 (x): Likewise.
40559 (FAIL): Remove macro.
40560 (NO_INLINE): Likewise.
40561 (fn): Use match function instead of strstr.
40562 * debug/tst-backtrace4.c: Include tst-backtrace.h.
40563 (ret): Remove variable.
40564 (x): Likewise.
40565 (FAIL): Remove macro.
40566 (NO_INLINE): Likewise.
40567 (handle_signal): Use match function instead of strstr.
40568 * debug/tst-backtrace5.c: Include tst-backtrace.h.
40569 (ret): Remove variable.
40570 (x): Likewise.
40571 (FAIL): Remove macro.
40572 (NO_INLINE): Likewise.
40573 (handle_signal): Use match function instead of strstr.
40574
40575 2013-01-23 Roland McGrath <roland@hack.frob.com>
40576
40577 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40578
40579 2013-01-23 David S. Miller <davem@davemloft.net>
40580
40581 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40582 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40583 argument of CAS if possible.
40584 * sysdeps/sparc/sparc64/bits/atomic.h
40585 (__arch_compare_and_exchange_val_32_acq): Likewise.
40586 (__arch_compare_and_exchange_val_64_acq): Likewise.
40587
40588 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
40589
40590 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40591 * sysdeps/posix/ulimit.c: ... this.
40592 Include <limits.h>.
40593 * sysdeps/unix/bsd/ulimit.c: Remove file.
40594
40595 2013-01-23 Adam Conrad <adconrad@0c3.net>
40596
40597 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40598 (LDFLAGS-tst-array5): Likewise.
40599
40600 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40601
40602 [BZ #15036]
40603 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40604 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40605 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40606 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40607
40608 2013-01-21 David S. Miller <davem@davemloft.net>
40609
40610 * sysdeps/sparc/backtrace.c: New file.
40611 * sysdeps/sparc/sparc32/backtrace.h: New file.
40612 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40613 * sysdeps/sparc/sparc64/backtrace.h: New file.
40614 * sysdeps/sparc/sparc64/backtrace.c: Delete.
40615 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40616 -funwind-tables.
40617
40618 2013-01-21 Andreas Schwab <schwab@suse.de>
40619
40620 [BZ #15020]
40621 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40622 closed its stdout.
40623
40624 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
40625
40626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40627 "mpa2.h".
40628 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40629
40630 2013-01-18 Joseph Myers <joseph@codesourcery.com>
40631 Mark Mitchell <mark@codesourcery.com>
40632 Tom de Vries <tom@codesourcery.com>
40633 Paul Pluzhnikov <ppluzhnikov@google.com>
40634
40635 * debug/tst-backtrace2.c: New file.
40636 * debug/tst-backtrace3.c: Likewise.
40637 * debug/tst-backtrace4.c: Likewise.
40638 * debug/tst-backtrace5.c: Likewise.
40639 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40640 (CFLAGS-tst-backtrace3.c): Likewise.
40641 (CFLAGS-tst-backtrace4.c): Likewise.
40642 (CFLAGS-tst-backtrace5.c): Likewise.
40643 (LDFLAGS-tst-backtrace2): Likewise.
40644 (LDFLAGS-tst-backtrace3): Likewise.
40645 (LDFLAGS-tst-backtrace4): Likewise.
40646 (LDFLAGS-tst-backtrace5): Likewise.
40647 (tests): Add new tests tst-backtrace2, tst-backtrace3,
40648 tst-backtrace4 and tst-backtrace5.
40649
40650 2013-01-18 Anton Blanchard <anton@samba.org>
40651 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40652
40653 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40654 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40655 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40656 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40658 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40659 "+r" and remove output regs list as redundant. Add explicit inline
40660 asm to specify register of return val to work around compiler codegen
40661 bug. Remove (int) cast on return value. Add return type parameter to
40662 use in macro so that this macro does not truncate return value for
40663 64-bit values.
40664 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40665 pass to INTERNAL_VSYSCALL_NCS.
40666 (INLINE_VSYSCALL): Add 'long int' as return type to
40667 INTERNAL_VSYSCALL_NCS macro invocation.
40668 (INTERNAL_VSYSCALL): Add 'long int' as return type to
40669 INTERNAL_VSYSCALL_NCS macro invocation.
40670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40671
40672 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40673
40674 [BZ #14496]
40675 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40676 Fix application of SIMD FP exception mask.
40677
40678 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40679 mp_no from a power of two.
40680 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40681 __mpexp_twomm1. Use __pow_mp.
40682
40683 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40684 multiplication.
40685
40686 2013-01-17 David S. Miller <davem@davemloft.net>
40687
40688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40689
40690 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40691
40692 [BZ #15023]
40693 * include/complex.h: Condition contents on [!_COMPLEX_H].
40694 (__kernel_casinhf): New prototype.
40695 (__kernel_casinh): Likewise.
40696 (__kernel_casinhl): Likewise.
40697 * math/Makefile (libm_calls): Add k_casinh.
40698 * math/k_casinh.c: New file.
40699 * math/k_casinhf.c: Likewise.
40700 * math/k_casinhl.c: Likewise.
40701 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40702 finite nonzero arguments.
40703 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40704 finite nonzero arguments.
40705 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40706 finite nonzero arguments.
40707 * math/s_casinh.c: Do not include <float.h>.
40708 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40709 * math/s_casinhf.c: Do not include <float.h>.
40710 (__casinhf): Move code for finite nonzero arguments to
40711 k_casinhf.c.
40712 * math/s_casinhl.c: Do not include <float.h>.
40713 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40714 redefine.
40715 (__casinhl): Move code for finite nonzero arguments to
40716 k_casinhl.c.
40717 * math/libm-test.inc (cacos_test): Add more tests.
40718 * sysdeps/i386/fpu/libm-test-ulps: Update.
40719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40720
40721 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
40722
40723 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40724 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40725 [!HAVE_MREMAP]: Remove [defined linux] case.
40726 * malloc/arena.c: Do not include <malloc-sysdep.h>.
40727
40728 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
40729
40730 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40731
40732 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
40733
40734 * elf/elf.h (R_386_SIZE32): New relocation.
40735 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40736 R_386_SIZE32.
40737 (elf_machine_rela): Likewise.
40738 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40739 R_X86_64_SIZE64 and R_X86_64_SIZE32.
40740
40741 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40742
40743 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40744 (FP_FAST_FMA): Do not define.
40745 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40746 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40747 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40748 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40749 !_SOFT_FLOAT]: Likewise.
40750 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40751 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40752 value.
40753 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40754 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40755 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40756 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40757 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40758 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40759 file.
40760
40761 2013-01-16 Andreas Schwab <schwab@suse.de>
40762
40763 [BZ #14327]
40764 * include/stdlib.h (__mktemp): Add declaration.
40765 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40766 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40767
40768 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40769
40770 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40771 definitions.
40772 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40773 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40774 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40775 definitions here.
40776 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40777 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40778 definitions.
40779 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40780 and ONE.
40781 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40782 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40783 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40784 definitions.
40785 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40786 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40787 definitions.
40788 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40789
40790 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40791
40792 2013-01-15 David S. Miller <davem@davemloft.net>
40793
40794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40795 trunc{,f} to libm-sysdep_routes.
40796 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40798 file.
40799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40801 file.
40802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40803 file.
40804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40806 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40807 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40808 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40809 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40810 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40811 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40812
40813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40814 nearbyint{,f} to libm-sysdep_routes.
40815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40817 New file.
40818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40819 file.
40820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40821 New file.
40822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40823 file.
40824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40826 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40827 file.
40828 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40829 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40830 file.
40831 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40832 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40833 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40834
40835 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40836 libc_feholdexcept and libc_fesetenv.
40837
40838 2013-01-15 Mike Frysinger <vapier@gentoo.org>
40839
40840 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40841
40842 2013-01-14 David S. Miller <davem@davemloft.net>
40843
40844 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40845 (SPARC_ASM_VIS2_IFUNC): Likewise.
40846 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40848 use of 'siam' instruction.
40849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40850 Likewise.
40851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40852 Likewise.
40853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40854 Likewise.
40855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40860 file.
40861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40862 file.
40863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40864 file.
40865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40866 file.
40867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40872 new VIS2 routines.
40873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40876 Likewise.
40877 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40878 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40880 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40882 routines to libm-sysdep_routines.
40883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40884
40885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40886 fdim/fdimf to libm-sysdep_routines.
40887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40888 file.
40889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40891 file.
40892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40895 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40896 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40897 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40898 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40899
40900 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40901
40902 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40903 to optimize copies.
40904
40905 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40908
40909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40910 local variable MPTWO.
40911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40912 Likewise.
40913
40914 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40915
40916 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40917 GLOB_NOESCAPE.
40918
40919 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40920
40921 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40922
40923 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40924
40925 * manual/pattern.texi (glob_t): Document gl_flags.
40926 (glob64_t): Likewise.
40927
40928 2013-01-11 David S. Miller <davem@davemloft.net>
40929
40930 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40931 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40932 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
40933 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40934 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40935 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40936 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40937 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40938 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40939 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40940 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40941 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40942 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40943
40944 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40945 sparc V9 rather than using V8 code.
40946 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40947 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40948
40949 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40950 Move to...
40951 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40952 Here.
40953
40954 2013-01-11 Roland McGrath <roland@hack.frob.com>
40955
40956 [BZ #14941]
40957 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40958 not in the main loop.
40959 * configure: Regenerated.
40960
40961 2013-01-11 Joseph Myers <joseph@codesourcery.com>
40962
40963 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40964 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40965 to just #else.
40966 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
40967 [!__GLIBC_HAVE_LONG_LONG] case.
40968 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40969 condition to just #else.
40970 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40971 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40972 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40973 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40974 unconditional.
40975 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40976 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40977 #elif condition to just #else.
40978 * sysdeps/unix/sysv/linux/sys/sysmacros.h
40979 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40980 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40981 #elif condition to just #else.
40982
40983 2013-01-11 Steve Ellcey <sellcey@mips.com>
40984
40985 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40986 (EF_MIPS_ARCH_64): Fix value.
40987 (EF_MIPS_ARCH_32R2): New.
40988 (EF_MIPS_ARCH_64R2): New.
40989
40990 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
40991
40992 * Makeconfig (+link-pie-before-libc): New.
40993 (+link-pie-after-libc): Likewise.
40994 (+link-pie-tests): Likewise.
40995 (+link-pie): Rewritten.
40996 (link-before-libc): Remove $(config-LDFLAGS).
40997 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40998 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40999 (config-LDFLAGS): Renamed to ...
41000 (rtld-LDFLAGS): This.
41001 (rtld-tests-LDFLAGS): New macro.
41002 (link-libc-rpath-link): Likewise.
41003 (link-libc-tests-rpath-link): Likewise.
41004 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41005 (link-libc): Prepand $(link-libc-rpath-link).
41006 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41007 (test-program-prefix): New macro.
41008 (test-via-rtld-prefix): Likewise.
41009 (test-program-cmd): Likewise.
41010 (host-test-program-cmd): Likewise.
41011 * Makefile ($(common-objpfx)testrun.sh): Replace
41012 $(run-program-prefix) with $(test-program-prefix).
41013 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41014 $(rtld-LDFLAGS).
41015 ($(common-objpfx)shlib.lds): Likewise.
41016 (build-module-helper): Likewise.
41017 ($(common-objpfx)format.lds): Likewise.
41018 * Rules (binaries-pie-tests): New.
41019 (binaries-pie-notests): Likewise.
41020 (binaries-pie): Rewritten.
41021 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41022 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41023 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41024 (make-test-out): Replace $(host-built-program-cmd) with
41025 $(host-test-program-cmd).
41026 * config.make.in (build-hardcoded-path-in-tests): New variable.
41027 * configure.in (--enable-hardcoded-path-in-tests): New configure
41028 option.
41029 (hardcoded_path_in_tests): New AC_SUBST.
41030 * configure: Regenerated.
41031 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41032 $(built-program-cmd) with $(test-program-cmd).
41033 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41034 (test_program_cmd): This.
41035 * elf/Makefile ($(objpfx)order.out): Run test with
41036 $(test-program-prefix).
41037 ($(objpfx)order2.out): Likewise.
41038 ($(objpfx)tst-initorder.out): Likewise.
41039 ($(objpfx)tst-initorder2.out): Likewise.
41040 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41041 $(test-program-cmd).
41042 ($(objpfx)tst-array1-static.out): Likewise.
41043 ($(objpfx)tst-array2.out): Likewise.
41044 ($(objpfx)tst-array3.out): Likewise.
41045 ($(objpfx)tst-array4.out): Likewise.
41046 ($(objpfx)tst-array5.out): Likewise.
41047 ($(objpfx)tst-array5-static.out): Likewise.
41048 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41049 $(test-program-cmd).
41050 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41051 $(run-program-prefix) with $(test-program-prefix).
41052 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41053 (test_program_prefix): This.
41054 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41055 $(run-program-prefix) with $(test-program-prefix).
41056 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41057 (test_program_prefix): This.
41058 * iconvdata/tst-tables.sh: Likewise.
41059 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41060 $(run-program-prefix) with $(test-program-prefix).
41061 ($(objpfx)tst-translit.out): Likewise.
41062 ($(objpfx)tst-gettext2.out): Likewise.
41063 ($(objpfx)tst-gettext4.out): Likewise.
41064 ($(objpfx)tst-gettext6.out): Likewise.
41065 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41066 (test_program_prefix): This.
41067 * intl/tst-gettext2.sh: Likewise.
41068 * intl/tst-gettext4.sh Likewise.
41069 * intl/tst-gettext6.sh: Likewise.
41070 * intl/tst-translit.sh: Likewise.
41071 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41072 with $(test-program-cmd).
41073 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41074 $(run-program-prefix) with $(test-program-prefix).
41075 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41076 (test_program_prefix): This.
41077 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41078 $(run-program-prefix) with $(test-program-prefix).
41079 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41080 (test_program_prefix): This.
41081 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41082 * posix/Makefile ($(objpfx)globtest.out): Replace
41083 $(run-via-rtld-prefix) and $(test-wrapper) with
41084 $(test-program-prefix) and $(test-via-rtld-prefix).
41085 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41086 $(test-program-prefix).
41087 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41088 $(host-test-program-cmd).
41089 (tst-spawn-ARGS): Likewise.
41090 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41091 $(test-program-prefix).
41092 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41093 (test_via_rtld_prefix): This.
41094 (test_wrapper): Renamed to ...
41095 (test_program_prefix): This.
41096 (run_program_prefix): Replaced by test_program_prefix.
41097 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41098 (test_program_prefix): This.
41099 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41100 with $(host-test-program-cmd).
41101 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41102 $(run-program-prefix) with $(test-program-prefix).
41103 ($(objpfx)tst-printf.out): Likewise.
41104 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41105 $(test-program-cmd).
41106 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41107 (test_program_prefix): This.
41108 * stdio-common/tst-unbputc.sh: Likewise.
41109 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41110 $(run-program-prefix) with $(test-program-prefix).
41111 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41112 (test_program_prefix): This.
41113 * string/Makefile ($(objpfx)tst-svc.out): Replace
41114 $(built-program-cmd) with $(test-program-cmd).
41115
41116 2013-01-11 Andreas Jaeger <aj@suse.de>
41117
41118 [BZ #15003]
41119 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41120 value. Sync with Linux 3.7.
41121
41122 2013-01-10 David S. Miller <davem@davemloft.net>
41123
41124 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41125 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41126 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41127
41128 2013-01-10 Roland McGrath <roland@hack.frob.com>
41129
41130 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41131 never set.
41132 * configure: Regenerated.
41133
41134 2013-01-10 David S. Miller <davem@davemloft.net>
41135
41136 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41137 sparc V9 rather than using V8 code.
41138 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41139 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41140
41141 2013-01-10 Roland McGrath <roland@hack.frob.com>
41142
41143 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41144 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41145 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41146 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41147 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41148 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41149 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41150 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41151 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41152 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41153 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41154 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41155 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41156 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41157 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41158 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41159 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41160 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41161 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41162 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41163 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41164 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41165 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41166 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41167 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41168 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41169 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41170
41171 2013-01-10 David S. Miller <davem@davemloft.net>
41172
41173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41174
41175 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41176
41177 * posix/Makefile (tests-static): New variable.
41178 (tests): Add $(tests-static).
41179 (tst-exec-static-ARGS): New variable.
41180 (tst-spawn-static-ARGS): Likewise.
41181 * posix/tst-exec-static.c: New file.
41182 * posix/tst-spawn-static.c: Likewise.
41183 * posix/tst-exec.c: Support run directly.
41184 * posix/tst-spawn.c: Likewise.
41185
41186 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41187
41188 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41189 long.
41190 * math/bits/mathcalls.h (llrint): Likewise.
41191 (llround): Likewise.
41192 * stdlib/stdlib.h (struct drand48_data): Likewise.
41193 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41194 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41195 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41196 Likewise.
41197 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41198 Likewise.
41199 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41200 (elf_greg_t): Likewise.
41201 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41202 (__jmp_buf): Likewise.
41203 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41204 definitions.
41205 (llrint): Likewise, for all definitions.
41206 (llrintl): Likewise.
41207
41208 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41209 Remove [__GNUC__] condition.
41210 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41211 condition to just [__USE_ISOC99].
41212 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41213
41214 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41215
41216 [BZ #14200]
41217 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41218 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41219 defined.
41220 (_POSIX_V6_ILP32_OFF32): Likewise.
41221 (_XBS5_ILP32_OFF32): Likewise.
41222 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41223 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41224
41225 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41226
41227 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41228
41229 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41230 doubles __mpexp_twomm1. Adjust usage.
41231 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41232 Remove.
41233
41234 2013-01-10 Andreas Schwab <schwab@suse.de>
41235
41236 [BZ #14964]
41237 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41238 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41239
41240 2013-01-09 David S. Miller <davem@davemloft.net>
41241
41242 [BZ #15003]
41243 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41244 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41245 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41246 (TCP_FASTOPEN): Define.
41247 (tcp_repair_opt): New structure.
41248 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41249 enum values.
41250 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41251 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41252 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41253 (tcp_cookie_transactions): New structure.
41254
41255 2013-01-09 Anton Blanchard <anton@samba.org>
41256
41257 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41258 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41259 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41260 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41261
41262 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41263
41264 * include/features.h (__USE_ANSI): Remove.
41265
41266 2013-01-09 Roland McGrath <roland@hack.frob.com>
41267
41268 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41269
41270 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41271
41272 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41273
41274 * sysdeps/s390/fpu/libm-test-ulps: Update.
41275
41276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41277
41278 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41279 (__acr): Likewise.
41280 (__cpy): Likewise.
41281 (norm): Likewise.
41282 (denorm): Likewise.
41283 (__mp_dbl): Likewise.
41284 (__dbl_mp): Likewise.
41285 (add_magnitudes): Likewise.
41286 (sub_magnitudes): Likewise.
41287 (__add): Likewise.
41288 (__sub): Likewise.
41289 (__mul): Likewise.
41290 (__inv): Likewise.
41291 (__dvd): Likewise.
41292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41293 (__acr): Likewise.
41294 (__cpy): Likewise.
41295 (norm): Likewise.
41296 (denorm): Likewise.
41297 (__mp_dbl): Likewise.
41298 (__dbl_mp): Likewise.
41299 (add_magnitudes): Likewise.
41300 (sub_magnitudes): Likewise.
41301 (__add): Likewise.
41302 (__sub): Likewise.
41303 (__mul): Likewise.
41304 (__inv): Likewise.
41305 (__dvd): Likewise.
41306 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41307 (__acr): Likewise.
41308 (__cpy): Likewise.
41309 (norm): Likewise.
41310 (denorm): Likewise.
41311 (__mp_dbl): Likewise.
41312 (__dbl_mp): Likewise.
41313 (add_magnitudes): Likewise.
41314 (sub_magnitudes): Likewise.
41315 (__add): Likewise.
41316 (__sub): Likewise.
41317 (__mul): Likewise.
41318 (__inv): Likewise.
41319 (__dvd): Likewise.
41320
41321 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41322
41323 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41324 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41325 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41326 2 && __USE_EXTERN_INLINES]: Likewise.
41327
41328 2013-01-08 Andreas Jaeger <aj@suse.de>
41329
41330 [BZ# 14985]
41331 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41332 Remove.
41333 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41334 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41335
41336 2013-01-07 Anton Blanchard <anton@samba.org>
41337
41338 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41339 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41340 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41341 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41342 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41343 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41344 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41345 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41347 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41348 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41349 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41350 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41351 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41352 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41353 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41354 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41355 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41356 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41357 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41358 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41359 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41360 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41361 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41362 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41363 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41364 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41365 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41366 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41367 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41368 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41370 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41371 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41372 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41373 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41374 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41375 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41376 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41377 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41378 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41379 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41380 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41381
41382 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41383
41384 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41385 (__MALLOC_PMT): Likewise.
41386 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41387 [__GNUC__], only on [_LIBC].
41388 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41389 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41390 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41391 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41392 forward declaration.
41393 (realloc_hook_ini): Likewise.
41394 (memalign_hook_ini): Likewise.
41395 (__libc_memalign): Do not use __MALLOC_PMT in variable
41396 declaration.
41397 (__libc_valloc): Likewise.
41398 (__libc_pvalloc): Likewise.
41399 (__libc_calloc): Likewise.
41400 (__posix_memalign): Likewise.
41401
41402 [BZ #14996]
41403 * math/s_casinh.c: Include <float.h>.
41404 (__casinh): Do not do computation with squaring and square root
41405 for large arguments.
41406 * math/s_casinhf.c: Include <float.h>.
41407 (__casinhf): Do not do computation with squaring and square root
41408 for large arguments.
41409 * math/s_casinhl.c: Include <float.h>.
41410 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41411 (__casinhl): Do not do computation with squaring and square root
41412 for large arguments.
41413 * math/libm-test.inc (casin_test): Add more tests.
41414 (casinh_test): Likewise.
41415 * sysdeps/i386/fpu/libm-test-ulps: Update.
41416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41417
41418 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41419
41420 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41421 (__x86_64_raw_data_cache_size): Likewise.
41422 (__x86_64_data_cache_size_half): Likewise.
41423 (__x86_64_raw_data_cache_size_half): Likewise.
41424 (__x86_64_shared_cache_size): Likewise.
41425 (__x86_64_raw_shared_cache_size): Likewise.
41426 (__x86_64_shared_cache_size_half): Likewise.
41427 (__x86_64_raw_shared_cache_size_half): Likewise.
41428 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41429 to ...
41430 (__x86_data_cache_size): This.
41431 (__x86_64_raw_data_cache_size): Renamed to ...
41432 (__x86_raw_data_cache_size): This.
41433 (__x86_64_data_cache_size_half): Renamed to ...
41434 (__x86_data_cache_size_half): This.
41435 (__x86_64_raw_data_cache_size_half): Renamed to ...
41436 (__x86_raw_data_cache_size_half): This.
41437 (__x86_64_shared_cache_size): Renamed to ...
41438 (__x86_shared_cache_size): This.
41439 (__x86_64_raw_shared_cache_size): Renamed to ...
41440 (__x86_raw_shared_cache_size): This.
41441 (__x86_64_shared_cache_size_half): Renamed to ...
41442 (__x86_shared_cache_size_half): This.
41443 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41444 (__x86_raw_shared_cache_size_half): This.
41445 * sysdeps/x86_64/memcpy.S: Updated.
41446 * sysdeps/x86_64/memset.S: Likewise.
41447 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41448 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41449 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41450
41451 2013-01-04 David S. Miller <davem@davemloft.net>
41452
41453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41454
41455 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41456
41457 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41458 1 to avoid redefinition warning.
41459 (__USE_GNU): Don't define.
41460 (init_signaling_nan): Protoize.
41461
41462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41463
41464 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41465
41466 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41468 (__cpymn): Likewise.
41469 (norm): Remove commented code.
41470 (denorm): Likewise.
41471 (__mp_dbl): Likewise.
41472 (__inv): Likewise.
41473 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41474 (__cpymn): Likewise.
41475 (norm): Remove commented code.
41476 (denorm): Likewise.
41477 (__mp_dbl): Likewise.
41478 (__inv): Likewise.
41479
41480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41481 mp_no value for 1.0 and 2.0.
41482 (norm): Use RADIXI instead of radixi.d.
41483 (denorm): Likewise.
41484 (__mul): Use 0.0 instead of zero.d.
41485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41486 mp_no value for 1.0 and 2.0.
41487 (norm): Use RADIXI instead of radixi.d.
41488 (denorm): Likewise.
41489 (__mul): Use 0.0 instead of zero.d.
41490
41491 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41492
41493 [BZ #14994]
41494 * math/s_casinh.c (__casinh): Reduce finite argument to first
41495 quadrant then set signs of results at the end.
41496 * math/s_casinhf.c (__casinhf): Likewise.
41497 * math/s_casinhl.c (__casinhl): Likewise.
41498 * math/libm-test.inc (casin_test): Add more tests.
41499 (casinh_test): Likewise.
41500 * sysdeps/i386/fpu/libm-test-ulps: Update.
41501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41502
41503 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41504
41505 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41506
41507 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41508
41509 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41510 declarations.
41511 (denorm): Likewise.
41512 (__mp_dbl): Likewise.
41513 (__inv): Likewise.
41514
41515 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41516 and adjust the header comment.
41517
41518 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41519 variable name from declaration.
41520
41521 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
41522
41523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41524 Initialize COMMON_CPUID_INDEX_7 element.
41525 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41526 (CPUID_RTM): Likewise.
41527 (HAS_RTM): Likewise.
41528 (COMMON_CPUID_INDEX_7): New enum.
41529
41530 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
41531
41532 [BZ #14981]
41533 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41534 size is zero, record memory as freed.
41535
41536 2013-01-03 Andreas Jaeger <aj@suse.de>
41537
41538 * po/ia.po: Add new Interlingua translation.
41539
41540 2012-01-03 Allan McRae <allan@archlinux.org>
41541
41542 * locale/programs/localedef.c: Fix description of '--posix' flag.
41543
41544 2013-01-02 Joseph Myers <joseph@codesourcery.com>
41545
41546 * NEWS: Update dates in second copyright notice.
41547 * README: Update copyright dates in example.
41548 * manual/libc.texinfo: Update copyright dates.
41549 * scripts/test-installation.pl: Update copyright date in --version
41550 output.
41551
41552 * hurd/ctty-input.c: Fix copyright notice formatting.
41553 * hurd/ctty-output.c: Likewise.
41554 * hurd/dtable.c: Likewise.
41555 * hurd/hurd-raise.c: Likewise.
41556 * hurd/hurdprio.c: Likewise.
41557 * hurd/msgportdemux.c: Likewise.
41558 * misc/sys/file.h: Likewise.
41559 * misc/sys/ioctl.h: Likewise.
41560 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41561 * sysdeps/mach/hurd/chdir.c: Likewise.
41562 * sysdeps/mach/hurd/fchdir.c: Likewise.
41563 * sysdeps/mach/hurd/rename.c: Likewise.
41564 * sysdeps/mach/hurd/rmdir.c: Likewise.
41565 * sysdeps/mach/hurd/seekdir.c: Likewise.
41566 * sysdeps/mach/hurd/setsid.c: Likewise.
41567 * sysdeps/posix/wait3.c: Likewise.
41568
41569 * All files with FSF copyright notices: Update copyright dates
41570 using scripts/update-copyrights.
41571 * intl/plural.c: Regenerated.
41572 * locale/programs/charmap-kw.h: Likewise.
41573 * locale/programs/locfile-kw.h: Likewise.
41574
41575 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41576
41577 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41578 four values.
41579
41580 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41581 calculation loop and add branch prediction.
41582
41583 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41584 check access beyond bounds of m1np.
41585
41586 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41587 MPTWO.
41588 (__inv): Remove local variable MPTWO to use the global
41589 constant.
41590 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41591 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41592 variable MPTWO.
41593 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41594 MP3HALFS static const.
41595
41596 2013-01-01 David S. Miller <davem@davemloft.net>
41597
41598 * po/ca.po: Update from translation team.
41599
41600 2013-01-01 Joseph Myers <joseph@codesourcery.com>
41601
41602 * scripts/update-copyrights: New file.
41603 * Makeconfig: Reformat copyright notice.
41604 * ctype/ctype.h: Likewise.
41605 * debug/swprintf_chk.c: Likewise.
41606 * elf/dl-cache.c: Likewise.
41607 * elf/dl-debug.c: Likewise.
41608 * elf/dl-object.c: Likewise.
41609 * grp/initgroups.c: Likewise.
41610 * hurd/Makefile: Likewise.
41611 * hurd/hurd/signal.h: Likewise.
41612 * hurd/hurdfault.c: Likewise.
41613 * hurd/hurdioctl.c: Likewise.
41614 * hurd/hurdlookup.c: Likewise.
41615 * hurd/intr-msg.c: Likewise.
41616 * iconv/gconv_open.c: Likewise.
41617 * libio/swprintf.c: Likewise.
41618 * locale/lc-ctype.c: Likewise.
41619 * locale/nl_langinfo.c: Likewise.
41620 * mach/Machrules: Likewise.
41621 * mach/Makefile: Likewise.
41622 * malloc/obstack.h: Likewise.
41623 * manual/Makefile: Likewise.
41624 * manual/tsort.awk: Likewise.
41625 * misc/bits/stab.def: Likewise.
41626 * nis/nis_print_group_entry.c: Likewise.
41627 * nis/nis_table.c: Likewise.
41628 * nis/nss_compat/compat-pwd.c: Likewise.
41629 * nis/nss_compat/compat-spwd.c: Likewise.
41630 * po/Makefile: Likewise.
41631 * posix/fnmatch.c: Likewise.
41632 * posix/regex.h: Likewise.
41633 * resolv/Makefile: Likewise.
41634 * resolv/nss_dns/dns-network.c: Likewise.
41635 * resolv/res_hconf.c: Likewise.
41636 * scripts/gen-sorted.awk: Likewise.
41637 * soft-fp/soft-fp.h: Likewise.
41638 * stdio-common/printf.h: Likewise.
41639 * stdlib/monetary.h: Likewise.
41640 * stdlib/random.c: Likewise.
41641 * stdlib/random_r.c: Likewise.
41642 * sysdeps/generic/Makefile: Likewise.
41643 * sysdeps/gnu/Makefile: Likewise.
41644 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41645 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41646 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41647 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41648 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41649 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41650 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41651 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41652 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41653 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41654 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41655 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41656 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41657 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41658 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41659 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41660 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41661 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41662 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41664 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41665 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41666 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41667 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41668 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41669 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41670 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41671 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41672 * sysdeps/mach/hurd/errnos.awk: Likewise.
41673 * sysdeps/mach/hurd/fork.c: Likewise.
41674 * sysdeps/mach/hurd/getcwd.c: Likewise.
41675 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41676 * sysdeps/mach/hurd/mmap.c: Likewise.
41677 * sysdeps/mach/hurd/utimes.c: Likewise.
41678 * sysdeps/mach/hurd/xmknod.c: Likewise.
41679 * sysdeps/posix/profil.c: Likewise.
41680 * sysdeps/posix/readdir_r.c: Likewise.
41681 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41682 * sysdeps/powerpc/bits/setjmp.h: Likewise.
41683 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41684 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41686 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41687 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41688 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41689 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41690 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41691 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41692 * sysdeps/pthread/lio_listio.c: Likewise.
41693 * sysdeps/sparc/dl-procinfo.h: Likewise.
41694 * sysdeps/unix/i386/sysdep.S: Likewise.
41695 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41696 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41697 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41698 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41700 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41701 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41702 * sysdeps/unix/sysv/linux/speed.c: Likewise.
41703 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41704 * sysdeps/wordsize-32/divdi3.c: Likewise.
41705 * time/sys/time.h: Likewise.
41706 * wcsmbs/Makefile: Likewise.
41707
41708 2013-01-01 David S. Miller <davem@davemloft.net>
41709
41710 * po/fr.po: Update from translation team.
41711
41712 * catgets/gencat.c: Update copyright year.
41713 * csu/version.c: Likewise.
41714 * debug/catchsegv.sh: Likewise.
41715 * debug/pcprofiledump.c: Likewise.
41716 * debug/xtrace.sh: Likewise.
41717 * elf/ldconfig.c: Likewise.
41718 * elf/ldd.bash.in: Likewise.
41719 * elf/pldd.c: Likewise.
41720 * elf/sotruss.ksh: Likewise.
41721 * elf/sprof.c: Likewise.
41722 * iconv/iconv_prog.c: Likewise.
41723 * iconv/iconvconfig.c: Likewise.
41724 * locale/programs/locale.c: Likewise.
41725 * locale/programs/localedef.c: Likewise.
41726 * login/programs/pt_chown.c: Likewise.
41727 * malloc/memusage.sh: Likewise.
41728 * malloc/memusagestat.c: Likewise.
41729 * malloc/mtrace.pl: Likewise.
41730 * nscd/nscd.c: Likewise.
41731 * nss/getent.c: Likewise.
41732 * nss/makedb.c: Likewise.
41733 * posix/getconf.c: Likewise.
41734
41735 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41736
41737 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41738 numbers.
41739
41740 2012-12-30 Mike Frysinger <vapier@gentoo.org>
41741
41742 * math/bits/mathcalls.h (modf): Use __nonnull.
41743
41744 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41745
41746 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41747 (split): Use macro CN instead of the bare value.
41748 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41749 could be used.
41750 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41751 instead of the bare value.
41752 (power1): Likewise.
41753
41754 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41755
41756 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41757 __ATAN_TWOM.
41758 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41759
41760 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41761 their values.
41762 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41763 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41764 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41765 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41766
41767 2012-12-28 Andreas Jaeger <aj@suse.de>
41768
41769 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
41770 values are from Linux 3.7.
41771
41772 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41773 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
41774
41775 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41776
41777 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41778 TRUE case.
41779
41780 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41781 (norm): Likewise.
41782 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41783 variables with preprocessor constants.
41784 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41785 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41786 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41787
41788 2012-12-27 Bruno Haible <bruno@clisp.org>
41789
41790 [BZ #14317]
41791 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41792 only if needed.
41793
41794 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41795
41796 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41797 and use variable directly.
41798 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41799
41800 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41801 MPONE.
41802 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41803 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41804 variable MPONE.
41805 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41806 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41807 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41808 include directive. Remove local variable MPONE.
41809 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41810 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41811 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41812
41813 2012-12-25 David S. Miller <davem@davemloft.net>
41814
41815 * version.h (RELEASE): Set to "development".
41816 (VERSION): Set to "2.17.90".
41817 * NEWS: Add 2.18 section.
41818
41819 2012-12-21 David S. Miller <davem@davemloft.net>
41820
41821 * po/hr.po: Update from translation team.
41822
41823 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41824
41825 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41826
41827 2012-12-19 Steve Ellcey <sellcey@mips.com>
41828
41829 * NEWS: Mention new memcpy for MIPS.
41830
41831 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41832
41833 * manual/contrib.texi (Contributors): Spelling correction.
41834
41835 2012-12-15 David S. Miller <davem@davemloft.net>
41836
41837 * po/ru.po: Update from translation team.
41838
41839 2012-12-13 David S. Miller <davem@davemloft.net>
41840
41841 * NEWS: Mention IFUNC testsuite enhancements.
41842
41843 * po/pl.po: Update from translation team.
41844 * po/bg.po: Likewise.
41845
41846 * manual/contrib.texi (Contributors): Update entries for Hongjiu
41847 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
41848
41849 2012-12-11 David S. Miller <davem@davemloft.net>
41850
41851 * po/sv.po: Update from translation team.
41852
41853 * po/vi.po: Update from translation team.
41854
41855 * po/cs.po: Update from translation team.
41856
41857 * po/de.po: Update from translation team.
41858 * po/eo.po: Likewise.
41859 * po/nl.po: Likewise.
41860
41861 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41862
41863 [BZ #14246]
41864 * manual/argp.texi (Argp Helper Functions): Move node to follow
41865 Argp Parsing State.
41866
41867 [BZ #14872]
41868 * manual/conf.texi (Limits on File System Capacity): Mention if
41869 terminating null is included in the max size.
41870
41871 2012-12-10 Andreas Jaeger <aj@suse.de>
41872
41873 * po/cs.po: Update from translation team.
41874
41875 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
41876
41877 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41878 void pointer and cast to uintptr_t.
41879 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41880 path.
41881 * sysdeps/s390/s390-64/memcpy.S: Likewise.
41882 * sysdeps/s390/s390-64/memset.S: Likewise.
41883
41884 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
41885
41886 [BZ #14833]
41887 * menual/message.texi (Message Translation): Fix typos.
41888 (Helper programs for gettext): Likewise.
41889
41890 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
41891
41892 [BZ #14898]
41893 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41894 Change to -1.
41895
41896 2012-12-07 David S. Miller <davem@davemloft.net>
41897
41898 * po/libc.pot: Update.
41899
41900 2012-12-07 Richard Henderson <rth@redhat.com>
41901
41902 [BZ #10114]
41903 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41904 normal/normal case to before the switch.
41905 (_FP_DIV): Likewise.
41906
41907 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
41908 Mike Frysinger <vapier@gentoo.org>
41909
41910 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41911 check for __NR_fadvise64_64.
41912
41913 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
41914
41915 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41916 0, not just to plain "0" as a statement.
41917 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41918 with cw.
41919
41920 2012-12-06 Joseph Myers <joseph@codesourcery.com>
41921
41922 * NEWS: Use sourceware.org in Bugzilla URL.
41923
41924 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41925
41926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41927 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41928
41929 * stdio-common/tst-put-error.c (do_test): Add newline to the
41930 padded test to ensure flush.
41931
41932 2012-12-05 Jeff Law <law@redhat.com>
41933
41934 * sunrpc/etc.rpc (fedfs_admin): Add entry.
41935
41936 2012-12-05 Joseph Myers <joseph@codesourcery.com>
41937
41938 * README: Don't refer to ports add-on as distributed separately.
41939 Mention AArch64 in list of systems supported in the ports add-on.
41940
41941 * LICENSES: Add more non-FSF copyright and license notices.
41942
41943 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41944 ((unused)).
41945
41946 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41947
41948 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41949 10000 as width of padded output.
41950
41951 2012-12-04 Joseph Myers <joseph@codesourcery.com>
41952
41953 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41954
41955 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41956 variable LX with __attribute__ ((unused)).
41957 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41958 Likewise.
41959 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41960 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41961 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41962 with __attribute__ ((unused)).
41963
41964 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
41965
41966 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41967
41968 2012-12-04 Joseph Myers <joseph@codesourcery.com>
41969
41970 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41971 (CFLAGS-nldbl-acos.c): New variable.
41972 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41973 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41974 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41975 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41976 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41977 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41978 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41979 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41980 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41981 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41982 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41983 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41984 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41985 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41986 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41987 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41988 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41989 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41990 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41991 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41992 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41993 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41994 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41995 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41996 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41997 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41998 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41999 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42000 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42001 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42002 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42003 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42004 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42005 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42006 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42007 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42008 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42009 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42010 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42011 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42012 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42013 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42014 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42015 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42016 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42017 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42018 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42019 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42020 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42021 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42022 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42023 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42024 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42025 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42026 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42027 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42028 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42029 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42030 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42031 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42032 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42033 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42034 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42035 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42036 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42037 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42038 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42039 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42040 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42041 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42042 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42043 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42044 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42045 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42046 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42047 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42048 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42049 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42050 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42051 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42052 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42053 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42054 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42055 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42056 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42057 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42058 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42059 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42060 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42061 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42062 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42063 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42064 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42065 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42066 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42067 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42068 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42069
42070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42071 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42072
42073 [BZ #14914]
42074 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42075 whole low double instead of just low 47 bits when splitting values
42076 into two parts.
42077
42078 2012-12-03 Allan McRae <allan@archlinux.org>
42079
42080 * manual/stdio.texi (Predefined Printf Handlers): Remove
42081 @hsep and @vsep usage.
42082
42083 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42084
42085 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42086 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42087
42088 2012-12-03 Jeff Law <law@redhat.com>
42089
42090 * time/sys/time.h (settimeofday): Do not mark TV argument
42091 as __nonnull.
42092
42093 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42094
42095 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42096 when currently writing and seek to current position when not.
42097 * libio/Makefile (tests): Remove bug-fclose1.
42098 * libio/bug-fclose1.c: Delete.
42099
42100 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42101
42102 * manual/arith.texi (feenableexcept): Fix typo.
42103 (fedisableexcept): Likewise.
42104
42105 2012-11-30 Roland McGrath <roland@hack.frob.com>
42106
42107 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42108 second, differently-typed declaration, rather than a cast.
42109
42110 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42111
42112 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42113 * include/rpc/svc.h: ... here.
42114
42115 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42116
42117 [BZ #13013]
42118 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42119 depending n and resplen2 to catch cases where answer
42120 equals answerp2.
42121
42122 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42123
42124 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42125 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42126
42127 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42128
42129 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42130
42131 2012-11-29 Roland McGrath <roland@hack.frob.com>
42132
42133 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42134
42135 2012-11-28 Jeff Law <law@redhat.com>
42136
42137 [BZ #13761]
42138 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42139 dataset_temporary. Track alloca usage into alloca_used.
42140 If dataset is large allocate and release it via malloc/free.
42141
42142 2012-06-04 Florian Weimer <fweimer@redhat.com>
42143
42144 [BZ #14197]
42145 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42146
42147 2012-11-28 David S. Miller <davem@davemloft.net>
42148
42149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42150
42151 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42152
42153 [BZ #14803]
42154 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42155 of pi/2 rounded to nearest to 64 bits.
42156 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42157 nearest to 64 bits.
42158 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42159 bits.
42160
42161 2012-11-28 Jeff Law <law@redhat.com>
42162 Martin Osvald <mosvald@redhat.com>
42163
42164 [BZ #14889]
42165 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42166 * sunrpc/svc.c: Include time.h.
42167 (__svc_accept_failed): New function.
42168 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42169 any reason other than EINTR, call __svc_accept_failed.
42170 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42171 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42172
42173 2012-11-28 Andreas Schwab <schwab@suse.de>
42174
42175 * scripts/abilist.awk: Also handle indirect functions in .opd
42176 section.
42177
42178 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42179
42180 [BZ #13881]
42181 * sysdeps/x86/fpu/powl_helper.c: New file.
42182 * sysdeps/x86/fpu/Makefile: Likewise.
42183 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42184 (p3): New object.
42185 (__ieee754_powl): Use __powl_helper for finite arguments except
42186 integer exponents below 8.
42187 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42188 (p3): New object.
42189 (__ieee754_powl): Use __powl_helper for finite arguments except
42190 integer exponents below 8.
42191 * math/libm-test.inc (pow_test): Add more tests and enable some
42192 previously disabled tests.
42193 * sysdeps/i386/fpu/libm-test-ulps: Update.
42194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42195
42196 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42197 Carlos O'Donell <carlos_odonell@mentor.com>
42198
42199 * nss/makedb.c (is_prime): Assert that input is odd and greater
42200 than 4. Note that fact in a comment too.
42201 (next_prime): Add 4 to input.
42202
42203 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42204
42205 [BZ #11741]
42206 * libio/Makefile (tests): Add test case tst-fwrite-error.
42207 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42208 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42209 * libio/tst-fwrite-error.c: New test case.
42210
42211 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42212
42213 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42214 before casting to void *.
42215 * include/libc-internal.h (__pointer_type): New macro.
42216 (__integer_if_pointer_type_sub): Likewise.
42217 (__integer_if_pointer_type): Likewise.
42218 (cast_to_integer): Likewise.
42219 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42220 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42221 before casting to atomic64_t.
42222 (atomic_exchange_acq): Likewise.
42223 (__arch_exchange_and_add_body): Likewise.
42224 (__arch_add_body): Likewise.
42225 (atomic_add_negative): Likewise.
42226 (atomic_add_zero): Likewise.
42227
42228 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42229
42230 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42231 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42232 (add_fdes): Likewise.
42233 (linear_search_fdes): Likewise.
42234 (binary_search_unencoded_fdes): Likewise.
42235
42236 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42237
42238 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42239
42240 2012-11-24 Adam Conrad <adconrad@0c3.net>
42241
42242 * configure.in: Autodetect C++ header directories.
42243 * configure: Regenerated.
42244
42245 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42246
42247 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42248
42249 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42250
42251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42252
42253 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42254
42255 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42256 LDBL_MANT_DIG == 106]: Disable some tests.
42257 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42258 Likewise.
42259 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42260 Likewise.
42261
42262 [BZ #14871]
42263 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42264 input for small inputs. Return +/- pi/2 for large inputs.
42265 * math/libm-test.inc (atan_test): Add more tests.
42266
42267 * sysdeps/generic/unwind-dw2-fde-glibc.c
42268 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42269 __attribute__ ((unused)).
42270
42271 [BZ #14645]
42272 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42273 x * y if x and y are nonzero and z is zero.
42274
42275 [BZ #14811]
42276 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42277 nonzero exponents with absolute value below 0x1p-117 to +/-
42278 0x1p-117.
42279
42280 [BZ #14869]
42281 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42282 up arguments below 2**-450, not just those below 2**-500.
42283 * math/libm-test.inc (hypot_test): Add another test.
42284
42285 [BZ #14868]
42286 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42287 Return a+b for ratio over 2**120, not 2**60.
42288 * math/libm-test.inc (hypot_test): Add another test.
42289
42290 * math/libm-test.inc (clog_test): Use
42291 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42292 (clog10_test): Likewise.
42293
42294 [BZ #6778]
42295 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42296
42297 2012-11-22 Andreas Schwab <schwab@suse.de>
42298
42299 * sysdeps/i386/fpu/libm-test-ulps: Update.
42300
42301 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42302
42303 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42304 printf output with newline.
42305
42306 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42307
42308 [BZ #14865]
42309 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42310 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42311 -z nodlopen, -z initfirst and -z execstack support.
42312 * configure: Regenerated.
42313
42314 * elf/elf.h (DF_1_NODIRECT): New macro.
42315 (DF_1_IGNMULDEF): Likewise.
42316 (DF_1_NOKSYMS): Likewise.
42317 (DF_1_NOHDR): Likewise.
42318 (DF_1_EDITED): Likewise.
42319 (DF_1_NORELOC): Likewise.
42320 (DF_1_SYMINTPOSE): Likewise.
42321 (DF_1_GLOBAUDIT): Likewise.
42322 (DF_1_SINGLETON): Likewise.
42323 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42324 DT_1_SUPPORTED_MASK bits.
42325 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42326
42327 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42328
42329 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42330
42331 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42332
42333 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42334 macro.
42335
42336 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42337 (sendmmsg): Move declarations...
42338 * socket/sys/socket.h: ... here.
42339 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42340 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42341 include it from...
42342 * socket/recvmmsg.c: ... this new file.
42343 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42344 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42345 definition of __sendmmsg hidden.
42346 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42347 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42348 Move ENOSYS stub into and include it from...
42349 * socket/sendmmsg.c: ... this new file.
42350 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42351 (sysdep_routines): Move recvmmsg and sendmmsg...
42352 * socket/Makefile (routines): ... here.
42353 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42354 (GLIBC_PRIVATE): Add __sendmmsg.
42355 * include/sys/socket.h (__sendmmsg): Add declarations.
42356 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42357 sendmmsg.
42358
42359 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42360
42361 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42362 variable I1 with __attribute__ ((unused)).
42363 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42364
42365 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42366
42367 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42368 DUMMY variables with __attribute__ ((unused)).
42369
42370 * bits/byteswap.h: Include <bits/types.h>.
42371 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42372
42373 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42374
42375 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42376 string_t. Do not manually set errno.
42377 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42378 length with __strnlen. Make sure to both set errno and return it on
42379 failure.
42380
42381 2012-11-19 David S. Miller <davem@davemloft.net>
42382
42383 With help from Joseph Myers.
42384 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42385 very large arguments properly.
42386 * math/libm-test.inc (atan_test): New tests.
42387 (atan2_test): New tests.
42388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42390
42391 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42392
42393 [BZ #14856]
42394 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42395 Define to 3.
42396
42397 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42398 [POSIX] (EADDRNOTAVAIL): Likewise.
42399 [POSIX] (EAFNOSUPPORT): Likewise.
42400 [POSIX] (EALREADY): Likewise.
42401 [POSIX] (ECONNABORTED): Likewise.
42402 [POSIX] (ECONNREFUSED): Likewise.
42403 [POSIX] (ECONNRESET): Likewise.
42404 [POSIX] (EDESTADDRREQ): Likewise.
42405 [POSIX] (EDQUOT): Likewise.
42406 [POSIX] (EHOSTUNREACH): Likewise.
42407 [POSIX] (EIDRM): Likewise.
42408 [POSIX] (EISCONN): Likewise.
42409 [POSIX] (ELOOP): Likewise.
42410 [POSIX] (EMULTIHOP): Likewise.
42411 [POSIX] (ENETDOWN): Likewise.
42412 [POSIX] (ENETUNREACH): Likewise.
42413 [POSIX] (ENOBUFS): Likewise.
42414 [POSIX] (ENODATA): Likewise.
42415 [POSIX] (ENOLINK): Likewise.
42416 [POSIX] (ENOMSG): Likewise.
42417 [POSIX] (ENOPROTOOPT): Likewise.
42418 [POSIX] (ENOSR): Likewise.
42419 [POSIX] (ENOSTR): Likewise.
42420 [POSIX] (ENOTCONN): Likewise.
42421 [POSIX] (ENOTSOCK): Likewise.
42422 [POSIX] (EOPNOTSUPP): Likewise.
42423 [POSIX] (EOVERFLOW): Likewise.
42424 [POSIX] (EPROTO): Likewise.
42425 [POSIX] (EPROTONOSUPPORT): Likewise.
42426 [POSIX] (EPROTOTYPE): Likewise.
42427 [POSIX] (ESTALE): Likewise.
42428 [POSIX] (ETIME): Likewise.
42429 [POSIX] (ETXTBSY): Likewise.
42430 [POSIX] (EWOULDBLOCK): Likewise.
42431 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42432 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42433 [POSIX] (SEEK_CUR): Likewise.
42434 [POSIX] (SEEK_END): Likewise.
42435 [POSIX || UNIX98] (mode_t): Do not require.
42436 [POSIX] (off_t): Likewise.
42437 [POSIX] (pid_t): Likewise.
42438 [POSIX] (sys/stat.h): Do not allow header.
42439 [POSIX] (unistd.h): Likewise.
42440 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42441 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42442 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42443 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42444 require.
42445 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42446 sigevent): Specify elements.
42447 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42448 entry.
42449 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42450 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42451
42452 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42453 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42454 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42455 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42456 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42457 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42458 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42459 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42460 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42461 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42462 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42463 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42464 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42465 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42466 Likewise.
42467 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42468 Likewise.
42469 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42470 Likewise.
42471 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42472 Likewise.
42473 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42474 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42475 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42476 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42477 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42478 Specify lower bound on value.
42479 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42480 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42481 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42482 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42483 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42484 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42485 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42486 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42487 value.
42488 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42489 as optional.
42490 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42491 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42492 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42493 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42494 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42495 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42496 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42497 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42498 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42499 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42500 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42501 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42502 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42503 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42504 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42505 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42506 entry.
42507 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42508 optional.
42509 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42510 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42511 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42512 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42513 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42514 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42515 Likewise.
42516 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42517 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42518 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42519 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42520 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
42521 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42522 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42523 as optional.
42524 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42525 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42526 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42527 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42528 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42529 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42530 specify as optional.
42531 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42532 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42533 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42534 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42535 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42536 [XPG3] (NL_LANGMAX): Likewise.
42537 [POSIX || XPG3] (NL_MSGMAX): Likewise.
42538 [POSIX || XPG3] (NL_NMAX): Likewise.
42539 [POSIX || XPG3] (NL_SETMAX): Likewise.
42540 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42541 [XPG3] (NZERO): Likewise.
42542 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42543 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42544 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42545 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42546 (REG_ERANGE): Expect.
42547 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42548 optional-constant.
42549 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42550 Use (void) in prototype.
42551 [POSIX] (*_t): Allow.
42552 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42553 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42554 (WRDE_BADVAL): Expect.
42555
42556 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42557 expect.
42558 [XPG3 || XPG4] (O_RSYNC): Likewise.
42559 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42560 Likewise.
42561 [XPG3 || XPG4] (pthread_sigmask): Likewise.
42562 [XPG3 || XPG4] (sigqueue): Likewise.
42563 [XPG3 || XPG4] (sigtimedwait): Likewise.
42564 [XPG3 || XPG4] (sigwaitinfo): Likewise.
42565 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42566 [XPG3 || XPG4] (vsnprintf): Likewise.
42567 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42568 Likewise.
42569 [XPG3 || XPG4] (blksize_t): Likewise.
42570 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42571 Likewise.
42572 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42573 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42574 [XPG3 || XPG4] (struct itimerspec): Likewise.
42575 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42576 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42577 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42578 [XPG3 || XPG4] (clockid_t): Likewise.
42579 [XPG3 || XPG4] (timer_t): Likewise.
42580 [XPG3 || XPG4] (clock_getres): Likewise.
42581 [XPG3 || XPG4] (clock_gettime): Likewise.
42582 [XPG3 || XPG4] (clock_settime): Likewise.
42583 [XPG3 || XPG4] (nanosleep): Likewise.
42584 [XPG3 || XPG4] (timer_create): Likewise.
42585 [XPG3 || XPG4] (timer_delete): Likewise.
42586 [XPG3 || XPG4] (timer_gettime): Likewise.
42587 [XPG3 || XPG4] (timer_getoverrun): Likewise.
42588 [XPG3 || XPG4] (timer_settime): Likewise.
42589 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42590 [XPG3 || XPG4] (getlogin_r): Likewise.
42591 [XPG3 || XPG4] (pread): Likewise.
42592 [XPG3 || XPG4] (pthread_atfork): Likewise.
42593 [XPG3 || XPG4] (pwrite): Likewise.
42594
42595 [BZ #14835]
42596 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42597 <bits/siginfo.h>.
42598
42599 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42600
42601 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42602 finalizing MALLSTREAM.
42603
42604 * sysdeps/mach/hurd/syncfs.c: New file.
42605
42606 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42607
42608 [BZ #14719]
42609 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42610 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42611 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42612 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42613 (_nss_dns_gethostbyname4_r): Likewise.
42614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42615 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42616
42617 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
42618
42619 [BZ #13763]
42620 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42621
42622 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
42623
42624 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42625 * elf/cache.c (print_entry): Print ",AArch64" for
42626 FLAG_AARCH64_LIB64
42627
42628 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42629 * elf/cache.c (print_entry): Print ",hard-float" for
42630 FLAG_ARM_LIBHF.
42631
42632 2012-11-18 David S. Miller <davem@davemloft.net>
42633
42634 With help from Joseph Myers.
42635 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42636 cutoff to 2**-13.
42637 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42638 cutoff to 2**-25.
42639 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42640 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42641 small.
42642 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42643 * math/libm-test.inc (y0_test): New tests.
42644 (y1_test): New tests.
42645 * sysdeps/i386/fpu/libm-test-ulps: Update.
42646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42648
42649 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
42650
42651 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42652 64-bit targets.
42653 * configure: Regenerated.
42654
42655 2012-11-17 David S. Miller <davem@davemloft.net>
42656
42657 [BZ #14811]
42658 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42659 nonzero exponents with absolute value below 0x1p-128 to +/-
42660 0x1p-128.
42661
42662 2012-11-17 Joseph Myers <joseph@codesourcery.com>
42663
42664 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42665
42666 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42667
42668 * posix/getconf-speclist.c: New file.
42669 * posix/posix-envs.def: Likewise.
42670 * posix/confstr.c (START_ENV_GROUP): New macro.
42671 (END_ENV_GROUP): Likewise.
42672 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42673 (KNOWN_PRESENT_ENV_STRING): Likewise.
42674 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42675 (UNKNOWN_ENVIRONMENT): Likewise.
42676 (confstr): Include posix-envs.def instead of handling
42677 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42678 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42679 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42680 (END_ENV_GROUP): Likewise.
42681 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42682 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42683 (UNKNOWN_ENVIRONMENT): Likewise.
42684 (__sysconf): Include posix-envs.def instead of handling associated
42685 cases directly here.
42686 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42687 preprocessing getconf-speclist.c rather than running getconf or
42688 generating empty file.
42689
42690 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
42691
42692 * scripts/check-local-headers.sh: Ignore 'mach' headers.
42693
42694 2012-11-16 Andrej Lajovic <natrij@gmail.com>
42695
42696 [BZ #14672]
42697 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42698
42699 2012-11-16 David S. Miller <davem@davemloft.net>
42700
42701 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42702 smaller than LDBL_EPSILON/2.0L, just return xm1.
42703
42704 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
42705
42706 * elf/tst-array1.c (init): Set constructor priority to 1000.
42707 (fini): Set destructor priority to 1000.
42708 * elf/tst-array2dep.c: Likewise.
42709
42710 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42711
42712 [BZ #11741]
42713 * libio/fileops.c (_IO_new_file_write): Correctly return error.
42714 (_IO_new_file_xsputn): Also return EOF if none of the input
42715 data was written when overflow failed.
42716 * libio/iopadn.c (_IO_padn): Likewise.
42717 * libio/iowpadn.c (_IO_wpadn): Likewise.
42718 * stdio-common/tst-put-error.c: Add copyright notice.
42719 (do_test): Add case for printing padded string.
42720 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42721 _IO_padn returned error.
42722 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42723 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42724 return EOF.
42725
42726 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42727
42728 * libio/libioP.h: Add comment note that the references to C++
42729 bits are now obsolete.
42730
42731 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42732
42733 * math/libm-test.inc (check_complex): Use asprintf.
42734
42735 2012-11-14 Joseph Myers <joseph@codesourcery.com>
42736
42737 * debug/pcprofiledump.c (print_version): Update copyright year.
42738 * malloc/memusagestat.c (print_version): Likewise.
42739
42740 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
42741
42742 [BZ #14831]
42743 * elf/Makefile (tests): Add tst-audit8.
42744 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42745 ($(objpfx)tst-audit8.out): New target.
42746 (tst-audit8-ENV): New variable.
42747 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42748 audit if l_reloc_result is NULL.
42749 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42750 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42751 * elf/tst-audit8.c: New file.
42752
42753 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42754
42755 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42756 * misc/Makefile (CFLAGS-select.c): Define.
42757 * posix/Makefile (CFLAGS-pause.c): Define.
42758
42759 2012-11-13 David S. Miller <davem@davemloft.net>
42760
42761 * crypt/Makefile: Move test targets after toplevel Rules
42762 inclusion. Grab any necessary sysdep routines when linking.
42763 * crypt/md5.c (md5_process_block): Remove define, we will always
42764 name it __md5_process_block.
42765 (md5_finish_ctx): Update md5_process_block call.
42766 (md5_stream): Likewise.
42767 (md5_process_bytes): Likewise.
42768 (md5_process_block): Rename to __md5_process_block and move to ...
42769 * crypt/md5-block.c: ... here.
42770 * crypt/sha256.c (sha256_process_block): Move to ...
42771 * crypt/sha256-block.c: ... here.
42772 * crypt/sha512.c (sha512_process_block): Move to ...
42773 * crypt/sha512-block.c: ... here.
42774 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42775 path.
42776 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42777 * sysdeps/sparc/sparc64/multiarch/Makefile
42778 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42779 crypt subdir.
42780 (localedef-aux): Add md5 crypto assembler when in locale subdir.
42781 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42782 multiarch changes.
42783 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42784 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42785 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42786 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42787 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42788 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42789 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42790 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42791 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42792 file.
42793 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42794 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42795 file.
42796 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42797
42798 2012-11-13 Joseph Myers <joseph@codesourcery.com>
42799
42800 * timezone/tzselect.ksh: Update from tzcode git revision
42801 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42802 * timezone/zdump.c: Likewise.
42803 * timezone/zic.c: Likewise.
42804 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42805 in TZVERSION setting, not $(PKGVERSION).
42806 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
42807 REPORT_BUGS_TO settings.
42808
42809 [BZ #14838]
42810 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42811 macro.
42812
42813 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42814
42815 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42816 detection to immediately after _FP_ROUND().
42817 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42818 bits are 0.
42819
42820 2012-11-11 David S. Miller <davem@davemloft.net>
42821
42822 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42823 inttypes.h
42824 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42825 __close rather than their public counterparts.
42826
42827 2012-11-10 Joseph Myers <joseph@codesourcery.com>
42828
42829 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42830 file.
42831 [UNIX98] (sem_timedwait): Do not expect.
42832 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42833 [XPG4 || UNIX98] (sockatmark): Do not expect.
42834 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42835 (clock_getcpuclockid): Do not expect.
42836 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42837 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42838 Do not expect.
42839 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42840 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42841 [UNIX98] (vwscanf): Likewise.
42842 [UNIX98] (vswscanf): Likewise.
42843
42844 2012-11-09 Joseph Myers <joseph@codesourcery.com>
42845
42846 * timezone/version.h: Remove file.
42847 * timezone/README: Do not refer to version.h.
42848 * timezone/Makefile ($(objpfx)zic.o): New dependency on
42849 $(objpfx)version.h.
42850 ($(objpfx)zdump.o): Likewise.
42851 ($(objpfx)version.h): New target.
42852
42853 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42854 2012i.
42855 * timezone/README: Don't mention modification to tzselect.ksh.
42856 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42857 work on unmodified tzselect.ksh. Substitute version numbers in
42858 tzselect.ksh.
42859
42860 * Makefile (format-me): Remove.
42861 (INSTALL): Adjust indentation. Use commands directly instead of
42862 using $(format-me).
42863
42864 * aclocal.m4 (ACX_PKGVERSION): New macro.
42865 (ACX_BUGURL): Likewise.
42866 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42867 (PKGVERSION): New AC_DEFINE_UNQUOTED.
42868 (REPORT_BUGS_TO): Likewise.
42869 * configure: Regenerated.
42870 * config.h.in (PKGVERSION): New macro.
42871 (REPORT_BUGS_TO): Likewise.
42872 * config.make.in (PKGVERSION): New variable.
42873 (PKGVERSION_TEXI): Likewise.
42874 (REPORT_BUGS_TO): Likewise.
42875 (REPORT_BUGS_TEXI): Likewise.
42876 * Makefile (format-me): Use -I$(common-objpfx)manual.
42877 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42878 ($(common-objpfx)manual/%): New target.
42879 (manual/%): Remove target.
42880 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42881 (print_version): Use PKGVERSION.
42882 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42883 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42884 and REPORT_BUGS_TO.
42885 ($(objpfx)xtrace): Likewise.
42886 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42887 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42888 (print_version): Use PKGVERSION.
42889 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42890 (do_version): Use PKGVERSION.
42891 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42892 REPORT_BUGS_TO.
42893 (common-ldd-rewrite): Likewise.
42894 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42895 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42896 (print_version): Use PKGVERSION.
42897 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42898 * elf/pldd.c (argp_program_bug_address): Remove variable.
42899 (more_help): New function.
42900 (argp): Use more_help.
42901 (print_version): Use PKGVERSION.
42902 * elf/sln.c (main): Use PKGVERSION.
42903 (usage): Use REPORT_BUGS_TO.
42904 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42905 (top level): Use PKGVERSION.
42906 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42907 (print_version): Use PKGVERSION.
42908 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42909 (print_version): Use PKGVERSION.
42910 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42911 (print_version): Use PKGVERSION.
42912 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42913 (print_version): Use PKGVERSION.
42914 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42915 (print_version): Use PKGVERSION.
42916 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42917 (print_version): Use PKGVERSION.
42918 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42919 and BUGURL.
42920 ($(objpfx)memusage): Likewise.
42921 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42922 (do_version): Use PKGVERSION.
42923 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42924 (print_version): Use PKGVERSION.
42925 * malloc/mtrace.pl ($PACKAGE): Remove variable.
42926 ($PKGVERSION): New variable.
42927 ($REPORT_BUGS_TO): Likewise.
42928 (usage): Use $REPORT_BUGS_TO.
42929 (top level): Use $PKGVERSION.
42930 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42931 ($(objpfx)pkgvers.texi): New rule.
42932 ($(objpfx)stamp-pkgvers): Likewise.
42933 * manual/install.texi: Include pkgvers.texi.
42934 (--with-pkgversion): Document new configure option.
42935 (--with-bugurl): Likewise.
42936 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42937 than necessarily for this particular distribution. Use
42938 REPORT_BUGS_TO for where to report bugs.
42939 * INSTALL: Regenerated.
42940 * manual/libc.texinfo: Include pkgvers.texi.
42941 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42942 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42943 (print_version): Use PKGVERSION.
42944 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42945 (print_version): Use PKGVERSION.
42946 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42947 (print_version): Use PKGVERSION.
42948 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42949 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42950 macro.
42951 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42952 (print_version): Use PKGVERSION.
42953 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42954 (print_version): Use PKGVERSION.
42955 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42956 and PKGVERSION.
42957
42958 * timezone/checktab.awk: Update from tzcode 2012i.
42959 * timezone/ialloc.c: Likewise.
42960 * timezone/private.h: Likewise.
42961 * timezone/scheck.c: Likewise.
42962 * timezone/tzfile.h: Likewise.
42963 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42964 (TZVERSION): Hardcode tzcode version number.
42965 * timezone/zdump.c: Update from tzcode 2012i.
42966 * timezone/zic.c: Likewise.
42967 * timezone/version.h: New file.
42968 * timezone/README: Describe version.h. Update upstream location.
42969
42970 [BZ #14824]
42971 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42972 (mktemp): Enable declaration.
42973 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42974 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42975 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42976 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42977 Likewise.
42978 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42979 Likewise.
42980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42981 Likewise.
42982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42983 Likewise.
42984 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42985 Likewise.
42986 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42987 Likewise.
42988
42989 [BZ #14821]
42990 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42991 offset in buffer as u_int32_t not u_long. Consistently use memcpy
42992 for copies of such integer values.
42993 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42994 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42995
42996 2012-11-09 Andreas Jaeger <aj@suse.de>
42997
42998 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42999 definitions and declarations that are provided by
43000 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43001
43002 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43003
43004 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43005 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43006 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43007 definition.
43008
43009 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43010
43011 * elf/elf.h: Update comment before AArch64 relocations.
43012
43013 2012-11-07 David S. Miller <davem@davemloft.net>
43014
43015 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43016 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43017 (__start_context): Declare.
43018 (__makecontext_ret): Delete.
43019 (__makecontext): Hook up __start_context instead of
43020 __makecontext_ret.
43021 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43022 (sysdep_routines): Add __start_context when in stdlib.
43023
43024 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43025
43026 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43027 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43028 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43029 hardcoded "nm".
43030 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43031 (READELF): New variable. Use it instead of hardcoded "readelf".
43032
43033 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43034
43035 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43036 * sysdeps/x86/Makefile: Here.
43037 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43038 * sysdeps/x86/tst-xmmymm.sh: This.
43039
43040 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43041
43042 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43043 expectations.
43044 [UNIX98] (pthread_barrier_t): Do not expect.
43045 [UNIX98] (pthread_barrierattr_t): Likewise.
43046 [UNIX98] (pthread_spinlock_t): Likewise.
43047 [UNIX98] (pthread_barrier_destroy): Likewise.
43048 [UNIX98] (pthread_barrier_init): Likewise.
43049 [UNIX98] (pthread_barrier_wait): Likewise.
43050 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43051 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43052 [UNIX98] (pthread_barrierattr_init): Likewise.
43053 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43054 [UNIX98] (pthread_getcpuclockid): Likewise.
43055 [UNIX98] (pthread_mutex_timedlock): Likewise.
43056 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43057 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43058 [UNIX98] (pthread_sigmask): Likewise.
43059 [UNIX98] (pthread_spin_destroy): Likewise.
43060 [UNIX98] (pthread_spin_init): Likewise.
43061 [UNIX98] (pthread_spin_lock): Likewise.
43062 [UNIX98] (pthread_spin_trylock): Likewise.
43063 [UNIX98] (pthread_spin_unlock): Likewise.
43064 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43065 Do not expect.
43066 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43067 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43068 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43069 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43070 [XPG3 || XPG4] (pthread_key_t): Likewise.
43071 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43072 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43073 [XPG3 || XPG4] (pthread_once_t): Likewise.
43074 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43075 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43076 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43077 [XPG3 || XPG4] (pthread_t): Likewise.
43078
43079 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43080 not expect.
43081 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43082
43083 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43084 Change function return type to int.
43085
43086 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43087 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43088 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43089 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43090 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43091 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43092 [!POSIX] (posix_madvise): Likewise.
43093 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43094 && !UNIX98].
43095 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43096 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43097 (mode_t): Likewise.
43098 (posix_mem_offset): Likewise.
43099 (posix_typed_mem_get_info): Likewise.
43100 (posix_typed_mem_open): Likewise.
43101
43102 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43103 Change condition to [XOPEN2K8].
43104
43105 * conform/conformtest.pl: Preprocess allow-header data with -x c
43106 instead of from stdin.
43107 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43108 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43109 [C99-based standards] (cerfc): Likewise.
43110 [C99-based standards] (cexp2): Likewise.
43111 [C99-based standards] (cexpm1): Likewise.
43112 [C99-based standards] (clog10): Likewise.
43113 [C99-based standards] (clog1p): Likewise.
43114 [C99-based standards] (clog2): Likewise.
43115 [C99-based standards] (clgamma): Likewise.
43116 [C99-based standards] (ctgamma): Likewise.
43117 [C99-based standards] (cerff): Likewise.
43118 [C99-based standards] (cerfcf): Likewise.
43119 [C99-based standards] (cexp2f): Likewise.
43120 [C99-based standards] (cexpm1f): Likewise.
43121 [C99-based standards] (clog10f): Likewise.
43122 [C99-based standards] (clog1pf): Likewise.
43123 [C99-based standards] (clog2f): Likewise.
43124 [C99-based standards] (clgammaf): Likewise.
43125 [C99-based standards] (ctgammaf): Likewise.
43126 [C99-based standards] (cerfl): Likewise.
43127 [C99-based standards] (cerfcl): Likewise.
43128 [C99-based standards] (cexp2l): Likewise.
43129 [C99-based standards] (cexpm1l): Likewise.
43130 [C99-based standards] (clog10l): Likewise.
43131 [C99-based standards] (clog1pl): Likewise.
43132 [C99-based standards] (clog2l): Likewise.
43133 [C99-based standards] (clgammal): Likewise.
43134 [C99-based standards] (ctgammal): Likewise.
43135 * conform/data/inttypes.h-data [C99-based standards]: Include
43136 stdint.h-data. Remove all expectations for stdint.h contents.
43137 [C99-based standards] (PRI*): Do not allow.
43138 [C99-based standards] (SCN*): Likewise.
43139 [C99-based standards] (*_t): Likewise.
43140 [C99-based-standards] (PRId8): Expect macro.
43141 [C99-based-standards] (PRIi8): Likewise.
43142 [C99-based-standards] (PRIo8): Likewise.
43143 [C99-based-standards] (PRIu8): Likewise.
43144 [C99-based-standards] (PRIx8): Likewise.
43145 [C99-based-standards] (PRIX8): Likewise.
43146 [C99-based-standards] (SCNd8): Likewise.
43147 [C99-based-standards] (SCNi8): Likewise.
43148 [C99-based-standards] (SCNo8): Likewise.
43149 [C99-based-standards] (SCNu8): Likewise.
43150 [C99-based-standards] (SCNx8): Likewise.
43151 [C99-based-standards] (PRIdLEAST8): Likewise.
43152 [C99-based-standards] (PRIiLEAST8): Likewise.
43153 [C99-based-standards] (PRIoLEAST8): Likewise.
43154 [C99-based-standards] (PRIuLEAST8): Likewise.
43155 [C99-based-standards] (PRIxLEAST8): Likewise.
43156 [C99-based-standards] (PRIXLEAST8): Likewise.
43157 [C99-based-standards] (SCNdLEAST8): Likewise.
43158 [C99-based-standards] (SCNiLEAST8): Likewise.
43159 [C99-based-standards] (SCNoLEAST8): Likewise.
43160 [C99-based-standards] (SCNuLEAST8): Likewise.
43161 [C99-based-standards] (SCNxLEAST8): Likewise.
43162 [C99-based-standards] (PRIdFAST8): Likewise.
43163 [C99-based-standards] (PRIiFAST8): Likewise.
43164 [C99-based-standards] (PRIoFAST8): Likewise.
43165 [C99-based-standards] (PRIuFAST8): Likewise.
43166 [C99-based-standards] (PRIxFAST8): Likewise.
43167 [C99-based-standards] (PRIXFAST8): Likewise.
43168 [C99-based-standards] (SCNdFAST8): Likewise.
43169 [C99-based-standards] (SCNiFAST8): Likewise.
43170 [C99-based-standards] (SCNoFAST8): Likewise.
43171 [C99-based-standards] (SCNuFAST8): Likewise.
43172 [C99-based-standards] (SCNxFAST8): Likewise.
43173 [C99-based-standards] (PRId16): Likewise.
43174 [C99-based-standards] (PRIi16): Likewise.
43175 [C99-based-standards] (PRIo16): Likewise.
43176 [C99-based-standards] (PRIu16): Likewise.
43177 [C99-based-standards] (PRIx16): Likewise.
43178 [C99-based-standards] (PRIX16): Likewise.
43179 [C99-based-standards] (SCNd16): Likewise.
43180 [C99-based-standards] (SCNi16): Likewise.
43181 [C99-based-standards] (SCNo16): Likewise.
43182 [C99-based-standards] (SCNu16): Likewise.
43183 [C99-based-standards] (SCNx16): Likewise.
43184 [C99-based-standards] (PRIdLEAST16): Likewise.
43185 [C99-based-standards] (PRIiLEAST16): Likewise.
43186 [C99-based-standards] (PRIoLEAST16): Likewise.
43187 [C99-based-standards] (PRIuLEAST16): Likewise.
43188 [C99-based-standards] (PRIxLEAST16): Likewise.
43189 [C99-based-standards] (PRIXLEAST16): Likewise.
43190 [C99-based-standards] (SCNdLEAST16): Likewise.
43191 [C99-based-standards] (SCNiLEAST16): Likewise.
43192 [C99-based-standards] (SCNoLEAST16): Likewise.
43193 [C99-based-standards] (SCNuLEAST16): Likewise.
43194 [C99-based-standards] (SCNxLEAST16): Likewise.
43195 [C99-based-standards] (PRIdFAST16): Likewise.
43196 [C99-based-standards] (PRIiFAST16): Likewise.
43197 [C99-based-standards] (PRIoFAST16): Likewise.
43198 [C99-based-standards] (PRIuFAST16): Likewise.
43199 [C99-based-standards] (PRIxFAST16): Likewise.
43200 [C99-based-standards] (PRIXFAST16): Likewise.
43201 [C99-based-standards] (SCNdFAST16): Likewise.
43202 [C99-based-standards] (SCNiFAST16): Likewise.
43203 [C99-based-standards] (SCNoFAST16): Likewise.
43204 [C99-based-standards] (SCNuFAST16): Likewise.
43205 [C99-based-standards] (SCNxFAST16): Likewise.
43206 [C99-based-standards] (PRId32): Likewise.
43207 [C99-based-standards] (PRIi32): Likewise.
43208 [C99-based-standards] (PRIo32): Likewise.
43209 [C99-based-standards] (PRIu32): Likewise.
43210 [C99-based-standards] (PRIx32): Likewise.
43211 [C99-based-standards] (PRIX32): Likewise.
43212 [C99-based-standards] (SCNd32): Likewise.
43213 [C99-based-standards] (SCNi32): Likewise.
43214 [C99-based-standards] (SCNo32): Likewise.
43215 [C99-based-standards] (SCNu32): Likewise.
43216 [C99-based-standards] (SCNx32): Likewise.
43217 [C99-based-standards] (PRIdLEAST32): Likewise.
43218 [C99-based-standards] (PRIiLEAST32): Likewise.
43219 [C99-based-standards] (PRIoLEAST32): Likewise.
43220 [C99-based-standards] (PRIuLEAST32): Likewise.
43221 [C99-based-standards] (PRIxLEAST32): Likewise.
43222 [C99-based-standards] (PRIXLEAST32): Likewise.
43223 [C99-based-standards] (SCNdLEAST32): Likewise.
43224 [C99-based-standards] (SCNiLEAST32): Likewise.
43225 [C99-based-standards] (SCNoLEAST32): Likewise.
43226 [C99-based-standards] (SCNuLEAST32): Likewise.
43227 [C99-based-standards] (SCNxLEAST32): Likewise.
43228 [C99-based-standards] (PRIdFAST32): Likewise.
43229 [C99-based-standards] (PRIiFAST32): Likewise.
43230 [C99-based-standards] (PRIoFAST32): Likewise.
43231 [C99-based-standards] (PRIuFAST32): Likewise.
43232 [C99-based-standards] (PRIxFAST32): Likewise.
43233 [C99-based-standards] (PRIXFAST32): Likewise.
43234 [C99-based-standards] (SCNdFAST32): Likewise.
43235 [C99-based-standards] (SCNiFAST32): Likewise.
43236 [C99-based-standards] (SCNoFAST32): Likewise.
43237 [C99-based-standards] (SCNuFAST32): Likewise.
43238 [C99-based-standards] (SCNxFAST32): Likewise.
43239 [C99-based-standards] (PRId64): Likewise.
43240 [C99-based-standards] (PRIi64): Likewise.
43241 [C99-based-standards] (PRIo64): Likewise.
43242 [C99-based-standards] (PRIu64): Likewise.
43243 [C99-based-standards] (PRIx64): Likewise.
43244 [C99-based-standards] (PRIX64): Likewise.
43245 [C99-based-standards] (SCNd64): Likewise.
43246 [C99-based-standards] (SCNi64): Likewise.
43247 [C99-based-standards] (SCNo64): Likewise.
43248 [C99-based-standards] (SCNu64): Likewise.
43249 [C99-based-standards] (SCNx64): Likewise.
43250 [C99-based-standards] (PRIdLEAST64): Likewise.
43251 [C99-based-standards] (PRIiLEAST64): Likewise.
43252 [C99-based-standards] (PRIoLEAST64): Likewise.
43253 [C99-based-standards] (PRIuLEAST64): Likewise.
43254 [C99-based-standards] (PRIxLEAST64): Likewise.
43255 [C99-based-standards] (PRIXLEAST64): Likewise.
43256 [C99-based-standards] (SCNdLEAST64): Likewise.
43257 [C99-based-standards] (SCNiLEAST64): Likewise.
43258 [C99-based-standards] (SCNoLEAST64): Likewise.
43259 [C99-based-standards] (SCNuLEAST64): Likewise.
43260 [C99-based-standards] (SCNxLEAST64): Likewise.
43261 [C99-based-standards] (PRIdFAST64): Likewise.
43262 [C99-based-standards] (PRIiFAST64): Likewise.
43263 [C99-based-standards] (PRIoFAST64): Likewise.
43264 [C99-based-standards] (PRIuFAST64): Likewise.
43265 [C99-based-standards] (PRIxFAST64): Likewise.
43266 [C99-based-standards] (PRIXFAST64): Likewise.
43267 [C99-based-standards] (SCNdFAST64): Likewise.
43268 [C99-based-standards] (SCNiFAST64): Likewise.
43269 [C99-based-standards] (SCNoFAST64): Likewise.
43270 [C99-based-standards] (SCNuFAST64): Likewise.
43271 [C99-based-standards] (SCNxFAST64): Likewise.
43272 [C99-based-standards] (PRIdMAX): Likewise.
43273 [C99-based-standards] (PRIiMAX): Likewise.
43274 [C99-based-standards] (PRIoMAX): Likewise.
43275 [C99-based-standards] (PRIuMAX): Likewise.
43276 [C99-based-standards] (PRIxMAX): Likewise.
43277 [C99-based-standards] (PRIXMAX): Likewise.
43278 [C99-based-standards] (SCNdMAX): Likewise.
43279 [C99-based-standards] (SCNiMAX): Likewise.
43280 [C99-based-standards] (SCNoMAX): Likewise.
43281 [C99-based-standards] (SCNuMAX): Likewise.
43282 [C99-based-standards] (SCNxMAX): Likewise.
43283 [C99-based-standards] (PRIdPTR): Likewise.
43284 [C99-based-standards] (PRIiPTR): Likewise.
43285 [C99-based-standards] (PRIoPTR): Likewise.
43286 [C99-based-standards] (PRIuPTR): Likewise.
43287 [C99-based-standards] (PRIxPTR): Likewise.
43288 [C99-based-standards] (PRIXPTR): Likewise.
43289 [C99-based-standards] (SCNdPTR): Likewise.
43290 [C99-based-standards] (SCNiPTR): Likewise.
43291 [C99-based-standards] (SCNoPTR): Likewise.
43292 [C99-based-standards] (SCNuPTR): Likewise.
43293 [C99-based-standards] (SCNxPTR): Likewise.
43294 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43295 allow.
43296 * conform/data/stdint.h-data: Update comments to clarify
43297 requirements.
43298 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43299 type.
43300 [C99-based standards] (INT8_MAX): Likewise.
43301 [C99-based standards] (INT16_MIN): Likewise.
43302 [C99-based standards] (INT16_MAX): Likewise.
43303 [C99-based standards] (INT32_MIN): Likewise.
43304 [C99-based standards] (INT32_MAX): Likewise.
43305 [C99-based standards] (INT64_MIN): Likewise.
43306 [C99-based standards] (INT64_MAX): Likewise.
43307 [C99-based standards] (UINT8_MAX): Likewise.
43308 [C99-based standards] (UINT16_MAX): Likewise.
43309 [C99-based standards] (UINT32_MAX): Likewise.
43310 [C99-based standards] (UINT64_MAX): Likewise.
43311 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43312 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43313 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43314 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43315 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43316 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43317 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43318 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43319 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43320 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43321 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43322 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43323 [C99-based standards] (INT_FAST8_MIN): Likewise.
43324 [C99-based standards] (INT_FAST8_MAX): Likewise.
43325 [C99-based standards] (INT_FAST16_MIN): Likewise.
43326 [C99-based standards] (INT_FAST16_MAX): Likewise.
43327 [C99-based standards] (INT_FAST32_MIN): Likewise.
43328 [C99-based standards] (INT_FAST32_MAX): Likewise.
43329 [C99-based standards] (INT_FAST64_MIN): Likewise.
43330 [C99-based standards] (INT_FAST64_MAX): Likewise.
43331 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43332 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43333 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43334 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43335 [C99-based standards] (INTPTR_MIN): Likewise.
43336 [C99-based standards] (INTPTR_MAX): Likewise.
43337 [C99-based standards] (UINTPTR_MAX): Likewise.
43338 [C99-based standards] (INTMAX_MIN): Likewise.
43339 [C99-based standards] (INTMAX_MAX): Likewise.
43340 [C99-based standards] (UINTMAX_MAX): Likewise.
43341 [C99-based standards] (PTRDIFF_MIN): Likewise.
43342 [C99-based standards] (PTRDIFF_MAX): Likewise.
43343 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43344 [C99-based standards] (SIZE_MAX): Likewise.
43345 [C99-based standards] (WCHAR_MAX): Likewise.
43346 [C99-based standards] (WINT_MAX): Likewise.
43347 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43348 constraint on value.
43349 [C99-based standards] (WCHAR_MIN): Likewise.
43350 [C99-based standards] (WINT_MIN): Likewise.
43351 [C99-based standards] (*_t): Allow.
43352 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43353 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43354 Include math.h-data and complex.h-data. Remove all expectations
43355 of math.h and complex.h contents.
43356 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43357 at end of line.
43358 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43359 (struct tm): Expect tag.
43360 [C99-based-standards] (wcstof): Expect function.
43361 [C99-based-standards] (wcstold): Likewise.
43362 [C99-based-standards] (wcstoll): Likewise.
43363 [C99-based-standards] (wcstoull): Likewise.
43364 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43365 macro-int-constant. Specify type.
43366 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43367 constraint on value.
43368 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43369 Specify type.
43370 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43371 Specify value.
43372 [ISO C standards]: Do not allow headers.
43373 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43374 wcs[abcdefghijklmnopqrstuvwxyz]*.
43375 [ISO C standards] (*_t): Do not allow.
43376 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43377 Expect function.
43378 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43379 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43380 Specify type.
43381 [ISO C standards]: Do not allow headers.
43382 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43383 is[abcdefghijklmnopqrstuvwxyz]*.
43384 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43385 to[abcdefghijklmnopqrstuvwxyz]*.
43386 [ISO C standards] (*_t): Do not allow.
43387 * conform/data/stdalign.h-data: New file.
43388 * conform/data/stdbool.h-data: Likewise.
43389 * conform/data/stdnoreturn.h-data: Likewise.
43390
43391 2012-11-07 Roland McGrath <roland@hack.frob.com>
43392
43393 [BZ #14815]
43394 * manual/filesys.texi (Directory Entries): Typo fix.
43395 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43396
43397 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43398
43399 * elf/elf.h (EM_AARCH64): New macro.
43400 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43401 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43402 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43403 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43404 (R_AARCH64_TLSDESC): Likewise.
43405 (NT_ARM_TLS): Likewise.
43406 (NT_ARM_HW_BREAK): Likewise.
43407 (NT_ARM_HW_WATCH): Likewise.
43408
43409 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43410
43411 [BZ #14811]
43412 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43413 (__ieee754_powl): Saturate nonzero exponents with absolute value
43414 below 0x1p-79 to +/- 0x1p-79.
43415 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43416 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43417 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43418 nonzero exponents with absolute value below 0x1p-32 to +/-
43419 0x1p-32.
43420 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43421 (__ieee754_powl): Saturate nonzero exponents with absolute value
43422 below 0x1p-79 to +/- 0x1p-79.
43423 * math/libm-test.inc (pow_test): Add more tests.
43424
43425 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43426
43427 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43428 _dl_s390_cap_flags with kernel. Increase string length.
43429 (_dl_s390_platforms): Add z196 and zEC12.
43430
43431 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43432
43433 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43434 Change XOPEN21K to XOPEN2K.
43435
43436 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43437
43438 * string/memmove.c: Use memcpy when possible.
43439
43440 2012-11-06 Andreas Jaeger <aj@suse.de>
43441
43442 * po/eo.po: Update from translation team.
43443
43444 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43445
43446 [BZ #14793]
43447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43448 exponent and small x and y exponents, scale x or y up. Increase
43449 by 2 the exponent used in scaling up.
43450 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43451 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43452 * math/libm-test.inc (fma_test): Add more tests.
43453 (fma_test_towardzero): Likewise.
43454 (fma_test_downward): Likewise.
43455 (fma_test_upward): Likewise.
43456
43457 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43458
43459 [BZ #14805]
43460 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43461 fenv_t *.
43462
43463 [BZ #14801]
43464 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43465 namespace for names of struct fields.
43466 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43467 fenv_t fields.
43468 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43469 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43470
43471 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43472
43473 [BZ #3665]
43474 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43475
43476 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43477
43478 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43479 PTR_DEMANGLE.
43480
43481 [BZ #5246]
43482 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43483 PTR_DEMANGLE.
43484
43485 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43486
43487 [BZ #14797]
43488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43489 definitely overflow as x * y not x * y + z.
43490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43491 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43492 * math/libm-test.inc (fma_test): Add more tests.
43493 (fma_test_towardzero): Likewise.
43494 (fma_test_downward): Likewise.
43495 (fma_test_upward): Likewise.
43496
43497 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43498
43499 [BZ #157]
43500
43501 * include/stub-tag.h: Remove file.
43502 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43503 '#include' of it.
43504 * manual/maint.texi (Porting): Don't reference it.
43505 * Makerules ($(objpfx)stubs): Likewise.
43506 * dirent/closedir.c: Don't include <stub-tag.h>.
43507 * dirent/dirfd.c: Likewise.
43508 * dirent/fdopendir.c: Likewise.
43509 * dirent/getdents.c: Likewise.
43510 * dirent/getdents64.c: Likewise.
43511 * dirent/opendir.c: Likewise.
43512 * dirent/readdir.c: Likewise.
43513 * dirent/readdir64.c: Likewise.
43514 * dirent/readdir64_r.c: Likewise.
43515 * dirent/readdir_r.c: Likewise.
43516 * dirent/rewinddir.c: Likewise.
43517 * dirent/seekdir.c: Likewise.
43518 * dirent/telldir.c: Likewise.
43519 * gmon/profil.c: Likewise.
43520 * grp/setgroups.c: Likewise.
43521 * inet/if_index.c: Likewise.
43522 * io/access.c: Likewise.
43523 * io/chdir.c: Likewise.
43524 * io/chmod.c: Likewise.
43525 * io/chown.c: Likewise.
43526 * io/close.c: Likewise.
43527 * io/dup.c: Likewise.
43528 * io/dup2.c: Likewise.
43529 * io/dup3.c: Likewise.
43530 * io/euidaccess.c: Likewise.
43531 * io/faccessat.c: Likewise.
43532 * io/fchdir.c: Likewise.
43533 * io/fchmod.c: Likewise.
43534 * io/fchmodat.c: Likewise.
43535 * io/fchown.c: Likewise.
43536 * io/fchownat.c: Likewise.
43537 * io/fcntl.c: Likewise.
43538 * io/flock.c: Likewise.
43539 * io/fstatfs.c: Likewise.
43540 * io/fstatfs64.c: Likewise.
43541 * io/fstatvfs.c: Likewise.
43542 * io/fstatvfs64.c: Likewise.
43543 * io/futimens.c: Likewise.
43544 * io/fxstat.c: Likewise.
43545 * io/fxstat64.c: Likewise.
43546 * io/fxstatat.c: Likewise.
43547 * io/fxstatat64.c: Likewise.
43548 * io/getcwd.c: Likewise.
43549 * io/isatty.c: Likewise.
43550 * io/lchmod.c: Likewise.
43551 * io/lchown.c: Likewise.
43552 * io/link.c: Likewise.
43553 * io/linkat.c: Likewise.
43554 * io/lseek.c: Likewise.
43555 * io/lseek64.c: Likewise.
43556 * io/lxstat64.c: Likewise.
43557 * io/mkdir.c: Likewise.
43558 * io/mkdirat.c: Likewise.
43559 * io/mkfifo.c: Likewise.
43560 * io/mkfifoat.c: Likewise.
43561 * io/open.c: Likewise.
43562 * io/open64.c: Likewise.
43563 * io/openat.c: Likewise.
43564 * io/openat64.c: Likewise.
43565 * io/pipe.c: Likewise.
43566 * io/pipe2.c: Likewise.
43567 * io/poll.c: Likewise.
43568 * io/posix_fadvise.c: Likewise.
43569 * io/posix_fadvise64.c: Likewise.
43570 * io/posix_fallocate.c: Likewise.
43571 * io/posix_fallocate64.c: Likewise.
43572 * io/read.c: Likewise.
43573 * io/readlink.c: Likewise.
43574 * io/readlinkat.c: Likewise.
43575 * io/rmdir.c: Likewise.
43576 * io/sendfile.c: Likewise.
43577 * io/sendfile64.c: Likewise.
43578 * io/statfs.c: Likewise.
43579 * io/statfs64.c: Likewise.
43580 * io/statvfs.c: Likewise.
43581 * io/statvfs64.c: Likewise.
43582 * io/symlink.c: Likewise.
43583 * io/symlinkat.c: Likewise.
43584 * io/ttyname.c: Likewise.
43585 * io/ttyname_r.c: Likewise.
43586 * io/umask.c: Likewise.
43587 * io/unlink.c: Likewise.
43588 * io/unlinkat.c: Likewise.
43589 * io/utime.c: Likewise.
43590 * io/utimensat.c: Likewise.
43591 * io/write.c: Likewise.
43592 * io/xmknod.c: Likewise.
43593 * io/xmknodat.c: Likewise.
43594 * io/xstat.c: Likewise.
43595 * io/xstat64.c: Likewise.
43596 * login/getpt.c: Likewise.
43597 * login/grantpt.c: Likewise.
43598 * login/unlockpt.c: Likewise.
43599 * math/e_acoshl.c: Likewise.
43600 * math/e_acosl.c: Likewise.
43601 * math/e_asinl.c: Likewise.
43602 * math/e_atan2l.c: Likewise.
43603 * math/e_atanhl.c: Likewise.
43604 * math/e_coshl.c: Likewise.
43605 * math/e_expl.c: Likewise.
43606 * math/e_fmodl.c: Likewise.
43607 * math/e_gammal_r.c: Likewise.
43608 * math/e_hypotl.c: Likewise.
43609 * math/e_j0l.c: Likewise.
43610 * math/e_j1l.c: Likewise.
43611 * math/e_jnl.c: Likewise.
43612 * math/e_lgammal_r.c: Likewise.
43613 * math/e_log10l.c: Likewise.
43614 * math/e_log2l.c: Likewise.
43615 * math/e_logl.c: Likewise.
43616 * math/e_powl.c: Likewise.
43617 * math/e_rem_pio2l.c: Likewise.
43618 * math/e_sinhl.c: Likewise.
43619 * math/e_sqrtl.c: Likewise.
43620 * math/fclrexcpt.c: Likewise.
43621 * math/fedisblxcpt.c: Likewise.
43622 * math/feenablxcpt.c: Likewise.
43623 * math/fegetenv.c: Likewise.
43624 * math/fegetexcept.c: Likewise.
43625 * math/fegetround.c: Likewise.
43626 * math/feholdexcpt.c: Likewise.
43627 * math/fesetenv.c: Likewise.
43628 * math/fesetround.c: Likewise.
43629 * math/feupdateenv.c: Likewise.
43630 * math/fgetexcptflg.c: Likewise.
43631 * math/fraiseexcpt.c: Likewise.
43632 * math/fsetexcptflg.c: Likewise.
43633 * math/ftestexcept.c: Likewise.
43634 * math/k_cosl.c: Likewise.
43635 * math/k_rem_pio2l.c: Likewise.
43636 * math/k_sinl.c: Likewise.
43637 * math/k_tanl.c: Likewise.
43638 * math/s_asinhl.c: Likewise.
43639 * math/s_atanl.c: Likewise.
43640 * math/s_cbrtl.c: Likewise.
43641 * math/s_erfl.c: Likewise.
43642 * math/s_expm1l.c: Likewise.
43643 * math/s_log1pl.c: Likewise.
43644 * math/s_tanhl.c: Likewise.
43645 * misc/acct.c: Likewise.
43646 * misc/brk.c: Likewise.
43647 * misc/chflags.c: Likewise.
43648 * misc/chroot.c: Likewise.
43649 * misc/fchflags.c: Likewise.
43650 * misc/fgetxattr.c: Likewise.
43651 * misc/flistxattr.c: Likewise.
43652 * misc/fremovexattr.c: Likewise.
43653 * misc/fsetxattr.c: Likewise.
43654 * misc/fsync.c: Likewise.
43655 * misc/ftruncate.c: Likewise.
43656 * misc/futimes.c: Likewise.
43657 * misc/futimesat.c: Likewise.
43658 * misc/getdomain.c: Likewise.
43659 * misc/getdtsz.c: Likewise.
43660 * misc/gethostid.c: Likewise.
43661 * misc/gethostname.c: Likewise.
43662 * misc/getloadavg.c: Likewise.
43663 * misc/getpagesize.c: Likewise.
43664 * misc/getsysstats.c: Likewise.
43665 * misc/getxattr.c: Likewise.
43666 * misc/gtty.c: Likewise.
43667 * misc/ioctl.c: Likewise.
43668 * misc/lgetxattr.c: Likewise.
43669 * misc/listxattr.c: Likewise.
43670 * misc/llistxattr.c: Likewise.
43671 * misc/lremovexattr.c: Likewise.
43672 * misc/lsetxattr.c: Likewise.
43673 * misc/lutimes.c: Likewise.
43674 * misc/madvise.c: Likewise.
43675 * misc/mincore.c: Likewise.
43676 * misc/mlock.c: Likewise.
43677 * misc/mlockall.c: Likewise.
43678 * misc/mmap.c: Likewise.
43679 * misc/mprotect.c: Likewise.
43680 * misc/msync.c: Likewise.
43681 * misc/munlock.c: Likewise.
43682 * misc/munlockall.c: Likewise.
43683 * misc/munmap.c: Likewise.
43684 * misc/preadv.c: Likewise.
43685 * misc/preadv64.c: Likewise.
43686 * misc/ptrace.c: Likewise.
43687 * misc/pwritev.c: Likewise.
43688 * misc/pwritev64.c: Likewise.
43689 * misc/readv.c: Likewise.
43690 * misc/reboot.c: Likewise.
43691 * misc/remap_file_pages.c: Likewise.
43692 * misc/removexattr.c: Likewise.
43693 * misc/revoke.c: Likewise.
43694 * misc/select.c: Likewise.
43695 * misc/setdomain.c: Likewise.
43696 * misc/setegid.c: Likewise.
43697 * misc/seteuid.c: Likewise.
43698 * misc/sethostid.c: Likewise.
43699 * misc/sethostname.c: Likewise.
43700 * misc/setregid.c: Likewise.
43701 * misc/setreuid.c: Likewise.
43702 * misc/setxattr.c: Likewise.
43703 * misc/sstk.c: Likewise.
43704 * misc/stty.c: Likewise.
43705 * misc/swapoff.c: Likewise.
43706 * misc/swapon.c: Likewise.
43707 * misc/sync.c: Likewise.
43708 * misc/syncfs.c: Likewise.
43709 * misc/syscall.c: Likewise.
43710 * misc/truncate.c: Likewise.
43711 * misc/ualarm.c: Likewise.
43712 * misc/usleep.c: Likewise.
43713 * misc/ustat.c: Likewise.
43714 * misc/utimes.c: Likewise.
43715 * misc/vhangup.c: Likewise.
43716 * misc/writev.c: Likewise.
43717 * posix/_exit.c: Likewise.
43718 * posix/alarm.c: Likewise.
43719 * posix/execve.c: Likewise.
43720 * posix/fexecve.c: Likewise.
43721 * posix/fork.c: Likewise.
43722 * posix/fpathconf.c: Likewise.
43723 * posix/getaddrinfo.c: Likewise.
43724 * posix/getegid.c: Likewise.
43725 * posix/geteuid.c: Likewise.
43726 * posix/getgid.c: Likewise.
43727 * posix/getgroups.c: Likewise.
43728 * posix/getlogin.c: Likewise.
43729 * posix/getlogin_r.c: Likewise.
43730 * posix/getpgid.c: Likewise.
43731 * posix/getpid.c: Likewise.
43732 * posix/getppid.c: Likewise.
43733 * posix/getresgid.c: Likewise.
43734 * posix/getresuid.c: Likewise.
43735 * posix/getsid.c: Likewise.
43736 * posix/getuid.c: Likewise.
43737 * posix/glob64.c: Likewise.
43738 * posix/nanosleep.c: Likewise.
43739 * posix/pathconf.c: Likewise.
43740 * posix/pause.c: Likewise.
43741 * posix/posix_madvise.c: Likewise.
43742 * posix/pread.c: Likewise.
43743 * posix/pread64.c: Likewise.
43744 * posix/pwrite.c: Likewise.
43745 * posix/pwrite64.c: Likewise.
43746 * posix/sched_getaffinity.c: Likewise.
43747 * posix/sched_getp.c: Likewise.
43748 * posix/sched_gets.c: Likewise.
43749 * posix/sched_primax.c: Likewise.
43750 * posix/sched_primin.c: Likewise.
43751 * posix/sched_rr_gi.c: Likewise.
43752 * posix/sched_setaffinity.c: Likewise.
43753 * posix/sched_setp.c: Likewise.
43754 * posix/sched_sets.c: Likewise.
43755 * posix/sched_yield.c: Likewise.
43756 * posix/setgid.c: Likewise.
43757 * posix/setlogin.c: Likewise.
43758 * posix/setpgid.c: Likewise.
43759 * posix/setresgid.c: Likewise.
43760 * posix/setresuid.c: Likewise.
43761 * posix/setsid.c: Likewise.
43762 * posix/setuid.c: Likewise.
43763 * posix/sleep.c: Likewise.
43764 * posix/spawni.c: Likewise.
43765 * posix/sysconf.c: Likewise.
43766 * posix/times.c: Likewise.
43767 * posix/wait.c: Likewise.
43768 * posix/wait3.c: Likewise.
43769 * posix/wait4.c: Likewise.
43770 * posix/waitpid.c: Likewise.
43771 * resolv/gai_sigqueue.c: Likewise.
43772 * resource/getpriority.c: Likewise.
43773 * resource/getrlimit.c: Likewise.
43774 * resource/getrusage.c: Likewise.
43775 * resource/nice.c: Likewise.
43776 * resource/setpriority.c: Likewise.
43777 * resource/setrlimit.c: Likewise.
43778 * resource/ulimit.c: Likewise.
43779 * rt/aio_cancel.c: Likewise.
43780 * rt/aio_fsync.c: Likewise.
43781 * rt/aio_read.c: Likewise.
43782 * rt/aio_sigqueue.c: Likewise.
43783 * rt/aio_suspend.c: Likewise.
43784 * rt/aio_write.c: Likewise.
43785 * rt/clock_getres.c: Likewise.
43786 * rt/clock_gettime.c: Likewise.
43787 * rt/clock_nanosleep.c: Likewise.
43788 * rt/clock_settime.c: Likewise.
43789 * rt/lio_listio.c: Likewise.
43790 * rt/mq_close.c: Likewise.
43791 * rt/mq_getattr.c: Likewise.
43792 * rt/mq_notify.c: Likewise.
43793 * rt/mq_open.c: Likewise.
43794 * rt/mq_receive.c: Likewise.
43795 * rt/mq_send.c: Likewise.
43796 * rt/mq_setattr.c: Likewise.
43797 * rt/mq_timedreceive.c: Likewise.
43798 * rt/mq_timedsend.c: Likewise.
43799 * rt/mq_unlink.c: Likewise.
43800 * rt/shm_open.c: Likewise.
43801 * rt/shm_unlink.c: Likewise.
43802 * rt/timer_create.c: Likewise.
43803 * rt/timer_delete.c: Likewise.
43804 * rt/timer_getoverr.c: Likewise.
43805 * rt/timer_gettime.c: Likewise.
43806 * rt/timer_settime.c: Likewise.
43807 * setjmp/__longjmp.c: Likewise.
43808 * setjmp/setjmp.c: Likewise.
43809 * signal/kill.c: Likewise.
43810 * signal/killpg.c: Likewise.
43811 * signal/raise.c: Likewise.
43812 * signal/sigaction.c: Likewise.
43813 * signal/sigaltstack.c: Likewise.
43814 * signal/sigblock.c: Likewise.
43815 * signal/sigignore.c: Likewise.
43816 * signal/sigintr.c: Likewise.
43817 * signal/signal.c: Likewise.
43818 * signal/sigpause.c: Likewise.
43819 * signal/sigpending.c: Likewise.
43820 * signal/sigqueue.c: Likewise.
43821 * signal/sigreturn.c: Likewise.
43822 * signal/sigset.c: Likewise.
43823 * signal/sigsetmask.c: Likewise.
43824 * signal/sigstack.c: Likewise.
43825 * signal/sigsuspend.c: Likewise.
43826 * signal/sigtimedwait.c: Likewise.
43827 * signal/sigvec.c: Likewise.
43828 * signal/sigwait.c: Likewise.
43829 * signal/sigwaitinfo.c: Likewise.
43830 * signal/sysv_signal.c: Likewise.
43831 * socket/accept.c: Likewise.
43832 * socket/accept4.c: Likewise.
43833 * socket/bind.c: Likewise.
43834 * socket/connect.c: Likewise.
43835 * socket/getpeername.c: Likewise.
43836 * socket/getsockname.c: Likewise.
43837 * socket/getsockopt.c: Likewise.
43838 * socket/isfdtype.c: Likewise.
43839 * socket/listen.c: Likewise.
43840 * socket/recv.c: Likewise.
43841 * socket/recvfrom.c: Likewise.
43842 * socket/recvmsg.c: Likewise.
43843 * socket/send.c: Likewise.
43844 * socket/sendmsg.c: Likewise.
43845 * socket/sendto.c: Likewise.
43846 * socket/setsockopt.c: Likewise.
43847 * socket/shutdown.c: Likewise.
43848 * socket/sockatmark.c: Likewise.
43849 * socket/socket.c: Likewise.
43850 * socket/socketpair.c: Likewise.
43851 * stdio-common/ctermid.c: Likewise.
43852 * stdio-common/cuserid.c: Likewise.
43853 * stdio-common/remove.c: Likewise.
43854 * stdio-common/rename.c: Likewise.
43855 * stdio-common/renameat.c: Likewise.
43856 * stdio-common/tempname.c: Likewise.
43857 * stdlib/getcontext.c: Likewise.
43858 * stdlib/makecontext.c: Likewise.
43859 * stdlib/setcontext.c: Likewise.
43860 * stdlib/swapcontext.c: Likewise.
43861 * stdlib/system.c: Likewise.
43862 * streams/fattach.c: Likewise.
43863 * streams/fdetach.c: Likewise.
43864 * streams/getmsg.c: Likewise.
43865 * streams/getpmsg.c: Likewise.
43866 * streams/putmsg.c: Likewise.
43867 * streams/putpmsg.c: Likewise.
43868 * sysdeps/unix/bsd/getpt.c: Likewise.
43869 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43870 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43871 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43873 Likewise.
43874 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43875 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43876 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43877 * sysvipc/msgctl.c: Likewise.
43878 * sysvipc/msgget.c: Likewise.
43879 * sysvipc/msgrcv.c: Likewise.
43880 * sysvipc/msgsnd.c: Likewise.
43881 * sysvipc/semctl.c: Likewise.
43882 * sysvipc/semget.c: Likewise.
43883 * sysvipc/semop.c: Likewise.
43884 * sysvipc/semtimedop.c: Likewise.
43885 * sysvipc/shmat.c: Likewise.
43886 * sysvipc/shmctl.c: Likewise.
43887 * sysvipc/shmdt.c: Likewise.
43888 * sysvipc/shmget.c: Likewise.
43889 * termios/tcdrain.c: Likewise.
43890 * termios/tcflow.c: Likewise.
43891 * termios/tcflush.c: Likewise.
43892 * termios/tcgetattr.c: Likewise.
43893 * termios/tcgetpgrp.c: Likewise.
43894 * termios/tcsendbrk.c: Likewise.
43895 * termios/tcsetattr.c: Likewise.
43896 * termios/tcsetpgrp.c: Likewise.
43897 * time/adjtime.c: Likewise.
43898 * time/clock.c: Likewise.
43899 * time/getitimer.c: Likewise.
43900 * time/gettimeofday.c: Likewise.
43901 * time/setitimer.c: Likewise.
43902 * time/settimeofday.c: Likewise.
43903 * time/stime.c: Likewise.
43904 * time/time.c: Likewise.
43905
43906 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
43907
43908 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43909 /usr/old/bin.
43910
43911 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43912 instead of spaces.
43913 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43914
43915 2012-11-03 Joseph Myers <joseph@codesourcery.com>
43916
43917 [BZ #14796]
43918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43919 FE_TONEAREST before applying Dekker multiplication and Knuth
43920 addition. Clear inexact exceptions and check for exact zero
43921 results afterwards.
43922 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43923 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43924 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43925 * math/libm-test.inc (fma_test): Add more tests.
43926 (fma_test_towardzero): Likewise.
43927 (fma_test_downward): Likewise.
43928 (fma_test_upward): Likewise.
43929 * sysdeps/generic/math_private.h (default_libc_fesetround): New
43930 function.
43931 (libc_fesetround): New macro.
43932 (libc_fesetroundf): Likewise.
43933 (libc_fesetroundl): Likewise.
43934 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43935 function.
43936 (libc_fesetround_387): Likewise.
43937 (libc_fesetroundf): New macro.
43938 (libc_fesetround): Likewise.
43939 (libc_fesetroundl): Likewise.
43940 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43941 function.
43942 (libc_fesetroundf): New macro.
43943 (libc_fesetround): Likewise.
43944 (libc_fesetroundl): Likewise.
43945 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43946 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43947 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43948 libm_hidden_ver.
43949 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43950 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43951 libm_hidden_def.
43952 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43953 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43954 libm_hidden_ver.
43955 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43956 libm_hidden_def.
43957
43958 [BZ #3439]
43959 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43960 integer constant usable in #if and use that to give value to enum
43961 constant.
43962 (FE_DIVBYZERO): Likewise.
43963 (FE_UNDERFLOW): Likewise.
43964 (FE_OVERFLOW): Likewise.
43965 (FE_INVALID): Likewise.
43966 (FE_INVALID_SNAN): Likewise.
43967 (FE_INVALID_ISI): Likewise.
43968 (FE_INVALID_IDI): Likewise.
43969 (FE_INVALID_ZDZ): Likewise.
43970 (FE_INVALID_IMZ): Likewise.
43971 (FE_INVALID_COMPARE): Likewise.
43972 (FE_INVALID_SOFTWARE): Likewise.
43973 (FE_INVALID_SQRT): Likewise.
43974 (FE_INVALID_INTEGER_CONVERSION): Likewise.
43975 (FE_TONEAREST): Likewise.
43976 (FE_TOWARDZERO): Likewise.
43977 (FE_UPWARD): Likewise.
43978 (FE_DOWNWARD): Likewise.
43979 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43980 (FE_DIVBYZERO): Likewise.
43981 (FE_OVERFLOW): Likewise.
43982 (FE_UNDERFLOW): Likewise.
43983 (FE_INEXACT): Likewise.
43984 (FE_TONEAREST): Likewise.
43985 (FE_DOWNWARD): Likewise.
43986 (FE_UPWARD): Likewise.
43987 (FE_TOWARDZERO): Likewise.
43988 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43989 (FE_UNDERFLOW): Likewise.
43990 (FE_OVERFLOW): Likewise.
43991 (FE_DIVBYZERO): Likewise.
43992 (FE_INVALID): Likewise.
43993 (FE_TONEAREST): Likewise.
43994 (FE_TOWARDZERO): Likewise.
43995 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43996 (FE_OVERFLOW): Likewise.
43997 (FE_UNDERFLOW): Likewise.
43998 (FE_DIVBYZERO): Likewise.
43999 (FE_INEXACT): Likewise.
44000 (FE_TONEAREST): Likewise.
44001 (FE_TOWARDZERO): Likewise.
44002 (FE_UPWARD): Likewise.
44003 (FE_DOWNWARD): Likewise.
44004 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44005 (FE_DIVBYZERO): Likewise.
44006 (FE_OVERFLOW): Likewise.
44007 (FE_UNDERFLOW): Likewise.
44008 (FE_INEXACT): Likewise.
44009 (FE_TONEAREST): Likewise.
44010 (FE_DOWNWARD): Likewise.
44011 (FE_UPWARD): Likewise.
44012 (FE_TOWARDZERO): Likewise.
44013
44014 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44015
44016 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44017
44018 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44019
44020 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44021 commands. Quote $PWD.
44022 (blacklist_exports): Don't use remove_newlines. Replace "declare
44023 -x" by "export".
44024 (remove_newlines): Remove.
44025
44026 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44027
44028 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44029 * stdlib/stdlib.h (atof): Moved to ...
44030 * include/bits/stdlib-float.h: Here. New file.
44031 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44032 * stdlib/bits/stdlib-float.h: New file.
44033 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44034 -mno-sse -mno-mmx.
44035 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44036 <xmmintrin.h>.
44037
44038 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44039
44040 * conform/conformtest.pl (@headers): Add fenv.h.
44041 * conform/data/fenv.h-data: New file.
44042 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44043 include of <math/fenv.h>.
44044
44045 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44046 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44047 && !UNIX98]. Enables tests for XOPEN2K8.
44048 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44049 POSIX2008]: Likewise.
44050
44051 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44052 (struct rusage): Do not expect type or its members.
44053
44054 [BZ #3439]
44055 * math/math.h (FP_NAN): Define macro to integer constant usable in
44056 #if and use that to give value to enum constant.
44057 (FP_INFINITE): Likewise.
44058 (FP_ZERO): Likewise.
44059 (FP_SUBNORMAL): Likewise.
44060 (FP_NORMAL): Likewise.
44061
44062 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44063
44064 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44065 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44066 arguments.
44067
44068 2012-11-02 Roland McGrath <roland@hack.frob.com>
44069
44070 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44071 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44072 autoconf-time if not.
44073 * configure.in: Remove AC_PREREQ.
44074
44075 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44076
44077 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44078 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44079 of the internal implementation.
44080
44081 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44082
44083 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44084 except include of <misc/sys/syslog.h>.
44085
44086 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44087
44088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44089 function returns with a NULL context exit with zero.
44090
44091 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44092
44093 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44094
44095 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44096
44097 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44098 (run_program_cmd): This.
44099 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44100 (tst_langinfo): New variable. Use it.
44101
44102 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44103
44104 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44105 floating point opcodes.
44106
44107 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44108
44109 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44110 variable.
44111
44112 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44113
44114 * sysdeps/mach/hurd/powerpc: Remove directory.
44115 * sysdeps/mach/powerpc: Likewise.
44116
44117 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44118
44119 * scripts/check-local-headers.sh: Ignore c++ headers.
44120
44121 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44122
44123 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44124 __libc_cleanup_region_start argument.
44125
44126 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44127
44128 [BZ #14784]
44129 [BZ #14785]
44130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44131 x * y using scaling, not as x * y + z.
44132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44133 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44134 * math/libm-test.inc (fma_test): Add more tests.
44135 (fma_test_towardzero): Likewise.
44136 (fma_test_downward): Likewise.
44137 (fma_test_upward): Likewise.
44138
44139 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44140
44141 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44142
44143 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44144
44145 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44146 New variable.
44147
44148 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44149
44150 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44151
44152 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44153
44154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44155 Fix sort order.
44156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44157 Likewise.
44158
44159 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44160
44161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44162 Fix the order of the list for glibc 2.17.
44163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44164 Likewise.
44165
44166 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44167
44168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44169
44170 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44171
44172 [BZ #14610]
44173 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44174 for low part of x being zero before using __atanl (y).
44175 * math/libm-test.inc (atan2_test): Add another test.
44176
44177 * manual/install.texi (Configuring and compiling): Document
44178 general use of test-wrapper and test-wrapper-env.
44179 * INSTALL: Regenerated.
44180
44181 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44182 (__fma): Do not extract and scale down low bits on after-rounding
44183 systems when result rounded to normal precision would have normal
44184 exponent.
44185 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44186 (__fmal): Do not extract and scale down low bits on after-rounding
44187 systems when result rounded to normal precision would have normal
44188 exponent.
44189 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44190 (__fmal): Do not extract and scale down low bits on after-rounding
44191 systems when result rounded to normal precision would have normal
44192 exponent.
44193 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44194 macro.
44195 (fma_test): Add more tests.
44196 (fma_test_towardzero): Likewise.
44197 (fma_test_downward): Likewise.
44198 (fma_test_upward): Likewise.
44199
44200 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44201
44202 * sysdeps/i386/tininess.h: Renamed to ...
44203 * sysdeps/x86/tininess.h: This.
44204 * sysdeps/x86_64/tininess.h: Removed.
44205
44206 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44207
44208 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44209 input. Use $(build-program-cmd).
44210 ($(objpfx)tst-array1-static.out): Likewise.
44211 ($(objpfx)tst-array2.out): Likewise.
44212 ($(objpfx)tst-array3.out): Likewise.
44213 ($(objpfx)tst-array4.out): Likewise.
44214 ($(objpfx)tst-array5.out): Likewise.
44215 ($(objpfx)tst-array5-static.out): Likewise.
44216
44217 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44218
44219 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44220 if defined.
44221
44222 * nss/nsswitch.h (nss_interface_function): Provide new
44223 macro for use with NSS functions.
44224 * grp/initgroups.c: Use new macro.
44225 * nss/getXXbyYY.c: Likewise.
44226 * nss/getXXbyYY_r.c: Likewise.
44227 * nss/getXXent.c: Likewise.
44228 * nss/getXXent_r.c: Likewise.
44229 * sysdeps/posix/getaddrinfo.c: Likewise.
44230
44231 2012-10-30 Andreas Jaeger <aj@suse.de>
44232
44233 * po/ru.po: Update Russion translation from translation project.
44234
44235 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44236
44237 [BZ #14152]
44238 [BZ #14783]
44239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44240 result and shift together with sticky bit instead of replicating
44241 round-to-nearest rounding.
44242 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44243 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44244 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44245 missing underflow exceptions.
44246 (fma_test_towardzero): Add more tests.
44247 (fma_test_downward): Likewise.
44248 (fma_test_upward): Likewise.
44249
44250 [BZ #14047]
44251 * sysdeps/generic/tininess.h: New file.
44252 * sysdeps/i386/tininess.h: Likewise.
44253 * sysdeps/sh/tininess.h: Likewise.
44254 * sysdeps/x86_64/tininess.h: Likewise.
44255 * stdlib/tst-strtod-underflow.c: Likewise.
44256 * stdlib/tst-tininess.c: Likewise.
44257 * stdlib/strtod_l.c: Include <tininess.h>.
44258 (round_and_return): Do not set errno for exact underflow cases.
44259 Force an underflow exception when setting errno for underflow.
44260 Determine underflow based on rounding to normal precision if
44261 TININESS_AFTER_ROUNDING.
44262 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44263 ERANGE for exact underflow cases.
44264 * stdlib/Makefile (tests): Add tst-tininess and
44265 tst-strtod-underflow.
44266 ($(objpfx)tst-tininess): Use $(link-libm).
44267 ($(objpfx)tst-strtod-underflow): Likewise.
44268
44269 2012-10-30 Andreas Jaeger <aj@suse.de>
44270
44271 [BZ#14767]
44272 * elf/Makefile (tests): Remove conditional for have-initfini-array
44273 since this is now always required and the variable does not exist
44274 anymore.
44275 (tests-static): Likewise.
44276 (modules-names): Likewise.
44277
44278 * po/eo.po: Add Esperanto translation from translation project.
44279
44280 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44281 merged with constructor/destructor.
44282 (init_array): Likewise.
44283 * elf/tst-array2dep.c (fini_array): Likewise.
44284 (init_array): Likewise.
44285
44286 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44287
44288 * manual/message.texi: Delete @cartouche tags.
44289
44290 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44291
44292 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44293 EOPNOTSUPP.
44294 * sysdeps/mach/hurd/fsync.c: Likewise.
44295
44296 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44297 [_POSIX_REALTIME_SIGNALS]: Change condition to
44298 [_POSIX_REALTIME_SIGNALS > 0].
44299
44300 2012-10-27 Andreas Jaeger <aj@suse.de>
44301
44302 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44303 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44305 [__WORDSIZE != 64]: Likewise.
44306
44307 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44308
44309 * iconvdata/tst-table.sh: Remove ${SHELL}.
44310 * iconvdata/tst-tables.sh: Likewise.
44311
44312 2012-10-25 David S. Miller <davem@davemloft.net>
44313
44314 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44315 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44316 of strtoull.
44317
44318 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44319 ifunc-impl-list.c
44320 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44321 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44322 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44323 file.
44324
44325 2012-10-25 Roland McGrath <roland@hack.frob.com>
44326
44327 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44328 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44329 __getdirentries.
44330
44331 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44332 Jim Blandy <jimb@codesourcery.com>
44333
44334 * scripts/cross-test-ssh.sh: New file.
44335 * manual/install.texi (Configuring and compiling): Document use of
44336 cross-test-ssh.sh.
44337 * INSTALL: Regenerated.
44338
44339 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44340
44341 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44342 EOPNOTSUPP.
44343
44344 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44345
44346 * Makeconfig (run-program-prefix): Fix comment.
44347
44348 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44349 Jim Blandy <jimb@codesourcery.com>
44350
44351 * Makeconfig (test-wrapper): New variable,
44352 (test-wrapper-env): Likewise.
44353 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44354 (run-built-tests): Define to yes.
44355 (run-program-prefix): Use $(test-wrapper).
44356 (built-program-cmd): Likewise.
44357 * Rules (make-test-out): Use $(test-wrapper-env) and
44358 $(host-built-program-cmd).
44359 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44360 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44361 tst-pathopt.sh.
44362 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44363 $(test-wrapper-env) to tst-rtld-load-self.sh.
44364 ($(objpfx)order2.out): Use $(test-wrapper).
44365 ($(objpfx)tst-initorder.out): Likewise.
44366 ($(objpfx)tst-initorder2.out): Likewise.
44367 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44368 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44369 (test_wrapper_env): New variable. Use it to run ld.so.
44370 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44371 Use it to run ld.so.
44372 (test_wrapper_env): Likewise.
44373 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44374 $(test-wrapper) to run-iconv-test.sh.
44375 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44376 (ICONV): Use $test_wrapper.
44377 * posix/Makefile ($(objpfx)globtest.out): Pass
44378 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44379 globtest.sh, not $(run-program-prefix).
44380 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44381 (test_wrapper): Likewise.
44382 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44383 set together with run_via_rtld_prefix.
44384 (run_program_prefix): Define in terms of test_wrapper and
44385 run_via_rtld_prefix.
44386
44387 2012-10-24 Roland McGrath <roland@hack.frob.com>
44388
44389 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44390 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44391 Targets removed.
44392
44393 [BZ #14743]
44394 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44395 Declare __clock_getres, __clock_gettime, __clock_settime,
44396 __clock_nanosleep, and __clock_getcpuclockid.
44397 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44398 Remove librt_hidden_def (clock_gettime).
44399 * sysdeps/unix/clock_gettime.c: Likewise.
44400 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44401 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44402 * rt/clock_getres.c: Define __clock_getres as an alias.
44403 * sysdeps/posix/clock_getres.c: Likewise.
44404 * rt/clock_settime.c: Define __clock_settime as an alias.
44405 * sysdeps/unix/clock_settime.c: Likewise.
44406 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44407 * sysdeps/unix/clock_nanosleep.c: Likewise.
44408 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44409 * rt/clock-compat.c: New file.
44410 * rt/Makefile (librt-routines): Add clock-compat and move
44411 $(clock-routines) to ...
44412 (routines): ... here, new variable.
44413 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44414 Don't add get_clockfreq here.
44415 * rt/Versions (libc: GLIBC_2.17): New version set.
44416 Add clock_* symbols here.
44417 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44418 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44419 (GLIBC_2.17): Add clock_* symbols.
44420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44422 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44424 Likewise.
44425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44426 Likewise.
44427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44431 * NEWS: Mention the move.
44432
44433 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44434 Use __open, __read, __close rather than their public counterparts.
44435 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44436 (__get_clockfreq_via_cpuinfo): Likewise.
44437 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44438 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44439
44440 * config.h.in (HAVE_IFUNC): New #undef.
44441 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44442 was successful.
44443 * configure: Regenerated.
44444
44445 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44446
44447 * configure.in: Move READELF check to start of file.
44448 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44449 libc_cv_asm_gnu_indirect_function in the process.
44450 * configure: Regenerated.
44451
44452 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44453
44454 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44455 send the output to /dev/null.
44456 (libc_cv_cc_with_libunwind): Likewise.
44457 (libc_cv_as_noexecstack): Likewise.
44458 * configure: Regenerate.
44459
44460 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44461
44462 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44463
44464 * posix/globtest.sh (TMPDIR): Do not set.
44465 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44466 (testout): Likewise.
44467
44468 2012-10-24 Andreas Jaeger <aj@suse.de>
44469
44470 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44471 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44472 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44473 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44474 posix_fadvise64, posix_fallocate64.
44475
44476 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44477 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44478 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44479 Likewise.
44480 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44481 Likewise.
44482 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44483
44484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44485 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44486 <bits/fcntl-linux.h>.
44487 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44488
44489 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44490 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44491 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44492 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44493 [__WORDSIZE != 64]: Likewise.
44494
44495 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44496
44497 * Makeconfig (run-built-tests): New variable.
44498 * Rules [$(cross-compiling) = yes]: Change condition to
44499 [$(run-built-tests) = no].
44500 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44501 to [$(run-built-tests) = yes].
44502 * elf/Makefile [$(cross-compiling) = no]: Likewise
44503 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44504 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44505 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44506 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44507 * io/Makefile [$(cross-compiling) = no]: Likewise.
44508 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44509 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44510 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44511 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44512 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44513 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44514 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44515 * string/Makefile [$(cross-compiling) = no]: Likewise.
44516
44517 * posix/Makefile ($(objpfx)globtest.out): Pass
44518 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44519 $(rtld-installed-name).
44520 * posix/globtest.sh (elf_objpfx): Remove variable.
44521 (rtld_installed_name): Likewise.
44522 (library_path): Likewise.
44523 (run_program_prefix): New variable. Use for running globtest
44524 binary.
44525
44526 2012-10-23 Jim Blandy <jimb@codesourcery.com>
44527 Joseph Myers <joseph@codesourcery.com>
44528
44529 * Makeconfig (host-built-program-cmd): New variable.
44530 * elf/Makefile (tst-stackguard1-ARGS): Use
44531 $(host-built-program-cmd).
44532 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44533 (tst-spawn-ARGS): Likewise.
44534 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44535
44536 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44537 Jim Blandy <jimb@codesourcery.com>
44538
44539 * Makeconfig (run-via-rtld-prefix): New variable.
44540 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44541 (built-program-cmd): Likewise.
44542
44543 2012-10-22 Andreas Jaeger <aj@suse.de>
44544
44545 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44546 __O_RSYNC if it exists, otherwise to O_SYNC.
44547
44548 2012-10-22 Jim Blandy <jimb@codesourcery.com>
44549 Joseph Myers <joseph@codesourcery.com>
44550
44551 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44552 /dev/null.
44553 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44554 from /dev/null
44555 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44556 /dev/null.
44557
44558 2012-10-22 Andreas Jaeger <aj@suse.de>
44559
44560 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44561 Define always.
44562 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44563
44564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44565 bits/fcntl-linux.h.
44566
44567 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44568 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44569
44570 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44571 to __O_LARGEFILE.
44572 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44573 to __O_LARGEFILE.
44574
44575 2012-10-21 Jim Blandy <jimb@codesourcery.com>
44576 Joseph Myers <joseph@codesourcery.com>
44577
44578 * config.make.in (NM): New variable.
44579
44580 2012-10-21 Andreas Jaeger <aj@suse.de>
44581
44582 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44583 definitions and declarations that are provided by
44584 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44585
44586 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44587
44588 [BZ #14683]
44589 * elf/Makefile (tests-static): Add tst-leaks1-static.
44590 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44591 ($(objpfx)tst-leaks1-static): New rule.
44592 ($(objpfx)tst-leaks1-static-mem): Likewise.
44593 (tst-leaks1-static-ENV): New macro.
44594 * elf/dl-open.c (dl_open_worker): Check the main application
44595 only if SHARED is defined.
44596 * elf/tst-leaks1-static.c: New file.
44597
44598 2012-10-20 Andreas Jaeger <aj@suse.de>
44599
44600 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44601 generic values for Linux.
44602 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44603 and declarations that are provided by <bits/fcntl-linux.h> and
44604 include <bits/fcntl-linux.h>.
44605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44606 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44607
44608 2012-10-20 Roland McGrath <roland@hack.frob.com>
44609
44610 * io/fcntl.h: Move include of <bits/types.h> to the top and
44611 include it unconditionally.
44612
44613 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44614
44615 * wcsmbs/Makefile (tests-ifunc): New variable.
44616 (tests): Add $(tests-ifunc).
44617 * wcsmbs/test-wcschr-ifunc.c: New file.
44618 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44619 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44620 * wcsmbs/test-wcslen-ifunc.c: Likewise.
44621 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44622 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44623
44624 * string/Makefile (tests-ifunc): New variable.
44625 (tests): Add $(tests-ifunc).
44626 * string/test-memccpy.c (TEST_NAME): New macro.
44627 * string/test-memchr.c (TEST_NAME): Likewise.
44628 * string/test-memcmp.c (TEST_NAME): Likewise.
44629 * string/test-memcpy.c (TEST_NAME): Likewise.
44630 * string/test-memmem.c (TEST_NAME): Likewise.
44631 * string/test-memmove.c (TEST_NAME): Likewise.
44632 * string/test-memset.c (TEST_NAME): Likewise.
44633 * string/test-rawmemchr.c (TEST_NAME): Likewise.
44634 * string/test-stpcpy.c (TEST_NAME): Likewise.
44635 * string/test-stpncpy.c (TEST_NAME): Likewise.
44636 * string/test-strcasecmp.c (TEST_NAME): Likewise.
44637 * string/test-strcasestr.c (TEST_NAME): Likewise.
44638 * string/test-strcat.c (TEST_NAME): Likewise.
44639 * string/test-strchr.c (TEST_NAME): Likewise.
44640 * string/test-strcmp.c(TEST_NAME): Likewise.
44641 * string/test-strcpy.c (TEST_NAME): Likewise.
44642 * string/test-strcspn.c (TEST_NAME): Likewise.
44643 * string/test-strlen.c (TEST_NAME): Likewise.
44644 * string/test-strncasecmp.c (TEST_NAME): Likewise.
44645 * string/test-strncmp.c (TEST_NAME): Likewise.
44646 * string/test-strncpy.c (TEST_NAME): Likewise.
44647 * string/test-strnlen.c (TEST_NAME): Likewise.
44648 * string/test-strpbrk.c (TEST_NAME): Likewise.
44649 * string/test-strrchr.c (TEST_NAME): Likewise.
44650 * string/test-strspn.c (TEST_NAME): Likewise.
44651 * string/test-strstr.c (TEST_NAME): Likewise.
44652 * string/test-bcopy-ifunc.c: New file.
44653 * string/test-bzero-ifunc.c: Likewise.
44654 * string/test-memccpy-ifunc.c: Likewise.
44655 * string/test-memchr-ifunc.c: Likewise.
44656 * string/test-memcmp-ifunc.c: Likewise.
44657 * string/test-memcpy-ifunc.c: Likewise.
44658 * string/test-memmem-ifunc.c: Likewise.
44659 * string/test-memmove-ifunc.c: Likewise.
44660 * string/test-mempcpy-ifunc.c: Likewise.
44661 * string/test-memset-ifunc.c: Likewise.
44662 * string/test-rawmemchr-ifunc.c: Likewise.
44663 * string/test-stpcpy-ifunc.c: Likewise.
44664 * string/test-stpncpy-ifunc.c: Likewise.
44665 * string/test-strcasecmp-ifunc.c: Likewise.
44666 * string/test-strcasestr-ifunc.c: Likewise.
44667 * string/test-strcat-ifunc.c: Likewise.
44668 * string/test-strchr-ifunc.c: Likewise.
44669 * string/test-strchrnul-ifunc.c: Likewise.
44670 * string/test-strcmp-ifunc.c: Likewise.
44671 * string/test-strcpy-ifunc.c: Likewise.
44672 * string/test-strcspn-ifunc.c: Likewise.
44673 * string/test-strlen-ifunc.c: Likewise.
44674 * string/test-strncasecmp-ifunc.c: Likewise.
44675 * string/test-strncat-ifunc.c: Likewise.
44676 * string/test-strncmp-ifunc.c: Likewise.
44677 * string/test-strncpy-ifunc.c: Likewise.
44678 * string/test-strnlen-ifunc.c: Likewise.
44679 * string/test-strpbrk-ifunc.c: Likewise.
44680 * string/test-strrchr-ifunc.c: Likewise.
44681 * string/test-strspn-ifunc.c: Likewise.
44682 * string/test-strstr-ifunc.c: Likewise.
44683
44684 * debug/Makefile (tests-ifunc): New variable.
44685 (tests): Add $(tests-ifunc).
44686 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44687 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44688 * debug/test-stpcpy_chk-ifunc.c: New file.
44689 * debug/test-strcpy_chk-ifunc.c: Likewise.
44690
44691 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
44692
44693 [BZ #13601]
44694 * elf/dl-load.c (open_verify): Retry read if the entire ELF
44695 header is not read in.
44696
44697 2012-10-19 Joseph Myers <joseph@codesourcery.com>
44698
44699 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
44700 script to $(SHELL) as $<. Pass $(common-objpfx) to script
44701 directly. Pass built executable to script as
44702 $(built-program-cmd).
44703 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
44704 $testprogram without using LD_LIBRARY_PATH and $ldso.
44705
44706 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44707 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44708 $(rtld-installed-name).
44709 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44710 (rtld_installed_name): Likewise.
44711 (library_path): Likewise.
44712 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
44713 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44714 $(run-program-prefix) to tst-tables.sh.
44715 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
44716 it to run tst-table-from and tst-table-to.
44717 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44718 Pass it to tst-table.sh.
44719 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44720 $(run-program-prefix) to tst-gettext.sh.
44721 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44722 tst-translit.sh.
44723 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44724 tst-gettext2.sh.
44725 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
44726 to run tst-gettext.
44727 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
44728 to run tst-gettext2.
44729 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
44730 to run tst-translit.
44731 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44732 $(run-program-prefix) to tst-mtrace.sh.
44733 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
44734 to run tst-mtrace.
44735 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44736 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44737 $(rtld-installed-name).
44738 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44739 (rtld_installed_name): Likewise.
44740 (run_program_prefix): New variable. Use it to run wordexp-test.
44741
44742 * Makeconfig (ARCH): Remove all definitions.
44743 (machine): Likewise.
44744 [ARCH]: Remove conditional code.
44745 [!objdir]: Give error.
44746 [!objdir] (objpfx): Remove.
44747 [!objdir] (common-objpfx): Likewise.
44748 [!objdir] (common-objdir): Likewise.
44749 * configure.in (config_makefile): Remove. Hardcode Makefile in
44750 AC_CONFIG_FILES call.
44751 * configure: Regenerated.
44752
44753 [BZ #13888]
44754 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44755 or TMPDIR.
44756 (testout): Likewise.
44757
44758 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44759 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44760 $(rtld-installed-name).
44761 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44762 (rtld_installed_name): Likwise.
44763 (runit): Remove function.
44764 (run_getconf): New variable, Use it for running getconf binary.
44765
44766 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
44767
44768 [BZ #14716]
44769 * string/test-memmem.c (check_result): New function.
44770 (do_one_test): Use it.
44771 (check1): New function.
44772 (test_main): Use it.
44773
44774 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
44775
44776 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44777
44778 2012-10-18 Joseph Myers <joseph@codesourcery.com>
44779
44780 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44781 (_G_LSEEK64): Likewise.
44782 (_G_MMAP64): Likewise.
44783 (_G_FSTAT64): Likewise.
44784 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44785 (_G_LSEEK64): Likewise.
44786 (_G_MMAP64): Likewise.
44787 (_G_FSTAT64): Likewise.
44788 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44789 unconditional. Call __mmap64 directly.
44790 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44791 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
44792 __lseek64 directly.
44793 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44794 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
44795 __mmap64 directly.
44796 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44797 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
44798 __lseek64 directly.
44799 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44800 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
44801 __lseek64 directly.
44802 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44803 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
44804 __lseek64 directly.
44805 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44806 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
44807 __fxstat64 directly.
44808 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44809 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44810 unconditional.
44811 (freopen64) [!_G_OPEN64]: Remove conditional code.
44812 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44813 unconditional.
44814 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44815 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44816 unconditional.
44817 (ftello64) [!_G_LSEEK64]: Remove conditional code.
44818 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44819 unconditional.
44820 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44821 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44822 unconditional.
44823 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44824 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44825 unconditional.
44826 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44827 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44828 unconditional.
44829 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44830 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44831 unconditional.
44832 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44833
44834 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
44835
44836 [BZ #12140]
44837 * manual/memory.texi (Malloc Tunable Parameters): Add note
44838 about free list pointers overwriting some perturb bytes.
44839 Wording suggested by Roland McGrath.
44840
44841 2012-10-17 Joseph Myers <joseph@codesourcery.com>
44842
44843 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44844 (lgamma_test): Likewise.
44845 (tgamma_test): Likewise.
44846
44847 2012-10-16 Florian Weimer <fweimer@redhat.com>
44848
44849 [BZ #14700]
44850 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44851 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44852
44853 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
44854
44855 * NEWS: Mention BZ #14716.
44856 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44857 when removing AVAILABLE1_USES_J macro.
44858
44859 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
44860
44861 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44862 (__bswap_64): __uint64_t for unsigned 64-bit int.
44863
44864 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
44865
44866 * include/string.h (memmem): Declare libc hidden alias.
44867 * string/memmem.c (memmem): Define libc hidden alias.
44868 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44869 __read, __close instead of open, read, close.
44870
44871 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
44872
44873 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44874 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44875 global and hidden.
44876 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44877 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44878 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44879 Likewise.
44880 (__rawmemchr_sse2): Likewise.
44881 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44882 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44883 (__strchr_sse2): Likewise.
44884 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44885 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44886 (__strcasecmp_sse2): Likewise.
44887 (__strncasecmp_sse2): Likewise.
44888 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44889 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44890 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44891 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44892 (__strrchr_sse2): Likewise.
44893 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44894 ifunc-impl-list.c.
44895 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44896 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44897 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44898 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44899 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44900 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44901 * sysdeps/x86_64/multiarch/memset.S: Likewise.
44902 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44903 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44904 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44905 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44906 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44907 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44908 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44909 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44910 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44911 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44912 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44913 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44914 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44915 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44916 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44917 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44918 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44919 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44920 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44921 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44922 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44923 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44924 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44925
44926 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44927 global and hidden.
44928 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44929 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44930 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44931 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44932 Likewise.
44933 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44934 Likewise.
44935 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44936 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44937 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44938 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44939 ifunc-impl-list.c.
44940 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44941 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44942 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44943 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44944 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44945 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44946 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44947 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44948 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44949 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44950 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44951 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44952 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44953 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44954 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44955 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44956 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44957 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44958 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44959 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44960 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44961 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44962 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44963 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44964 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44965 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44966 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44967 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44968 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44969 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44970 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44971 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44972 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44973 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44974 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44975 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44976 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44977 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44978 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44979 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44980 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44981
44982 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44983 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44984 * include/ifunc-impl-list.h: New file.
44985 * misc/ifunc-impl-list.c: Likewise.
44986 * misc/Makefile (routines): Add ifunc-impl-list.
44987 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44988 * string/test-string.h: Include <ifunc-impl-list.h>.
44989 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44990 TEST_NAME]: New variables.
44991 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44992 are defined.
44993 (test_init): Call __libc_ifunc_impl_list to initialize
44994 func_list if TEST_IFUNC and TEST_NAME are defined.
44995
44996 * string/Makefile (strop-tests): Add bcopy and bzero.
44997 * string/test-bcopy.c: New file.
44998 * string/test-bzero.c: Likewise.
44999 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45000 defined.
45001 * string/test-memset.c: Support bzero test if TEST_BZERO is
45002 defined.
45003 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45004 __libc_memmove.
45005 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45006 __libc_memset.
45007 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45008 of memset.
45009
45010 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45011
45012 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45013 * configure: Regenerated.
45014
45015 * Makeconfig (+link-static-before-libc): Don't include
45016 $(link-static-libc).
45017
45018 * libio/libio.h (_IO_pos_t): Remove.
45019
45020 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45021
45022 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45023 McGrath.
45024
45025 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45026
45027 * crypt/crypt-entry.c: Include fips-private.h.
45028 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45029 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45030 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45031 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45032
45033 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45034
45035 * crypt/crypt-private.h: Include stdbool.h.
45036 (_ufc_setup_salt_r): Return bool.
45037 * crypt/crypt-entry.c: Include errno.h.
45038 (__crypt_r): Return NULL with EINVAL for bad salt.
45039 * crypt/crypt_util.c (bad_for_salt): New.
45040 (_ufc_setup_salt_r): Check that salt is long enough and within
45041 the specified alphabet.
45042 * crypt/badsalttest.c: New file.
45043 * crypt/Makefile (tests): Add it.
45044 ($(objpfx)badsalttest): New.
45045
45046 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45047
45048 * NEWS: Add entry for BZ #14602.
45049
45050 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45051
45052 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45053 type-generic.
45054 * math/libm-test.inc: Update comment listing what functions and
45055 macros are tested.
45056 (isgreater_test): New function.
45057 (isgreaterequal_test): Likewise.
45058 (isless_test): Likewise.
45059 (islessequal_test): Likewise.
45060 (islessgreater_test): Likewise.
45061 (isunordered_test): Likewise.
45062 (main): Call the new functions.
45063
45064 2012-10-09 Roland McGrath <roland@hack.frob.com>
45065
45066 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45067 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45068 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45069 * sysdeps/i386/configure: Regenerated.
45070 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45071 * sysdeps/mach/configure: Regenerated.
45072 * sysdeps/mach/hurd/configure: Regenerated.
45073 * sysdeps/powerpc/configure: Regenerated.
45074 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45075 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45076 * sysdeps/s390/s390-32/configure: Regenerated.
45077 * sysdeps/s390/s390-64/configure: Regenerated.
45078 * sysdeps/sh/configure: Regenerated.
45079 * sysdeps/sparc/configure: Regenerated.
45080 * sysdeps/unix/sysv/linux/configure: Regenerated.
45081 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45082 * sysdeps/x86_64/configure: Regenerated.
45083
45084 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45085 defined. Don't check if MAP is NULL.
45086
45087 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45088
45089 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45090 (_G_stat64): Likewise.
45091 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45092 (_G_stat64): Likewise.
45093 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45094 instead of struct _G_stat64.
45095 * libio/fileops.c (mmap_remap_check): Likewise.
45096 (decide_maybe_mmap): Likewise.
45097 (_IO_new_file_seekoff): Likewise.
45098 (_IO_file_stat): Likewise.
45099 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45100 _G_off64_t.
45101 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45102 instead of struct _G_stat64.
45103 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45104
45105 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45106
45107 [BZ #14602]
45108 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45109 Replace with ...
45110 (CHECK_EOL): New macro.
45111 (two_way_short_needle): Check beginning of haystack for EOL. Use
45112 CHECK_EOL.
45113 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45114 Replace with CHECK_EOL.
45115 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45116 Replace with CHECK_EOL.
45117
45118 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45119
45120 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45121 type-generic.
45122 * math/libm-test.inc: Update comment listing what functions and
45123 macros are tested.
45124 (finite_test): New function.
45125 (isinf_test): Likewise.
45126 (isnan_test): Likewise.
45127 (fpclassify_test): Test subnormal input.
45128 (isfinite_test): Likewise.
45129 (isnormal_test): Likewise.
45130 (main): Call the new functions.
45131
45132 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45133
45134 [BZ #14660]
45135 * Makerules (%.dynsym): Force C locale when running
45136 $(OBJDUMP) --dynamic-syms.
45137
45138 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45139
45140 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45141 <stdint.h>.
45142
45143 2012-10-06 David S. Miller <davem@davemloft.net>
45144
45145 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45146 upper 32-bits of the length value in %o2 since we use branch-on-register
45147 tests which consider the entire 64-bit register.
45148
45149 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45150
45151 * string/test-strstr.c (check2): Add a test for page boundary.
45152
45153 2012-10-05 David S. Miller <davem@davemloft.net>
45154
45155 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45156 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45157 file.
45158 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45159 sysdep_routines.
45160 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45161 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45162 and bzero when HWCAP_SPARC_CRYPTO is present.
45163
45164 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45165
45166 [BZ #14602]
45167 * string/test-strstr.c (check2): New function.
45168 (test_main): Call check2.
45169
45170 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45171 and bug-strchr1.
45172 * string/bug-strcasestr1.c (do_test): Moved to ...
45173 * string/test-strcasestr.c (check1): Here. New function.
45174 (do_one_test): Break out result checking code into ...
45175 (check_result): This. New function.
45176 (do_one_test): Call check_result.
45177 (test_main): Call check1.
45178 * string/bug-strchr1.c (do_test): Moved to ...
45179 * string/test-strchr.c (check1): Here. New function.
45180 (do_one_test): Break out result checking code into ...
45181 (check_result): This. New function.
45182 (do_one_test): Call check_result.
45183 (test_main): Call check1.
45184 * string/bug-strstr1.c (main): Moved to ...
45185 * string/test-strstr.c (check1): Here. New function.
45186 (do_one_test): Break out result checking code into ...
45187 (check_result): This. New function.
45188 (do_one_test): Call check_result.
45189 (test_main): Call check1.
45190 * string/bug-strcasestr1.c: Removed.
45191 * string/bug-strchr1.c: Likewise.
45192 * string/bug-strstr1.c: Likewise.
45193
45194 * elf/Makefile (dl-routines): Add hwcaps.
45195 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45196 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45197 (_dl_important_hwcaps): Moved to ...
45198 * elf/dl-hwcaps.c: Here. New file.
45199 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45200
45201 [BZ #14557]
45202 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45203 if IS_IN_rtld isn't defined.
45204
45205 * elf/dl-support.c (_dl_sysinfo_map): New.
45206 Include "get-dynamic-info.h" and "setup-vdso.h".
45207 (_dl_non_dynamic_init): Call setup_vdso.
45208 * elf/dynamic-link.h: Don't include <assert.h>.
45209 (elf_get_dynamic_info): Moved to ...
45210 * elf/get-dynamic-info.h: Here. New file.
45211 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45212 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45213 * elf/setup-vdso.h: Here. New file.
45214 * elf/rtld.c: Include "setup-vdso.h".
45215 (dl_main): Call setup_vdso.
45216
45217 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45218
45219 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45220 creal in comment listing functions tested. List finite, isinf,
45221 isnan, isless, islessequal, isgreater, isgreaterequal,
45222 islessgreater, isunordered, lgamma_r and pow10 as functions and
45223 macros not tested. Mention which functions not tested are aliases
45224 for other functions. Fix typo. Note that signs of NaNs are not
45225 tested.
45226
45227 * scripts/config.guess: Update from config.git.
45228 * scripts/config.sub: Likewise.
45229
45230 2012-10-04 Roland McGrath <roland@hack.frob.com>
45231
45232 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45233 * misc/madvise.c (madvise): Renamed to __madvise.
45234 Make madvise a weak alias.
45235 * include/sys/mman.h: Declare __madvise.
45236 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45237 * sysdeps/unix/syscalls.list
45238 (madvise): Make __madvise the strong name, and madvise a weak alias.
45239 * sysdeps/unix/sysv/linux/syscalls.list
45240 (madvise, mmap): Remove redundant entries.
45241 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45242 * malloc/malloc.c (mtrim): Likewise.
45243 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45244
45245 2012-10-03 Roland McGrath <roland@hack.frob.com>
45246
45247 * sysdeps/mach/hurd/dl-cache.c: File removed.
45248 * config.h.in (USE_LDCONFIG): New #undef.
45249 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45250 * configure: Regenerated.
45251 * elf/Makefile (dl-routines): Add dl-cache only under
45252 [$(use-ldconfig) = yes].
45253 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45254 cache on [USE_LDCONFIG].
45255 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45256 [USE_LDCONFIG].
45257 * elf/rtld.c (dl_main): Likewise.
45258
45259 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45260
45261 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45262 _SC_LEVEL4_CACHE_LINESIZE.
45263
45264 2012-10-03 Roland McGrath <roland@hack.frob.com>
45265
45266 * sysdeps/unix/bsd/confstr.h: File removed.
45267
45268 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45269
45270 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45271 sys/sdt-config.h.
45272
45273 2012-10-02 Roland McGrath <roland@hack.frob.com>
45274
45275 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45276 Make 'mapoff' field ElfW(Off) rather than off_t.
45277
45278 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45279
45280 * nscd/Makefile: Remove nscd-cflags and all its users.
45281 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45282 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45283
45284 [BZ #10631]
45285 * malloc.c (malloc_printerr): Clarify error message.
45286
45287 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45288
45289 [BZ #14648]
45290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45291 Set bit_FMA_Usable if FMA is supported.
45292 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45293 macro.
45294 (bit_FMA4_Usable): Updated.
45295 (index_FMA_Usable): New macro.
45296 (CPUID_FMA): Likewise
45297 (HAS_FMA): Defined with bit_FMA_Usable.
45298
45299 2012-10-01 Roland McGrath <roland@hack.frob.com>
45300
45301 * bits/types.h (__swblk_t): Type removed.
45302 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45303 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45304 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45305 (__SWBLK_T_TYPE): Likewise.
45306 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45307 (__SWBLK_T_TYPE): Likewise.
45308 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45309 (__SWBLK_T_TYPE): Likewise.
45310 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45311 (__SWBLK_T_TYPE): Likewise.
45312
45313 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45314 Honza Horak <hhorak@redhat.com>
45315
45316 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45317 (xdr_mapname): Use YPMAXMAP as maxsize.
45318 (xdr_peername): Use YPMAXPEER as maxsize.
45319 (xdr_keydat): Use YPAXRECORD as maxsize.
45320 (xdr_valdat): Use YPMAXRECORD as maxsize.
45321
45322 2012-10-01 Roland McGrath <roland@hack.frob.com>
45323
45324 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45325
45326 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45327 * csu/init-first.c: ... here.
45328 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45329 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45330 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45331 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45332 * sysdeps/i386/init-first.c: File removed.
45333 * sysdeps/sh/init-first.c: File removed.
45334
45335 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45336
45337 [BZ #14645]
45338 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45339 if x * y might underflow to zero and z is zero.
45340 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45341 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45342 * math/libm-test.inc (min_subnorm_value): New variable.
45343 (fma_test): Add more tests.
45344 (fma_test_towardzero): Likewise.
45345 (fma_test_downward): Likewise
45346 (fma_test_upward): Likewise.
45347 (initialize): Set min_subnorm_value.
45348
45349 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45350
45351 [BZ #14638]
45352 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45353 0 + 0.
45354 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45355 mode for addition resulting in exact zero.
45356 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45357 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45358 exact 0 + 0.
45359 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45360 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45361 * math/libm-test.inc (fma_test): Add more tests.
45362 (fma_test_towardzero): New function.
45363 (fma_test_downward): Likewise.
45364 (fma_test_upward): Likewise.
45365 (main): Call the new functions.
45366
45367 2012-09-28 David S. Miller <davem@davemloft.net>
45368
45369 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45370
45371 2012-09-28 Roland McGrath <roland@hack.frob.com>
45372
45373 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45374 instead of SIGALRM.
45375
45376 * sysdeps/gnu/_G_config.h: Moved to ...
45377 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45378 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45379 * sysdeps/generic/_G_config.h: ... here.
45380
45381 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45382
45383 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45384
45385 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45386 Conditionalize target on [libnss_test1.so-version].
45387
45388 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45389
45390 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45391 (elfobjdir): Move out of conditionals.
45392
45393 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45394 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45395 (__nss_lookup_function): Conditionalize label remove_from_tree on
45396 [!DO_STATIC_NSS || SHARED], matching its only use.
45397
45398 2012-09-28 David S. Miller <davem@davemloft.net>
45399
45400 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45401 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45402 file.
45403 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45404 sysdep_routines.
45405 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45406 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45407 when HWCAP_SPARC_CRYPTO is present.
45408
45409 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45410
45411 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45412
45413 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45414
45415 [BZ #6530]
45416 * stdio-common/vfprintf.c (process_string_arg): Revert
45417 2000-07-22 change.
45418
45419 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45420
45421 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45422 for testcase.
45423 * stdio-common/tst-sprintf.c: Include <locale.h>
45424 (main): Test sprintf's handling of incomplete multibyte
45425 characters.
45426
45427 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45428
45429 * elf/dl-runtime.c (VERSYMIDX): Removed.
45430 * elf/dl-version.c (VERSYMIDX): Likewise.
45431 * elf/do-rel.h (VERSYMIDX): Likewise.
45432 (VALIDX): Likewise.
45433 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45434 * elf/rtld.c (VALIDX): Likewise.
45435 (ADDRIDX): Likewise.
45436 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45437 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45438 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45439 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45440 (VALIDX): Likewise.
45441 (ADDRIDX): Likewise.
45442
45443 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45444
45445 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45446
45447 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45448
45449 [BZ #11438]
45450 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45451 to global scope.
45452 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45453 addresses are in the same scope as 192.0.2/24.
45454 * posix/gai.conf: Document new scope table defaults.
45455
45456 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45457
45458 [BZ #5298]
45459 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45460 for ftell. Compute offsets from write pointers instead.
45461 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45462
45463 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45464
45465 [BZ #14543]
45466 * libio/Makefile (tests): New test case tst-fseek.
45467 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45468 combination works in wide mode.
45469 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45470 state when the external buffer state changes.
45471
45472 2012-09-27 David S. Miller <davem@davemloft.net>
45473
45474 [BZ #14376]
45475 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45476 pass reloc->r_addend in as the 'high' argument to
45477 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45478
45479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45480
45481 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45482
45483 * rt/tst-aio2.c: Include <pthread.h>.
45484 * rt/tst-aio3.c: Likewise.
45485
45486 2012-09-27 Steve Ellcey <sellcey@mips.com>
45487
45488 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45489
45490 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45491
45492 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45493 contents on [SHARED].
45494
45495 2012-09-26 Marek Polacek <polacek@redhat.com>
45496
45497 [BZ #14530]
45498 [BZ #13741]
45499 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45500 for C++ and GCC <4.3 as well as for non GCC compilers.
45501
45502 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45503
45504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45505
45506 2012-09-25 Roland McGrath <roland@hack.frob.com>
45507
45508 * Makefile.in (all, install): Declare with .PHONY.
45509 Reported by Michael Hope <michael.hope@linaro.org>.
45510
45511 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45512
45513 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45514 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45515 system header.
45516 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45517 Likewise.
45518 (sydep_routines): Add the new and the internal functions.
45519 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45520 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45522 (GLIBC_2.17): Add the new function.
45523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45524 (GLIBC_2.17): Likewise.
45525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45526 (GLIBC_2.17): Likewise.
45527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45528 (GLIBC_2.17): Likewise.
45529 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45530
45531 2012-09-25 Alan Modra <amodra@gmail.com>
45532
45533 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45534 Add release barrier before setting once_control to say
45535 initialisation is done. Add hints on lwarx. Use macro in
45536 place of isync.
45537 (clear_once_control): Add release barrier.
45538
45539 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45540
45541 [BZ #13629]
45542 * math/s_clog.c (__clog): Handle more values close to |z| = 1
45543 specially.
45544 * math/s_clog10.c (__clog10): Likewise.
45545 * math/s_clog10f.c (__clog10f): Likewise.
45546 * math/s_clog10l.c (__clog10l): Likewise.
45547 * math/s_clogf.c (__clogf): Likewise.
45548 * math/s_clogl.c (__clogl): Likewise.
45549 * math/Makefile (libm-calls): Add x2y2m1.
45550 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45551 (__x2y2m1): Likewise.
45552 (__x2y2m1l): Likewise.
45553 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45554 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45555 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45556 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45557 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45558 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45559 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45560 * sysdeps/i386/fpu/libm-test-ulps: Update.
45561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45562
45563 [BZ #14621]
45564 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45565 int as type of variable DEPTH.
45566 (glob): Use size_t instead of int as type of variables NEWCOUNT
45567 and OLD_PATHC.
45568
45569 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45570
45571 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45572 Add s_sincosf-sse2.
45573 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45574 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45575 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45576 macros for using routine as __sincosf_ia32.
45577 Use macro for function declaration and weak_alias.
45578 * sysdeps/i386/fpu/libm-test-ulps: Update.
45579
45580 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45582
45583 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45584 subnormal argument.
45585 * math/s_cexpf.c (__cexpf): Likewise.
45586 * math/s_csinf.c (__csinf): Likewise.
45587 * math/s_csinhf.c (__csinhf): Likewise.
45588 * math/s_ctanf.c (__ctanf): Likewise.
45589 * math/s_ctanhf.c (__ctanhf): Likewise.
45590 * math/s_ccosh.c (__ccoshf): Likewise.
45591 * math/s_cexp.c (__cexpl): Likewise.
45592 * math/s_csin.c (__csin): Likewise.
45593 * math/s_csinh.c (__csinh): Likewise.
45594 * math/s_ctan.c (__ctan): Likewise.
45595 * math/s_ctanh.c (ctanh): Likewise.
45596 * math/s_ccoshl.c (__ccoshl): Likewise.
45597 * math/s_cexpl.c (__cexpl): Likewise.
45598 * math/s_csinl.c (__csinl): Likewise.
45599 * math/s_csinhl.c (__csinhl): Likewise.
45600 * math/s_ctanl.c (__ctanl): Likewise.
45601 * math/s_ctanhl.c (__ctanhl): Likewise.
45602
45603 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45604
45605 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45606 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45607 (_IO_off_t): Define to __off_t, not _G_off_t.
45608 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45609 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45610 (_IO_wint_t): Define to wint_t, not _G_wint_t.
45611 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45612 type of __dummy and __dummy2 fields.
45613 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45614 (_G_ssize_t): Likewise.
45615 (_G_off_t): Likewise.
45616 (_G_pid_t): Likewise.
45617 (_G_uid_t): Likewise.
45618 (_G_wchar_t): Likewise.
45619 (_G_wint_t): Likewise.
45620 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45621 (_G_ssize_t): Likewise.
45622 (_G_off_t): Likewise.
45623 (_G_pid_t): Likewise.
45624 (_G_uid_t): Likewise.
45625 (_G_wchar_t): Likewise.
45626 (_G_wint_t): Likewise.
45627 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45628 (_G_ssize_t): Likewise.
45629 (_G_off_t): Likewise.
45630 (_G_pid_t): Likewise.
45631 (_G_uid_t): Likewise.
45632 (_G_wchar_t): Likewise.
45633 (_G_wint_t): Likewise.
45634
45635 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45636
45637 * malloc/arena.c: Include malloc-sysdep.h.
45638 (shrink_heap): Use check_may_shrink_heap to decide if madvise
45639 is sufficient to shrink the heap or an unmap is needed.
45640 * sysdeps/generic/malloc-sysdep.h: New file. Define
45641 new function check_may_shrink_heap.
45642 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
45643 new function check_may_shrink_heap.
45644
45645 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45646
45647 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45648 comments.
45649
45650 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
45651
45652 * catgets/test-gencat.sh: Add "set -e".
45653 * elf/tst-pathopt.sh: Likewise.
45654 * grp/tst_fgetgrent.sh: Likewise.
45655 * iconvdata/run-iconv-test.sh: Likewise.
45656 * intl/tst-gettext.sh: Likewise.
45657 * intl/tst-gettext2.sh: Likewise.
45658 * intl/tst-gettext4.sh: Likewise.
45659 * intl/tst-gettext6.sh: Likewise.
45660 * intl/tst-translit.sh: Likewise.
45661 * io/ftwtest-sh: Likewise.
45662 * libio/test-freopen.sh: Likewise.
45663 * malloc/tst-mtrace.sh: Likewise.
45664 * posix/globtest.sh: Likewise.
45665 * posix/tst-getconf.sh: Likewise.
45666 * posix/wordexp-tst.sh: Likewise.
45667 * stdio-common/tst-printf.sh: Likewise.
45668 * stdio-common/tst-unbputc.sh: Likewise.
45669 * stdlib/tst-fmtmsg.sh: Likewise.
45670 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45671 * catgets/Makefile: Do not specify -e option when running
45672 testsuite shell scripts.
45673 * elf/Makefile: Likewise.
45674 * grp/Makefile: Likewise.
45675 * iconvdata/Makefile: Likewise.
45676 * intl/Makefile: Likewise.
45677 * io/Makefile: Likewise.
45678 * libio/Makefile: Likewise.
45679 * malloc/Makefile: Likewise.
45680 * posix/Makefile: Likewise.
45681 * stdio-common/Makefile: Likewise.
45682 * stdlib/Makefile: Likewise.
45683 * sysdeps/x86_64/Makefile: Likewise.
45684
45685 * io/ftwtest-sh: Add copyright header.
45686 * posix/globtest.sh: Likewise.
45687 * posix/tst-getconf.sh: Likewise.
45688 * posix/wordexp-tst.sh: Likewise.
45689 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45690
45691 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
45692
45693 [BZ #13679]
45694 * Makeconfig (+link): Defined as $(+link-static) if
45695 $(build-shared) isn't yes.
45696 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45697 isn't yes.
45698 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45699
45700 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45701
45702 [BZ #14562]
45703 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45704 new chunk size with MALLOC_ALIGN_MASK.
45705
45706 2012-09-24 Joseph Myers <joseph@codesourcery.com>
45707
45708 [BZ #5044]
45709 * stdio-common/printf_fphex.c: Include <stdbool.h> and
45710 <rounding-mode.h>.
45711 (__printf_fphex): Determine rounding using get_rounding_mode and
45712 round_away.
45713 * stdio-common/tst-printf-round.c (struct hex_test): New
45714 structure.
45715 (hex_tests): New variable.
45716 (test_hex_in_one_mode): New function.
45717 (do_test): Also run tests for hex float output.
45718
45719 2012-09-21 Joseph Myers <joseph@codesourcery.com>
45720
45721 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45722 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45723 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45724 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45725 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45726 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45727 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45728 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45729
45730 2012-09-20 Joseph Myers <joseph@codesourcery.com>
45731
45732 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45733 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45734 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45735 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45736
45737 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
45738
45739 [BZ #14579]
45740 * elf/rtld.c (dl_main): Limit the check for self loading to normal
45741 mode only.
45742 * elf/tst-rtld-load-self.sh: New test.
45743 * elf/Makefile: Run it.
45744
45745 2012-09-18 Joseph Myers <joseph@codesourcery.com>
45746
45747 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45748 (tst-writev-ENV): Remove.
45749 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45750
45751 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
45752
45753 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45754
45755 2012-09-17 Joseph Myers <joseph@codesourcery.com>
45756
45757 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45758 unconditional.
45759 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45760 Likewise.
45761 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45762 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45763 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45764 Likewise.
45765
45766 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
45767
45768 [BZ #14587]
45769 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45770 * config.make.in (have-cpp-asm-debuginfo): Removed.
45771 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45772 * configure: Regenerated.
45773
45774 2012-09-14 Joseph Myers <joseph@codesourcery.com>
45775
45776 [BZ #5044]
45777 * stdio-common/printf_fp.c: Include <stdbool.h> and
45778 <rounding-mode.h>.
45779 (___printf_fp): Determine rounding using get_rounding_mode and
45780 round_away.
45781 * stdio-common/tst-printf-round.c: New file.
45782 * stdio-common/Makefile (tests): Add tst-printf-round.
45783 (link-libm): New variable.
45784 ($(objpfx)tst-printf-round): Depend in $(link-libm).
45785
45786 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
45787
45788 [BZ #14576]
45789 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45790 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45791 Likewise.
45792 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45793 Likewise.
45794
45795 2012-09-13 Joseph Myers <joseph@codesourcery.com>
45796
45797 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45798 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45799 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45800 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45801
45802 2012-09-12 Joseph Myers <joseph@codesourcery.com>
45803
45804 [BZ #14518]
45805 * include/rounding-mode.h: New file.
45806 * sysdeps/generic/get-rounding-mode.h: Likewise.
45807 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45808 * stdlib/strtod_l.c: Include <rounding-mode.h>.
45809 (MAX_VALUE): New macro.
45810 (MIN_VALUE): Likewise.
45811 (overflow_value): New function.
45812 (underflow_value): Likewise.
45813 (round_and_return): Use overflow_value and underflow_value to
45814 determine return values in overflow and underflow cases. Use
45815 round_away to determine rounding depending on rounding mode.
45816 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45817 determine return values in overflow and underflow cases.
45818 * stdlib/tst-strtod-round.c: Include <fenv.h>.
45819 (struct test_results): New structure.
45820 (struct test): Use struct test_results to store expected results
45821 for all rounding modes.
45822 (TEST): Include expected results for all rounding modes.
45823 (test_in_one_mode): New function.
45824 (do_test): Use test_in_one_mode to compute and check results.
45825 Check results for all rounding modes.
45826 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45827 $(link-libm).
45828
45829 2012-12-09 Allan McRae <allan@archlinux.org>
45830
45831 * sysdeps/i386/fpu/libm-test-ulps: Update
45832
45833 2012-09-11 Joseph Myers <joseph@codesourcery.com>
45834
45835 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45836 (_G_int32_t): Likewise.
45837 (_G_uint16_t): Likewise.
45838 (_G_uint32_t): Likewise.
45839 (_G_HAVE_BOOL): Likewise.
45840 (_G_HAVE_ATEXIT): Likewise.
45841 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45842 (_G_HAVE_IO_FILE_OPEN): Likewise.
45843 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45844 (_G_int32_t): Likewise.
45845 (_G_uint16_t): Likewise.
45846 (_G_uint32_t): Likewise.
45847 (_G_HAVE_BOOL): Likewise.
45848 (_G_HAVE_ATEXIT): Likewise.
45849 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45850 (_G_HAVE_IO_FILE_OPEN): Likewise.
45851 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45852 (_G_int32_t): Likewise.
45853 (_G_uint16_t): Likewise.
45854 (_G_uint32_t): Likewise.
45855 (_G_HAVE_BOOL): Likewise.
45856 (_G_HAVE_ATEXIT): Likewise.
45857 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45858 (_G_HAVE_IO_FILE_OPEN): Likewise.
45859
45860 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
45861
45862 * csu/libc-tls.c: Update copyright years.
45863
45864 2012-09-10 Joseph Myers <joseph@codesourcery.com>
45865
45866 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45867 [!_G_USING_THUNKS]: Remove conditional code.
45868 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45869 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45870
45871 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45872 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45873 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45874 (_G_VTABLE_LABEL_PREFIX): Likewise.
45875 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45876 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45877 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45878 (_G_VTABLE_LABEL_PREFIX): Likewise.
45879 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45880 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45881 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45882 (_G_VTABLE_LABEL_PREFIX): Likewise.
45883 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45884
45885 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
45886
45887 * libio/Makefile: Include ../Makeconfig before tests.
45888 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45889 only if $(build-shared) is yes.
45890
45891 * iconv/gconv_db.c: Update copyright years.
45892
45893 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45894
45895 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45896 unwind info if defined PIC. Fix special cases description.
45897 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45898
45899 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45900 DP_HI_MASK entry.
45901 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45902
45903 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
45904
45905 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45906
45907 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45908 is NULL.
45909
45910 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45911 (LDLIBS-tst-chk4): This.
45912 (LDFLAGS-tst-chk5): Renamed to ...
45913 (LDLIBS-tst-chk5): This.
45914 (LDFLAGS-tst-chk6): Renamed to ...
45915 (LDLIBS-tst-chk6): This.
45916 (LDFLAGS-tst-lfschk4): Renamed to ...
45917 (LDLIBS-tst-lfschk4): This.
45918 (LDFLAGS-tst-lfschk5): Renamed to ...
45919 (LDLIBS-tst-lfschk5): This.
45920 (LDFLAGS-tst-lfschk6): Renamed to ...
45921 (LDLIBS-tst-lfschk6): This.
45922
45923 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45924 on $(common-objpfx)soversions.mk.
45925
45926 2012-09-07 Joseph Myers <joseph@codesourcery.com>
45927
45928 [BZ #10014]
45929 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45930 example host name.
45931
45932 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
45933
45934 * malloc/arena.c (arena_get_retry): New function that gets
45935 another arena for the caller to try its request on.
45936 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45937 current arena cannot fulfill the request.
45938 (__libc_memalign): Likewise.
45939 (__libc_memalign): Likewise.
45940 (__libc_pvalloc): Likewise.
45941 (__libc_calloc): Likewise.
45942
45943 2012-09-05 John Tobey <john.tobey@gmail.com>
45944
45945 [BZ #13542]
45946 * manual/arith.texi (Operations on Complex): Fix description
45947 of carg branch cut.
45948
45949 2012-09-06 Joseph Myers <joseph@codesourcery.com>
45950
45951 [BZ #10014]
45952 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45953 host name.
45954
45955 [BZ #10038]
45956 * manual/memory.texi (Memory): Make order of menu items match
45957 order of sections.
45958
45959 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
45960
45961 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45962 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
45963 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45964
45965 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
45966
45967 * csu/libc-tls.c (static_dtv): Renamed to ...
45968 (_dl_static_dtv): This. Make it global.
45969 (_dl_initial_dtv): Removed.
45970 (__libc_setup_tls): Updated.
45971 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45972 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45973 DL_INITIAL_DTV.
45974
45975 2012-09-06 Petr Machata <pmachata@redhat.com>
45976
45977 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45978 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45979 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45980 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45981
45982 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
45983
45984 [BZ #14545]
45985 * csu/libc-tls.c (_dl_initial_dtv): New variable.
45986 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45987 freeing dtv[-1].
45988
45989 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
45990
45991 [BZ #14544]
45992 * Makeconfig (link-static-before-libc): Replace $(+prector)
45993 with $(+prectorT).
45994 (link-static-after-libc): Replace $(+postctor) with
45995 $(+postctorT).
45996 (link-bounded): Replace $(+prector)/$(+postctor) with
45997 $(+prectorT)/$(+postctorT).
45998 (+prectorT): New macro.
45999 (+postctorT): Likewise.
46000
46001 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46002
46003 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46004 (round_str): Handle values above the maximum for IBM long double
46005 as inexact.
46006 * stdlib/tst-strtod-round.c (tests): Regenerated.
46007
46008 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46009
46010 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46011 assembler flag.
46012 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46013 zarch_nohighgprs around the zarch optimized routines.
46014 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46015 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46016 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46017 for zarch.
46018
46019 2012-09-05 David S. Miller <davem@davemloft.net>
46020
46021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46022
46023 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46024 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46025 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46026 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46027 entries.
46028
46029 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46030
46031 * malloc/arena.c: Fold copyright years.
46032 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46033
46034 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46035
46036 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46037
46038 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46039
46040 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46041
46042 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46043
46044 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46045 change internal state upon failure.
46046
46047 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46048
46049 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46050 * malloc/memusage.c (mmap): Likewise.
46051 (mmap64, mremap): Likewise. Adjust name in comment.
46052
46053 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46054
46055 * libio/fileops.c: Fix typos in comments.
46056 * libio/oldfileops.c: Likewise.
46057 * libio/wfileops.c: Likewise.
46058
46059 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46060
46061 [BZ #1349]
46062 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46063 (tst-malloc-usable-ENV): Set environment for test case.
46064 * malloc/hooks.c (malloc_check_get_size): New function to get
46065 requested size.
46066 * malloc/malloc.c (musable): Use malloc_check_get_size.
46067 * malloc/tst-malloc-usable.c: New test case.
46068
46069 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46070
46071 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46072
46073 2012-09-05 Allan McRae <allan@archlinux.org>
46074
46075 [BZ #13966]
46076 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46077 determine header location.
46078 * configure: Regenerated.
46079
46080 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46081
46082 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46083 float format.
46084 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46085 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46086 format.
46087 (test): Regenerate.
46088
46089 2012-09-04 David S. Miller <davem@davemloft.net>
46090
46091 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46092 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46093 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46094
46095 2012-09-04 Florian Weimer <fweimer@redhat.com>
46096
46097 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46098 failures.
46099
46100 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46101
46102 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46103
46104 [BZ #9914]
46105 * libio/iogetdelim.c: Include <limits.h>.
46106 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46107 + len + 1 would overflow.
46108
46109 2012-09-03 Andreas Jaeger <aj@suse.de>
46110
46111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46112 * sysdeps/i386/fpu/libm-test-ulps: Update.
46113
46114 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46115
46116 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46117 Add s_sinf-sse2, s_conf-sse2.
46118
46119 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46120 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46121 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46122 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46123
46124 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46125 for using routine as __sinf_ia32.
46126 Use macro for function declaration and weak_alias.
46127 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46128 for using routine as __cosf_ia32.
46129 Use macro for function declaration and weak_alias.
46130
46131 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46132 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46133
46134 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46135 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46137
46138 * math/libm-test.inc (cos_test): Add more test cases.
46139 (sin_test): Likewise.
46140 (sincos_test): Likewise.
46141
46142 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46143
46144 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46145 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46146 hidden.
46147 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46148
46149 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46150
46151 [BZ #14538]
46152 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46153 first element of the GOT.
46154 (elf_machine_load_address): Return the difference between
46155 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46156
46157 2012-09-01 Allan McRae <allan@archlinux.org>
46158
46159 [BZ #13412]
46160 * configure.in (AWK): Require gawk version 3.0 or later.
46161 * configure: Regenerated.
46162
46163 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46164
46165 * sysdeps/unix/sysv/linux/kernel-features.h
46166 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46167 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46168 [__NR_clock_getres]: Make code unconditional.
46169 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46170 (clock_getcpuclockid): Remove code left unreachable by removal of
46171 conditionals.
46172 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46173 code unconditional.
46174 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46175 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46176 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46177 Make code unconditional.
46178 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46179 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46180 * sysdeps/unix/sysv/linux/clock_settime.c
46181 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46182 conditional code.
46183 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46184 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46185
46186 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46187
46188 [BZ #14476]
46189 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46190 scripts/test-installation.pl.
46191
46192 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46193 and $ld_so_version if it is set.
46194
46195 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46196
46197 [BZ #14516]
46198 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46199 failure if reading from procfs failed.
46200 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46201
46202 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46203
46204 * sysdeps/unix/sysv/linux/kernel-features.h
46205 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46206 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46207 Remove conditional code.
46208 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46209 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46210 Remove conditional code.
46211 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46212 * sysdeps/unix/sysv/linux/i386/fxstat.c
46213 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46214 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46215 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46216 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46217 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46218 * sysdeps/unix/sysv/linux/i386/lxstat.c
46219 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46220 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46221 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46222 Remove conditional code.
46223 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46224 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46225 Remove conditional code.
46226 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46227 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46228 <kernel-features.h>.
46229 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46230 Remove.
46231 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46232 Remove conditional code.
46233 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46234 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46235 Remove conditional.
46236
46237 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46238
46239 [BZ #5400]
46240 * NEWS: Add fixed bug number.
46241
46242 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46243
46244 [BZ #14519]
46245 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46246 underflowing exponent in case of negative sign.
46247 * stdlib/tst-strtod-round-data: Add more tests.
46248 * stdlib/tst-strtod-round.c (tests): Regenerated.
46249
46250 [BZ #3479]
46251 * stdlib/strtod_l.c (NDIG): Remove.
46252 (HEXNDIG): Likewise.
46253 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46254 smallest representable value.
46255 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46256 lie within an exact representation of 1/2 ulp of the result.
46257 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46258 unconditionally.
46259 (TENS_P9_IDX): Define unconditionally.
46260 (TENS_P9_SIZE): Likewise.
46261 (TENS_P10_IDX): Likewise.
46262 (TENS_P10_SIZE): Likewise.
46263 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46264 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46265 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46266 entries for 10^2^13 and 10^2^14.
46267 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46268 (TENS_P13_IDX): Define.
46269 (TENS_P13_SIZE): Likewise.
46270 (TENS_P14_IDX): Likewise.
46271 (TENS_P14_SIZE): Likewise.
46272 (_fpioconst_pow10): Change array size to
46273 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46274 unconditional.
46275 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46276 1024]: Add entries for 10^2^13 and 10^2^14.
46277 [LAST_POW10 > _LAST_POW10]: Remove #error.
46278 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46279 (_fpioconst_pow10): Change array size to
46280 FPIOCONST_POW10_ARRAY_SIZE.
46281 * stdlib/gen-fpioconst.c: New file.
46282 * stdlib/gen-tst-strtod-round.c: Likewise.
46283 * stdlib/tst-strtod-round-data: Likewise.
46284 * stdlib/tst-strtod-round.c: Likewise.
46285 * stdlib/Makefile (tests): Add tst-strtod-round.
46286
46287 [BZ #14459]
46288 * stdlib/strtod_l.c: Include <stdint.h>.
46289 (NDEBUG): Do not define.
46290 (round_and_return): Change EXPONENT parameter to type intmax_t.
46291 Rearrange calculations to avoid internal overflow possibilities.
46292 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46293 Rearrange calculations to avoid internal overflow possibilities.
46294 Assert that number fits inside MPNSIZE limbs.
46295 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46296 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46297 calculations and add assertions to avoid internal overflow
46298 possibilities. Add casts to avoid signed/unsigned operations.
46299 * stdlib/tst-strtod-overflow.c: New file.
46300 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46301
46302 2012-08-25 Marek Polacek <polacek@redhat.com>
46303
46304 * time/time.h: Fix some typos in comments.
46305
46306 2012-08-23 Roland McGrath <roland@hack.frob.com>
46307
46308 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46309 * posix/tst-rfc3484-2.c: Likewise.
46310 * posix/tst-rfc3484-3.c: Likewise.
46311
46312 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46313
46314 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46315 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46316
46317 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46318
46319 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46320 #include of fxstatat64.c.
46321
46322 2012-08-22 Roland McGrath <roland@hack.frob.com>
46323
46324 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46325 * shadow/getspent_r.c: Likewise.
46326 * shadow/getspnam.c: Likewise.
46327 * shadow/getspnam_r.c: Likewise.
46328 * gshadow/getsgent.c: Likewise.
46329 * gshadow/getsgent_r.c: Likewise.
46330 * gshadow/getsgnam.c: Likewise.
46331 * gshadow/getsgnam_r.c: Likewise.
46332 * inet/getnetbyad.c: Likewise.
46333 * inet/getnetbyad_r.c: Likewise.
46334 * inet/getnetbynm.c: Likewise.
46335 * inet/getnetbynm_r.c: Likewise.
46336 * inet/getnetent.c: Likewise.
46337 * inet/getnetent_r.c: Likewise.
46338 * inet/getproto.c: Likewise.
46339 * inet/getproto_r.c: Likewise.
46340 * inet/getprtent.c: Likewise.
46341 * inet/getprtent_r.c: Likewise.
46342 * inet/getprtname.c: Likewise.
46343 * inet/getprtname_r.c: Likewise.
46344 * inet/getrpcbyname.c: Likewise.
46345 * inet/getrpcbyname_r.c: Likewise.
46346 * inet/getrpcbynumber.c: Likewise.
46347 * inet/getrpcbynumber_r.c: Likewise.
46348 * inet/getrpcent.c: Likewise.
46349 * inet/getrpcent_r.c: Likewise.
46350 * inet/getaliasent.c: Likewise.
46351 * inet/getaliasent_r.c: Likewise.
46352 * inet/getaliasname.c: Likewise.
46353 * inet/getaliasname_r.c: Likewise.
46354 * nscd/getgrgid_r.c: Likewise.
46355 * nscd/getgrnam_r.c: Likewise.
46356 * nscd/gethstbyad_r.c: Likewise.
46357 * nscd/gethstbynm3_r.c: Likewise.
46358 * nscd/getpwnam_r.c: Likewise.
46359 * nscd/getpwuid_r.c: Likewise.
46360 * nscd/getsrvbynm_r.c: Likewise.
46361 * nscd/getsrvbypt_r.c: Likewise.
46362 * nscd/gai.c: Likewise.
46363
46364 * configure.in (build_nscd): New substituted variable, set
46365 by --disable-build-nscd and defaults to $use_nscd.
46366 * configure: Regenerated.
46367 * config.make.in (build-nscd): New substituted variable.
46368 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46369 Change conditional to require [$(build-nscd) = yes] as well.
46370 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46371
46372 [BZ# 13696]
46373 * configure.in (use_nscd): New substituted variable, set by
46374 --disable-nscd. If enabled, define USE_NSCD.
46375 * configure: Regenerated.
46376 * config.h.in: Add USE_NSCD.
46377 * config.make.in (use-nscd): New substituted variable.
46378 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46379 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46380 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46381 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46382 (CFLAGS-getgrnam_r.c): Likewise.
46383 (CFLAGS-initgroups.c): Likewise.
46384 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46385 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46386 Variables removed.
46387 * inet/getnetgrent_r.c
46388 (nscd_setnetgrent): New function, broken out of ...
46389 (setnetgrent): ... here. Call it.
46390 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46391 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46392 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46393 * nscd/Makefile (routines, aux): Move definitions after include of
46394 Makeconfig. Conditionalize on [$(use-nscd) != no].
46395 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46396 Conditionalize on [USE_NSCD].
46397 (is_nscd, nscd_init_cb): Likewise.
46398 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46399 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46400 * nss/nss_db/db-init.c: Likewise.
46401 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46402 [USE_NSCD].
46403 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46404 (make_request): Use it.
46405 (cache_valid_p): New function.
46406 (__check_pf): Use it.
46407 * NEWS: Add item for --disable-nscd.
46408
46409 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46410
46411 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46412 to support sed >= 4.2.1-20-ga9bf076.
46413 * configure: Regenerated.
46414
46415 2012-08-22 Roland McGrath <roland@hack.frob.com>
46416
46417 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46418 Conditionalize whole body on [IREL].
46419
46420 2012-08-22 Jeff Law <law@redhat.com>
46421
46422 [BZ #14505]
46423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46424 if the family is PF_UNSPEC.
46425
46426 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46427
46428 * Makerules (lib-version): Rename from V.
46429 (install-lib-nosubdir): Change V to lib-version.
46430
46431 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46432
46433 [BZ #14252]
46434 * powerpc32/power6/wcschr.c: New file.
46435 * powerpc32/power6/wcscpy.c: New file.
46436 * powerpc32/power6/wcsrchr.c: New file.
46437 * powerpc64/power6/wcschr.c: New file.
46438 * powerpc64/power6/wcscpy.c: New file.
46439 * powerpc64/power6/wcsrchr.c: New file.
46440
46441 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46442
46443 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46444 (two_way_short_needle): Use it.
46445 * string/strstr.c (AVAILABLE1_USES_J): Define.
46446 * string/strcasestr.c: Likewise.
46447
46448 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46449 array references.
46450 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46451
46452 [BZ #11607]
46453 * NEWS: Add an entry.
46454 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46455 define their defaults.
46456 (two_way_short_needle): Detect end-of-string on-the-fly.
46457 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46458 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46459 * string/bug-strcasestr1.c: New test.
46460 * string/Makefile: Run it.
46461
46462 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46463
46464 [BZ #11607]
46465 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46466 the first character.
46467
46468 2012-08-21 Roland McGrath <roland@hack.frob.com>
46469
46470 * csu/elf-init.c (__libc_csu_irel): Function removed.
46471 * csu/libc-start.c (apply_irel): New function.
46472 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46473
46474 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46475
46476 * sysdeps/unix/sysv/linux/kernel-features.h
46477 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46478 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46479 <kernel-features.h>.
46480 [__NR_fadvise64_64]: Make code unconditional.
46481 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46482 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46483 !__NR_fadvise64_64)]: Likewise.
46484 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46485 !__NR_fadvise64_64))]: Likewise.
46486 [__NR_fadvise64]: Make code unconditional.
46487 [!__NR_fadvise64]: Remove conditional code.
46488 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46489 <kernel-features.h>.
46490 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46491 unconditional.
46492 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46493 conditional code.
46494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46495 not include <kernel-features.h>.
46496 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46497 unconditional.
46498 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46499 conditional code.
46500 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46501 include <kernel-features.h>.
46502 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46503 unconditional.
46504 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46505 conditional code.
46506
46507 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46508
46509 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46510 slight instruction rearrangements per scrollpipe analysis.
46511 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46512
46513 2012-08-20 Roland McGrath <roland@hack.frob.com>
46514
46515 * manual/syslog.texi (syslog; vsyslog, closelog):
46516 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46517 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46518
46519 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46520 DSOCAPS to match condition on defining it.
46521
46522 2012-08-20 Joseph Myers <joseph@codesourcery.com>
46523
46524 * sysdeps/unix/sysv/linux/kernel-features.h
46525 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46527 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46528 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46530 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46531 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46533 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46534 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46535
46536 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46537 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46538
46539 * sysdeps/unix/sysv/linux/kernel-features.h
46540 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46541 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46542 unconditional.
46543 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46544 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46545 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46546 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46547 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46548 Make code unconditional.
46549 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46550 (__mmap64) [!__NR_mmap2]: Likewise.
46551 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46552 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46553 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46554 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46555 [__NR_mmap2]: Make code unconditional.
46556 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46557 (__mmap64) [!__NR_mmap2]: Likewise.
46558
46559 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46560
46561 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46562
46563 2012-08-18 Andreas Jaeger <aj@suse.de>
46564
46565 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46566
46567 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46568
46569 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46570 * include/unistd.h (__have_sock_cloexec): Likewise.
46571 (__have_pipe2): Likewise.
46572 (__have_dup3): Likewise.
46573
46574 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46575
46576 [BZ #9685]
46577 * include/unistd.h (__have_pipe2): Change define into an extern int.
46578 (__have_dup3): Likewise.
46579 * socket/have_sock_cloexec.c: Include fcntl.h.
46580 (__have_pipe2): New variable.
46581 (__have_dup3): Likewise.
46582
46583 2012-08-17 Mike Frysinger <vapier@gentoo.org>
46584
46585 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46586
46587 2012-08-17 Marek Polacek <polacek@redhat.com>
46588
46589 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46590 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46591
46592 2012-08-17 Roland McGrath <roland@hack.frob.com>
46593
46594 * configure.in: Add AC_SUBST for sysheaders.
46595 * configure: Regenerated.
46596 * config.make.in (sysheaders): New substituted variable.
46597
46598 * sysdeps/unix/mkfifo.c: Moved ...
46599 * sysdeps/posix/mkfifo.c: ... here.
46600 * sysdeps/unix/mkfifoat.c: Moved ...
46601 * sysdeps/posix/mkfifoat.c: ... here.
46602
46603 * sysdeps/unix/utime.c: Moved ...
46604 * sysdeps/posix/utime.c: ... here.
46605
46606 * sysdeps/unix/time.c: Moved ...
46607 * sysdeps/posix/time.c: ... here.
46608 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46609 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46610
46611 * sysdeps/unix/nice.c: Moved ...
46612 * sysdeps/posix/nice.c: ... here.
46613
46614 * sysdeps/unix/alarm.c: Moved ...
46615 * sysdeps/posix/alarm.c: ... here.
46616
46617 * intl/Makefile ($(codeset_mo)): Depend on the input file.
46618
46619 2012-08-17 Jeff Law <law@redhat.com>
46620
46621 * intl/Makefile (codeset_mo): New variable.
46622 ($(codeset_mo)): New target.
46623 (tst-codeset.out): Depend on that. Remove explicit rule.
46624 (tst-gettext3.out, tst-gettext5.out): Likewise.
46625 (LOCPATH-ENV, tst-codeset-ENV): New variables.
46626 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46627 * intl/tst-codeset.sh: Remove.
46628 * intl/tst-gettext3.sh: Likewise.
46629 * intl/tst-gettext5.sh: Likewise.
46630
46631 2012-08-17 Roland McGrath <roland@hack.frob.com>
46632
46633 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
46634 * sysdeps/unix/syscalls.list: ... here.
46635
46636 * sysdeps/posix/getaddrinfo.c
46637 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46638 (gaiconf_init, gaiconf_reload): Use them.
46639 [!_STATBUF_ST_NSEC]
46640 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46641 Define using time_t rather than struct timespec.
46642
46643 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46644 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46645 Macros removed.
46646 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46647 [!NO_THREADS].
46648 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46649 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46650 Likewise.
46651
46652 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46653 __libc_cleanup_push argument.
46654
46655 * bits/param.h: New file.
46656 * misc/sys/param.h: New file.
46657 * include/sys/param.h: New file.
46658 * misc/Makefile (headers): Add bits/param.h.
46659 * sysdeps/generic/sys/param.h: File removed.
46660 * sysdeps/unix/sysv/linux/bits/param.h: New file.
46661 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46662 * sysdeps/mach/hurd/bits/param.h: New file.
46663 * sysdeps/mach/hurd/sys/param.h: File removed.
46664
46665 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46666 last change.
46667
46668 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46669 [_IO_MTSAFE_IO].
46670 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46671 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46672 New macros.
46673
46674 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46675 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46676 rather than -D_IO_MTSAFE_IO conditionally.
46677 * stdio-common/Makefile (CPPFLAGS): Likewise.
46678 * wcsmbs/Makefile (CPPFLAGS): Likewise.
46679 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46680 Use $(libio-mtsafe).
46681 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46682 of -D_IO_MTSAFE_IO.
46683 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46684 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46685 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46686 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46687 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46688 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46689 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46690 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46691 (CFLAGS-fread_u_chk.c): Likewise.
46692 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46693 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46694 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46695 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46696 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46697 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46698 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46699 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46700 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46701
46702 * libio/Makefile: Test [$(libc-reentrant) = yes]
46703 instead of [$(filter %REENTRANT, $(defines)) nonempty].
46704
46705 * Makeconfig
46706 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46707 * sysdeps/pthread/configure: File removed.
46708 * sysdeps/pthread/Makeconfig: New file.
46709 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46710 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46711
46712 2012-08-16 Gary Benson <gbenson@redhat.com>
46713
46714 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46715 unmapping the first object in a namespace.
46716
46717 2012-08-16 Roland McGrath <roland@hack.frob.com>
46718
46719 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46720 (__internal_setnetgrent): ... this. Add internal_function to
46721 definition. Add libc_hidden_def.
46722 (setnetgrent): Update caller.
46723 (internal_endnetgrent): Renamed to ...
46724 (__internal_endnetgrent): ... this. Add internal_function to
46725 definition. Add libc_hidden_def.
46726 (endnetgrent): Update caller.
46727 (internal_getnetgrent_r): Renamed to ...
46728 (__internal_getnetgrent_r): ... this. Add internal_function to
46729 definition. Add libc_hidden_def.
46730 (__getnetgrent_r): Update caller.
46731 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
46732
46733 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46734
46735 * stdlib/longlong.h: Update from GCC.
46736
46737 2012-08-16 Roland McGrath <roland@hack.frob.com>
46738
46739 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46740 on _QL, which is set by umul_ppmm but never used.
46741 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46742 variables, which are set by GMP macros but never used.
46743 * stdio-common/_itowa.c (_itowa): Likewise.
46744 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46745 * stdlib/mod_1.c (mpn_mod_1): Likewise.
46746
46747 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
46748
46749 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46750 struct La_sh_regs is not constant.
46751 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46752 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46753 and struct La_sparc64_regs are not constant.
46754
46755 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46756
46757 * sysdeps/unix/sysv/linux/kernel-features.h
46758 (__ASSUME_POSIX_TIMERS): Remove.
46759 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46760 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46761 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46762 Make code unconditional.
46763 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46764 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46765 Make code unconditional.
46766 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46767 * sysdeps/unix/sysv/linux/clock_nanosleep.c
46768 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46769 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46770 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46771 Make code unconditional.
46772 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46773 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46774 (__libc_missing_posix_timers): Remove.
46775
46776 2012-08-15 Roland McGrath <roland@hack.frob.com>
46777
46778 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46779 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46780
46781 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46782
46783 * elf/dl-sym.c: Include <stdlib.h>.
46784
46785 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46786 constants, which avoids warnings in 32-bit builds.
46787
46788 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46789 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46790
46791 * misc/lseek.c: File moved to ...
46792 * io/lseek.c: ... here.
46793
46794 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46795
46796 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46797 shifting LEN more than 31 bits at once.
46798
46799 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46800
46801 [BZ #14195]
46802 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46803 segmentation fault for a case of two empty input strings.
46804 * string/test-strncasecmp.c (check1): Renamed to...
46805 (bz12205): ...this.
46806 (bz14195): Add new testcase for two empty input strings and N > 0.
46807 (test_main): Call new testcase, adapt for renamed function.
46808
46809 2012-08-15 Andreas Jaeger <aj@suse.de>
46810
46811 [BZ #14090]
46812 * crypt/md5test2.c: New test, based on test supplied by Serge
46813 Belyshev <belyshev@depni.sinp.msu.ru>.
46814 * crypt/Makefile (xtests): Add md5test-giant..
46815 * crypt/Makefile ($(objpfx)md5test-giant): Add.
46816
46817 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
46818
46819 [BZ #14090]
46820 * crypt/md5.c (md5_process_block): Don't assume the buffer
46821 length is less than 2**32.
46822 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46823 length is less than 2**64.
46824
46825 2012-08-15 Roland McGrath <roland@hack.frob.com>
46826
46827 * string/str-two-way.h: Include <sys/param.h>.
46828 (MAX): Macro removed.
46829
46830 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46831 Move #define and #undef of memmove to just before and after
46832 including <string.h>.
46833
46834 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46835 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46836 and after including <string.h>. Move declarations of
46837 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46838 to before #include "string/memmove.c".
46839
46840 * include/dirent.h: Declare __getdirentries.
46841
46842 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46843 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46844
46845 2012-08-14 Mike Frysinger <vapier@gentoo.org>
46846
46847 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46848 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46849 * sysdeps/i386/configure: Regenerated.
46850 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46851 STABS_CURRENT_FILE, and STABS_FUN.
46852 (END): Remove call to STABS_FUN_END.
46853 (STABS_CURRENT_FILE1): Delete.
46854 (STABS_CURRENT_FILE): Likewise.
46855 (STABS_FUN): Likewise.
46856 (STABS_FUN_END): Likewise.
46857 (STABS_FUN2): Likewise.
46858 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46859 * sysdeps/x86_64/configure: Regenerated.
46860
46861 2012-08-14 Roland McGrath <roland@hack.frob.com>
46862
46863 * elf/dl-open.c: Include <atomic.h>.
46864 * elf/dl-lookup.c: Likewise.
46865
46866 2012-08-14 Joseph Myers <joseph@codesourcery.com>
46867
46868 * sysdeps/unix/sysv/linux/kernel-features.h
46869 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46870 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46871 unconditionally.
46872 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46873 unconditionally.
46874 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46875 condition on __ASSUME_CLONE_THREAD_FLAGS.
46876
46877 2012-08-14 Andreas Jaeger <aj@suse.de>
46878
46879 * sysdeps/i386/fpu/libm-test-ulps: Update.
46880
46881 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
46882
46883 * include/atomic.h (atomic_exchange_and_add): Split into ...
46884 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46885 New atomic macros.
46886
46887 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
46888
46889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46890
46891 2012-08-13 Jeff Law <law@redhat.com>
46892
46893 * manual/stdio.texi (snprintf): Clarify handling of the trailing
46894 null byte in the output string.
46895
46896 2012-08-10 Joseph Myers <joseph@codesourcery.com>
46897
46898 * sysdeps/unix/sysv/linux/kernel-features.h
46899 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46900 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46901 (__ASSUME_ARG_MAX_STACK_BASED): Define.
46902 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46903 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46904 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
46905 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46906
46907 2012-08-09 Jeff Law <law@redhat.com>
46908
46909 [BZ #13939]
46910 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46911 When avoid_arena is set, don't retry in the that arena. Pick the
46912 next one, whatever it might be.
46913 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46914 (arena_lock): Pass in new parameter to arena_get2.
46915 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46916 arena_get2.
46917 (__libc_malloc): Unify retrying after main arena failure with
46918 __libc_memalign version.
46919 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46920
46921 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
46922
46923 [BZ #14166]
46924 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46925 to __redirect_strstr.
46926 (__strstr_sse42): Use typeof __redirect_strstr.
46927 (__strstr_ia32): Likewise.
46928 (__libc_strstr): New prototype.
46929 (strstr): Renamed to ...
46930 (__libc_strstr): This.
46931 (strstr): New strong alias of __libc_strstr.
46932 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46933 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46934 __redirect_time.
46935 Include <time.h>.
46936 (__libc_time): New prototype.
46937 (time_ifunc): Replace time with __libc_time.
46938 (time): New strong alias and hidden definition of __libc_time.
46939 (__GI_time): Remove strong alias.
46940 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46941 Include <stddef.h>.
46942 (memmove): Redefined to __redirect_memmove.
46943 (__memmove_sse2): Use typeof __redirect_memmove.
46944 (__memmove_ssse3): Likewise.
46945 (__memmove_ssse3_back): Likewise.
46946 (__libc_memmove): New prototype.
46947 (memmove): Renamed to ...
46948 (__libc_memmove): This.
46949 (memmove): New strong alias of __libc_memmove.
46950
46951 2012-08-08 Mark Salter <msalter@redhat.com>
46952
46953 * elf/elf.h
46954 (R_MN10300_TLS_GD): Define.
46955 (R_MN10300_TLS_LD): Likewise.
46956 (R_MN10300_TLS_LDO): Likewise.
46957 (R_MN10300_TLS_GOTIE): Likewise.
46958 (R_MN10300_TLS_IE): Likewise.
46959 (R_MN10300_TLS_LE): Likewise.
46960 (R_MN10300_TLS_DTPMOD): Likewise.
46961 (R_MN10300_TLS_DTPOFF): Likewise.
46962 (R_MN10300_TLS_TPOFF): Likewise.
46963 (R_MN10300_SYM_DIFF): Likewise.
46964 (R_MN10300_ALIGN): Likewise.
46965 (R_MN10300_NUM): Update.
46966
46967 2012-08-08 Joseph Myers <joseph@codesourcery.com>
46968
46969 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46970 Remove.
46971
46972 2012-08-08 Roland McGrath <roland@hack.frob.com>
46973
46974 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46975
46976 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46977 sysdeps/unix -> sysdeps/posix move.
46978 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46979
46980 2012-08-07 Allan McRae <allan@archlinux.org>
46981
46982 [BZ #14303]
46983 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46984 (SUNOS_CPP): Likewise.
46985 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46986 not found.
46987 (open_input): Call CPP using execvp.
46988
46989 2012-08-07 Joseph Myers <joseph@codesourcery.com>
46990
46991 * sysdeps/unix/sysv/linux/kernel-features.h
46992 (__ASSUME_PROT_GROWSUPDOWN): Remove.
46993 (__ASSUME_NO_CLONE_DETACHED): Likewise.
46994 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46995 (__ASSUME_WAITID_SYSCALL): Likewise.
46996 * sysdeps/unix/sysv/linux/dl-execstack.c
46997 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46998 code unconditional.
46999 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47000 conditional code.
47001 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47002 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47003 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47004 code.
47005 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47006 unconditional.
47007 [__ASSUME_WAITID_SYSCALL]: Likewise.
47008 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47009
47010 2012-08-07 Roland McGrath <roland@hack.frob.com>
47011
47012 * sysdeps/unix/closedir.c: Renamed to ...
47013 * sysdeps/posix/closedir.c: ... here.
47014 * sysdeps/unix/dirfd.c: Renamed to ...
47015 * sysdeps/posix/dirfd.c: ... here.
47016 * sysdeps/unix/dirstream.h: Renamed to ...
47017 * sysdeps/posix/dirstream.h: ... here.
47018 * sysdeps/unix/fdopendir.c: Renamed to ...
47019 * sysdeps/posix/fdopendir.c: ... here.
47020 * sysdeps/unix/opendir.c: Renamed to ...
47021 * sysdeps/posix/opendir.c: ... here.
47022 * sysdeps/unix/readdir.c: Renamed to ...
47023 * sysdeps/posix/readdir.c: ... here.
47024 * sysdeps/unix/readdir_r.c: Renamed to ...
47025 * sysdeps/posix/readdir_r.c: ... here.
47026 * sysdeps/unix/rewinddir.c: Renamed to ...
47027 * sysdeps/posix/rewinddir.c: ... here.
47028 * sysdeps/unix/seekdir.c: Renamed to ...
47029 * sysdeps/posix/seekdir.c: ... here.
47030 * sysdeps/unix/telldir.c: Renamed to ...
47031 * sysdeps/posix/telldir.c: ... here.
47032 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47033 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47034 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47035 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47036
47037 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47038 * bits/fcntl.h: ... here.
47039
47040 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47041 not 0.
47042 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47043 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47044 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47045 (struct flock): Move l_start, l_len to the beginning.
47046 Use __pid_t for l_pid.
47047 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47048 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47049 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47050 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47051 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47052 [__USE_LARGEFILE64] (struct flock64): New type.
47053 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47054
47055 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47056 * bits/dirent.h: ... here.
47057
47058 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47059 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47060
47061 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47062
47063 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47064 Change from 2.6.0 to 2.6.16.
47065 * sysdeps/unix/sysv/linux/configure: Regenerated.
47066 * sysdeps/unix/sysv/linux/kernel-features.h
47067 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47068 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47069 version.
47070 (__ASSUME_UTIMES): Likewise.
47071 (__ASSUME_CLONE_STOPPED): Remove.
47072 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47073 architectures, not kernel version.
47074 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47075 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47076 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47077 (__ASSUME_WAITID_SYSCALL): Likewise.
47078 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47079 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47080 * README: State 2.6.16 as minimum Linux kernel version. Do not
47081 refer to older versions.
47082
47083 2012-08-06 Roland McGrath <roland@hack.frob.com>
47084
47085 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47086 Define alphasort64 as an alias.
47087 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47088 Define versionsort64 as an alias.
47089 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47090 Define scandir64 as an alias.
47091 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47092 Define scandirat64 as an alias.
47093 * dirent/alphasort64.c (alphasort64):
47094 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47095 * dirent/versionsort64.c: Likewise.
47096 * dirent/scandir64.c: Likewise.
47097 * dirent/scandirat64.c: Likewise.
47098 * sysdeps/wordsize-64/alphasort.c: File removed.
47099 * sysdeps/wordsize-64/alphasort64.c: File removed.
47100 * sysdeps/wordsize-64/scandir.c: File removed.
47101 * sysdeps/wordsize-64/scandir64.c: File removed.
47102 * sysdeps/wordsize-64/scandirat.c: File removed.
47103 * sysdeps/wordsize-64/scandirat64.c: File removed.
47104 * sysdeps/wordsize-64/versionsort.c: File removed.
47105 * sysdeps/wordsize-64/versionsort64.c: File removed.
47106 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47107 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47108 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47109 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47110 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47111 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47112 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47113 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47114
47115 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47116 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47117 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47118 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47119 [defined __arch64__ || defined __sparcv9]
47120 (__INO_T_MATCHES_INO64_T): New macro.
47121 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47122 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47123 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47124 * sysdeps/unix/sysv/linux/bits/dirent.h
47125 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47126 (_DIRENT_MATCHES_DIRENT64): New macro.
47127
47128 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47129 Define lockf64 as an alias.
47130 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47131 Define fseeko64 as an alias.
47132 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47133 Define ftello64 as an alias.
47134 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47135 Define _IO_fgetpos64 and fgetpos64 as aliases.
47136 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47137 Define _IO_fsetpos64 and fsetpos64 as aliases.
47138 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47139 Conditionalize body on this.
47140 * libio/fseeko64.c: Likewise.
47141 * libio/ftello64.c: Likewise.
47142 * libio/iofgetpos64.c: Likewise.
47143 * libio/iofsetpos64.c: Likewise.
47144 * sysdeps/wordsize-64/lockf.c: File removed.
47145 * sysdeps/wordsize-64/lockf64.c: File removed.
47146 * sysdeps/wordsize-64/fseeko.c: File removed.
47147 * sysdeps/wordsize-64/fseeko64.c: File removed.
47148 * sysdeps/wordsize-64/ftello.c: File removed.
47149 * sysdeps/wordsize-64/ftello64.c: File removed.
47150 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47151 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47152 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47153 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47154 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47155 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47156 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47157 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47158 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47159 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47160 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47161 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47162 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47163 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47164
47165 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47166 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47167 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47168 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47169 [defined __arch64__ || defined __sparcv9]
47170 (__OFF_T_MATCHES_OFF64_T): New macro.
47171 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47172 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47173 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47174 (__OFF_T_MATCHES_OFF64_T): New macro.
47175
47176 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47177
47178 * stdlib/secure-getenv.c (__secure_getenv): Replace
47179 GLIBC_2_16 with GLIBC_2_17.
47180
47181 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47182
47183 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47184 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47185
47186 2012-08-03 David S. Miller <davem@davemloft.net>
47187
47188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47189
47190 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47191
47192 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47193 Remove.
47194 (__ASSUME_CORRECT_SI_PID): Likewise.
47195 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47196 (__ASSUME_TMPFS_NAME): Likewise.
47197 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47198 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47199 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47200 (HAVE_AUX_SECURE): Make definition unconditional.
47201 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47202 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47203
47204 2012-08-03 Roland McGrath <roland@hack.frob.com>
47205
47206 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47207 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47208 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47209 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47210 __eloop_threshold instead of SYMLOOP_MAX.
47211
47212 * sysdeps/generic/eloop-threshold.h: New file.
47213 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47214 of MAXSYMLINKS.
47215 * elf/chroot_canon.c (chroot_canon): Likewise.
47216
47217 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47218
47219 [BZ #13717]
47220 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47221 Change to 2.6.0 everywhere.
47222 * sysdeps/unix/sysv/linux/configure: Regenerated.
47223 * sysdeps/unix/sysv/linux/kernel-features.h
47224 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47225 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47226 kernel versions.
47227 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47228 (__ASSUME_FUTEX_REQUEUE): Remove.
47229 (__ASSUME_STATFS64): Define unconditionally.
47230 (__ASSUME_AT_SECURE): Likewise.
47231 (__ASSUME_CORRECT_SI_PID): Likewise.
47232 (__ASSUME_TGKILL): Define without depending on kernel version for
47233 i386.
47234 (__ASSUME_UTIMES): Likewise.
47235 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47236 kernel version.
47237 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47238 (__ASSUME_TMPFS_NAME): Likewise.
47239 * README: Update reference to Linux kernel versions.
47240
47241 2012-08-02 Marek Polacek <polacek@redhat.com>
47242
47243 [BZ# 14150]
47244 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47245 libc_cv_asm_type_prefix with %.
47246 * configure: Regenerated.
47247 * include/libc-symbols.h: Remove comment about
47248 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47249 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47250 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47251 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47252 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47253 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47254 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47255 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47256 * elf/tst-unique2mod1.c: Likewise.
47257 * elf/tst-unique1mod2.c: Likewise.
47258 * elf/tst-unique1mod1.c: Likewise.
47259 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47260 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47261 Replace ASM_TYPE_DIRECTIVE with .type.
47262 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47263 * sysdeps/i386/sysdep.h: Likewise.
47264 * sysdeps/x86_64/sysdep.h: Likewise.
47265 * sysdeps/sh/sysdep.h: Likewise.
47266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47267 Do not define ASM_TYPE_DIRECTIVE.
47268 * sysdeps/powerpc/sysdep.h: Likewise.
47269 * sysdeps/powerpc/powerpc32/sysdep.h:
47270 Replace ASM_TYPE_DIRECTIVE with .type.
47271 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47272 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47273 * sysdeps/i386/fpu/e_powf.S: Likewise.
47274 * sysdeps/i386/fpu/e_expl.S: Likewise.
47275 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47276 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47277 * sysdeps/i386/fpu/e_pow.S: Likewise.
47278 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47279 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47280 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47281 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47282 * sysdeps/i386/fpu/e_log2.S: Likewise.
47283 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47284 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47285 * sysdeps/i386/fpu/e_powl.S: Likewise.
47286 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47287 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47288 * sysdeps/i386/fpu/e_logl.S: Likewise.
47289 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47290 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47291 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47292 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47293 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47294 * sysdeps/i386/fpu/e_log.S: Likewise.
47295 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47296 * sysdeps/i386/fpu/e_logf.S: Likewise.
47297 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47298 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47299 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47300 * sysdeps/i386/fpu/e_log10.S: Likewise.
47301 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47302 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47303 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47304 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47305 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47306 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47307 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47308 * sysdeps/i386/i686/strtok.S: Likewise.
47309 * sysdeps/i386/i386-mcount.S: Likewise.
47310 * sysdeps/i386/strtok.S: Likewise.
47311 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47312 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47313 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47314 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47315 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47316 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47317 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47318 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47319 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47320 * sysdeps/x86_64/_mcount.S: Likewise.
47321 * sysdeps/x86_64/strtok.S: Likewise.
47322 * sysdeps/sh/_mcount.S: Likewise.
47323
47324 2012-08-01 Roland McGrath <roland@hack.frob.com>
47325
47326 * libio/iofopen.c: Include <fcntl.h>.
47327 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47328 (_IO_fopen64, fopen64): Define as aliases.
47329 * libio/iofopen64.c: Include <fcntl.h>.
47330 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47331 Conditionalize body on this.
47332 * sysdeps/wordsize-64/iofopen.c: File removed.
47333 * sysdeps/wordsize-64/iofopen64.c: File removed.
47334
47335 2012-08-01 Marek Polacek <polacek@redhat.com>
47336
47337 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47338 Use dlfcn directly instead of a variable.
47339 (binfmt-subdir): Do not define.
47340 (dlfcn): Likewise.
47341
47342 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47343
47344 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47345 Remove all definitions.
47346 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47347 <kernel-features.h>.
47348 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47349 (miss_F_GETOWN_EX): Remove all definitions.
47350 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47351 macro definition.
47352 [!__ASSUME_FCNTL64]: Remove conditional code.
47353 [__ASSUME_FCNTL64]: Make code unconditional.
47354 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47355 <kernel-features.h>.
47356 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47357 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47358 (lockf64) [__NR_fcntl64]: Make code unconditional.
47359 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47360
47361 * sysdeps/unix/sysv/linux/kernel-features.h
47362 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47363 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47364 Make code unconditional.
47365 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47366 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47368 [__NR_vfork]: Make code unconditional.
47369 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47370 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47372 [__NR_vfork]: Make code unconditional.
47373 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47374 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47375
47376 2012-08-01 Roland McGrath <roland@hack.frob.com>
47377
47378 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47379 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47380
47381 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47382 Define mkstemp64 as an alias.
47383 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47384 Define mkstemps64 as an alias.
47385 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47386 Define mkostemp64 as an alias.
47387 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47388 Define mkostemps64 as an alias.
47389 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47390 Conditionalize body on this.
47391 * misc/mkostemp64.c: Likewise.
47392 * misc/mkostemps64.c: Likewise.
47393 * misc/mkstemps64.c: Likewise.
47394 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47395 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47396 * sysdeps/wordsize-64/mkostemp.c: File removed.
47397 * sysdeps/wordsize-64/mkstemp.c: File removed.
47398 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47399 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47400 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47401 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47402
47403 [BZ #14138]
47404 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47405 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47406 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47407 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47408
47409 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47410 compat_symbol macros from <shlib-compat.h> rather than the underlying
47411 default_symbol_version and symbol_version macros, so that DEFAULT
47412 lines in shlib-versions are respected.
47413 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47414
47415 2012-08-01 Florian Weimer <fweimer@redhat.com>
47416
47417 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47418 Declare with warn_unused_result.
47419 (setgid, setregid, setegid, setresgid): Likewise.
47420 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47421 Likewise.
47422 * WUR-REPORT: Remove set*id functions.
47423
47424 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47425
47426 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47427
47428 2012-07-31 Roland McGrath <roland@hack.frob.com>
47429
47430 [BZ #10191]
47431 * include/sys/socket.h (__libc_accept, __libc_accept4):
47432 Add attribute_hidden.
47433 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47434
47435 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47436 use of PTR_MANGLE.
47437 * inet/getnetgrent_r.c (setup): Likewise.
47438
47439 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47440
47441 2012-07-31 David S. Miller <davem@davemloft.net>
47442
47443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47444
47445 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47446
47447 [BZ #13629]
47448 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47449 value between 1.0 and 2.0 and smaller part has absolute value less
47450 than 1.0.
47451 * math/s_clog10.c (__clog10): Likewise.
47452 * math/s_clog10f.c (__clog10f): Likewise.
47453 * math/s_clog10l.c (__clog10l): Likewise.
47454 * math/s_clogf.c (__clogf): Likewise.
47455 * math/s_clogl.c (__clogl): Likewise.
47456 * math/libm-test.inc (clog_test): Add more tests.
47457 (clog10_test): Likewise.
47458 * sysdeps/i386/fpu/libm-test-ulps: Update.
47459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47460
47461 2012-07-31 Florian Weimer <fweimer@redhat.com>
47462
47463 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47464 Exit with zero in case no suitable GID is found, and write a
47465 message to standard error.
47466
47467 2012-07-30 Roland McGrath <roland@hack.frob.com>
47468
47469 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47470 rather than to 1.
47471 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47472 (MAXPATHLEN): Removed.
47473 (NOGROUP, NODEV): New macros.
47474 (setbit, clrbit, isset, isclr): New macros.
47475 (howmany, roundup, powerof2): New macros.
47476 (DEV_BSIZE): New macro.
47477
47478 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47479 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47480
47481 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47482 definition on [!__NO_LONG_DOUBLE_MATH].
47483
47484 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47485 PTR_MANGLE and PTR_DEMANGLE.
47486
47487 * socket/accept4.c (accept4): Rename to __libc_accept4.
47488 Define accept4 as a weak alias.
47489
47490 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47491 on [_DIRENT_HAVE_D_TYPE].
47492 * io/ftw.c (ftw_dir): Likewise.
47493
47494 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47495
47496 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47497
47498 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47499 Use the BSD numbers rather than the arbitrary ones we had.
47500 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47501 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47502 (SIGXCPU, SIGXFSZ): New macros.
47503 (_NSIG): Now 32.
47504
47505 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47506 initializer on [_LIBC_REENTRANT].
47507
47508 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47509 definitions inside [_POSIX_MAPPED_FILES].
47510
47511 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47512
47513 * dirent/opendir.c: Include <fcntl.h>.
47514
47515 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47516 (__libc_getspecific): Likewise.
47517 (__libc_key_create): Likewise.
47518
47519 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47520 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47521 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47522 (tmpfile64): Define as alias.
47523 * sysdeps/wordsize-64/tmpfile.c: File removed.
47524 * sysdeps/wordsize-64/tmpfile64.c: File removed.
47525 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47526 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47527
47528 * stdio-common/vfscanf.c: Include <stdbool.h>.
47529 * nss/makedb.c: Likewise.
47530 * stdio-common/_i18n_number.h: Likewise.
47531 * argp/argp-help.c: Likewise.
47532 * posix/wordexp.c: Likewise.
47533 * sysdeps/posix/spawni.c: Likewise.
47534 * nss/nss_files/files-initgroups.c: Likewise.
47535 * stdio-common/reg-modifier.c: Include <stdlib.h>.
47536 * nss/nss_files/files-initgroups.c: Likewise.
47537 * nss/nss_db/db-netgrp.c: Likewise.
47538 * nss/nss_db/db-initgroups.c: Likewise.
47539 * io/fchmodat.c: Include <sys/stat.h>.
47540
47541 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47542 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47543
47544 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47545 [HAVE_MMAP].
47546
47547 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47548 Add multiple inclusion protection.
47549
47550 2012-07-27 David S. Miller <davem@davemloft.net>
47551
47552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47553
47554 2012-07-27 Gary Benson <gbenson@redhat.com>
47555
47556 [BZ #14298]
47557 * elf/rtld.c: Include <stap-probe.h>.
47558 (dl_main): Added static probes "init_start" and "init_complete".
47559 * elf/dl-load.c: Include <stap-probe.h>.
47560 (lose): Take new parameter "nsid".
47561 Added static probe "map_failed".
47562 (_dl_map_object_from_fd): Pass namespace id to lose.
47563 Added static probe "map_start".
47564 (open_verify): Pass namespace id to lose.
47565 * elf/dl-open.c: Include <stap-probe.h>.
47566 (dl_open_worker) Added static probes "map_complete", "reloc_start"
47567 and "reloc_complete".
47568 * elf/dl-close.c: Include <stap-probe.h>.
47569 (_dl_close_worker): Added static probes "unmap_start" and
47570 "unmap_complete".
47571 * elf/rtld-debugger-interface.txt: New file documenting the above.
47572
47573 2012-07-26 Roland McGrath <roland@hack.frob.com>
47574
47575 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47576 rather than a string variable.
47577 * sunrpc/rpc_main.c (h_output): Likewise.
47578 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47579
47580 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
47581
47582 * inet/check_native.c: New file.
47583
47584 2012-07-26 Joseph Myers <joseph@codesourcery.com>
47585
47586 [BZ #13629]
47587 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47588 if larger part has absolute value 1.0.
47589 * math/s_clog10.c (__clog10): Likewise.
47590 * math/s_clog10f.c (__clog10f): Likewise.
47591 * math/s_clog10l.c (__clog10l): Likewise.
47592 * math/s_clogf.c (__clogf): Likewise.
47593 * math/s_clogl.c (__clogl): Likewise.
47594 * math/libm-test.inc (clog_test): Add more tests.
47595 (clog10_test): Likewise.
47596 * sysdeps/i386/fpu/libm-test-ulps: Update.
47597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47598
47599 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47600 (pltexit): Likewise.
47601 (La_regs): Likewise.
47602 (La_retval): Likewise.
47603 (int_retval): Likewise.
47604 Update #error for removed macros to refer only to definitions in
47605 tst-audit.h.
47606 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47607 macro.
47608 (pltexit): Likewise.
47609 (La_regs): Likewise.
47610 (La_retval): Likewise.
47611 (int_retval): Likewise.
47612 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47613 macro.
47614 (pltexit): Likewise.
47615 (La_regs): Likewise.
47616 (La_retval): Likewise.
47617 (int_retval): Likewise.
47618 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47619 macro.
47620 (pltexit): Likewise.
47621 (La_regs): Likewise.
47622 (La_retval): Likewise.
47623 (int_retval): Likewise.
47624 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47625 macro.
47626 (pltexit): Likewise.
47627 (La_regs): Likewise.
47628 (La_retval): Likewise.
47629 (int_retval): Likewise.
47630 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47631 macro.
47632 (pltexit): Likewise.
47633 (La_regs): Likewise.
47634 (La_retval): Likewise.
47635 (int_retval): Likewise.
47636 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47637 macro.
47638 (pltexit): Likewise.
47639 (La_regs): Likewise.
47640 (La_retval): Likewise.
47641 (int_retval): Likewise.
47642 * sysdeps/generic/tst-audit.h: Update comment to refer only to
47643 macro definitions in tst-audit.h.
47644 * sysdeps/i386/tst-audit.h: New file.
47645 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47646 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47647 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47648 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47649 * sysdeps/sh/tst-audit.h: Likewise.
47650 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47651 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47652 * sysdeps/x86_64/tst-audit.h: Likewise.
47653
47654 2012-07-26 Andreas Jaeger <aj@suse.de>
47655
47656 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47657 ptrace.
47658
47659 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47660 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47661 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47662 PTRACE_O_MASK.
47663 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47664 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47665 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47666
47667 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47668 value.
47669
47670 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47671 _sigsys.
47672 (si_call_addr, si_syscall, si_arch): Define new macro.
47673 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47674 _sigsys.
47675 (si_call_addr, si_syscall, si_arch): Define new marcro.
47676 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47677 _sigsys.
47678 (si_call_addr, si_syscall, si_arch): Define new macro.
47679 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47680 _sigsys.
47681 (si_call_addr, si_syscall, si_arch): Define new macro.
47682
47683 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47684
47685 [BZ #13717]
47686 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47687 Change to 2.4.21 where previously 2.4.1.
47688 * sysdeps/unix/sysv/linux/configure: Regenerated.
47689 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47690 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47691 Linux kernel version.
47692 (__ASSUME_STD_AUXV): Remove.
47693 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47694 kernel version.
47695 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47696 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47697 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47698 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47699 (__ASSUME_NETLINK_SUPPORT): Likewise.
47700 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47701 (__no_netlink_support): Remove conditional definition.
47702 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47703 Remove.
47704 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47705 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47706 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47707 (if_nameindex_ioctl): Remove.
47708 (if_nameindex_netlink): Do not handle __no_netlink_support.
47709 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47710 code.
47711 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47712 Remove conditional code.
47713 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47714 code.
47715 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47716 unconditional.
47717 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47718 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47719 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47720 Remove.
47721 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47722 [!__ASSUME_STD_AUXV]: Remove conditional code.
47723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47724 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47725 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47727 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47728 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47729 code.
47730 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47732 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47733 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47734 conditional code.
47735 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47737 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47738 code.
47739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47740 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47741 conditional code.
47742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47743 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47744 code unconditional.
47745 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47746 conditional code.
47747 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47748 unconditional.
47749 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47750 conditional code.
47751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47752 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47753 unconditional.
47754 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47755 conditional code.
47756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47757 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47758 code unconditional.
47759 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47760 conditional code.
47761 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47762 unconditional.
47763 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47764 conditional code.
47765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47766 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47767 code unconditional.
47768 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47769 conditional code.
47770 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47771 unconditional.
47772 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47773 conditional code.
47774
47775 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
47776
47777 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47778 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47779 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47780 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47781 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47782 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47783 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47784 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47785 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47786 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47787 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47788 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47789 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47790 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47791 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47792 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47793 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47794 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47795 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47797 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47798 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47799 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47800
47801 2012-07-25 Florian Weimer <fweimer@redhat.com>
47802
47803 * Versions.def: Add GLIBC_2.17.
47804 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47805 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47806 Introduce __libc_secure_getenv.
47807 * stdlib/Versions (2.17): Add secure_getenv
47808 (GLIBC_PRIVATE): Add __libc_secure_getenv.
47809 * stdlib/secure-getenv.c: Rename __secure_getenv to
47810 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
47811 symbol __secure_getenv for GLIBC_2.0.
47812 * stdlib/tst-secure-getenv.c: New.
47813 * stdlib/Makefile (tests): Add testcase.
47814 * manual/startup.texi (Environment Access): Document
47815 secure_getenv.
47816 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47817 __libc_secure_getenv.
47818 * inet/ruserpass.c (ruserpass): Likewise.
47819 * malloc/mtrace.c (mtrace): Likewise.
47820 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47821 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47822 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47823 * sysdeps/posix/tempname.c: Likewise. Evaluate
47824 HAVE_SECURE_GETENV.
47825 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47826 __secure_getenv to __libc_secure_getenv.
47827 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47829 Likewise.
47830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47831 Likewise.
47832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47834 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47839
47840 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47841
47842 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47843 (struct La_i86_retval): Likewise.
47844 (struct La_x86_64_regs): Likewise.
47845 (struct La_x86_64_retval): Likewise.
47846 (struct La_x32_regs): Likewise.
47847 (struct La_x32_retval): Likewise.
47848 (struct La_ppc32_regs): Likewise.
47849 (struct La_ppc32_retval): Likewise.
47850 (struct La_ppc64_regs): Likewise.
47851 (struct La_ppc64_retval): Likewise.
47852 (struct La_sh_regs): Likewise.
47853 (struct La_sh_retval): Likewise.
47854 (struct La_s390_32_regs): Likewise.
47855 (struct La_s390_32_retval): Likewise.
47856 (struct La_s390_64_regs): Likewise.
47857 (struct La_s390_64_retval): Likewise.
47858 (struct La_sparc32_regs): Likewise.
47859 (struct La_sparc32_retval): Likewise.
47860 (struct La_sparc64_regs): Likewise.
47861 (struct La_sparc64_retval): Likewise.
47862 (struct audit_ifaces): Remove architecture-specific pltenter and
47863 pltexit members.
47864 * sysdeps/i386/ldsodefs.h: New file.
47865 * sysdeps/powerpc/ldsodefs.h: Likewise.
47866 * sysdeps/s390/ldsodefs.h: Likewise.
47867 * sysdeps/sh/ldsodefs.h: Likewise.
47868 * sysdeps/sparc/ldsodefs.h: Likewise.
47869 * sysdeps/x86_64/ldsodefs.h: Likewise.
47870
47871 2012-07-25 Marek Polacek <polacek@redhat.com>
47872
47873 [BZ #6808]
47874 * math/libm-test.inc (yn_test): Add another test.
47875 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47876 to ERANGE when the result is +-Inf.
47877 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47878 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47879 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47880 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47881
47882 2012-07-24 Joseph Myers <joseph@codesourcery.com>
47883
47884 * conform/data/time.h-data (NULL): Use macro-constant. Require
47885 equal to 0.
47886 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
47887 clock_t.
47888 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
47889
47890 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
47891
47892 * configure.in <sysdeps resolving>: Correct printing
47893 Implies_before.
47894 * configure: Regenerate.
47895
47896 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
47897
47898 * math/w_ilogb.c: Include <limits.h>.
47899 * math/w_ilogbl.c: Likewise.
47900
47901 2012-07-20 Joseph Myers <joseph@codesourcery.com>
47902
47903 * manual/lang.texi (__va_copy): Document primarily as ISO C99
47904 va_copy. Document allowing for unavailable va_copy only as
47905 pre-C99 compatibility.
47906 * manual/string.texi (Copying and Concatenation): Use va_copy
47907 instead of __va_copy in concat example.
47908
47909 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
47910
47911 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47912 (__sendto): Use create_address_port. Initialize APORT and deallocate
47913 it if not null.
47914
47915 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47916 with O_NOLINK passed to __file_name_lookup.
47917
47918 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47919 with O_NOLINK passed to __file_name_lookup.
47920
47921 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47922 negative N or less than NGIDS.
47923
47924 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47925 type to string_t. Set ERANGE as errno and return it if NAME is not big
47926 enough. Use memcpy instead of strncpy.
47927
47928 2012-07-20 Joseph Myers <joseph@codesourcery.com>
47929
47930 * elf/Makefile (check-data): Remove.
47931 (localplt.data): New vpath directive.
47932 ($(objpfx)check-localplt.out): Use localplt.data from vpath
47933 instead of $(check-data).
47934 * scripts/data/localplt-generic.data: Move to ...
47935 * sysdeps/generic/localplt.data: ... here.
47936 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47937 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47938 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47940 ... here.
47941 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47943 ... here.
47944 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47946 ... here.
47947 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47949 ... here.
47950 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47952 ... here.
47953 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47955 ... here.
47956
47957 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47958
47959 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47960 PPC32 and PPC64 files.
47961 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47962 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47963
47964 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47965
47966 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47967 __makecontext_ret to ...
47968 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47969 ... here and call exit if uc_link is NULL. New file.
47970 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47971 __makecontext_ret.S.
47972 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47973 __makecontext_ret to ...
47974 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47975 ... here and call exit if uc_link is NULL. New file.
47976 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47977 __makecontext_ret.S.
47978
47979 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47980
47981 * elf/elf.h (R_390_IRELATIVE): New definition.
47982 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47983 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
47984 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47985 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47986 (elf_machine_lazy_rel): Likewise.
47987 * sysdeps/s390/dl-irel.h: New file.
47988 * sysdeps/s390/s390-64/memcpy.S: New asm code.
47989 * sysdeps/s390/s390-64/memset.S: New asm code.
47990 * sysdeps/s390/s390-64/memcmp.S: New asm code.
47991 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47992 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47993 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47994 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47995 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47996 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47997 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47998 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47999 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48000 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48001 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48002 * sysdeps/s390/s390-32/memset.S: New asm code.
48003 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48004
48005 2012-07-17 Marek Polacek <polacek@redhat.com>
48006
48007 [BZ #14349]
48008 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48009 * sysdeps/s390/s390-64/configure.in: Likewise.
48010 * sysdeps/sparc/configure.in: Likewise.
48011 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48012 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48013 * sysdeps/i386/configure.in: Likewise.
48014 * sysdeps/x86_64/configure.in: Likewise.
48015 * sysdeps/sh/configure.in: Likewise.
48016 * sysdeps/s390/s390-32/configure: Regenerated.
48017 * sysdeps/s390/s390-64/configure: Likewise.
48018 * sysdeps/x86_64/configure: Likewise.
48019 * sysdeps/sh/configure: Likewise.
48020 * sysdeps/powerpc/powerpc64/configure: Likewise.
48021 * sysdeps/powerpc/powerpc32/configure: Likewise.
48022 * sysdeps/sparc/configure: Likwise.
48023 * sysdeps/i386/configure: Likewise.
48024
48025 * elf/dl-open.c: Comment fixes.
48026
48027 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48028
48029 * Makefile [CXX] (check-data): Remove.
48030 [CXX] (c++-types.data): New vpath directive.
48031 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48032 vpath. Do not allow for C++ type data being missing.
48033 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48034 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48035 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48036 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48037 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48038 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48039 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48041 ... here.
48042 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48044 ... here.
48045 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48047 ... here.
48048 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48050 ... here.
48051 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48053 ... here.
48054 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48056 ... here.
48057 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48059 ... here.
48060 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48062
48063 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48064 definitions to architecture-specific files.
48065 (TLS_IE): Likewise.
48066 (TLS_LD): Likewise.
48067 (TLS_GD): Likewise.
48068 * sysdeps/i386/tls-macros.h: New file.
48069 * sysdeps/powerpc/tls-macros.h: Likewise.
48070 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48071 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48072 * sysdeps/sh/tls-macros.h: Likewise.
48073 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48074 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48075 * sysdeps/x86_64/tls-macros.h: Likewise.
48076
48077 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48078
48079 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48080 zero value for regular exit case.
48081
48082 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48083 (__start_context): Preserve zero value for regular exit case.
48084
48085 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48086 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48087
48088 * manual/setjmp.texi (setcontext): Clarify normal process
48089 termination when uc_link is the null pointer.
48090 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48091 exit call.
48092
48093 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48094
48095 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48096 preprocessor. Test for each exception mask separately.
48097
48098 2012-07-16 Andreas Jaeger <aj@suse.de>
48099
48100 * po/ru.po: Update from translation team.
48101
48102 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48103
48104 * conform/data/string.h-data (NULL): Use macro-constant. Require
48105 equal to 0.
48106 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48107 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48108 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48109 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48110 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48111
48112 2012-07-13 Andreas Jaeger <aj@suse.de>
48113
48114 * po/fr.po: Update from translation team.
48115
48116 2012-07-12 Marek Polacek <polacek@redhat.com>
48117
48118 [BZ #14173]
48119 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48120 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48121 loop condition.
48122
48123 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48124
48125 [BZ #13717]
48126 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48127 Change to 2.4.1 where previously 2.4.0.
48128 * sysdeps/unix/sysv/linux/configure: Regenerated.
48129 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48130 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48131 version.
48132 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48133 (__ASSUME_AT_CLKTCK): Remove.
48134 (__ASSUME_AT_PAGESIZE): Likewise.
48135 (__ASSUME_AT_XID): Likewise.
48136 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48137 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48138 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48139 unconditionally.
48140 (HAVE_AUX_PAGESIZE): Likewise.
48141 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48142 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48143 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48144
48145 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48146
48147 [BZ #14307]
48148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48149 the temporary buffer used to invoke __gethostbyname2_r,
48150 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48151 host_data / struct gaih_addrtuple.
48152 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48153 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48154 header file nss/nsswitch.h.
48155 * nss/nsswitch.h (global scope): Add definition of implementation
48156 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48157 resolv/nss_dns/dns-host.c).
48158
48159 2012-07-11 Andreas Jaeger <aj@suse.de>
48160
48161 * po/fr.po: Update from translation team.
48162
48163 * po/sv.po: Update from translation team
48164 * po/fr.po: Another update from translation team.
48165
48166 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48167
48168 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48169 for subnormals or multiply small sinh result by itself.
48170 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48172
48173 2012-07-11 David S. Miller <davem@davemloft.net>
48174
48175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48176
48177 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48178
48179 [BZ #14347]
48180 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48181 (INTERNAL_MARK): Shift it here.
48182
48183 2012-07-10 Marek Polacek <polacek@redhat.com>
48184
48185 [BZ #14151]
48186 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48187 libc_cv_asm_global_directive with .globl.
48188 * configure: Regenerated.
48189 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48190 with .globl.
48191 * sysdeps/i386/configure: Regenerated.
48192 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48193 with .globl.
48194 * sysdeps/x86_64/configure: Regenerated.
48195 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48196 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48197 * elf/tst-unique2mod2.c: Likewise.
48198 * elf/tst-unique2mod1.c: Likewise.
48199 * elf/tst-unique1mod2.c: Likewise.
48200 * elf/tst-unique1mod1.c: Likewise.
48201 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48202 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48203 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48204 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48205 * sysdeps/mach/sysdep.h: Likewise.
48206 * sysdeps/i386/sysdep.h: Likewise.
48207 * sysdeps/i386/i386-mcount.S: Likewise.
48208 * sysdeps/x86_64/_mcount.S: Likewise.
48209 * sysdeps/x86_64/sysdep.h: Likewise.
48210 * sysdeps/sh/_mcount.S: Likewise.
48211 * sysdeps/sh/sysdep.h: Likewise.
48212 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48213 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48214 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48215 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48216 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48217 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48218 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48219 * locale/localeinfo.h: Likewise.
48220 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48221 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48222
48223 2012-07-09 Roland McGrath <roland@hack.frob.com>
48224
48225 [BZ #14336]
48226 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48227 system".
48228 * manual/message.texi (The Uniforum approach): Likewise.
48229 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48230 (glibc iconv Implementation): Likewise.
48231
48232 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48233
48234 [BZ #14337]
48235 * math/s_clog.c (__clog): Avoid scaling a value down where that
48236 could result in underflow.
48237 * math/s_clog10.c (__clog10): Likewise.
48238 * math/s_clog10f.c (__clog10f): Likewise.
48239 * math/s_clog10l.c (__clog10l): Likewise.
48240 * math/s_clogf.c (__clogf): Likewise.
48241 * math/s_clogl.c (__clogl): Likewise.
48242 * math/libm-test.inc (clog_test): Add more tests.
48243 (clog10_test): Likewise.
48244 * sysdeps/i386/fpu/libm-test-ulps: Update.
48245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48246
48247 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48248
48249 [BZ #14283]
48250 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48251 by 7 not 8 to examine high bit of fractional part.
48252
48253 [BZ #14042]
48254 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48255 for call to __mcount_internal.
48256 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48257 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48258 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48259
48260 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48261
48262 [BZ #14154]
48263 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48264 approximation for values within 0x1p-13f of an odd multiple of
48265 pi/4.
48266 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48267 exception. Add more tests.
48268 * sysdeps/i386/fpu/libm-test-ulps: Update.
48269
48270 [BZ #6778]
48271 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48272 inputs and return -1 for them. Do not check for +Inf in case not
48273 reachable for +Inf.
48274 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48275 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48276 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48277 and return -1 for them. Do not check for +Inf in case not
48278 reachable for +Inf.
48279 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48280 define.
48281 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48282 and return -1 for them. Do not check for +Inf in case not
48283 reachable for +Inf.
48284 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48285 spurious underflow.
48286 * sysdeps/i386/fpu/libm-test-ulps: Update.
48287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48288
48289 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48290
48291 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48292
48293 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48294
48295 [BZ #14157]
48296 [BZ #14331]
48297 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48298 could result in spurious underflow. Scale down values above
48299 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48300 * math/s_csqrtf.c (__csqrtf): Likewise.
48301 * math/s_csqrtl.c (__csqrtl): Likewise.
48302 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48303 spurious underflow.
48304 * sysdeps/i386/fpu/libm-test-ulps: Update.
48305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48306
48307 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48308
48309 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48310 xopen-msg.sed.
48311 * catgets/xopen-msg.awk: New file.
48312 * catgets/xopen-msg.sed: Removed.
48313
48314 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48315 po2text.sed.
48316 * intl/po2test.awk: New file.
48317 * intl/po2test.sed: Removed.
48318
48319 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48320
48321 [BZ #14328]
48322 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48323 or multiply small sinh result by itself.
48324 * math/s_ctanf.c (__ctanf): Likewise.
48325 * math/s_ctanh.c (__ctanh): Likewise.
48326 * math/s_ctanhf.c (__ctanhf): Likewise.
48327 * math/s_ctanhl.c (__ctanhl): Likewise.
48328 * math/s_ctanl.c (__ctanl): Likewise.
48329 * math/libm-test.inc (ctan_test_tonearest): New function.
48330 (ctan_test_towardzero): Likewise.
48331 (ctan_test_downward): Likewise.
48332 (ctan_test_upward): Likewise.
48333 (ctanh_test_tonearest): Likewise.
48334 (ctanh_test_towardzero): Likewise.
48335 (ctanh_test_downward): Likewise.
48336 (ctanh_test_upward): Likewise.
48337 (main): Call these new functions.
48338 * sysdeps/i386/fpu/libm-test-ulps: Update.
48339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48340
48341 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48342
48343 * .gitignore: Delete /ports entry.
48344
48345 2012-07-03 Andreas Jaeger <aj@suse.de>
48346
48347 * po/bg.po: Update from translation team.
48348 * po/cs.po: Likewise.
48349 * po/de.po: Likewise.
48350 * po/hr.po: Likewise.
48351 * po/nl.pl: Likewise.
48352 * po/pl.po: Likewise.
48353 * po/vi.po: Likewise.
48354
48355 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48356
48357 * Makeconfig [!+link] (+link-before-libc): New variable.
48358 [!+link] (+link-after-libc): Likewise.
48359 [!+link] (+link-tests): Likewise.
48360 [!+link] (+link): Define in terms of $(+link-before-libc) and
48361 $(+link-after-libc).
48362 [!+link-static] (+link-static-before-libc): New variable.
48363 [!+link-static] (+link-static-after-libc): Likewise.
48364 [!+link-static] (+link-static-tests): Likewise.
48365 [!+link-static] (+link-static): Define in terms of
48366 $(+link-static-before-libc) and $(+link-static-after-libc).
48367 [build-shared] (link-libc-before-gnulib): New variable.
48368 [build-shared] (link-libc-tests): Likewise.
48369 [build-shared] (link-libc): Define in terms of
48370 $(link-libc-before-gnulib).
48371 [!build-shared] (link-libc-tests): New variable.
48372 (link-libc-static-tests): New variable.
48373 [!gnulib] (gnulib-arch): New variable.
48374 [!gnulib] (gnulib-tests): Likewise.
48375 [!gnulib] (static-gnulib-arch): Likewise.
48376 [!gnulib] (static-gnulib-tests): Likewise.
48377 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48378 Define with "=" instead of ":=".
48379 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48380 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48381 * Rules (binaries-all-notests): New variable.
48382 (binaries-all-tests): Likewise.
48383 (binaries-static-notests): Likewise.
48384 (binaries-static-tests): Likewise.
48385 (binaries-all): Define using $(binaries-all-notests) and
48386 $(binaries-all-tests).
48387 (binaries-static): Define using $(binaries-static-notests) and
48388 $(binaries-static-tests).
48389 (binaries-shared-tests): New variable.
48390 (binaries-shared-notests): Likewise.
48391 (binaries-shared): Remove variable.
48392 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48393 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48394 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48395 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48396 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48397 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48398 * elf/Makefile (sln-modules): New variable.
48399 (extra-objs): Add $(sln-modules:=.o).
48400 (ldconfig-modules): Add static-stubs.
48401 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48402 * elf/static-stubs.c: New file.
48403
48404 [BZ #14283]
48405 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48406 by 7 not 8 to examine high bit of fractional part. Use volatile
48407 variables when splitting into final array of floats if
48408 __FLT_EVAL_METHOD__ != 0.
48409 * math/libm-test.inc (cos_test): Add another test.
48410 (sin_test): Likewise.
48411 * sysdeps/i386/fpu/libm-test-ulps: Update.
48412
48413 [BZ #14273]
48414 * math/libm-test.inc (cosh_test): Add more tests.
48415
48416 * version.h (RELEASE): Set to "development".
48417 (VERSION): Set to "2.16.90".
48418
48419 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48420
48421 * NEWS: Update copyright. Remove last-updated date.
48422 Mention math library bug fixes and timezone data changes.
48423 * README: Mention GNU/Hurd, x32, and HPPA support status.
48424
48425 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48426
48427 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48428
48429 2012-06-27 Andreas Jaeger <aj@suse.de>
48430
48431 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48432
48433 2012-06-25 Andreas Jaeger <aj@suse.de>
48434
48435 * sysdeps/s390/fpu/libm-test-ulps: Update.
48436
48437 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48438 Thomas Schwinge <thomas@codesourcery.com>
48439
48440 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48441 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48442 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48443 fanotify_mark.
48444
48445 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48446
48447 * sysdeps/mach/start.c: Remove file.
48448 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48449 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48450 * sysdeps/sh/init-first.c: Likewise.
48451
48452 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48453 registers for frame unwinding purposes, add CFI directives.
48454 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48455 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48456 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48457 Likewise.
48458
48459 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48460 __fortify_fail returning.
48461 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48462
48463 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48464 sysdeps/sh/____longjmp_chk.S.
48465 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48466 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48467 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48468 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48469
48470 * sysdeps/sh/abort-instr.h: New file.
48471 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48472 process in case exit returns.
48473
48474 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48475 initialize the GOT register before use.
48476
48477 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48478 calculation of ARGC > 4.
48479
48480 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48481 meaningful names to some local labels.
48482
48483 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48484 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48485
48486 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48487 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48488 (__arch_compare_and_exchange_val_16_acq): Likewise.
48489 (__arch_compare_and_exchange_val_32_acq): Likewise.
48490 (atomic_exchange_and_add): Fix gUSA sequence.
48491 (atomic_add): Likewise.
48492 (atomic_add_negative): Likewise.
48493 (atomic_add_zero): Likewise.
48494 (atomic_bit_test_set): Likewise.
48495
48496 2012-06-22 Andreas Schwab <schwab@redhat.com>
48497
48498 [BZ #13579]
48499 * include/link.h (struct link_map): Add l_free_initfini.
48500 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48501 l_initfini.
48502 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48503 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48504 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48505 set.
48506
48507 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48508
48509 * configure.in: Use AC_LANG_SOURCE.
48510 * configure: Regenerate.
48511
48512 2012-06-22 Roland McGrath <roland@hack.frob.com>
48513
48514 * configure.in (libc_cv_localstatedir): New substituted variable.
48515 * configure: Regenerated.
48516 * config.make.in (localstatedir): New variable, substituted from
48517 libc_cv_localstatedir.
48518 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48519 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48520 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48521 * sysdeps/gnu/configure: Regenerated.
48522
48523 2012-06-21 Jeff Law <law@redhat.com>
48524
48525 [BZ #14277]
48526 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48527 free. Simplify list management for _LIBC case.
48528
48529 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48530
48531 [BZ #14273]
48532 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48533 Clear sign bit of 64-bit integer value before comparing against
48534 overflow value.
48535
48536 * sysdeps/mach/configure: Regenerated.
48537
48538 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
48539
48540 [BZ #14278]
48541 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48542
48543 2012-06-21 Jeff Law <law@redhat.com>
48544
48545 [BZ #13882]
48546 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
48547 uint16_t for elements in the "seen" array to avoid char overflows.
48548 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48549 * elf/dl-open.c (dl_open_worker): Likewise.
48550
48551 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
48552
48553 * scripts/list-sources.sh: Scan PORTS for translations.
48554 * po/libc.pot: Regenerated.
48555
48556 2012-06-21 Andreas Jaeger <aj@suse.de>
48557
48558 [BZ #12194]
48559 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48560 warning.
48561 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48562 * bits/byteswap-16.h (__bswap_16): Likewise.
48563 * bits/byteswap.h (__bswap_constant_16): Likewise.
48564
48565 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
48566
48567 [BZ #14117]
48568 * sysdeps/i386/fpu_control.h: Removed.
48569 * sysdeps/x86_64/fpu_control.h: Moved to ...
48570 * sysdeps/x86/fpu_control.h: Here.
48571
48572 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48573 (_FPU_SETCW): Likewise.
48574
48575 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
48576
48577 [BZ #14117]
48578 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48579 * sysdeps/x86/fpu/bits/mathinline.h: This.
48580 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48581
48582 [BZ #14050]
48583 [BZ #14117]
48584 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48585 functions if __x86_64__ is defined.
48586
48587 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
48588
48589 * string/endian.h: Add !__ASSEMBLER__ condition for including
48590 conversion interfaces.
48591
48592 2012-06-15 Joseph Myers <joseph@codesourcery.com>
48593
48594 [BZ #14241]
48595 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48596 of ABS(x) in calculating zero to negative powers other than odd
48597 integers.
48598 * math/libm-test.inc (pow_test): Add more tests.
48599
48600 2012-06-15 Andreas Jaeger <aj@suse.de>
48601
48602 * manual/contrib.texi (Contributors): Update entry of Liubov
48603 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48604 Machado Filho.
48605
48606 2012-06-15 Cyril Hrubis <metan@ucw.cz>
48607
48608 * string/string.h: Add __wur to GNU version of strerror_r.
48609
48610 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
48611
48612 [BZ #14229]
48613 * string/Makefile (tests): Add tst-strtok_r.
48614 * string/tst-strtok_r.c: New file.
48615 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48616 RAX_LP/RDX_LP on SAVE_PTR.
48617
48618 2012-06-14 Roland McGrath <roland@hack.frob.com>
48619
48620 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48621
48622 2012-06-14 Joseph Myers <joseph@codesourcery.com>
48623
48624 * libm_test.inc (csqrt_test): Allow more spurious underflow
48625 exceptions.
48626 (j0_test): Likewise.
48627 (j1_test): Likewise.
48628 (y0_test): Likewise.
48629 (y1_test): Likewise.
48630
48631 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
48632
48633 * po/Makefile (libc.pot): Use UTF-8 charset.
48634
48635 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
48636
48637 [BZ #14210]
48638 Suppress sign-conversion warning from FD_SET.
48639 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48640 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48641 not unsigned long int.
48642 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48643
48644 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
48645
48646 [BZ #14050]
48647 [BZ #14117]
48648 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48649 __extern_always_inline instead of __extern_inline.
48650 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48651 (__signbit): Likewise.
48652 (__signbitl): Support C++ namespace.
48653 (lrintf): New inline function.
48654 (lrint): Likewise.
48655 (llrintf): Likewise.
48656 (llrint): Likewise.
48657 (fmaxf): Likewise.
48658 (fmax): Likewise.
48659 (fminf): Likewise.
48660 (fmin): Likewise.
48661 (rint): Likewise.
48662 (rintf): Likewise.
48663 (ceil): Likewise.
48664 (ceilf): Likewise.
48665 (floor): Likewise.
48666 (floorf): Likewise.
48667 (nearbyint): Likewise.
48668 (nearbyintf): Likewise.
48669
48670 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
48671
48672 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48673 non-default versions.
48674
48675 2012-06-11 Roland McGrath <roland@hack.frob.com>
48676
48677 [BZ #14218]
48678 * manual/argp.texi (Argp): Reword argp_parse description slightly.
48679
48680 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
48681
48682 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48683 (FE_UPWARD, FE_DOWNWARD): Don't define.
48684 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48685 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48686
48687 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48688 reading it.
48689 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48690 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48691
48692 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48693
48694 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48696 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48697 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48698
48699 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
48700
48701 [BZ #14117]
48702 * sysdeps/i386/fpu/bits/fenv.h: Removed.
48703 * sysdeps/i386/fpu/Implies: New file.
48704 * sysdeps/x86_64/fpu/Implies: Likewise.
48705 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48706 * sysdeps/x86/fpu/bits/fenv.h: This.
48707
48708 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48709 __SSE_MATH__.
48710
48711 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48712
48713 [BZ #14134]
48714 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48715 character 0xffff that matches the last element of the
48716 conversion table.
48717
48718 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48719
48720 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48721 fmodl commit.
48722
48723 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48724
48725 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48726 values higher than 25.6283.
48727
48728 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48729
48730 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48731 subnormal exponent extraction and add some __builtin_expect.
48732 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48733 Fix for subnormal mantissa calculation.
48734
48735 2012-06-04 Mike Frysinger <vapier@gentoo.org>
48736
48737 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48738 cpu2 is -1 and errno is not ENOSYS.
48739
48740 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
48741
48742 [BZ #14117]
48743 * sysdeps/i386/i486/bits/string.h: Renamed to ...
48744 * sysdeps/x86/bits/string.h: This.
48745 * sysdeps/x86_64/bits/string.h: Removed.
48746
48747 * sysdeps/i386/i486/bits/string.h: Define inline functions only
48748 if not compiling for x86-64, but compiling for >= i486.
48749
48750 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48751 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48752
48753 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48754 New macro from Linux kernel 3.4.0.
48755 (FP_XSTATE_MAGIC2): Likewise.
48756 (FP_XSTATE_MAGIC2_SIZE): Likewise.
48757 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48758 (struct _fpx_sw_bytes): New struct.
48759 (struct _xsave_hdr): Likewise.
48760 (struct _ymmh_state): Likewise.
48761 (struct _xstate): Likewise.
48762
48763 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48764 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48765 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48766 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48767 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48768 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48769
48770 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48771 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48772 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48773 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48774 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48775 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48776
48777 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48778
48779 [BZ #13743]
48780 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48781 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48782 (sysdep_headers): Include sys/platform/ppc.h.
48783 * sysdeps/powerpc/test-gettimebase.c: Test for
48784 __ppc_get_timebase() to catch future ISA opcode/insn changes.
48785 * manual/Makefile (appendices): Include platform.texi.
48786 * manual/contrib.texi (Contributors): Update @node pointers.
48787 * manual/maint.texi (Maintenance): Likewise.
48788 (Platform): New node.
48789 * manual/platform.texi: New file. Document the new features.
48790
48791 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48792 Jakub Jelinek <jakub@redhat.com>
48793
48794 [BZ #14188]
48795 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48796 where __builtin_expect is unavailable.
48797
48798 2012-06-03 David S. Miller <davem@davemloft.net>
48799
48800 * stdlib/longlong.h: Updated from GCC.
48801
48802 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
48803
48804 [BZ #14042]
48805 * sysdeps/powerpc/powerpc32/mcount.c: New file.
48806 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48807 __mcount_internal.
48808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48809 (GLIBC_2.16): Likewise.
48810
48811 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48812
48813 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48814
48815 2012-06-01 Joseph Myers <joseph@codesourcery.com>
48816
48817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48818 (default-abi): New variable.
48819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48820 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48821 variable.
48822 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48823 Likewise.
48824 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48825 Likewise.
48826 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48827 Likewise.
48828
48829 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48830 definition. Document in comment.
48831
48832 2012-06-01 David S. Miller <davem@davemloft.net>
48833
48834 * stdlib/longlong.h: Updated from GCC.
48835
48836 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48837
48838 [BZ #14117]
48839 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48840 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48841 sys/debugreg.h sys/io.h here.
48842 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48843 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48844 sys/io.h.
48845 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48846 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48847 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48848 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48849 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48850 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48851
48852 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48853 Define only if __x86_64__ is defined.
48854
48855 2012-06-01 Joseph Myers <joseph@codesourcery.com>
48856
48857 [BZ #14048]
48858 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48859 Use int64_t for variable i.
48860 * math/libm-test.inc (fmod_test): Add more tests.
48861
48862 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48863 z computation is not scheduled after fetestexcept.
48864 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48865 Use math_force_eval instead of asm to ensure calculation scheduled
48866 before exception test.
48867 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48868 Ensure a1 + u.d computation is not scheduled after fetestexcept.
48869
48870 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
48871
48872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48873 computation is not scheduled after fetestexcept.
48874
48875 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48876
48877 [BZ #14117]
48878 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48879 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48880
48881 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48882
48883 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48884 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48885
48886 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
48887
48888 [BZ #14117]
48889 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48890 <bits/wordsize.h>.
48891 (__WCHAR_MIN): Support __WORDSIZE == 64.
48892 (__WCHAR_MAX): Likewise.
48893
48894 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48895 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48896
48897 [BZ #14183]
48898 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48899 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48900
48901 [BZ #14117]
48902 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48903 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48904
48905 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48906 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48907
48908 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48909 Defined to 1 if __x86_64__ isn't defined.
48910 (_STAT_VER_LINUX_OLD): New.
48911 (st_atime): Remove duplicate.
48912 (st_mtime): Likewise.
48913 (st_ctime): Likewise.
48914
48915 2012-05-31 David S. Miller <davem@davemloft.net>
48916
48917 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48918 entries.
48919
48920 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
48921
48922 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48923 gen-libm-test.pl.
48924
48925 [BZ #14132]
48926 * elf/dl-reloc.c: Include <_itoa.h>.
48927 (_dl_reloc_bad_type): Remove use of INTUSE.
48928 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48929 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48930 * stdio-common/psiginfo.c (psiginfo): Likewise.
48931 * stdio-common/psignal.c (psignal): Likewise.
48932 * string/strsignal.c (strsignal): Likewise.
48933 * include/signal.h (_sys_siglist): Declare hidden proto.
48934 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
48935 INTVARDEF with libc_hidden_data_def.
48936 * stdio-common/itoa-udigits.c: Likewise.
48937 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48938 (_itoa_lower_digits_internal): Remove declaration.
48939 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48940 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48941 (_sys_sigabbrev_internal): Remove aliases.
48942 (_sys_siglist): Define hidden alias.
48943
48944 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
48945
48946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48947 bits/sysctl.h.
48948
48949 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
48950
48951 [BZ #14117]
48952 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48953 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48954
48955 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48956 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48957 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48958 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48959 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48960 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48961
48962 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48963 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48964 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48965
48966 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48967 with __addr.
48968 (insw): Likewise.
48969 (insl): Likewise.
48970 (outsb): Likewise.
48971 (outsw): Likewise.
48972 (outsl): Likewise.
48973
48974 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48975 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48976 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48977
48978 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48979 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48980 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48981 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48982 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48983 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48984
48985 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48986 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48987
48988 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48989 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48990
48991 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48992 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48993 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48994
48995 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48996 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48997 to ...
48998 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48999
49000 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49001 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49002 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49003
49004 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49005 for x86-64.
49006 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49007
49008 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49009
49010 * math/math.h (M_El): Use two more decimal places.
49011 (M_LOG2El): Likewise.
49012 (M_LOG10El): Likewise.
49013 (M_LN2l): Likewise.
49014 (M_LN10l): Likewise.
49015 (M_PIl): Likewise.
49016 (M_PI_2l): Likewise.
49017 (M_PI_4l): Likewise.
49018 (M_1_PIl): Likewise.
49019 (M_2_PIl): Likewise.
49020 (M_2_SQRTPIl): Likewise.
49021 (M_SQRT2l): Likewise.
49022 (M_SQRT1_2l): Likewise.
49023
49024 2012-05-31 David S. Miller <davem@davemloft.net>
49025
49026 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49027 values between float registers.
49028 * sysdeps/sparc/sparc64/memset.S: Likewise.
49029 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49030
49031 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49032
49033 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49034 -D_FORTIFY_SOURCE=1.
49035 (CPPFLAGS-tst-longjmp_chk.c): Define.
49036 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49037 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49038 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49039 CFLAGS-tst-wchar-h.c.
49040
49041 2012-05-31 Marek Polacek <polacek@redhat.com>
49042
49043 [BZ #14132]
49044 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49045 __endmntent_internal): Remove declaration.
49046 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49047 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49048 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49049
49050 2012-05-30 David S. Miller <davem@davemloft.net>
49051
49052 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49053 (___Q_simulate_exceptions): Use real FP ops rather than writing
49054 into the %fsr.
49055 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49056 Likewise.
49057
49058 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49059
49060 [BZ #14117]
49061 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49062 * sysdeps/x86/bits/xtitypes.h: This.
49063
49064 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49065 * sysdeps/x86/bits/wordsize.h: This.
49066
49067 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49068 * sysdeps/x86/bits/huge_vall.h: This.
49069
49070 * sysdeps/i386/bits/select.h: Removed.
49071 * sysdeps/x86_64/bits/select.h: Renamed to ...
49072 * sysdeps/x86/bits/select.h: This.
49073
49074 * sysdeps/i386/bits/setjmp.h: Removed.
49075 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49076 * sysdeps/x86/bits/setjmp.h: This.
49077
49078 * sysdeps/i386/bits/mathdef.h: Removed.
49079 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49080 * sysdeps/x86/bits/mathdef.h: This.
49081
49082 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49083
49084 [BZ #14132]
49085 * include/sys/socket.h (__connect_internal)
49086 (__libc_sa_len_internal): Remove declaration.
49087 (__connect, __libc_sa_len): Declare hidden_proto.
49088 (SA_LEN): Remove use of INTUSE.
49089 * socket/connect.c: Add libc_hidden_def.
49090 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49091 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49092 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49093 alias.
49094 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49095 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49096 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49097 of adding _internal alias.
49098
49099 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49100
49101 [BZ #14117]
49102 * sysdeps/i386/bits/link.h: Removed.
49103 * sysdeps/i386/bits/linkmap.h: Likewise.
49104 * sysdeps/x86_64/bits/link.h: Renamed to ...
49105 * sysdeps/x86/bits/link.h: This.
49106 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49107 * sysdeps/x86/bits/linkmap.h: This.
49108
49109 * sysdeps/i386/bits/endian.h: Removed.
49110 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49111 * sysdeps/x86/bits/endian.h: This.
49112
49113 * sysdeps/i386/bits/byteswap.h: Removed.
49114 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49115 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49116 * sysdeps/x86/bits/byteswap.h: This.
49117 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49118 * sysdeps/x86/bits/byteswap-16.h: This.
49119 * sysdeps/i386/Implies: Add x86.
49120 * sysdeps/x86_64/Implies: Likewise.
49121
49122 2012-05-30 David S. Miller <davem@davemloft.net>
49123
49124 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49125 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49126 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49127 (FP_TRAPPING_EXCEPTIONS): Define.
49128 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49129 (FP_TRAPPING_EXCEPTIONS): Define.
49130 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49131 subnormals only when inexact has been signalled or underflow
49132 exceptions are enabled.
49133 (_FP_PACK_CANONICAL): Likewise.
49134
49135 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49136
49137 [BZ #14183]
49138 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49139 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49140
49141 2012-05-30 Richard Henderson <rth@twiddle.net>
49142
49143 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49144 with #ifndef NOT_IN_libc.
49145
49146 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49147 marked to avoid plt entry.
49148
49149 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49150
49151 [BZ #14112]
49152 * Makeconfig (default-abi): New macro.
49153 (abi-includes): Likewise.
49154 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49155 $(abi-$(default-abi)-lib-soname) for soname if defined.
49156 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49157 abi-variants.
49158 * Makefile (installed-stubs): Likewise.
49159 * include/stubs-biarch.h: Removed.
49160 * scripts/lib-names.awk: Only handle one library at a time.
49161 * scripts/soversions.awk: Remove WORDSIZE support.
49162 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49163 entries.
49164 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49165 Removed.
49166 (syscall-list-default-condition): Likewise.
49167 (syscall-list-default-condition): Likewise.
49168 (syscall-list-includes): Likewise.
49169 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49170 syscall-list-* with abi-*. Handle undefined abi-variants.
49171 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49172 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49173 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49174 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49175 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49176 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49177 Removed.
49178 (syscall-list-32-options): Likewise.
49179 (syscall-list-32-condition): Likewise.
49180 (syscall-list-64-options): Likewise.
49181 (syscall-list-64-condition): Likewise.
49182 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49183 macro.
49184 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49185 Renamed to ...
49186 (abi-*): This.
49187 (abi-64-ld-soname): New macro.
49188 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49189 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49190 Renamed to ...
49191 (abi-*): This.
49192 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49193 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49194
49195 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49196
49197 * sysdeps/unix/sysv/linux/kernel-features.h
49198 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49199 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49200 include <kernel-features.h>.
49201 [!__NR_ftruncate64]: Remove conditional code.
49202 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49203 [__NR_ftruncate64]: Make code unconditional.
49204 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49205 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49206 include <kernel-features.h>.
49207 [!__NR_ftruncate64]: Remove conditional code.
49208 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49209 [__NR_ftruncate64]: Make code unconditional.
49210 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49212 include <kernel-features.h>.
49213 [!__NR_ftruncate64]: Remove conditional code.
49214 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49215 [__NR_ftruncate64]: Make code unconditional.
49216 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49218 include <kernel-features.h>.
49219 [!__NR_ftruncate64]: Remove conditional code.
49220 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49221 [__NR_ftruncate64]: Make code unconditional.
49222 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49223
49224 * configure.in (libc_cv_fpie): Weaken to a compile test using
49225 LIBC_TRY_CC_OPTION.
49226 * configure: Regenerated.
49227
49228 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49229
49230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49234 Refreshed.
49235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49241 Refreshed.
49242
49243 2012-05-27 David S. Miller <davem@davemloft.net>
49244
49245 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49246 (___Q_zero): New.
49247 (__Q_simulate_exceptions): Return void. Change to simulate
49248 exceptions by writing into the %fsr.
49249 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49250 (__Qp_handle_exceptions): Likewise.
49251 (numbers): Delete.
49252 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49253 __Qp_handle_exceptions.
49254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49255 __Qp_handle_exceptions.
49256 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49257 as unused and give dummy FP_RND_NEAREST initializer.
49258 (FP_INHIBIT_RESULTS): Define.
49259 (___Q_simulate_exceptions): Update declaration.
49260 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49261 formatting.
49262 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49263 as unused and give dummy FP_RND_NEAREST initializer.
49264 (__Qp_handle_exceptions): Update declaration.
49265 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49266 formatting.
49267
49268 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49269
49270 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49271 the temporary FPU control word.
49272 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49273 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49274 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49275 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49276 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49277 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49278 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49279 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49280 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49281 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49282 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49283
49284 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49285
49286 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49287 fields.
49288
49289 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49290
49291 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49292 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49293 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49294 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49295 Likewise.
49296 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49297 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49298 Likewise.
49299
49300 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49301
49302 * po/h.po: Update from translation team.
49303
49304 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49305
49306 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49307
49308 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49309 handling of denormals.
49310 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49311 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49312 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49313 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49314 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49315 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49317 Likewise.
49318
49319 2012-05-26 Marek Polacek <polacek@redhat.com>
49320
49321 [BZ #14152]
49322 * math/libm-test.inc (fma_test): Don't always expect underflow
49323 exception.
49324
49325 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49326
49327 [BZ #12416]
49328 * elf/tst-execstack.c: Include stackinfo.h.
49329 (do_test): Adjust test case to ensure that pthread_getattr_np
49330 behaviour remains the same after marking stack executable.
49331
49332 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49333
49334 * sysdeps/unix/sysv/linux/kernel-features.h
49335 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49336 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49337 kernel-features.h.
49338 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49339 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49340 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49341 kernel-features.h.
49342 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49343 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49344
49345 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49346
49347 * configure.in: Define the default includes to being none.
49348 * configure: Regenerated.
49349
49350 2012-05-25 Roland McGrath <roland@hack.frob.com>
49351
49352 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49353 * sysdeps/x86_64/setjmp.S: Likewise.
49354 * sysdeps/i386/bsd-setjmp.S: Likewise.
49355 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49356 * sysdeps/i386/setjmp.S: Likewise.
49357 * sysdeps/i386/__longjmp.S: Likewise.
49358 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49359 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49360
49361 * include/stap-probe.h: New file.
49362 * configure.in: Handle --enable-systemtap.
49363 * configure: Regenerated.
49364 * config.h.in (USE_STAP_PROBE): New #undef.
49365 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49366 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49367 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49368
49369 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49370
49371 [BZ #13717]
49372 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49373 to 2.4.0 where earlier.
49374 * sysdeps/unix/sysv/linux/configure: Regenerated.
49375 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49376 <kernel-features.h>.
49377 [__ASSUME_32BITUIDS]: Make code unconditional.
49378 [!__ASSUME_32BITUIDS]: Remove conditional code.
49379 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49380 <kernel-features.h>.
49381 [__ASSUME_32BITUIDS]: Make code unconditional.
49382 [!__ASSUME_32BITUIDS]: Remove conditional code.
49383 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49384 [__ASSUME_32BITUIDS]: Make code unconditional.
49385 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49386 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49387 <kernel-features.h>.
49388 [__ASSUME_32BITUIDS]: Make code unconditional.
49389 [!__ASSUME_32BITUIDS]: Remove conditional code.
49390 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
49391 <kernel-features.h>.
49392 [__ASSUME_32BITUIDS]: Make code unconditional.
49393 [!__ASSUME_32BITUIDS]: Remove conditional code.
49394 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
49395 <kernel-features.h>.
49396 [__ASSUME_32BITUIDS]: Make code unconditional.
49397 [!__ASSUME_32BITUIDS]: Remove conditional code.
49398 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
49399 <kernel-features.h>.
49400 [__ASSUME_32BITUIDS]: Make code unconditional.
49401 [!__ASSUME_32BITUIDS]: Remove conditional code.
49402 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49403 <kernel-features.h>.
49404 [__ASSUME_32BITUIDS]: Make code unconditional.
49405 [!__ASSUME_32BITUIDS]: Remove conditional code.
49406 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49407 <kernel-features.h>.
49408 [__ASSUME_32BITUIDS]: Make code unconditional.
49409 [!__ASSUME_32BITUIDS]: Remove conditional code.
49410 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
49411 <kernel-features.h>.
49412 [__ASSUME_32BITUIDS]: Make code unconditional.
49413 [!__ASSUME_32BITUIDS]: Remove conditional code.
49414 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49415 <kernel-features.h>.
49416 [__ASSUME_32BITUIDS]: Make code unconditional.
49417 [!__ASSUME_32BITUIDS]: Remove conditional code.
49418 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49419 <kernel-features.h>.
49420 [__ASSUME_32BITUIDS]: Make code unconditional.
49421 [!__ASSUME_32BITUIDS]: Remove conditional code.
49422 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49423 <kernel-features.h>.
49424 [__ASSUME_32BITUIDS]: Make code unconditional.
49425 [!__ASSUME_32BITUIDS]: Remove conditional code.
49426 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49427 <kernel-features.h>.
49428 [__NR_setresgid] (__setresgid): Do not declare.
49429 [__ASSUME_32BITUIDS]: Make code unconditional.
49430 [!__ASSUME_32BITUIDS]: Remove conditional code.
49431 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49432 <kernel-features.h>.
49433 [__NR_setresuid] (__setresuid): Do not declare.
49434 [__ASSUME_32BITUIDS]: Make code unconditional.
49435 [!__ASSUME_32BITUIDS]: Remove conditional code.
49436 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49437 <kernel-features.h>.
49438 [__ASSUME_32BITUIDS]: Make code unconditional.
49439 [!__ASSUME_32BITUIDS]: Remove conditional code.
49440 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49441 <kernel-features.h>.
49442 [__ASSUME_32BITUIDS]: Make code unconditional.
49443 [!__ASSUME_32BITUIDS]: Remove conditional code.
49444 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49445 <kernel-features.h>.
49446 [__ASSUME_32BITUIDS]: Make code unconditional.
49447 [!__ASSUME_32BITUIDS]: Remove conditional code.
49448 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
49449 <kernel-features.h>.
49450 [__ASSUME_32BITUIDS]: Make code unconditional.
49451 [!__ASSUME_32BITUIDS]: Remove conditional code.
49452 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
49453 <kernel-features.h>.
49454 [__ASSUME_32BITUIDS]: Make code unconditional.
49455 [!__ASSUME_32BITUIDS]: Remove conditional code.
49456 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
49457 <kernel-features.h>.
49458 [__ASSUME_32BITUIDS]: Make code unconditional.
49459 [!__ASSUME_32BITUIDS]: Remove conditional code.
49460 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
49461 <kernel-features.h>.
49462 [__ASSUME_32BITUIDS]: Make code unconditional.
49463 [!__ASSUME_32BITUIDS]: Remove conditional code.
49464 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
49465 <kernel-features.h>.
49466 [__ASSUME_32BITUIDS]: Make code unconditional.
49467 [!__ASSUME_32BITUIDS]: Remove conditional code.
49468 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
49469 <kernel-features.h>.
49470 [__ASSUME_32BITUIDS]: Make code unconditional.
49471 [!__ASSUME_32BITUIDS]: Remove conditional code.
49472 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49473 <kernel-features.h>.
49474 [__ASSUME_32BITUIDS]: Make code unconditional.
49475 [!__ASSUME_32BITUIDS]: Remove conditional code.
49476 * sysdeps/unix/sysv/linux/kernel-features.h
49477 (__ASSUME_SETRESUID_SYSCALL): Remove.
49478 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49479 (__ASSUME_32BITUIDS): Likewise.
49480 (__ASSUME_LDT_WORKS): Likewise.
49481 (__ASSUME_O_DIRECTORY): Likewise.
49482 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49483 architecture but not kernel version.
49484 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49485 (__ASSUME_MMAP2_SYSCALL): Likewise.
49486 (__ASSUME_STAT64_SYSCALL): Likewise.
49487 (__ASSUME_IPC64): Likewise.
49488 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49489 <kernel-features.h>.
49490 [__ASSUME_32BITUIDS]: Make code unconditional.
49491 [!__ASSUME_32BITUIDS]: Remove conditional code.
49492 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49493 <kernel-features.h>.
49494 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49495 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49496 132096]: Remove conditional code.
49497 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49498 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49499 <kernel-features.h>.
49500 [__ASSUME_32BITUIDS]: Make code unconditional.
49501 [!__ASSUME_32BITUIDS]: Remove conditional code.
49502 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49503 <kernel-features.h>.
49504 [__ASSUME_32BITUIDS]: Make code unconditional.
49505 [!__ASSUME_32BITUIDS]: Remove conditional code.
49506 * sysdeps/unix/sysv/linux/setegid.c: Do not include
49507 <kernel-features.h>.
49508 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49509 unconditional.
49510 (__setresgid): Do not declare.
49511 [__ASSUME_32BITUIDS]: Make code unconditional.
49512 [!__ASSUME_32BITUIDS]: Remove conditional code.
49513 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49514 <kernel-features.h>.
49515 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49516 unconditional.
49517 (__setresuid): Do not declare.
49518 [__ASSUME_32BITUIDS]: Make code unconditional.
49519 [!__ASSUME_32BITUIDS]: Remove conditional code.
49520 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49521 <kernel-features.h>.
49522 [__ASSUME_32BITUIDS]: Make code unconditional.
49523 [!__ASSUME_32BITUIDS]: Remove conditional code.
49524 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49525 <kernel-features.h>.
49526 [__ASSUME_32BITUIDS]: Make code unconditional.
49527 [!__ASSUME_32BITUIDS]: Remove conditional code.
49528
49529 2012-05-25 Richard Henderson <rth@twiddle.net>
49530
49531 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49532 dl_hwcap to ifunc resolver.
49533 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49534 elf_ifunc_invoke.
49535 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49536 dl_hwcap to ifunc resolver.
49537 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49538
49539 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49540
49541 [BZ #14153]
49542 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49543 for |x| <= 2**-26, not 2**-57.
49544 * math/libm-test.inc (acos_test): Do not allow spurious underflow
49545 exception.
49546
49547 2012-05-24 Jeff Law <law@redhat.com>
49548
49549 * stdio-common/Makefile (tests): Add bug25.
49550 * stdio-common/bug25.c: New test.
49551
49552 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49553
49554 [BZ #13576]
49555 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49556 multiple of MALLOC_ALIGNMENT in size.
49557 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49558
49559 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49560
49561 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49562 Require >= 256.
49563 (FILENAME_MAX): Use macro-int-constant.
49564 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
49565 (_IOFBF): Use macro-int-constant.
49566 (_IOLBF): Likewise.
49567 (_IONBF): Likewise.
49568 (SEEK_CUR): Likewise.
49569 (SEEK_END): Likewise.
49570 (SEEK_SET): Likewise.
49571 (TMP_MAX): Likewise.
49572 (EOF): Use macro-int-constant. Require < 0.
49573 (NULL): Use macro-constant. Require == 0.
49574 (stdin): Require type to be FILE *.
49575 (stdout): Likewise.
49576 (stderr): Likewise.
49577 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49578 macro-int-constant.
49579 (EXIT_SUCCESS): Likewise.
49580 (NULL): Use macro-constant. Require == 0.
49581 (RAND_MAX): Use macro-int-constant.
49582 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49583 [C99-based standards] (strtof): Require function.
49584 [C99-based standards] (strtold): Likewise.
49585 [C99-based standards] (strtoll): Likewise.
49586 [C99-based standards] (strtoull): Likewise.
49587 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49588 [ISO || ISO99 || ISO11] (limits.h): Likewise.
49589 [ISO || ISO99 || ISO11] (math.h): Likewise.
49590 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49591 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49592 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49593
49594 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
49595
49596 [BZ #14132]
49597 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49598 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49599 * intl/dgettext.c (DCGETTEXT): Likewise.
49600 * intl/gettext.c (DCGETTEXT): Likewise.
49601 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49602 * posix/regex_internal.h (gettext): Likewise.
49603 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49604 Remove declaration.
49605 * include/argz.h (__argz_count_internal)
49606 (__argz_stringify_internal): Remove declaration.
49607 (__argz_count, __argz_stringify): Declare hidden proto.
49608 * intl/dcgettext.c: Remove use of INTDEF.
49609 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49610 * string/argz-stringify.c: Likewise.
49611 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49612 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49613 Declare hidden proto.
49614 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49615 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49616 Declare hidden proto.
49617 * include/stdio.h (__asprintf_internal): Don't declare.
49618 (__asprintf): Don't define as macro. Declare hidden proto.
49619 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49620 (__fsetlocking): Declare hidden proto.
49621 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49622 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49623 hidden proto.
49624 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49625 (_IO_setlinebuf): Remove use of INTUSE.
49626 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49627 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49628 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49629 Remove declaration.
49630 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49631 (_IO_do_flush): Remove use of INTUSE.
49632 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49633 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49634 (_IO_adjust_column, _IO_least_wmarker)
49635 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49636 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49637 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49638 (_IO_default_doallocate, _IO_wdefault_doallocate)
49639 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49640 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49641 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49642 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49643 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49644 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49645 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49646 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49647 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49648 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49649 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49650 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49651 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49652 proto.
49653 (_IO_flush_all_internal, _IO_adjust_column_internal)
49654 (_IO_default_uflow_internal, _IO_default_finish_internal)
49655 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49656 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49657 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49658 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49659 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49660 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49661 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49662 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49663 (_IO_file_close_internal, _IO_file_close_it_internal)
49664 (_IO_file_underflow_internal, _IO_file_overflow_internal)
49665 (_IO_file_init_internal, _IO_file_attach_internal)
49666 (_IO_file_fopen_internal, _IO_file_read_internal)
49667 (_IO_file_sync_internal, _IO_file_seek_internal)
49668 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49669 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49670 (_IO_str_underflow_internal, _IO_str_overflow_internal)
49671 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49672 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49673 (_IO_list_all_internal, _IO_link_in_internal)
49674 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49675 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49676 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49677 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49678 (_IO_do_write_internal, _IO_padn_internal)
49679 (_IO_getline_info_internal, _IO_getline_internal)
49680 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49681 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49682 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49683 (_IO_vfscanf_internal, _IO_vfprintf_internal)
49684 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49685 (_IO_init_internal, _IO_un_link_internal): Don't declare.
49686 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49687 with libc_hidden_ver, remove use of INTUSE.
49688 * libio/genops.c: Likewise.
49689 * libio/freopen.c: Likewise.
49690 * libio/freopen64.c: Likewise.
49691 * libio/iofclose.c: Likewise.
49692 * libio/iofdopen.c: Likewise.
49693 * libio/iofflush.c: Likewise.
49694 * libio/iofflush_u.c: Likewise.
49695 * libio/iofgets.c: Likewise.
49696 * libio/iofgets_u.c: Likewise.
49697 * libio/iofopen.c: Likewise.
49698 * libio/iofopncook.c: Likewise.
49699 * libio/iofread.c: Likewise.
49700 * libio/iofread_u.c: Likewise.
49701 * libio/ioftell.c: Likewise.
49702 * libio/iofwrite.c: Likewise.
49703 * libio/iogetline.c: Likewise.
49704 * libio/iogets.c: Likewise.
49705 * libio/iogetwline.c: Likewise.
49706 * libio/iopadn.c: Likewise.
49707 * libio/iopopen.c: Likewise.
49708 * libio/ioseekoff.c: Likewise.
49709 * libio/ioseekpos.c: Likewise.
49710 * libio/iosetbuffer.c: Likewise.
49711 * libio/iosetvbuf.c: Likewise.
49712 * libio/ioungetc.c: Likewise.
49713 * libio/ioungetwc.c: Likewise.
49714 * libio/iovdprintf.c: Likewise.
49715 * libio/iovsprintf.c: Likewise.
49716 * libio/iovsscanf.c: Likewise.
49717 * libio/memstream.c: Likewise.
49718 * libio/obprintf.c: Likewise.
49719 * libio/oldfileops.c: Likewise.
49720 * libio/oldiofclose.c: Likewise.
49721 * libio/oldiofdopen.c: Likewise.
49722 * libio/oldiofopen.c: Likewise.
49723 * libio/oldiopopen.c: Likewise.
49724 * libio/oldstdfiles.c: Likewise.
49725 * libio/putc.c: Likewise.
49726 * libio/setbuf.c: Likewise.
49727 * libio/setlinebuf.c: Likewise.
49728 * libio/stdfiles.c: Likewise.
49729 * libio/strops.c: Likewise.
49730 * libio/vasprintf.c: Likewise.
49731 * libio/vscanf.c: Likewise.
49732 * libio/vsnprintf.c: Likewise.
49733 * libio/vswprintf.c: Likewise.
49734 * libio/wfiledoalloc.c: Likewise.
49735 * libio/wfileops.c: Likewise.
49736 * libio/wgenops.c: Likewise.
49737 * libio/wmemstream.c: Likewise.
49738 * libio/wstrops.c: Likewise.
49739 * libio/__fpurge.c: Likewise.
49740 * libio/__fsetlocking.c: Likewise.
49741 * assert/assert.c: Likewise.
49742 * debug/fgets_chk.c: Likewise.
49743 * debug/fgets_u_chk.c: Likewise.
49744 * debug/fread_chk.c: Likewise.
49745 * debug/fread_u_chk.c: Likewise.
49746 * debug/gets_chk.c: Likewise.
49747 * debug/obprintf_chk.c: Likewise.
49748 * debug/vasprintf_chk.c: Likewise.
49749 * debug/vdprintf_chk.c: Likewise.
49750 * debug/vsnprintf_chk.c: Likewise.
49751 * debug/vsprintf_chk.c: Likewise.
49752 * malloc/mtrace.c: Likewise.
49753 * misc/error.c: Likewise.
49754 * misc/syslog.c: Likewise.
49755 * stdio-common/asprintf.c: Likewise.
49756 * stdio-common/fxprintf.c: Likewise.
49757 * stdio-common/getw.c: Likewise.
49758 * stdio-common/isoc99_fscanf.c: Likewise.
49759 * stdio-common/isoc99_scanf.c: Likewise.
49760 * stdio-common/isoc99_vfscanf.c: Likewise.
49761 * stdio-common/isoc99_vscanf.c: Likewise.
49762 * stdio-common/isoc99_vsscanf.c: Likewise.
49763 * stdio-common/printf-prs.c: Likewise.
49764 * stdio-common/printf_fp.c: Likewise.
49765 * stdio-common/printf_fphex.c: Likewise.
49766 * stdio-common/printf_size.c: Likewise.
49767 * stdio-common/putw.c: Likewise.
49768 * stdio-common/scanf.c: Likewise.
49769 * stdio-common/sprintf.c: Likewise.
49770 * stdio-common/tmpfile.c: Likewise.
49771 * stdio-common/vfprintf.c: Likewise.
49772 * stdio-common/vfscanf.c: Likewise.
49773 * stdlib/strfmon_l.c: Likewise.
49774 * sunrpc/openchild.c: Likewise.
49775 * sunrpc/xdr_stdio.c: Likewise.
49776 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49777 * sysdeps/mach/hurd/tmpfile.c: Likewise.
49778
49779 2012-05-24 Roland McGrath <roland@hack.frob.com>
49780
49781 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49782
49783 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49784 in the third column, to generate for the shared library an IFUNC
49785 that uses _dl_vdso_vsym.
49786 * Makerules (COMPILE.c, compile-stdin.c): New variables.
49787 * Makeconfig (object-suffixes-noshared): New variable.
49788
49789 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49790 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49791 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49792 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49793
49794 [BZ #14132]
49795 * include/sys/time.h (__gettimeofday): Remove macro.
49796 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49797 * time/gettimeofday.c (__gettimeofday): Remove #undef.
49798 Remove INTDEF.
49799 (__gettimeofday): Add libc_hidden_def.
49800 (gettimeofday): Add libc_hidden_weak.
49801 * sysdeps/mach/gettimeofday.c: Likewise.
49802 * sysdeps/posix/gettimeofday.c: Likewise.
49803 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49804 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49805 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49806 (__gettimeofday_internal): Remove strong_alias.
49807 (__gettimeofday): Add libc_hidden_def.
49808 (gettimeofday): Add libc_hidden_weak.
49809 * sysdeps/unix/syscalls.list (gettimeofday):
49810 Remove __gettimeofday_internal alias.
49811
49812 2012-05-24 Daniel Jacobowitz <drow@false.org>
49813 H.J. Lu <hongjiu.lu@intel.com>
49814
49815 [BZ #12495]
49816 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49817 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49818 (largebin_index_32_big): New.
49819 (largebin_index): Use it for 16-byte alignment.
49820 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
49821 correction with front_misalign.
49822
49823 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49824
49825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49827 Likewise.
49828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49829 Likewise.
49830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49831 Likewise.
49832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49833 Likewise.
49834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49835 Likewise.
49836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49837 Likewise.
49838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49839 Likewise.
49840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49841 Likewise.
49842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49843 Likewise.
49844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49845 Likewise.
49846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49847 Likewise.
49848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49849 Likewise.
49850
49851 * scripts/data/c++-types-x32-linux-gnu.data: New file.
49852 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49853
49854 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49855
49856 [BZ #10846]
49857 [BZ #14036]
49858 * math/libm-test.inc (exp_test): Add test from bug 14036.
49859 (pow_test): Add test from bug 10846.
49860
49861 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49862 and other flags.
49863 (special_function): Do not include flags in test name.
49864 (parse_args): Likewise.
49865 * sysdeps/i386/fpu/libm-test-ulps: Update.
49866 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49867 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49868 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49870
49871 * math/gen-libm-test.pl (%beautify): Add entries for underflow
49872 exceptions.
49873 * math/libm-test.inc ("Philosophy"): Update comment about
49874 exception testing.
49875 (UNDERFLOW_EXCEPTION): New macro.
49876 (UNDERFLOW_EXCEPTION_OK): Likewise.
49877 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49878 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49879 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49880 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49881 (INVALID_EXCEPTION_OK): Update value.
49882 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49883 (OVERFLOW_EXCEPTION_OK): Likewise.
49884 (IGNORE_ZERO_INF_SIGN): Likewise.
49885 (test_exceptions): Handle underflow exceptions.
49886 (acos_test): Update for underflow exception expectations.
49887 (cexp_test): Likewise.
49888 (clog_test): Likewise.
49889 (clog10_test): Likewise.
49890 (csqrt_test): Likewise.
49891 (ctan_test): Likewise.
49892 (ctanh_test): Likewise.
49893 (exp_test): Likewise.
49894 (exp10_test): Likewise.
49895 (exp2_test): Likewise.
49896 (expm1_test): Likewise.
49897 (fma_test): Likewise.
49898 (j0_test): Likewise.
49899 (jn_test): Likewise.
49900 (nexttoward_test): Likewise.
49901 (pow_test): Likewise.
49902 (scalbn_test): Likewise.
49903 (scalbln_test): Likewise.
49904 (tan_test): Likewise.
49905 (y1_test): Likewise.
49906 * sysdeps/i386/fpu/libm-test-ulps: Update.
49907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49908
49909 2012-05-23 David S. Miller <davem@davemloft.net>
49910
49911 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49912 (__libc_sigaction): Remove unused local variables.
49913
49914 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
49915
49916 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49917
49918 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
49919
49920 mktime: avoid signed integer overflow
49921 * time/mktime.c (__mktime_internal): Do not mishandle the case
49922 where diff == INT_MIN.
49923
49924 mktime: simplify computation of average
49925 * time/mktime.c (ranged_convert): Use new time_t_avg function
49926 instead of rolling our own (probably-slower) code.
49927
49928 mktime: do not assume signed right shift propagates sign bit
49929 * time/mktime.c (isdst_differ): New static function.
49930 (__mktime_internal): No need to normalize tm_isdst now.
49931 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49932 tm_isdst values.
49933
49934 mktime: merge another wrapv change from gnulib
49935 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49936 from some compilers.
49937
49938 mktime: remove incorrect attempt at unusual arithmetics
49939 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49940 The code didn't really work on such machines anyway.
49941 (TYPE_MINIMUM): Assume two's complement.
49942 (twos_complement_arithmetic): Verify that long_int and time_t
49943 are two's complement (or unsigned, in the latter case).
49944
49945 mktime: check signed shifts on long_int and time_t, too
49946 * time/mktime.c (SHR): Check that shifts work as desired
49947 on the types long_int and time_t too, as SHR is used on
49948 such types.
49949
49950 mktime: do not assume 'long' is wide enough
49951 * time/mktime.c (verify): Move decl up.
49952 (long_int): New type.
49953 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49954 to remove assumption in the code that 'long' is wide enough to
49955 store year values. This assumption is not true on x32 and on
49956 some non-glibc platforms.
49957
49958 mktime: merge wrapv change from gnulib
49959 * time/mktime.c (WRAPV): New macro.
49960 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49961 (guess_time_tm, __mktime_internal): Do not assume that signed
49962 integer overflow wraps around; modern compilers generate code
49963 where this assumption is no longer valid.
49964
49965 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
49966
49967 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49968 Replace "jmp L(pseudo_end)" with "ret".
49969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49970 Likewise.
49971
49972 2012-05-23 Andreas Jaeger <aj@suse.de>
49973
49974 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49975 * sysdeps/unix/sysv/linux/poll.c: Remove file.
49976
49977 2012-05-23 Andreas Jaeger <aj@suse.de>
49978 Maximilian Attems <max@stro.at>
49979
49980 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49981 New macros.
49982
49983 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
49984
49985 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49986 code so that pseudo_end is just ret and the stack pointer is
49987 correct also for static library in error case.
49988
49989 2012-05-23 Joseph Myers <joseph@codesourcery.com>
49990
49991 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49992 move to syscalls.list.
49993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49997
49998 * manual/install.texi (Running make install): Do not mention Linux
49999 kernel version for which pt_chown is not needed.
50000 (Linux): Do not mention problems with nscd with 2.0 kernels.
50001 * INSTALL: Regenerated.
50002
50003 2012-05-23 Andreas Jaeger <aj@suse.de>
50004
50005 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50006 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50007 macro.
50008 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50009 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50010 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50011 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50012 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50013 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50014 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50015 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50016 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50017 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50018 * sysdeps/unix/sysv/linux/bits/in.h
50019 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50020
50021 2012-05-22 Roland McGrath <roland@hack.frob.com>
50022
50023 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50024 (PREPARE_VERSION): Just use assert instead, it will be elided
50025 under [NDEBUG] anyway.
50026
50027 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50028
50029 * sysdeps/unix/sysv/linux/Makefile: Include
50030 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50031 (sysdep_routines): Remove sysctl.
50032 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50033 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50034 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50035 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50036 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50037
50038 2012-05-22 Andreas Jaeger <aj@suse.de>
50039
50040 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50041 that pseudo_end is just ret and the stack pointer is correct also
50042 for static library in error case.
50043
50044 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50045
50046 [BZ #14122]
50047 * nss/nsswitch.c (defconfig_entries): New variable.
50048 (__nss_database_lookup): Don't leak defconfig entries.
50049 (nss_parse_service_list): Don't leak on error paths.
50050 (free_database_entries): New function.
50051 (free_defconfig): New function.
50052 (free_mem): Move common code to free_database_entries.
50053
50054 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50055
50056 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50057 Add arch_prctl.
50058 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50059
50060 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50061 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50063 New macro.
50064 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50065 (INTERNAL_SYSCALL_TYPES): Likewise.
50066 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50067 (LOAD_REGS_TYPES_[1-6]): Likewise.
50068 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50069 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50070
50071 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50072
50073 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50074 copysignl for GLIBC_2_0.
50075 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50076 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50077 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50078 logbl for GLIBC_2_0.
50079 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50080 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50081
50082 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50083
50084 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50085 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50086
50087 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50088 Use "neg %eax".
50089
50090 * time/mktime.c: Update copyright years.
50091
50092 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50093
50094 mktime: merge comment-quoting-style change from gnulib
50095 * time/mktime.c: Quote 'like this' in comments.
50096 The GNU coding standards suggest that we no longer quote `like this',
50097 as "`" and "'" are typically rendered asymmetrically nowadays.
50098 The typical gnulib style is to quote 'like this' when quoting
50099 code, and "like this" when quoting English.
50100
50101 * time/mktime.c (compile-command): Add "-I.".
50102
50103 mktime: merge mktime-internal.h change from gnulib
50104 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50105
50106 mktime: merge time_r change from gnulib
50107 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50108
50109 mktime: merge DEBUG change from gnulib
50110 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50111 case system <time.h> has a #define.
50112
50113 mktime: merge <sys/types.h> change from gnulib
50114 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50115 since <time.t> is now guaranteed to define time_t.
50116
50117 mktime: merge HAVE_CONFIG_H change from gnulib
50118 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50119
50120 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50121
50122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50123 Use "neg %eax".
50124
50125 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50126 __rlim_t cast.
50127 (struct rusage): Use anonymous union to pad each field to
50128 __syscall_slong_t.
50129
50130 2012-05-21 David S. Miller <davem@davemloft.net>
50131
50132 * Makefules (o-iterator): Remove .s cases.
50133 (compile-command.s): Delete.
50134 (COMPILE.s): Delete.
50135 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50136
50137 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50138
50139 * configure.in (libc_cv_predef_stack_protector): Only consider
50140 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50141 * configure: Regenerated.
50142
50143 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50144
50145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50146 New macro. Use R*LP on int and pointer.
50147 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50148 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50149 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50150 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50151
50152 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50153 [__WORDSIZE_TIME64_COMPAT32] instead of
50154 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50155 (struct utmp): Likewise.
50156 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50157 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50158 Renamed to ...
50159 (__WORDSIZE_TIME64_COMPAT32): This.
50160 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50161 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50162 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50163 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50164 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50165 (__WORDSIZE_TIME64_COMPAT32): New macro.
50166
50167 2012-05-21 Andreas Jaeger <aj@suse.de>
50168
50169 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50170 only if [SHARED]. Add prototype for __wcschr_ia32.
50171
50172 2012-05-21 Roland McGrath <roland@hack.frob.com>
50173
50174 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50175 of %rbp unmolested in the jmp_buf while mangling the low bits.
50176 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50177 unmolested high bits of %rbp while demangling the low bits.
50178 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50179
50180 2012-05-21 Andreas Jaeger <aj@suse.de>
50181
50182 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50183 * sunrpc/svc_simple.c: Use it for registerrpc.
50184 * sunrpc/xcrypt.c: Use it for passwd2des.
50185
50186 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50187
50188 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50189
50190 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50191 Don't define if [__SYSCALL_WORDSIZE != 32].
50192 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50193 New macro.
50194
50195 2012-05-21 Bruno Haible <bruno@clisp.org>
50196 Andreas Jaeger <aj@suse.de>
50197
50198 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50199 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50200 inptr and inend for must_buffer_ch.
50201 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50202 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50203 * stdio-common/Makefile (tests): Remove bug15.
50204 (bug15-ENV): Remove macro.
50205 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50206 anymore.
50207
50208 2012-05-19 Andreas Jaeger <aj@suse.de>
50209 Roland McGrath <roland@hack.frob.com>
50210
50211 * manual/contrib.texi: Completely rewritten. It contains now an
50212 alphabetical list of contributors and their contributions.
50213
50214 2012-05-21 Richard Henderson <rth@twiddle.net>
50215
50216 * misc/getauxval.c (__getauxval): Use unsigned long int.
50217 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50218 (getauxval): Use unsigned long int.
50219
50220 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50221
50222 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50223
50224 2012-05-21 Roland McGrath <roland@hack.frob.com>
50225
50226 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50227 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50228 __alignof__ (long double).
50229
50230 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50231
50232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50233
50234 2012-05-20 Richard Henderson <rth@twiddle.net>
50235
50236 * misc/getauxval.c: New file.
50237 * misc/sys/auxv.h: New file.
50238 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50239 (routines): Add getauxval.
50240 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50241 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50242 * elf/dl-sysdep.c (_dl_auxv): Remove.
50243 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50244 * elf/dl-support.c (_dl_auxv): New variable.
50245 (_dl_aux_init): Initialize it.
50246 * manual/startup.texi (Auxiliary Vector): New node.
50247 * sysdeps/generic/bits/hwcap.h: New file.
50248 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50249 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50250 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50251 * sysdeps/sparc/sysdep.h: ... here. Include it.
50252 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50253 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50255 Update.
50256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50259 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50264
50265 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50266
50267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50268
50269 2012-05-19 David S. Miller <davem@davemloft.net>
50270
50271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50272
50273 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50274
50275 [BZ #14123]
50276 * math/s_ccosh.c: Include <float.h>
50277 (__ccosh): Avoid internal overflow calculating sinh and cosh
50278 values before multiplying by sin and cos values.
50279 * math/s_ccoshf.c: Likewise.
50280 * math/s_ccoshl.c: Likewise.
50281 * math/s_csin.c: Likewise.
50282 * math/s_csinf.c: Likewise.
50283 * math/s_csinl.c: Likewise.
50284 * math/s_csinh.c: Likewise.
50285 * math/s_csinhf.c: Likewise.
50286 * math/s_csinhl.c: Likewise.
50287 * math/libm-test.inc (ccos_test): Add more tests.
50288 (ccosh_test): Likewise.
50289 (csin_test): Likewise.
50290 (csinh_test): Likewise.
50291 * sysdeps/i386/fpu/libm-test-ulps: Update.
50292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50293
50294 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50295
50296 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50297 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50298
50299 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50300
50301 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50302
50303 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50304 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50305 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50306 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50307 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50308 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50309 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50310 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50311 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50312 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50313 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50314 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50315 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50316 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50317 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50318 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50319 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50320 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50321 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50322 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50323 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50324 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50325 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50326 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50327 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50328 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50329 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50330 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50331 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50332 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50333 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50334
50335 2012-05-18 Andreas Jaeger <aj@suse.de>
50336
50337 * csu/.gitignore: Delete.
50338
50339 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50340
50341 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50342 (timex): Use __syscall_slong_t.
50343
50344 2012-05-18 Andreas Jaeger <aj@suse.de>
50345 Carlos O'Donell <carlos_odonell@mentor.com>
50346
50347 * manual/install.texi (Configuring and compiling): Update
50348 description about files modified in the source directory.
50349 * INSTALL: Regenerated.
50350
50351 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50352
50353 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50354 value. Use "or" to set return value to -1.
50355 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50356 negate return value.
50357
50358 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50359
50360 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50361 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50362 failure if the compiler has Graphite support disabled.
50363 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50364 Likewise.
50365 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50366 (CFLAGS-memmove.c): Likewise.
50367 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50368 Likewise.
50369
50370 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50371
50372 * sysdeps/x86_64/x32/_itoa.h: New file.
50373
50374 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50375 getdents system call only if kernel and user dirents have the
50376 same d_ino and d_off.
50377
50378 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50379 LLONG_MAX != LONG_MAX.
50380 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50381 (_fitoa_word): Likewise.
50382
50383 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50384 years.
50385 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50386 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50387 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50388
50389 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50390 include <bits/wordsize.h>. Check __x86_64__ instead of
50391 __WORDSIZE.
50392 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50393 if __x86_64__ is defined. Use anonymous union on fpstate.
50394
50395 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50396 anonymous union.
50397
50398 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50399
50400 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50401 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50402 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50403 Refer to _rtld_local_ro instead of _rtld_global_ro.
50404 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50405 Likewise.
50406 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50407 Likewise.
50408 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50409 Likewise.
50410 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50411 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50412 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50413
50414 [BZ #10882]
50415 * sysdeps/powerpc/powerpc32/dl-machine.c
50416 (__elf_machine_runtime_setup) [PROF]: Don't reference
50417 _dl_prof_resolve.
50418
50419 2012-05-18 Andreas Jaeger <aj@suse.de>
50420
50421 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50422 function only available for GCCs before 3.4 since GCC 3.4
50423 introduced a builtin.
50424 (lrint): Likewise.
50425 (llrintf): Likewise.
50426 (llrint): Likewise.
50427 (fmaxf): Likewise.
50428 (fmax): Likewise.
50429 (fminf): Likewise.
50430 (fmin): Likewise.
50431 (rint): Likewise.
50432 (rintf): Likewise.
50433 (nearbyint): Likewise.
50434 (nearbyintf): Likewise.
50435 (ceil): Likewise.
50436 (ceilf): Likewise.
50437 (floor): Likewise.
50438 (floorf): Likewise.
50439
50440 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50441
50442 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50443 on both fields and cast pointer to __syscall_ulong_t.
50444
50445 * bits/types.h (__fsword_t): New type.
50446 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50447 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50448 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50449 (__FSWORD_T_TYPE): Likewise.
50450 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50451 (__FSWORD_T_TYPE): Likewise.
50452 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50453 (__FSWORD_T_TYPE): Likewise.
50454 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50455 (__FSWORD_T_TYPE): Likewise.
50456 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50457 __SWORD_TYPE with __fsword_t.
50458 (statfs64): Likewise.
50459
50460 2012-05-17 David S. Miller <davem@davemloft.net>
50461
50462 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50463
50464 2012-05-17 Andreas Jaeger <aj@suse.de>
50465
50466 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50467 warning.
50468
50469 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50470
50471 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50472
50473 2012-05-17 Andreas Jaeger <aj@suse.de>
50474
50475 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50476 when it is used.
50477
50478 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50479
50480 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50481
50482 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50483
50484 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50485 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50486
50487 2012-05-17 Andreas Jaeger <aj@suse.de>
50488 Carlos O'Donell <carlos_odonell@mentor.com>
50489
50490 [BZ #14059]
50491 * sysdeps/x86_64/multiarch/init-arch.h
50492 (bit_YMM_Usable): Rename to...
50493 (bit_AVX_Usable): ... this.
50494 (bit_FMA4_Usable): New macro.
50495 (bit_XMM_state): New macro.
50496 (bit_YMM_state): New macro.
50497 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50498 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50499 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50500 (CPUID_OSXSAVE): New macro.
50501 (CPUID_AVX): New macro.
50502 (CPUID_FMA4): New macro.
50503 (index_YMM_Usable): Rename to...
50504 (index_AVX_Usable): ... this.
50505 (HAS_AVX): Use HAS_ARCH_FEATURE.
50506 (HAS_FMA4): Likewise.
50507 (HAS_YMM_USABLE): Remove.
50508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50509 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50510 are present.
50511 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50512 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50513 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50514 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50515 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50516
50517 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50518
50519 * math/libm-test.c: Support platforms without multiple rounding modes.
50520 * math/bug-nextafter.c: Support platforms without FP exceptions.
50521 * math/bug-nexttoward.c: Likewise.
50522 * math/test-fenv.c: Likewise.
50523 * math/test-misc.c: Likewise.
50524 * stdlib/bug-getcontext.c: Likewise.
50525
50526 2012-05-17 Andreas Jaeger <aj@suse.de>
50527
50528 * manual/examples/search.c (critter_cmp): Change signature to
50529 avoid warnings.
50530 * manual/string.texi (Collation Functions): Likewise.
50531
50532 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50533
50534 * bits/types.h: Fold copyright years.
50535 * bits/typesizes.h: Likewise.
50536 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50537 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50538 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50539 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50540 * time/time.h: Likewise.
50541
50542 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
50543
50544 [BZ #208]
50545 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50546 in instead of returning them. Return void.
50547 (__libc_mallinfo): Accumulate over all arenas.
50548 (__malloc_stats): Adjust for change in int_mallinfo interface.
50549
50550 2012-05-16 Roland McGrath <roland@hack.frob.com>
50551
50552 [BZ #10375]
50553 * configure.in (NM): Add AC_CHECK_TOOL for it.
50554 (libc_extra_cflags): New substituted variable.
50555 Check for -fstack-protector being used implicitly.
50556 * configure: Regenerated.
50557 * config.make.in (config-extra-cflags): New variable,
50558 gets @libc_extra_cflags@.
50559 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50560
50561 [BZ #10375]
50562 * configure.in: Check for _FORTIFY_SOURCE being predefined.
50563 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50564 * configure: Regenerated.
50565 * config.make.in (CPPUNDEFS): New substituted variable.
50566 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50567 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50568 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50569
50570 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50571
50572 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50573 (mq_attr): Use __syscall_slong_t.
50574
50575 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50576
50577 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50578 Check __x86_64__ instead of __WORDSIZE.
50579 (_STAT_VER_LINUX): Likewise.
50580 (stat): Check __x86_64__ instead of __WORDSIZE. Use
50581 __syscall_ulong_t and __syscall_slong_t.
50582 (stat64): Likewise.
50583
50584 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50585
50586 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50587
50588 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50589
50590 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50591
50592 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50593
50594 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50595 __syscall_ulong_t.
50596
50597 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50598 include <bits/wordsize.h>. Check __x86_64__ instead of
50599 __WORDSIZE.
50600 (greg_t): Use "__extension__ long long int" if __x86_64__ is
50601 defined.
50602 (mcontext_t): Replace "unsigned long" with "unsigned long long".
50603
50604 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50605 include <bits/wordsize.h>. Check __x86_64__ instead of
50606 __WORDSIZE.
50607 (user_regs_struct): Use "__extension__ unsigned long long"
50608 instead of "unsigned long" if __x86_64__ is defined.
50609 (user): Likewise. Pad after pointer field if __ILP32__ is
50610 defined.
50611
50612 2012-05-16 Joseph Myers <joseph@codesourcery.com>
50613
50614 * configure.in (makeinfo): Require version 4.5 or later. Allow
50615 versions 5 to 9.
50616 * configure: Regenerated.
50617 * manual/install.texi (texinfo): Increase version requirement to
50618 4.5 or later.
50619 * INSTALL: Regenerated.
50620
50621 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50622
50623 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50624
50625 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50626
50627 * sysdeps/x86_64/x32/ffs.c: New file.
50628
50629 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50630 __syscall_ulong_t.
50631 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50632 defined. Use __syscall_ulong_t.
50633 (shminfo): Use __syscall_ulong_t.
50634 (shm_info): Likewise.
50635
50636 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50637 __syscall_ulong_t.
50638
50639 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50640 <bits/wordsize.h>.
50641 (msgqnum_t): Use __syscall_ulong_t.
50642 (msglen_t): Likewise.
50643 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
50644 __syscall_ulong_t.
50645
50646 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50647 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50648
50649 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50650
50651 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50652 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50653
50654 * sysvipc/sys/msg.h (msgbuf): Replace long int with
50655 __syscall_slong_t.
50656
50657 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50658 include <bits/wordsize.h>. Check __x86_64__ instead of
50659 __WORDSIZE.
50660
50661 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50662 "unsigned long long int" if __x86_64__ is defined.
50663 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50664
50665 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50666 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50667 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50668
50669 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50670 <stdint.h>.
50671 (GET_PC): Cast to uintptr_t first.
50672 (GET_FRAME): Likewise.
50673 (GET_STACK): Likewise.
50674
50675 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50676 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50677 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50678 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50679 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50680 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50681 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50682 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50683 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50684 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50685 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50686 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50687 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50688 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50689 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50690 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50691 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50692 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50693 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50694 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50695 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50696 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50697 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50698 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50699 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50700 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50701 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50702 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50703 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50704
50705 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
50706
50707 * Makerules (+depfiles): Also collect depfiles from .oS in
50708 $(extra-objs).
50709 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50710 .oS, $(libnldbl-routines)).
50711
50712 * Makerules (native-compile-mkdep-flags): Define.
50713 * sunrpc/Makefile (extra-objs): Add $(addprefix
50714 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50715 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50716 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
50717 calling $(make-target-directory).
50718
50719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50720
50721 * bits/types.h (__snseconds_t): Removed.
50722 * time/time.h (struct timespec): Replace __snseconds_t with
50723 __syscall_slong_t.
50724 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50725 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50726 Likewise.
50727 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50728 (__SNSECONDS_T_TYPE): Likewise.
50729 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50730 (__SNSECONDS_T_TYPE): Likewise.
50731 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50732 (__SNSECONDS_T_TYPE): Likewise.
50733
50734 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50735
50736 * sysdeps/mach/hurd/bits/typesizes.h
50737 (__SYSCALL_SLONG_TYPE): New macro.
50738 (__SYSCALL_ULONG_TYPE): Likewise.
50739
50740 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50741
50742 * bits/types.h (__syscall_slong_t): New type.
50743 (__syscall_ulong_t): Likewise.
50744
50745 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50746 (__SYSCALL_ULONG_TYPE): Likewise.
50747 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50748 (__SYSCALL_SLONG_TYPE): Likewise.
50749 (__SYSCALL_ULONG_TYPE): Likewise.
50750 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50751 (__SYSCALL_SLONG_TYPE): Likewise.
50752 (__SYSCALL_ULONG_TYPE): Likewise.
50753 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50754 (__SYSCALL_SLONG_TYPE): Likewise.
50755 (__SYSCALL_ULONG_TYPE): Likewise.
50756
50757 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50758
50759 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50760 Add sigaltstack-offsets.sym.
50761 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50762 <sigaltstack-offsets.h>.
50763 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
50764 longjmp_msg pointer.
50765 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
50766 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50767 signal stack.
50768 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50769
50770 2012-05-15 Joseph Myers <joseph@codesourcery.com>
50771
50772 * elf/stackguard-macros.h: Remove file.
50773 * sysdeps/generic/stackguard-macros.h: New file.
50774 * sysdeps/i386/stackguard-macros.h: Likewise.
50775 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50776 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50777 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50778 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50779 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50780 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50781 * sysdeps/x86_64/stackguard-macros.h: Likewise.
50782 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50783 <elf/stackguard-macros.h>.
50784
50785 [BZ #14109]
50786 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50787 __aligned__ in attribute.
50788 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50789 (gregset_t): Likewise.
50790
50791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50792
50793 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50794 * sysdeps/x86_64/64/Implies-after: Here. New file.
50795 * sysdeps/x86_64/x32/Implies-after: New file.
50796
50797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50798
50799 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50800 and access return value for _dl_profile_fixup. Use R10_LP to
50801 load frame size.
50802
50803 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50804
50805 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50806
50807 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50808
50809 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50810 * sysdeps/x86_64/x32/sysdep.h: New file.
50811
50812 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50813
50814 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50815 * sysdeps/x86_64/setjmp.S: Likewise.
50816
50817 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50818
50819 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50820 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50821 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50822 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50823 remove unused global constant.
50824
50825 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
50826
50827 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50828 include of <not-cancel.h>.
50829
50830 2012-05-15 Roland McGrath <roland@hack.frob.com>
50831
50832 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50833
50834 2012-05-15 Jeff Law <law@redhat.com>
50835 Andreas Jaeger <aj@suse.de>
50836
50837 [BZ #13594]
50838 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50839 out from...
50840 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50841 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50842 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50843 code changing __hst_map_handle.map.
50844
50845 2012-05-15 Roland McGrath <roland@hack.frob.com>
50846
50847 * configure.in (sysnames): Look for Implies-before and Implies-after
50848 files.
50849 * configure: Regenerated.
50850
50851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50852
50853 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50854 8-byte data alignment with LP_SIZE alignment.
50855
50856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50857
50858 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50859 into R10_LP.
50860
50861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50862
50863 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50864
50865 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50866
50867 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50868 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50869 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50870 Likewise.
50871 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50872
50873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50874
50875 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50876 (stackinfo_sub_sp): Likewise.
50877
50878 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50879
50880 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50881 RAX_LP.
50882
50883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50884
50885 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50886 into R*_LP.
50887
50888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50889
50890 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50891 sizes into R*_LP.
50892
50893 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50894
50895 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50896
50897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50898
50899 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50900 into R11_LP and load __x86_64_shared_cache_size_half into
50901 R8_LP.
50902
50903 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50904
50905 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50906 R8_LP.
50907
50908 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50909
50910 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50911 logb for POWER7.
50912 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50913 logbf for POWER7.
50914 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50915 logbl for POWER7.
50916 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50917 powerpc32/power7/fpu/s_logb.c via #include.
50918 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50919 powerpc32/power7/fpu/s_logbf.c via #include.
50920 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50921 powerpc32/power7/fpu/s_logbl.c via #include.
50922
50923 2012-05-15 Joseph Myers <joseph@codesourcery.com>
50924
50925 * README.libm: Remove file.
50926
50927 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50928
50929 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50930 count for x32. Use R*_LP and omit operand-size suffix.
50931
50932 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50933
50934 * shlib-versions: Move x86_64-.*-linux.* entries to ...
50935 * sysdeps/x86_64/64/shlib-versions: Here. New file.
50936 * sysdeps/x86_64/x32/shlib-versions: New file.
50937
50938 2012-05-14 Roland McGrath <roland@hack.frob.com>
50939
50940 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50941 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50942 Use _dl_fatal_printf instead.
50943
50944 2012-05-14 Joseph Myers <joseph@codesourcery.com>
50945
50946 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50947 set if not set by the user. Do not allow for being unset.
50948 * sysdeps/unix/sysv/linux/configure: Regenerated.
50949
50950 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50951
50952 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50953 the `q' suffix from lea and replace .quad with ASM_ADDR.
50954
50955 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50956
50957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50958 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
50959 instead of $17.
50960 (PTR_DEMANGLE): Likewise.
50961
50962 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50963
50964 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50965 (LP_OP): Likewise.
50966 (ASM_ADDR): Likewise.
50967 (RAX_LP): Likewise.
50968 (RBP_LP): Likewise.
50969 (RBX_LP): Likewise.
50970 (RCX_LP): Likewise.
50971 (RDI_LP): Likewise.
50972 (RSI_LP): Likewise.
50973 (RSP_LP): Likewise.
50974 (R8_LP): Likewise.
50975 (R9_LP): Likewise.
50976 (R10_LP): Likewise.
50977 (R10_LP): Likewise.
50978 (R11_LP): Likewise.
50979 (R12_LP): Likewise.
50980 (R13_LP): Likewise.
50981 (R14_LP): Likewise.
50982 (R15_LP): Likewise.
50983
50984 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50985
50986 * sysdeps/x86_64/x32/dl-machine.h: New file.
50987
50988 2012-05-14 Andreas Jaeger <aj@suse.de>
50989
50990 * manual/Makefile (subdir): Remove export of subdir.
50991 (all): Remove target.
50992 (.PHONY): Remove all from list.
50993 (mkinstalldirs): Remove.
50994 (.PHONY): Remove installdirs from list.
50995 ($(inst_infodir)/libc.info): Use make-target-directory.
50996 (installdirs): Remove.
50997 (subdir_%): Remove.
50998 (glibc-targets): Remove.
50999 (lib): Remove.
51000 (stubs): Remove.
51001 ($(objpfx)stubs ../po/manual.pot): Remove.
51002 ($(objpfx)stamp%): Remove.
51003 (make-target-directory): Remove.
51004 (subdir_install): Remove.
51005 (routines): Remove.
51006 (aux): Remove.
51007 (sources): Remove.
51008 (objects): Remove.
51009 (headers): Remove.
51010
51011 [BZ #13750]
51012 * manual/.gitignore: Remove, it's not needed anymore.
51013 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51014 all files in it.
51015 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51016 directory.
51017 (texis): Renamed to $(objpfx)texis.
51018 (texis-path): New, contains path to generated files.
51019 (chapters.%): Use texis-path for complete path, add extra argument
51020 libc-texinfo.sh.
51021 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51022 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51023 (summary,texi, stamp-summary): Use complete path of
51024 files. Generate files in build dir.
51025 (dir-add.texi): Build in build dir.
51026 (libm-err.texi,stamp-libm-err): Likewise.
51027 (version.texi, stamp-version): Likewise.
51028 (.%c.texi): Likewise.
51029 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51030 (mostlyclean): Remove target.
51031 (realclean): Remove target.
51032 (generated): Add new variable with contents from mostlyclean and
51033 realclean, remove entries duplicated in common-mostlyclean, add
51034 stamp-libm-err and stamp-version.
51035 (generated-dirs): Add libc directory.
51036 ($(inst_infodir)/libc.info): Install files from build dir.
51037
51038 * manual/install.texi (Configuring and compiling): Adjust since
51039 the info files are not part of the tar ball anymore.
51040
51041 2012-05-14 Andreas Jaeger <aj@suse.de>
51042
51043 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51044 variable.
51045
51046 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51047
51048 [BZ #13717]
51049 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51050 to 2.2.0 where earlier.
51051 * sysdeps/unix/sysv/linux/configure: Regenerated.
51052 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51053 Remove conditional code.
51054 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51055 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51056 Remove conditional code.
51057 [!__NR_lchown]: Likewise.
51058 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51059 [__NR_lchown]: Likewise.
51060 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51061 comment referencing __ASSUME_LCHOWN_SYSCALL.
51062 * sysdeps/unix/sysv/linux/i386/sigaction.c
51063 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51064 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51065 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51066 Remove conditional code.
51067 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51068 (__protocol_available): Remove #if 0 code.
51069 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51070 conditional code.
51071 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51072 * sysdeps/unix/sysv/linux/kernel-features.h
51073 (__ASSUME_GETCWD_SYSCALL): Don't define.
51074 (__ASSUME_REALTIME_SIGNALS): Likewise.
51075 (__ASSUME_PREAD_SYSCALL): Likewise.
51076 (__ASSUME_PWRITE_SYSCALL): Likewise.
51077 (__ASSUME_POLL_SYSCALL): Likewise.
51078 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51079 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51080 non-SPARC.
51081 (__ASSUME_SIOCGIFNAME): Don't define.
51082 (__ASSUME_MSG_NOSIGNAL): Likewise.
51083 (__ASSUME_SENDFILE): Define unconditionally.
51084 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51085 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51086 conditional code.
51087 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51088 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51089 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51090 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51091 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51092 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51093 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51095 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51098 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51099 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51101 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51102 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51104 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51105 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51107 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51110 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51111 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51113 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51114 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51116 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51117 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51118 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51119 Remove conditional code.
51120 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51121 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51122 Remove conditional code.
51123 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51124 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51125 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51126 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51127 Remove conditional code.
51128 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51129 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51130 Remove conditional code.
51131 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51132 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51133 Remove conditional code.
51134 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51135 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51136 Remove conditional code.
51137 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51138 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51139 Remove conditional code.
51140 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51141 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51142 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51143 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51144 * sysdeps/unix/sysv/linux/sigaction.c
51145 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51146 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51147 * sysdeps/unix/sysv/linux/sigpending.c
51148 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51149 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51150 * sysdeps/unix/sysv/linux/sigprocmask.c
51151 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51152 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51153 * sysdeps/unix/sysv/linux/sigsuspend.c
51154 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51155 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51156 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51157 (__libc_missing_rt_sigs): Remove.
51158 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51159 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51160 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51161 Remove conditional code.
51162 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51163 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51164 return 1.
51165 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51166 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51167 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51168 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51169
51170 2012-05-14 Andreas Jaeger <aj@suse.de>
51171
51172 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51173 it's not used in glibc.
51174 (__coshm1): Likewise.
51175 (__acosh1p): Likewise.
51176 (__sgn): Likewise.
51177
51178 * manual/string.texi (Copying and Concatenation): Add missing
51179 variable in concat example.
51180 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51181
51182 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51183
51184 [BZ #14103]
51185 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51186 __builtin_clzl with __builtin_clzll.
51187
51188 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51189
51190 [BZ #14104]
51191 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51192 libc_freeres_ptr.
51193
51194 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51195
51196 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51197 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51198 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51199 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51200
51201 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51202
51203 * NEWS: Update ia64 info.
51204
51205 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51206
51207 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51208 used as bcopy.
51209
51210 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51211
51212 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51213 * sysdeps/unix/syscalls.list (dup3): Likewise.
51214 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51215 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51216
51217 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51218
51219 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51220 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51221
51222 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51223
51224 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51225 thread pointer.
51226 (TLS_IE): Use mov/add instead of movq/addq to load thread
51227 pointer.
51228 (TLS_GD_PREFIX): New.
51229 (TLS_GD): Use it.
51230
51231 2012-05-11 David S. Miller <davem@davemloft.net>
51232
51233 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51234 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51235 (_FPU_SETCW): Likewise.
51236
51237 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51238
51239 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51240 is 32-byte aligned.
51241
51242 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51243
51244 [BZ #11837]
51245 * iconvdata/gb18030.c: Update tables.
51246 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51247 characters specially.
51248 (BODY for TO_LOOP): Add encoding of missing ranges.
51249
51250 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51251
51252 [BZ #13673]
51253 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51254 * sysdeps/mach/hurd/dup3.c: Likewise.
51255 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51256 * sysdeps/powerpc/memmove.c:: Likewise.
51257
51258 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51259
51260 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51261 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51262
51263 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51264
51265 * elf/elf.h (R_X86_64_RELATIVE64): New.
51266 (R_X86_64_NUM): Updated.
51267 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51268 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51269 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51270 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51271 tst-quad1pie tst-quad2pie
51272 (modules-names): Add tst-quadmod1 tst-quadmod2.
51273 ($(objpfx)tst-quad1): New dependency.
51274 ($(objpfx)tst-quad2): Likewise.
51275 ($(objpfx)tst-quad1pie): Likewise.
51276 ($(objpfx)tst-quad2pie): Likewise.
51277 * sysdeps/x86_64/tst-quad1.c: New file.
51278 * sysdeps/x86_64/tst-quad1pie.c: New file.
51279 * sysdeps/x86_64/tst-quad2.c: Likewise.
51280 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51281 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51282 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51283 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51284 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51285
51286 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51287
51288 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51289 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51290 * streams/stropts.h (t_scalar_t): Define type.
51291
51292 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51293 (_PATH_PRESERVE): Set to "/var/lib".
51294 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51295
51296 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51297 instead of int.
51298
51299 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51300 if __dir_mkfile succeeded.
51301
51302 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51303 checking for _hurd_dtablesize. Unlock it right after having
51304 finished _hurd_dtable allocation.
51305
51306 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51307
51308 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51309 * sysdeps/mach/hurd/configure: Regenerated.
51310 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51311 special-casing to...
51312 * sysdeps/gnu/configure.in: ... this new file.
51313 * sysdeps/unix/sysv/linux/configure: Regenerated.
51314 * sysdeps/gnu/configure: New generated file.
51315
51316 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51317 for Linux: use nsec instead of usec, as well as:
51318 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51319 members of type struct timespec.
51320 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51321 New macros.
51322 (struct stat64): Likewise.
51323 (_STATBUF_ST_NSEC): New macro.
51324 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51325
51326 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51327 __strtoul_internal rather than strtoul.
51328
51329 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51330
51331 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51332 and reject them.
51333
51334 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51335
51336 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51337 which preserves existing values.
51338 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51339
51340 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51341
51342 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51343 TIMEOUT values. Return EINVAL for NFDS values either negative or
51344 greater than FD_SETSIZE.
51345
51346 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51347
51348 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51349 allocated, call __vm_protect to finish enabling the existing space, and
51350 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51351 allocate the remainder.
51352
51353 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51354
51355 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51356 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51357
51358 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51359
51360 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51361 sysdeps/mach/hurd/readlink.c.
51362
51363 * posix/tst-sysconf.c (posix_options): Only use
51364 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51365 _POSIX_SYNCHRONIZED_IO when they are defined
51366 * sysdeps/mach/hurd/bits/posix_opt.h:
51367 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51368 (_XOPEN_REALTIME): Undefine macro.
51369 (_XOPEN_REALTIME_THREADS): Undefine macro.
51370 (_XOPEN_SHM): Undefine macro.
51371 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51372 macro to -1.
51373 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51374 macro to -1.
51375 (_POSIX_ASYNC_IO): Undefine macro.
51376 (_POSIX_PRIORITIZED_IO): Undefine macro.
51377 (_POSIX_SPIN_LOCKS): Define macro to -1.
51378
51379 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51380 SA_NODEFER, SA_RESETHAND.
51381 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51382 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51383 F_DUPFD_CLOEXEC.
51384
51385 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51386
51387 * elf/Makefile (pldd-modules): Define unconditionally.
51388
51389 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51390
51391 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51392
51393 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51394
51395 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51396 Return ENOENT when name is empty.
51397 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51398
51399 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51400
51401 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51402
51403 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51404
51405 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51406
51407 Fix mlock in all cases except non-readable pages.
51408 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51409 instead of VM_PROT_ALL as parameter to __vm_wire function.
51410
51411 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51412 (__mkdir): When path is `/', just fail with EEXIST.
51413 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51414
51415 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51416
51417 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51418 <sys/uio.h> (for writev).
51419 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51420 and <sys/param.h> (for MIN).
51421
51422 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51423
51424 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51425 REQUESTED_TIME. Properly set the remaining time and return EINTR
51426 if interrupted.
51427
51428 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51429
51430 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51431 Depend on against $(link-rpcuserlibs).
51432
51433 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51434
51435 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51436 (__libc_stack_end): Do not use attribute_relro.
51437 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51438 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51439 to libthread-provided value.
51440 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51441 attribute_relro.
51442
51443 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51444
51445 [BZ #3748]
51446 * bits/libc-lock.h (__libc_once_get): New macro.
51447 * sysdeps/mach/bits/libc-lock.h: Likewise.
51448 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51449 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51450 instead of using implementation details.
51451
51452 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51453 * libio/freopen.c: Likewise.
51454 * libio/freopen64.c: Likewise.
51455 * misc/syslog.c: Likewise.
51456 * nscd/connections.c: Likewise.
51457 * nscd/netgroupcache.c: Likewise.
51458 * sysdeps/posix/getcwd.c: Likewise.
51459
51460 2012-05-10 Roland McGrath <roland@hack.frob.com>
51461
51462 * math/w_ilogbf.c: Add #include <limits.h>.
51463
51464 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51465
51466 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51467 path instead of returning without unlocking.
51468
51469 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51470 immediate-write ioctls.
51471 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51472
51473 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51474
51475 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51476 __builtin_frame_address instead of making assumptions about the
51477 location of the return address relative to DATA. Force early load of
51478 the return address.
51479 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51480 __builtin_frame_address.
51481
51482 dup3 for GNU Hurd.
51483 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51484 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51485 implement dup3 and do some further code clean-ups.
51486 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51487 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51488
51489 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51490
51491 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51492
51493 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51494 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51495 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51496 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51497 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51498 d->port.lock.
51499
51500 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51501 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51502 when handler == SIG_ERR, not when handler != SIG_ERR.
51503
51504 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51505
51506 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51507 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51508 definitions.
51509
51510 accept4 for GNU Hurd.
51511 * include/sys/socket.h (__libc_accept4): New prototype.
51512 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51513 to implement __libc_accept4.
51514 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51515 __libc_accept4.
51516 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51517
51518 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51519 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51520 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51521 signal-defines.sym.
51522
51523 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51524
51525 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51526
51527 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51528
51529 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51530 assertion on O_CLOEXEC flag.
51531 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51532 * hurd/intern-fd.c: Likewise.
51533 * hurd/port2fd.c: Likewise.
51534
51535 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51536
51537 [BZ #3906]
51538 * bits/in.h (IPV6_PKTINFO): Define new macro.
51539 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51540
51541 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51542
51543 [BZ #13954]
51544 [BZ #13955]
51545 [BZ #13956]
51546 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51547 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51548 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51549 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51550 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51551 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51552 * math/libm-test.inc (logb_test) : Additional logb tests.
51553
51554 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
51555 Andreas Jaeger <aj@suse.de>
51556
51557 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51558 * configure: Regenerated.
51559 * config.h.in (LINK_OBSOLETE_RPC): New macro.
51560 * config.make.in (link-obsolete-rpc): New substituted variable.
51561 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51562 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51563 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51564 (shared-only-routines): Don't set it under [link-obsolete-rpc],
51565 so that libc.a contains the symbols.
51566 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51567 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51568 * sunrpc/auth_none.c: Likewise.
51569 * sunrpc/auth_unix.c: Likewise.
51570 * sunrpc/authdes_prot.c: Likewise.
51571 * sunrpc/authuxprot.c: Likewise.
51572 * sunrpc/clnt_gen.c: Likewise.
51573 * sunrpc/clnt_perr.c: Likewise.
51574 * sunrpc/clnt_raw.c: Likewise.
51575 * sunrpc/clnt_simp.c: Likewise.
51576 * sunrpc/clnt_tcp.c: Likewise.
51577 * sunrpc/clnt_udp.c: Likewise.
51578 * sunrpc/clnt_unix.c: Likewise.
51579 * sunrpc/des_crypt.c: Likewise.
51580 * sunrpc/des_soft.c: Likewise.
51581 * sunrpc/get_myaddr.c: Likewise.
51582 * sunrpc/key_call.c: Likewise.
51583 * sunrpc/key_prot.c: Likewise.
51584 * sunrpc/netname.c: Likewise.
51585 * sunrpc/pm_getmaps.c: Likewise.
51586 * sunrpc/pm_getport.c: Likewise.
51587 * sunrpc/pmap_clnt.c: Likewise.
51588 * sunrpc/pmap_prot.c: Likewise.
51589 * sunrpc/pmap_prot2.c: Likewise.
51590 * sunrpc/pmap_rmt.c: Likewise.
51591 * sunrpc/publickey.c: Likewise.
51592 * sunrpc/rpc_cmsg.c: Likewise.
51593 * sunrpc/rpc_common.c: Likewise.
51594 * sunrpc/rpc_dtable.c: Likewise.
51595 * sunrpc/rpc_prot.c: Likewise.
51596 * sunrpc/rpc_thread.c: Likewise.
51597 * sunrpc/rtime.c: Likewise.
51598 * sunrpc/svc.c: Likewise.
51599 * sunrpc/svc_auth.c: Likewise.
51600 * sunrpc/svc_raw.c: Likewise.
51601 * sunrpc/svc_run.c: Likewise.
51602 * sunrpc/svc_tcp.c: Likewise.
51603 * sunrpc/svc_udp.c: Likewise.
51604 * sunrpc/svc_unix.c: Likewise.
51605 * sunrpc/svcauth_des.c: Likewise.
51606 * sunrpc/xcrypt.c: Likewise.
51607 * sunrpc/xdr.c: Likewise.
51608 * sunrpc/xdr_array.c: Likewise.
51609 * sunrpc/xdr_float.c: Likewise.
51610 * sunrpc/xdr_intXX_t.c: Likewise.
51611 * sunrpc/xdr_mem.c: Likewise.
51612 * sunrpc/xdr_rec.c: Likewise.
51613 * sunrpc/xdr_ref.c: Likewise.
51614 * sunrpc/xdr_sizeof.c: Likewise.
51615 * sunrpc/xdr_stdio.c: Likewise.
51616
51617 2012-05-10 Roland McGrath <roland@hack.frob.com>
51618
51619 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51620 change. Update copyright years.
51621
51622 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51623
51624 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51625
51626 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
51627 Joseph Myers <joseph@codesourcery.com>
51628 Paul Pluzhnikov <ppluzhnikov@google.com>
51629
51630 [BZ #14012]
51631 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51632 requiring rpcgen.
51633 [cross-compiling] (extra-libs): Likewise.
51634 [cross-compiling] (extra-libs-others): Likewise.
51635 [cross-compiling] (librpcsvc-routines): Likewise.
51636 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51637 [cross-compiling] (omit-deps): Likewise.
51638 (sunrpc-CPPFLAGS): New variable.
51639 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51640 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51641 (cross-rpcgen-objs): New variable.
51642 (extra-objs): Append $(cross-rpcgen-objs).
51643 ($(cross-rpcgen-objs)): New rule.
51644 ($(objpfx)cross-rpcgen): Likewise.
51645 (rpcgen-cmd): Define to use $(built-program-file). Expand
51646 comment.
51647 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51648 ($(objpfx)x%.stmp): Likewise.
51649 * sunrpc/proto.h [IS_IN_build] (_): Define.
51650 [IS_IN_build] (_libc_intl_domainname): Likewise.
51651
51652 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51653
51654 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51655 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51656 and R_X86_64_TPOFF64.
51657
51658 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51659
51660 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51661 sysdeps/unix/sysv/syscalls.list.
51662 (stime): Likewise.
51663 (utime): Likewise.
51664 * sysdeps/unix/sysv/syscalls.list: Remove file.
51665
51666 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
51667
51668 [BZ #3440]
51669 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51670 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51671 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51672 (__LC_IDENTIFICATION): Make these macros useful in #if
51673 expressions, as required by C99.
51674
51675 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
51676
51677 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51678 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
51679 after this.
51680
51681 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
51682
51683 * stdlib/longlong.h: Updated from GCC.
51684
51685 2012-05-09 Andreas Jaeger <aj@suse.de>
51686
51687 * nscd/nscd.c (run_modes): Make named enum, reorder so that
51688 default is first entry.
51689 (run_mode): Set type.
51690 (main): Remove informal message about syslog.
51691 (options): Fix typo.
51692
51693 [BZ #14053]
51694 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51695 to asm.
51696 (lrint): Likewise.
51697 (llrintf): Likewise.
51698 (llrint): Likewise.
51699 (rint): Likewise.
51700 (rintf): Likewise.
51701 (nearbyint): Likewise.
51702 (nearbyintf): Likewise.
51703
51704 2012-05-09 Andreas Jaeger <aj@suse.de>
51705 Pedro Alves <palves@redhat.com>
51706
51707 * nscd/nscd.c (run_mode): Use enum.
51708 (main): Cleanup coding style issue.
51709
51710 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
51711 Andreas Jaeger <aj@suse.de>
51712
51713 * nscd/nscd.c (go_background): Replaced with...
51714 (run_mode): ... this.
51715 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51716 (options): Add -F --foreground.
51717 (main): Implement it.
51718 (parse_opt): Parse it.
51719
51720 2012-05-09 Andreas Jaeger <aj@suse.de>
51721
51722 [BZ #14083]
51723 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51724 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51725 -Wconversion warning.
51726 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51727 Likewise.
51728
51729 2012-05-09 Joseph Myers <joseph@codesourcery.com>
51730
51731 * conform/data/locale.h-data (NULL): Use macro-constant. Require
51732 == 0.
51733 (LC_ALL): Use macro-int-constant.
51734 (LC_COLLATE): Likewise.
51735 (LC_CTYPE): Likewise.
51736 (LC_MESSAGES): Likewise.
51737 (LC_MONETARY): Likewise.
51738 (LC_NUMERIC): Likewise.
51739 (LC_TIME): Likewise.
51740 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51741 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51742 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51743 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51744 Specify type.
51745 [C99-based standards] (float_t): Expect type.
51746 [C99-based standards] (double_t): Expect type.
51747 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
51748 type.
51749 [C99-based standards] (HUGE_VALL): Likewise.
51750 [C99-based standards] (INFINITY): Likewise.
51751 [C99-based standards] (NAN): Likewise.
51752 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51753 [C99-based standards] (FP_NAN): Likewise.
51754 [C99-based standards] (FP_NORMAL): Likewise.
51755 [C99-based standards] (FP_SUBNORMAL): Likewise.
51756 [C99-based standards] (FP_ZERO): Likewise.
51757 [C99-based standards] (FP_FAST_FMA): Use
51758 optional-macro-int-constant. Specify type. Require == 1.
51759 [C99-based standards] (FP_FAST_FMAF): Likewise.
51760 [C99-based standards] (FP_FAST_FMAL): Likewise.
51761 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51762 [C99-based standards] (FP_ILOGBNAN): Likewise.
51763 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51764 Specify type.
51765 [C99-based standards] (MATH_ERREXCEPT): Likewise.
51766 [C99-based standards] (math_errhandling): Specify type.
51767 [ISO99 || ISO11] (signgam): Do not allow.
51768 [non-C99-based standards] (copysignf): Do not allow.
51769 [non-C99-based standards] (exp2f): Likewise.
51770 [non-C99-based standards] (log2f): Likewise.
51771 [non-C99-based standards] (modff): Allow.
51772 [non-C99-based standards] (erff): Do not allow.
51773 [non-C99-based standards] (erfcf): Likewise.
51774 [non-C99-based standards] (gammaf): Likewise.
51775 [non-C99-based standards] (hypotf): Likewise.
51776 [non-C99-based standards] (j0f): Likewise.
51777 [non-C99-based standards] (j1f): Likewise.
51778 [non-C99-based standards] (jnf): Likewise.
51779 [non-C99-based standards] (lgammaf): Likewise.
51780 [non-C99-based standards] (tgammaf): Likewise.
51781 [non-C99-based standards] (y0f): Likewise.
51782 [non-C99-based standards] (y1f): Likewise.
51783 [non-C99-based standards] (ynf): Likewise.
51784 [non-C99-based standards] (isnanf): Likewise.
51785 [non-C99-based standards] (acoshf): Likewise.
51786 [non-C99-based standards] (asinhf): Likewise.
51787 [non-C99-based standards] (atanhf): Likewise.
51788 [non-C99-based standards] (cbrtf): Likewise.
51789 [non-C99-based standards] (expm1f): Likewise.
51790 [non-C99-based standards] (ilogbf): Likewise.
51791 [non-C99-based standards] (log1pf): Likewise.
51792 [non-C99-based standards] (logbf): Likewise.
51793 [non-C99-based standards] (nextafterf): Likewise.
51794 [non-C99-based standards] (remainderf): Likewise.
51795 [non-C99-based standards] (rintf): Likewise.
51796 [non-C99-based standards] (scalbf): Likewise.
51797 [non-C99-based standards] (copysignl): Likewise.
51798 [non-C99-based standards] (exp2l): Likewise.
51799 [non-C99-based standards] (log2l): Likewise.
51800 [non-C99-based standards] (modfl): Allow.
51801 [non-C99-based standards] (erfl): Do not allow.
51802 [non-C99-based standards] (erfcl): Likewise.
51803 [non-C99-based standards] (gammal): Likewise.
51804 [non-C99-based standards] (hypotl): Likewise.
51805 [non-C99-based standards] (j0l): Likewise.
51806 [non-C99-based standards] (j1l): Likewise.
51807 [non-C99-based standards] (jnl): Likewise.
51808 [non-C99-based standards] (lgammal): Likewise.
51809 [non-C99-based standards] (tgammal): Likewise.
51810 [non-C99-based standards] (y0l): Likewise.
51811 [non-C99-based standards] (y1l): Likewise.
51812 [non-C99-based standards] (ynl): Likewise.
51813 [non-C99-based standards] (isnanl): Likewise.
51814 [non-C99-based standards] (acoshl): Likewise.
51815 [non-C99-based standards] (asinhl): Likewise.
51816 [non-C99-based standards] (atanhl): Likewise.
51817 [non-C99-based standards] (cbrtl): Likewise.
51818 [non-C99-based standards] (expm1l): Likewise.
51819 [non-C99-based standards] (ilogbl): Likewise.
51820 [non-C99-based standards] (log1pl): Likewise.
51821 [non-C99-based standards] (logbl): Likewise.
51822 [non-C99-based standards] (nextafterl): Likewise.
51823 [non-C99-based standards] (remainderl): Likewise.
51824 [non-C99-based standards] (rintl): Likewise.
51825 [non-C99-based standards] (scalbl): Likewise.
51826 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51827 [non-C99-based standards] (FP_*): Do not allow.
51828 [C99-based standards] (FP_*): Change to
51829 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51830 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51831 allow.
51832 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51833 (SIG_ERR): Likewise.
51834 [X/Open-based standards] (SIG_HOLD): Likewise.
51835 (SIG_IGN): Likewise.
51836 (SIGABRT): Use macro-int-constant. Specify type. Require
51837 positive value.
51838 (SIGFPE): Likewise.
51839 (SIGILL): Likewise.
51840 (SIGINT): Likewise.
51841 (SIGSEGV): Likewise.
51842 (SIGTER): Likewise.
51843 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51844 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51845 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51846 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51847 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51848 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51849 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51850 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51851 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51852 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51853 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51854 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51855 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51856 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51857 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51858 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51859 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51860 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51861 [X/Open-based standards] (SIGTRAP): Likewise.
51862 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51863 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51864 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51865 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51866 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51867 allow.
51868
51869 2012-05-08 Ian Wienand <ianw@vmware.com>
51870
51871 [BZ #14080]
51872 * time/tzset.c (__tzset_parse_tz): Update default rules for
51873 daylight time changes in the Energy Policy Act of 2005.
51874
51875 2012-05-09 Andreas Jaeger <aj@suse.de>
51876
51877 [BZ #13983]
51878 * elf/ldconfig.c (parse_conf): Change string to make clear that
51879 ldconfig only issued a warning if ld.so.conf does not exist.
51880
51881 2012-05-08 David S. Miller <davem@davemloft.net>
51882
51883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51884 movxtod instead of popping the value on the stack.
51885
51886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51887
51888 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
51889
51890 * config.h.in: Add HAVE_ARM_PCS_VFP.
51891
51892 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
51893
51894 [BZ #13979]
51895 * include/features.h: Warn if user requests __FORTIFY_SOURCE
51896 checking but the checks are disabled for any reason.
51897
51898 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
51899
51900 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51901 and ELF64_R_TYPE with ELFW(R_TYPE).
51902
51903 2012-05-08 Joseph Myers <joseph@codesourcery.com>
51904
51905 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51906 (ulimit): Likewise.
51907
51908 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51909 (settimeofday): Likewise.
51910
51911 2012-05-08 Mike Frysinger <vapier@gentoo.org>
51912
51913 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
51914 a struct th_u2 inside the union, and move tu_block/tu_code into
51915 a new th_u3 union of tu_block/tu_code inside of that. Move
51916 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
51917 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
51918 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51919 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51920 (th_stuff): Change to th_u1.tu_stuff.
51921 (th_data): Define.
51922 (th_msg): Change to th_u1.th_u2.tu_data.
51923
51924 2012-05-07 David S. Miller <davem@davemloft.net>
51925
51926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51927
51928 [BZ #14074]
51929 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51930 (SETUP_PIC_REG): Use it.
51931 (SETUP_PIC_REG_LEAF): Use it.
51932
51933 2012-05-07 Joseph Myers <joseph@codesourcery.com>
51934
51935 [BZ #13885]
51936 [BZ #13923]
51937 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51938 USE_AS_EXPM1L.
51939 (EXPL_FINITE): Likewise.
51940 (FLDLOG): Likewise.
51941 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51942 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51943 e_expl.S.
51944 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51945 USE_AS_EXPM1L.
51946 (EXPL_FINITE): Likewise.
51947 (FLDLOG): Likewise.
51948 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51949 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51950 e_expl.S.
51951 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
51952 test of -max_value argument for long double.
51953 * sysdeps/i386/fpu/libm-test-ulps: Update.
51954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51955
51956 2012-05-06 David S. Miller <davem@davemloft.net>
51957
51958 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51959 quad soft-float symbols whose references which are compiler
51960 generated.
51961 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51962
51963 2012-05-06 Joseph Myers <joseph@codesourcery.com>
51964
51965 [BZ #13884]
51966 [BZ #13914]
51967 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51968 USE_AS_EXP10L.
51969 (EXPL_FINITE): Likewise.
51970 (FLDLOG): Likewise.
51971 (c0): Likewise.
51972 (c1): Likewise.
51973 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
51974 Adjust comments for base varying.
51975 (__expl_finite): Change alias to EXPL_FINITE.
51976 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51977 e_expl.S.
51978 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51979 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51980 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51981 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51982 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51983 USE_AS_EXP10L.
51984 (EXPL_FINITE): Likewise.
51985 (FLDLOG): Likewise.
51986 (c0): Likewise.
51987 (c1): Likewise.
51988 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
51989 Adjust comments for base varying.
51990 (__expl_finite): Change alias to EXPL_FINITE.
51991 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
51992 tests for bugs.
51993 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51994
51995 [BZ #14064]
51996 * math/libm-test.inc (check_float_internal): Correct ulp
51997 calculation for subnormal expected results.
51998
51999 2012-05-06 Andreas Jaeger <aj@suse.de>
52000
52001 * Makeconfig (+math-flags): New, set to -frounding-math.
52002 (+cflags): Add +math-flags so that all of glibc gets compiled with
52003 it.
52004
52005 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52006
52007 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52008
52009 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52010 Disable one test.
52011
52012 [BZ #13787]
52013 [BZ #13922]
52014 [BZ #14036]
52015 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52016 (__ieee754_expl): Allow for and saturate large arguments.
52017 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52018 (u_threshold): Likewise.
52019 (__exp): Call __ieee754_exp before checking for overflow and
52020 underflow.
52021 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52022 (u_threshold): Likewise.
52023 (__expf): Call __ieee754_expf before checking for overflow and
52024 underflow.
52025 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52026 (u_threshold): Likewise.
52027 (__expl): Call __ieee754_expl before checking for overflow and
52028 underflow.
52029 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52030 (__ieee754_expl): Allow for and saturate large arguments.
52031 * math/libm-test.inc (exp_test): Add another test. Do not allow
52032 missing overflow exception on overflow.
52033 (expm1_test): Do not allow missing overflow exception on overflow.
52034
52035 * sysdeps/i386/fpu/e_expl.c: Move to ...
52036 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52037 rather than using inline asm.
52038 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52039 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52040 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52041
52042 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52043 (nice): Likewise.
52044 (poll): Likewise.
52045 (signal): Likewise.
52046 (time): Likewise.
52047 (times): Likewise.
52048
52049 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52050
52051 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52052 sysdeps/unix/common/syscalls.list.
52053 (fchmod): Likewise.
52054 (fchown): Likewise.
52055 (ftruncate): Likewise.
52056 (getrusage): Likewise.
52057 (gettimeofday): Likewise.
52058 (setpgid): Likewise.
52059 (setregid): Likewise.
52060 (setreuid): Likewise.
52061 (sigaction): Likewise.
52062 (truncate): Likewise.
52063 (vhangup): Likewise.
52064 * sysdeps/unix/common/syscalls.list: Remove file.
52065 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52066 * sysdeps/unix/sysv/linux/Implies: Likewise.
52067
52068 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52069
52070 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52072 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52073 Moved to ...
52074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52075 Here.
52076 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52077 to ...
52078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52079 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52080 to ...
52081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52082 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52083 to ...
52084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52085 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52086 to ...
52087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52088 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52089 to ...
52090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52091 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52092 to ...
52093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52094 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52095 to ...
52096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52097 Here.
52098 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52099 to ...
52100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52101 Here.
52102 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52103 to ...
52104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52105 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52106 Moved to ...
52107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52108 Here.
52109 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52110 to ...
52111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52112
52113 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52114
52115 * sysdeps/unix/common/bits/dirent.h: Remove file.
52116 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52117
52118 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52119 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52120 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52121 * sysdeps/unix/bsd/isatty.c: Likewise.
52122 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52123 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52124 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52125
52126 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52127
52128 [BZ #13563]
52129 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52130 long double comparison inaccuracies.
52131 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52133
52134 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52135
52136 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52137 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52138
52139 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52140
52141 [BZ #14049]
52142 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52143 nonzero digits before rounding a hex value.
52144 * stdlib/tst-strtod.c (tests): Add another test.
52145
52146 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52147
52148 * sysdeps/s390/fpu/libm-test-ulps: Update.
52149
52150 2012-05-03 Andreas Jaeger <aj@suse.de>
52151
52152 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52153 does not get optimized out.
52154 (malloc_opt_barrier): New.
52155
52156 2012-05-03 Andreas Jaeger <aj@suse.de>
52157 Roland McGrath <roland@hack.frob.com>
52158
52159 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52160 intermediate file deletion.
52161 (generated): Add .symlist files.
52162
52163 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52164
52165 [BZ #13775]
52166 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52167 Redirect under this condition.
52168 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52169 [__USE_GNU] (__dprintf_chk): Not under this condition.
52170 [__USE_GNU] (__vdprintf_chk): Likewise.
52171 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52172 under this condition.
52173 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52174 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52175 [__USE_XOPEN2K8] (vdprintf): Likewise.
52176 [__USE_GNU] (__dprintf_chk): Not under this condition.
52177 [__USE_GNU] (__vdprintf_chk): Likewise.
52178 [__USE_GNU] (dprintf): Likewise.
52179 [__USE_GNU] (vdprintf): Likewise.
52180
52181 2012-05-03 Roland McGrath <roland@hack.frob.com>
52182
52183 * elf/Makefile (common-generated): Set this instead of generated for
52184 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52185 $(all-built-dso)-derived lists.
52186
52187 2012-05-03 Andreas Jaeger <aj@suse.de>
52188
52189 * sysdeps/i386/fpu/libm-test-ulps: Update.
52190
52191 * FAQ: Removed.
52192 * FAQ.in: Likewise.
52193 * scripts/gen-FAQ.pl: Likewise.
52194 * manual/install.texi (Installation): Point to online location of
52195 FAQ.
52196 * Makefile (files-for-dist): Remove FAQ.
52197 (FAQ): Remove.
52198
52199 2012-05-02 Allan McRae <allan@archlinux.org>
52200
52201 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52202 (LDFLAGS-reldepmod5.so): Likewise.
52203 (LDFLAGS-reldep6mod1.so): Likewise.
52204 (LDFLAGS-reldep6mod4.so): Likewise.
52205 (LDFLAGS-reldep8mod3.so): Likewise.
52206 (LDFLAGS-unload4mod1.so): Likewise.
52207 (LDFLAGS-unload4mod2.so): Likewise.
52208 (LDFLAGS-tst-initorder): Likewise.
52209 (LDFLAGS-tst-initordera2.so): Likewise.
52210 (LDFLAGS-tst-initordera3.so): Likewise.
52211 (LDFLAGS-tst-initordera4.so): Likewise.
52212 (LDFLAGS-tst-initorderb2.so): Likewise.
52213 (LDFLAGS-noload): Likewise.
52214 (LDFLAGS-next): Likewise.
52215 (LDFLAGS-order2mod1.so): Likewise.
52216 (LDFLAGS-order2mod2.so): Likewise.
52217 (LDFLAGS-tst-initorder2): Likewise.
52218 (LDFLAGS-tst-initorder2a.so): Likewise.
52219 (LDFLAGS-tst-initorder2b.so): Likewise.
52220 (LDFLAGS-tst-initorder2c.so): Likewise.
52221 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52222
52223 2012-05-02 David S. Miller <davem@davemloft.net>
52224
52225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52226
52227 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52228
52229 [BZ #14055]
52230 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52231
52232 2012-05-02 Andreas Jaeger <aj@suse.de>
52233
52234 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52235 since we manipulate rounding mode.
52236 (CPPFLAGS-test-idouble.c): Likewise.
52237 (CPPFLAGS-test-ifloat.c): Likewise.
52238 (CFLAGS-test-ldouble.c): Likewise.
52239 (CFLAGS-test-double.c): Likewise.
52240 (CFLAGS-test-float.c): Likewise.
52241 (CFLAGS-test-misc.c): Likewise.
52242 (CFLAGS-test-test-fenv.c): Likewise.
52243
52244 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52245
52246 [BZ #2550]
52247 [BZ #2570]
52248 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52249 comparisons to determine direction to adjust input.
52250
52251 2012-05-01 Roland McGrath <roland@hack.frob.com>
52252
52253 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52254 output to the target.
52255
52256 * scripts/localplt.awk: New file.
52257 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52258 (check-localplt-CFLAGS): Variable removed.
52259 ($(all-built-dso:=.jmprel)): New static pattern rule.
52260 (generated): Add those targets.
52261 (localplt-built-dso): New variable.
52262 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52263
52264 * elf/check-localplt.c: File removed.
52265
52266 * scripts/check-execstack.awk: New file.
52267 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52268 (check-execstack-CFLAGS): Variable removed.
52269 ($(objpfx)check-execstack.h): Target removed.
52270 ($(objpfx)execstack-default): New target.
52271 (generated): Add that instead of check-execstack.h.
52272 ($(all-built-dso:=.phdr)): New static pattern rule.
52273 (generated): Add those targets.
52274 * elf/check-execstack.c: File removed.
52275
52276 * scripts/check-textrel.awk: New file.
52277 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52278 (check-textrel-CFLAGS): Variable removed.
52279 (all-built-dso): Use := to define.o
52280 ($(all-built-dso:=.dyn)): New static pattern rule.
52281 (generated): Add those targets.
52282 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52283 * config.make.in (READELF): New substituted variable.
52284 * elf/check-textrel.c: File removed.
52285
52286 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52287
52288 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52289 allow.
52290 * conform/data/ctype.h-data [C99-based standards] (isblank):
52291 Expect function.
52292 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52293 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52294 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52295 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52296 Specify type. Require positive value.
52297 (EILSEQ): Likewise.
52298 (ERANGE): Likewise.
52299 [ISO || POSIX] (EILSEQ): Do not expect.
52300 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52301 Specify type. Require positive value.
52302 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52303 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52304 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52305 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52306 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52307 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52308 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52309 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52310 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52311 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52312 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52313 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52314 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52315 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52316 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52317 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52318 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52319 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52320 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52321 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52322 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52323 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52324 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52325 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52326 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52327 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52328 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52329 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52330 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52331 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52332 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52333 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52334 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52335 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52336 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52337 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52338 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52339 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52340 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52341 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52342 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52343 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52344 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52345 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52346 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52347 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52348 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52349 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52350 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52351 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52352 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52353 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52354 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52355 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52356 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52357 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52358 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52359 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52360 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52361 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52362 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52363 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52364 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52365 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52366 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52367 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52368 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52369 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52370 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52371 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52372 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52373 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52374 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52375 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52376 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52377 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52378 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52379 Require >= 2.
52380 (FLT_ROUNDS): Expect as macro, not constant.
52381 (FLT_MANT_DIG): Use macro-int-constant.
52382 (DBL_MANT_DIG): Likewise.
52383 (LDBL_MANT_DIG): Likewise.
52384 (FLT_DIG): Likewise.
52385 (DBL_DIG): Likewise.
52386 (LDBL_DIG): Likewise.
52387 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52388 (DBL_MIN_EXP): Likewise.
52389 (LDBL_MIN_EXP): Likewise.
52390 (FLT_MAX_EXP): Use macro-int-constant.
52391 (DBL_MAX_EXP): Likewise.
52392 (LDBL_MAX_EXP): Likewise.
52393 (FLT_MAX_10_EXP): Likewise.
52394 (DBL_MAX_10_EXP): Likewise.
52395 (LDBL_MAX_10_EXP): Likewise.
52396 (FLT_MAX): Use macro-constant.
52397 (DBL_MAX): Likewise.
52398 (LDBL_MAX): Likewise.
52399 (FLT_EPSILON): Use macro-constant. Give upper bound.
52400 (DBL_EPSILON): Likewise.
52401 (LDBL_EPSILON): Likewise.
52402 (FLT_MIN): Likewise.
52403 (DBL_MIN): Likewise.
52404 (LDBL_MIN): Likewise.
52405 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52406 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52407 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52408 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52409 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52410 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52411 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52412 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52413 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52414 [ISO11] (FLT_TRUE_MIN): Likewise.
52415 [ISO11] (LDBL_TRUE_MIN): Likewise.
52416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52417 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52418 (SCHAR_MIN): Use macro-int-constant. Specify type.
52419 (SCHAR_MAX): Likewise.
52420 (UCHAR_MAX): Likewise.
52421 (CHAR_MIN): Likewise.
52422 (CHAR_MAX): Likewise.
52423 (MB_LEN_MAX): Use macro-int-constant.
52424 (SHRT_MIN): Use macro-int-constant. Specify type.
52425 (SHRT_MAX): Likewise.
52426 (USHRT_MAX): Likewise.
52427 (INT_MAX): Likewise.
52428 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52429 bound negative.
52430 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52431 bound with "U".
52432 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52433 bound with "L".
52434 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52435 bound negative. Suffix upper bound with "L".
52436 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52437 bound with "UL".
52438 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52439 Specify type.
52440 [C99-based standards] (LLONG_MAX): Likewise.
52441 [C99-based standards] (ULLONG_MAX): Likewise.
52442 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52443 == 0.
52444 [ISO11] (max_align_t): Require type.
52445 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52446
52447 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52448 from $CFLAGS, without defining away __attribute__ calls.
52449 (checknamespace): Use $CFLAGS_namespace.
52450
52451 * conform/conformtest.pl (@keywords): Only include C99 keywords
52452 for standards based on C99 or C11.
52453
52454 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52455 Disable tests.
52456 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52457 UNIX98]: Likewise.
52458
52459 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52460 usability of symbols in #if.
52461
52462 * conform/conformtest.pl: If macro or constant types start
52463 "promoted:", expect the symbol to be of the following type
52464 promoted by the integer promotions.
52465
52466 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52467 in one place. Also handle "macro-constant".
52468
52469 * conform/conformtest.pl: Only accept expected macro values with
52470 "==". Parse all "macro" lines in one place.
52471 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52472
52473 * conform/conformtest.pl: Handle braced types on "constant" lines
52474 instead of handling "typed-constant".
52475 * conform/data/signal.h-data: Use "constant" instead of
52476 "typed-constant".
52477
52478 * conform/conformtest.pl: Handle "optional-" at start of lines in
52479 one place rather than duplicating several cases. Handle each
52480 format of "macro" line with initial "optional-".
52481
52482 * conform/conformtest.pl: Only accept expected constant or
52483 optional-constant values with "==". Parse all "constant" lines in
52484 one place. Parse all "optional-constant" lines in one place.
52485 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52486 * conform/data/fmtmsg.h-data: Likewise.
52487 * conform/data/netinet/in.h-data: Likewise.
52488 * conform/data/tar.h-data: Likewise.
52489 * conform/data/limits.h-data: Use "==" form on "constant" and
52490 "optional-constant" lines.
52491
52492 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52493 Use -std=c99 for XOPEN2K.
52494 (@knownproblems): Remove.
52495 (newtoken): Don't check %isknown.
52496
52497 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52498 Do not expect macro.
52499 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52500 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52501 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52502 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52503 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52504 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52505 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52506 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52507 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52508 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52509 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52510 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52511 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52512 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52513 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52514 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52515 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52516 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52517 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52518 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52519 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52520 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52521 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52522 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52523 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52524 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52525 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52526 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52527 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52528 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52529 [XPG3] (acosh): Likewise.
52530 [XPG3] (asinh): Likewise.
52531 [XPG3] (atanh): Likewise.
52532 [XPG3] (cbrt): Likewise.
52533 [XPG3] (expm1): Likewise.
52534 [XPG3] (ilogb): Likewise.
52535 [XPG3] (log1p): Likewise.
52536 [XPG3] (logb): Likewise.
52537 [XPG3] (nextafter): Likewise.
52538 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52539 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52540 [XPG3] (remainder): Likewise.
52541 [XPG3] (rint): Likewise.
52542 [XPG3 || XPG4 || UNIX98] (round): Likewise.
52543 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52544 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52545 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52546 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52547 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52548 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52549 [UNIX98 || XOPEN2K] (scalb): Expect.
52550 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52551 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52552 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52553 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52554 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52555 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52556 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52557 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52558 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52559 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52560 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52561 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52562 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52563 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52564 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52565 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52566 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52567 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52568 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52569 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52570 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52571 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52572 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52573 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52574 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52575 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52576 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52577 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52578 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52579 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52580 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52581 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52582 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52583 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52584 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52585 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52586 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52587 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52588 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52589 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52590 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52591 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52592 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52593 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52594 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52595 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52596 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52597 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52598 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52599 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52600 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52601 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52602 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52603 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52604 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52605 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52606 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52607 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52608 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52609 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52610 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52611 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52612 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52613 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52614 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52615 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52616 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52617 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52618 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52619 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52620 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52621 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52622 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52623 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52624 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52625 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52626 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52627 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52628 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52629 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52630 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52631 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52632 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52633 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52634 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52635 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52636 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52637 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52638 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52639 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52640 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52641 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52642 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52643 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52644 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52645 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52646 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52647 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52648 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52649 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52650 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52651 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52652 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52653 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52654 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52655 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52656 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52657 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52658 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52659 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52660 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52661 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52662 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52663 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52664 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52665 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52666 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52667 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52668 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52669 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52670 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52671 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52672 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52673 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52674 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52675 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52676 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52677 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52678 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52679 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52680 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52681 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52682 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52683 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52684 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52685 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52686 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52687
52688 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52689 _XOPEN_SOURCE_EXTENDED for XPG4.
52690
52691 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52692
52693 * Makeconfig (localtime): Remove variable.
52694 (inst_localtime-file): Likewise.
52695
52696 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52697
52698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52699 Update.
52700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52701 Update.
52702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52703 Update.
52704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52705 Update.
52706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52707 Update.
52708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52709 Update.
52710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52711 Update.
52712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52713 Update.
52714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52715 Update.
52716
52717 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52718
52719 [BZ #2550]
52720 [BZ #2570]
52721 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52722 comparisons to determine direction to adjust input.
52723 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52724 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52725 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52726 Likewise.
52727 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52728 Likewise.
52729 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52730 Likewise.
52731 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52732 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52733 Likewise.
52734 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52735 Likewise.
52736 * math/libm-test.inc (nexttoward_test): Add more tests.
52737
52738 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52739
52740 [BZ #14040]
52741 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52742 in version GLIBC_2.1, not GLIBC_2.0.
52743 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52744 Likewise.
52745
52746 2012-04-30 Joseph Myers <joseph@codesourcery.com>
52747
52748 [BZ #13942]
52749 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52750 (1 - x) * (1 + x).
52751 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52752 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52753 * math/libm-test.inc (acos_test): Add more tests.
52754 (asin_test): Likewise.
52755 * sysdeps/i386/fpu/libm-test-ulps: Update.
52756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52757
52758 [BZ #14034]
52759 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52760 of square root.
52761 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52762 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52763 * math/libm-test.inc (acos_test_tonearest): New function.
52764 (acos_test_towardzero): Likewise.
52765 (acos_test_downward): Likewise.
52766 (acos_test_upward): Likewise.
52767 (asin_test_tonearest): Likewise.
52768 (asin_test_towardzero): Likewise.
52769 (asin_test_downward): Likewise.
52770 (asin_test_upward): Likewise.
52771 (main): Call the new functions.
52772 * sysdeps/i386/fpu/libm-test-ulps: Update.
52773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52774
52775 [BZ #13884]
52776 [BZ #13924]
52777 * math/e_exp10.c: Include <float.h>.
52778 (__ieee754_exp10): Handle underflow here rather than multiplying
52779 large negative argument by M_LN10.
52780 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52781 of __ieee754_expf.
52782 * math/e_exp10l.c: Include <float.h>.
52783 (__ieee754_exp10l): Handle underflow here rather than multiplying
52784 large negative argument by M_LN10l.
52785 * math/libm-test.inc (exp10_test): Add another test. Do not allow
52786 spurious overflow exception on underflow.
52787
52788 2012-04-29 Marek Polacek <polacek@redhat.com>
52789
52790 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52791 (__fortify_function): New macro.
52792 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52793 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52794 __extern_always_inline.
52795 * libio/bits/stdio2.h: Likewise.
52796 * libio/bits/stdio.h: Likewise.
52797 * string/string.h: Likewise.
52798 * string/bits/string3.h: Likewise.
52799 * include/stdio.h: Likewise.
52800 * stdlib/bits/stdlib.h: Likewise.
52801 * stdlib/stdlib.h: Likewise.
52802 * rt/bits/mqueue2.h: Likewise.
52803 * rt/mqueue.h: Likewise.
52804 * posix/bits/unistd.h: Likewise.
52805 * posix/unistd.h: Likewise.
52806 * io/bits/poll2.h: Likewise.
52807 * io/bits/fcntl2.h: Likewise.
52808 * io/fcntl.h: Likewise.
52809 * io/sys/poll.h: Likewise.
52810 * misc/bits/syslog.h: Likewise.
52811 * misc/bits/syslog-ldbl.h: Likewise.
52812 * misc/sys/syslog.h: Likewise.
52813 * socket/bits/socket2.h: Likewise.
52814 * socket/sys/socket.h: Likewise.
52815 * debug/tst-chk1.c: Likewise.
52816 * wcsmbs/bits/wchar2.h: Likewise.
52817 * wcsmbs/bits/wchar-ldbl.h: Likewise.
52818 * wcsmbs/wchar.h: Likewise.
52819
52820 2012-04-29 Andreas Jaeger <aj@suse.de>
52821
52822 * Makerules (tests): Remove enable-check-abi protection.
52823 (check-abi-warn): Remove.
52824 (check-abi-%): Remove check-abi-warn usage.
52825
52826 * configure.in: Remove check-abi configure option.
52827 * configure: Regenerated.
52828 * config.make.in (enable-check-abi): Remove.
52829
52830 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
52831
52832 [BZ #14033]
52833 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52834 double functions to double *_finite functions.
52835
52836 [BZ #13941]
52837 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52838 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52839 LDBL_MIN_EXP.
52840 * stdio-common/Makefile (tests): Add tst-sprintf3.
52841 * stdio-common/tst-sprintf3.c: New file.
52842
52843 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52844 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52845
52846 2012-04-28 Joseph Myers <joseph@codesourcery.com>
52847
52848 * conform/conformtest.pl: Remove duplicate typed-constant
52849 handling.
52850
52851 2012-04-28 David S. Miller <davem@davemloft.net>
52852
52853 * Makerules (%.abilist): Add vpath on sysdep_dirs.
52854 (check-abi-%): Remove AWK script prerequisite and explicit
52855 abilist directory.
52856 (check-abi): Rewrite to just diff the symlist with the abilist.
52857 (config-tls, config-abi-config): Delete, no longer used.
52858 (update-abi-%): Remove AWK script and explicit abilist directory.
52859 (update-abi): Rewrite to simply compare and conditionally copy the
52860 symlist and the sysdep abilist file. Remove update-abi-config
52861 checks.
52862 * abilist/ld.abilist: Remove.
52863 * abilist/libBrokenLocale.abilist: Remove.
52864 * abilist/libanl.abilist: Remove.
52865 * abilist/libcrypt.abilist: Remove.
52866 * abilist/libdl.abilist: Remove.
52867 * abilist/librt.abilist: Remove.
52868 * abilist/libthread_db.abilist: Remove.
52869 * abilist/libutil.abilist: Remove.
52870 * scripts/extract-abilist.awk: Remove.
52871 * scripts/merge-abilist.awk: Remove.
52872 * sysdeps/generic/libcidn.abilist: New file.
52873 * sysdeps/generic/libnss_compat.abilist: New file.
52874 * sysdeps/generic/libnss_db.abilist: New file.
52875 * sysdeps/generic/libnss_dns.abilist: New file.
52876 * sysdeps/generic/libnss_files.abilist: New file.
52877 * sysdeps/generic/libnss_hesiod.abilist: New file.
52878 * sysdeps/generic/libnss_nis.abilist: New file.
52879 * sysdeps/generic/libnss_nisplus.abilist: New file.
52880 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52881 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52882 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52883 file.
52884 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52885 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52886 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52887 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52888 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52889 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52890 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52891 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52892 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52893 file.
52894 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52895 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52896 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52897 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52898 file.
52899 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52900 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52901 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52902 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52903 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52904 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52905 file.
52906 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52907 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52908 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52909 file.
52910 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52912 New file.
52913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52914 New file.
52915 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52916 New file.
52917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52918 New file.
52919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52920 New file.
52921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52922 New file.
52923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52924 New file.
52925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52926 New file.
52927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52928 New file.
52929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52930 New file.
52931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52932 New file.
52933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52934 New file.
52935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52936 New file.
52937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52938 file.
52939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52940 New file.
52941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52942 New file.
52943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52944 file.
52945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52946 New file.
52947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52948 New file.
52949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52950 file.
52951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52952 New file.
52953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52954 New file.
52955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52956 New file.
52957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52958 New file.
52959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52960 New file.
52961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52962 New file.
52963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52965 file.
52966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52967 New file.
52968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52969 file.
52970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52971 file.
52972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52973 file.
52974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52975 file.
52976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52977 file.
52978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52979 New file.
52980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52981 file.
52982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52983 file.
52984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52985 New file.
52986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52987 file.
52988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52990 file.
52991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52992 New file.
52993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52994 file.
52995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52996 file.
52997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52998 file.
52999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53000 file.
53001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53002 file.
53003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53004 New file.
53005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53006 file.
53007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53008 file.
53009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53010 New file.
53011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53012 file.
53013 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53014 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53015 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53016 file.
53017 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53018 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53019 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53020 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53021 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53022 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53023 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53024 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53025 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53026 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53029 file.
53030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53031 New file.
53032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53033 file.
53034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53035 file.
53036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53037 file.
53038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53039 file.
53040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53041 file.
53042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53043 New file.
53044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53045 New file.
53046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53047 file.
53048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53049 New file.
53050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53051 file.
53052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53054 file.
53055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53056 New file.
53057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53058 file.
53059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53060 file.
53061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53062 file.
53063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53064 file.
53065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53066 file.
53067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53068 New file.
53069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53070 New file.
53071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53072 file.
53073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53074 New file.
53075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53076 file.
53077
53078 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53079
53080 * conform/conformtest.pl: Fix typo in handling typed-constant from
53081 allow-header.
53082
53083 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53084
53085 * README: Cut down references to pre-2.6 Linux kernels and
53086 Linuxthreads. Update lists of configurations in libc and ports
53087 and sort alphabetically. Say "or newer" with Linux kernel version
53088 requirements.
53089
53090 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53091
53092 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53093
53094 [BZ #887]
53095 * math/libm-test.inc (logb_test_downward): New test to expose
53096 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53097 rounding mode.
53098
53099 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53100
53101 [BZ #14027]
53102 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53103 to be done.
53104 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53105 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53106
53107 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53108
53109 * sysdeps/unix/i386/brk.S: Remove file.
53110 * sysdeps/unix/i386/dl-brk.S: Likewise.
53111 * sysdeps/unix/i386/pipe.S: Likewise.
53112 * sysdeps/unix/i386/sigreturn.S: Likewise.
53113 * sysdeps/unix/i386/syscall.S: Likewise.
53114 * sysdeps/unix/i386/vfork.S: Likewise.
53115 * sysdeps/unix/i386/wait.S: Likewise.
53116
53117 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53118 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53119
53120 * configure.in (arm*-none*): Do not allow without
53121 --enable-hacker-mode.
53122 (netbsd*): Remove case setting base_os.
53123 (386bsd*): Likewise.
53124 (freebsd*): Likewise.
53125 (bsdi*): Likewise.
53126 (osf*): Likewise.
53127 (sunos*): Likewise.
53128 (ultrix*): Likewise.
53129 (newsos*): Likewise.
53130 (dynix*): Likewise.
53131 (*bsd*): Likewise.
53132 (sysv*): Likewise.
53133 (isc*): Likewise.
53134 (esix*): Likewise.
53135 (sco*): Likewise.
53136 (minix*): Likewise.
53137 (irix4*): Likewise.
53138 (irix6*): Likewise.
53139 (solaris[2-9]*): Likewise.
53140 (none): Likewise.
53141 * configure: Regenerated.
53142
53143 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53144
53145 [BZ #11521]
53146 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53147 overflow or cancellation in calculating denominator.
53148 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53149 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53150 down expression to avoid unexpected rounding in newer GCCs.
53151 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53152
53153 2012-04-26 David S. Miller <davem@davemloft.net>
53154
53155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53156 long-double compat symbols.
53157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53170
53171 2012-04-25 David S. Miller <davem@davemloft.net>
53172
53173 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53174 HWCAP_* values only after the memory barriers have been defined.
53175 (atomic_full_barrier): Define.
53176 (atomic_read_barrier): Define.
53177 (atomic_write_barrier): Define.
53178
53179 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53180
53181 * shlib-versions: Add libgcc_s version information.
53182 * sysdeps/generic/libgcc_s.h: Remove.
53183 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53184 libgcc_s.h.
53185 * sysdeps/gnu/unwind-resume.c: Likewise.
53186 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53187
53188 2012-04-25 David S. Miller <davem@davemloft.net>
53189
53190 * sysdeps/unix/sparc/brk.S: Delete.
53191 * sysdeps/unix/sparc/dl-brk.S: Delete.
53192 * sysdeps/unix/sparc/pipe.S: Delete.
53193 * sysdeps/unix/sparc/sysdep.S: Delete.
53194 * sysdeps/unix/sparc/sysdep.h: Delete.
53195 * sysdeps/unix/sparc/vfork.S: Delete.
53196 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53197 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53198 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53199 (ret_ERRVAL, r0, r1, MOVE): Define.
53200 (JUMPTARGET): Remove.
53201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53202 sysdeps/unix/sparc/sysdep.h
53203 (ENTRY, END): Remove.
53204 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53205
53206 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53207
53208 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53209 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53210 -DIS_IN_build.
53211
53212 * timezone/README: Update upstream location and email address for
53213 tzcode and tzdata.
53214 * timezone/zdump.c: Update from tzcode 2012b.
53215 * timezone/zic.c: Likewise.
53216
53217 * configure.in (libc_cv_as_needed): Remove test.
53218 * configure: Regenerated.
53219 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53220 conditional definition.
53221 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53222 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53223 * config.make.in (have-as-needed): Remove variable.
53224
53225 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53226 Paul Pluzhnikov <ppluzhnikov@google.com>
53227
53228 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53229 strings correctly.
53230
53231 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53232
53233 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53234 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53235 * sysdeps/sh/strlen.S: Likewise.
53236
53237 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53238
53239 * sysdeps/unix/fork.S: Remove file.
53240 * sysdeps/unix/i386/fork.S: Likewise.
53241 * sysdeps/unix/sparc/fork.S: Likewise.
53242
53243 * sysdeps/unix/system.c: Remove file.
53244 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53245
53246 * sysdeps/unix/getegid.S: Remove file.
53247 * sysdeps/unix/geteuid.S: Likewise.
53248
53249 2012-04-24 Roland McGrath <roland@hack.frob.com>
53250
53251 * scripts/check-localplt.awk: New file.
53252 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53253 of diff.
53254 * scripts/data/localplt-generic.data: Add a comment.
53255
53256 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53257 NODE when __dir_mkfile failed.
53258 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53259 Reported by Ludovic Courtès <ludo@gnu.org>.
53260
53261 2012-04-24 Andreas Jaeger <aj@suse.de>
53262
53263 * Makerules (common-clean): Also remove gen-as-const-headers
53264 files.
53265
53266 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53267
53268 * Makerules (native-compile): Do not change working directory for
53269 build. Use $(OUTPUT_OPTION) in command.
53270 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53271
53272 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53273
53274 [BZ #13886]
53275 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53276 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53277 * math/libm-test.inc (floor_test): Add more tests.
53278 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53279
53280 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53281
53282 * sysdeps/unix/getdents.c: Remove file.
53283 * sysdeps/unix/sysv/getdents.c: Likewise.
53284 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53285
53286 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53287 sysdeps/unix/mman/syscalls.list.
53288 (mmap): Likewise.
53289 (mprotect): Likewise.
53290 (msync): Likewise.
53291 (munmap): Likewise.
53292 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53293 * sysdeps/unix/mman/syscalls.list: Remove.
53294 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53295
53296 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53297 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53298 * configure: Regenerated.
53299 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53300 $(libgcc_s_suffix).
53301 * config.make.in (libgcc_s_suffix): Remove variable.
53302
53303 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53304
53305 * sysdeps/unix/sysv/gethostname.c: Move to ...
53306 * sysdeps/posix/gethostname.c: ... here.
53307
53308 * sysdeps/unix/execve.S: Remove file.
53309
53310 * sysdeps/unix/_exit.S: Remove file.
53311
53312 2012-04-23 Andreas Jaeger <aj@suse.de>
53313
53314 [BZ #13739]
53315 * manual/Makefile: Remove make dist support, there's no
53316 need for a stand-alone documentation tar ball.
53317 (TEXI2DVI): Define always, it's not in Makeconfig.
53318 (dist): Removed.
53319 (tar-it): Removed.
53320 (edition): Removed.
53321 (glibc-doc-$(edition).tar): Removed
53322 (%.Z): Removed.
53323 (%.gz): Removed.
53324 (%.uu): Removed.
53325 (ETAGS): Remove, it's in Makeconfig.
53326 (move-if-change): Remove, it's in Makeconfig.
53327
53328 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53329
53330 [BZ #13970]
53331 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53332 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53333 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53334 (strtod_l, strtof_l, strtold_l): Remove __wur.
53335 It is not necessarily an error to ignore strtol's return value.
53336 One can reliably look at the stored endptr to decide whether
53337 the number had valid syntax.
53338
53339 2012-04-21 Andreas Jaeger <aj@suse.de>
53340
53341 [BZ #13739]
53342 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53343
53344 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53345
53346 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53347 * sysdeps/unix/sysv/Versions: Remove file.
53348
53349 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53350
53351 [BZ #13927]
53352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53353
53354 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53355
53356 [BZ #7064]
53357 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53358 version from __vm86.
53359
53360 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53361
53362 * sysdeps/unix/common/lxstat.c: Remove file.
53363 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53364
53365 * sysdeps/unix/sysv/Makefile: Remove file.
53366
53367 * sysdeps/unix/sysv/direct.h: Remove file.
53368
53369 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53370 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53371 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53372 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53373 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53374 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53375 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53376
53377 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53378
53379 * sysdeps/unix/xmknod.c: Remove file.
53380 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53381
53382 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53383
53384 * sysdeps/unix/sysv/i386/time.S: Remove file.
53385
53386 * sysdeps/unix/fxstat.c: Remove file.
53387 * sysdeps/unix/xstat.c: Likewise.
53388 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53389
53390 * sysdeps/unix/sysv/sigaction.c: Remove file.
53391
53392 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53393 (sysdep_headers): Remove variable.
53394 [termio.h not in sysdep_headers] (generated): Likewise.
53395 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53396 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53397 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53398 * sysdeps/unix/sysv/tcflow.c: Likewise.
53399 * sysdeps/unix/sysv/tcflush.c: Likewise.
53400 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53401 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53402 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53403 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53404 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53405
53406 * sysdeps/unix/siglist.c: Remove file.
53407
53408 * sysdeps/unix/getppid.S: Remove file.
53409
53410 * sysdeps/unix/mkdir.c: Remove file.
53411 * sysdeps/unix/rmdir.c: Likewise.
53412
53413 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53414
53415 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53416 ERR_MAX value.
53417 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53418 errlist-compat value.
53419
53420 2012-04-18 David S. Miller <davem@davemloft.net>
53421
53422 * sysdeps/generic/memcopy.h (reg_char): Delete.
53423 * debug/strcat_chk.c: Use char, not reg_char.
53424 * debug/strcpy_chk.c: Likewise.
53425 * debug/strncat_chk.c: Likewise.
53426 * debug/strncpy_chk.c: Likewise.
53427 * string/memchr.c: Likewise.
53428 * string/memrchr.c: Likewise.
53429 * string/rawmemchr.c: Likewise.
53430 * string/strcat.c: Likewise.
53431 * string/strchr.c: Likewise.
53432 * string/strchrnul.c: Likewise.
53433 * string/strcmp.c: Likewise.
53434 * string/strcpy.c: Likewise.
53435 * string/strncat.c: Likewise.
53436 * string/strncmp.c: Likewise.
53437 * string/strncpy.c: Likewise.
53438
53439 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53440
53441 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53442 __builtin_memcopy is called when src and dest ranges are known to not
53443 overlap.
53444
53445 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53446
53447 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53448 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53449 fwd_align_merge macro call.
53450 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53451 bwd_align_merge macro call.
53452 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53453
53454 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53455
53456 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53457 bwd_align_merge macros.
53458 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53459 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53460 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53461
53462 2012-04-18 David S. Miller <davem@davemloft.net>
53463
53464 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53465
53466 2012-04-18 Andreas Jaeger <aj@suse.de>
53467
53468 [BZ# 6794]
53469 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53470 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53471 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53472
53473 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53474 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53475 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53476
53477 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53478 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53479 Adjust for changed ldbl-128 files.
53480
53481 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53482 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53483 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53484
53485 2012-04-17 David S. Miller <davem@davemloft.net>
53486
53487 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53488
53489 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53490
53491 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53492 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53493 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53494 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53495 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53496 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53497
53498 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53499
53500 [BZ #6794]
53501 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53502 * math/libm-test.inc: Add ilogb errno and exception tests.
53503 * math/w_ilogb.c: New file: ilogb wrapper.
53504 * math/w_ilogbf.c: New file: ilogbf wrapper.
53505 * math/w_ilogbl.c: New file: ilogbl wrapper.
53506 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53507 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53508 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53509 exception being thrown with 0.0 as argument.
53510 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53511 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53512 exception being thrown with 0.0 as argument.
53513 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53514 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53515 exception being thrown with 0.0 as argument.
53516 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53517 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53518 exception being thrown with 0.0 as argument.
53519 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53520 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53521 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53522 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53523 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53524 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53525 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53526 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53527 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53528
53529 2012-04-17 Petr Baudis <pasky@ucw.cz>
53530
53531 * include/sys/uio.h: Change __vector to __iovec to avoid clash
53532 with altivec.
53533
53534 2012-04-16 Marek Polacek <polacek@redhat.com>
53535
53536 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53537
53538 2012-04-16 Marek Polacek <polacek@redhat.com>
53539
53540 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53541 operands of fdivp instruction.
53542
53543 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53544
53545 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53546 * elf/tst-auditmod3b.c: Likewise.
53547 * elf/tst-auditmod4b.c: Likewise.
53548 * elf/tst-auditmod5b.c: Likewise.
53549 * elf/tst-auditmod6b.c: Likewise.
53550 * elf/tst-auditmod6c.c: Likewise.
53551 * elf/tst-auditmod7b.c: Likewise.
53552 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53553 * sysdeps/x86_64/preconfigure.in: Likewise.
53554 * sysdeps/x86_64/preconfigure: Regenerated.
53555
53556 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53557
53558 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53559 __ILP32__.
53560
53561 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
53562
53563 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53564 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53565
53566 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
53567
53568 [BZ #13973]
53569 * locale/iso-639.def: Fix gl language name. Spotted by
53570 Yaron Shahrabani.
53571
53572 2012-04-12 Roland McGrath <roland@hack.frob.com>
53573
53574 [BZ #2074]
53575 * libio/libio.h (__io_write_fn): Update comment.
53576
53577 2012-04-12 Petr Baudis <pasky@ucw.cz>
53578
53579 [BZ #2074]
53580 * stdio.texi (Hook Functions): The user provided writer function
53581 is not allowed to return -1.
53582
53583 2012-04-11 David S. Miller <davem@davemloft.net>
53584
53585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53586
53587 2012-04-11 Mike Frysinger <vapier@gentoo.org>
53588
53589 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53590 Add a leading slash to rtkaio.
53591
53592 2012-04-11 Jim Meyering <meyering@redhat.com>
53593
53594 [BZ #11959]
53595 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53596 It is not necessarily an error to ignore fwrite's return
53597 value. One can reliably use ferror to test for errors after
53598 the fact.
53599
53600 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53601
53602 * bits/types.h (__snseconds_t): New type.
53603 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53604
53605 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53606 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53607 (__SNSECONDS_T_TYPE): Likewise.
53608 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53609 (__SNSECONDS_T_TYPE): Likewise.
53610 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53611 (__SNSECONDS_T_TYPE): Likewise.
53612
53613 2012-04-10 Andreas Jaeger <aj@suse.de>
53614
53615 [BZ #2636]
53616 * manual/time.texi (Processor Time): Return type of times is
53617 elapsed real time since an arbitrary point in the past.
53618 (CPU Time): Move CLK_TCK from here...
53619 (Processor Time): ...to here. Correct description.
53620 * manual/conf.texi (Constants for Sysconf): Correct description of
53621 _SC_CLK_TCK.
53622
53623 2012-04-10 David S. Miller <davem@davemloft.net>
53624
53625 [BZ #13967]
53626 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53627 where the is a gap between DT_REL(A) and DT_JMPREL.
53628
53629 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53630
53631 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53632 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53633 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53634
53635 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53636
53637 * elf/dl-support.c (_dl_inhibit_cache): New variable.
53638 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53639 (dl_main): Handle --inhibit-cache.
53640 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53641 _dl_inhibit_cache.
53642 * elf/dl-load.c (_dl_map_object): Use it.
53643 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53644
53645 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53646
53647 [BZ #13872]
53648 * sysdeps/i386/fpu/e_powl.S (p78): New object.
53649 (__ieee754_powl): Saturate large exponents rather than testing for
53650 overflow of y*log2(x).
53651 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53652 * math/libm-test.inc (pow_test): Do not permit spurious overflow
53653 exceptions.
53654
53655 [BZ #11521]
53656 * math/s_ctan.c: Include <float.h>.
53657 (__ctan): Avoid internal overflow or cancellation in calculating
53658 denominator.
53659 * math/s_ctanf.c: Likewise.
53660 * math/s_ctanl.c: Likewise.
53661 * math/s_ctanh.c: Likewise.
53662 * math/s_ctanhf.c: Likewise.
53663 * math/s_ctanhl.c: Likewise.
53664 * math/libm-test.inc (ctan_test): Add more tests.
53665 (ctanh_test): Likewise.
53666 * sysdeps/i386/fpu/libm-test-ulps: Update.
53667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53668
53669 2012-04-09 Andreas Jaeger <aj@suse.de>
53670
53671 [BZ #6894]
53672 * manual/filesys.texi (Directory Entries): Mention that d_namlen
53673 is an optional BSD extension.
53674
53675 [BZ #10254]
53676 * manual/stdio.texi (Opening Streams): Document additional fopen
53677 parameters.
53678
53679 2012-04-09 Roland McGrath <roland@hack.frob.com>
53680
53681 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53682 %eax without telling the compiler.
53683
53684 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
53685
53686 [BZ # 13963]
53687 * manual/install.texi: Use sourceware.org.
53688
53689 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53690
53691 [BZ #13873]
53692 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53693 (__ieee754_pow): Generate overflow and underflow using huge*huge
53694 and tiny*tiny rather than just returning constant infinity or zero
53695 for large exponents.
53696 * math/libm-test.inc (pow_test): Require overflow exceptions for
53697 applicable cases of large exponents.
53698
53699 [BZ #706]
53700 * sysdeps/i386/fpu/e_pow.S (p10): New object.
53701 (__ieee754_pow): Use iterative multiplication algorithm only for
53702 integer exponents with absolute value below 1024. Check for odd
53703 integer exponents when using algorithm for real exponents.
53704 * math/libm-test.inc (pow_test): Add more tests.
53705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53706
53707 2012-04-08 Joseph Myers <joseph@codesourcery.com>
53708
53709 [BZ #13705]
53710 * math/libm-test.inc (exp_test): Do not allow overflow exception
53711 on underflow test.
53712
53713 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
53714
53715 [BZ #13705]
53716 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53717 instead of __kernel_standard_f.
53718
53719 2012-04-08 Mike Frysinger <vapier@gentoo.org>
53720
53721 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53722 * sysdeps/x86_64/memset_chk.S: Likewise.
53723
53724 2012-04-08 Andreas Jaeger <aj@suse.de>
53725
53726 [BZ #10153]
53727 * manual/startup.texi (Environment Access): Describe return value
53728 for putenv and setenv.
53729
53730 [BZ #6895]
53731 * manual/filesys.texi (Directory Entries): Add description for
53732 DT_LNK.
53733
53734 [BZ #6890]
53735 * manual/filesys.texi (Directory Entries): Clarify that it's file
53736 system not operating system in the description of DT_UNKNOWN.
53737
53738 [BZ #6578]
53739 * manual/syslog.texi (closelog): Fix reference, it's openlog.
53740
53741 2012-04-08 Stephen Compall <s11@member.fsf.org>
53742
53743 [BZ #6649]
53744 * manual/llio.texi (Opening and Closing Files): Add cross
53745 reference to explain mode argument.
53746
53747 2012-04-07 Mike Frysinger <vapier@gentoo.org>
53748
53749 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53750 * sysdeps/x86_64/memset_chk.S: Likewise.
53751
53752 2012-04-07 David S. Miller <davem@davemloft.net>
53753
53754 * elf/elf.h (R_SPARC_WDISP10): Define.
53755 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53756 R_SPARC_SIZE32.
53757 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53758 R_SPARC_SIZE64 and R_SPARC_H34.
53759
53760 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
53761
53762 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53763 conditions and remove no longer applicable assertion.
53764
53765 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53766
53767 * bits/byteswap.h: Include <features.h>.
53768 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53769 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53770
53771 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53772
53773 * bits/byteswap.h (__bswap_16): Removed.
53774 Include <bits/byteswap-16.h> to get __bswap_16.
53775 * sysdeps/i386/bits/byteswap.h: Likewise.
53776 * sysdeps/s390/bits/byteswap.h: Likewise.
53777 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53778 * bits/byteswap-16.h: New file.
53779 * sysdeps/i386/bits/byteswap-16.h: Likewise.
53780 * sysdeps/s390/bits/byteswap-16.h: Likewise.
53781 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53782 * string/Makefile (headers): Add bits/byteswap-16.h.
53783
53784 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53785
53786 [BZ #13895]
53787 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53788 extra indirection.
53789 * nss/Makefile (tests-static, tests): Add tst-nss-static.
53790 * nss/tst-nss-static.c: New.
53791
53792 2012-04-06 Robert Millan <rmh@gnu.org>
53793
53794 [BZ #6486]
53795 * manual/llio.texi (File Position Primitive): lseek
53796 refers to WHENCE when it really means OFFSET.
53797
53798 2012-04-06 Andreas Jaeger <aj@suse.de>
53799
53800 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53801 strncmp declarations.
53802
53803 * abilist/libc.abilist: Add __poll and __ppoll.
53804
53805 2012-04-05 David S. Miller <davem@davemloft.net>
53806
53807 * scripts/check-local-headers.sh: Accept a host triplet in the
53808 path matched by the exclude regexp.
53809
53810 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53811 definition.
53812 * sysdeps/powerpc/powerpc32/dl-machine.h
53813 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53814 * sysdeps/s390/s390-32/dl-machine.h
53815 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53816 * sysdeps/sparc/sparc32/dl-machine.h
53817 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53818 * sysdeps/sparc/sparc64/dl-machine.h
53819 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53820
53821 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53822 lazy binding.
53823 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53824 undefined symbol errors.
53825
53826 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53827 DT_NEEDED entries.
53828
53829 2012-04-05 Michael Matz <matz@suse.de>
53830
53831 [BZ #13592]
53832 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53833
53834 2012-04-05 Andreas Jaeger <aj@suse.de>
53835
53836 [BZ #13908]
53837 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53838 comment.
53839
53840 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53841
53842 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53843 which ROUND is no valid rounding mode.
53844
53845 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53846
53847 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53848 read again.
53849 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53850
53851 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53852
53853 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53854 an exception using FPU order intentionally.
53855
53856 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53857
53858 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53859 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53860 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53861 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53862
53863 2012-04-05 Simon Josefsson <simon@josefsson.org>
53864
53865 [BZ #12340]
53866 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53867 EINVAL when BUFLEN is too smal.
53868
53869 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
53870
53871 [BZ #13553]
53872 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53873 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53874
53875 2012-04-03 Andreas Jaeger <aj@suse.de>
53876
53877 [BZ #13938]
53878 * manual/setjmp.texi (System V contexts): Fix sentence.
53879
53880 [BZ #13926]
53881 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53882 New macro for this case.
53883 [!__GNUC__] (__bswap_64): New inline function for this case.
53884 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53885 * bits/byteswap.h: Likewise.
53886 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53887 ull, guard with __GLIBC_HAVE_LONG_LONG.
53888
53889 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53890 __GLIBC_HAVE_LONG_LONG.
53891
53892 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53893 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53894
53895 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53896
53897 [BZ #13691]
53898 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53899 inptr and inend, rather than using last_ch.
53900
53901 2012-04-02 David S. Miller <davem@davemloft.net>
53902
53903 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53904 * stdio-common/printf-parse.h (read_int): Change return type to
53905 'int', return -1 on INT_MAX overflow.
53906 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53907 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
53908 overflows INT_MAX. Check for overflow of in-format-string precision
53909 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
53910 SIZE_MAX not INT_MAX for integer overflow test.
53911 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53912 skip the construct in the format string but do not record anything.
53913 * stdio-common/bug22.c: Adjust to test both width/prevision
53914 INT_MAX overflow as well as total length INT_MAX overflow. Check
53915 explicitly for proper errno values.
53916
53917 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
53918
53919 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53920 CHAR_MAX.
53921 * string/test-strcmp.c [! WIDE]: Likewise.
53922 * time/tst-mktime2.c: Likewise for INT_MAX.
53923 * string/test-string.h: #include <sys/param.h> for MIN.
53924
53925 * csu/init-first.c (__libc_init_first): Call __ctype_init.
53926 * sysdeps/i386/init-first.c (init): Likewise.
53927 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53928 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53929 * sysdeps/sh/init-first.c (init): Likewise.
53930
53931 2012-04-01 Ulrich Drepper <drepper@gmail.com>
53932
53933 * po/ru.po: Update from translation team.
53934 * po/vi.po: Likewise.
53935
53936 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
53937
53938 * resolv/nss_dns/dns-host.c: Merge copyright years.
53939
53940 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53941
53942 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53943 Optimize memcpy with prefetch if
53944 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
53945 src, dst pointers have unequal 16 byte alignments.
53946
53947 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53948
53949 [BZ #13928]
53950 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53951 from a CNAME entry and return the minimum ttl for the query.
53952 (gaih_getanswer_slice): Likewise.
53953
53954 2012-03-30 Jeff Law <law@redhat.com>
53955
53956 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53957 due to long keys.
53958 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53959 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53960
53961 * resolv/nss_dns/dns-host.c: Update copyright year.
53962
53963 2012-03-30 Ulrich Drepper <drepper@gmail.com>
53964
53965 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53966 requests to save a system call. Fix check that all bytes are sent.
53967
53968 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53969 comments for sendmmsg.
53970
53971 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53972
53973 [BZ #13691]
53974 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53975 with only 1 character between 0x0041 and 0x01b0.
53976 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53977 * wcsmbs/tst-mbsnrtowcs.c: New file.
53978
53979 2012-03-29 David S. Miller <davem@davemloft.net>
53980
53981 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53982 small copies by hand.
53983
53984 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53985
53986 [BZ #13761]
53987 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53988 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53989 group memberships.
53990
53991 2012-03-28 David S. Miller <davem@davemloft.net>
53992
53993 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53994 that branches into memcpy.
53995 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53996 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53997 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53998 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53999 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54000 bits.
54001 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54002 implementation too.
54003 * sysdeps/sparc/mempcpy.S: New file.
54004
54005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54006 the IFUNC routine in the libc case.
54007 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54008
54009 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54010 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54011 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54012 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54013 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54014 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54015 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54016 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54017
54018 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54019 loop to 256 bytes instead of 64 bytes and fix test signedness.
54020
54021 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54022 * sysdeps/sparc/sparc32/Makefile: rather than here...
54023 * sysdeps/sparc/sparc64/Makefile: and here.
54024
54025 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54026
54027 * malloc/mallocbug.c: Avoid warnings about unused variables.
54028
54029 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54030
54031 [BZ #13760]
54032 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54033 in the right place. Discard and retry query if response is
54034 larger than input buffer size.
54035
54036 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54037
54038 [BZ #369]
54039 [BZ #2678]
54040 [BZ #3866]
54041 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54042 x for large integer exponent.
54043 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54044 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54045 sign of result as needed afterwards.
54046 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54047 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54048 result for underflowing pow the same as for overflow.
54049 (__kernel_standard_l): Handle powl overflow and underflow here
54050 rather than calling __kernel_standard.
54051 * math/libm-test.inc (pow_test): Add more tests.
54052
54053 [BZ #3868]
54054 [BZ #13879]
54055 [BZ #13910]
54056 [BZ #13911]
54057 [BZ #13912]
54058 [BZ #13913]
54059 [BZ #13915]
54060 [BZ #13916]
54061 [BZ #13917]
54062 [BZ #13918]
54063 [BZ #13919]
54064 [BZ #13920]
54065 [BZ #13921]
54066 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54067 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54068 (__kernel_standard_l): New function.
54069 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54070 __kernel_standard.
54071 * math/w_acosl.c (__acosl): Likewise.
54072 * math/w_asinl.c (__asinl): Likewise.
54073 * math/w_atan2l.c (__atan2l): Likewise.
54074 * math/w_atanhl.c (__atanhl): Likewise.
54075 * math/w_coshl.c (__coshl): Likewise.
54076 * math/w_exp10l.c (__exp10l): Likewise.
54077 * math/w_exp2l.c (__exp2l): Likewise.
54078 * math/w_fmodl.c (__fmodl): Likewise.
54079 * math/w_hypotl.c (__hypotl): Likewise.
54080 * math/w_j0l.c (__j0l, __y0l): Likewise.
54081 * math/w_j1l.c (__j1l, __y1l): Likewise.
54082 * math/w_jnl.c (__jnl, __ynl): Likewise.
54083 * math/w_lgammal.c (__lgammal): Likewise.
54084 * math/w_log10l.c (__log10l): Likewise.
54085 * math/w_log2l.c (__log2l): Likewise.
54086 * math/w_logl.c (__logl): Likewise.
54087 * math/w_powl.c (__powl): Likewise.
54088 * math/w_remainderl.c (__remainderl): Likewise.
54089 * math/w_scalbl.c (sysv_scalbl): Likewise.
54090 * math/w_sinhl.c (__sinhl): Likewise.
54091 * math/w_sqrtl.c (__sqrtl): Likewise.
54092 * math/w_tgammal.c (__tgammal): Likewise.
54093 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54094 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54095 * math/libm-test.inc (acos_test): Add more tests.
54096 (acosh_test): Likewise.
54097 (asin_test): Likewise.
54098 (atanh_test): Likewise.
54099 (exp_test): Likewise.
54100 (exp10_test): Likewise.
54101 (exp2_test): Likewise.
54102 (expm1_test): Likewise.
54103 (lgamma_test): Likewise.
54104 (log_test): Likewise.
54105 (log10_test): Likewise.
54106 (log1p_test): Likewise.
54107 (log2_test): Likewise.
54108 (pow_test): Do not allow some spurious overflow exceptions.
54109 (sqrt_test): Add more tests.
54110 (tgamma_test): Likewise.
54111 (y0_test): Likewise.
54112 (y1_test): Likewise.
54113 (yn_test): Likewise.
54114
54115 2012-03-27 Anton Blanchard <anton@samba.org>
54116
54117 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54118 MAP_HUGETLB.
54119 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54120 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54121 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54122
54123 2012-03-27 David S. Miller <davem@davemloft.net>
54124
54125 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54126
54127 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54128 have-as-vis3 check.
54129
54130 2012-03-27 Andreas Jaeger <aj@suse.de>
54131
54132 * sysdeps/x86_64/elf/configure.in: Moved to ...
54133 * sysdeps/x86_64/configure.in: ... here.
54134 * sysdeps/x86_64/elf/start.S: Moved to ...
54135 * sysdeps/x86_64/start.S: ... here.
54136 * sysdeps/x86_64/elf/configure: Delete.
54137
54138 * sysdeps/x86_64/configure.in: Merge contents from
54139 sysdeps/i386/configure.in (without i686 check).
54140
54141 * sysdeps/i386/elf/Versions: Merge into ...
54142 * sysdeps/i386/Versions: ... this.
54143 * sysdeps/i386/elf/Versions: Delete file.
54144 * sysdeps/i386/elf/start.S: Moved to ...
54145 * sysdeps/i386/start.S: ...here.
54146 * sysdeps/i386/elf/configure.in: Merge into...
54147 * sysdeps/i386/configure.in: ...here.
54148 * sysdeps/i386/elf/configure.in: Delete file.
54149 * sysdeps/i386/elf/configure: Delete file.
54150
54151 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54152 * debug/backtracesyms.c: ... here.
54153 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54154 * debug/backtracesymsfd.c: ... here.
54155 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54156 * sysdeps/generic/ifunc-sel.h: ... here.
54157
54158 * sysdeps/unix/i386/start.c: Delete file.
54159 * sysdeps/unix/sparc/start.c: Delete file.
54160 * sysdeps/unix/start.c: Delete file.
54161
54162 * sysdeps/sh/elf/configure.in: Moved to ...
54163 * sysdeps/sh/configure.in: ... here.
54164 * sysdeps/sh/elf/start.S: Moved to ...
54165 * sysdeps/sh/start.S: ... here.
54166 * sysdeps/sh/elf/configure: Delete file.
54167
54168 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54169 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54170 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54171 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54172 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54173 * sysdeps/powerpc/powerpc64/start.S: here.
54174 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54175 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54176 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54177 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54178 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54179
54180 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54181 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54182 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54183 * sysdeps/powerpc/powerpc32/start.S: ... here.
54184 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54185 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54186 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54187
54188 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54189 * sysdeps/powerpc/ifunc-sel.h: ... here.
54190 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54191 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54192
54193 * sysdeps/sparc/elf/configure.in: Moved to ...
54194 * sysdeps/sparc/configure.in: ... here.
54195 * sysdeps/sparc/elf/configure: Delete file.
54196 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54197 * sysdeps/sparc/sparc32/start.S: ... here.
54198 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54199 * sysdeps/sparc/sparc64/start.S: ... here.
54200 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54201 * sysdeps/sparc/sparc32/Makefile: ... this.
54202 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54203 * sysdeps/sparc/sparc64/Makefile: ... this.
54204
54205 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54206 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54207 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54208 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54209 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54210 * sysdeps/s390/s390-32/setjmp.S: ... here.
54211 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54212 * sysdeps/s390/s390-32/configure.in: ... here.
54213 * sysdeps/s390/s390-32/elf/configure: Delete file.
54214 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54215 * sysdeps/s390/s390-32/start.S: ... here.
54216
54217 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54218 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54219 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54220 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54221 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54222 * sysdeps/s390/s390-64/setjmp.S: ... here.
54223 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54224 * sysdeps/s390/s390-64/configure.in: ... here
54225 * sysdeps/s390/s390-64/elf/configure: Delete file.
54226 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54227 * sysdeps/s390/s390-64/start.S: ... here.
54228 * sysdeps/s390/s390-64/elf/configure: Delete.
54229
54230 * configure.in: Remove support for elf directories in sysdeps.
54231
54232 * configure: Regenerated.
54233 * sysdeps/i386/configure: Regenerated.
54234 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54235 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54236 * sysdeps/s390/s390-32/configure: Regenerated.
54237 * sysdeps/s390/s390-64/configure: Regenerated.
54238 * sysdeps/sh/configure: Regenerated.
54239 * sysdeps/sparc/configure: Regenerated.
54240 * sysdeps/x86_64/configure: Regenerated.
54241
54242 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54243
54244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54245
54246 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54247 denormal result into account.
54248
54249 2012-03-25 Roland McGrath <roland@hack.frob.com>
54250
54251 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54252 Reported by Allan McRae <allan@archlinux.org>.
54253
54254 2012-03-23 Jeff Law <law@redhat.com>
54255
54256 * nss/getnssent.c (__nss_getent): Fix typo.
54257
54258 2012-03-23 David S. Miller <davem@davemloft.net>
54259
54260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54261
54262 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54263
54264 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54265 to pad to uint64_t for each field.
54266 (dl_tls_index): Replace unsigned long with uint64_t.
54267
54268 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54269 Paul Pluzhnikov <ppluzhnikov@google.com>
54270
54271 [BZ #6528]
54272 * grp/Makefile (otherlibs): Don't set it.
54273 * inet/Makefile (otherlibs): Likewise.
54274 * login/Makefile (otherlibs): Likewise.
54275 * nscd/Makefile (otherlibs): Likewise.
54276 * posix/Makefile (otherlibs): Likewise.
54277 * pwd/Makefile (otherlibs): Likewise.
54278 * rt/Makefile (otherlibs): Likewise.
54279 * sunrpc/Makefile (otherlibs): Likewise.
54280 * nss/Makefile (otherlibs): Likewise.
54281 Add libnss_files to routines and static-only-routines.
54282 ($(objpfx)getent): Remove rule.
54283 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54284 static-only-routines.
54285
54286 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54287
54288 [BZ #13892]
54289 * math/s_cexp.c: Include <float.h>.
54290 (__cexp): Handle exp result overflowing not necessarily
54291 overflowing both real and imaginary parts of result.
54292 * math/s_cexpf.c: Likewise.
54293 * math/s_cexpl.c: Likewise.
54294 * math/libm-test.inc (cexp_test): Add more tests.
54295 * sysdeps/i386/fpu/libm-test-ulps: Update.
54296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54297
54298 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54299
54300 * include/link.h (ELFW): New macro.
54301 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54302 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54303
54304 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54305
54306 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54307 with uint64_t.
54308
54309 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54310
54311 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54312 declaration.
54313 (struct La_x32_retval): Likewise.
54314
54315 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54316
54317 * sysdeps/x86_64/preconfigure.in: New file.
54318 * sysdeps/x86_64/preconfigure: New generated file.
54319
54320 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54321
54322 [BZ #13824]
54323 * math/e_exp2l.c: Include <float.h>.
54324 (__ieee754_exp2l): Handle overflow and underflow cases
54325 separately. Only pass fractional part of argument to
54326 __ieee754_expl.
54327 * math/libm-test.inc (exp2_test): Add more tests.
54328
54329 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54330 negating x to take absolute value.
54331 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54332 Likewise.
54333 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54334 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54335 Likewise.
54336 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54337 computing low part if x was negated.
54338 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54339
54340 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54341
54342 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54343 la_x32_gnu_pltexit.
54344 (pltexit): Cast int_retval to ptrdiff_t.
54345 * elf/tst-auditmod3b.c: Likewise.
54346 * elf/tst-auditmod4b.c: Likewise.
54347 * elf/tst-auditmod5b.c: Likewise.
54348 * elf/tst-auditmod6b.c: Likewise.
54349 * elf/tst-auditmod6c.c: Likewise.
54350 * elf/tst-auditmod7b.c: Likewise.
54351
54352 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54353 and x32_gnu_pltexit.
54354
54355 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54356 __ELF_NATIVE_CLASS.
54357 (La_x32_regs): New macro.
54358 (La_x32_retval): Likewise.
54359 (la_x32_gnu_pltenter): New function prototype.
54360 (la_x32_gnu_pltexit): Likewise.
54361
54362 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54363
54364 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54365 exponent.
54366
54367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54368
54369 * configure.in (libc_cv_cc_nofma): Check for option to disable
54370 generation of FMA instructions.
54371 * configure: Regenerate.
54372 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54373 * sysdeps/ieee754/dbl-64/Makefile: New file.
54374 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54375 Remove brandred-fma4.
54376 (CFLAGS-brandred-fma4.c): Remove.
54377 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54378 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54379 define.
54380 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54381 define.
54382
54383 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54384
54385 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54386 LLONG_MAX != LONG_MAX.
54387 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54388 (_fitoa_word): Likewise.
54389 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54390 LLONG_MAX != LONG_MAX.
54391 * stdio-common/_itowa.h: Include <_itoa.h>.
54392 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54393 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54394 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54395 only if not defined.
54396 (_ITOA_WORD_TYPE): Likewise.
54397 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54398 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54399
54400 2012-03-21 David S. Miller <davem@davemloft.net>
54401
54402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54403
54404 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54405
54406 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54407 of x86_64 when setting libc_cv_slibdir, libdir and
54408 libc_cv_localedir.
54409 * sysdeps/unix/sysv/linux/configure: Regenerated.
54410
54411 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54412
54413 * manual/lang.texi (Old Varargs): Remove section.
54414 (How Variadic): Update menu.
54415 (va_start): Do not mention varargs.h.
54416
54417 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54418 Joseph Myers <joseph@codesourcery.com>
54419
54420 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54421 link test.
54422 * configure: Regenerated.
54423
54424 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54425
54426 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54427 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54428 conformtest.pl
54429
54430 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54431
54432 * NOTES: Remove.
54433 * Makefile (files-for-dist): Remove NOTES.
54434 (NOTES): Remove rule.
54435 * README: Don't refer to NOTES.
54436 * manual/creature.texi: Don't include macros.texi.
54437 * manual/intro.texi (creature.texi): Remove comment referring to
54438 NOTES.
54439
54440 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54441 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54442 * configure: Regenerated.
54443 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54444 LIBC_TRY_CC_OPTION.
54445 (libc_cv_as_i686): Likewise.
54446 (libc_cv_cc_avx): Likewise.
54447 (libc_cv_cc_sse2avx): Likewise.
54448 (libc_cv_cc_fma4): Likewise.
54449 (libc_cv_cc_novzeroupper): Likewise.
54450 * sysdeps/i386/configure: Regenerated.
54451
54452 [BZ #13883]
54453 * sysdeps/i386/fpu/s_cexp.S: Remove.
54454 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54455 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54456 * math/libm-test.inc (cexp_test): Add more tests.
54457 * sysdeps/i386/fpu/libm-test-ulps: Update.
54458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54459
54460 2012-03-21 Allan McRae <allan@archlinux.org>
54461
54462 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54463
54464 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54465
54466 [BZ #13871]
54467 * math/w_exp2.c: Do not include <float.h>.
54468 (o_threshold, u_threshold): Remove.
54469 (__exp2): Calculate result before checking finiteness and calling
54470 __kernel_standard.
54471 * math/w_exp2f.c: Likewise.
54472 * math/w_exp2l.c: Likewise.
54473 * math/libm-test.inc (exp2_test): Require overflow exception for
54474 1e6 input.
54475
54476 [BZ #3866]
54477 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54478 range of signed 64-bit integers before using fistpll. Remove
54479 checks for whether integers fit in mantissa bits.
54480 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54481 the range of signed 32-bit integers before using fistpl. Remove
54482 checks for whether integers fit in mantissa bits.
54483 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54484 (__ieee754_powl): Test for y outside the range of signed 64-bit
54485 integers before using fistpll. Reduce 64-bit values to 63-bit
54486 ones as needed.
54487 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54488 divide-by-zero is raised for zero to large negative powers.
54489 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54490 (__ieee754_powl): Test for y outside the range of signed 64-bit
54491 integers before using fistpll. Reduce 64-bit values to 63-bit
54492 ones as needed.
54493 * math/libm-test.inc (pow_test): Add more tests.
54494
54495 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54496
54497 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54498 <stdio-common/_itoa.h>.
54499 * debug/segfault.c: Likewise.
54500 * elf/dl-cache.c: Likewise.
54501 * elf/dl-minimal.c: Likewise.
54502 * elf/dl-misc.c: Likewise.
54503 * elf/dl-sysdep.c: Likewise.
54504 * elf/dl-version.c: Likewise.
54505 * elf/rtld.c: Likewise.
54506 * hurd/hurdsock.c: Likewise.
54507 * hurd/lookup-retry.c: Likewise.
54508 * malloc/malloc.c: Likewise.
54509 * malloc/mtrace.c: Likewise.
54510 * nscd/nscd_getgr_r.c: Likewise.
54511 * nscd/nscd_getpw_r.c: Likewise.
54512 * nscd/nscd_getserv_r.c: Likewise.
54513 * posix/getopt_init.c: Likewise.
54514 * posix/wordexp.c: Likewise.
54515 * stdio-common/_itoa.c: Likewise.
54516 * stdio-common/printf_fphex.c: Likewise.
54517 * stdio-common/vfprintf.c: Likewise.
54518 * string/_strerror.c: Likewise.
54519 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54520 * sysdeps/i386/i686/hp-timing.h: Likewise.
54521 * sysdeps/mach/_strerror.c: Likewise.
54522 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54523 * sysdeps/mach/hurd/sethostid.c: Likewise.
54524 * sysdeps/mach/hurd/xmknodat.c: Likewise.
54525 * sysdeps/mach/xpg-strerror.c: Likewise.
54526 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54527 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54528 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54529 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54530 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54531 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54532 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54533 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54534 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54535 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54536 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54537 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54538 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54539 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54540 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54541 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54542 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54543 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54544 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54545 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54546 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54547
54548 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54549
54550 * stdio-common/_itoa.h: Moved to ...
54551 * sysdeps/generic/_itoa.h: Here.
54552
54553 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54554
54555 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54556 instead of "_itoa.h" and "_itowa.h".
54557 * stdio-common/vfprintf.: Likewise.
54558
54559 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54560
54561 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54562 <bits/wordsize.h>.
54563 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54564 (__signbit): Likwise.
54565 (llrintf): Likwise.
54566 (llrint): Likwise.
54567
54568 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54569
54570 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54571 __WORDSIZE != 64.
54572
54573 2012-03-20 Joseph Myers <joseph@codesourcery.com>
54574
54575 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54576 OVERFLOW_EXCEPTION_OK.
54577 * math/libm-test.inc ("Philosophy"): Update comment about
54578 exception testing.
54579 (OVERFLOW_EXCEPTION): Define.
54580 (OVERFLOW_EXCEPTION_OK): Likewise.
54581 (INVALID_EXCEPTION_OK): Renumber.
54582 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54583 (IGNORE_ZERO_INF_SIGN): Likewise.
54584 (test_exceptions): Handle FE_OVERFLOW.
54585 (exp10_test): Expect overflow exceptions.
54586 (exp2_test): Likewise.
54587 (expm1_test): Likewise.
54588 (nextafter_test): Likewise.
54589 (pow_test): Likewise.
54590 (scalbn_test): Likewise.
54591 (scalbln_test): Likewise.
54592
54593 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54594
54595 * sysdeps/x86_64/bits/atomic.h
54596 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54597 64bit integer.
54598 (atomic_exchange_acq): Likewise.
54599 (__arch_exchange_and_add_body): Likewise.
54600 (__arch_add_body): Likewise.
54601 (atomic_add_negative): Likewise.
54602 (atomic_add_zero): Likewise.
54603
54604 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54605
54606 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54607 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54608
54609 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54610
54611 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54612 Check __x86_64__ instead of __WORDSIZE.
54613
54614 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54615
54616 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54617
54618 2012-03-19 David S. Miller <davem@davemloft.net>
54619
54620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54621
54622 * sysdeps/sparc/fpu/fenv_private.h: New file.
54623 * sysdeps/sparc/fpu/math_private.h: Use it.
54624 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54625 Remove.
54626 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54627 (libc_feholdexcept_setroundl): Remove.
54628 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54629 Remove.
54630 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54631 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54632
54633 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54634
54635 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54636 int64_t instead of long int.
54637 (INSERT_WORDS64): Likwise.
54638
54639 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54640
54641 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54642 _Unwind_GetCFA return to _Unwind_Ptr first.
54643
54644 2012-03-19 Joseph Myers <joseph@codesourcery.com>
54645
54646 [BZ #13629]
54647 * math/s_clog.c: Include <float.h>.
54648 (__clog): Scale large or subnormal inputs.
54649 * math/s_clogf.c: Likewise.
54650 * math/s_clogl.c: Likewise.
54651 * math/s_clog10.c: Include <float.h>.
54652 (M_LOG10_2): Define.
54653 (__clog10): Scale large or subnormal inputs.
54654 * math/s_clog10f.c: Likewise.
54655 * math/s_clog10l.c: Likewise.
54656 * math/libm-test.inc (clog_test): Add more tests.
54657 (clog10_test): Likewise.
54658 * sysdeps/i386/fpu/libm-test-ulps: Update.
54659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54660
54661 [BZ #11451]
54662 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54663 x and y.
54664 * math/libm-test.inc (atan2_test): Add another test.
54665
54666 * Makerules (common-objdir-compile): Remove.
54667 * sysdeps/unix/Makefile (config-generated): Do not add
54668 $(unix-generated) to variable.
54669 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54670 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54671 Remove rule.
54672 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54673 Likewise.
54674 [generic bits/local_lim.h] (before-compile): Do not append to
54675 variable.
54676 [generic bits/local_lim.h] (common-generated): Likewise.
54677 [generic sys/param.h] (before-compile): Do not append to variable.
54678 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54679 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54680 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54681 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54682 include.
54683 [generic sys/param.h] (sys/param.h-includes): Remove variable.
54684 [generic sys/param.h] (sys/param.h-includes): Remove rule.
54685 [generic sys/param.h] ($(addprefix
54686 $(common-objpfx),$(sys/param.h-includes))): Likewise.
54687 [generic sys/param.h] (common-generated): Do not append to
54688 variable.
54689 [generic sys/param.h] (sysdep_headers): Likewise.
54690 [generic bits/errno.h] (before-compile): Do not append to
54691 variable.
54692 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54693 rule.
54694 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54695 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54696 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54697 [generic bits/errno.h] (common-generated): Do not append to
54698 variable.
54699 [generic bits/ioctls.h] (before-compile): Do not append to
54700 variable.
54701 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54702 rule.
54703 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54704 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54705 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54706 rule.
54707 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54708 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54709 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54710 [generic bits/ioctls.h] (common-generated): Do not append to
54711 variable.
54712 [generic sys/syscall.h] (syscall.h): Remove variable.
54713 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54714 rule.
54715 [generic sys/syscall.h] (before-compile): Do not append to
54716 variable.
54717 [generic sys/syscall.h] (common-generated): Likewise.
54718 * sysdeps/unix/errnos-tmpl.c: Remove file.
54719 * sysdeps/unix/errnos.awk: Likewise.
54720 * sysdeps/unix/ioctls-tmpl.c: Likewise.
54721 * sysdeps/unix/ioctls.awk: Likewise.
54722 * sysdeps/unix/mk-local_lim.c: Likewise.
54723 * sysdeps/unix/snarf-ioctls: Likewise.
54724
54725 2012-03-19 Richard Henderson <rth@twiddle.net>
54726
54727 * sysdeps/i386/fpu/fenv_private.h: New file.
54728 * sysdeps/i386/fpu/math_private.h: Use it.
54729 (math_opt_barrier, math_force_eval): Remove.
54730 (libc_feholdexcept_setround_53bit): Remove.
54731 (libc_feupdateenv_53bit): Remove.
54732 * sysdeps/x86_64/fpu/math_private.h: Likewise.
54733 (math_opt_barrier, math_force_eval): Remove.
54734 (libc_feholdexcept): Remove.
54735 (libc_feholdexcept_setround): Remove.
54736 (libc_fetestexcept, libc_fesetenv): Remove.
54737 (libc_feupdateenv_test): Remove.
54738 (libc_feupdateenv, libc_feholdsetround): Remove.
54739 (libc_feresetround): Remove.
54740
54741 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54742 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54743
54744 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54745 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54746 (libc_feupdateenv_testl): New.
54747 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54748 (libc_feupdateenv_testf): New.
54749 (libc_feupdateenv): Use libc_feupdateenv_test.
54750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54751 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54752
54753 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54754 (libc_feholdsetroundf, libc_feholdsetroundl): New.
54755 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54756 (libc_feresetround_noex): New.
54757 (libc_feresetround_noexf): New.
54758 (libc_feresetround_noexl): New.
54759 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54760 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54761 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54762 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54763 SET_RESTORE_ROUND.
54764 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54765 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54766 (__cos): Likewise.
54767 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54768 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54769 SET_RESTORE_ROUND_NOEX.
54770 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54771 SET_RESTORE_ROUND_NOEXF.
54772 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54773 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54774 (libc_feholdsetroundf): New.
54775 (libc_feresetround, libc_feresetroundf): New.
54776
54777 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54778 (libc_feholdexcept_setround_53bit): Convert from macro to function.
54779 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
54780
54781 * sysdeps/generic/math_private.h: Include <fenv.h>.
54782 (default_libc_feholdexcept): New.
54783 (default_libc_feholdexcept_setround): New.
54784 (default_libc_fesetenv, default_libc_feupdateenv): New.
54785 (libc_feholdexcept): Only define if undefined.
54786 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54787 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54788 (libc_feholdexcept_setroundl): Likewise.
54789 (libc_feholdexcept_setround_53bit): Likewise.
54790 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54791 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54792 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54793 (libc_feupdateenv_53bit): Likewise.
54794 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54795 (libc_feholdexcept): Convert from macro to inline function.
54796 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54797 (libc_fesetenv, libc_feupdateenv): Likewise.
54798
54799 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54800 not previously defined.
54801 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54802 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54803 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54804 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54805 * sysdeps/ieee754/flt-32/math_private.h: New file.
54806 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54807 math_private.h below SET_FLOAT_WORD.
54808 (__isnan, __isinf_ns, __finite): Remove.
54809 (__isnanf, __isinf_nsf, __finitef): Remove.
54810
54811 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
54812
54813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54814
54815 2012-03-17 David S. Miller <davem@davemloft.net>
54816
54817 [BZ #6471]
54818 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54819 for 2.16.
54820
54821 2012-03-16 David S. Miller <davem@davemloft.net>
54822
54823 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54824 warnings.
54825
54826 [BZ #6471]
54827 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54828 properly.
54829 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54830 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54831 sysdep_routines when subdir is sysvipc.
54832 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54833 __getshmlba helper.
54834
54835 * sysdeps/sparc/fpu/libm-test/ulps: Update.
54836
54837 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54838
54839 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54840 [__LP64__].
54841
54842 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54843
54844 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54845 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54846 (__lround): Renamed to ...
54847 (__llround): This. Replace long int with long long int.
54848 Define lround functions as aliases of llround functions.
54849 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54850
54851 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54852
54853 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54854 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
54855 adresses to uintptr_t. Replace "long int" and "unsigned long
54856 int" with "greg_t" on va_arg.
54857
54858 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54859
54860 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54861 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54862
54863 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54864 Move e_machine check before EI_CLASS check. Handle x32
54865 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54866 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54867 SKIP_EM_IA_64 and include
54868 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54869
54870 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54871 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54872 (add_system_dir): New macro.
54873
54874 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54875 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54876
54877 2012-03-16 Joseph Myers <joseph@codesourcery.com>
54878
54879 [BZ #2551]
54880 [BZ #2552]
54881 [BZ #2553]
54882 [BZ #2554]
54883 [BZ #2562]
54884 [BZ #2563]
54885 [BZ #2565]
54886 [BZ #2566]
54887 [BZ #2576]
54888 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54889 (y0): Likewise.
54890 * math/w_j0f.c (j0f): Likewise.
54891 (y0f): Likewise.
54892 * math/w_j0l.c (__j0l): Likewise.
54893 (__y0l): Likewise.
54894 * math/w_j1.c (j1): Likewise.
54895 (y1): Likewise.
54896 * math/w_j1f.c (j1f): Likewise.
54897 (y1f): Likewise.
54898 * math/w_j1l.c (__j1l): Likewise.
54899 (__y1l): Likewise.
54900 * math/w_jn.c (jn): Likewise.
54901 (yn): Likewise.
54902 * math/w_jnf.c (jnf): Likewise.
54903 (ynf): Likewise.
54904 * math/w_jnl.c (__jnl): Likewise.
54905 (__ynl): Likewise.
54906 * math/libm-test.inc (j0_test): Add more tests.
54907 (j1_test): Likewise.
54908 (jn_test): Likewise. Add trailing semicolon to existing test.
54909 (y0_test): Likewise.
54910 (y1_test): Likewise.
54911 * sysdeps/i386/fpu/libm-test-ulps: Update.
54912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54913
54914 [BZ #13851]
54915 [BZ #13854]
54916 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54917 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54918 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54919 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54920 (__tanl): Set errno for infinite argument.
54921 * sysdeps/i386/fpu/mptan.c: Remove.
54922 * sysdeps/i386/fpu/s_tan.S: Likewise.
54923 * sysdeps/i386/fpu/s_tanl.S: Likewise.
54924 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54925 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54926 * math/libm-test.inc (tan_test): Add more tests and enable more
54927 tests for double and long double.
54928 * sysdeps/i386/fpu/libm-test-ulps: Update.
54929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54930
54931 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
54932
54933 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54934 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54935
54936 2012-03-16 Roland McGrath <roland@hack.frob.com>
54937
54938 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54939 * configure.in: Use it for both main tree and add-ons.
54940 * configure: Regenerated.
54941
54942 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54943
54944 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54945
54946 2012-03-16 Joseph Myers <joseph@codesourcery.com>
54947
54948 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54949 in comment.
54950
54951 [BZ #13851]
54952 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54953 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54954 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54955 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54956 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54957 infinite argument.
54958 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54959 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54960 != 0 for prec == 2.
54961 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54962 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54963 * sysdeps/i386/fpu/s_cosl.S: Likewise.
54964 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54965 * sysdeps/i386/fpu/s_sinl.S: Likewise.
54966 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54967 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54968 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54969 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54970 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54971 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54972 * math/libm-test.inc (cos_test): Add more tests and enable more
54973 tests for long double.
54974 (sin_test): Likewise.
54975 (sincos_test): Likewise.
54976 * sysdeps/i386/fpu/libm-test-ulps: Update.
54977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54978
54979 2012-03-16 David S. Miller <davem@davemloft.net>
54980
54981 * sysdeps/sparc/fpu/math_private.h: New file.
54982
54983 2012-03-15 David S. Miller <davem@davemloft.net>
54984
54985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54986 file.
54987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54989 file.
54990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54995 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54996 sysdep routines.
54997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54998
54999 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55000 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55001
55002 * sysdeps/sparc/sparc-ifunc.h: New file.
55003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55004 sparc-ifunc.h
55005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55007 Likewise.
55008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55009 Likewise.
55010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55014 Likewise.
55015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55020 Likewise.
55021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55022 Likewise.
55023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55029 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55030 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55032 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55038 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55039 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55040 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55041 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55042 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55043 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55044 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55045 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55046 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55047
55048 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55049
55050 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55051 scaling.
55052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55053
55054 2012-03-15 Andreas Jaeger <aj@suse.de>
55055
55056 [BZ #13852]
55057 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55058 ieee754/flt-32 implementation for sin, cos and sincos.
55059 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55060 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55061 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55062 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55063 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55064 ieee754/flt-32 implementation for tan.
55065
55066 * math/libm-test.inc (cos_test): Enable some large input tests for
55067 float as well
55068 (sin_test): Likewise.
55069 (sincos_test): Likewise.
55070 (tan_test): Add tests for large input.
55071
55072 * sysdeps/i386/fpu/libm-test-ulps: Update.
55073
55074 2012-03-15 Andreas Jaeger <aj@suse.de>
55075
55076 [BZ #13658]
55077 * math/libm-test.inc (cos_test): Add more test cases.
55078 (sin_test): Likewise.
55079 (sincos_test): Likewise.
55080
55081 2012-03-15 Andreas Jaeger <aj@suse.de>
55082
55083 [BZ #13837]
55084 * math/libm-test.inc (cos_test): Add a test case for large input
55085 value.
55086 (sin_test): Likewise.
55087 (sincos_test): Likewise.
55088
55089 2012-03-15 Andreas Jaeger <aj@suse.de>
55090 Joseph Myers <joseph@codesourcery.com>
55091
55092 [BZ #13658]
55093 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55094 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55095 * sysdeps/i386/fpu/branred.c: Likewise.
55096 * sysdeps/i386/fpu/dosincos.c: Likewise.
55097 * sysdeps/i386/fpu/mpa.c: Likewise.
55098 * sysdeps/i386/fpu/s_cos.S: Likewise.
55099 * sysdeps/i386/fpu/s_sin.S: Likewise.
55100 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55101 * sysdeps/i386/fpu/sincos32.c: Likewise.
55102
55103 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55104 Define.
55105 (libc_feupdateenv_53bit): Define.
55106 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55107 Define.
55108 (libc_feupdateenv_53bit): Define.
55109
55110 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55111 53 bit (without extend i386 double precision).
55112
55113 * math/libm-test.inc (sincos_test): Add tests for large input.
55114 (sin): Likewise.
55115 (cos): Likewise.
55116
55117 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55118
55119 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55120
55121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55122
55123 2012-03-15 David S. Miller <davem@davemloft.net>
55124
55125 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55126 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55127 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55128 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55141 file.
55142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55144 file.
55145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55147 file.
55148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55150 file.
55151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55152 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55153 fmin/fmax sysdep routines.
55154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55155
55156 2012-03-14 David S. Miller <davem@davemloft.net>
55157
55158 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55161 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55162 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55163 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55164 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55165 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55168 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55169 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55178 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55179 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55180 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55181 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55182 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55183 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55184 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55185 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55186 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55187 routines.
55188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55189 file.
55190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55192 file.
55193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55195 file.
55196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55198 file.
55199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55201 file.
55202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55204 file.
55205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55206 file.
55207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55208 file.
55209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55210 file.
55211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55212 New file.
55213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55214 file.
55215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55216 file.
55217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55219 file.
55220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55222 file.
55223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55225 file.
55226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55228 VIS3 routines.
55229
55230 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55231 New file.
55232
55233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55234
55235 * sysdeps/sparc/configure.in: New file.
55236 * sysdeps/sparc/configure: Generate.
55237 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55238 * configure: Regenerate.
55239 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55240 * config.make.in (have-as-vis3): New.
55241 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55242 available use -Av9d instead of -Av9a.
55243 * sysdeps/sparc/sparc64/Makefile: Likewise.
55244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55246 New file.
55247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55248 file.
55249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55250 New file.
55251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55252 file.
55253 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55255 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55256 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55257 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55258
55259 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55260 fzeros/fnegs to load 0x80000000 into a float register instead of
55261 using the stack.
55262 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55263
55264 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55265
55266 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55267 bits/syscall.h.
55268 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55269 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55270 ($(inst_includedir)/bits/syscall.h): Remove rule.
55271 ($(objpfx)bits/syscall.d): Include instead of
55272 $(objpfx)syscall-list.d.
55273 (generated): Change syscall-list.h and syscall-list.d to
55274 bits/syscall.h and bits/syscall.d.
55275
55276 2012-03-14 Roland McGrath <roland@hack.frob.com>
55277
55278 [BZ #13846]
55279 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55280
55281 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55282
55283 [BZ #13841]
55284 * math/s_csqrt.c: Include <float.h>.
55285 (__csqrt): Scale large or subnormal inputs.
55286 * math/s_csqrtf.c: Likewise.
55287 * math/s_csqrtl.c: Likewise.
55288 * math/libm-test.inc (csqrt_test): Add more tests.
55289 * sysdeps/i386/fpu/libm-test-ulps: Update.
55290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55291
55292 [BZ #13840]
55293 * math/libm-test.inc (hypot_test): Add more tests.
55294
55295 2012-03-13 David S. Miller <davem@davemloft.net>
55296
55297 [BZ #13840]
55298 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55299 double-precision for the calculation instead of scaling.
55300
55301 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55302
55303 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55304 manipulate bits before adding and subtracting TWO52[sx].
55305 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55306 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55307 Likewise.
55308 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55309
55310 2012-03-13 David S. Miller <davem@davemloft.net>
55311
55312 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55313 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55314 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55315 rtld-global-offsets.h
55316 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55317
55318 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55319 large parameters.
55320
55321 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55322
55323 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55324 'err' in the ifdef scope in which it is actually used.
55325
55326 * nss/nss_db/db-init.c: Include string.h
55327
55328 2012-03-12 David S. Miller <davem@davemloft.net>
55329
55330 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55331 masking out of the most significant byte of random value used.
55332 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55333 Fix coding style in previous change.
55334
55335 * sysdeps/unix/sysv/linux/kernel-features.h
55336 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55337 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55338 expression.
55339 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55340 later.
55341
55342 2012-03-11 David S. Miller <davem@davemloft.net>
55343
55344 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55345 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55346 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55347 for 'resultvar' otherwise things get truncated on 64-bit.
55348
55349 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55350 Fix masking out of the most significant byte of random value used.
55351
55352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55353
55354 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55355
55356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55357
55358 2012-03-09 David S. Miller <davem@davemloft.net>
55359
55360 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55361 variables with appropriate CPP guards.
55362 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55363 from the frame pointer, not the stack pointer. Correct layout
55364 comments. Fix test on resulting framesize and the management of
55365 the outregs buffer for pltexit. Preserve floating point return
55366 values across _dl_call_pltexit call.
55367 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55368 framesize and the management of the outregs buffer for pltexit.
55369 Preserve floating point return values across _dl_call_pltexit
55370 call.
55371 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55372 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55373 (la_sparc64_gnu_pltexit): New functions.
55374 (print_exit): Fix format string for return register value.
55375
55376 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55377
55378 * sunrpc/Makefile (others): Add rpcgen.
55379 ($(objpfx)rpcgen): Remove special build rule and dependency on
55380 libc.
55381 * sunrpc/rpcgen.c: New file.
55382
55383 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55384
55385 [BZ #13673]
55386 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55387 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55388 * sysdeps/i386/crti.S: Likewise.
55389 * sysdeps/i386/crtn.S: Likewise.
55390 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55391 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55392 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55393 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55394 * sysdeps/sh/crti.S: Likewise.
55395 * sysdeps/sh/crtn.S: Likewise.
55396 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55397
55398 [BZ #13673]
55399 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55400 with URL.
55401 * locale/programs/locfile-kw.gperf: Likewise.
55402 * locale/programs/charmap-kw.h: Regenerated.
55403 * locale/programs/locfile-kw.h: Likewise.
55404
55405 [BZ #13673]
55406 * intl/plural.y: Replace FSF snail mail address with URL.
55407 * intl/plural.c: Regenerated.
55408
55409 2012-03-09 Richard Henderson <rth@twiddle.net>
55410
55411 * include/math_private.h: Remove file.
55412 * math/math_private.h: Move file ...
55413 * sysdeps/generic/math_private.h: ... here.
55414
55415 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55416 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55417 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55418
55419 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55420 and <math_private.h>.
55421 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55422 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55423 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55424 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55425 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55426 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55427 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55428 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55429 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55430 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55431 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55432 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55433 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55434 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55435 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55436 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55437 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55438 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55439 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55440 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55441 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55442 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55443 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55445 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55446 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55447 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55448 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55449 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55450 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55451 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55452 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55453 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55454 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55455 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55456 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55457 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55458 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55459 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55460 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55461 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55462 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55463 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55464 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55465 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55466 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55467 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55468 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55469 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55470 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55471 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55472 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55473 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55474 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55475 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55476 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55477 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55478 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55479 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55480 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55481 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55482 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55483 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55484 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55485 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55486 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55487 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55488 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55489 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55490 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55491 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55492 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55493 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55494 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55495 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55496 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55497 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55498 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55499 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55500 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55501 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55502 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55503 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55504 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55505 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55506 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55508 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55509 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55510 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55511 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55512 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55513 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55514 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55515 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55516 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55517 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55518 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55519 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55520 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55521 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55522 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55523 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55524 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55525 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55526 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55527 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55528 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55529 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55530 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55531 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55532 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55533 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55534 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55535 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55536 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55537 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55538 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55539 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55540 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55541 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55542 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55543 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55544 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55545 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55546 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55547 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55548 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55549 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55550 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55551 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55552 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55553 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55554 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55555 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55556 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55557 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55558 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55559 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55560 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55561 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55562 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55563 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55564 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55565 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55566 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55567 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55568 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55569 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55570 * sysdeps/ieee754/k_standard.c: Likewise.
55571 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55572 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55573 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55574 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55575 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55576 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55577 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55578 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55579 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55580 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55581 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55582 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55583 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55584 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55585 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55586 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55587 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55588 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55589 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55590 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55591 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55592 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55593 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55594 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55595 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55596 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55597 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55598 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55599 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55600 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55601 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55602 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55603 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55604 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55605 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55606 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55607 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55608 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55609 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55610 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55611 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55612 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55613 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55614 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55615 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55616 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55617 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55618 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55619 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55620 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55621 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55622 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55623 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55624 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55625 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55626 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55627 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55628 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55629 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55630 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55631 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55632 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55633 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55634 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55635 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55636 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55637 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55638 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55639 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55640 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55641 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55642 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55643 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55644 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55645 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55646 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55647 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55648 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55649 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55650 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55651 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55652 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55653 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55654 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55655 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55656 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55657 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55658 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55659 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55660 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55661 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55662 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55663 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55664 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55665 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55666 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55667 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55668 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55669 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55670 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55671 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55672 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55673 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55674 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55675 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55676 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55677 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55678 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55679 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55680 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55681 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55682 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55683 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55684 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55685 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55686 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55687 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55688 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55689 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55690 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55691 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55692 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55693 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55694 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55695 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55696 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55697 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55698 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55699 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55700 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55701 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55702 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55703 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55704 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55705 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55706 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55707 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55708 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55709 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55710 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55711 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55712 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55713 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55714 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55715 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55716 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55717 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55718 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55719 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55720 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55721 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55722 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55723 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55724 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55725 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55726 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55727 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55728 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55729 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55730 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55731 * sysdeps/ieee754/s_lib_version.c: Likewise.
55732 * sysdeps/ieee754/s_matherr.c: Likewise.
55733 * sysdeps/ieee754/s_signgam.c: Likewise.
55734 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55735 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55736 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55737 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55738 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55739 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55740 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55741 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55742 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55743 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55744 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55745 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55746 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55747 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55748 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55749 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55750 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55751 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55752 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55753 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55754 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55755
55756 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55757
55758 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55759 * sunrpc/rpc_main.c: Likewise.
55760 * sunrpc/rpc_svcout.c: Likewise.
55761
55762 2012-03-09 David S. Miller <davem@davemloft.net>
55763
55764 * include/math_private.h: New file.
55765
55766 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55767
55768 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55769 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55770 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55771 from <bits/socket_type.h>.
55772 (enum __socket_type): Don't define here.
55773 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55774 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55775 bits/socket_type.h.
55776
55777 [BZ #13566]
55778 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55779 checking __USE_GNU.
55780
55781 * Makerules ($(inst_includedir)/%.h): New rule.
55782 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55783 (install-others): Remove variable setting.
55784 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55785
55786 2012-03-08 Richard Henderson <rth@twiddle.net>
55787
55788 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55789 from macro to inline function; merge with the
55790 !__LIBC_INTERNAL_MATH_INLINES version.
55791 (__ieee754_sqrtf): Likewise.
55792
55793 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55794 to inline function.
55795 (__rintf, __floor, __floorf): Likewise.
55796
55797 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55798 macro to inline function.
55799 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55800
55801 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55802 not <math/math_private.h>.
55803
55804 2012-03-08 David S. Miller <davem@davemloft.net>
55805
55806 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55807 copyright year.
55808 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55809
55810 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
55811
55812 * resolv/gai_misc.c (handle_requests): Fix struct timespec
55813 normalization.
55814 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55815 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55816
55817 2012-03-08 Ulrich Drepper <drepper@gmail.com>
55818
55819 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
55820 be defined individually, they must be defined as a block. Define
55821 S for printing a string instead of hidint the different by using a
55822 macro for adding the 'l'.
55823 * stdio-common/tst-fphex-wide.c: Adjust.
55824
55825 2012-03-07 Marek Polacek <polacek@redhat.com>
55826
55827 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55828
55829 2012-03-08 Marek Polacek <polacek@redhat.com>
55830
55831 [BZ #13806]
55832 * stdio-common/Makefile (tests): Add tst-fphex-wide.
55833 * stdio-common/tst-fphex.c: Define a few macros to make the
55834 test reusable. Use them.
55835 * stdio-common/tst-fphex-wide.c: New file.
55836
55837 2012-03-08 Joseph Myers <joseph@codesourcery.com>
55838
55839 [BZ #6911]
55840 * manual/macros.texi (gnusystems): New macro.
55841 (nongnusystems): Likewise.
55842 (gnulinuxhurdsystems): Likewise.
55843 (gnuhurdsystems): Likewise..
55844 (gnulinuxsystems): Likewise.
55845 * manual/charset.texi: Use new macros or @theglibc{} to refer to
55846 variants of the GNU system, not "GNU system".
55847 * manual/conf.texi: Likewise.
55848 * manual/errno.texi: Likewise. Update example of errno macro
55849 expansion.
55850 * manual/filesys.texi: Likewise.
55851 (getumask): Document as specific to GNU/Hurd.
55852 * manual/install.texi: Likewise. Reword some references to
55853 GNU/Linux.
55854 * manual/intro.texi: Likewise.
55855 * manual/io.texi: Likewise.
55856 (File Name Portability): Detail which constraints are inapplicable
55857 to all GNU systems and which are only inapplicable to GNU/Hurd.
55858 * manual/job.texi: Likewise.
55859 * manual/llio.texi: Likewise.
55860 (O_NOCTTY): Document as present on GNU/Linux.
55861 * manual/maint.texi: Likewise.
55862 * manual/memory.texi: Likewise.
55863 * manual/pattern.texi: Likewise.
55864 * manual/pipe.texi: Likewise.
55865 * manual/process.texi: Likewise.
55866 * manual/resource.texi: Likewise.
55867 (RUSAGE_CHILDREN): Remove statement about specifying a particular
55868 child on GNU/Hurd.
55869 * manual/setjmp.texi: Likewise.
55870 * manual/signal.texi: Likewise.
55871 * manual/startup.texi: Likewise.
55872 * manual/stdio.texi: Likewise.
55873 * manual/terminal.texi: Likewise.
55874 (ONLCR): Document as POSIX.
55875 (OXTABS): Document availability on GNU/Linux as XTABS.
55876 (ONOEOT): Document availability separately from other bits.
55877 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55878 * manual/time.texi: Likewise.
55879 * manual/users.texi: Likewise.
55880 * INSTALL: Regenerated.
55881 * sysdeps/gnu/errlist.c: Regenerated.
55882
55883 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55884 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55885 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
55886 puts.
55887 * configure: Regenerated.
55888
55889 2012-03-07 Joseph Myers <joseph@codesourcery.com>
55890
55891 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55892 default includes instead of AC_HEADER_CHECK.
55893 * sysdeps/i386/configure: Regenerated.
55894
55895 [BZ #10716]
55896 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55897 * math/s_cacoshf.c (__cacoshf): Likewise.
55898 * math/s_cacoshl.c (__cacoshl): Likewise.
55899 * math/s_casinh.c (__casinh): Set signs of result from argument.
55900 * math/s_casinhf.c (__casinhf): Likewise.
55901 * math/s_casinhl.c (__casinhl): Likewise.
55902 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55903 (casinh_test): Add more tests.
55904 * sysdeps/i386/fpu/libm-test-ulps: Update.
55905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55906
55907 2012-03-07 Ulrich Drepper <drepper@gmail.com>
55908
55909 * po/zh_TW.po: Update from translation team.
55910
55911 * login/Makefile (distribute): Remove variable.
55912 * catgets/Makefile: Likewise.
55913 * mach/Makefile: Likewise.
55914 * malloc/Makefile: Likewise.
55915 * misc/Makefile: Likewise.
55916 * iconv/Makefile: Likewise.
55917 * nscd/Makefile: Likewise.
55918 * hurd/Makefile: Likewise.
55919 * manual/Makefile: Likewise.
55920 * locale/Makefile: Likewise.
55921 * intl/Makefile: Likewise.
55922 * conform/Makefile: Likewise.
55923 * nss/Makefile: Likewise.
55924 * time/Makefile: Likewise.
55925 * soft-fp/Makefile: Likewise.
55926 * dirent/Makefile: Likewise.
55927 * gmon/Makefile: Likewise.
55928 * po/Makefile: Likewise.
55929 * rt/Makefile: Likewise.
55930 * socket/Makefile: Likewise.
55931 * math/Makefile: Likewise.
55932 * signal/Makefile: Likewise.
55933 * debug/Makefile: Likewise.
55934 * elf/Makefile: Likewise.
55935 * timezone/Makefile: Likewise.
55936 * stdlib/Makefile: Likewise.
55937 * iconvdata/Makefile: Likewise.
55938 * sunrpc/Makefile: Likewise.
55939 * io/Makefile: Likewise.
55940 * argp/Makefile: Likewise.
55941 * inet/Makefile: Likewise.
55942 * hesiod/Makefile: Likewise.
55943 * grp/Makefile: Likewise.
55944 * csu/Makefile: Likewise.
55945 * wctype/Makefile: Likewise.
55946 * crypt/Makefile: Likewise.
55947 * libio/Makefile: Likewise.
55948 * string/Makefile: Likewise.
55949 * nis/Makefile: Likewise.
55950 * resolv/Makefile: Likewise.
55951 * stdio-common/Makefile: Likewise.
55952 * wcsmbs/Makefile: Likewise.
55953 * dlfcn/Makefile: Likewise.
55954 * posix/Makefile: Likewise.
55955
55956 [BZ #6959]
55957 * timezone/Makefile: Don't install timezone files, just the programs
55958 and scripts.
55959
55960 2012-03-06 Ulrich Drepper <drepper@gmail.com>
55961
55962 * nss/databases.def: Add missing gshadow entry.
55963
55964 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
55965
55966 2012-03-06 Marek Polacek <polacek@redhat.com>
55967
55968 [BZ #13726]
55969 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55970 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55971 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55972 * stdio-common/tst-long-dbl-fphex.c: New file.
55973
55974 2012-03-06 David S. Miller <davem@davemloft.net>
55975
55976 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55977 (set_obp_int): New function.
55978 (get_obp_int): New function.
55979 (__get_clockfreq_via_dev_openprom): Likewise.
55980 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55981 Avoid unused variable warnings on 'val' and use builtin_expect.
55982 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55983 __builtin_expect.
55984 (INLINE_CLONE_SYSCALL): Likewise.
55985
55986 2012-03-05 David S. Miller <davem@davemloft.net>
55987
55988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55989
55990 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
55991
55992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55993
55994 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55995 only for |x| >= 40.
55996 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55997
55998 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
55999
56000 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56001 Replace gettimeofday with __vdso_gettimeofday.
56002
56003 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56004 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56005 __vdso_clock_gettime and __vdso_getcpu.
56006
56007 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56008 time with __vdso_time.
56009
56010 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56011
56012 * manual/lang.texi (size_t): Note types to which size_t may be
56013 equivalent with the GNU C Library, but do not describe when
56014 differences between them are significant.
56015
56016 2012-03-05 Andreas Jaeger <aj@suse.de>
56017
56018 * sysdeps/i386/fpu/libm-test-ulps: Update.
56019
56020 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56021
56022 [BZ #3976]
56023 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56024 (__ieee754_pow): Save and restore rounding mode and use
56025 round-to-nearest for main computations.
56026 * math/libm-test.inc (pow_test_tonearest): New function.
56027 (pow_test_towardzero): Likewise.
56028 (pow_test_downward): Likewise.
56029 (pow_test_upward): Likewise.
56030 (main): Call the new functions.
56031 * sysdeps/i386/fpu/libm-test-ulps: Update.
56032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56033
56034 [BZ #3976]
56035 * math/libm-test.inc (cosh_test_tonearest): New function.
56036 (cosh_test_towardzero): Likewise.
56037 (cosh_test_downward): Likewise.
56038 (cosh_test_upward): Likewise.
56039 (sinh_test_tonearest): Likewise.
56040 (sinh_test_towardzero): Likewise.
56041 (sinh_test_downward): Likewise.
56042 (sinh_test_upward): Likewise.
56043 (main): Call the new functions.
56044 * sysdeps/i386/fpu/libm-test-ulps: Update.
56045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56046
56047 2012-03-05 Tom de Vries <tom@codesourcery.com>
56048
56049 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56050 default stack guard is set in last bytes.
56051 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56052
56053 2012-03-05 Kees Cook <keescook@chromium.org>
56054
56055 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56056
56057 [BZ #13656]
56058 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56059 possibly allocate from heap instead of stack.
56060 * stdio-common/bug-vfprintf-nargs.c: New file.
56061 * stdio-common/Makefile (tests): Add nargs overflow test.
56062
56063 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56064
56065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56066
56067 2012-03-03 Marek Polacek <polacek@redhat.com>
56068
56069 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56070 * math/math_private.h: Likewise.
56071 * stdlib/tst-strtod.c: Likewise.
56072 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56073 * sysdeps/x86_64/bits/atomic.h: Likewise.
56074
56075 2012-03-02 David S. Miller <davem@davemloft.net>
56076
56077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56081 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56082 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56083 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56084 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56085
56086 2012-03-02 Roland McGrath <roland@hack.frob.com>
56087
56088 [BZ #13792]
56089 * manual/examples/README: New file, says the example source files
56090 can be used under GPL>=2.
56091 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56092 line containing just "*/".
56093 * manual/examples/add.c: Add copyright header (GPL>=2).
56094 * manual/examples/argp-ex1.c: Likewise.
56095 * manual/examples/argp-ex2.c: Likewise.
56096 * manual/examples/argp-ex3.c: Likewise.
56097 * manual/examples/argp-ex4.c: Likewise.
56098 * manual/examples/atexit.c: Likewise.
56099 * manual/examples/db.c: Likewise.
56100 * manual/examples/dir.c: Likewise.
56101 * manual/examples/dir2.c: Likewise.
56102 * manual/examples/execinfo.c: Likewise.
56103 * manual/examples/filecli.c: Likewise.
56104 * manual/examples/filesrv.c: Likewise.
56105 * manual/examples/fmtmsgexpl.c: Likewise.
56106 * manual/examples/genpass.c: Likewise.
56107 * manual/examples/inetcli.c: Likewise.
56108 * manual/examples/inetsrv.c: Likewise.
56109 * manual/examples/isockad.c: Likewise.
56110 * manual/examples/longopt.c: Likewise.
56111 * manual/examples/memopen.c: Likewise.
56112 * manual/examples/memstrm.c: Likewise.
56113 * manual/examples/mkfsock.c: Likewise.
56114 * manual/examples/mkisock.c: Likewise.
56115 * manual/examples/mygetpass.c: Likewise.
56116 * manual/examples/pipe.c: Likewise.
56117 * manual/examples/popen.c: Likewise.
56118 * manual/examples/rprintf.c: Likewise.
56119 * manual/examples/search.c: Likewise.
56120 * manual/examples/select.c: Likewise.
56121 * manual/examples/setjmp.c: Likewise.
56122 * manual/examples/sigh1.c: Likewise.
56123 * manual/examples/sigusr.c: Likewise.
56124 * manual/examples/stpcpy.c: Likewise.
56125 * manual/examples/strdupa.c: Likewise.
56126 * manual/examples/strftim.c: Likewise.
56127 * manual/examples/strncat.c: Likewise.
56128 * manual/examples/subopt.c: Likewise.
56129 * manual/examples/swapcontext.c: Likewise.
56130 * manual/examples/termios.c: Likewise.
56131 * manual/examples/testopt.c: Likewise.
56132 * manual/examples/testpass.c: Likewise.
56133 * manual/examples/timeval_subtract.c: Likewise.
56134
56135 [BZ #13792]
56136 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56137 function to ...
56138 * manual/timeval_subtract.c.texi: ... here, new file.
56139
56140 2012-03-02 David S. Miller <davem@davemloft.net>
56141
56142 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56143
56144 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56145
56146 [BZ #3976]
56147 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56148 (__sin): Save and restore rounding mode and use round-to-nearest
56149 for all computations.
56150 (__cos): Save and restore rounding mode and use round-to-nearest
56151 for all computations.
56152 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56153 <fenv.h>.
56154 (tan): Save and restore rounding mode and use round-to-nearest for
56155 all computations.
56156 * math/libm-test.inc (cos_test_tonearest): New function.
56157 (cos_test_towardzero): Likewise.
56158 (cos_test_downward): Likewise.
56159 (cos_test_upward): Likewise.
56160 (sin_test_tonearest): Likewise.
56161 (sin_test_towardzero): Likewise.
56162 (sin_test_downward): Likewise.
56163 (sin_test_upward): Likewise.
56164 (tan_test_tonearest): Likewise.
56165 (tan_test_towardzero): Likewise.
56166 (tan_test_downward): Likewise.
56167 (tan_test_upward): Likewise.
56168 (main): Call the new functions.
56169 * sysdeps/i386/fpu/libm-test-ulps: Update.
56170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56171
56172 [BZ #10135]
56173 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56174 small n, then large n, before computing and testing k+n.
56175 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56176 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56177 Likewise.
56178 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56179 Likewise.
56180 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56181 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56182 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56183 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56184 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56185 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56186 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56187 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56188 * math/libm-test.inc (scalbn_test): Add more tests.
56189 (scalbln_test): Likewise.
56190
56191 * manual/filesys.texi (mode_t): Describe constraints on size and
56192 signedness, not exact equivalence to a particular type.
56193 (ino_t): Likewise.
56194 (ino64_t): Likewise.
56195 (dev_t): Likewise.
56196 (nlink_t): Likewise.
56197 (blkcnt_t): Likewise.
56198 (blkcnt64_t): Likewise.
56199 * manual/llio.texi (off_t): Likewise.
56200
56201 [BZ #3976]
56202 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56203 (__ieee754_exp): Save and restore rounding mode and use
56204 round-to-nearest for all computations.
56205 * math/libm-test.inc (exp_test_tonearest): New function.
56206 (exp_test_towardzero): Likewise.
56207 (exp_test_downward): Likewise.
56208 (exp_test_upward): Likewise.
56209 (main): Call the new functions.
56210 * sysdeps/i386/fpu/libm-test-ulps: Update.
56211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56212
56213 2012-03-01 Chris Demetriou <cgd@google.com>
56214
56215 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56216 have predictable order.
56217
56218 2012-03-01 David S. Miller <davem@davemloft.net>
56219
56220 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56221
56222 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56223 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56224 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56225 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56226
56227 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56228 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56229 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56231 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56232 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56233 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56234 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56235 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56236
56237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56238
56239 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56240 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56241 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56242
56243 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56244 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56245 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56246 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56247 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56248 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56249 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56250 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56251 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56252 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56253 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56254 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56256 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56257 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56259 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56260 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56261 * sysdeps/sparc/elf/configure: Regenerated.
56262
56263 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56264
56265 * configure.in (AS, LD): Require binutils 2.20 or later.
56266 * configure: Regenerated.
56267 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56268 as required minimum version.
56269 * INSTALL: Regenerated.
56270
56271 [BZ #2541]
56272 [BZ #4108]
56273 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56274 before squaring exponent.
56275 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56276 bottom long double and 27 bits of top long double before squaring
56277 exponent.
56278 * math/libm-test.inc (erfc_test): Add more tests.
56279 * sysdeps/i386/fpu/libm-test-ulps: Update.
56280 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56282
56283 2012-03-01 Kai Tietz <ktietz@redhat.com>
56284
56285 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56286 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56287 containing bit-fields.
56288 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56289 * soft-fp/single.h (_FP_UNION_S): Likewise.
56290 * soft-fp/double.h (_FP_UNION_D): Likewise.
56291
56292 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56293
56294 [BZ #13786]
56295 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56296 not include ../strcmp.S.
56297 [USE_AS_STRNCASECMP_L]: Likewise.
56298 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56299 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56300 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56301 (__strncasecmp_l_ia32): Define as alias to
56302 __strncasecmp_l_nonascii.
56303
56304 [BZ #5794]
56305 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56306 * sysdeps/i386/fpu/libm-test-ulps: Update.
56307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56308
56309 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56311
56312 2012-02-29 Jeff Law <law@redhat.com>
56313
56314 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56315 out of bounds read.
56316
56317 2012-02-29 Marek Polacek <polacek@redhat.com>
56318
56319 [BZ #13706]
56320 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56321 * elf/Makefile: Add rules to run tst-unused-dep.out.
56322
56323 2012-02-28 David S. Miller <davem@davemloft.net>
56324
56325 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56326 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56327 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56328 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56329 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56330 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56331
56332 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56333
56334 * math/libm-test.inc (llround_test): Move one test from
56335 lround_test. Use TEST_f_L in moved test.
56336 (lround_test): Move misplaced test to llround_test. Add testcase
56337 from bug 2561.
56338
56339 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56340
56341 * sysdeps/x86_64/fpu/e_expf.S: New file.
56342 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56343
56344 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56345
56346 [BZ #13637]
56347 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56348 of remain_len that may cause incomplete multi-byte character and
56349 false match.
56350 * posix/bug-regex33.c: New file.
56351 * posix/Makefile (tests): Add bug-regex33.
56352
56353 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56354
56355 * manual/macros.texi: New file.
56356 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56357 * manual/libc.texinfo: Include macros.texi.
56358 * manual/creatute.texi: Likewise.
56359 * manual/install.texi: Likewise.
56360 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56361 @glibcadj{} in references to the GNU C Library.
56362 * manual/charset.texi: Likewise.
56363 * manual/conf.texi: Likewise.
56364 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56365 when not using those macros.
56366 * manual/creature.texi: Likewise.
56367 * manual/crypt.texi: Likewise.
56368 * manual/errno.texi: Likewise.
56369 * manual/filesys.texi: Likewise.
56370 * manual/header.texi: Likewise.
56371 * manual/install.texi: Likewise.
56372 * manual/intro.texi: Likewise.
56373 * manual/io.texi: Likewise.
56374 * manual/job.texi: Likewise.
56375 * manual/lang.texi: Likewise.
56376 * manual/libc.texiinfo: Likewise.
56377 * manual/llio.texi: Likewise.
56378 * manual/locale.texi: Likewise.
56379 * manual/maint.texi: Likewise.
56380 * manual/math.texi: Likewise.
56381 * manual/memory.texi: Likewise.
56382 * manual/message.texi: Likewise.
56383 * manual/nss.texi: Likewise.
56384 * manual/pattern.texi: Likewise.
56385 * manual/process.texi: Likewise.
56386 * manual/resource.texi: Likewise.
56387 * manual/search.texi: Likewise.
56388 * manual/setjmp.texi: Likewise.
56389 * manual/signal.texi: Likewise.
56390 * manual/socket.texi: Likewise.
56391 * manual/startup.texi: Likewise.
56392 * manual/stdio.texi: Likewise.
56393 * manual/string.texi: Likewise.
56394 * manual/sysinfo.texi: Likewise.
56395 * manual/syslog.texi: Likewise.
56396 * manual/terminal.texi: Likewise.
56397 * manual/time.texi: Likewise.
56398 * manual/users.texi: Likewise.
56399 * INSTALL: Regenerated.
56400 * NOTES: Regenerated.
56401 * sysdeps/gnu/errlist.c: Regenerated.
56402
56403 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56404
56405 * include/dirent.h: Include <dirstream.h> before
56406 <dirent/dirent.h>.
56407
56408 2012-02-28 David S. Miller <davem@davemloft.net>
56409
56410 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56411 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56412 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56413 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56414
56415 2012-02-27 David S. Miller <davem@davemloft.net>
56416
56417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56419 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56420 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56421
56422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56423 frame pointer instead of stack pointer relative arg slot.
56424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56425 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56426 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56427
56428 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56429
56430 [BZ #3992]
56431 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56432
56433 2012-02-27 David S. Miller <davem@davemloft.net>
56434
56435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56439 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56440 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56441 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56442 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56443
56444 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56445
56446 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56447 later. Allow versions 5-9.
56448 * configure: Regenerated.
56449 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56450 required minimum version and 4.6 as recommended version. Do not
56451 mention bugs in GCC 2.7 and 2.8.
56452 * INSTALL: Regenerated.
56453
56454 2012-02-27 David S. Miller <davem@davemloft.net>
56455
56456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56460 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56461 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56462 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56463 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56464
56465 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56466 manipulate bits before adding and subtracting TWO112[sx].
56467 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56468
56469 2012-02-27 Roland McGrath <roland@hack.frob.com>
56470
56471 [BZ #13775]
56472 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56473 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56474 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56475 being in POSIX, because they are in 1003.1-2008.
56476
56477 * rt/tst-aio.c: Include <fcntl.h>.
56478 * rt/tst-aio7.c: Likewise.
56479 * rt/tst-aio64.c: Likewise.
56480
56481 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56482
56483 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56484
56485 * manual/install.texi (--with-headers): Describe headers as
56486 interface headers, not private headers.
56487 (Specific advice for GNU/Linux systems): Describe use of headers
56488 from "make headers_install", not private headers from older
56489 kernels.
56490 * INSTALL: Regenerated.
56491 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56492 Change to 2.6.19.
56493 * sysdeps/unix/sysv/linux/configure: Regenerated.
56494
56495 * manual/llio.texi (fclean): Remove documentation.
56496
56497 * manual/Makefile (libc-texi-generated): New variable. Include
56498 version.texi.
56499 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56500 $(libc-texi-generated), not duplicated list of files.
56501 (version.texi, stamp-version): New rules.
56502 (realclean): Remove $(libc-texi-generated), not individual files
56503 from that list. Do not remove dir-add.texinfo.
56504 * manual/libc.texinfo: Comment out uses of edition numbers and
56505 references to printed manual. Remove last-updated dates.
56506 (EDITION): Comment out.
56507 (ISBN): Likewise.
56508 (VERSION, UPDATED): Remove.
56509 (version.texi): Include.
56510
56511 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56512
56513 * sysdeps/posix/spawni.c: Include <signal.h>.
56514 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56515 * sysdeps/pthread/aio_fsync.c: Likewise.
56516
56517 2012-02-26 Ulrich Drepper <drepper@gmail.com>
56518
56519 * conform/Makefile (tests): Run only when not cross-compiling and
56520 when fast-check is not defined.
56521
56522 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56523 * conform/data/limits.h-data: Fixes for POSIX2008.
56524 * conform/run-conformtest.sh: Run all tests.
56525 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56526 headers.
56527 * include/bits/dlfcn.h: Likewise.
56528 * include/langinfo.h: Likewise.
56529 * include/monetary.h: Likewise.
56530 * include/sys/poll.h: Likewise.
56531
56532 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56533 for __USE_GNU.
56534 * posix/spawn.h: Define __need_sigset_t.
56535 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56536 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56537 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
56538 to get sigevent_t only.
56539 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56540 only for __USE_GNU.
56541 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56542 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56543 process_vm_writev only for __USE_GNU.
56544 * termios/termios.h: Declare tcgetsid also for POSIX2008.
56545
56546 * conform/Makefile: For now ignore errors from run-conformtest.
56547 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
56548 POSIX to avoid namespace pollution. Don't prepend headers.
56549 * conform/data/aio.h-data: Fixes for POSIX testing.
56550 * conform/data/fcntl.h-data: Likewise.
56551 * conform/data/glob.h-data: Likewise.
56552 * conform/data/grp.h-data: Likewise.
56553 * conform/data/pthread.h-data: Likewise.
56554 * conform/data/pwd.h-data: Likewise.
56555 * conform/data/signal.h-data: Likewise.
56556 * conform/data/spawn.h-data: Likewise.
56557 * conform/data/stdio.h-data: Likewise.
56558 * conform/data/stdlib.h-data: Likewise.
56559 * conform/data/stropts.h-data: Likewise.
56560 * conform/data/sys/mman.h-data: Likewise.
56561 * conform/data/sys/stat.h-data: Likewise.
56562 * conform/data/sys/types.h-data: Likewise.
56563 * conform/data/sys/wait.h-data: Likewise.
56564 * conform/data/time.h-data: Likewise.
56565 * conform/data/unistd.h-data: Likewise.
56566 * conform/data/utime.h-data: Likewise.
56567
56568 * io/sys/stat.h: fchmod was always in POSIX.
56569 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56570 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56571 * rt/aio.h: Define __need_timespec before including <time.h>.
56572 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56573 struct. Add forward declaration of pthread_attr_t and use it in
56574 sigevent.
56575 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56576 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56577 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56578 always remove CLK_TCK definition.
56579
56580 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
56581
56582 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56583
56584 2012-02-25 Ulrich Drepper <drepper@gmail.com>
56585
56586 * conform/run-conformtest.sh: New file.
56587 * conform/Makefile: Run run-conformtest for tests.
56588 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
56589 support.
56590
56591 * conform/data/uchar.h-data: New file.
56592 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56593 * conform/data/arpa/inet.h-data: Likewise.
56594 * conform/data/assert.h-data: Likewise.
56595 * conform/data/complex.h-data: Likewise.
56596 * conform/data/cpio.h-data: Likewise.
56597 * conform/data/ctype.h-data: Likewise.
56598 * conform/data/dirent.h-data: Likewise.
56599 * conform/data/dlfcn.h-data: Likewise.
56600 * conform/data/errno.h-data: Likewise.
56601 * conform/data/fcntl.h-data: Likewise.
56602 * conform/data/float.h-data: Likewise.
56603 * conform/data/fmtmsg.h-data: Likewise.
56604 * conform/data/fnmatch.h-data: Likewise.
56605 * conform/data/ftw.h-data: Likewise.
56606 * conform/data/glob.h-data: Likewise.
56607 * conform/data/grp.h-data: Likewise.
56608 * conform/data/iconv.h-data: Likewise.
56609 * conform/data/inttypes.h-data: Likewise.
56610 * conform/data/langinfo.h-data: Likewise.
56611 * conform/data/libgen.h-data: Likewise.
56612 * conform/data/limits.h-data: Likewise.
56613 * conform/data/locale.h-data: Likewise.
56614 * conform/data/math.h-data: Likewise.
56615 * conform/data/monetary.h-data: Likewise.
56616 * conform/data/mqueue.h-data: Likewise.
56617 * conform/data/ndbm.h-data: Likewise.
56618 * conform/data/net/if.h-data: Likewise.
56619 * conform/data/netdb.h-data: Likewise.
56620 * conform/data/netinet/in.h-data: Likewise.
56621 * conform/data/nl_types.h-data: Likewise.
56622 * conform/data/poll.h-data: Likewise.
56623 * conform/data/pthread.h-data: Likewise.
56624 * conform/data/pwd.h-data: Likewise.
56625 * conform/data/regex.h-data: Likewise.
56626 * conform/data/sched.h-data: Likewise.
56627 * conform/data/search.h-data: Likewise.
56628 * conform/data/semaphore.h-data: Likewise.
56629 * conform/data/setjmp.h-data: Likewise.
56630 * conform/data/signal.h-data: Likewise.
56631 * conform/data/spawn.h-data: Likewise.
56632 * conform/data/stdarg.h-data: Likewise.
56633 * conform/data/stdio.h-data: Likewise.
56634 * conform/data/stdlib.h-data: Likewise.
56635 * conform/data/string.h-data: Likewise.
56636 * conform/data/strings.h-data: Likewise.
56637 * conform/data/stropts.h-data: Likewise.
56638 * conform/data/sys/ipc.h-data: Likewise.
56639 * conform/data/sys/mman.h-data: Likewise.
56640 * conform/data/sys/msg.h-data: Likewise.
56641 * conform/data/sys/resource.h-data: Likewise.
56642 * conform/data/sys/select.h-data: Likewise.
56643 * conform/data/sys/sem.h-data: Likewise.
56644 * conform/data/sys/shm.h-data: Likewise.
56645 * conform/data/sys/socket.h-data: Likewise.
56646 * conform/data/sys/stat.h-data: Likewise.
56647 * conform/data/sys/statvfs.h-data: Likewise.
56648 * conform/data/sys/time.h-data: Likewise.
56649 * conform/data/sys/timeb.h-data: Likewise.
56650 * conform/data/sys/times.h-data: Likewise.
56651 * conform/data/sys/types.h-data: Likewise.
56652 * conform/data/sys/uio.h-data: Likewise.
56653 * conform/data/sys/un.h-data: Likewise.
56654 * conform/data/sys/utsname.h-data: Likewise.
56655 * conform/data/sys/wait.h-data: Likewise.
56656 * conform/data/syslog.h-data: Likewise.
56657 * conform/data/tar.h-data: Likewise.
56658 * conform/data/termios.h-data: Likewise.
56659 * conform/data/utime.h-data: Likewise.
56660 * conform/data/utmpx.h-data: Likewise.
56661 * conform/data/varargs.h-data: Likewise.
56662 * conform/data/wchar.h-data: Likewise.
56663 * conform/data/wctype.h-data: Likewise.
56664 * conform/data/wordexp.h-data: Likewise.
56665
56666 * include/stropts.h: New file.
56667 * include/uchar.h: New file.
56668 * include/aio.h: Changes to allow conformtest.pl to use the headers.
56669 * include/assert.h: Likewise.
56670 * include/ctype.h: Likewise.
56671 * include/dirent.h: Likewise.
56672 * include/dlfcn.h: Likewise.
56673 * include/fcntl.h: Likewise.
56674 * include/fnmatch.h: Likewise.
56675 * include/glob.h: Likewise.
56676 * include/grp.h: Likewise.
56677 * include/libio.h: Likewise.
56678 * include/locale.h: Likewise.
56679 * include/math.h: Likewise.
56680 * include/net/if.h: Likewise.
56681 * include/netdb.h: Likewise.
56682 * include/netinet/in.h: Likewise.
56683 * include/pthread.h: Likewise.
56684 * include/pwd.h: Likewise.
56685 * include/regex.h: Likewise.
56686 * include/sched.h: Likewise.
56687 * include/search.h: Likewise.
56688 * include/setjmp.h: Likewise.
56689 * include/signal.h: Likewise.
56690 * include/stdio.h: Likewise.
56691 * include/stdlib.h: Likewise.
56692 * include/string.h: Likewise.
56693 * include/sys/cdefs.h: Likewise.
56694 * include/sys/mman.h: Likewise.
56695 * include/sys/msg.h: Likewise.
56696 * include/sys/resource.h: Likewise.
56697 * include/sys/select.h: Likewise.
56698 * include/sys/socket.h: Likewise.
56699 * include/sys/stat.h: Likewise.
56700 * include/sys/statvfs.h: Likewise.
56701 * include/sys/time.h: Likewise.
56702 * include/sys/times.h: Likewise.
56703 * include/sys/uio.h: Likewise.
56704 * include/sys/utsname.h: Likewise.
56705 * include/sys/wait.h: Likewise.
56706 * include/termios.h: Likewise.
56707 * include/time.h: Likewise.
56708 * include/ulimit.h: Likewise.
56709 * include/unistd.h: Likewise.
56710 * include/utime.h: Likewise.
56711 * include/wchar.h: Likewise.
56712 * include/wctype.h: Likewise.
56713 * include/wordexp.h: Likewise.
56714
56715 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56716
56717 * time/time.h: TIME_UTC must be a macro.
56718 Make timespec_get available for ISO C11 only as well.
56719
56720 2012-02-24 Ulrich Drepper <drepper@gmail.com>
56721
56722 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56723 Reported by Peng Haitao <penght@cn.fujitsu.com>.
56724
56725 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56726
56727 * configure.in: Use -o not -a in test for unsupported multi-arch.
56728
56729 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56730
56731 * manual/texinfo.tex: Update to version 2012-01-19.16.
56732
56733 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56734
56735 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56736
56737 2012-02-24 Roland McGrath <roland@hack.frob.com>
56738
56739 [BZ #13738]
56740 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56741 * manual/fdl-1.3.texi: New file.
56742 * manual/fdl-1.1.texi: File removed.
56743
56744 [BZ #13738]
56745 * manual/libc.texinfo (FDL_VERSION): New @set.
56746 Use it for mention of FDL in cover text.
56747 (Documentation License): Use it in @include file name.
56748
56749 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56750 Roland McGrath <roland@hack.frob.com>
56751
56752 [BZ #5461]
56753 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56754 (not LONG_LONG_MAX and LONG_LONG_MIN.
56755 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56756 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
56757 name.
56758 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56759
56760 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56761
56762 [BZ #2547]
56763 [BZ #11365]
56764 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56765 manipulate bits before adding and subtracting TWO23[sx].
56766 * math/libm-test.inc (nearbyint_test): Add more tests.
56767
56768 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56769
56770 [BZ #2548]
56771 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56772 bits before adding and subtracting TWO23[sx].
56773 * math/libm-test.inc (rint_test): Add more tests.
56774 (rint_test_tonearest): Likewise.
56775 (rint_test_towardzero): Likewise.
56776 (rint_test_downward): Likewise.
56777 (rint_test_upward: Likewise.
56778
56779 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56780
56781 [BZ #10110]
56782 * include/stdc-predef.h: New file. Extracted from features.h.
56783 * include/features.h: Include stdc-predef.h.
56784 * Makefile (headers): Add stdc-predef.h.
56785 * CONFORMANCE (Compiler limitations): Update.
56786
56787 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56788
56789 * manual/libc.texinfo (VERSION, UPDATED): Revert.
56790
56791 2012-02-21 David S. Miller <davem@davemloft.net>
56792
56793 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56794 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56795
56796 2012-02-20 David S. Miller <davem@davemloft.net>
56797
56798 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56799 using a normal save/restore sequence, rather than allocating a
56800 dummy stack frame just to store a frame pointer and restore.
56801 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56802
56803 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56804
56805 * manual/install.texi: Fix stray word in line-wrapped comment.
56806
56807 2012-02-20 David S. Miller <davem@davemloft.net>
56808
56809 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56810 both binutils and gcc support GOTDATA.
56811
56812 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56813 "rd %pc" in the PIC register setup sequences.
56814
56815 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56816 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56817 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56818 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56819 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56820 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56821 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56822 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56823 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56824 (SYSCALL_ERROR_HANDLER): Likewise.
56825 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56826 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56828 (SYSCALL_ERROR_HANDLER): Likewise.
56829
56830 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56831 (HAVE_GCC_GOTDATA): New.
56832 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56833 relocation support in both binutils and gcc.
56834 * sysdeps/sparc/elf/configure: Regenerate.
56835
56836 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56837 * sysdeps/sparc/sparc32/elf/configure: Delete.
56838 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56839 * sysdeps/sparc/sparc64/elf/configure: Delete.
56840 * sysdeps/sparc/elf/configure.in: New file.
56841 * sysdeps/sparc/elf/configure: Generate.
56842
56843 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56844 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56845 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56846 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56847 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56848
56849 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56850
56851 * manual/install.texi: Do not mention specific glibc version
56852 numbers.
56853 * manual/libc.texinfo (VERSION, UPDATED): Update.
56854 (@copying): Use @copyright{} and range of years.
56855
56856 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56857
56858 [BZ #13695]
56859 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56860 [crti.S not in sysdirs] (generated): Do not append.
56861 [crti.S not in sysdirs] (omit-deps): Likewise.
56862 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56863 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56864 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56865 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56866 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56867 Likewise.
56868 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56869 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56870 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56871 * csu/defs.awk: Remove file.
56872 * sysdeps/generic/initfini.c: Likewise.
56873 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56874 variable.
56875 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56876 Likewise.
56877
56878 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56879
56880 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56881 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56882 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56883 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56884 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56885 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56886 <bits/epoll.h>.
56887 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56888 (__EPOLL_PACKED): Define to empty if not defined by
56889 <bits/epoll.h>.
56890 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56891 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56892 bits/epoll.h.
56893
56894 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56895
56896 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56897 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56898 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56899 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56900 <bits/timerfd.h>.
56901 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56903 bits/timerfd.h.
56904
56905 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56906
56907 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56908 in C locale.
56909 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56910 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56911 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56913
56914 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
56915
56916 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56917 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56918
56919 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
56920
56921 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56922 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56923 defined.
56924 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56925 Likewise.
56926 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56927 entry for 2.16.
56928
56929 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
56930
56931 * math/w_acos.c: Use non-signaling floating-point comparisons.
56932 * math/w_acosf.c: Likewise.
56933 * math/w_acosh.c: Likewise.
56934 * math/w_acoshf.c: Likewise.
56935 * math/w_acoshl.c: Likewise.
56936 * math/w_acosl.c: Likewise.
56937 * math/w_asin.c: Likewise.
56938 * math/w_asinf.c: Likewise.
56939 * math/w_asinl.c: Likewise.
56940 * math/w_atanh.c: Likewise.
56941 * math/w_atanhf.c: Likewise.
56942 * math/w_atanhl.c: Likewise.
56943 * math/w_exp2.c: Likewise.
56944 * math/w_exp2f.c: Likewise.
56945 * math/w_exp2l.c: Likewise.
56946 * math/w_j0.c: Likewise.
56947 * math/w_j0f.c: Likewise.
56948 * math/w_j0l.c: Likewise.
56949 * math/w_j1.c: Likewise.
56950 * math/w_j1f.c: Likewise.
56951 * math/w_j1l.c: Likewise.
56952 * math/w_jn.c: Likewise.
56953 * math/w_jnf.c: Likewise.
56954 * math/w_log.c: Likewise.
56955 * math/w_log10.c: Likewise.
56956 * math/w_log10f.c: Likewise.
56957 * math/w_log10l.c: Likewise.
56958 * math/w_log2.c: Likewise.
56959 * math/w_log2f.c: Likewise.
56960 * math/w_log2l.c: Likewise.
56961 * math/w_logf.c: Likewise.
56962 * math/w_logl.c: Likewise.
56963 * math/w_sqrt.c: Likewise.
56964 * math/w_sqrtf.c: Likewise.
56965 * math/w_sqrtl.c: Likewise.
56966 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56967 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56968 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56969 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56970 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56971
56972 2012-02-19 Joseph Myers <joseph@codesourcery.com>
56973
56974 [BZ #9739]
56975 * manual/string.texi (strnlen): Use correct parameter name in
56976 equivalent expression.
56977
56978 2012-02-19 Joseph Myers <joseph@codesourcery.com>
56979
56980 [BZ #11174]
56981 * manual/users.texi (seteuid): Consistently use neweuid for
56982 argument name.
56983
56984 2012-02-19 Joseph Myers <joseph@codesourcery.com>
56985
56986 [BZ #13704]
56987 * manual/nss.texi (Services in the NSS configuration): Correct
56988 list of services in example configuration file.
56989
56990 2012-02-19 Nick Bowler <nbowler@draconx.ca>
56991
56992 [BZ #11322]
56993 * manual/arith.texi: Remove statements about negative zero
56994 behaving identically to zero.
56995
56996 2012-02-18 Joseph Myers <joseph@codesourcery.com>
56997
56998 [BZ #5993]
56999 * manual/install.texi: Do not document upgrading from libc5.
57000
57001 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57002
57003 [BZ #4596]
57004 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57005
57006 2012-02-18 David S. Miller <davem@davemloft.net>
57007
57008 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57009 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57010 %o7 across the call.
57011 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57012 instead.
57013 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57014 SETUP_PIC_REG_LEAF.
57015 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57016 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57017 * sysdeps/sparc/crtn.S: Likewise.
57018
57019 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57020
57021 * aout/Makefile: Remove.
57022
57023 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57024
57025 [BZ #13058]
57026 * manual/examples/argp-ex1.c (main): Format definition in GNU
57027 style.
57028 * manual/examples/argp-ex2.c (main): Likewise.
57029 * manual/examples/argp-ex3.c (main): Likewise.
57030 * manual/examples/argp-ex4.c (main): Likewise.
57031 * manual/examples/longopt.c (main): Use new-style prototype
57032 definition.
57033 * manual/examples/strncat.c (main): Specify return type and use
57034 (void) for arguments.
57035 * manual/examples/subopt.c (main): Use char **argv argument.
57036
57037 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57038
57039 [BZ #5077]
57040 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57041 rounding modes.
57042
57043 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57044
57045 [BZ #6907]
57046 * manual/string.texi (strchr): Change when strchrnul is
57047 recommended.
57048
57049 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57050
57051 [BZ #174]
57052 * manual/locale.texi (setlocale): Document LOCPATH.
57053
57054 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57055
57056 [BZ #10210]
57057 * manual/process.texi (execle): Move @dots{} before last argument.
57058
57059 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57060
57061 [BZ #12047]
57062 * manual/charset.texi (Generic Charset Conversion): Fix typo
57063 (LC_TYPE -> LC_CTYPE).
57064
57065 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57066
57067 [BZ #5805]
57068 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57069 (scalbnf): Likewise.
57070 (scalbnl): Likewise.
57071 (scalbln): Likewise.
57072 (scalblnf): Likewise.
57073 (scalblnl): Likewise.
57074 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57075 (vwarnx): Likewise.
57076 (verr): Likewise.
57077 (verrx): Likewise.
57078 * manual/filesys.texi (telldir): Use braces around return type.
57079 * manual/llio.texi (mmap): Add space after comma.
57080 (mmap64): Likewise.
57081 * manual/math.texi (jn): Use @var{} on parameter names.
57082 (jnf): Likewise.
57083 (jnl): Likewise.
57084 (yn): Likewise.
57085 (ynf): Likewise.
57086 (ynl): Likewise.
57087 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57088 line.
57089 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57090 "...".
57091 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57092 (sched_get_priority_max): Likewise.
57093 * manual/signal.texi (sigvec): Add space after comma.
57094 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57095 names.
57096 (if_indextoname): Likewise.
57097 (if_freenameindex): Likewise.
57098 (sendto): Use ',' instead of '.' in prototype.
57099 * manual/startup.texi (syscall): Use @dots{} instead of literal
57100 "...".
57101 * manual/stdio.texi (__fpending): Separate initial words of
57102 paragraph from @deftypefun line.
57103 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57104 "...".
57105 (vsyslog): Use @var{} on parameter names.
57106 * manual/terminal.texi (stty): Use @var{} on parameter names.
57107 * manual/users.texi (getutmp): Use @var{} on parameter names.
57108 (getutmpx): Likewise.
57109
57110 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57111
57112 [BZ #6884]
57113 * manual/stdio.texi (fopen): Fix typos in description of
57114 ",ccs=STRING".
57115
57116 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57117
57118 [BZ #4026]
57119 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57120 get clock_id definition.
57121
57122 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57123
57124 [BZ #4822]
57125 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57126 (madvise): Cast every argument to void on its own.
57127
57128 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57129
57130 [BZ #9902]
57131 * manual/startup.texi (Exit Status): Fix typo.
57132
57133 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57134
57135 [BZ #10140]
57136 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57137 * manual/examples/argp-ex2.c: Likewise.
57138 * manual/examples/argp-ex3.c: Likewise.
57139
57140 2012-02-16 Richard Henderson <rth@redhat.com>
57141
57142 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57143 * sysdeps/s390/s390-32/initfini.c: Remove.
57144 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57145 * sysdeps/s390/s390-64/initfini.c: Remove.
57146
57147 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57148
57149 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57150 compiler output for sysdeps/generic/initfini.c.
57151 * sysdeps/sh/elf/initfini.c: Remove file.
57152
57153 2012-02-16 David S. Miller <davem@davemloft.net>
57154
57155 [BZ #11494]
57156 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57157
57158 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57159 * sysdeps/sparc/crti.S: New file.
57160 * sysdeps/sparc/crtn.S: New file.
57161 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57162 * sysdeps/sparc/sparc64/Makefile: Likewise.
57163
57164 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57165
57166 [BZ #3335]
57167 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57168
57169 2012-02-15 Roland McGrath <roland@hack.frob.com>
57170
57171 [BZ #4822]
57172 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57173
57174 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57175 (write, read, close): Likewise.
57176 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57177
57178 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57179
57180 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57181 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57182 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57183 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57184 <bits/signalfd.h>.
57185 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57187 bits/signalfd.h.
57188
57189 2012-02-14 Marek Polacek <polacek@redhat.com>
57190
57191 * sysdeps/x86_64/crti.S: New file.
57192 * sysdeps/x86_64/crtn.S: New file.
57193 * sysdeps/x86_64/elf/initfini.c: Remove file.
57194
57195 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57196
57197 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57198 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57199 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57200 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57201 <bits/inotify.h>.
57202 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57204 bits/inotify.h.
57205
57206 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57207
57208 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57209 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57210 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57211 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57212 <bits/eventfd.h>.
57213 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57215 bits/eventfd.h.
57216
57217 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57218
57219 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57220 __feraiseexcept instead of feraiseexcept.
57221
57222 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57223 nanosleep invocations.
57224 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57225 strings, and add error checking for a nanosleep invocations.
57226
57227 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57228
57229 Replace FSF snail mail address with URLs, as per GNU coding standards.
57230 Most of the snail mail addresses were wrong anyway, and omitting
57231 them makes the source code easier to maintain. Almost all of the
57232 changes are to license notices and to locale LC_IDENTIFICATION
57233 addresses, except for this one:
57234 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57235 not its snail mail address.
57236
57237 2012-02-09 Richard Henderson <rth@twiddle.net>
57238
57239 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57240 of kernel-features.h.
57241
57242 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57243
57244 2012-02-08 Marek Polacek <polacek@redhat.com>
57245
57246 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57247 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57248 * sysdeps/gnu/_G_config.h: Likewise.
57249 * sysdeps/generic/_G_config.h: Likewise.
57250
57251 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57252
57253 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57254 tests.
57255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57256
57257 * sysdeps/powerpc/powerpc32/crti.S: New file.
57258 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57259 * sysdeps/powerpc/powerpc64/crti.S: New file.
57260 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57261
57262 * Makeconfig (have-initfini): Don't set.
57263 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57264 * configure.in (nopic_initfini): Don't substitute.
57265 * config.h.in (HAVE_INITFINI): Don't #undef.
57266 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57267 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57268
57269 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57270
57271 Support crti.S and crtn.S provided directly by architectures.
57272 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57273 [crti.S in sysdirs] (omit-deps): Likewise.
57274 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57275 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57276 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57277 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57278 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57279 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57280 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57281 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57282 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57283 compiler output for sysdeps/generic/initfini.c.
57284 * sysdeps/i386/elf/Makefile: Remove file.
57285 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57286
57287 2012-02-07 Marek Polacek <polacek@redhat.com>
57288
57289 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57290 * sysdeps/gnu/_G_config.h: Likewise.
57291 * sysdeps/mach/hurd/_G_config.h: Likewise.
57292
57293 2012-02-07 Marek Polacek <polacek@redhat.com>
57294
57295 * math/Makefile (tests): Add tst-CMPLX2.
57296 * math/tst-CMPLX2.c: New file.
57297
57298 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57299
57300 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57301
57302 * math/libm-test.inc (jn_test): Add missing L suffix.
57303
57304 2012-02-06 Marek Polacek <polacek@redhat.com>
57305
57306 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57307 * sysdeps/i386/fpu/e_powf.S: Likewise.
57308 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57309 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57310 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57311 * sysdeps/i386/fpu/e_pow.S: Likewise.
57312 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57313 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57314 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57315 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57316 * sysdeps/i386/fpu/e_log2.S: Likewise.
57317 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57318 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57319 * sysdeps/i386/fpu/e_powl.S: Likewise.
57320 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57321 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57322 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57323 * sysdeps/i386/fpu/e_logl.S: Likewise.
57324 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57325 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57326 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57327 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57328 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57329 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57330 * sysdeps/i386/fpu/e_log.S: Likewise.
57331 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57332 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57333 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57334 * sysdeps/i386/fpu/e_logf.S: Likewise.
57335 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57336 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57337 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57338 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57339 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57340 * sysdeps/i386/fpu/e_log10.S: Likewise.
57341 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57342 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57343 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57344 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57345 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57346 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57347 * sysdeps/i386/asm-syntax.h: Likewise.
57348 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57349 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57350 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57351 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57352 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57353 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57354 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57355 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57356 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57357 * sysdeps/powerpc/sysdep.h: Likewise.
57358 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57359 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57360
57361 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57362
57363 [BZ #411]
57364 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57365
57366 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57367
57368 * sysdeps/i386/sysdep.h: Include <features.h>.
57369 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57370 version.
57371
57372 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57373
57374 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57375 Define.
57376 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57377 LOAD_PIC_REG_STR.
57378
57379 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57380
57381 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57382 (SETUP_PIC_REG): Use GET_PC_THUNK.
57383 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57384 macro.
57385
57386 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57387
57388 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57389 for non-PIC compilation.
57390 (SETUP_PIC_REG): Add .p2align directive.
57391 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57392 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57393 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57394 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57395 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57396 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57397 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57398 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57399 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57400 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57401 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57402 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57403 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57404 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57405 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57406 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57407 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57408 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57409 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57410 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57411 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57412 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57413 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57414 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57415 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57416 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57417 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57418 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57419 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57420 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57421 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57422 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57423 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57424 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57425 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57426 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57427 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57428 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57429 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57430 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57431 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57432
57433 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57434
57435 * math/tst-CMPLX.c: Include <stdio.h>.
57436
57437 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57438
57439 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57440 float.
57441 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57442 * sysdeps/sparc/bits/mathdef.h: Likewise.
57443
57444 2012-01-31 Marek Polacek <polacek@redhat.com>
57445
57446 * libio/libio.h: Don't define _PARAMS.
57447 * locale/programs/config.h: Don't define PARAMS.
57448 * stdlib/strtol_l.c: Likewise.
57449 (__strtol_l): Remove PARAMS from the prototype.
57450
57451 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57452
57453 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57454 names. Just use the correct names. Remove unnecessary wrapper
57455 functions.
57456 * malloc/arena.c: Likewise.
57457 * malloc/hooks.c: Likewise.
57458
57459 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57460 ARENA_TEST says not to. Simplify test for creation of a new arena.
57461 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57462
57463 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57464
57465 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57466 into tail calls.
57467 (update_get_addr): New function.
57468 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57469 GET_ADDR_MODULE parameter.
57470
57471 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57472
57473 * crypt/cert.c: Remove __STDC__ conditionals.
57474 * crypt/crypt-entry.c: Likewise.
57475 * crypt/crypt_util.c: Likewise.
57476 * libio/filedoalloc.c: Likewise.
57477 * libio/fileops.c: Likewise.
57478 * libio/genops.c: Likewise.
57479 * libio/iofclose.c: Likewise.
57480 * libio/iofdopen.c: Likewise.
57481 * libio/iofopen.c: Likewise.
57482 * libio/iofopen64.c: Likewise.
57483 * libio/iogetdelim.c: Likewise.
57484 * libio/iopopen.c: Likewise.
57485 * libio/obprintf.c: Likewise.
57486 * libio/oldfileops.c: Likewise.
57487 * libio/oldiofclose.c: Likewise.
57488 * libio/oldiofdopen.c: Likewise.
57489 * libio/oldiofopen.c: Likewise.
57490 * libio/oldiopopen.c: Likewise.
57491 * libio/wfiledoalloc.c: Likewise.
57492 * libio/wgenops.c: Likewise.
57493 * locale/programs/xmalloc.c: Likewise.
57494 * misc/syslog.c: Likewise.
57495 * stdio-common/xbug.c: Likewise.
57496 * string/memchr.c: Likewise.
57497 * string/memcmp.c: Likewise.
57498 * string/memrchr.c: Likewise.
57499 * string/rawmemchr.c: Likewise.
57500 * sysdeps/posix/getcwd.c: Likewise.
57501 * time/strftime_l.c: Likewise.
57502
57503 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57504
57505 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57506 * config.make.in (config-cflags-sse2avx): Define.
57507 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57508 Fix typo.
57509
57510 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57511
57512 * scripts/config.guess: Update from upstream config git repository.
57513 * scripts/config.sub: Likewise.
57514
57515 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
57516
57517 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57518 (EM_NUM): Update.
57519 (R_TILEPRO_*, R_TILEGX_*): New macros.
57520
57521 * scripts/firstversions.awk: Fix bug in version range handling.
57522
57523 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57524
57525 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57526
57527 * include/sys/epoll.h: New file.
57528 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57529 libc_hidden_def.
57530
57531 2012-01-28 Ulrich Drepper <drepper@gmail.com>
57532
57533 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57534 Avoid unnecessary __WORDSIZE == 64 test.
57535 (fmaxf): Use VEX format if possible.
57536 (fmax): Likewise.
57537 (fminf): Likewise.
57538 (fmin): Likewise.
57539
57540 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57541 * math/math_private.h: Remove libc_fegetround* and
57542 libc_fesetround*.
57543 * sysdeps/i386/configure.in: Check for -msse2avx.
57544 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57545 also if SSE2AVX is defined.
57546 Remove libc_fegetround* and libc_fesetround*.
57547 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57548 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
57549 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57550 of HAS_YMM_USABLE.
57551 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57552 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57553 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57554 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57555 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57556
57557 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57558
57559 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57560
57561 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57562 size is not set.
57563 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57564
57565 2012-01-27 Ulrich Drepper <drepper@gmail.com>
57566
57567 [BZ #13618]
57568 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57569 relocation.
57570 * Makeconfig (libm): Define.
57571 * elf/Makefile: Add rules to build and run tst-relsort1.
57572 * elf/tst-relsort1.c: New file.
57573 * elf/tst-relsort1mod1.c: New file.
57574 * elf/tst-relsort1mod2.c: New file.
57575
57576 2012-01-27 Joseph Myers <joseph@codesourcery.com>
57577
57578 * math/s_ldexp.c: Remove __STDC__ conditionals.
57579 * math/s_ldexpf.c: Likewise.
57580 * math/s_ldexpl.c: Likewise.
57581 * math/s_nextafter.c: Likewise.
57582 * math/s_nexttowardf.c: Likewise.
57583 * math/s_significand.c: Likewise.
57584 * math/s_significandf.c: Likewise.
57585 * math/s_significandl.c: Likewise.
57586 * math/w_jnl.c: Likewise.
57587 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57588 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57589 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57590 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57591 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57592 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57593 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57594 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57595 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57596 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57597 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57598 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57599 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57600 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57601 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57602 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57603 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57604 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57605 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57606 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57607 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57608 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57609 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57610 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57611 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57612 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57613 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57614 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57615 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57616 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57617 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57618 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57619 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57620 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57621 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57622 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57623 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57624 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57625 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57626 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57627 * sysdeps/ieee754/k_standard.c: Likewise.
57628 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57629 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57630 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57631 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57632 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57633 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57634 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57635 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57636 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57637 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57638 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57639 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57640 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57641 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57642 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57643 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57644 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57645 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57646 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57647 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57648 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57649 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57650 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57651 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57652 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57653 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57654 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57655 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57656 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57657 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57658 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57659 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57660 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57661 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57662 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57663 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57664 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57665 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57666 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57667 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57668 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57669 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57670 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57671 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57672 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57673 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57674 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57675 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57676 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57677 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57678 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57679 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57680 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57681 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57682 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57683 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57684 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57685 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57686 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57687 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57688 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57689 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57690 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57691 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57692 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57693 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57694 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57695 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57696 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57697 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57698 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57699 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57700 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57701 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57702 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57703 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57704 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57705 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57706 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57707 * sysdeps/ieee754/s_matherr.c: Likewise.
57708 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57709 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57710 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57711 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57712
57713 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57714
57715 * crypt/md5.h: Remove __STDC__ conditionals.
57716 * libio/libioP.h: Likewise.
57717 * locale/programs/config.h: Likewise.
57718 * sysdeps/generic/sysdep.h: Likewise.
57719 * sysdeps/i386/asm-syntax.h: Likewise.
57720 * sysdeps/s390/asm-syntax.h: Likewise.
57721 * sysdeps/unix/sysdep.h: Likewise.
57722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57724
57725 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57726
57727 * libio/libio.h: Remove __STDC__ conditionals.
57728 * malloc/obstack.h: Likewise.
57729 * math/complex.h: Likewise.
57730 * math/math.h: Likewise.
57731 * sysdeps/generic/_G_config.h: Likewise.
57732 * sysdeps/gnu/_G_config.h: Likewise.
57733 * sysdeps/mach/hurd/_G_config.h: Likewise.
57734 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57735 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57736 * sysdeps/sparc/bits/mathdef.h: Likewise.
57737
57738 2012-01-26 Ulrich Drepper <drepper@gmail.com>
57739
57740 [BZ #13583]
57741 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57742 Clean up HAS_* macros.
57743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57744 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57745 possible.
57746 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57747 HAS_AVX.
57748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57749 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57750 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57751 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57752 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57753
57754 2012-01-25 Joseph Myers <joseph@codesourcery.com>
57755
57756 * elf/tst-unique3.cc (gets): Remove declaration.
57757 * elf/tst-unique3lib.cc (gets): Likewise.
57758 * elf/tst-unique3lib2.cc (gets): Likewise.
57759 * elf/tst-unique4.cc (gets): Likewise.
57760
57761 2012-01-24 Ulrich Drepper <drepper@gmail.com>
57762
57763 * include/stdio.h: Add C++ protection. Add gets declarations and
57764 definitions.
57765 * debug/tst-chk1.c: Don't declare gets here.
57766 * stdio-common/tst-gets.c: Likewise.
57767
57768 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57769
57770 * posix/glob: Remove directory.
57771
57772 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57773
57774 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57775
57776 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
57777
57778 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57779 of the non-standard EPFNOSUPPORT.
57780
57781 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
57782
57783 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57784 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57785 ANYWHERE set to 1 only on KERN_NO_SPACE error.
57786
57787 2012-01-21 Ulrich Drepper <drepper@gmail.com>
57788
57789 * wcsmbs/uchar.h: Test __STDC_VERSION__.
57790
57791 2012-01-20 Ulrich Drepper <drepper@gmail.com>
57792
57793 * nscd/aicache.c (addhstaiX): Do not cache negative results of
57794 transient errors.
57795 * nscd/grpcache.c (cache_addgr): Likewise.
57796 * nscd/hstcache.c (cache_addhst): Likewise.
57797 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57798 * nscd/pwdcache.c (cache_addpw): Likewise.
57799 * nscd/servicescache.c (cache_addserv): Likewise.
57800
57801 2012-01-16 Ulrich Drepper <drepper@gmail.com>
57802
57803 * malloc/malloc.c: Various cleanups.
57804 * malloc/hooks.c: Likewise.
57805
57806 * stdlib/Makefile (tests): Add bug-fmtmsg1.
57807 * stdlib/bug-fmtmsg1.c: New file.
57808
57809 * stdlib/fmtmsg.c (init): Add missing unlock.
57810 Patch by Peng Haitao <penght@cn.fujitsu.com>.
57811
57812 2012-01-12 Marek Polacek <polacek@redhat.com>
57813
57814 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57815 and _GNU_SOURCE.
57816
57817 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57818
57819 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57820 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57821 macro to ensure uniqueness of label name.
57822 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57823 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57824
57825 2012-01-11 Ulrich Drepper <drepper@gmail.com>
57826
57827 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57828
57829 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57830 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57831 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57832 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57833
57834 2012-01-10 Ulrich Drepper <drepper@gmail.com>
57835
57836 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57837
57838 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57839 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57840 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57841
57842 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57843
57844 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57845 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57846 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57847 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57848
57849 * math/bits/math-finite.h: Add ldexp support.
57850
57851 2012-01-10 Marek Polacek <polacek@redhat.com>
57852
57853 * locale/programs/localedef.h (show_archive_content): Add noreturn
57854 attribute.
57855
57856 2012-01-09 Ulrich Drepper <drepper@gmail.com>
57857
57858 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57859
57860 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57861
57862 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57863
57864 * io/Makefile (headers): Add bits/poll2.h.
57865
57866 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
57867
57868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57869 typo #include statement.
57870
57871 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57872
57873 * include/sys/cdefs.h: Define __attribute_alloc_size.
57874 * catgets/gencat.c: Add alloc_size attribute and apply consistently
57875 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57876 * elf/pldd.c: Likewise.
57877 * iconv/iconv_charmap.c: Likewise.
57878 * iconv/iconvconfig.c: Likewise.
57879 * iconv/strtab.c: Likewise.
57880 * locale/programs/locale.c: Likewise.
57881 * locale/programs/localedef.h: Likewise.
57882 * locale/programs/simple-hash.c: Likewise.
57883 * nscd/nscd.h: Likewise.
57884 * nss/makedb.c: Likewise.
57885 * sysdeps/generic/ldconfig.h: Likewise.
57886 * locale/programs/localedef.c: Remove xmalloc prototype.
57887 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57888
57889 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57890
57891 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57892 appropriate.
57893
57894 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57895
57896 * math/Makefile (tests): Add tst-CMPLX.
57897 * math/tst-CMPLX.c: New file.
57898
57899 * math/complex.h (CMPLXL): Fix typo.
57900
57901 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57902 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57903 GLIBC_2.16.
57904 * debug/tst-chk1.c: Add poll and ppoll tests.
57905 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57906 * include/sys/poll.h: Add hidden proto for ppoll.
57907 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57908 * sysdeps/mach/hurd/ppoll.c: Likewise.
57909 * io/ppoll.c: Likewise.
57910 * debug/poll_chk.c: New file.
57911 * debug/ppoll_chk.c: New file.
57912 * include/bits/poll2.h: New file.
57913 * io/bits/poll2.h: New file.
57914
57915 [BZ #1350]
57916 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57917
57918 * configure.in: static is always set to yes. Remove.
57919 * config.make.in: Don't set build-static.
57920 * Makeconfig: Remove use of build-static.
57921 * dlfcn/Makefile: Likewise.
57922 * elf/Makefile: Likewise.
57923 * math/Makefile: Likewise.
57924 * misc/Makefile: Likewise.
57925 * nptl/Makefile: Likewise.
57926 * sysdeps/mach/hurd/Makefile: Likewise.
57927
57928 * configure.in: PWD_P is not used anymore.
57929 * config.make.in: Remove PWD_P entry.
57930
57931 * configure.in: Remove last remnants of RANLIB.
57932 No need to check for signed size_t anymore.
57933 Don't set libc_commonpagesize and libc_relro_required here for Alpha
57934 and IA-64.
57935 Remove __builtin_expect test because we require at least gcc 3.4.
57936 * aclocal.m4: Likewise.
57937
57938 * wcsmbs/mbrtoc16.c: Implement using towc function.
57939 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57940 * wcsmbs/wcsmbsload.c: Likewise.
57941 * iconv/gconv_simple.c: Likewise.
57942 * iconv/gconv_int.h: Likewise.
57943 * iconv/gconv_builtin.h: Likewise.
57944 * iconv/iconv_prog.c: Remove CHAR16 handling.
57945
57946 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57947
57948 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57949
57950 * configure.in: Remove --with-elf and --enable-bounded options.
57951 Dont set base_machine for ia64. More non-ELF conditions removed.
57952 Remove testing and setting of leading underscore information.
57953 * config.make.in (build-bounded): Set to no.
57954 * config.h.in: Remove NO_UNDERSCORES entry.
57955 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
57956 them.
57957 * csu/start.c: Remove !NO_UNDERSCORE code.
57958 * locale/localeinfo.h: Likewise.
57959 * sysdeps/generic/machine-gmon.h: Likewise.
57960 * sysdeps/generic/sysdep.h: Likewise.
57961 * sysdeps/i386/sysdep.h: Likewise.
57962 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57963 * sysdeps/mach/sysdep.h: Likewise.
57964 * sysdeps/s390/s390-32/sysdep.h: Likewise.
57965 * sysdeps/s390/s390-64/sysdep.h: Likewise.
57966 * sysdeps/sh/sysdep.h: Likewise.
57967 * sysdeps/sparc/sparc32/alloca.S: Likewise.
57968 * sysdeps/unix/i386/sysdep.S: Likewise.
57969 * sysdeps/unix/sparc/start.c: Likewise.
57970 * sysdeps/unix/sparc/sysdep.S: Likewise.
57971 * sysdeps/unix/sparc/sysdep.h: Likewise.
57972 * sysdeps/unix/start.c: Likewise.
57973 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57974 * sysdeps/x86_64/sysdep.h: Likewise.
57975
57976 2012-01-07 Ulrich Drepper <drepper@gmail.com>
57977
57978 [BZ #13553]
57979 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57980 for non-gcc.
57981 * argp/argp-fmtstream.h: Use const instead __const.
57982 * argp/argp.h: Likewise.
57983 * assert/assert.h: Likewise.
57984 * bits/fenv.h: Likewise.
57985 * bits/sched.h: Likewise.
57986 * bits/sigset.h: Likewise.
57987 * bits/sigthread.h: Likewise.
57988 * catgets/nl_types.h: Likewise.
57989 * conform/data/pthread.h-data: Likewise.
57990 * crypt/crypt-private.h: Likewise.
57991 * crypt/crypt.h: Likewise.
57992 * crypt/crypt_util.c: Likewise.
57993 * ctype/ctype.h: Likewise.
57994 * debug/execinfo.h: Likewise.
57995 * debug/mbsnrtowcs_chk.c: Likewise.
57996 * debug/mbsrtowcs_chk.c: Likewise.
57997 * debug/wcsnrtombs_chk.c: Likewise.
57998 * debug/wcsrtombs_chk.c: Likewise.
57999 * debug/wcstombs_chk.c: Likewise.
58000 * dirent/dirent.h: Likewise.
58001 * dlfcn/dlfcn.h: Likewise.
58002 * elf/neededtest4.c: Likewise.
58003 * grp/grp.h: Likewise.
58004 * gshadow/gshadow.h: Likewise.
58005 * iconv/gconv.h: Likewise.
58006 * iconv/gconv_int.h: Likewise.
58007 * iconv/gconv_simple.c: Likewise.
58008 * iconv/iconv.h: Likewise.
58009 * iconv/loop.c: Likewise.
58010 * iconv/skeleton.c: Likewise.
58011 * include/aio.h: Likewise.
58012 * include/aliases.h: Likewise.
58013 * include/argz.h: Likewise.
58014 * include/arpa/inet.h: Likewise.
58015 * include/assert.h: Likewise.
58016 * include/dirent.h: Likewise.
58017 * include/dlfcn.h: Likewise.
58018 * include/execinfo.h: Likewise.
58019 * include/fcntl.h: Likewise.
58020 * include/fenv.h: Likewise.
58021 * include/glob.h: Likewise.
58022 * include/grp.h: Likewise.
58023 * include/libintl.h: Likewise.
58024 * include/mntent.h: Likewise.
58025 * include/netdb.h: Likewise.
58026 * include/pwd.h: Likewise.
58027 * include/rpc/netdb.h: Likewise.
58028 * include/sched.h: Likewise.
58029 * include/search.h: Likewise.
58030 * include/shadow.h: Likewise.
58031 * include/signal.h: Likewise.
58032 * include/stdio.h: Likewise.
58033 * include/stdlib.h: Likewise.
58034 * include/string.h: Likewise.
58035 * include/sys/socket.h: Likewise.
58036 * include/sys/stat.h: Likewise.
58037 * include/sys/statfs.h: Likewise.
58038 * include/sys/statvfs.h: Likewise.
58039 * include/sys/syslog.h: Likewise.
58040 * include/sys/time.h: Likewise.
58041 * include/sys/uio.h: Likewise.
58042 * include/time.h: Likewise.
58043 * include/unistd.h: Likewise.
58044 * include/utmp.h: Likewise.
58045 * include/wchar.h: Likewise.
58046 * include/wctype.h: Likewise.
58047 * inet/aliases.h: Likewise.
58048 * inet/arpa/inet.h: Likewise.
58049 * inet/netinet/ether.h: Likewise.
58050 * inet/netinet/in.h: Likewise.
58051 * intl/libintl.h: Likewise.
58052 * io/bits/fcntl2.h: Likewise.
58053 * io/fcntl.h: Likewise.
58054 * io/ftw.h: Likewise.
58055 * io/sys/poll.h: Likewise.
58056 * io/sys/stat.h: Likewise.
58057 * io/sys/statfs.h: Likewise.
58058 * io/sys/statvfs.h: Likewise.
58059 * io/utime.h: Likewise.
58060 * libio/bits/stdio.h: Likewise.
58061 * libio/bits/stdio2.h: Likewise.
58062 * libio/libio.h: Likewise.
58063 * libio/libioP.h: Likewise.
58064 * libio/stdio.h: Likewise.
58065 * locale/lc-ctype.c: Likewise.
58066 * locale/locale.h: Likewise.
58067 * login/utmp.h: Likewise.
58068 * malloc/arena.c: Likewise.
58069 * malloc/malloc.c: Likewise.
58070 * malloc/malloc.h: Likewise.
58071 * malloc/mcheck.c: Likewise.
58072 * malloc/mtrace.c: Likewise.
58073 * math/bits/mathcalls.h: Likewise.
58074 * math/fenv.h: Likewise.
58075 * math/math_private.h: Likewise.
58076 * misc/bits/error.h: Likewise.
58077 * misc/bits/syslog.h: Likewise.
58078 * misc/err.h: Likewise.
58079 * misc/error.h: Likewise.
58080 * misc/fstab.h: Likewise.
58081 * misc/mntent.h: Likewise.
58082 * misc/regexp.h: Likewise.
58083 * misc/search.h: Likewise.
58084 * misc/sgtty.h: Likewise.
58085 * misc/sys/mman.h: Likewise.
58086 * misc/sys/syslog.h: Likewise.
58087 * misc/sys/uio.h: Likewise.
58088 * misc/sys/xattr.h: Likewise.
58089 * misc/ttyent.h: Likewise.
58090 * nis/rpcsvc/ypclnt.h: Likewise.
58091 * nss/nss.h: Likewise.
58092 * posix/bits/unistd.h: Likewise.
58093 * posix/fnmatch.h: Likewise.
58094 * posix/glob.h: Likewise.
58095 * posix/sched.h: Likewise.
58096 * posix/spawn.h: Likewise.
58097 * posix/sys/wait.h: Likewise.
58098 * posix/unistd.h: Likewise.
58099 * posix/wordexp.h: Likewise.
58100 * pwd/pwd.h: Likewise.
58101 * resolv/netdb.h: Likewise.
58102 * resource/sys/resource.h: Likewise.
58103 * rt/aio.h: Likewise.
58104 * rt/bits/mqueue2.h: Likewise.
58105 * rt/mqueue.h: Likewise.
58106 * shadow/shadow.h: Likewise.
58107 * signal/signal.h: Likewise.
58108 * socket/send.c: Likewise.
58109 * socket/sendto.c: Likewise.
58110 * socket/sys/socket.h: Likewise.
58111 * stdio-common/printf.h: Likewise.
58112 * stdlib/bits/stdlib.h: Likewise.
58113 * stdlib/fmtmsg.h: Likewise.
58114 * stdlib/monetary.h: Likewise.
58115 * stdlib/stdlib.h: Likewise.
58116 * stdlib/ucontext.h: Likewise.
58117 * streams/stropts.h: Likewise.
58118 * string/argz.h: Likewise.
58119 * string/bits/string2.h: Likewise.
58120 * string/string.h: Likewise.
58121 * string/strings.h: Likewise.
58122 * sunrpc/rpc/auth.h: Likewise.
58123 * sunrpc/rpc/auth_des.h: Likewise.
58124 * sunrpc/rpc/clnt.h: Likewise.
58125 * sunrpc/rpc/netdb.h: Likewise.
58126 * sunrpc/rpc/pmap_clnt.h: Likewise.
58127 * sunrpc/rpc/xdr.h: Likewise.
58128 * sysdeps/generic/inttypes.h: Likewise.
58129 * sysdeps/generic/net/if.h: Likewise.
58130 * sysdeps/generic/sys/swap.h: Likewise.
58131 * sysdeps/gnu/net/if.h: Likewise.
58132 * sysdeps/gnu/utmpx.h: Likewise.
58133 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58134 * sysdeps/i386/i486/bits/string.h: Likewise.
58135 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58136 * sysdeps/s390/bits/string.h: Likewise.
58137 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58138 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58139 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58140 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58141 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58142 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58143 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58144 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58145 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58146 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58147 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58148 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58149 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58150 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58151 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58152 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58153 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58154 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58155 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58156 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58157 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58158 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58159 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58160 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58161 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58162 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58163 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58164 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58165 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58166 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58167 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58168 * sysvipc/sys/ipc.h: Likewise.
58169 * sysvipc/sys/msg.h: Likewise.
58170 * sysvipc/sys/sem.h: Likewise.
58171 * sysvipc/sys/shm.h: Likewise.
58172 * termios/termios.h: Likewise.
58173 * time/sys/time.h: Likewise.
58174 * time/time.h: Likewise.
58175 * wcsmbs/bits/wchar2.h: Likewise.
58176 * wcsmbs/uchar.h: Likewise.
58177 * wcsmbs/wchar.h: Likewise.
58178 * wctype/wctype.h: Likewise.
58179
58180 [BZ #13551]
58181 * Makeconfig: Remove all but ELF support including AIX support.
58182 * Makerules: Likewise.
58183 * config.h.in: Likewise.
58184 * config.make.in: Likewise.
58185 * configure: Likewise.
58186 * configure.in: Likewise.
58187 * csu/Makefile: Likewise.
58188 * csu/version.c: Likewise.
58189 * debug/Makefile: Likewise.
58190 * dlfcn/Makefile: Likewise.
58191 * elf/Makefile: Likewise.
58192 * extra-lib.mk: Likewise.
58193 * iconv/Makefile: Likewise.
58194 * include/libc-symbols.h: Likewise.
58195 * include/shlib-compat.h: Likewise.
58196 * resolv/Makefile: Likewise.
58197 * resolv/res_libc.c: Likewise.
58198 * rt/Makefile: Likewise.
58199 * sysdeps/i386/asm-syntax.h: Likewise.
58200 * sysdeps/i386/sysdep.h: Likewise.
58201 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58202 * sysdeps/mach/sysdep.h: Likewise.
58203 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58204 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58205 * sysdeps/s390/asm-syntax.h: Likewise.
58206 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58207 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58208 * sysdeps/sh/sysdep.h: Likewise.
58209 * sysdeps/unix/sparc/sysdep.h: Likewise.
58210 * sysdeps/wordsize-32/divdi3.c: Likewise.
58211 * sysdeps/x86_64/sysdep.h: Likewise.
58212
58213 * argp/Versions: Remove _argp_unlock_xxx.
58214
58215 [BZ #13559]
58216 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58217 * abilist/libBrokenLocale.abilist: Likewise.
58218 * abilist/libanl.abilist: Likewise.
58219 * abilist/libc.abilist: Likewise.
58220 * abilist/libcrypt.abilist: Likewise.
58221 * abilist/libdl.abilist: Likewise.
58222 * abilist/libm.abilist: Likewise.
58223 * abilist/libnsl.abilist: Likewise.
58224 * abilist/libpthread.abilist: Likewise.
58225 * abilist/libresolv.abilist: Likewise.
58226 * abilist/librt.abilist: Likewise.
58227 * abilist/libthread_db.abilist: Likewise.
58228 * abilist/libutil.abilist: Likewise.
58229 * abilist/libnss_db.abilist: New file.
58230
58231 * scripts/abilist.awk: Add support for indirect functions.
58232
58233 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58234
58235 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58236
58237 * shlib-versions: Remove entries for ports architectures.
58238
58239 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58240 files in ports.
58241 * elf/stackguard-macros.h: Remove support for IA-64.
58242 * elf/tst-auditmod1.c: Likewise.
58243 * sysdeps/generic/ldsodefs.h: Likewise.
58244
58245 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58246 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58247 configure files.
58248
58249 [BZ #13552]
58250 * configure.in: Remove --enable-omitfp support.
58251 * FAQ.in: Adjust.
58252 * config.make.in: Likewise.
58253 * Makeconfig: Likewise.
58254 * manual/install.texi: Likewise.
58255
58256 In case anyone cares, the IA-64 architecture could move to ports.
58257 * sysdeps/ia64/*: Removed.
58258 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58259 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58260
58261 [BZ #13555]
58262 * configure.in: Remove entries for unsupported architectures.
58263
58264 [BZ #13533]
58265 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58266 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58267 routines.
58268 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58269 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58270 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58271 fall back to using wcrtomb.
58272 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58273 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58274 renaming.
58275 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58276 * wcsmbs/tst-c16c32-1.c: New file.
58277
58278 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58279 local variable.
58280
58281 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58282
58283 * elf/tst-unique3.cc: Add explicit declaration of gets.
58284 * elf/tst-unique3lib.cc: Likewise.
58285 * elf/tst-unique3lib2.cc: Likewise.
58286 * elf/tst-unique4.cc: Likewise.
58287
58288 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58289
58290 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58291
58292 [BZ #13566]
58293 * assert/assert.h (static_assert): Don't define for C++.
58294 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58295 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58296
58297 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58298
58299 * iconv/loop.c (single loop): Fix assertion in storing of
58300 remaining bytes.
58301
58302 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58303
58304 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58305
58306 * posix/getconf.c: Update copyright year.
58307 * nss/getent.c: Likewise.
58308 * nss/makedb.c: Likewise.
58309 * iconv/iconvconfig.c: Likewise.
58310 * iconv/iconv_prog.c: Likewise.
58311 * elf/ldconfig.c: Likewise.
58312 * elf/pldd.c: Likewise.
58313 * elf/sotruss.ksh: Likewise.
58314 * catgets/gencat.c: Likewise.
58315 * csu/version.c: Likewise.
58316 * elf/ldd.bash.in: Likewise.
58317 * elf/sprof.c (print_version): Likewise.
58318 * locale/programs/locale.c: Likewise.
58319 * locale/programs/localedef.c: Likewise.
58320 * login/programs/pt_chown.c: Likewise.
58321 * nscd/nscd.c (print_version): Likewise.
58322 * debug/xtrace.sh: Likewise.
58323 * malloc/memusage.sh: Likewise.
58324 * malloc/mtrace.pl: Likewise.
58325 * debug/catchsegv.sh: Likewise.
58326
58327 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58328
58329 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58330 pure attribute.
58331
58332 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58333
58334 [BZ #13533]
58335 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58336 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58337 transformations.
58338 * iconv/gconv_int.h: Likewise.
58339 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58340 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58341 from libc for GLIBC_2.16.
58342 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58343 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58344 * wcsmbs/uchar.h: Really define mbstate_t.
58345 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58346 * wcsmbs/c16rtomb.c: New file.
58347 * wcsmbs/mbrtoc16.c: New file.
58348 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58349 for C/POSIX locale.
58350 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58351 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58352
58353 * wcsmbs/wchar.h: Add missing __restrict.
58354
58355 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58356
58357 [BZ #13532]
58358 * time/Makefile (routines): Add timespec_get.
58359 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58360 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58361 timespec for ISO C11.
58362 * time/timespec_get.c: New file.
58363 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58364 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58365
58366 [BZ #13531]
58367 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58368 * stdlib/stdlib.h: Declare aligned_alloc.
58369 * Versions.def: Add GLIBC_2.16 for libc.
58370 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58371
58372 [BZ 13527]
58373 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58374 ISO C11.
58375
58376 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58377 code.
58378
58379 [BZ #13528]
58380 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58381
58382 [BZ #13529]
58383 * assert/assert.h (static_assert): Define.
58384
58385 * version.h: Update for 2.16 development version.
58386
58387 [BZ #13526]
58388 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58389 _ISOC11_SOURCE.
58390
58391 * version.h (RELEASE): Bump for 2.15 release.
58392 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58393
58394 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58395 Patch by Marek Polacek <mpolacek@redhat.com>.
58396
58397 * bits/byteswap.h: Protect long long constants with __extension__.
58398 * sysdeps/i386/bits/byteswap.h: Likewise.
58399 * sysdeps/ia64/bits/byteswap.h: Likewise.
58400 * sysdeps/s390/bits/byteswap.h: Likewise.
58401 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58402
58403 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58404
58405 [BZ #13540]
58406 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58407 destination buffer.
58408 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58409
58410 2011-12-23 Marek Polacek <polacek@redhat.com>
58411
58412 * elf/dl-addr.c (determine_info): Add inline keyword.
58413 * elf/tst-auditmod4b.c (check_avx): Likewise.
58414 * elf/tst-auditmod6b.c (check_avx): Likewise.
58415 * elf/tst-auditmod6c.c (check_avx): Likewise.
58416 * elf/tst-auditmod7b.c (check_avx): Likewise.
58417
58418 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58419
58420 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58421 !__SSE_MATH__.
58422
58423 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58424
58425 [BZ #13540]
58426 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58427 processing for last bytes.
58428
58429 2011-08-06 Bruno Haible <bruno@clisp.org>
58430
58431 [BZ #13061]
58432 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58433 U+0385, not to U+1FEE.
58434
58435 [BZ #13062]
58436 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58437 entry for U+00A5 U+0301.
58438
58439 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58440
58441 [BZ #13166]
58442 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58443 buffer for the output is too small.
58444
58445 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58446 optimization.
58447
58448 [BZ #13185]
58449 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58450 SSE flags if possible.
58451
58452 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58453
58454 [BZ #13540]
58455 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58456 processing for last bytes.
58457
58458 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58459
58460 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58461 (syscall-list-default-options, syscall-list-default-condition)
58462 (syscall-list-includes): Define.
58463 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58464 list of ABIs and options and #if conditions for each ABI. Do not
58465 handle common syscalls between ABIs specially.
58466 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58467 Remove.
58468 (syscall-list-variants, syscall-list-32bit-options)
58469 (syscall-list-32bit-condition, syscall-list-64bit-options)
58470 (syscall-list-64bit-condition): Define.
58471 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58472 (syscall-list-variants, syscall-list-32bit-options)
58473 (syscall-list-32bit-condition, syscall-list-64bit-options)
58474 (syscall-list-64bit-condition): Define.
58475 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58476 Remove.
58477 (syscall-list-variants, syscall-list-32bit-options)
58478 (syscall-list-32bit-condition, syscall-list-64bit-options)
58479 (syscall-list-64bit-condition): Define.
58480 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58481 Remove.
58482 (syscall-list-variants, syscall-list-32bit-options)
58483 (syscall-list-32bit-condition, syscall-list-64bit-options)
58484 (syscall-list-64bit-condition): Define.
58485
58486 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58487
58488 * locale/iso-639.def: Add brx entry.
58489
58490 [BZ #13328]
58491 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58492 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58493
58494 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58495 __feraiseexcept_renamed.
58496
58497 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58498
58499 [BZ #13538]
58500 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58501 EPOLLET with unsigned values.
58502 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58503 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58504
58505 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58506 to large cancellation.
58507 * math/s_cacoshf.c: Likewise.
58508 * math/s_cacoshl.c: Likewise.
58509
58510 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58511
58512 [BZ #13305]
58513 [BZ #12786]
58514 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58515 * math/s_cacoshf.c: Likewise.
58516 * math/s_cacoshl.c: Likewise.
58517
58518 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58519
58520 [BZ #13439]
58521 * iconv/gconv.h: Define __GCONV_SWAP.
58522 * iconvdata/unicode.c: The swap bit must be stored in __flags.
58523 * iconvdata/utf-16.c: Likewise.
58524 * iconvdata/utf-32.c: Likewise.
58525
58526 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
58527
58528 [BZ #13524]
58529 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58530 numerator after shifting it by one limb.
58531
58532 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
58533
58534 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58535 under [__USE_EXTERN_INLINES].
58536
58537 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58538
58539 [BZ #13446]
58540 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58541
58542 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58543
58544 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58545 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58546 optimized code.
58547 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58548 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58549 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58550 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58551 for strncasecmp/strncasecmp_l compilation.
58552 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58553 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58554
58555 2011-12-08 Marek Polacek <mpolacek@redhat.com>
58556
58557 [BZ #13484]
58558 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58559 of __asm__.
58560
58561 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58562
58563 [BZ #13506]
58564 * time/tzfile.c (__tzfile_read): Check values from file header.
58565
58566 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
58567
58568 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58569 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58570 * powerpc/powerpc32/dl-start.S: Likewise.
58571 * powerpc/powerpc32/elf/start.S: Likewise.
58572 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58573 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58574 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58575 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58576 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58577 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58578 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58579 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58580 * powerpc/powerpc32/fpu/s_round.S: Likewise.
58581 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58582 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58583 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58584 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58585 * powerpc/powerpc32/memset.S: Likewise.
58586 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58587 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58588 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58589 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58590 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58591 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58592 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58593 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58594 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58595 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58596 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58597 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58598 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58599
58600 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58601
58602 * math/libm-test.inc: Added more nearbyint tests.
58603 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58604 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58605 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58606 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58607
58608 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
58609
58610 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58611 FD_CLOEXEC.
58612
58613 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58614
58615 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58616 Add wcscpy-ssse3 wcscpy-c.
58617 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58618 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58619 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58620 * sysdeps/x86_64/wcschr.S: New file.
58621 * sysdeps/x86_64/wcsrchr.S: New file.
58622 * string/test-strcmp.c: Remove checking of wcscmp function for
58623 wrong alignments.
58624 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58625 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58626 wcsrchr-sse2 wcsrchr-c.
58627 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58628 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58629 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58630 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58631 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58632 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58633 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58634 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58635 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58636 * wcsmbc/wcschr.c (WCSCHR): New macro.
58637
58638 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58639
58640 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58641 * wcsmbs/test-wcsrchr.c: New file.
58642 * string/test-strrchr.c: Add wcsrchr support.
58643 (WIDE): New macro.
58644 * wcsmbs/test-wcscpy.c: New file.
58645 * string/test-strcpy.c: Add wcscpy support.
58646 (WIDE): New macro.
58647
58648 2011-12-10 Ulrich Drepper <drepper@gmail.com>
58649
58650 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58651 the inner loop.
58652
58653 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
58654
58655 [BZ #13472]
58656 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58657
58658 2011-12-04 Ulrich Drepper <drepper@gmail.com>
58659
58660 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58661 Minor optimizations.
58662
58663 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58664 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58665 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58666
58667 2011-12-03 Ulrich Drepper <drepper@gmail.com>
58668
58669 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58670 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58671 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58672 for gcc to avoid warnings.
58673 * inet/Makefile (tests): Add tst-checks.
58674 * inet/tst-checks.c: New file.
58675
58676 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58677 warning.
58678
58679 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58680 __wmemcmp_sse2.
58681
58682 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58683 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58684
58685 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58686
58687 2011-12-02 Ulrich Drepper <drepper@gmail.com>
58688
58689 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58690 problem.
58691
58692 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58693
58694 2011-11-29 Joseph Myers <joseph@codesourcery.com>
58695
58696 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58697 conditional on GCC version.
58698 (__arch_compare_and_exchange_val_8_acq)
58699 (__arch_compare_and_exchange_val_16_acq)
58700 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58701 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58702 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58703
58704 2011-12-02 Joseph Myers <joseph@codesourcery.com>
58705
58706 * sysdeps/sh/backtrace.c: New file.
58707
58708 2011-12-02 Andreas Schwab <schwab@redhat.com>
58709
58710 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
58711 parenthesis.
58712
58713 2011-12-01 Andreas Schwab <schwab@redhat.com>
58714
58715 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58716 falling back to utime.
58717
58718 2011-11-30 Andreas Schwab <schwab@redhat.com>
58719
58720 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58721 expectations for float.
58722
58723 2011-11-29 Andreas Schwab <schwab@redhat.com>
58724
58725 * locale/weight.h (findidx): Add parameter len.
58726 * locale/weightwc.h (findidx): Likewise.
58727 * posix/fnmatch_loop.c (FCT): Adjust caller.
58728 * posix/regcomp.c (build_equiv_class): Likewise.
58729 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58730 * posix/regexec.c (check_node_accept_bytes): Likewise.
58731 * string/strcoll_l.c (STRCOLL): Likewise.
58732 * string/strxfrm_l.c (STRXFRM): Likewise.
58733
58734 2011-11-17 Ulrich Drepper <drepper@gmail.com>
58735
58736 * Makefile.in: Remove CVSOPT handling.
58737 * configure.in: Remove use of AC_REVISION.
58738 * iconvdata/Makefile (distribute): No need to filter out CVS.
58739 * scripts/list-sources.sh: Remove CVS, subversion and monotone
58740 handling.
58741
58742 2011-11-16 Andreas Schwab <schwab@redhat.com>
58743
58744 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58745 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58746 [USE_AS_STRNCASECMP_L]: Likewise.
58747 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58748 NO_TLS_DIRECT_SEG_REFS.
58749 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58750 Fix argument offsets for non-PIC.
58751 [USE_AS_STRNCASECMP_L]: Likewise.
58752 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58753 NO_TLS_DIRECT_SEG_REFS.
58754
58755 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58756
58757 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58758 O_CLOEXEC.
58759 * locale/loadlocale.c (_nl_load_locale): Likewise.
58760
58761 2011-11-15 Andreas Schwab <schwab@redhat.com>
58762
58763 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58764 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58765 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58766 (SYSCALL_GETTIME): Set errno on error.
58767
58768 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58769 count references to noai6ai_cached.
58770
58771 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58772
58773 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58774
58775 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58776 FD_CLOEXEC for /proc/self/maps.
58777
58778 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58779 FD_CLOEXEC for /proc/meminfo.
58780
58781 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58782 gai.conf.
58783
58784 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
58785 FD_CLOEXEC for given file.
58786
58787 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58788
58789 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58790 FD_CLOEXEC for /etc/hosts.
58791 (_gethtent): Likewise.
58792
58793 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58794
58795 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58796 cancellation and set FD_CLOEXEC for /etc/netgroup.
58797
58798 * nss/nss_files/files-key.c (search): Don't allow cancellation when
58799 reading /etc/publickey.
58800
58801 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58802 allow cancellation when reading /etc/group.
58803
58804 * nss/nss_files/files-alias.c (internal_setent): Don't allow
58805 cancellation.
58806 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
58807
58808 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58809 when using data file.
58810
58811 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58812
58813 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58814 (write_nis_obj): Use "c" and "e" in fopen.
58815
58816 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58817
58818 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58819
58820 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58821
58822 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58823
58824 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58825 locale.alias.
58826
58827 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58828
58829 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58830
58831 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58832
58833 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58834 file parsing and set FD_CLOEXEC.
58835
58836 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58837
58838 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58839
58840 2011-11-14 Andreas Schwab <schwab@redhat.com>
58841
58842 * malloc/arena.c (arena_get2): Don't call reused_arena when
58843 _int_new_arena failed.
58844
58845 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58846
58847 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58848 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58849 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58850 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58851 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58852 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58853 to compile strcasecmp and strncasecmp.
58854 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58855 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58856
58857 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58858
58859 2011-11-13 Ulrich Drepper <drepper@gmail.com>
58860
58861 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58862 locale-defines.sym to gen-as-const-headers.
58863 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58864 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58865 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58866 to compile strcasecmp and strncasecmp.
58867 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58868 strcasecmp_l and strncasecmp_l.
58869 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58870 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58871 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58872 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58873 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58874 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58875 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58876 * sysdeps/i386/i686/multiarch/strncase.S: New file.
58877 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58878 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58879 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58880
58881 2011-11-12 Ulrich Drepper <drepper@gmail.com>
58882
58883 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58884 result of SYSDEP_GETTIME_CPU to retval.
58885 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58886 parameter list to macro. Remove trailing semicolon. Adjust users.
58887
58888 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58889 variable.
58890
58891 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58892 mantissa words.
58893 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58894
58895 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58896 from unused variable.
58897
58898 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58899 DWARF definitions.
58900 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58901 for assembling.
58902
58903 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58904 over namespaces.
58905
58906 * sunrpc/rpc_prot.c (rejected): Fix case value.
58907
58908 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58909 unsigned long long int to avoid warnings in shift.
58910
58911 * posix/regex_internal.c (re_string_reconstruct): Actually use result
58912 of use of trans.
58913 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58914 variable tmp.
58915
58916 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58917 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58918 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58919
58920 * nis/nis_table.c (nis_list): Use variable of correct type for
58921 result of __follow_path call.
58922
58923 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58924
58925 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58926 of math functions ceil, trunc, floor, round, and sqrt, when
58927 avaliable on the platform.
58928 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58929 name clash.
58930 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58931 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58932 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58933
58934 2011-10-30 Marek Polacek <mpolacek@redhat.com>
58935
58936 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58937 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58938
58939 2011-11-11 Roland McGrath <roland@hack.frob.com>
58940
58941 * include/unistd.h: Fix __readlink return type.
58942 Reported by Chris Metcalf <cmetcalf@tilera.com>.
58943
58944 2011-11-11 Ulrich Drepper <drepper@gmail.com>
58945
58946 * stdlib/ucontext.h: Undo last change for makecontext.
58947
58948 2011-11-11 Andreas Schwab <schwab@redhat.com>
58949
58950 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58951
58952 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58953 * setjmp/setjmp.h: Mark functions as non-leaf.
58954 * setjmp/bits/setjmp2.h: Likewise.
58955 * stdlib/ucontext.h: Likewise.
58956
58957 2011-11-10 Andreas Schwab <schwab@redhat.com>
58958
58959 * malloc/arena.c (_int_new_arena): Don't increment narenas.
58960 (reused_arena): Don't check arena limit.
58961 (arena_get2): Atomically check arena limit.
58962
58963 2011-11-08 Ulrich Drepper <drepper@gmail.com>
58964
58965 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58966 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58967
58968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58969 instructions.
58970
58971 2011-11-07 Andreas Schwab <schwab@redhat.com>
58972
58973 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58974 handler when locking.
58975
58976 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58977 Fix size of allocated buffer.
58978
58979 2011-11-04 Andreas Schwab <schwab@redhat.com>
58980
58981 [BZ #10103]
58982 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58983 declarations for long double functions.
58984 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58985
58986 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58987
58988 2011-11-03 Andreas Schwab <schwab@redhat.com>
58989
58990 * nscd/nscd.c (main): Don't start AVC thread until credentials are
58991 installed.
58992
58993 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58994 is disabled.
58995
58996 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
58997
58998 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58999
59000 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59001
59002 * include/alloca.h (stackinfo_alloca_round): Define.
59003 (extend_alloca): Use it.
59004 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59005 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59006 here.
59007
59008 * scripts/check-local-headers.sh: Ignore libaudit.h.
59009
59010 * nscd/Makefile (extra-objs): Make recursively expanded.
59011
59012 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59013
59014 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59015 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59016
59017 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59018 * posix/tst-rfc3484-2.c: Likewise.
59019 * posix/tst-rfc3484-3.c: Likewise.
59020
59021 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59022 process_vm_writev.
59023 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59024 process_vm_writev.
59025 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59026 process_vm_writev from libc using GLIBC_2.15 version.
59027
59028 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59029
59030 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59031
59032 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59033 stack usage.
59034
59035 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59036
59037 [BZ #13367]
59038 * nss/getent.c (initgroups_keys): Show error message in case no group
59039 names are given.
59040
59041 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59042 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59043 __bump_nl_timestamp.
59044 * nscd/connections (nscd_init): When host database is served open
59045 netlink socket and request notification about configuration changes.
59046 (main_loop_poll): Track netlink file descriptor and bump timestamp
59047 in case data becomes available.
59048 (main_loop_epoll): Likewise.
59049 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59050 (database_pers_head): Add extra_data fileds.
59051 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59052 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59053 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59054 Adjust caller.
59055 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59056 in6ai data, call __free_in6ai.
59057 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59058 Add -DHAVE_NETLINK.
59059 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59060 interface information. Reuse previous data if netlink timestamp
59061 is not changed.
59062 (__bump_nl_timestamp): New function.
59063 (__free_in6ai): New function.
59064
59065 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59066
59067 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59068 close_not_cancel_no_status here.
59069 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59070
59071 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59072
59073 [BZ #13276]
59074 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59075 return value.
59076
59077 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59078 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59079 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59080
59081 2011-07-03 Andreas Jaeger <aj@suse.de>
59082
59083 [BZ #10709]
59084 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59085 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59086 * math/libm-test.inc (sin_test): Add test case.
59087
59088 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59089
59090 [BZ #13337]
59091 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59092 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59093
59094 * elf/chroot_canon.c (chroot_canon): Cleanups.
59095
59096 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59097
59098 [BZ #13335]
59099 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59100 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59101
59102 * string/test-strchr.c: Make usable for strchrnul testing.
59103 * string/test-strchrnul.c: New file.
59104 * string/Makefile (strop-tests): Add strchrnul.
59105
59106 * po/it.po: Update from translation team.
59107 * po/es.po: Likewise.
59108
59109 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59110
59111 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59112 the three constants needed as parameters. Drop the others.
59113 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59114 __m128i_strloadu_tolower.
59115 Create and initialize variable zero and use it in all the places
59116 where _mm_setzero_si128 was used.
59117
59118 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59119 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59120 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59121 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59122 anymore.
59123 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59124 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59125 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59126 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59127 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59128 __mpranred, __mptan.
59129 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59130 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59131 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59132 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59133 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59134 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59135 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59136 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59137 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59138
59139 2011-10-28 Andreas Schwab <schwab@redhat.com>
59140
59141 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59142 redefine if SHARED.
59143 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59144
59145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59146 wide char related routines to wcsmbs subdir.
59147
59148 2011-10-27 Andreas Schwab <schwab@redhat.com>
59149
59150 [BZ #13344]
59151 * misc/sys/cdefs.h (__THROWNL): Define.
59152 * posix/unistd.h: Use __THREADNL instead of __THREAD
59153 for memory synchronization functions.
59154
59155 2011-10-26 Roland McGrath <roland@hack.frob.com>
59156
59157 [BZ #13349]
59158 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59159 doesn't exist.
59160 * manual/stdio.texi (Obstack Streams): Node removed.
59161
59162 2011-10-26 Andreas Schwab <schwab@redhat.com>
59163
59164 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59165 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59166 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59167
59168 * math/math_private.h (math_force_eval): Allow non-addressable
59169 arguments.
59170 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59171
59172 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59173
59174 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59175 file is not needed.
59176
59177 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59178 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59179 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59180 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59181 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59182 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59183 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59184 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59185 Add AVX variants.
59186 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59187 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59188 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59189 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59190 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59191 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59192 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59193 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59194 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59195 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59196 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59197 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59198 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59199 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59200 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59201 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59202 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59203 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59204 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59205
59206 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59207 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59208
59209 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59210 place. Use VEX encoding when compiling for AVX.
59211
59212 2011-10-25 Andreas Schwab <schwab@redhat.com>
59213
59214 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59215 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59216
59217 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59218
59219 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59220
59221 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59222 useless if() expression.
59223 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59224 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59225 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59226 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59227 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59228 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59229 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59230 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59231 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59232 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59233 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59234 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59235 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59236 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59237 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59238 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59239 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59240 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59241 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59242
59243 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59244
59245 2011-10-25 Andreas Schwab <schwab@redhat.com>
59246
59247 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59248 condition.
59249 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59250
59251 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59252
59253 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59254 .text section. Avoid duplicate constants.
59255 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59256 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59257 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59258 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59259 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59260 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59261 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59262 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59263 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59264 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59265 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59266 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59267 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59268 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59269 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59270 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59271 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59272 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59273 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59274 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59275 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59276 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59277 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59278 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59279 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59280 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59281 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59282 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59283 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59284 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59285 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59286 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59287 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59288 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59289 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59290 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59291 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59292 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59293 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59294 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59295 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59296 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59297 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59298 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59299 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59300
59301 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59302
59303 * sysdeps/x86_64/dla.h: Move to ...
59304 * sysdeps/x86_64/fpu/dla.h: ...here.
59305 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59306 situations. Use __builtin_fma only for gcc 4.6 and up.
59307
59308 * config.make.in: Add have-mfma4 entry.
59309 * configure.in: Substitute libc_cv_cc_fma4.
59310 * math/Makefile (dbl-only-routines): Add sincostab.
59311 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59312 Use __sincostab not sincos.
59313 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59314 name is a macro.
59315 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59316 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59317 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59318 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59319 using __copysign.
59320 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59321 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59322 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59323 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59324 and __inv.
59325 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59326 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59327 __copysign.
59328 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59329 define aliases when function name is a macro.
59330 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59331 sysdeps/ieee754/dbl-64/sincos.tbl.
59332 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59333 fma4-enabled routines.
59334 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59335 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59336 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59337 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59338 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59339 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59340 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59341 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59342 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59343 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59344 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59345 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59346 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59347 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59348 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59349 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59350 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59351 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59352 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59353 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59354 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59355 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59356 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59357 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59358 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59359 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59360 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59361 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59362 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59363 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59364
59365 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59366 rename.
59367 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59368 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59369 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59371 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59372 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59373 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59374 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59375
59376 2011-10-24 Andreas Schwab <schwab@redhat.com>
59377
59378 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59379
59380 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59381
59382 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59383
59384 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59385 prediction.
59386 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59387
59388 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59389 Remove unused variable magic_bits.
59390 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59391
59392 * string/strnlen.c: Define and use STRNLEN macro.
59393 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59394 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59395 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59396 * wcsmbs/wcslen.c: Define and use WCSLEN.
59397 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59398 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59399 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59400 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59401 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59402 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59403 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59404
59405 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59406
59407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59408 strnlen-sse2-no-bsf.
59409 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59410 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59411 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59412 Add strnlen support.
59413 (USE_AS_STRNLEN): New macro.
59414 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59415 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59416 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59417 * sysdeps/x86_64/wcslen.S: New file.
59418
59419 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59420
59421 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59422 XMM-moves are used for copying on small sizes.
59423
59424 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59425
59426 * wcsmbs/Makefile (strop-tests): Add wcschr.
59427 * wcsmbs/test-wcschr.c: New file.
59428 * string/test-strchr.c: Update.
59429 Add wcschr support.
59430 (WIDE): New macro.
59431
59432 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59433
59434 * wcsmbs/Makefile (strop-tests): Add wcslen.
59435 * wcsmbs/test-wcslen.c: New file.
59436 * string/test-strlen.c: Update.
59437 Add wcslen support.
59438 (WIDE): New macro.
59439
59440 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59441
59442 * po/it.po: Update from translation team.
59443
59444 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59445
59446 * sysdeps/x86_64/wcscmp.S: Update.
59447 Fix wrong comparison semantics.
59448 wcscmp shall use signed comparison not unsigned.
59449 Don't use substraction to avoid overflow bug.
59450 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59451 * wcsmbc/wcscmp.c: Likewise.
59452 * string/test-strcmp.c: Likewise.
59453 Add new tests to check cases with negative values.
59454
59455 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59456
59457 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59458 * sysdeps/x86_64/dla.h: ...here. New file.
59459 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59460 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59462 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59464 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59465 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59466 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59467 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59468
59469 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59470
59471 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59472 __ynl_finite aliases.
59473
59474 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59475
59476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59477
59478 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59479 define DLA_FMA.
59480 [DLA_FMA] (EMULV): Use DLA_FMA.
59481 [DLA_FMA] (MUL12): Use EMULV.
59482 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59483 that are not needed.
59484 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59488 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59489 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59490 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59491
59492 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59493
59494 * math/s_nan.c: Undef __nan.
59495 * math/s_nanf.c: Undef __nanf.
59496 * math/s_nanl.c: Undef __nanl.
59497 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59498 "math_private.h".
59499
59500 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59501
59502 * math/s_catan.c: Add branch predictions.
59503 * math/s_catanf.c: Likewise.
59504 * math/s_catanh.c: Likewise.
59505 * math/s_catanhf.c: Likewise.
59506 * math/s_catanhl.c: Likewise.
59507 * math/s_catanl.c: Likewise.
59508 * math/s_cexp.c: Likewise.
59509 * math/s_cexpf.c: Likewise.
59510 * math/s_cexpl.c: Likewise.
59511 * math/s_clog.c: Likewise.
59512 * math/s_clog10.c: Likewise.
59513 * math/s_clog10f.c: Likewise.
59514 * math/s_clog10l.c: Likewise.
59515 * math/s_clogf.c: Likewise.
59516 * math/s_clogl.c: Likewise.
59517 * math/s_csqrt.c: Likewise.
59518 * math/s_csqrtf.c: Likewise.
59519 * math/s_csqrtl.c: Likewise.
59520 * math/s_ctanf.c: Likewise.
59521 * math/s_ctanh.c: Likewise.
59522 * math/s_ctanhf.c: Likewise.
59523 * math/s_ctanhl.c: Likewise.
59524 * math/s_ctanl.c: Likewise.
59525
59526 * math/math_private.h: Define __nan, __nanf, __nanl.
59527 * math/s_cacosh.c: Include <math_private.h>.
59528 * math/s_cacoshl.c: Likewise.
59529 * math/s_casinh.c: Likewise.
59530 * math/s_casinhf.c: Likewise.
59531 * math/s_casinhl.c: Likewise.
59532 * math/s_ccos.c: Rely entire on ccosh.
59533 * math/s_ccosf.c: Rely entire on ccoshf.
59534 * math/s_ccosl.c: Rely entirely on ccoshl.
59535 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
59536 Remove tests for FE_INVALID.
59537 * math/s_ccoshf.c: Likewise.
59538 * math/s_ccoshl.c: Likewise.
59539 * math/s_csin.c: Likewise.
59540 * math/s_csinf.c: Likewise.
59541 * math/s_csinh.c Likewise.
59542 * math/s_csinhf.c: Likewise.
59543 * math/s_csinhl.c: Likewise.
59544 * math/s_csinl.c: Likewise.
59545 * math/s_ctan.c: Likewise.
59546 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59547 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59548 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59549
59550 2011-10-21 Ulrich Drepper <drepper@gmail.com>
59551
59552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59553 compilation problems.
59554
59555 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59556 __builtin_expect.
59557
59558 2011-10-20 Ulrich Drepper <drepper@gmail.com>
59559
59560 * sysdeps/i386/configure.in: Test for -mfma4 option.
59561 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59562 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59563 COMMON_CPUID_INDEX_80000001.
59564 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59565 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59566 use it if FMA3 is not supported.
59567 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59568
59569 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59570 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59571
59572 2011-10-20 Andreas Schwab <schwab@redhat.com>
59573
59574 [BZ #12892]
59575 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59576 it would create a cycle with a link time dependency.
59577
59578 2011-10-19 Ulrich Drepper <drepper@gmail.com>
59579
59580 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59581 instruction.
59582 * string/Makefile (strop-tests): Add rawmemchr.
59583 * string/test-rawmemchr.c: New file.
59584
59585 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59586 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
59587 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
59588 when compiling str{,n}casecmp and when AVX is available. Hook up
59589 new optimized code in initializers.
59590
59591 2011-10-19 Andreas Schwab <schwab@redhat.com>
59592
59593 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59594 __feraiseexcept instead of feraiseexcept.
59595
59596 2011-10-18 Ulrich Drepper <drepper@gmail.com>
59597
59598 * math/math_private.h: Define defaults for libc_fetestexcept and
59599 libc_feupdateenv.
59600 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59601 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59602 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59603 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59604 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59605 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59606 libc_fetestexcept and libc_feupdateenv.
59607
59608 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59609 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59610 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59611 * sysdeps/x86_64/fpu/math_private.h: Define special version of
59612 libc_feholdexcept_setround.
59613
59614 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59615 Add s_nearbyint-c and s_nearbyintf-c.
59616 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59617 nearbyintf inlines.
59618 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59619 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59620 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59621 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59622
59623 * math/math_private.h: Define defaults for libc_fegetround,
59624 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59625 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59626 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59627 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59628 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59629 standard functions.
59630 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59631 Remove comments and hacks for old compiler versions.
59632 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59633 libc_fegetround, libc_fesetround, libc_feholdexcept, and
59634 libc_feholdexceptl.
59635
59636 2011-10-18 Andreas Schwab <schwab@redhat.com>
59637
59638 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59639 (__feraiseexcept_renamed): Add __NTH.
59640 (feraiseexcept): Add __NTH. Rename local variables to fix
59641 namespace violations.
59642
59643 2011-10-17 Ulrich Drepper <drepper@gmail.com>
59644
59645 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59646
59647 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59648
59649 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59650 recently added interfaces.
59651 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59652
59653 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59654 about macro parameter expansion.
59655
59656 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59657 __NO_MATH_INLINES is defined. Cleanups.
59658
59659 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59660 and __floorf is target has SSE4.1.
59661 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59662 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59663 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59664 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59665
59666 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59667 name.
59668 (floorf): Likewise.
59669
59670 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59671
59672 2011-10-17 Andreas Schwab <schwab@redhat.com>
59673
59674 * misc/sys/cdefs.h: Fix last change.
59675
59676 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59677 database lookup.
59678
59679 2011-10-16 Ulrich Drepper <drepper@gmail.com>
59680
59681 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59682
59683 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59684 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59685 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59686 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59687 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59688 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59689 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59690 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59691 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59692 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59693 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59694 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59695 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59696 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59697 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59698 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59699 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59700 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59701 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59702 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59703 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59704 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59705
59706 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59707 ceil, ceilf, floor, floorf.
59708
59709 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59710 Perform IRELATIVE relocations last.
59711
59712 * elf/do-rel.h: Add another parameter nrelative, replacing the
59713 local variable with the same name. Change name of the function
59714 to end in Rel or Rela (uppercase).
59715 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59716 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
59717 elf_dynamic_do_##reloc function.
59718
59719 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59720
59721 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59722 is sufficient, at least on modern CPUs.
59723
59724 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59725
59726 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59727 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59728
59729 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59730 __expl_finite.
59731 * math/bits/math-finite.h: Add entries for exp.
59732 * math/e_expl.c: Add __*_finite alias.
59733 * sysdeps/i386/fpu/e_exp.S: Likewise.
59734 * sysdeps/i386/fpu/e_expf.S: Likewise.
59735 * sysdeps/i386/fpu/e_expl.c: Likewise.
59736 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59737 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59738 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59739 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59740 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59741 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59742 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59743
59744 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59745 is sufficient, at least on modern CPUs.
59746
59747 * ctype/ctype-info.c (__ctype_init): Define.
59748 * include/ctype.h (__ctype_init): Declare.
59749 (__ctype_b_loc): The variable is always initialized.
59750 (__ctype_toupper_loc): Likewise.
59751 (__ctype_tolower_loc): Likewise.
59752 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59753 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59754
59755 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
59756
59757 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59758
59759 * configure.in: Also look in $cxxmachine/include for C++ system
59760 headers.
59761
59762 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59763
59764 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59765 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59766 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59767 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
59768 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59769 (USE_AS_WMEMCMP): New macro.
59770 Fixing indents.
59771 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59772 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59773 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59774 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59775 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59776 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59777 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59778 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59779 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59780 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59781 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59782 (USE_AS_WMEMCMP): New macro.
59783 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59784 * sysdeps/string/test-memcmp.c: Update.
59785 Fix simple_wmemcmp.
59786 Add new tests.
59787 * wcsmbs/wmemcmp.c: Update.
59788 (WMEMCMP): New macro.
59789 Fix overflow bug.
59790
59791 2011-10-12 Andreas Jaeger <aj@suse.de>
59792
59793 [BZ #13268]
59794 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59795
59796 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59797
59798 * libio/iofwide.c (do_length): Avoid warning.
59799
59800 * ctype/ctype.h (__isctype_f): Add missing __THROW.
59801
59802 2011-10-14 Ulrich Drepper <drepper@gmail.com>
59803
59804 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59805
59806 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59807 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59808 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59809 * sysdeps/i386/i686/fpu/e_log.S: New file.
59810 * sysdeps/i386/i686/fpu/e_logf.S: New file.
59811 * sysdeps/i386/i686/fpu/e_logl.S: New file.
59812
59813 * ctype/ctype.h: Add support for inlined isXXX functions when
59814 compiling C++ code.
59815
59816 2011-10-14 Andreas Schwab <schwab@redhat.com>
59817
59818 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59819
59820 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59821
59822 2011-10-13 Roland McGrath <roland@hack.frob.com>
59823
59824 [BZ #13291]
59825 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59826
59827 2011-10-13 Andreas Schwab <schwab@redhat.com>
59828
59829 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59830 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59831 feraiseexcept.
59832
59833 * sysdeps/x86_64/memrchr.S: Check for zero size.
59834
59835 * string/stratcliff.c: Add memrchr tests.
59836
59837 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59838
59839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59840 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59841 rawmemchr-sse2 rawmemchr-sse2-bsf.
59842 * sysdeps/i386/i686/multiarch/memchr.S: New file.
59843 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59844 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59845 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59846 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59847 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59848 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59849 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59850 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59851 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59852 * string/memrchr.c (MEMRCHR): New macro.
59853
59854 2011-10-12 Ulrich Drepper <drepper@gmail.com>
59855
59856 Add integration with gcc's -ffinite-math-only and optimize wrapper
59857 functions in libm.
59858 * Versions.def: Define GLIBC_2.15 version for libm.
59859 * math/Makefile (headers): Add bits/math-finite.h.
59860 * math/bits/math-finite.h: New file.
59861 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59862 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59863 * math/e_acoshl.c: Add __*_finite alias.
59864 * math/e_acosl.c: Likewise.
59865 * math/e_asinl.c: Likewise.
59866 * math/e_atan2l.c: Likewise.
59867 * math/e_atanhl.c: Likewise.
59868 * math/e_coshl.c: Likewise.
59869 * math/e_exp10.c: Likewise.
59870 * math/e_exp10f.c: Likewise.
59871 * math/e_exp10l.c: Likewise.
59872 * math/e_exp2l.c: Likewise.
59873 * math/e_fmodl.c: Likewise.
59874 * math/e_gammal_r.c: Likewise.
59875 * math/e_hypotl.c: Likewise.
59876 * math/e_j0l.c: Likewise.
59877 * math/e_j1l.c: Likewise.
59878 * math/e_jnl.c: Likewise.
59879 * math/e_lgammal_r.c: Likewise.
59880 * math/e_log10l.c: Likewise.
59881 * math/e_log2l.c: Likewise.
59882 * math/e_logl.c: Likewise.
59883 * math/e_powl.c: Likewise.
59884 * math/e_sinhl.c: Likewise.
59885 * math/e_sqrtl.c: Likewise.
59886 * math/e_scalb.c: Completely rewritten and optimized.
59887 * math/e_scalbf.c: Likewise.
59888 * math/e_scalbl.c: Likewise.
59889 * math/w_acos.c: Likewise.
59890 * math/w_acosf.c: Likewise.
59891 * math/w_acosl.c: Likewise.
59892 * math/w_acosh.c: Likewise.
59893 * math/w_acoshf.c: Likewise.
59894 * math/w_acoshl.c: Likewise.
59895 * math/w_asin.c: Likewise.
59896 * math/w_asinf.c: Likewise.
59897 * math/w_asinl.c: Likewise.
59898 * math/w_atan2.c: Likewise.
59899 * math/w_atan2f.c: Likewise.
59900 * math/w_atan2l.c: Likewise.
59901 * math/w_atanh.c: Likewise.
59902 * math/w_atanhf.c: Likewise.
59903 * math/w_atanhl.c: Likewise.
59904 * math/w_exp10.c: Likewise.
59905 * math/w_exp10f.c: Likewise.
59906 * math/w_exp10l.c: Likewise.
59907 * math/w_fmod.c: Likewise.
59908 * math/w_fmodf.c: Likewise.
59909 * math/w_fmodl.c: Likewise.
59910 * math/w_j0.c: Likewise.
59911 * math/w_j0f.c: Likewise.
59912 * math/w_j0l.c: Likewise.
59913 * math/w_j1.c: Likewise.
59914 * math/w_j1f.c: Likewise.
59915 * math/w_j1l.c: Likewise.
59916 * math/w_jn.c: Likewise.
59917 * math/w_jnf.c: Likewise.
59918 * math/w_log.c: Likewise.
59919 * math/w_logf.c: Likewise.
59920 * math/w_logl.c: Likewise.
59921 * math/w_log10.c: Likewise.
59922 * math/w_log10f.c: Likewise.
59923 * math/w_log10l.c: Likewise.
59924 * math/w_log2.c: Likewise.
59925 * math/w_log2f.c: Likewise.
59926 * math/w_log2l.c: Likewise.
59927 * math/w_pow.c: Likewise.
59928 * math/w_powf.c: Likewise.
59929 * math/w_powl.c: Likewise.
59930 * math/w_remainder.c: Likewise.
59931 * math/w_remainderf.c: Likewise.
59932 * math/w_remainderl.c: Likewise.
59933 * math/w_scalb.c: Likewise.
59934 * math/w_scalbf.c: Likewise.
59935 * math/w_scalbl.c: Likewise.
59936 * math/w_sqrt.c: Likewise.
59937 * math/w_sqrtf.c: Likewise.
59938 * math/w_sqrtl.c: Likewise.
59939 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59940 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
59941 used.
59942 * math/math_private.h: Declare __kernel_standard_f.
59943 * math/w_cosh.c: Remove cruft and optimize a bit.
59944 * math/w_coshf.c: Likewise.
59945 * math/w_coshl.c: Likewise.
59946 * math/w_exp2.c: Likewise.
59947 * math/w_exp2f.c: Likewise.
59948 * math/w_exp2l.c: Likewise.
59949 * math/w_hypot.c: Likewise.
59950 * math/w_hypotf.c: Likewise.
59951 * math/w_hypotl.c: Likewise.
59952 * math/w_lgamma.c: Likewise.
59953 * math/w_lgamma_r.c: Likewise.
59954 * math/w_lgammaf.c: Likewise.
59955 * math/w_lgammaf_r.c: Likewise.
59956 * math/w_lgammal.c: Likewise.
59957 * math/w_lgammal_r.c: Likewise.
59958 * math/w_sinh.c: Likewise.
59959 * math/w_sinhf.c: Likewise.
59960 * math/w_sinhl.c: Likewise.
59961 * math/w_tgamma.c: Likewise.
59962 * math/w_tgammaf.c: Likewise.
59963 * math/w_tgammal.c: Likewise.
59964 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59965 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59966 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59967 Minor optimizations. Pretty printing. Remove cruft.
59968 * sysdeps/i386/fpu/e_acosf.S: Likewise.
59969 * sysdeps/i386/fpu/e_acosh.S: Likewise.
59970 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59971 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59972 * sysdeps/i386/fpu/e_acosl.c: Likewise.
59973 * sysdeps/i386/fpu/e_asin.S: Likewise.
59974 * sysdeps/i386/fpu/e_asinf.S: Likewise.
59975 * sysdeps/i386/fpu/e_atan2.S: Likewise.
59976 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59977 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59978 * sysdeps/i386/fpu/e_atanh.S: Likewise.
59979 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59980 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59981 * sysdeps/i386/fpu/e_exp10.S: Likewise.
59982 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59983 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59984 * sysdeps/i386/fpu/e_exp2.S: Likewise.
59985 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59986 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59987 * sysdeps/i386/fpu/e_fmod.S: Likewise.
59988 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59989 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59990 * sysdeps/i386/fpu/e_hypot.S: Likewise.
59991 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59992 * sysdeps/i386/fpu/e_log.S: Likewise.
59993 * sysdeps/i386/fpu/e_log10.S: Likewise.
59994 * sysdeps/i386/fpu/e_log10f.S: Likewise.
59995 * sysdeps/i386/fpu/e_log10l.S: Likewise.
59996 * sysdeps/i386/fpu/e_log2.S: Likewise.
59997 * sysdeps/i386/fpu/e_log2f.S: Likewise.
59998 * sysdeps/i386/fpu/e_log2l.S: Likewise.
59999 * sysdeps/i386/fpu/e_logf.S: Likewise.
60000 * sysdeps/i386/fpu/e_logl.S: Likewise.
60001 * sysdeps/i386/fpu/e_pow.S: Likewise.
60002 * sysdeps/i386/fpu/e_powf.S: Likewise.
60003 * sysdeps/i386/fpu/e_powl.S: Likewise.
60004 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60005 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60006 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60007 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60008 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60009 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60010 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60011 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60012 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60013 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60014 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60016 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60017 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60018 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60019 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60020 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60021 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60022 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60023 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60024 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60026 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60027 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60028 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60029 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60030 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60031 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60032 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60033 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60034 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60035 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60036 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60037 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60038 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60039 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60040 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60041 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60042 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60043 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60044 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60045 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60046 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60047 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60048 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60049 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60050 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60051 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60052 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60053 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60054 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60055 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60056 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60057 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60058 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60059 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60060 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60061 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60062 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60063 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60064 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60065 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60066 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60067 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60068 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60069 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60070 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60071 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60072 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60073 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60074 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60075 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60076 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60077 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60078 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60079 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60080 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60081 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60082 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60083 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60084 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60085 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60086 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60087 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60088 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60089 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60090 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60091 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60092 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60093 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60094 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60095 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60096 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60097 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60098 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60099 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60100 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60101 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60102 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60103 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60104 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60105 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60106 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60107 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60108 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60109 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60110 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60111 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60112 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60113 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60114 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60115 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60116 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60117 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60118 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60119 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60120 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60121 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60122 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60123 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60124 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60125 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60126 (__isnanf): Likewise.
60127 (__isinf_ns): Likewise.
60128 (__isinf_nsf): Likewise.
60129 (__finite): Likewise.
60130 (__finitef): Likewise.
60131 (__ieee754_sqrt): Define as macro.
60132 (__ieee754_sqrtf): Define as macro.
60133 (__ieee754_sqrtl): Define as macro.
60134 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60135 inlined copy.
60136 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60137 __FINITE_MATH_ONLY__ consistent.
60138 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60139
60140 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60141
60142 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60143 of rawmemchr.
60144
60145 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60146
60147 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60148
60149 * po/ja.po: Update from translation team.
60150
60151 2011-10-08 Roland McGrath <roland@hack.frob.com>
60152
60153 * locale/programs/locarchive.c (prepare_address_space): New function.
60154 (create_archive, enlarge_archive, open_archive): Use it.
60155
60156 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60157 inside [SHARED], where it is used.
60158
60159 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60160
60161 * nss/getent.c (netgroup_keys): Remove unused variable.
60162 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60163
60164 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60165
60166 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60167 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60168 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60169 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60170 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60171 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60172 * math/Makefile (libm-calls): Add s_isinf_ns.
60173 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60174 * math/multc3.c: Likewise.
60175 * math/s_casin.c: Likewise.
60176 * math/s_casinf.c: Likewise.
60177 * math/s_casinl.c: Likewise.
60178 * math/s_ccos.c: Likewise.
60179 * math/s_ccosf.c: Likewise.
60180 * math/s_ccosl.c: Likewise.
60181 * math/s_ctan.c: Likewise.
60182 * math/s_ctanf.c: Likewise.
60183 * math/s_ctanh.c: Likewise.
60184 * math/s_ctanhf.c: Likewise.
60185 * math/s_ctanhl.c: Likewise.
60186 * math/s_ctanl.c: Likewise.
60187 * math/w_fmod.c: Likewise.
60188 * math/w_fmodf.c: Likewise.
60189 * math/w_fmodl.c: Likewise.
60190 * math/w_remainder.c: Likewise.
60191 * math/w_remainderf.c: Likewise.
60192 * math/w_remainderl.c: Likewise.
60193 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60194 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60195 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60196 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60197 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60198 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60199 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60200 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60201
60202 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60203 of the number.
60204 * stdio-common/printf_fphex.c: Likewise.
60205 * stdio-common/printf_size.c: Likewise.
60206
60207 * math/e_exp10.c: Include math_private.h using <...> not "...".
60208 * math/e_exp10f.c: Likewise.
60209 * math/e_exp10l.c: Likewise.
60210 * math/e_exp2l.c: Likewise.
60211 * math/e_j0l.c: Likewise.
60212 * math/e_j1l.c: Likewise.
60213 * math/e_jnl.c: Likewise.
60214 * math/e_lgammal_r.c: Likewise.
60215 * math/e_rem_pio2l.c: Likewise.
60216 * math/e_scalb.c: Likewise.
60217 * math/e_scalbf.c: Likewise.
60218 * math/e_scalbl.c: Likewise.
60219 * math/k_cosl.c: Likewise.
60220 * math/k_sinl.c: Likewise.
60221 * math/k_tanl.c: Likewise.
60222 * math/s_cacoshf.c: Likewise.
60223 * math/s_catan.c: Likewise.
60224 * math/s_catanf.c: Likewise.
60225 * math/s_catanh.c: Likewise.
60226 * math/s_catanhf.c: Likewise.
60227 * math/s_catanhl.c: Likewise.
60228 * math/s_catanl.c: Likewise.
60229 * math/s_ccosh.c: Likewise.
60230 * math/s_ccoshf.c: Likewise.
60231 * math/s_ccoshl.c: Likewise.
60232 * math/s_cexp.c: Likewise.
60233 * math/s_cexpf.c: Likewise.
60234 * math/s_cexpl.c: Likewise.
60235 * math/s_clog.c: Likewise.
60236 * math/s_clog10.c: Likewise.
60237 * math/s_clog10f.c: Likewise.
60238 * math/s_clog10l.c: Likewise.
60239 * math/s_clogf.c: Likewise.
60240 * math/s_clogl.c: Likewise.
60241 * math/s_csin.c: Likewise.
60242 * math/s_csinf.c: Likewise.
60243 * math/s_csinh.c: Likewise.
60244 * math/s_csinhf.c: Likewise.
60245 * math/s_csinhl.c: Likewise.
60246 * math/s_csinl.c: Likewise.
60247 * math/s_csqrt.c: Likewise.
60248 * math/s_csqrtf.c: Likewise.
60249 * math/s_csqrtl.c: Likewise.
60250 * math/s_ctan.c: Likewise.
60251 * math/s_ctanf.c: Likewise.
60252 * math/s_ctanh.c: Likewise.
60253 * math/s_ctanhf.c: Likewise.
60254 * math/s_ctanhl.c: Likewise.
60255 * math/s_ctanl.c: Likewise.
60256 * math/s_ldexp.c: Likewise.
60257 * math/s_ldexpf.c: Likewise.
60258 * math/s_ldexpl.c: Likewise.
60259 * math/s_significand.c: Likewise.
60260 * math/s_significandf.c: Likewise.
60261 * math/s_significandl.c: Likewise.
60262 * math/w_acos.c: Likewise.
60263 * math/w_acosf.c: Likewise.
60264 * math/w_acosh.c: Likewise.
60265 * math/w_acoshf.c: Likewise.
60266 * math/w_acoshl.c: Likewise.
60267 * math/w_acosl.c: Likewise.
60268 * math/w_asin.c: Likewise.
60269 * math/w_asinf.c: Likewise.
60270 * math/w_asinl.c: Likewise.
60271 * math/w_atan2.c: Likewise.
60272 * math/w_atan2f.c: Likewise.
60273 * math/w_atan2l.c: Likewise.
60274 * math/w_atanh.c: Likewise.
60275 * math/w_atanhf.c: Likewise.
60276 * math/w_atanhl.c: Likewise.
60277 * math/w_cosh.c: Likewise.
60278 * math/w_coshf.c: Likewise.
60279 * math/w_coshl.c: Likewise.
60280 * math/w_dremf.c: Likewise.
60281 * math/w_exp10.c: Likewise.
60282 * math/w_exp10f.c: Likewise.
60283 * math/w_exp10l.c: Likewise.
60284 * math/w_exp2.c: Likewise.
60285 * math/w_exp2f.c: Likewise.
60286 * math/w_fmod.c: Likewise.
60287 * math/w_fmodf.c: Likewise.
60288 * math/w_fmodl.c: Likewise.
60289 * math/w_hypot.c: Likewise.
60290 * math/w_hypotf.c: Likewise.
60291 * math/w_hypotl.c: Likewise.
60292 * math/w_j0.c: Likewise.
60293 * math/w_j0f.c: Likewise.
60294 * math/w_j0l.c: Likewise.
60295 * math/w_j1.c: Likewise.
60296 * math/w_j1f.c: Likewise.
60297 * math/w_j1l.c: Likewise.
60298 * math/w_jn.c: Likewise.
60299 * math/w_jnf.c: Likewise.
60300 * math/w_jnl.c: Likewise.
60301 * math/w_lgamma.c: Likewise.
60302 * math/w_lgamma_r.c: Likewise.
60303 * math/w_lgammaf.c: Likewise.
60304 * math/w_lgammaf_r.c: Likewise.
60305 * math/w_lgammal.c: Likewise.
60306 * math/w_lgammal_r.c: Likewise.
60307 * math/w_log.c: Likewise.
60308 * math/w_log10.c: Likewise.
60309 * math/w_log10f.c: Likewise.
60310 * math/w_log10l.c: Likewise.
60311 * math/w_log2.c: Likewise.
60312 * math/w_log2f.c: Likewise.
60313 * math/w_log2l.c: Likewise.
60314 * math/w_logf.c: Likewise.
60315 * math/w_logl.c: Likewise.
60316 * math/w_pow.c: Likewise.
60317 * math/w_powf.c: Likewise.
60318 * math/w_powl.c: Likewise.
60319 * math/w_remainder.c: Likewise.
60320 * math/w_remainderf.c: Likewise.
60321 * math/w_remainderl.c: Likewise.
60322 * math/w_scalb.c: Likewise.
60323 * math/w_scalbf.c: Likewise.
60324 * math/w_scalbl.c: Likewise.
60325 * math/w_sinh.c: Likewise.
60326 * math/w_sinhf.c: Likewise.
60327 * math/w_sinhl.c: Likewise.
60328 * math/w_sqrt.c: Likewise.
60329 * math/w_sqrtf.c: Likewise.
60330 * math/w_sqrtl.c: Likewise.
60331 * math/w_tgamma.c: Likewise.
60332 * math/w_tgammaf.c: Likewise.
60333 * math/w_tgammal.c: Likewise.
60334
60335 * po/ja.po: Update from translation team.
60336
60337 2011-09-29 Andreas Jaeger <aj@suse.de>
60338
60339 [BZ #13179]
60340 * sunrpc/netname.c (netname2host): Fix logic.
60341
60342 [BZ #6779]
60343 [BZ #6783]
60344 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60345 correctly.
60346 * math/w_remainder.c (__remainder): Likewise.
60347 * math/w_remainderf.c (__remainderf): Likewise.
60348 * math/libm-test.inc (remainder_test): Add test cases.
60349
60350 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60351
60352 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60353 sdiv_qrnnd.
60354
60355 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60356
60357 * string/test-memcmp.c: Avoid unncessary #defines.
60358 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60359
60360 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60361
60362 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60363 Use new sse2 version for core i3 - i7 as it's faster
60364 than sse42 version.
60365 (bit_Prefer_PMINUB_for_stringop): New.
60366 * sysdeps/x86_64/rawmemchr.S: Update.
60367 Replace with faster SSE2 version.
60368 * sysdeps/x86_64/memrchr.S: New file.
60369 * sysdeps/x86_64/memchr.S: Update.
60370 Replace with faster SSE2 version.
60371
60372 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60373
60374 * elf/dl-load.c (lose): Add cast to avoid warning.
60375
60376 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60377
60378 * po/ca.po: Update from translation team.
60379
60380 * inet/getnetgrent_r.c: Hook up nscd.
60381 * nscd/Makefile (routines): Add nscd_netgroup.
60382 (nscd-modules): Add netgroupcache.
60383 (CFLAGS-netgroupcache.c): Define.
60384 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60385 (cache_search): Add const to second parameter.
60386 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60387 INNETGR.
60388 (dbs): Add netgrdb entry.
60389 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60390 (verify_persistent_db): Handle netgrdb.
60391 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60392 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60393 GETFDNETGR.
60394 (netgroup_response_header): Define.
60395 (innetgroup_response_header): Define.
60396 (datahead): Add netgroup_response_header and innetgroup_response_header
60397 elements.
60398 * nscd/nscd.conf: Add entries for netgroup cache.
60399 * nscd/nscd.h (dbtype): Add netgrdb.
60400 (_PATH_NSCD_NETGROUP_DB): Define.
60401 (netgroup_iov_disabled): Declare.
60402 (xmalloc, xcalloc, xrealloc): Move declarations here.
60403 (cache_search): Adjust prototype.
60404 Add netgroup-related prototypes.
60405 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60406 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60407 (__nscd_innetgr): Declare.
60408 * nscd/selinux.c (perms): Use access_vector_t as element type and
60409 add netgroup-related initializers.
60410 * nscd/netgroupcache.c: New file.
60411 * nscd/nscd_netgroup.c: New file.
60412 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60413 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60414 For four parameters use innetgr.
60415 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60416 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60417 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60418 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60419
60420 * nscd/connections.c (register_traced_file): Don't register file
60421 for disabled databases.
60422
60423 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60424
60425 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60426
60427 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60428 from tree and freeing node.
60429
60430 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60431
60432 * nss/nsswitch.c (__nss_database_lookup): Handle
60433 nss_parse_service_list out of memory case.
60434
60435 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60436
60437 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60438 out of memory case.
60439
60440 2011-10-04 Andreas Schwab <schwab@redhat.com>
60441
60442 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60443 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60444 pass it down.
60445 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60446 elf_machine_rela, elf_machine_lazy_rel.
60447 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60448 (ELF_DYNAMIC_DO_REL): Likewise.
60449 (ELF_DYNAMIC_DO_RELA): Likewise.
60450 (ELF_DYNAMIC_RELOCATE): Likewise.
60451 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60452 to ELF_DYNAMIC_DO_REL.
60453 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60454 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60455 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60456 elf_machine_rela.
60457 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60458 skip_ifunc, don't call ifunc function if non-zero.
60459 (elf_machine_rela): Likewise.
60460 (elf_machine_lazy_rel): Likewise.
60461 (elf_machine_lazy_rela): Likewise.
60462 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60463 (elf_machine_lazy_rel): Likewise.
60464 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60465 Likewise.
60466 (elf_machine_lazy_rel): Likewise.
60467 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60468 Likewise.
60469 (elf_machine_lazy_rel): Likewise.
60470 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60471 (elf_machine_lazy_rel): Likewise.
60472 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60473 (elf_machine_lazy_rel): Likewise.
60474 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60475 (elf_machine_lazy_rel): Likewise.
60476 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60477 (elf_machine_lazy_rel): Likewise.
60478 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60479 (elf_machine_lazy_rel): Likewise.
60480 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60481 (elf_machine_lazy_rel): Likewise.
60482
60483 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60484
60485 * nss/nss_files/files-init.c (_nss_files_init): Use static
60486 initialization for all the *_traced_file variables.
60487
60488 2011-09-28 Andreas Schwab <schwab@redhat.com>
60489
60490 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60491
60492 2011-09-27 Roland McGrath <roland@hack.frob.com>
60493
60494 [BZ #13226]
60495 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60496
60497 2011-09-27 Andreas Schwab <schwab@redhat.com>
60498
60499 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60500 Reread the line before reparsing it.
60501
60502 2011-09-26 Andreas Schwab <schwab@redhat.com>
60503
60504 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60505
60506 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60507 Maxim Kuvyrkov <maxim@codesourcery.com>
60508 Joseph Myers <joseph@codesourcery.com>
60509
60510 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60511 if needed for __stack_chk_guard.
60512
60513 2011-09-19 Roland McGrath <roland@hack.frob.com>
60514
60515 * sysdeps/posix/spawni.c (script_execute): Always define it.
60516 It will be optimized away if unused.
60517 (maybe_script_execute): New function.
60518 (__spawni): Call it.
60519
60520 * Makerules: Don't include tls.make.
60521 (config-tls): Always set to thread.
60522 * tls.make.c: File removed.
60523
60524 2011-09-19 Mike Frysinger <vapier@gentoo.org>
60525
60526 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60527 * config.make.in (CPPFLAGS-config): New substituted variable.
60528
60529 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60530
60531 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60532
60533 [BZ #13192]
60534 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60535 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60536
60537 2011-09-15 Roland McGrath <roland@hack.frob.com>
60538
60539 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60540 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60541 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60542 (CALL_FAIL): Likewise.
60543 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60544 (CALL_FAIL): Macro removed.
60545 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60546
60547 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60548
60549 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60550 for __FINITE_MATH_ONLY__ == 1.
60551
60552 2011-09-15 Andreas Schwab <schwab@redhat.com>
60553
60554 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60555 __ieee754_sqrt instead of sqrt.
60556 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60557 __ieee754_sqrtf instead of sqrtf.
60558 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60559 __floorf instead of floorf.
60560 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60561 __floorf, __truncf instead of floorf, truncf.
60562
60563 2011-09-14 Ulrich Drepper <drepper@gmail.com>
60564
60565 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60566
60567 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60568 __extern_always_inline.
60569 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60570 32-bit.
60571
60572 2011-09-14 Andreas Schwab <schwab@redhat.com>
60573
60574 * elf/rtld.c (dl_main): Also relocate in dependency order when
60575 doing symbol dependency testing.
60576
60577 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
60578
60579 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60580 Always define `refsym'.
60581
60582 2011-09-13 Andreas Schwab <schwab@redhat.com>
60583
60584 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60585 (__FD_ELT): Renamed from __FDELT.
60586 * misc/bits/select2.h (__FD_ELT): Likewise.
60587 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60588 __FD_MASK instead of __FDELT, __FDMASK.
60589 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60590 Likewise.
60591 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60592 Likewise.
60593
60594 * elf/Makefile (gen-ldd): Fix pattern.
60595
60596 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60597 (init_tls): Likewise.
60598
60599 2011-09-12 Ulrich Drepper <drepper@gmail.com>
60600
60601 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60602
60603 2011-09-12 Andreas Schwab <schwab@redhat.com>
60604
60605 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60606 `struct cmsghdr *' instead of `void *'.
60607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60608 Likewise.
60609
60610 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
60611
60612 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60613 if non-absolute.
60614 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60615 ldd_rewrite_script.
60616
60617 2011-09-11 Ulrich Drepper <drepper@gmail.com>
60618
60619 * configure.in: Remove --with-tls option.
60620 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60621 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60622 out in case it is missing.
60623 * sysdeps/ia64/elf/configure.in: Likewise.
60624 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60625 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60626 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60627 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60628 * sysdeps/sh/elf/configure.in: Likewise.
60629 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60630 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60631 * sysdeps/x86_64/elf/configure.in: Likewise.
60632 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60633 * sysdeps/mach/hurd/tls.h: Likewise.
60634
60635 [BZ #13067]
60636 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60637
60638 [BZ #13090]
60639 * configure.in: Fix use of AC_INIT.
60640
60641 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60642
60643 2011-09-10 Ulrich Drepper <drepper@gmail.com>
60644
60645 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60646 __set_errno.
60647 * malloc/hooks.c: Likewise.
60648
60649 [BZ #11929]
60650 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
60651 variables statically.
60652 (narenas): Initialize.
60653 (list_lock): Initialize.
60654 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
60655 initializtion of main_arena and list_lock. Small cleanups.
60656 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60657 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
60658 Add initializers to main_arena and mp_.
60659 (malloc_state): Remove pagesize member. Change all users to use
60660 GLRO(dl_pagesize).
60661
60662 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60663 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
60664 is always initialized.
60665
60666 * malloc/malloc.c: Removed unused configurations and dead code.
60667 * malloc/arena.c: Likewise.
60668 * malloc/hooks.c: Likewise.
60669 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60670
60671 * include/tls.h: Removed. USE___THREAD must always be defined.
60672 * bits/libc-tsd.h: Don't handle !USE___THREAD.
60673 * elf/dl-libc.c: Likewise.
60674 * elf/dl-tsd.c: Likewise.
60675 * include/errno.h: Likewise.
60676 * include/netdb.h: Likewise.
60677 * include/resolv.h: Likewise.
60678 * inet/herrno-loc.c: Likewise.
60679 * inet/herrno.c: Likewise.
60680 * malloc/arena.c: Likewise.
60681 * malloc/hooks.c: Likewise.
60682 * malloc/malloc.c: Likewise.
60683 * resolv/res-state.c: Likewise.
60684 * resolv/res_libc.c: Likewise.
60685 * sysdeps/i386/dl-machine.h: Likewise.
60686 * sysdeps/ia64/dl-machine.h: Likewise.
60687 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60688 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60689 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60690 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60691 * sysdeps/sh/dl-machine.h: Likewise.
60692 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60693 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60694 * sysdeps/unix/i386/sysdep.S: Likewise.
60695 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60696 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60697 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60698 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60699 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60700 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60701 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60703 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60704 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60705 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60706 * sysdeps/x86_64/dl-machine.h: Likewise.
60707 * tls.make.c: Likewise.
60708
60709 * configure.in: Remove --with-__thread option. Make tests for
60710 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60711 tls_model attribute fail if no support is available. Remove
60712 USE_IN_LIBIO.
60713 * Makeconfig: Adjust for dropped configure option. All features are
60714 now mandatory.
60715 * Makerules: Likewise.
60716 * Versions.def: Likewise.
60717 * argp/argp-fmtstream.c: Likewise.
60718 * argp/argp-fmtstream.h: Likewise.
60719 * argp/argp-help.c: Likewise.
60720 * assert/assert.c: Likewise.
60721 * config.h.in: Likewise.
60722 * config.make.in: Likewise.
60723 * configure: Likewise.
60724 * configure.in: Likewise.
60725 * csu/Versions: Likewise.
60726 * csu/init.c: Likewise.
60727 * elf/tst-audit2.c: Likewise.
60728 * elf/tst-tls10.c: Likewise.
60729 * elf/tst-tls10.h: Likewise.
60730 * elf/tst-tls11.c: Likewise.
60731 * elf/tst-tls12.c: Likewise.
60732 * elf/tst-tls14.c: Likewise.
60733 * elf/tst-tlsmod11.c: Likewise.
60734 * elf/tst-tlsmod12.c: Likewise.
60735 * elf/tst-tlsmod13.c: Likewise.
60736 * elf/tst-tlsmod13a.c: Likewise.
60737 * elf/tst-tlsmod14a.c: Likewise.
60738 * elf/tst-tlsmod15b.c: Likewise.
60739 * elf/tst-tlsmod16a.c: Likewise.
60740 * elf/tst-tlsmod16b.c: Likewise.
60741 * elf/tst-tlsmod7.c: Likewise.
60742 * elf/tst-tlsmod8.c: Likewise.
60743 * elf/tst-tlsmod9.c: Likewise.
60744 * gmon/gmon.c: Likewise.
60745 * grp/fgetgrent_r.c: Likewise.
60746 * grp/putgrent.c: Likewise.
60747 * hurd/fopenport.c: Likewise.
60748 * include/libc-symbols.h: Likewise.
60749 * include/tls.h: Likewise.
60750 * intl/gettextP.h: Likewise.
60751 * intl/loadinfo.h: Likewise.
60752 * locale/global-locale.c: Likewise.
60753 * locale/localeinfo.h: Likewise.
60754 * mach/devstream.c: Likewise.
60755 * malloc/arena.c: Likewise.
60756 * malloc/set-freeres.c: Likewise.
60757 * misc/err.c: Likewise.
60758 * misc/getttyent.c: Likewise.
60759 * misc/mntent_r.c: Likewise.
60760 * posix/getopt.c: Likewise.
60761 * posix/wordexp.c: Likewise.
60762 * pwd/fgetpwent_r.c: Likewise.
60763 * resolv/Versions: Likewise.
60764 * resolv/res_hconf.c: Likewise.
60765 * shadow/fgetspent_r.c: Likewise.
60766 * shadow/putspent.c: Likewise.
60767 * stdio-common/printf_fphex.c: Likewise.
60768 * stdio-common/tmpfile.c: Likewise.
60769 * stdlib/abort.c: Likewise.
60770 * stdlib/fmtmsg.c: Likewise.
60771 * sunrpc/auth_unix.c: Likewise.
60772 * sunrpc/clnt_perr.c: Likewise.
60773 * sunrpc/clnt_tcp.c: Likewise.
60774 * sunrpc/clnt_udp.c: Likewise.
60775 * sunrpc/clnt_unix.c: Likewise.
60776 * sunrpc/openchild.c: Likewise.
60777 * sunrpc/svc_simple.c: Likewise.
60778 * sunrpc/svc_tcp.c: Likewise.
60779 * sunrpc/svc_udp.c: Likewise.
60780 * sunrpc/svc_unix.c: Likewise.
60781 * sunrpc/xdr.c: Likewise.
60782 * sunrpc/xdr_array.c: Likewise.
60783 * sunrpc/xdr_rec.c: Likewise.
60784 * sunrpc/xdr_ref.c: Likewise.
60785 * sunrpc/xdr_stdio.c: Likewise.
60786
60787 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60788
60789 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60790
60791 2011-07-03 Andreas Jaeger <aj@suse.de>
60792
60793 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60794 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60795 regenerate with gen-libm-tests.pl.
60796
60797 2010-05-12 Petr Baudis <pasky@suse.cz>
60798
60799 [BZ #11589]
60800 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60801 around j0() zero points by switching to j1().
60802 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60803 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60804 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60805 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60806
60807 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60808
60809 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60810 instead of 0.
60811 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60812 instead of 0.
60813 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60814 Patch in part by Pavel Roskin <proski@gnu.org>.
60815
60816 [BZ #13138]
60817 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60818 realloc.
60819 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
60820 Free memory block if necessary.
60821
60822 [BZ #12847]
60823 * libio/genops.c (INTDEF): For string streams the _lock pointer can
60824 be NULL. Don't lock in this case.
60825
60826 2011-09-09 Roland McGrath <roland@hack.frob.com>
60827
60828 * elf/elf.h (ELFOSABI_GNU): New macro.
60829 (ELFOSABI_LINUX): Define to that.
60830
60831 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
60832
60833 * string/strncat.c (strncat): Undef the symbol in case it has been
60834 defined in bits/string.h.
60835
60836 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60837
60838 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60839
60840 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60841 link map.
60842
60843 2011-08-17 Andreas Jaeger <aj@suse.de>
60844
60845 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60846
60847 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
60848 Ian Lance Taylor <iant@google.com>
60849
60850 * math/libm-test.inc (lround_test): New testcase.
60851 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60852
60853 2011-09-08 Ulrich Drepper <drepper@gmail.com>
60854
60855 * Makefile: Remove support for automatic cvs check-ins.
60856 * Makerules: Likewise.
60857 * config.make.in: Likewise.
60858 * configure.in: Likewise.
60859 * intl/Makefile: Likewise.
60860 * locale/Makefile: Likewise.
60861 * po/Makefile: Likewise.
60862 * posix/Makefile: Likewise.
60863 * sysdeps/gnu/Makefile: Likewise.
60864 * sysdeps/mach/hurd/Makefile: Likewise.
60865 * sysdeps/sparc/sparc32/Makefile: Likewise.
60866
60867 [BZ #13118]
60868 * posix/Makefile (bug-regex32-ENV): Define.
60869 Patch by John Stanley <jpsinthemix@verizon.net>.
60870
60871 * misc/Makefile (headers): Add bits/select2.h.
60872 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60873 * misc/bits/select2.h: New file.
60874 * include/bits/select2.h: New file.
60875 * debug/Makefile (routines): Add fdelt_chk.
60876 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60877 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60878 FD_ISSET.
60879 * debug/fdelt_chk.c: New file.
60880
60881 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
60882 * wcsmbs/test-wmemcmp.c: Likewise.
60883 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60884 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60885
60886 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60887
60888 * string/Makefile (strop-tests): Add memcmp.
60889 * string/test-wmemcmp.c: New file.
60890 * string/test-memcmp.c: Add wmemcmp support.
60891
60892 2011-09-08 Roland McGrath <roland@hack.frob.com>
60893
60894 [BZ #13153]
60895 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60896 2011-07-19 change.
60897
60898 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60899 garbage value in a __mach_port_mod_refs call in the cases of the
60900 task-self and thread-self ports.
60901
60902 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60903
60904 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60905
60906 2011-09-08 Andreas Schwab <schwab@redhat.com>
60907
60908 * elf/dl-load.c (lose): Check for non-null L.
60909
60910 2011-09-07 Ulrich Drepper <drepper@gmail.com>
60911
60912 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60913
60914 * elf/dl-libc.c (dlerror_run): Pass back error code from
60915 dl_catch_error.
60916
60917 [BZ #13123]
60918 * elf/dl-load.c (lose): Free l_origin if it is valid.
60919
60920 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60921 names.
60922 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60923 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60924 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60925 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60926 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60927 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60928
60929 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60930
60931 * sysdeps/powerpc/fpu/e_hypot.c: New file.
60932 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60933 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60934 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60935 * sysdeps/powerpc/fpu/k_cosf.c: New file.
60936 * sysdeps/powerpc/fpu/k_sinf.c: New file.
60937 * sysdeps/powerpc/fpu/s_cosf.c: New file.
60938 * sysdeps/powerpc/fpu/s_sinf.c: New file.
60939 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60940 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60941
60942 2011-08-15 Alan Modra <amodra@gmail.com>
60943
60944 [BZ #13092]
60945 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60946 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60947 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
60948 ppc_mcount to static-only-routines.
60949 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60950 __mcount_internal.
60951 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60952 __mcount_internal with usual JUMPTARGET. Remove useless nop.
60953
60954 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
60955
60956 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60957 for finite and infinity parameters.
60958
60959 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
60960
60961 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60962 and add nop instructions for throughput optimization.
60963 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60964
60965 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
60966
60967 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60968 aligned copy for power7 with vector-scalar instructions.
60969 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60970
60971 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
60972
60973 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60974 AVX check.
60975
60976 2011-09-07 Andreas Schwab <schwab@redhat.com>
60977
60978 [BZ #13144]
60979 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60980 last change.
60981
60982 2011-09-07 Ulrich Drepper <drepper@gmail.com>
60983
60984 * sysdeps/unix/sysv/linux/x86_64/init-first.c
60985 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60986 syscall wrapper around clock_gettime in __vdso_clock_gettime.
60987 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60988 clock_gettime.
60989
60990 2011-09-06 Ulrich Drepper <drepper@gmail.com>
60991
60992 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60993 Forgot to demangle the pointer.
60994
60995 * sysdeps/i386/sysdep.h: Define atom_text_section.
60996 * sysdeps/x86_64/sysdep.h: Likewise.
60997 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60998 section with atom_text_section.
60999 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61000 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61001 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61002 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61003 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61004
61005 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61006 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61007 already be defined. Change to take two parameters and don't assign
61008 result to variable. Adjust all users.
61009 Define INTERNAL_GETTIME if not already defined.
61010 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61011 call.
61012 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61013 HAVE_CLOCK_GETTIME_VSYSCALL.
61014 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61015
61016 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61017 gettimeofday vsyscall, just use time.
61018
61019 2011-09-06 Andreas Schwab <schwab@redhat.com>
61020
61021 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61022 <errno.h>.
61023
61024 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61025
61026 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61027 syscall on x86-64.
61028 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61029 syscall.
61030 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61031 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61032 syscall if possible.
61033
61034 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61035
61036 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61037 e_ident. Don't pass to find_mapsXX.
61038 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61039
61040 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61041
61042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61043 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61044 * sysdeps/x86_64/multiarch/strchr.S: Update.
61045 Check bit_slow_BSF bit.
61046 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61047 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61048 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61049
61050 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61051
61052 [BZ #13134]
61053 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61054 before glibc 2.15.
61055 (tryshell): Define.
61056 (__spawni): Change last parameter to be flag. Test
61057 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61058 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61059 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61060 * posix/spawni.c: Likewise.
61061 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61062 * posix/spawnp.c: Likewise. Change normal version to use
61063 SPAWN_XFLAGS_USE_PATH.
61064 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61065 SPAWN_XFLAGS_TRY_SHELL.
61066
61067 [BZ #13150]
61068 * posix/glob.h: Remove gcc 1.x support.
61069
61070 [BZ #13068]
61071 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61072
61073 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61074
61075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61076 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61077 strrchr-sse2-bsf
61078 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61079 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61080 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61081 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61082 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61083 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61084
61085 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61086
61087 * sysdeps/x86_64/wcscmp.S: New file.
61088
61089 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61090 wcscmp-c wcscmp-sse2
61091 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61092 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61093 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61094 * wcsmbs/wcscmp.c: Allow renaming.
61095
61096 2011-09-05 David S. Miller <davem@davemloft.net>
61097
61098 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61099 stack slot, rather than the struct return pointer slot.
61100 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61101 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61103 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61104
61105 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61106
61107 * po/ja.po: Update from translation team.
61108
61109 [BZ #13144]
61110 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61111 kernel in 64-bit binaries.
61112
61113 2011-09-01 David S. Miller <davem@davemloft.net>
61114
61115 * elf/elf.h (HWCAP_SPARC_*): Move to..
61116 * sysdeps/sparc/sysdep.h: this new file and add new values.
61117 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61118 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61119 _DL_HWCAP_COUNT to 24.
61120 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61121 entries.
61122 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61123 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61124 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61125 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61126 instead of magic constants.
61127 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61128
61129 2011-08-31 David S. Miller <davem@davemloft.net>
61130
61131 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61132 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61133 Reimplement to do errno handling inline.
61134 (SYSCALL_ERROR_HANDLER): New macro.
61135 (__SYSCALL_STRING): Do not do errno handling in asm.
61136 (__CLONE_SYSCALL_STRING): Delete.
61137 (__INTERNAL_SYSCALL_STRING): Delete.
61138 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61139 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61140 (PSEUDO): Reimplement to do errno handling inline.
61141 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61142 (SYSCALL_ERROR_HANDLER): New macro.
61143 (__SYSCALL_STRING): Do not do errno handling in asm.
61144 (__CLONE_SYSCALL_STRING): Delete.
61145 (__INTERNAL_SYSCALL_STRING): Delete.
61146 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61147 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61148 i386.
61149 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61150 (inline_syscall*): Add 'err' argument.
61151 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61152 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61153 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61154 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61155
61156 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61157 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61158
61159 2011-08-30 Andreas Schwab <schwab@redhat.com>
61160
61161 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61162
61163 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61164
61165 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61166 directive.
61167
61168 2011-08-24 David S. Miller <davem@davemloft.net>
61169
61170 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61171
61172 2011-08-24 Andreas Schwab <schwab@redhat.com>
61173
61174 * elf/Makefile: Add rules to build and run unload8 test.
61175 * elf/unload8.c: New file.
61176 * elf/unload8mod1.c: New file.
61177 * elf/unload8mod1x.c: New file.
61178 * elf/unload8mod2.c: New file.
61179 * elf/unload8mod3.c: New file.
61180
61181 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61182 it wasn't used.
61183
61184 2011-08-23 David S. Miller <davem@davemloft.net>
61185
61186 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61187 subtract stack bias.
61188 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61189 %sp not %fp in calculations.
61190 (_JMPBUF_UNWINDS_ADJ): Likewise.
61191
61192 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61193 (aio_suspend): Call it to force an exception region around the
61194 AIO_MISC_WAIT() invocation.
61195
61196 2011-08-23 Andreas Schwab <schwab@redhat.com>
61197
61198 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61199 backslash.
61200
61201 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61202
61203 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61204 protection macro.
61205 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61206 and <dl-machine.h>.
61207 (Elf64_FuncDesc): Remove.
61208
61209 2011-08-22 David S. Miller <davem@davemloft.net>
61210
61211 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61212 sigaltstack check, add missing cfi directives.
61213 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61214 missing cfi directives, and sigaltstack handling.
61215
61216 2011-08-16 Andreas Schwab <schwab@redhat.com>
61217
61218 [BZ #11724]
61219 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61220 object is seen twice.
61221 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61222
61223 * elf/Makefile (distribute): Add tst-initorder2.c.
61224 (tests): Add tst-initorder2.
61225 (modules-names): Add tst-initorder2a tst-initorder2b
61226 tst-initorder2c tst-initorder2d. Add rules to build them.
61227 ($(objpfx)tst-initorder2.out): New rule.
61228 * elf/tst-initorder2.c: New file.
61229 * elf/tst-initorder2.exp: New file.
61230
61231 2011-08-22 Andreas Schwab <schwab@redhat.com>
61232
61233 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61234
61235 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61236 dependencies back to end of function.
61237
61238 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61239 $(elfobjdir)/ld.so.
61240
61241 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61242
61243 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61244 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61245 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61246 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61247 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61248 of __vdso_gettimeofday.
61249 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61250 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61251 attribute_hidden.
61252 (_libc_vdso_platform_setup): Remove initialization of
61253 __vdso_gettimeofday and __vdso_time.
61254
61255 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61256
61257 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61258 and fgetc_unlocked.
61259 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61260 getc_unlocked.
61261
61262 * elf/dl-open.c (add_to_global): Report additions to the global scope
61263 for LD_DEBUG=scopes.
61264 (dl_open_worker): Also print scope of newly loaded dependencies.
61265 (_dl_show_scope): Indicate if there is no scope.
61266
61267 [BZ #13114]
61268 * stdio-common/Makefile (tests): Add bug24.
61269 * stdio-common/bug24.c: New file.
61270
61271 2011-08-19 Andreas Jaeger <aj@suse.de>
61272
61273 [BZ #13114]
61274 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61275 non-existant file when using close-on-exec mode.
61276
61277 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61278
61279 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61280 the very first instruction.
61281
61282 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61283 the CFI state in the end.
61284 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61285 inclusion of dl-trampoline.h.
61286 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61287
61288 2011-08-19 Andreas Schwab <schwab@redhat.com>
61289
61290 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61291 expectations for long double.
61292
61293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61294 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61295
61296 2011-08-14 David S. Miller <davem@davemloft.net>
61297
61298 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61299 artificual limit depends upon the system page size.
61300
61301 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61302
61303 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61304 * resolv/Makefile: Define CFLAGS-libresolv.
61305
61306 2011-08-17 Andreas Schwab <schwab@redhat.com>
61307
61308 * nss/makedb.c (compute_tables): Make variables used in nested
61309 function static.
61310
61311 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61312
61313 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61314 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61315 if buffer was too small.
61316
61317 * elf/pldd.c (main): Attach to all threads in the process.
61318 Rewrite /proc handling to use *at functions.
61319
61320 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61321
61322 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61323 specifies first scope to show.
61324 (dl_open_worker): Update callers. Move printing scope of new
61325 object to before the relocation.
61326 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61327 * sysdeps/generic/ldsodefs.h: Update declaration.
61328
61329 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61330 string for the scope number.
61331
61332 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61333
61334 * nscd/servicescache.c (cache_addserv): Make sure written is always
61335 initialized.
61336
61337 2011-08-14 Roland McGrath <roland@hack.frob.com>
61338
61339 * sysdeps/i386/i486/bits/atomic.h
61340 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61341 statement expression, so as to suppress "set but not used" warning.
61342 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61343
61344 * string/strncat.c (STRNCAT): Use prototype definition.
61345
61346 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61347 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61348 -Iprograms here.
61349 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61350 (localedef-modules): Add localedef.
61351 (locale-modules): Add locale.
61352
61353 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61354 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61355 to avoid a warning.
61356
61357 2011-08-14 David S. Miller <davem@davemloft.net>
61358
61359 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61360 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61361
61362 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61363
61364 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61365 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61366 * elf/rtld.c (dl_main): Set l_name of vDSO.
61367 Call _dl_show_scope when DL_DEBUG_SCOPES.
61368 (process_dl_debug): Recognize scopes flag and also set it for all.
61369 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61370 Declare _dl_show_scope.
61371
61372 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61373 (do_dlopen): Pass caller_dlopen to dl_open.
61374 (__libc_dlopen_mode): Initialize caller_dlopen.
61375
61376 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61377 of libc. Make tolower call locale-independent. Optimize a bit by
61378 using isdigit instead of isalnum.
61379 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61380
61381 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61382
61383 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61384 was a dependency or dynamically loaded.
61385
61386 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61387
61388 * intl/l10nflist.c: Allow architecture-specific pop function.
61389 * sysdeps/x86_64/l10nflist.c: New file.
61390
61391 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61392 classification.
61393
61394 2011-08-10 Andreas Schwab <schwab@redhat.com>
61395
61396 * include/dirent.h: Add libc_hidden_proto for scandirat and
61397 scandirat64. Don't declare __scandirat64.
61398 * dirent/scandirat.c: Add libc_hidden_def.
61399 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61400 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61401
61402 2011-08-10 David S. Miller <davem@davemloft.net>
61403
61404 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61405 enum.
61406 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61407 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61408 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61409
61410 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61411
61412 * Versions.def [libc]: Add GLIBC_2.15.
61413 * dirent/Makefile (routines): Add scandirat and scandirat64.
61414 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61415 GLIBC_2.15.
61416 * dirent/dirent.h: Declare scandirat and scandirat64.
61417 * dirent/scandirat.c: New file.
61418 * dirent/scandirat64.c: New file.
61419 * sysdeps/wordsize-64/scandirat.c: New file.
61420 * sysdeps/wordsize-64/scandirat64.c: New file.
61421 * dirent/opendir.c: Define opendirat.
61422 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61423 using scandirat.
61424 * dirent/scandir64.c: Adjust for scandir.c change.
61425 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61426 __scandirat64, and __scandir_cancel_handler.
61427 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61428 additional parameter and use openat instead of open (outside of ld.so).
61429 Add new __opendir as wrapper around __opendirat.
61430 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61431 here without requiring old scandirat implementation.
61432
61433 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61434
61435 * dirent/scandir.c (cancel_handler): Renamed to
61436 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61437 defined. Adjust users.
61438 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61439 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61440
61441 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61442
61443 * string/test-string.h (IMPL): Use __STRING to expand name and then
61444 stringify it.
61445
61446 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61447 of cleanups.
61448
61449 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61450
61451 * string/Makefile: Update.
61452 (strop-tests): Append strncat.
61453 * string/test-wcscmp.c: New file.
61454 New comprehensive test for wcscmp.
61455 * string/test-strcmp.c: Update.
61456 (WIDE): New define.
61457
61458 2011-07-22 Andreas Schwab <schwab@redhat.com>
61459
61460 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61461 line.
61462
61463 2011-07-26 Andreas Schwab <schwab@redhat.com>
61464
61465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61466 encoding to ACE if AI_IDN.
61467
61468 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61469
61470 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61471 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61472
61473 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61474
61475 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61476 Fix overflow bug in strncat.
61477 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61478
61479 * string/test-strncat.c: Update.
61480 Add new tests for checking overflow bugs.
61481
61482 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61483
61484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61485 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61486 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61487 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61488 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61489 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61490 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61491 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61492 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61493
61494 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61495 (USE_AS_STRCAT): Define.
61496 Add strcat and strncat support.
61497 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61498
61499 2011-07-25 Andreas Schwab <schwab@redhat.com>
61500
61501 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61502 __n bigger than INT_MAX+1.
61503 (__strncmp_g): Likewise.
61504
61505 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61506
61507 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61508 * libio/stido.h: Likewise.
61509
61510 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61511 (AF_NFC): Define.
61512 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61513 (AF_NFC): Define.
61514
61515 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61516 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61517 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61518 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61519 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61520
61521 [BZ #13021]
61522 * scripts/test-installation.pl: Don't expect libnss_test1 to be
61523 installed.
61524
61525 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61526 typo.
61527 (_dl_x86_64_save_sse): Likewise.
61528
61529 2011-07-22 Ulrich Drepper <drepper@gmail.com>
61530
61531 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61532 OSXSAVE.
61533 (_dl_x86_64_save_sse): Likewise.
61534
61535 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61536
61537 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61538
61539 2011-07-21 Andreas Schwab <schwab@redhat.com>
61540
61541 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61542 change.
61543 (_dl_x86_64_save_sse): Use correct AVX check.
61544
61545 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61546
61547 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61548 bug in strncpy/strncat.
61549 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61550
61551 2011-07-21 Ulrich Drepper <drepper@gmail.com>
61552
61553 * string/tester.c (test_strcat): Add tests for different alignments
61554 of source and destination.
61555 (test_strncat): Likewise.
61556
61557 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61558
61559 [BZ #12852]
61560 * posix/glob.c (glob): Check passed in values before using them in
61561 expressions to avoid some overflows.
61562 (glob_in_dir): Likewise.
61563
61564 [BZ #13007]
61565 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61566 check for AVX enablement so that we don't crash with old kernels and
61567 new hardware.
61568 * elf/tst-audit4.c: Add same checks here.
61569 * elf/tst-audit6.c: Likewise.
61570
61571 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61572
61573 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
61574
61575 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61576
61577 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61578
61579 * po/cs.po: Update from translation team.
61580 * po/bg.po: Likewise.
61581
61582 2011-07-12 Marek Polacek <mpolacek@redhat.com>
61583
61584 * misc/sys/cdefs.h: Add support for const attribute.
61585 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61586 to gnu_dev_{major,minor,makedev} functions.
61587
61588 2011-07-20 Marek Polacek <mpolacek@redhat.com>
61589
61590 * intl/dcigettext.c (get_output_charset): Add missing bracket.
61591
61592 2011-07-20 Andreas Schwab <schwab@redhat.com>
61593
61594 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61595 strlen results.
61596
61597 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61598
61599 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61600 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61601 register in order to avoid conflicts with the soft frame pointer
61602 being held in r11 when necessary.
61603 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61604 (INTERNAL_VSYSCALL_NCS): Likewise.
61605
61606 2011-07-14 Marek Polacek <mpolacek@redhat.com>
61607
61608 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61609 * elf/dl-fini.c (_dl_fini): Adjust caller.
61610 * elf/dl-close.c (_dl_close_worker): Likewise.
61611 * sysdeps/generic/ldsodefs.h: Adjust declaration.
61612
61613 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61614
61615 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61616 "aux_cache->nlibs < 0".
61617
61618 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61619 in the reload-count case.
61620
61621 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61622
61623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61624 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61625 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61626 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61627 * sysdeps/x86_64/multiarch/strcat.S: New file.
61628 * sysdeps/x86_64/multiarch/strncat.S: New file.
61629 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61630 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61631 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61632 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61633 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61634 (USE_AS_STRCAT): Define.
61635 Add strcat and strncat support.
61636 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61637 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61638 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61639 * string/strncat.c: Update.
61640 (USE_AS_STRNCAT): Define.
61641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61642 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61643 and i7.
61644 * sysdeps/x86_64/multiarch/init-arch.h
61645 (bit_Prefer_PMINUB_for_stringop): New.
61646 (index_Prefer_PMINUB_for_stringop): Likewise.
61647 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61648 bit_Prefer_PMINUB_for_stringop.
61649
61650 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61651
61652 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61653 buffer64.
61654 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61655 of casting of buffer.
61656 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61657 buffer32 and buffer64.
61658 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61659 writes instead of casting of buffer.
61660 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61661 buffer32.
61662 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61663 casting of buffer.
61664
61665 2011-07-19 Andreas Schwab <schwab@redhat.com>
61666
61667 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61668
61669 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61670
61671 * nscd/nscd.c (termination_handler): Don't do anything for a database
61672 if it has not yet been initialized.
61673
61674 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61675
61676 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61677
61678 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61679
61680 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61681
61682 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61683
61684 * po/nl.po: Update from translation team.
61685 * po/sv.po: Likewise.
61686
61687 2011-07-16 Roland McGrath <roland@hack.frob.com>
61688
61689 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61690 now disallowed by GCC.
61691
61692 * configure.in (use-default-link): Default to yes if a test -shared
61693 link meets our qualifications.
61694 * configure: Regenerated.
61695
61696 * config.make.in (output-format): New variable.
61697 * configure.in: Check for ld --print-output-format support.
61698 * configure: Regenerated.
61699 * Makerules ($(common-objpfx)format.lds)
61700 [$(output-format) != unknown]: Just use $(output-format),
61701 instead of the linker-script munging.
61702
61703 2011-07-14 Roland McGrath <roland@hack.frob.com>
61704
61705 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61706 of $(common-objpfx)shlib.lds.
61707 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61708
61709 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61710 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61711
61712 * configure.in (-z relro check): Adjust test code to add a large
61713 writable data section after it.
61714 * configure: Regenerated.
61715
61716 2011-07-11 Roland McGrath <roland@hack.frob.com>
61717
61718 * configure.in (-z relro check): Fix test code to make the variable
61719 truly const.
61720 * configure: Regenerated.
61721
61722 2011-07-11 Ulrich Drepper <drepper@gmail.com>
61723
61724 * nscd/nscd.h (struct traced_file): Define.
61725 (struct database_dyn): Remove inotify_descr, reset_res, and filename
61726 elements. Add traced_files.
61727 (inotify_fd): Declare.
61728 (register_traced_file): Declare.
61729 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61730 (inotify_fd): Export.
61731 (resolv_conf_descr): Remove.
61732 (nscd_init): Move inotify descriptor creation to main.
61733 Don't register files for notification here.
61734 (register_traced_file): New function.
61735 (invalidate_cache): Don't use reset_res to determine whether to call
61736 res_init, go through the list of registered files.
61737 (main_loop_poll): The inotify descriptors are now stored in the
61738 structures for the traced files.
61739 (main_loop_epoll): Likewise
61740 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
61741 to __nss_disable_nscd.
61742 * nscd/cache.c (prune_cache): There is no single inotify descriptor
61743 for a database anymore. Check the records for all the registered
61744 files instead.
61745 * nss/Makefile (libnss_files-routines): Add files-init.
61746 (libnss_db-routines): Add db-init.
61747 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61748 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61749 * nss/nss_db/db-init.c: New file.
61750 * nss/nss_files/files-init.c: New file.
61751 * nss/nsswitch.c (nss_load_library): New function. Broken out of
61752 __nss_lookup_function.
61753 (__nss_lookup_function): Call nss_load_library.
61754 (nss_load_all_libraries): New function.
61755 (__nss_disable_nscd): Take parameter with callback function for files
61756 to register. Set is_nscd. Load all the DSOs for the NSS modules
61757 used for the cached services.
61758 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61759 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61760 options for features to all the files in nscd.
61761
61762 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61763
61764 2011-07-10 Roland McGrath <roland@hack.frob.com>
61765
61766 * csu/elf-init.c (__libc_csu_init): Comment typo.
61767
61768 2011-07-09 Ulrich Drepper <drepper@gmail.com>
61769
61770 * po/pl.po: Update from translation team.
61771 * po/ja.po: Likewise.
61772 * po/ru.po: Likewise.
61773 * po/ko.po: Likewise.
61774 * po/fr.po: Likewise.
61775
61776 2011-07-09 Roland McGrath <roland@hack.frob.com>
61777
61778 * configure.in (.ctors/.dtors header and trailer check):
61779 Use an empirical test on a built program.
61780 * configure: Regenerated.
61781
61782 * configure.in (-z relro check): Use an empirical test on a built DSO.
61783 Detect, but do not require, on ia64.
61784 * configure: Regenerated.
61785
61786 * configure.in (READELF): Find it with AC_CHECK_TOOL.
61787 Update tests that use readelf to use $READELF instead.
61788 * configure: Regenerated.
61789
61790 2011-07-08 Ulrich Drepper <drepper@gmail.com>
61791
61792 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61793 if the result is not used.
61794
61795 2011-07-05 Andreas Jaeger <aj@suse.de>
61796
61797 [BZ#9696]
61798 * stdlib/tst-strtod.c: Add testcase.
61799
61800 2011-07-07 Ulrich Drepper <drepper@gmail.com>
61801
61802 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61803 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61804 The latter has a higher limit. Take additional parameter to pass to
61805 the new function.
61806 (__pathconf): Pass file to __statfs_link_max.
61807 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61808 __statfs_link_max.
61809 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61810 __statfs_link_max.
61811
61812 [BZ #12868]
61813 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61814 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61815 Handle Lustre.
61816 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61817 (__statfs_filesize_max): Likewise.
61818 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61819
61820 2011-07-05 Andreas Jaeger <aj@suse.de>
61821
61822 * resolv/res_comp.c (dn_skipname): Remove unused variable.
61823
61824 2011-07-06 Marek Polacek <mpolacek@redhat.com>
61825
61826 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61827 `status' variable.
61828 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61829 Likewise.
61830
61831 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
61832
61833 * Makefile (strop-tests): Add strncat.
61834 * string/test-strncat.c: New file.
61835
61836 2011-06-30 Marek Polacek <mpolacek@redhat.com>
61837
61838 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61839
61840 2011-06-21 Andreas Jaeger <aj@suse.de>
61841
61842 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61843 Copy rule from iconvdata/Makefile.
61844
61845 2011-07-06 Ulrich Drepper <drepper@gmail.com>
61846
61847 [BZ #12922]
61848 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61849 but no long options are defined, just return 'W'.
61850
61851 2011-06-22 Marek Polacek <mpolacek@redhat.com>
61852
61853 [BZ #9696]
61854 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61855
61856 2011-07-06 Ulrich Drepper <drepper@gmail.com>
61857
61858 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61859 netgroups to read.
61860 (innetgr): Likewise.
61861
61862 2011-07-05 Roland McGrath <roland@hack.frob.com>
61863
61864 * config.make.in (install_root): Default to $(DESTDIR).
61865
61866 2011-07-05 Ulrich Drepper <drepper@gmail.com>
61867
61868 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61869
61870 2011-07-02 Roland McGrath <roland@hack.frob.com>
61871
61872 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61873
61874 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61875 containing directory rather than embedding absolute directory names.
61876
61877 * scripts/check-local-headers.sh: Rewritten using awk.
61878 Match by word, not by line. Print error messages for matches.
61879 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61880
61881 * Makerules [shlib-lds-flags empty]:
61882 ($(common-objpfx)libc_pic.opts): New target.
61883 ($(common-objpfx)libc_pic.os.clean): New target.
61884 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61885
61886 * config.make.in (OBJCOPY): New variable.
61887 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61888 * configure: Regenerated.
61889
61890 * config.make.in (use-default-link): New variable.
61891 * configure.in (use_default_link): Grok --with-default-link to set it.
61892 * configure: Regenerated.
61893 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61894 (shlib-lds, shlib-lds-flags): Define to empty.
61895
61896 * Makerules (shlib-lds): New variable.
61897 (shlib-lds-flags): New variable.
61898 (build-shlib, build-moduile, build-module-asneeded): Use it.
61899 ($(common-objpfx)libc.so): Use $(shlib-lds).
61900 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61901 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61902
61903 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61904 DT_FLAGS/DT_FLAGS_1 with zero flags.
61905
61906 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61907 linker script munging.
61908
61909 2011-07-02 Ulrich Drepper <drepper@gmail.com>
61910
61911 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61912 as 128-bit value.
61913 * crypt/sha512.c (sha512_process_block): Perform total addition using
61914 128-bit if possible.
61915 (__sha512_finish_ctx): Likewise.
61916 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61917 as 64-bit value.
61918 * crypt/sha256.c (SWAP64): Define.
61919 (sha256_process_block): Perform total addition using 64-bit if
61920 possible.
61921 (__sha256_finish_ctx): Likewise.
61922
61923 2011-07-01 Ulrich Drepper <drepper@gmail.com>
61924
61925 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
61926 * nscd/initgrcache.c (addinitgroupsX): Likewise.
61927 * nscd/hstcache.c (cache_addhst): Likewise.
61928 * nscd/grpcache.c (cache_addgr): Likewise.
61929 * nscd/aicache.c (addhstaiX): Likewise
61930 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61931
61932 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
61933
61934 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61935 * nscd/initgrcache.c (addinitgroupsX): Likewise.
61936 * nscd/hstcache.c (cache_addhst): Likewise.
61937 * nscd/grpcache.c (cache_addgr): Likewise.
61938 * nscd/aicache.c (addhstaiX): Likewise
61939
61940 2011-07-01 Andreas Schwab <schwab@redhat.com>
61941
61942 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61943 domain only when needed.
61944
61945 2011-06-30 Andreas Schwab <schwab@redhat.com>
61946
61947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61948 is always restored.
61949
61950 2011-06-29 Ulrich Drepper <drepper@gmail.com>
61951
61952 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61953 are re-adding the entry.
61954 * nscd/servicescache.c (cache_addserv): Likewise.
61955
61956 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
61957
61958 * sysdeps/generic/dl-irel.h: fix protection against multiple
61959 inclusions.
61960 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61961
61962 2011-06-28 Ulrich Drepper <drepper@gmail.com>
61963
61964 [BZ #12935]
61965 * malloc/memusage.sh: Fix quoting in message.
61966 * debug/xtrace.sh: Likewise.
61967
61968 * configure.in: Remove support for --experimental-malloc option, make
61969 it the default.
61970 * config.make.in: Likewise.
61971 * malloc/Makefile: Likewise.
61972
61973 2011-06-27 Andreas Schwab <schwab@redhat.com>
61974
61975 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61976 two-byte characters.
61977
61978 2011-06-27 Roland McGrath <roland@hack.frob.com>
61979
61980 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61981 AC_CACHE_CHECK invocation.
61982 * configure: Regenerated.
61983
61984 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61985
61986 2011-06-27 Ulrich Drepper <drepper@gmail.com>
61987
61988 [BZ #12350]
61989 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
61990 bit from old_res_options.
61991
61992 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61993
61994 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61995 value type for setfct.
61996
61997 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
61998
61999 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62000 __gettimeofday instead of gettimeofday.
62001
62002 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62003
62004 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62005
62006 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62007
62008 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62009
62010 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62011 info.
62012
62013 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62014
62015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62016 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62017 strcpy-sse2-unaligned strncpy-sse2-unaligned
62018 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62019 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62020 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62021 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62022 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62023 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62024 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62025 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62026 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62027 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62028 (STRCPY): Support SSE2 and SSSE3 versions.
62029
62030 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62031
62032 [BZ #12874]
62033 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62034 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62035 kernels which artificially limit size of requests.
62036
62037 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62038
62039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62040 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62041 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62042 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62043 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62044 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62045 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62046 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62047 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62048 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62049 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62050 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62051 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62052 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62053 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62055 Enable unaligned load optimization for Intel Core i3, i5 and i7
62056 processors.
62057 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62058 Define.
62059 (index_Fast_Unaligned_Load): Define.
62060 (HAS_FAST_UNALIGNED_LOAD): Define.
62061
62062 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62063
62064 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62065
62066 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62067
62068 [BZ #12907]
62069 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62070 until it is clear that the information is realy needed.
62071 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62072
62073 2011-06-22 Andreas Schwab <schwab@redhat.com>
62074
62075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62076
62077 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62078
62079 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62080 /sys/devices/system/cpu/online if it is usable.
62081
62082 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62083 reading the information from the /proc filesystem to once a second.
62084
62085 2011-06-21 Andreas Jaeger <aj@suse.de>
62086
62087 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62088 NULL after inclusion of kernel headers.
62089
62090 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62091
62092 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62093 calls to internal_setent.
62094
62095 [BZ #12885]
62096 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62097 addresses using gethostbyname4_r ignore IPv4 addresses.
62098
62099 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62100 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62101
62102 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62103
62104 2011-06-20 David S. Miller <davem@davemloft.net>
62105
62106 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62107 inclusions.
62108 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62109
62110 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62111 (elf_irel): Use it.
62112 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62113 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62114 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62115 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62116 * sysdeps/x86_64/dl-irel.h: Likewise.
62117
62118 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62119 * elf/dl-sym.c: Likewise.
62120
62121 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62122
62123 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62124 need to dereference resplen2.
62125
62126 2011-06-14 Andreas Schwab <schwab@redhat.com>
62127
62128 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62129
62130 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62131
62132 * Makeconfig: Define vardbdir and inst_vardbdir.
62133 * nss/Makefile: Add rules to install db-Makefile.
62134
62135 * nss/nss_db/db-XXX.c: Cleanup.
62136
62137 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62138 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62139 GLIBC_PRIVATE.
62140 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62141 * nss/makedb.c: Implement -g option to specify that value strings
62142 are generated and should not be added to table iterated over for
62143 get*ent calls.
62144 * nss/nss_db/db-initgroups.c: New file.
62145
62146 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62147 interface.
62148
62149 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62150 (internal_getgrouplist): Adjust to name change.
62151 Update use_initgroups_entry if this is not the first call.
62152 * nss/databases.def: Add initgroups entry.
62153
62154 * nss/makedb.c (compute_tables): Check result of multiple hash table
62155 sizes to minimize maximum chain length.
62156
62157 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62158
62159 * Versions.def: Add entry for libnss_db.
62160 * shlib-versions: Likewise.
62161 * nss/Makefile: Add rules to build libnss_db.
62162 * nss/Versions: Add libnss_db information. Organize libnss_files
62163 entries better.
62164 * nss/db-Makefile: Add gshadow support. Change rules for the new
62165 makedb progra. Some minor improvements to generate smaller files.
62166 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62167 here from...
62168 * nss/makedb.c: ...here.
62169 Improve database format to be smaller and require less memory at
62170 runtime.
62171 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62172 db anymore.
62173 * nss/nss_db/db-netgrp.c: Likewise.
62174 * nss/nss_db/db-open.c: Likewise.
62175 * nss/nss_files/flies-XXX.x: Adjust comments.
62176 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62177 * nss/nss_files/files-grp.c: Likewise.
62178 * nss/nss_files/files-hosts.c: Likewise.
62179 * nss/nss_files/files-network.c: Likewise.
62180 * nss/nss_files/files-proto.c: Likewise.
62181 * nss/nss_files/files-pwd.c: Likewise.
62182 * nss/nss_files/files-rpc.c: Likewise.
62183 * nss/nss_files/files-service.c: Likewise.
62184 * nss/nss_files/files-sgrp.c: Likewise.
62185 * nss/nss_files/files-spwd.c: Likewise.
62186 * nss/nss_db/db-alias.c: Removed.
62187 * nss/nss_db/dummy-db.h: Removed.
62188
62189 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62190
62191 * nss/makedb.c: Rewritten to not use database library.
62192 * nss/Makefile: Update to build new makedb program.
62193
62194 2011-06-14 Andreas Jaeger <aj@suse.de>
62195
62196 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62197 memset declaration.
62198
62199 2011-06-10 Andreas Schwab <schwab@redhat.com>
62200
62201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62202 tmpbuf.
62203
62204 2011-06-10 Roland McGrath <roland@hack.frob.com>
62205
62206 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62207 * elf/Makefile ($(objpfx)ld.so): Likewise.
62208
62209 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62210 Don't list ld.so twice in dependencies.
62211
62212 * posix/bug-regex31.c: Include <stdlib.h>.
62213
62214 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62215
62216 * nis/nss_compat/compat-spwd.c
62217 (getspent_next_nss_netgr): Remove unused variable.
62218 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62219
62220 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62221 nonmembers" output to use the right array.
62222
62223 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62224
62225 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62226
62227 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62228 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62229 * catgets/gencat.c (read_input_file): Likewise.
62230 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62231
62232 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62233 variable definition inside #if's controlling its use.
62234
62235 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62236
62237 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62238
62239 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62240
62241 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62242 unreachable code.
62243
62244 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62245
62246 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62247 * configure: Regenerated.
62248
62249 * Makerules: Revert last change.
62250 * elf/Makefile: Likewise.
62251
62252 2011-06-09 Roland McGrath <roland@hack.frob.com>
62253
62254 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62255 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62256 (reloc-link): Likewise.
62257
62258 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62259
62260 * elf/Makefile: Add rules to build pldd.
62261 * elf/pldd.c: New file.
62262 * elf/pldd-xx.c: New file.
62263
62264 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62265
62266 * version.h: Update for 2.15 development version.
62267
62268 2011-06-07 David S. Miller <davem@davemloft.net>
62269
62270 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62271 ifuncs.
62272 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62273 elf_machine_lazy_rel): Likewise.
62274 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62275 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62276 elf_machine_lazy_rel): Likewise.
62277 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62278 dl_hwcap via passed in argument.
62279 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62280 Likewise.
62281
62282 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62283
62284 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62285
62286 2011-06-06 Roland McGrath <roland@hack.frob.com>
62287
62288 [BZ #12849]
62289 * manual/fdl-1.1.texi: New file, verbatim from:
62290 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62291 * manual/lgpl-2.1.texi: New file, verbatim from:
62292 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62293 * manual/Makefile (licenses): New variable, list those new file names.
62294 (texis): Use it.
62295 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62296
62297 * manual/fdl.texi: File removed.
62298 * manual/lesser.texi: File removed.
62299 * manual/libc.texinfo (Copying, Documentation License):
62300 Use new @include file names, put @appendix directive before @include.
62301
62302 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62303
62304 [BZ #12841]
62305 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62306 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62307 (mq_open): Add __NTH.
62308
62309 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62310
62311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62312 Assume Intel Core i3/i5/i7 processor if AVX is available.
62313
62314 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62315
62316 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62317 typo.
62318
62319 2011-05-31 Andreas Schwab <schwab@redhat.com>
62320
62321 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62322 memory. Use alloca_account. Fix memory leak when retrying.
62323
62324 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62325
62326 * version.h (RELEASE): Bump for 2.14 release.
62327 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62328
62329 * config.make.in (RANLIB): Remove entry.
62330
62331 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62332
62333 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62334 (libc.pot): Work around missing support for .ksh extension in xgettext.
62335
62336 [BZ #12684]
62337 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62338 if both request failed.
62339 (send_dg): In case of server errors clear resplen or *resplen2.
62340
62341 [BZ #12454]
62342 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62343 when there are multiple maps.
62344 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62345 (_dl_fini): Remove test here.
62346
62347 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62348
62349 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62350
62351 [BZ #12350]
62352 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62353 bit from old_res_options.
62354 (gaih_inet): Likewise.
62355
62356 [BZ #11099]
62357 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62358 as signed.
62359
62360 * resolv/res_init.c (res_setoptions): Make the code more compact.
62361
62362 [BZ #11558]
62363 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62364 set RES_USEVC.
62365
62366 [BZ #11634]
62367 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62368
62369 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62370
62371 [BZ #11781]
62372 * malloc/malloc.h: Declare malloc hook variables as volatile.
62373
62374 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62375 in last patch.
62376
62377 [BZ #11799]
62378 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62379 raise in the comment.
62380 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62381 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62382 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62383
62384 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62385
62386 [BZ #12811]
62387 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62388 grow the buffers more if it already has to be sufficient.
62389 (build_wcs_upper_buffer): Likewise.
62390 * posix/regexec.c (check_matching): Likewise.
62391 (clean_state_log_if_needed): Likewise.
62392 (extend_buffers): Don't enlarge buffers beyond size of the input
62393 buffer.
62394 Patches mostly by Emil Wojak <emil@wojak.eu>.
62395 * posix/bug-regex32.c: New file.
62396 * posix/Makefile (tests): Add bug-regex32.
62397
62398 * locale/findlocale.c (_nl_find_locale): Return right away if
62399 _nl_explode_name failed.
62400 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62401
62402 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62403
62404 * debug/xtrace.sh: Unify messages.
62405 * malloc/memusage.sh: Likewise.
62406
62407 [BZ #12813]
62408 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62409 time symbol from vDSO. Substitute with vsyscall if not available.
62410 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62411 __vdso_time.
62412
62413 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62414 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62415 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62416 Add sendmmsg and internal_sendmmsg.
62417 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62418 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62419 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62420
62421 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62422 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62423 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62424
62425 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62426
62427 [BZ #12813]
62428 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62429 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62430 available.
62431 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62432 __vdso_getcpu.
62433
62434 [BZ #12814]
62435 * iconvdata/Makefile (tests): Add bug-iconv9.
62436 * iconvdata/bug-iconv9.c: New file.
62437
62438 2011-05-27 Andreas Schwab <schwab@redhat.com>
62439
62440 [BZ #12814]
62441 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62442
62443 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62444
62445 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62446 (struct user_regs_struct): Change intcs field back to cs.
62447
62448 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62449
62450 * po/ja.po: Update from translation team.
62451
62452 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62453
62454 [BZ #12795]
62455 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62456 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62457
62458 2011-05-20 Andreas Schwab <schwab@redhat.com>
62459
62460 * stdlib/longlong.h: Update from GCC.
62461
62462 2011-05-23 Andreas Schwab <schwab@redhat.com>
62463
62464 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62465 parameter name.
62466 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62467 Add parameter name.
62468 (__sysconf): Pass it down.
62469
62470 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62471
62472 [BZ #12671]
62473 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62474 some situations.
62475 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62476 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62477 add in in __libc_use_alloca calls. Adjust callers.
62478 (glob): Use malloc in some situations.
62479
62480 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62481 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62482 pltexit.
62483
62484 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62485
62486 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62487 and CLOCK_BOOTTIME_ALARM.
62488
62489 [BZ #12782]
62490 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62491 is returned.
62492
62493 * string/_strerror.c (__strerror_r): Print negative errors as signed
62494 numbers.
62495
62496 [BZ #12777]
62497 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62498 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62499 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62500
62501 * configure.in: Fix typo in redirection and correct removal of test
62502 files in two cases.
62503
62504 [BZ #12788]
62505 * locale/setlocale.c (new_composite_name): Fix test to check for
62506 identical name of all categories.
62507
62508 [BZ #12792]
62509 * libio/filedoalloc.c (local_isatty): New function.
62510 (_IO_file_doallocate): Use local_isatty.
62511 * stdio-common/perror.c (perror): In case a new stream is used
62512 forward the stream error.
62513 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62514 error flag.
62515
62516 2011-05-20 Ulrich Drepper <drepper@gmail.com>
62517
62518 [BZ #11869]
62519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62520 alloca.
62521 * include/alloca.h (extend_alloca_account): Define.
62522
62523 [BZ #11857]
62524 * posix/regex.h: Fix comments with documentation of user-accessible
62525 fields after compilation and describe correct free'ing of pattern
62526 after re_compile_pattern.
62527 Patch by Reuben Thomas <rrt@sc3d.org>.
62528
62529 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
62530
62531 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62532 and -mno-altivec to prevent the compiler from using Altivec and/or
62533 VSX instructions when the corresponding registers are not available.
62534
62535 2011-05-19 Andreas Schwab <schwab@redhat.com>
62536
62537 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62538
62539 2011-05-19 Ulrich Drepper <drepper@gmail.com>
62540
62541 * libio/freopen.c (freopen): Use __dup2, not dup2.
62542 * libio/freopen64.c (freopen64): Likewise.
62543
62544 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
62545
62546 [BZ #12775]
62547 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62548 * math/Makefile (tests): Add test-powl.
62549 (CFLAGS-test-powl.c): Define.
62550 * math/test-powl.c: New file.
62551
62552 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
62553
62554 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62555
62556 2011-05-17 Ulrich Drepper <drepper@gmail.com>
62557
62558 [BZ #11837]
62559 * iconvdata/gb18030.c: Update to GB18020-2005.
62560
62561 2011-05-16 Ulrich Drepper <drepper@gmail.com>
62562
62563 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62564 RE_SYNTAX_POSIX_AWK): Update to match recent development.
62565 Patch by Aharon Robbins <arnold@skeeve.com>.
62566
62567 [BZ #11892]
62568 * stdlib/putenv.c (putenv): Don't always create copy of the variable
62569 on the stack.
62570
62571 [BZ #11895]
62572 * misc/pselect.c (__pselect): Handle timeout value errors hidden
62573 through underflows.
62574
62575 [BZ #12766]
62576 * misc/error.c (error_at_line): Ensure file_name and old_file_name
62577 point to strings before performing equality test for error_one_per_line
62578 mode.
62579
62580 [BZ #11697]
62581 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62582
62583 [BZ #11820]
62584 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62585 (struct user_fpregs_struct): Avoid __uint*_t types.
62586
62587 [BZ #6420]
62588 * malloc/mtrace.c (tr_where): Add additional parameter to point to
62589 symbol info. Use it instead of calling _dl_addr locally.
62590 (lock_and_info): New function.
62591 (tr_freehook): Call lock_and_info and pass symbol info as additional
62592 parameter to tr_where.
62593 (tr_mallochook): Likewise.
62594 (tr_reallochook): Likewise.
62595 (tr_memalignhook): Likewise.
62596
62597 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
62598 used and couldn't be at all thread-safe.
62599
62600 2011-05-15 Ulrich Drepper <drepper@gmail.com>
62601
62602 * libio/freopen.c (freopen): Don't close old file descriptor
62603 before the new one is opened. Instead dup the new file descriptor
62604 to the old one after the new stream is created.
62605 * libio/freopen64.c (freopen64): Likewise.
62606 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62607 * libio/fileops.c (_IO_new_file_close_it): Handle new
62608 _IO_FLAGS2_NOCLOSE flag.
62609 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62610 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62611 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62612 _IO_FLAGS2_NOCLOSE flag.
62613 * include/unistd.h: Add hidden_proto for dup3.
62614 Define __have_dup3.
62615 * io/dup3.c: Define hidden symbol.
62616 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62617
62618 [BZ #7101]
62619 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62620 when an incomplete long option is used.
62621 * posix/tst-getopt_long1.c: New file.
62622 * posix/Makefile (tests): Add tst-getopt_long1.
62623
62624 [BZ #10138]
62625 * scripts/config.guess: Update from autoconf-2.68.
62626 * scripts/config.sub: Likewise.
62627
62628 [BZ #10157]
62629 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62630 tests into ...
62631 (has_cpuclock): ...this. New function.
62632 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62633 macro here based on has_cpuclock code.
62634
62635 [BZ #10149]
62636 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62637 First byte (not low byte) is now always NUL.
62638 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62639
62640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62641 Use non-cancelable interfaces.
62642
62643 [BZ #9809]
62644 * locale/iso-639.def: Add entry for Sorani.
62645
62646 [BZ #11901]
62647 * include/stdlib.h: Move include protection to the right place.
62648 Define abort_msg_s. Declare __abort_msg with it.
62649 * stdlib/abort.c (__abort_msg): Adjust type.
62650 * assert/assert.c (__assert_fail_base): New function. Majority
62651 of code from __assert_fail. Allocate memory for __abort_msg with
62652 mmap.
62653 (__assert_fail): Now call __assert_fail_base.
62654 * assert/assert-perr.c: Remove bulk of implementation. Use
62655 __assert_fail_base.
62656 * include/assert.hL Declare __assert_fail_base.
62657 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62658 mmap.
62659 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62660
62661 2011-05-14 Ulrich Drepper <drepper@gmail.com>
62662
62663 [BZ #11952]
62664 [BZ #12453]
62665 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62666 until all modules are registered in the DTV.
62667 * elf/Makefile: Add rules to build and run tst-tls19.
62668 * elf/tst-tls19.c: New file.
62669 * elf/tst-tls19mod1.c: New file.
62670 * elf/tst-tls19mod2.c: New file.
62671 * elf/tst-tls19mod3.c: New file.
62672 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62673
62674 [BZ #12083]
62675 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62676 correctly.
62677
62678 [BZ #12601]
62679 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62680 two-byte sequence errors.
62681 * iconvdata/Makefile (tests): Add bug-iconv8.
62682 * iconvdata/bug-iconv8.c: New file.
62683
62684 [BZ #12626]
62685 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62686 buf2 definition.
62687
62688 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62689
62690 [BZ #12432]
62691 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62692 (dummy_getcfa): New function.
62693 (init): Get _Unwind_GetCFA address, use dummy if not found.
62694 (backtrace_helper): In recursion check, also check whether CFA changes.
62695 (__backtrace): Completely initialize arg.
62696
62697 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62698 storing incomplete byte sequence in state object. Avoid testing for
62699 guaranteed too small input if we know there is enough data available.
62700
62701 2011-05-11 Andreas Schwab <schwab@redhat.com>
62702
62703 * Makeconfig (+link-pie): Indent.
62704 * Rules (binaries-pie): Define if $(have-fpie) and
62705 $(build-shared).
62706 (binaries-shared): Also filter out $(binaries-pie).
62707 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62708 * nscd/Makefile (others-pie): Add nscd.
62709 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62710 ($(objpfx)nscd): Remove command override.
62711 * login/Makefile (others-pie): Add pt_chown.
62712 ($(objpfx)pt_chown): Remove command override.
62713 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62714 remove command overrides.
62715
62716 2011-05-13 Ulrich Drepper <drepper@gmail.com>
62717
62718 * libio/tst_putwc.c: Fix error messages.
62719
62720 [BZ #12724]
62721 * libio/fileops.c (_IO_new_file_close_it): Always flush when
62722 currently writing and seek to current position when not.
62723 * libio/Makefile (tests): Add bug-fclose1.
62724 * libio/bug-fclose1.c: New file.
62725
62726 2011-05-12 Ulrich Drepper <drepper@gmail.com>
62727
62728 [BZ #12511]
62729 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62730 don't set DF_1_NODELETE here.
62731 (do_lookup_x): When entering new entry test for copy relocation
62732 and if necessary set DF_1_NODELETE flag.
62733 * elf/tst-unique4.cc: New file.
62734 * elf/tst-unique4.h: New file.
62735 * elf/tst-unique4lib.cc: New file.
62736 * elf/Makefile: Add rules to build and run tst-unique4.
62737 Patch by Piotr Bury <pbury@goahead.com>.
62738
62739 2011-05-11 Ulrich Drepper <drepper@gmail.com>
62740
62741 [BZ #12052]
62742 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62743
62744 [BZ #12625]
62745 * misc/mntent_r.c (addmntent): Flush the stream after the output
62746
62747 [BZ #12393]
62748 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62749 (is_trusted_path_normalize): Skip initial colon. Append slash
62750 to empty buffer. Duplicate is_trusted_path code but allow
62751 constructed patch to be prefix.
62752 (is_dst): Allow $ORIGIN followed by /.
62753 (_dl_dst_substitute): Correct clearing of check_for_trusted.
62754 Correct testing of result of is_trusted_path_normalize
62755 (decompose_rpath): Fix warning.
62756
62757 2011-05-10 Ulrich Drepper <drepper@gmail.com>
62758
62759 [BZ #11257]
62760 * grp/initgroups.c (internal_getgrouplist): When we found the service
62761 list through the initgroups entry in nsswitch.conf do not always
62762 continue on a successful lookup. Don't always use the
62763 __nss_group_database value if it is set.
62764 * nss/nsswitch.conf (initgroups): Change action for successful db
62765 lookup to continue for compatibility.
62766
62767 2011-05-09 Ulrich Drepper <drepper@gmail.com>
62768
62769 [BZ #11532]
62770 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62771 and CP774 modules.
62772 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62773 and CP774 modules.
62774 * iconvdata/tst-tables.sh: Likewise.
62775 * iconvdata/cp770.c: New file.
62776 * iconvdata/cp771.c: New file.
62777 * iconvdata/cp772.c: New file.
62778 * iconvdata/cp773.c: New file.
62779 * iconvdata/cp774.c: New file.
62780 * iconvdata/testdata/CP770: New file.
62781 * iconvdata/testdata/CP770..UTF8: New file.
62782 * iconvdata/testdata/CP771: New file.
62783 * iconvdata/testdata/CP771..UTF8: New file.
62784 * iconvdata/testdata/CP772: New file.
62785 * iconvdata/testdata/CP772..UTF8: New file.
62786 * iconvdata/testdata/CP773: New file.
62787 * iconvdata/testdata/CP773..UTF8: New file.
62788 * iconvdata/testdata/CP774: New file.
62789 * iconvdata/testdata/CP774..UTF8: New file.
62790
62791 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62792 END CHARMAP line.
62793 * iconvdata/gen-8bit-gap.sh: Likewise.
62794 * iconvdata/gen-8bit.sh: Likewise.
62795
62796 * locale/iso-639.def: Add ary entry.
62797
62798 [BZ #11258]
62799 * locale/C-translit.h.in: Add U20A1 transliteration.
62800
62801 [BZ #12178]
62802 * locale/iso-639.def: Add wae entry.
62803 Patch by Kevin Bortis <bortis@translate-wae.ch>.
62804
62805 [BZ #12545]
62806 * locale/programs/localedef.c (construct_output_path): Use ssize_t
62807 for n.
62808
62809 [BZ #12711]
62810 * locale/C-translit.h.in: Add entry for U20B9.
62811 Patch by pravin.d.s@gmail.com.
62812
62813 2011-05-08 Ulrich Drepper <drepper@gmail.com>
62814
62815 [BZ #12713]
62816 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62817 ENAMETOOLONG use generic getcwd.
62818 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
62819 in rtld. Use *stat64.
62820 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62821 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62822 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62823 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62824 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62825 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62826 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62827 __fstatat64 macros.
62828 * include/dirent.h: Add libc_hidden_proto for rewinddir.
62829 * dirent/rewinddir.c: Add libc_hidden_def.
62830 * sysdeps/mach/hurd/rewinddir.c: Likewise.
62831 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
62832
62833 * include/dirent.h (__alloc_dir): Add flags parameter.
62834 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62835 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62836 __alloc_dir.
62837 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
62838 from fdopendir if O_CLOEXEC is already set.
62839
62840 2011-03-15 Alan Modra <amodra@gmail.com>
62841
62842 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62843 l_tls_firstbyte_offset non-zero. Save padding offset in
62844 l_tls_firstbyte_offset for later use.
62845 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62846 freeing static tls block.
62847
62848 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
62849
62850 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62851 where #ifdef was intended. The intent is to prevent ARG_MAX from
62852 being defined by the kernel headers.
62853
62854 2011-05-07 Ulrich Drepper <drepper@gmail.com>
62855
62856 [BZ #12734]
62857 * resolv/resolv.h: Define RES_NOTLDQUERY.
62858 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62859 no-tld-query and set RES_NOTLDQUERY.
62860 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62861 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62862 modern BIND to search name as TLD unless forbidden.
62863
62864 2011-05-07 Petr Baudis <pasky@suse.cz>
62865 Ulrich Drepper <drepper@gmail.com>
62866
62867 [BZ #12393]
62868 * elf/dl-load.c (fillin_rpath): Move trusted path check...
62869 (is_trusted_path): ...to here.
62870 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62871 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62872 using is_trusted_path_normalize() in setuid scripts.
62873
62874 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
62875
62876 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62877 __BEGIN/__END_DECLS.
62878
62879 2011-05-06 Ulrich Drepper <drepper@gmail.com>
62880
62881 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62882 NSS_STATUS_NOTFOUND if no record was found.
62883
62884 2011-05-05 Andreas Schwab <schwab@redhat.com>
62885
62886 * sunrpc/Makefile (headers): Add rpc/netdb.h.
62887 (headers-not-in-tirpc): Remove rpc/netdb.h
62888 * resolv/netdb.h: Revert last change.
62889
62890 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
62891
62892 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62893 circular dependency between libgcc.a and libc.a.
62894
62895 2011-05-05 Andreas Schwab <schwab@redhat.com>
62896
62897 * resolv/netdb.h: Don't include <rpc/netdb.h>.
62898 * nis/Makefile: Don't install rpcsvc/*.
62899 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62900 instead of <rpc/types.h>.
62901 (MAXHOSTNAMELEN): Define.
62902
62903 2011-05-03 Andreas Schwab <schwab@redhat.com>
62904
62905 * elf/ldconfig.c (add_dir): Don't crash on empty path.
62906
62907 2011-04-28 Maciej Babinski <mbabinski@google.com>
62908
62909 [BZ #12714]
62910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62911 gethostbyname4_r when IPv6 results are possible.
62912
62913 2011-05-02 Ulrich Drepper <drepper@gmail.com>
62914
62915 [BZ #12723]
62916 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62917 _PC_PIPE_BUF handling.
62918
62919 2011-04-30 Bruno Haible <bruno@clisp.org>
62920
62921 [BZ #12717]
62922 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62923 * resolv/netdb.h (getnameinfo): Change type of flags parameter
62924 to 'int'.
62925 * inet/getnameinfo.c (getnameinfo): Likewise.
62926
62927 2011-04-29 Ulrich Drepper <drepper@gmail.com>
62928
62929 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62930 to groups setting in database lookup.
62931 * nss/nsswitch.conf: Add initgroups entry.
62932
62933 2011-04-22 Ulrich Drepper <drepper@gmail.com>
62934
62935 [BZ #12685]
62936 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62937 mode string.
62938 Patch by Eric Blake <eblake@redhat.com>.
62939
62940 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
62941
62942 * sunrpc/Makefile (need-export-routines): Add svc_run.
62943 (routines): Remove svc_run.
62944 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62945 * sunrpc/clnt_perr.c (clnt_perrno): Export.
62946 * sunrpc/svc_run.c (svc_run): Likewise.
62947 * sunrpc/svc_udp.c (svcudp_create): Likewise.
62948
62949 2011-04-21 Ulrich Drepper <drepper@gmail.com>
62950
62951 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62952 problem in reallocation in last patch.
62953
62954 2011-04-20 Ulrich Drepper <drepper@gmail.com>
62955
62956 * sunrpc/Makefile: Move inclusion of Rules.
62957
62958 2011-04-19 Ulrich Drepper <drepper@gmail.com>
62959
62960 * nss/nss_files/files-initgroups.c: New file.
62961 * nss/Makefile (libnss_files-routines): Add files-initgroups.
62962 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62963 _nss_files_initgroups_dyn.
62964
62965 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
62966
62967 * elf/elf.h (R_ARM_IRELATIVE): Define.
62968
62969 2011-04-19 Ulrich Drepper <drepper@gmail.com>
62970
62971 * po/ru.po: Update from translation team.
62972
62973 2011-04-17 Ulrich Drepper <drepper@gmail.com>
62974
62975 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62976 dependencies.
62977
62978 2011-02-06 Mike Frysinger <vapier@gentoo.org>
62979
62980 [BZ #12653]
62981 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62982 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62983 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62984 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62985 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62986
62987 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
62988
62989 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62990 differing bytes.
62991 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62992 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62993 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62994
62995 2011-04-17 Ulrich Drepper <drepper@gmail.com>
62996
62997 [BZ #12420]
62998 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62999 storing it.
63000 * stdlib/bug-getcontext.c: New file.
63001 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63002
63003 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63004
63005 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63006 instructions into .machine "z9-109".
63007 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63008 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63009
63010 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63011
63012 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63013 between environment variables and auxiliary vector.
63014
63015 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63016
63017 * Makefile: Add rules to build linkobj/libc.so.
63018 * include/libc-symbols.h: Define libc_hidden_nolink.
63019 * include/rpc/auth.h: Mark functions which are to be hidden.
63020 * include/rpc/auth_des.h: Likewise.
63021 * include/rpc/auth_unix.h: Likewise.
63022 * include/rpc/clnt.h: Likewise.
63023 * include/rpc/des_crypt.h: Likewise.
63024 * include/rpc/key_prot.h: Likewise.
63025 * include/rpc/pmap_clnt.h: Likewise.
63026 * include/rpc/pmap_prot.h: Likewise.
63027 * include/rpc/pmap_rmt.h: Likewise.
63028 * include/rpc/rpc_msg.h: Likewise.
63029 * include/rpc/svc.h: Likewise.
63030 * include/rpc/svc_auth.h: Likewise.
63031 * include/rpc/xdr.h: Likewise.
63032 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63033 * nss/Makefile: Likewise.
63034 * sunrpc/Makefile: Don't install headers. Build library with normal
63035 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63036 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63037 for the compat linking library. Remove use of INTDEF/INTUSE.
63038 * sunrpc/auth_none.c: Likewise.
63039 * sunrpc/auth_unix.c: Likewise.
63040 * sunrpc/authdes_prot.c: Likewise.
63041 * sunrpc/authuxprot.c: Likewise.
63042 * sunrpc/clnt_gen.c: Likewise.
63043 * sunrpc/clnt_perr.c: Likewise.
63044 * sunrpc/clnt_raw.c: Likewise.
63045 * sunrpc/clnt_simp.c: Likewise.
63046 * sunrpc/clnt_tcp.c: Likewise.
63047 * sunrpc/clnt_udp.c: Likewise.
63048 * sunrpc/clnt_unix.c: Likewise.
63049 * sunrpc/des_crypt.c: Likewise.
63050 * sunrpc/des_soft.c: Likewise.
63051 * sunrpc/get_myaddr.c: Likewise.
63052 * sunrpc/key_call.c: Likewise.
63053 * sunrpc/key_prot.c: Likewise.
63054 * sunrpc/netname.c: Likewise.
63055 * sunrpc/pm_getmaps.c: Likewise.
63056 * sunrpc/pm_getport.c: Likewise.
63057 * sunrpc/pmap_clnt.c: Likewise.
63058 * sunrpc/pmap_prot.c: Likewise.
63059 * sunrpc/pmap_prot2.c: Likewise.
63060 * sunrpc/pmap_rmt.c: Likewise.
63061 * sunrpc/publickey.c: Likewise.
63062 * sunrpc/rpc_cmsg.c: Likewise.
63063 * sunrpc/rpc_common.c: Likewise.
63064 * sunrpc/rpc_dtable.c: Likewise.
63065 * sunrpc/rpc_prot.c: Likewise.
63066 * sunrpc/rpc_thread.c: Likewise.
63067 * sunrpc/rtime.c: Likewise.
63068 * sunrpc/svc.c: Likewise.
63069 * sunrpc/svc_auth.c: Likewise.
63070 * sunrpc/svc_authux.c: Likewise.
63071 * sunrpc/svc_raw.c: Likewise.
63072 * sunrpc/svc_run.c: Likewise.
63073 * sunrpc/svc_simple.c: Likewise.
63074 * sunrpc/svc_tcp.c: Likewise.
63075 * sunrpc/svc_udp.c: Likewise.
63076 * sunrpc/svc_unix.c: Likewise.
63077 * sunrpc/svcauth_des.c: Likewise.
63078 * sunrpc/xcrypt.c: Likewise.
63079 * sunrpc/xdr.c: Likewise.
63080 * sunrpc/xdr_array.c: Likewise.
63081 * sunrpc/xdr_float.c: Likewise.
63082 * sunrpc/xdr_intXX_t.c: Likewise.
63083 * sunrpc/xdr_mem.c: Likewise.
63084 * sunrpc/xdr_rec.c: Likewise.
63085 * sunrpc/xdr_ref.c: Likewise.
63086 * sunrpc/xdr_sizeof.c: Likewise.
63087 * sunrpc/xdr_stdio.c: Likewise.
63088
63089 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63090
63091 [BZ #12650]
63092 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63093 * sysdeps/ia64/dl-tls.h: Likewise.
63094 * sysdeps/powerpc/dl-tls.h: Likewise.
63095 * sysdeps/s390/dl-tls.h: Likewise.
63096 * sysdeps/sh/dl-tls.h: Likewise.
63097 * sysdeps/sparc/dl-tls.h: Likewise.
63098 * sysdeps/x86_64/dl-tls.h: Likewise.
63099 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63100
63101 2011-03-14 Andreas Schwab <schwab@redhat.com>
63102
63103 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63104 rpath element also skip the following colon.
63105 (expand_dynamic_string_token): Add is_path parameter and pass
63106 down to DL_DST_REQUIRED and _dl_dst_substitute.
63107 (decompose_rpath): Call expand_dynamic_string_token with
63108 non-zero is_path. Ignore empty rpaths.
63109 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63110 with zero is_path.
63111
63112 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63113
63114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63115 Make cancelable.
63116
63117 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63118
63119 [BZ #12655]
63120 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63121 Patch by Filipe David Manana <fdmanana@apache.org>.
63122
63123 2011-04-07 Andreas Schwab <schwab@redhat.com>
63124
63125 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63126 Maintain aligned stack.
63127 (CHECK_RSP): Remove unused macro.
63128
63129 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63130
63131 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63132 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63133
63134 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63135
63136 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63137
63138 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63139
63140 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63141
63142 [BZ #12518]
63143 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63144 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63145 * sysdeps/x86_64/memmove.c: New file.
63146 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63147 (memcpy): Renamed to ...
63148 (__new_memcpy): This.
63149 (memcpy): Provide GLIBC_2_14 memcpy.
63150 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63151 (memcpy): Provide GLIBC_2_2_5 memcpy.
63152
63153 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63154
63155 [BZ #12631]
63156 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63157
63158 2011-03-30 Andreas Schwab <schwab@redhat.com>
63159
63160 * misc/syncfs.c: New file.
63161 * misc/Makefile (routines): Add syncfs.
63162 * posix/unistd.h: Declare syncfs.
63163 * sysdeps/unix/syscalls.list: Add syncfs.
63164
63165 2011-04-01 Andreas Schwab <schwab@redhat.com>
63166
63167 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63168 open_by_handle_at.
63169 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63170 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63171 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63172 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63174 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63175 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63176
63177 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63178
63179 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63180 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63181 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63182 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63183 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63185 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63186
63187 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63188 sync_file_range.c with -fexceptions.
63189 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63190 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63191 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63192 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63193 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63194 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63195 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63196 sync_file_range as cancellation point
63197 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63198 now a wrapper around __call_sync_file_range with cancellation handling.
63199 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63200 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63201 function name to __call_sync_file_range.
63202 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63203 Add call_sync_file_range.
63204
63205 2011-04-01 Andreas Schwab <schwab@redhat.com>
63206
63207 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63208 bits/timex.h.
63209
63210 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63211
63212 * iconv/iconv.h: Fix typo in comment.
63213 * io/fcntl.h: Likewise.
63214 * libio/stdio.h: Likewise.
63215 * posix/spawn.h: Likewise.
63216 * posix/unistd.h: Likewise.
63217 * stdlib/stdlib.h: Likewise.
63218 * time/time.h: Likewise.
63219 * wcsmbs/wchar.h: Likewise.
63220
63221 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63222 open_by_handle): Add.
63223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63224 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63225 Augment a few comments.
63226 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63228 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63230 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63231 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63232 open_by_handle.
63233
63234 * io/fcntl.h (AT_EMPTY_PATH): Define.
63235
63236 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63237
63238 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63239 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63240 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63241 to...
63242 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63243 * Versions.def: Add GLIBC_2.14.
63244 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63245 Export.
63246
63247 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63248
63249 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63250 round counter.
63251 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63252
63253 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63254
63255 [BZ #12597]
63256 * string/test-strncmp.c (do_page_test): New function.
63257 (check2): Likewise.
63258 (test_main): Call check2.
63259 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63260
63261 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63262
63263 [BZ #12587]
63264 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63265 Handle cache information in CPU leaf 4.
63266 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63267
63268 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63269
63270 [BZ #12583]
63271 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63272 character representation.
63273 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63274
63275 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63276
63277 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63278 END(__isnan) to END(__isnanf) to match function entry point/label
63279 EALIGN(__isnanf,...).
63280
63281 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63282
63283 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63284
63285 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63286
63287 [BZ #12510]
63288 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63289 copy from the symbol referenced in the relocation to initialize the
63290 used variable.
63291 Patch by Piotr Bury <pbury@goahead.com>.
63292 * elf/Makefile: Add rules to build and tst-unique3.
63293 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63294 * elf/tst-unique3.cc: New file.
63295 * elf/tst-unique3.h: New file.
63296 * elf/tst-unique3lib.cc: New file.
63297 * elf/tst-unique3lib2.cc: New file.
63298
63299 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63300
63301 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63302
63303 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63304 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63305 to _start.
63306
63307 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63308
63309 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63310 to-be-loaded object along a path to loader is ld.so.
63311
63312 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63313 Ulrich Drepper <drepper@gmail.com>
63314
63315 * sysdeps/x86_64/memset.S: After aligning destination, code
63316 branches to different locations depending on the value of
63317 misalignment, when multiarch is enabled. Fix this.
63318
63319 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63320
63321 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63322 Set _x86_64_preferred_memory_instruction for AMD processsors.
63323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63324 Set bit_Prefer_SSE_for_memop for AMD processors.
63325
63326 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63327
63328 * libio/fmemopen.c (fmemopen): Optimize a bit.
63329
63330 2011-03-03 Andreas Schwab <schwab@redhat.com>
63331
63332 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63333
63334 2011-03-03 Roland McGrath <roland@redhat.com>
63335
63336 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63337
63338 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63339
63340 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63341 __bzero_ultra1 instead of __memset_ultra1.
63342
63343 2011-02-23 Andreas Schwab <schwab@redhat.com>
63344 Ulrich Drepper <drepper@gmail.com>
63345
63346 [BZ #12509]
63347 * include/link.h (struct link_map): Add l_orig_initfini.
63348 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63349 returning unsuccessfully.
63350 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63351 close of a file loaded at startup, restore the original l_initfini
63352 list.
63353 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63354 list, store the pointer.
63355 * elf/Makefile ($(objpfx)noload-mem): New rule.
63356 (noload-ENV): Define.
63357 (tests): Add $(objpfx)noload-mem.
63358 * elf/noload.c: Include <memcheck.h>.
63359 (main): Call mtrace. Close all opened handles.
63360
63361 2011-02-17 Andreas Schwab <schwab@redhat.com>
63362
63363 [BZ #12454]
63364 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63365 dependencies are missing.
63366
63367 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63368
63369 Fix __if_freereq crash: Unlike the generic version which uses free,
63370 Hurd needs munmap.
63371 * sysdeps/mach/hurd/ifreq.h: New file.
63372
63373 2011-01-27 Petr Baudis <pasky@suse.cz>
63374 Ulrich Drepper <drepper@gmail.com>
63375
63376 [BZ 12445]#
63377 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63378 to extend_alloca().
63379 * stdio-common/bug23.c: New file.
63380 * stdio-common/Makefile (tests): Add bug23.
63381
63382 2010-09-28 Andreas Schwab <schwab@redhat.com>
63383 Ulrich Drepper <drepper@gmail.com>
63384
63385 [BZ #12489]
63386 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63387 before performing relro protection. At old place add assertion
63388 to make sure nothing changed.
63389
63390 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63391 Glauber de Oliveira Costa <glommer@gmail.com>
63392
63393 * elf/elf.h: Add new ARM TLS relocs.
63394
63395 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63396
63397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63398 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63399 cast from r3.
63400 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63401 'tests' variable.
63402 * sysdeps/wordsize-64/tst-writev.c: New file.
63403
63404 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63405
63406 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63407 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63408 insns in _dl_start to prevent a TOC reference before relocs are
63409 resolved.
63410
63411 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63412
63413 [BZ #12469]
63414 * Makeconfig: Remove RANLIB definition.
63415 * Makerules: Don't use RANLIB.
63416 * aclocal.m4: Remove ranlib test.
63417 * configure.in: No need to check for ranlib.
63418 * elf/rtld-Rules: Don't use RANLIB.
63419
63420 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63421
63422 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63423 protection macro.
63424 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63425 inclusion protection macro.
63426
63427 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63428 SIGRTMIN and SIGRTMAX and print information in that case only when
63429 SIGRTMIN is defined.
63430
63431 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63432
63433 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63434 arginfo fn returning -1.
63435
63436 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63437 and thousands string is zero terminated.
63438
63439 2011-02-03 Andreas Schwab <schwab@redhat.com>
63440
63441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63442 sysdeps/unix/sysv/linux/bits/socket.h.
63443
63444 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63445
63446 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63447 (__CPU_COUNT): Remove old macros.
63448 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63449 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63450 (__CPU_ALLOC, __CPU_FREE): Add macros.
63451 (__sched_cpualloc, __sched_cpufree): Add declarations.
63452
63453 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63454
63455 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63456 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63457 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63458 (readdhstai): Return value of addhstaiX call.
63459 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63460 (addgrbyX): Return value returned by cache_addgr.
63461 (readdgrbyname): Return value returned by addgrbyX.
63462 (readdgrbygid): Likewise.
63463 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63464 (addpwbyX): Return value returned by cache_addpw.
63465 (readdpwbyname): Return value returned by addhstbyX.
63466 (readdpwbyuid): Likewise.
63467 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63468 (addservbyX): Return value returned by cache_addserv.
63469 (readdservbyname): Return value returned by addservbyX:
63470 (readdservbyport): Likewise.
63471 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63472 (addhstbyX): Return value returned by cache_addhst.
63473 (readdhstbyname): Return value returned by addhstbyX.
63474 (readdhstbyaddr): Likewise.
63475 (readdhstbynamev6): Likewise.
63476 (readdhstbyaddrv6): Likewise.
63477 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63478 (readdinitgroups): Return value returned by addinitgroupsX.
63479 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63480 (prune_cache): Keep track of timeout value of re-added entries.
63481 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63482 * nscd/nscd.h: Adjust prototypes of readd* functions.
63483
63484 2011-02-04 Roland McGrath <roland@redhat.com>
63485
63486 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63487 (nis_stats): Likewise.
63488 * nis/nis_modify.c (nis_modify): Likewise.
63489 * nis/nis_remove.c (nis_remove): Likewise.
63490 * nis/nis_add.c (nis_add): Likewise.
63491
63492 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63493
63494 * posix/fnmatch_loop.c: Add some consts.
63495
63496 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63497
63498 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63499
63500 [BZ #12460]
63501 * config.make.in (config-cflags-novzeroupper): Define.
63502 * configure.in: Substitute libc_cv_cc_novzeroupper.
63503 * elf/Makefile (AVX-CFLAGS): Define.
63504 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63505 (CFLAGS-tst-auditmod4a.c): Likewise.
63506 (CFLAGS-tst-auditmod4b.c): Likewise.
63507 (CFLAGS-tst-auditmod6b.c): Likewise.
63508 (CFLAGS-tst-auditmod6c.c): Likewise.
63509 (CFLAGS-tst-auditmod7b.c): Likewise.
63510 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63511
63512 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63513
63514 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63515 function to the callback.
63516 Patch partly by Jiri Olsa <jolsa@redhat.com>.
63517
63518 2011-02-02 Andreas Schwab <schwab@redhat.com>
63519
63520 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63521 of errno.
63522
63523 2011-01-19 Ulrich Drepper <drepper@gmail.com>
63524
63525 [BZ #11724]
63526 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63527 of constructors.
63528 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63529 of destructors.
63530 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63531
63532 [BZ #11724]
63533 * elf/Makefile: Add rules to build and run new test.
63534 * elf/tst-initorder.c: New file.
63535 * elf/tst-initorder.exp: New file.
63536 * elf/tst-initordera1.c: New file.
63537 * elf/tst-initordera2.c: New file.
63538 * elf/tst-initordera3.c: New file.
63539 * elf/tst-initordera4.c: New file.
63540 * elf/tst-initorderb1.c: New file.
63541 * elf/tst-initorderb2.c: New file.
63542 * elf/tst-order-a1.c: New file.
63543 * elf/tst-order-a2.c: New file.
63544 * elf/tst-order-a3.c: New file.
63545 * elf/tst-order-a4.c: New file.
63546 * elf/tst-order-b1.c: New file.
63547 * elf/tst-order-b2.c: New file.
63548 * elf/tst-order-main.c: New file.
63549 New test case by George Gensure <werkt0@gmail.com>.
63550
63551 2010-10-01 Andreas Schwab <schwab@redhat.com>
63552
63553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63554 decoding ACE if AI_CANONIDN.
63555
63556 2011-01-18 Ulrich Drepper <drepper@gmail.com>
63557
63558 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63559
63560 2011-01-17 Ulrich Drepper <drepper@gmail.com>
63561
63562 * version.h (RELEASE): Bump for 2.13 release.
63563 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63564
63565 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63566
63567 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63568 MADV_NOHUGEPAGE.
63569 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63570 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63571 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63572 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63573 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63574 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63575
63576 * posix/getconf.c: Update copyright year.
63577 * catgets/gencat.c: Likewise.
63578 * csu/version.c: Likewise.
63579 * debug/catchsegv.sh: Likewise.
63580 * debug/xtrace.sh: Likewise.
63581 * elf/ldconfig.c: Likewise.
63582 * elf/ldd.bash.in: Likewise.
63583 * elf/sprof.c (print_version): Likewise.
63584 * iconv/iconv_prog.c: Likewise.
63585 * iconv/iconvconfig.c: Likewise.
63586 * locale/programs/locale.c: Likewise.
63587 * locale/programs/localedef.c: Likewise.
63588 * malloc/memusage.sh: Likewise.
63589 * malloc/mtrace.pl: Likewise.
63590 * nscd/nscd.c (print_version): Likewise.
63591 * nss/getent.c: Likewise.
63592
63593 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63594 PF_CAIF, and PF_ALG.
63595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63596
63597 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
63598
63599 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63600 (modules-names): Use them.
63601 (ifunc-test-modules, ifunc-pie-tests): Define.
63602 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63603 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63604 (test-extras): Likewise.
63605 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63606 $(compile-command.c).
63607 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63608 (all-built-dso): Define.
63609 (check-textrel.out, check-execstack.out): Depend on it.
63610
63611 * configure.in: Don't override --enable-multi-arch.
63612
63613 2011-01-15 Ulrich Drepper <drepper@gmail.com>
63614
63615 [BZ #6812]
63616 * nscd/hstcache.c (tryagain): Define.
63617 (cache_addhst): Return tryagain not notfound for temporary errors.
63618 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63619 failed.
63620
63621 2011-01-14 Ulrich Drepper <drepper@gmail.com>
63622
63623 [BZ #10563]
63624 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63625 to make the syscall.
63626 * sysdeps/unix/sysv/linux/setgroups.c: New file.
63627
63628 [BZ #12378]
63629 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63630 and fall back to matching as normal character if the string ends before
63631 the matching ']' is found. This is what POSIX requires.
63632 * posix/testfnm.c: Adjust test result.
63633 * posix/globtest.sh: Adjust test result. Add new test.
63634 * posix/tst-fnmatch.input: Likewise.
63635 * posix/tst-fnmatch2.c: Add new test.
63636
63637 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
63638
63639 * elf/Makefile (check-execstack): Revert last change. Depend on
63640 check-execstack.h.
63641 (check-execstack.h): New target.
63642 (generated): Add check-execstack.h.
63643 * elf/check-execstack.c: Include "check-execstack.h".
63644 (main): Revert last change.
63645 (handle_file): Return zero if GNU_STACK is absent and
63646 DEFAULT_STACK_PERMS doesn't include PF_X.
63647
63648 2011-01-13 Ulrich Drepper <drepper@gmail.com>
63649
63650 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63651 in child fails because the descriptor is already closed.
63652 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63653 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63654 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63655
63656 [BZ #12397]
63657 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63658 syscall.
63659
63660 [BZ #10484]
63661 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63662 temporary buffer used to handle multi lookups locally.
63663 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63664
63665 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63666
63667 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63668 loader is ld.so.
63669
63670 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
63671
63672 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63673 alignment for SSE2.
63674
63675 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63676
63677 [BZ #12394]
63678 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63679 characters. When rounding increased number of integer digits recompute
63680 number of groups.
63681 * stdio-common/tst-grouping.c: New file.
63682 * stdio-common/Makefile: Add rules to build and run tst-grouping.
63683
63684 2011-01-09 Ulrich Drepper <drepper@gmail.com>
63685
63686 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63687 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
63688
63689 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63690 void.
63691 * bits/select.h: Likewise.
63692
63693 2011-01-08 Ulrich Drepper <drepper@gmail.com>
63694
63695 * po/ja.po: Update from translation team.
63696
63697 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
63698
63699 [BZ #11155]
63700 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63701 implementation just like for lxstat, fxstatat, et al.
63702
63703 2010-12-27 Jim Meyering <meyering@redhat.com>
63704
63705 [BZ #12348]
63706 * posix/regexec.c (build_trtable): Return failure indication upon
63707 calloc failure. Otherwise, re_search_internal could infloop on OOM.
63708
63709 2010-12-25 Ulrich Drepper <drepper@gmail.com>
63710
63711 [BZ #12201]
63712 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63713 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63714 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63715 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63716
63717 [BZ #12207]
63718 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63719
63720 [BZ #12204]
63721 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63722 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63723
63724 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
63725
63726 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63727 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63728 script has SORT_BY_INIT_PRIORITY.
63729 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63730 NO_CTORS_DTORS_SECTIONS is defined.
63731 * elf/soinit.c: Likewise.
63732 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63733 NO_CTORS_DTORS_SECTIONS is defined.
63734 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63735 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63736 * sysdeps/sh/init-first.c: Likewise.
63737 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63738
63739 2010-12-24 Ulrich Drepper <drepper@gmail.com>
63740
63741 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63742 always use the slow path.
63743
63744 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
63745
63746 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63747 similar rule which adds the sysdep directories to the header search in
63748 order to pick up the correct platform stackinfo.h.
63749 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63750 perform test if it is, otherwise return successfully without testing.
63751 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63752 DEFAULT_STACK_PERMS define in stackinfo.h.
63753 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63754 defined in stackinfo.h.
63755 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63756 DEFAULT_STACK_PERMS defined in stackinfo.h.
63757 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63758 * sysdeps/ia64/stackinfo.h: Likewise.
63759 * sysdeps/s390/stackinfo.h: Likewise.
63760 * sysdeps/sh/stackinfo.h: Likewise.
63761 * sysdeps/sparc/stackinfo.h: Likewise.
63762 * sysdeps/x86_64/stackinfo.h: Likewise.
63763 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63764 PF_X for powerpc64. Retain PF_X for powerpc32.
63765
63766 2010-12-19 Ulrich Drepper <drepper@gmail.com>
63767
63768 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63769 accurately.
63770 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63771 GETDENTS_64BIT_ALIGNED.
63772
63773 2010-12-14 Ulrich Drepper <dreper@gmail.com>
63774
63775 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63776
63777 2010-12-10 Andreas Schwab <schwab@redhat.com>
63778
63779 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63780 _GNU_SOURCE.
63781
63782 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63783 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63784 Remove __restrict.
63785 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63786 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63787
63788 2010-12-09 Ulrich Drepper <drepper@gmail.com>
63789
63790 [BZ #11655]
63791 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63792 are initialized.
63793
63794 2010-12-09 Jakub Jelinek <jakub@redhat.com>
63795
63796 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63797
63798 2010-12-03 Ulrich Drepper <drepper@gmail.com>
63799
63800 * po/it.po: Update from translation team.
63801
63802 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
63803
63804 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63805 unused codes.
63806
63807 2010-11-30 Ulrich Drepper <drepper@gmail.com>
63808
63809 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63810
63811 2010-11-24 Andreas Schwab <schwab@redhat.com>
63812
63813 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63814 specially.
63815 (gaih_getanswer_slice): Likewise.
63816
63817 2010-10-20 Jakub Jelinek <jakub@redhat.com>
63818
63819 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63820
63821 2010-05-31 Petr Baudis <pasky@suse.cz>
63822
63823 [BZ #11149]
63824 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63825 silently even in the chroot mode.
63826
63827 2010-11-22 Ulrich Drepper <drepper@gmail.com>
63828
63829 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63830 last patch a bit. Pretty printing
63831
63832 2010-05-31 Petr Baudis <pasky@suse.cz>
63833
63834 [BZ #10085]
63835 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63836 initialization of skip_initgroups_dyn.
63837
63838 2010-11-19 Ulrich Drepper <drepper@gmail.com>
63839
63840 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63841 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63842
63843 2010-11-16 Ulrich Drepper <drepper@gmail.com>
63844
63845 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63846
63847 2010-11-11 Andreas Schwab <schwab@redhat.com>
63848
63849 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63850 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63851 (tst-fnmatch-ENV): Set MALLOC_TRACE.
63852 ($(objpfx)tst-fnmatch-mem): New rule.
63853 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63854 * posix/tst-fnmatch.c (main): Call mtrace.
63855
63856 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
63857
63858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63859 Support Intel processor model 6 and model 0x2c.
63860
63861 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
63862
63863 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63864 signed comparison.
63865
63866 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
63867
63868 [BZ #12205]
63869 * string/test-strncasecmp.c (check_result): New function.
63870 (do_one_test): Use it.
63871 (check1): New function.
63872 (test_main): Use it.
63873 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63874 Support strcasecmp and strncasecmp.
63875
63876 2010-11-08 Ulrich Drepper <drepper@gmail.com>
63877
63878 [BZ #12194]
63879 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63880 * sysdeps/x86_64/bits/byteswap.h: Likewise.
63881
63882 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
63883
63884 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63885 IFUNC support.
63886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63887 memset-x86-64.
63888 * sysdeps/x86_64/multiarch/bzero.S: New file.
63889 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63890 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63891 * sysdeps/x86_64/multiarch/memset.S: New file.
63892 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63894 Set bit_Prefer_SSE_for_memop for Intel processors.
63895 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63896 Define.
63897 (index_Prefer_SSE_for_memop): Define.
63898 (HAS_PREFER_SSE_FOR_MEMOP): Define.
63899
63900 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
63901
63902 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63903 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63904
63905 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
63906
63907 [BZ #12191]
63908 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63909 (__x86_64_raw_data_cache_size_half): Likewise.
63910 (__x86_64_raw_shared_cache_size): Likewise.
63911 (__x86_64_raw_shared_cache_size_half): Likewise.
63912
63913 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63914 (__x86_64_raw_data_cache_size_half): Likewise.
63915 (__x86_64_raw_shared_cache_size): Likewise.
63916 (__x86_64_raw_shared_cache_size_half): Likewise.
63917 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63918 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63919 and __x86_64_raw_shared_cache_size_half. Round
63920 __x86_64_data_cache_size_half, __x86_64_data_cache_size
63921 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63922 to multiple of 256 bytes.
63923
63924 2010-11-03 Ulrich Drepper <drepper@gmail.com>
63925
63926 [BZ #12167]
63927 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63928 of inacessible symlinks. Verify result of symlink before returning it.
63929 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63930 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63931
63932 2010-10-28 Erich Ritz <erichritz@gmail.com>
63933
63934 * math/math.h (isinf): Fix typo in comment.
63935
63936 2010-11-01 Ulrich Drepper <drepper@gmail.com>
63937
63938 * po/da.po: Update from translation team.
63939
63940 2010-10-26 Ulrich Drepper <drepper@gmail.com>
63941
63942 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63943 is added to the list.
63944
63945 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63946 Ulrich Drepper <drepper@gmail.com>
63947
63948 * elf/dl-object.c (_dl_new_object): Don't append the new object to
63949 the global list here. Move code to...
63950 (_dl_add_to_namespace_list): ...here. New function.
63951 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63952 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63953 * elf/dl-load.c (lose): Don't remove the element from the list.
63954 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63955 (_dl_map_object): Likewise.
63956
63957 2010-10-25 Ulrich Drepper <drepper@gmail.com>
63958
63959 [BZ #12159]
63960 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63961 into all bytes of SSE register.
63962 Patch by Richard Li <richardpku@gmail.com>.
63963
63964 2010-10-24 Ulrich Drepper <drepper@gmail.com>
63965
63966 [BZ #12140]
63967 * malloc/malloc.c (_int_free): Fill correct number of bytes when
63968 perturbing.
63969
63970 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
63971
63972 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63973 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63974 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63975 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63977 submachine.
63978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63979
63980 2010-10-22 Andreas Schwab <schwab@redhat.com>
63981
63982 * include/dlfcn.h (__RTLD_SECURE): Define.
63983 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
63984 mode & __RTLD_SECURE instead.
63985 (open_path): Rename preloaded parameter to secure.
63986 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63987 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63988 * elf/dl-deps.c (openaux): Likewise.
63989 * elf/rtld.c (struct map_args): Remove is_preloaded.
63990 (map_doit): Don't use it.
63991 (dl_main): Likewise.
63992 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63993 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63994
63995 2010-09-09 Andreas Schwab <schwab@redhat.com>
63996
63997 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63998 (sysd-rules-targets): Remove duplicates.
63999 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64000 rtld-%.$o dependency.
64001
64002 2010-10-18 Andreas Schwab <schwab@redhat.com>
64003
64004 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64005 _dl_map_object do it.
64006
64007 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64008
64009 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64010 fast fma builtins, define the macros in the C99 standard.
64011 (FP_FAST_FMAF): Likewise.
64012 (FP_FAST_FMAL): Likewise.
64013 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64014
64015 * bits/mathdef.h: Update copyright year.
64016 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64017
64018 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64019
64020 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64021 builtins, define the macros in the C99 standard.
64022 (FP_FAST_FMAF): Likewise.
64023 (FP_FAST_FMAL): Likewise.
64024 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64025 multiply/add.
64026 (FP_FAST_FMAF): Likewise.
64027
64028 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64029
64030 [BZ #3268]
64031 * math/libm-test.inc (fma_test): Some new testcases.
64032 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64033 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64034 y and infinite z. Do multiplication by C already in long double.
64035 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64037 y and infinite z. Do bitwise or of inexact bit into u.d.
64038 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64039 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64040 * sysdeps/i386/fpu/s_fma.S: Removed.
64041 * sysdeps/i386/fpu/s_fmal.S: Removed.
64042
64043 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64044
64045 [BZ #3268]
64046 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64047 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64048 computation is not scheduled after fetestexcept. Fix value
64049 of minimum denormal long double.
64050
64051 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64052
64053 [BZ #3268]
64054 * math/libm-test.inc (fma_test): Add some more tests.
64055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64056 correctly.
64057
64058 2010-10-15 Andreas Schwab <schwab@redhat.com>
64059
64060 * scripts/data/localplt-s390-linux-gnu.data: New file.
64061 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64062
64063 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64064
64065 [BZ #3268]
64066 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64067 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64068 instead of dbl-64.
64069 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64070 inlines.
64071 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64073 if one of x and y is very large and the other is subnormal.
64074 * sysdeps/s390/fpu/s_fmaf.c: New file.
64075 * sysdeps/s390/fpu/s_fma.c: New file.
64076 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64077 * sysdeps/powerpc/fpu/s_fma.S: New file.
64078 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64079 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64080 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64081
64082 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64083
64084 [BZ #3268]
64085 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64086 fma tests.
64087 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64088 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64089 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64090 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64091 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64092 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64093 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64094
64095 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64096
64097 [BZ #12078]
64098 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64099 * posix/bug-regex31.input: Add test case.
64100
64101 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64102
64103 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64104 * posix/bug-regex31.input: New file.
64105
64106 [BZ #12078]
64107 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64108 (parse_sub_exp): Fix last change, use postorder.
64109
64110 * posix/bug-regex31.c: New file.
64111 * posix/Makefile: Add rules to build and run bug-regex31.
64112
64113 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64114
64115 [BZ #12078]
64116 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64117
64118 [BZ #12108]
64119 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64120 to have entries in sys_siglist.
64121
64122 [BZ #12093]
64123 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64124 be NULL.
64125
64126 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64127
64128 [BZ #3268]
64129 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64130 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64131 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64132 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64133 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64134 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64135 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64136 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64137 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64138 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64139 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64140 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64141 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64142 * math/ftestexcept.c (fetestexcept): Likewise.
64143 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64144 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64145 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64146 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64147 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64148 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64149 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64150
64151 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64152
64153 [BZ #12107]
64154 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64155 newline.
64156
64157 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64158
64159 * string/bug-strstr1.c: New file.
64160 * string/Makefile: Add rules to build and run bug-strstr1.
64161
64162 2010-10-05 Eric Blake <eblake@redhat.com>
64163
64164 [BZ #12092]
64165 * string/str-two-way.h (two_way_long_needle): Always clear memory
64166 when skipping input due to the shift table.
64167
64168 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64169
64170 [BZ #12005]
64171 * malloc/mcheck.c: Handle large requests.
64172
64173 [BZ #12077]
64174 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64175 for strncmp and strncasecmp.
64176 * string/stratcliff.c: Add tests for strcmp and strncmp.
64177 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64178
64179 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64180
64181 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64182 __set_fpscr.
64183
64184 2010-09-30 Andreas Jaeger <aj@suse.de>
64185
64186 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64187 (CGROUP_SUPER_MAGIC): Define.
64188 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64189 Handle btrfs and cgroup file systems.
64190 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64191 Likewise.
64192
64193 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64194
64195 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64196 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64197
64198 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64199
64200 [BZ #12067]
64201 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64202 trying to locate the ELF header.
64203
64204 2010-09-27 Andreas Schwab <schwab@redhat.com>
64205
64206 [BZ #11611]
64207 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64208 Mask out sign-bit copies when constructing f_fsid.
64209
64210 2010-09-24 Petr Baudis <pasky@suse.cz>
64211
64212 * debug/stack_chk_fail_local.c: Add missing licence exception.
64213 * debug/warning-nop.c: Likewise.
64214
64215 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64216
64217 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64218 implementing getdents64 using getdents syscall, set d_type if
64219 __ASSUME_GETDENTS32_D_TYPE.
64220
64221 2010-09-16 Andreas Schwab <schwab@redhat.com>
64222
64223 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64224 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64225
64226 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64227
64228 [BZ #12037]
64229 * posix/unistd.h: Undo change of feature selection for ftruncate from
64230 2010-01-11.
64231
64232 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64233
64234 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64235 detection.
64236
64237 2010-09-20 Andreas Schwab <schwab@redhat.com>
64238
64239 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64240 fanotify_mark.
64241 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64242
64243 2010-09-14 Andreas Schwab <schwab@redhat.com>
64244
64245 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64246 variables after CHECK_SP call.
64247 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64248
64249 2010-09-13 Andreas Schwab <schwab@redhat.com>
64250 Ulrich Drepper <drepper@redhat.com>
64251
64252 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64253 re-relocationg ld.so.
64254 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64255 _dl_init_paths call.
64256 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64257 here anymore.
64258
64259 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64260
64261 * resolv/res_init.c (__res_vinit): Count the default server we added.
64262
64263 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64264 Ulrich Drepper <drepper@redhat.com>
64265
64266 [BZ #11968]
64267 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64268 (____longjmp_chk): Use %ebx for saving value across system call.
64269 Add unwind info.
64270
64271 2010-09-06 Andreas Schwab <schwab@redhat.com>
64272
64273 * manual/Makefile: Don't mix pattern rules with normal rules.
64274
64275 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64276
64277 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64278 operation.
64279 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64280 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64281 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64282 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64283 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64284 Likewise.
64285
64286 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64287
64288 [BZ #11979]
64289 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64290 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64291
64292 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64293
64294 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64295 * sysdeps/x86_64/addmul_1.S: Likewise.
64296 * sysdeps/x86_64/lshift.S: Likewise.
64297 * sysdeps/x86_64/mul_1.S: Likewise.
64298 * sysdeps/x86_64/rshift.S: Likewise.
64299 * sysdeps/x86_64/sub_n.S: Likewise.
64300 * sysdeps/x86_64/submul_1.S: Likewise.
64301
64302 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64303
64304 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64305 Define __sched_param instead of SCHED_* and sched_param when
64306 <bits/sched.h> is included with __need_schedparam defined.
64307 * bits/sched.h [__need_schedparam]
64308 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64309 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64310 (__defined_schedparam): Define to 1.
64311 (__sched_param): New structure, identical to sched_param.
64312 (__need_schedparam): Undefine.
64313
64314 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64315
64316 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64317 (epoll_create1): Declare.
64318
64319 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64320
64321 2010-08-31 Andreas Schwab <schwab@redhat.com>
64322
64323 [BZ #7066]
64324 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64325 shifting retval into place.
64326
64327 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64328
64329 * nis/rpcsvc/nis.h: Update copyright notice.
64330 * nis/rpcsvc/nis.x: Likewise.
64331 * nis/rpcsvc/nis_callback.h: Likewise.
64332 * nis/rpcsvc/nis_callback.x: Likewise.
64333 * nis/rpcsvc/nis_object.x: Likewise.
64334 * nis/rpcsvc/nis_tags.h: Likewise.
64335 * nis/rpcsvc/yp.h: Likewise.
64336 * nis/rpcsvc/yp.x: Likewise.
64337 * nis/rpcsvc/ypupd.h: Likewise.
64338 * nis/yp_xdr.c: Likewise.
64339 * nis/ypupdate_xdr.c: Likewise.
64340
64341 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64342 mainly the body of pmap_getport. Add parameters to specify timeouts.
64343 (pmap_getport): Use __libc_rpc_getport.
64344 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64345 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64346 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64347
64348 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64349
64350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64351 fanotify_mark.
64352
64353 2010-08-27 Roland McGrath <roland@redhat.com>
64354
64355 * sysdeps/i386/i686/multiarch/Makefile
64356 (CFLAGS-varshift.c): New variable.
64357
64358 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64359
64360 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64361 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64362
64363 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64364
64365 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64366
64367 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64368
64369 * sysdeps/x86_64/strlen.S: Unroll the loop.
64370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64371 strlen-sse2 strlen-sse2-bsf.
64372 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64373 __strlen_no_bsf if bit_Slow_BSF is set.
64374 (__strlen_sse42): Removed.
64375 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64376 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64377
64378 2010-08-25 Roland McGrath <roland@redhat.com>
64379
64380 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64381 * sysdeps/x86_64/multiarch/varshift.c: New file.
64382 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64383 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64384 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64385 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64386
64387 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64388
64389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64390 strlen-sse2 strlen-sse2-bsf.
64391 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64392 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64393 (__strlen_sse2): Removed.
64394 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64395 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64397 bit_Slow_BSF for Atom.
64398 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64399 (index_Slow_BSF): Define.
64400 (HAS_SLOW_BSF): Define.
64401
64402 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64403
64404 [BZ #10851]
64405 * resolv/res_init.c (__res_vinit): When no server address at all
64406 is given default to loopback.
64407
64408 2010-08-24 Roland McGrath <roland@redhat.com>
64409
64410 * configure.in: Remove config-name.h generation.
64411 * configure: Regenerated.
64412 * config-name.in: File removed.
64413 * scripts/config-uname.sh: New file.
64414 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64415 ($(objdir)config-name.h): New target.
64416
64417 * sunrpc/rpc_parse.h: Avoid nested comment.
64418
64419 2010-08-24 Richard Henderson <rth@redhat.com>
64420 Ulrich Drepper <drepper@redhat.com>
64421 H.J. Lu <hongjiu.lu@intel.com>
64422
64423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64425 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64426 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64427 _mm_alignr_epi8 with _mm_loadu_si128.
64428 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64429 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64430 (__m128i_shift_right): Removed.
64431 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64432 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64433 * sysdeps/x86_64/multiarch/varshift.h: New file.
64434 * sysdeps/x86_64/multiarch/varshift.S: New file.
64435
64436 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64437
64438 * configure.in: Move assembler checks to before sysdep dir checking.
64439
64440 2010-08-20 Petr Baudis <pasky@suse.cz>
64441
64442 * LICENSES: Sync the sunrpc license.
64443
64444 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64445
64446 * sunrpc/auth_des.c: Update copyright notice once again.
64447 * sunrpc/auth_none.c: Likewise.
64448 * sunrpc/auth_unix.c: Likewise.
64449 * sunrpc/authdes_prot.c: Likewise.
64450 * sunrpc/authuxprot.c: Likewise.
64451 * sunrpc/bindrsvprt.c: Likewise.
64452 * sunrpc/clnt_gen.c: Likewise.
64453 * sunrpc/clnt_perr.c: Likewise.
64454 * sunrpc/clnt_raw.c: Likewise.
64455 * sunrpc/clnt_simp.c: Likewise.
64456 * sunrpc/clnt_tcp.c: Likewise.
64457 * sunrpc/clnt_udp.c: Likewise.
64458 * sunrpc/clnt_unix.c: Likewise.
64459 * sunrpc/des_crypt.c: Likewise.
64460 * sunrpc/des_soft.c: Likewise.
64461 * sunrpc/get_myaddr.c: Likewise.
64462 * sunrpc/getrpcport.c: Likewise.
64463 * sunrpc/key_call.c: Likewise.
64464 * sunrpc/key_prot.c: Likewise.
64465 * sunrpc/openchild.c: Likewise.
64466 * sunrpc/pm_getmaps.c: Likewise.
64467 * sunrpc/pm_getport.c: Likewise.
64468 * sunrpc/pmap_clnt.c: Likewise.
64469 * sunrpc/pmap_prot.c: Likewise.
64470 * sunrpc/pmap_prot2.c: Likewise.
64471 * sunrpc/pmap_rmt.c: Likewise.
64472 * sunrpc/rpc/auth.h: Likewise.
64473 * sunrpc/rpc/auth_unix.h: Likewise.
64474 * sunrpc/rpc/clnt.h: Likewise.
64475 * sunrpc/rpc/des_crypt.h: Likewise.
64476 * sunrpc/rpc/key_prot.h: Likewise.
64477 * sunrpc/rpc/netdb.h: Likewise.
64478 * sunrpc/rpc/pmap_clnt.h: Likewise.
64479 * sunrpc/rpc/pmap_prot.h: Likewise.
64480 * sunrpc/rpc/pmap_rmt.h: Likewise.
64481 * sunrpc/rpc/rpc.h: Likewise.
64482 * sunrpc/rpc/rpc_des.h: Likewise.
64483 * sunrpc/rpc/rpc_msg.h: Likewise.
64484 * sunrpc/rpc/svc.h: Likewise.
64485 * sunrpc/rpc/svc_auth.h: Likewise.
64486 * sunrpc/rpc/types.h: Likewise.
64487 * sunrpc/rpc/xdr.h: Likewise.
64488 * sunrpc/rpc_clntout.c: Likewise.
64489 * sunrpc/rpc_cmsg.c: Likewise.
64490 * sunrpc/rpc_common.c: Likewise.
64491 * sunrpc/rpc_cout.c: Likewise.
64492 * sunrpc/rpc_dtable.c: Likewise.
64493 * sunrpc/rpc_hout.c: Likewise.
64494 * sunrpc/rpc_main.c: Likewise.
64495 * sunrpc/rpc_parse.c: Likewise.
64496 * sunrpc/rpc_parse.h: Likewise.
64497 * sunrpc/rpc_prot.c: Likewise.
64498 * sunrpc/rpc_sample.c: Likewise.
64499 * sunrpc/rpc_scan.c: Likewise.
64500 * sunrpc/rpc_scan.h: Likewise.
64501 * sunrpc/rpc_svcout.c: Likewise.
64502 * sunrpc/rpc_tblout.c: Likewise.
64503 * sunrpc/rpc_util.c: Likewise.
64504 * sunrpc/rpc_util.h: Likewise.
64505 * sunrpc/rpcinfo.c: Likewise.
64506 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64507 * sunrpc/rpcsvc/key_prot.x: Likewise.
64508 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64509 * sunrpc/rpcsvc/mount.x: Likewise.
64510 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64511 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64512 * sunrpc/rpcsvc/rex.x: Likewise.
64513 * sunrpc/rpcsvc/rstat.x: Likewise.
64514 * sunrpc/rpcsvc/rusers.x: Likewise.
64515 * sunrpc/rpcsvc/sm_inter.x: Likewise.
64516 * sunrpc/rpcsvc/spray.x: Likewise.
64517 * sunrpc/rpcsvc/yppasswd.x: Likewise.
64518 * sunrpc/rtime.c: Likewise.
64519 * sunrpc/svc.c: Likewise.
64520 * sunrpc/svc_auth.c: Likewise.
64521 * sunrpc/svc_authux.c: Likewise.
64522 * sunrpc/svc_raw.c: Likewise.
64523 * sunrpc/svc_run.c: Likewise.
64524 * sunrpc/svc_simple.c: Likewise.
64525 * sunrpc/svc_tcp.c: Likewise.
64526 * sunrpc/svc_udp.c: Likewise.
64527 * sunrpc/svc_unix.c: Likewise.
64528 * sunrpc/svcauth_des.c: Likewise.
64529 * sunrpc/xcrypt.c: Likewise.
64530 * sunrpc/xdr.c: Likewise.
64531 * sunrpc/xdr_array.c: Likewise.
64532 * sunrpc/xdr_float.c: Likewise.
64533 * sunrpc/xdr_mem.c: Likewise.
64534 * sunrpc/xdr_rec.c: Likewise.
64535 * sunrpc/xdr_ref.c: Likewise.
64536 * sunrpc/xdr_sizeof.c: Likewise.
64537 * sunrpc/xdr_stdio.c: Likewise.
64538
64539 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64540 handling.
64541
64542 2010-08-19 Andreas Schwab <schwab@redhat.com>
64543
64544 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64545
64546 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
64547
64548 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64549 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64550 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64551 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64552 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64553 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64554 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64555 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64556 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64557 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64558 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64559 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64560 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64561 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64562
64563 2010-07-26 Anton Blanchard <anton@samba.org>
64564
64565 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64566 * malloc/arena.c (heap_trim): Likewise.
64567
64568 2010-08-16 Ulrich Drepper <drepper@redhat.com>
64569
64570 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64571 here. Not...
64572 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64573 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64574
64575 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
64576
64577 * sysdeps/i386/elf/Makefile: New file.
64578
64579 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64580
64581 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64582 from fanotify_init.
64583 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64584 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64585
64586 2010-08-15 Ulrich Drepper <drepper@redhat.com>
64587
64588 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64589 of strncasecmp_l.
64590 * sysdeps/multiarch/strcmp.S: Likewise.
64591
64592 2010-08-14 Ulrich Drepper <drepper@redhat.com>
64593
64594 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64595 strncase_l-nonascii.
64596 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64597 Add strncase_l-ssse3.
64598 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64599 * sysdeps/x86_64/strcmp.S: Likewise.
64600 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64601 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64602 * sysdeps/x86_64/strncase.S: New file.
64603 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64604 * sysdeps/x86_64/strncase_l.S: New file.
64605 * string/Makefile (strop-tests): Add strncasecmp.
64606 * string/test-strncasecmp.c: New file.
64607
64608 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64609 warning.
64610
64611 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64612 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64613
64614 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64615
64616 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64617
64618 2010-08-12 Ulrich Drepper <drepper@redhat.com>
64619
64620 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64621 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64622 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64623
64624 2010-05-01 Alan Modra <amodra@gmail.com>
64625
64626 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64627 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64628 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64629 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64630 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64631 tidying. Don't tail-call __sigjmp_save for static lib.
64632 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64633 save location.
64634 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64635 (CALL_MCOUNT): Add eh info, and nop after bl.
64636 (TAIL_CALL_SYSCALL_ERROR): New macro.
64637 (PSEUDO_RET): Use it.
64638 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64639 Correct save location of integer regs and cr.
64640 (_dl_profile_resolve): Correct cr save location. Delete nops
64641 after bl when SHARED. Reduce cfi size a little by better
64642 placement of cfi directives.
64643 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64644 make a stack frame. Instead use parm save area as a temp.
64645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64646 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
64647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64648 Don't make a stack frame for parent, use parm save area.
64649 Increase child stack frame to 112 bytes. Don't save unused reg,
64650 and adjust reg usage. Set up cfi on error recovery and
64651 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64653 (__makecontext): Add dummy nop after jump to exit.
64654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64655 Use correct parm save area and cr save, reduce stack frame.
64656 Correct cfi for possible PSEUDO_RET frame setup.
64657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64658 Branch to local label emitted by PSEUDO_RET rather than
64659 __syscall_error.
64660
64661 2010-08-12 Andreas Schwab <schwab@redhat.com>
64662
64663 [BZ #11904]
64664 * locale/programs/locale.c (print_assignment): New function.
64665 (show_locale_vars): Use it.
64666
64667 2010-08-11 Ulrich Drepper <drepper@redhat.com>
64668
64669 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64670 field.
64671 (struct statfs64): Likewise.
64672 (_STATFS_F_FLAGS): Define.
64673 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64674 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64675 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64676 (ST_VALID): Define locally.
64677 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64678 __statvfs_getflags, use the provided value.
64679 * sysdeps/unix/sysv/linux/kernel-features.h: Define
64680 __ASSUME_STATFS_F_FLAGS.
64681
64682 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64683
64684 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64685 Add sys/fanotify.h.
64686 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64687 fanotify_mask for GLIBC_2.13.
64688 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64689 fanotify_init and fanotify_mark.
64690 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64691 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64692
64693 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64694 Add prlimit.
64695 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64696 prlimit64 for GLIBC_2.13.
64697 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64698 prlimit64.
64699 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64700 syscall.
64701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64702 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64703 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64704 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64705 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
64706 add prlimit alias.
64707 * sysdeps/unix/sysv/linux/prlimit.c: New file.
64708
64709 [BZ #11903]
64710 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64711 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64712
64713 * nss/Makefile: Add rules to build and run tst-nss-test1.
64714 * shlib-versions: Add entry for libnss_test1.
64715 * nss/nss_test1.c: New file.
64716 * nss/tst-nss-test1.c: New file.
64717
64718 * nss/nsswitch.c (__nss_database_custom): Define new variable.
64719 (__nss_configure_lookup): Set appropriate entry in
64720 __nss_configure_lookup to true.
64721 * nss/nsswitch.h: Define enum with indeces of databases in
64722 databases and __nss_database_custom arrays. Declare
64723 __nss_database_custom.
64724 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64725 to avoid using nscd when custom rules are installed.
64726 * nss/getXXbyYY_r.c: Likewise.
64727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64728
64729 * nss/nss_files/files-parse.c: Whitespace fixes.
64730
64731 2010-08-09 Ulrich Drepper <drepper@redhat.com>
64732
64733 [BZ #11883]
64734 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64735 * posix/fnmatch_loop.c: Likewise.
64736
64737 2010-07-17 Andi Kleen <ak@linux.intel.com>
64738
64739 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64740 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64741 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64742 * Versions.def [GLIBC_2.13]: Add.
64743
64744 2010-08-06 Ulrich Drepper <drepper@redhat.com>
64745
64746 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64747 Also fail if tpwd after pwuid call is NULL.
64748
64749 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
64750
64751 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64752 when converting to ms.
64753
64754 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
64755
64756 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64757 EOPNOTSUPP errors with ENOTTY.
64758 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64759 EOPNOTSUPP errors with ENOTTY.
64760
64761 2010-07-31 Ulrich Drepper <drepper@redhat.com>
64762
64763 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64764 Add strcasecmp_l-ssse3.
64765 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64766 strcasecmp.
64767 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64768 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64769 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64770
64771 2010-07-30 Ulrich Drepper <drepper@redhat.com>
64772
64773 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64774
64775 * string/Makefile (strop-tests): Add strcasecmp.
64776 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64777 strcasecmp_l-nonascii.
64778 (gen-as-const-headers): Add locale-defines.sym.
64779 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64780 * sysdeps/x86_64/strcasecmp.S: New file.
64781 * sysdeps/x86_64/strcasecmp_l.S: New file.
64782 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64783 * sysdeps/x86_64/locale-defines.sym: New file.
64784 * string/test-strcasecmp.c: New file.
64785
64786 * string/test-strcasestr.c: Test both ends of the range of characters.
64787 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64788
64789 2010-07-29 Roland McGrath <roland@redhat.com>
64790
64791 [BZ #11856]
64792 * manual/locale.texi (Yes-or-No Questions): Fix example code.
64793
64794 2010-07-27 Ulrich Drepper <drepper@redhat.com>
64795
64796 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64797 for ld.so.
64798
64799 2010-07-27 Andreas Schwab <schwab@redhat.com>
64800
64801 * manual/memory.texi (Malloc Tunable Parameters): Document
64802 M_PERTURB.
64803
64804 2010-07-26 Roland McGrath <roland@redhat.com>
64805
64806 [BZ #11840]
64807 * configure.in (-fgnu89-inline check): Set and substitute
64808 gnu89_inline, not libc_cv_gnu89_inline.
64809 * configure: Regenerated.
64810 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64811
64812 2010-07-26 Ulrich Drepper <drepper@redhat.com>
64813
64814 * string/test-strnlen.c: New file.
64815 * string/Makefile (strop-tests): Add strnlen.
64816 * string/tester.c (test_strnlen): Add a few more test cases.
64817 * string/tst-strlen.c: Better error reporting.
64818
64819 * sysdeps/x86_64/strnlen.S: New file.
64820
64821 2010-07-24 Ulrich Drepper <drepper@redhat.com>
64822
64823 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64824 lower-latency instructions.
64825
64826 2010-07-23 Ulrich Drepper <drepper@redhat.com>
64827
64828 * string/test-strcasestr.c: New file.
64829 * string/test-strstr.c: New file.
64830 * string/Makefile (strop-tests): Add strstr and strcasestr.
64831 * string/str-two-way.h: Don't undefine MAX.
64832 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64833
64834 2010-07-21 Andreas Schwab <schwab@redhat.com>
64835
64836 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64837 strcasestr-nonascii.
64838 (CFLAGS-strcasestr-nonascii.c): Define.
64839 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64840 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64841 Remove unused attribute.
64842
64843 2010-07-20 Roland McGrath <roland@redhat.com>
64844
64845 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64846 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
64847 ld.so.cache was broken. With it, there is no way to disable dsocaps
64848 like LD_HWCAP_MASK can disable hwcaps.
64849
64850 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
64851
64852 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64853
64854 2010-07-16 Ulrich Drepper <drepper@redhat.com>
64855
64856 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64857 call in strcasestr.
64858 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64859 __strcasestr_sse42_nonascii.
64860 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64861 strcasestr-nonascii.c.
64862 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64863
64864 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
64865
64866 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64867 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64868 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64869 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64870
64871 2010-07-09 Ulrich Drepper <drepper@redhat.com>
64872
64873 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64874 fcntl.
64875
64876 2010-07-06 Andreas Schwab <schwab@redhat.com>
64877
64878 [BZ #11577]
64879 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64880 dl_signal_cerror.
64881
64882 2010-07-06 Ulrich Drepper <drepper@redhat.com>
64883
64884 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64885 _PC_PIPE_BUF using F_GETPIPE_SZ.
64886
64887 2010-07-05 Roland McGrath <roland@redhat.com>
64888
64889 * manual/arith.texi (Rounding Functions): Fix rint description
64890 implicit in round description.
64891
64892 2010-07-02 Ulrich Drepper <drepper@redhat.com>
64893
64894 * elf/Makefile: Fix linking for a few tests to make recent linker
64895 happy.
64896
64897 2010-06-30 Andreas Schwab <schwab@redhat.com>
64898
64899 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64900 $(common-objpfx)libc_nonshared.a.
64901
64902 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
64903
64904 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64905 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64906 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64907 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64908 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64909 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64910 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64911 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64926 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64927 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64928 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64929 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64930 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64931 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64932 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64933 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64934 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64935 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64936 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64937 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64952
64953 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
64954
64955 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64956 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
64957 * string/memmove.c (memmove): Renamed to ...
64958 (MEMMOVE): ...this. Default to memmove.
64959 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64960 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64961 (END_CHK): Define.
64962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64963 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64964 mempcpy-ssse3-back memmove-ssse3-back.
64965 * sysdeps/x86_64/multiarch/bcopy.S: New file .
64966 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64967 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64968 * sysdeps/x86_64/multiarch/memcpy.S: New file.
64969 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64970 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64971 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64972 * sysdeps/x86_64/multiarch/memmove.c: New file.
64973 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64974 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64975 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64976 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64977 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64978 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64979 Define.
64980 (index_Fast_Copy_Backward): Define.
64981 (HAS_ARCH_FEATURE): Define.
64982 (HAS_FAST_REP_STRING): Define.
64983 (HAS_FAST_COPY_BACKWARD): Define.
64984
64985 2010-06-21 Andreas Schwab <schwab@redhat.com>
64986
64987 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64988 Restore proper fallback handling.
64989
64990 2010-06-19 Ulrich Drepper <drepper@redhat.com>
64991
64992 [BZ #11701]
64993 * posix/group_member.c (__group_member): Correct checking loop.
64994
64995 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64996 OOM in getpwuid_r correctly. Return error number when the caller
64997 should return, otherwise -1.
64998 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64999 call returning > 0 value.
65000 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65001
65002 2010-06-07 Andreas Schwab <schwab@redhat.com>
65003
65004 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65005 libc_nonshared.a from targets in modules-names.
65006
65007 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65008
65009 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65010 requires it.
65011
65012 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65013
65014 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65015 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65016 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65017 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65018
65019 2010-06-02 Andreas Schwab <schwab@redhat.com>
65020
65021 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65022
65023 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65024
65025 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65026 and F_GETPIPE_SZ.
65027 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65028 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65029 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65031 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65032 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65033
65034 2010-06-14 Roland McGrath <roland@redhat.com>
65035
65036 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65037
65038 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65039
65040 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65041 __REDIRECT followed by __THROW.
65042 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65043 * posix/getopt.h (getopt): Likewise.
65044
65045 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65046
65047 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65048 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65049 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65050 in AT_FLAGS.
65051 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65052 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65053
65054 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65055
65056 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65057
65058 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65059
65060 [BZ #11640]
65061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65062 Properly check family and model.
65063
65064 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65065
65066 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65067
65068 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65069
65070 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65071
65072 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65073
65074 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65075 symbol reference.
65076
65077 2010-05-19 Andreas Schwab <schwab@redhat.com>
65078
65079 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65080 symbol reference.
65081
65082 2010-05-21 Andreas Schwab <schwab@redhat.com>
65083
65084 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65085 and internal_recvmmsg.
65086 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65087 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65088 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65089 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65090
65091 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65092 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65093 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65094
65095 2010-05-20 Andreas Schwab <schwab@redhat.com>
65096
65097 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65098
65099 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65100
65101 POWER7 optimizations.
65102 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65103 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65104
65105 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65106
65107 * version.h: Update for 2.13 development version.
65108
65109 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65110
65111 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65112 exceptions. Return 0.
65113
65114 2010-05-07 Roland McGrath <roland@redhat.com>
65115
65116 * elf/ldconfig.c (main): Add a const.
65117
65118 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65119
65120 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65121 (args_options): Add no-idn option.
65122 (ahosts_keys_int): Add idn_flags to ai_flags.
65123 (parse_option): Handle 'i' option to clear idn_flags.
65124
65125 * malloc/malloc.c (_int_free): Possible race in the most recently
65126 added check. Only act on the data if no current modification
65127 happened.
65128
65129 See ChangeLog.17 for earlier changes.